Skip to content

Commit

Permalink
docs: fix TypeDoc typos (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza authored Sep 19, 2023
1 parent 32ba5ce commit 1b8f62f
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions deno/payloads/v10/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,22 +735,22 @@ export type APIAuditLogChangeKeyAvailable = AuditLogChangeData<'available', bool
*/
export type APIAuditLogChangeKeyGuildId = AuditLogChangeData<'guild_id', Snowflake>;

/*
/**
* Returned when a thread's archive status is changed
*/
export type APIAuditLogChangeKeyArchived = AuditLogChangeData<'archived', boolean>;

/*
/**
* Returned when a thread's lock status is changed
*/
export type APIAuditLogChangeKeyLocked = AuditLogChangeData<'locked', boolean>;

/*
/**
* Returned when a thread's auto archive duration is changed
*/
export type APIAuditLogChangeKeyAutoArchiveDuration = AuditLogChangeData<'auto_archive_duration', number>;

/*
/**
* Returned when a channel's default auto archive duration for newly created threads is changed
*/
export type APIAuditLogChangeKeyDefaultAutoArchiveDuration = AuditLogChangeData<
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v10/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ export enum GuildFeature {
* Guild has enabled the role subscription promo page
*/
CreatorStorePage = 'CREATOR_STORE_PAGE',
/*
/**
* Guild has been set as a support server on the App Directory
*/
DeveloperSupportServer = 'DEVELOPER_SUPPORT_SERVER',
Expand Down
8 changes: 4 additions & 4 deletions deno/payloads/v9/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,22 +735,22 @@ export type APIAuditLogChangeKeyAvailable = AuditLogChangeData<'available', bool
*/
export type APIAuditLogChangeKeyGuildId = AuditLogChangeData<'guild_id', Snowflake>;

/*
/**
* Returned when a thread's archive status is changed
*/
export type APIAuditLogChangeKeyArchived = AuditLogChangeData<'archived', boolean>;

/*
/**
* Returned when a thread's lock status is changed
*/
export type APIAuditLogChangeKeyLocked = AuditLogChangeData<'locked', boolean>;

/*
/**
* Returned when a thread's auto archive duration is changed
*/
export type APIAuditLogChangeKeyAutoArchiveDuration = AuditLogChangeData<'auto_archive_duration', number>;

/*
/**
* Returned when a channel's default auto archive duration for newly created threads is changed
*/
export type APIAuditLogChangeKeyDefaultAutoArchiveDuration = AuditLogChangeData<
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export enum GuildFeature {
* Guild has enabled the role subscription promo page
*/
CreatorStorePage = 'CREATOR_STORE_PAGE',
/*
/**
* Guild has been set as a support server on the App Directory
*/
DeveloperSupportServer = 'DEVELOPER_SUPPORT_SERVER',
Expand Down
4 changes: 2 additions & 2 deletions deno/rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export type RESTDeleteAPIChannelMessageOwnReaction = never;
*/
export type RESTDeleteAPIChannelMessageUserReactionResult = never;

/*
/**
* https://discord.com/developers/docs/resources/channel#get-reactions
*/
export interface RESTGetAPIChannelMessageReactionUsersQuery {
Expand Down Expand Up @@ -738,7 +738,7 @@ export interface RESTGetAPIChannelThreadMembersQuery {
*/
export type RESTGetAPIChannelThreadMembersResult = APIThreadMember[];

/*
/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export interface RESTGetAPIChannelThreadsArchivedQuery {
Expand Down
4 changes: 2 additions & 2 deletions deno/rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export type RESTDeleteAPIChannelMessageOwnReaction = never;
*/
export type RESTDeleteAPIChannelMessageUserReactionResult = never;

/*
/**
* https://discord.com/developers/docs/resources/channel#get-reactions
*/
export interface RESTGetAPIChannelMessageReactionUsersQuery {
Expand Down Expand Up @@ -754,7 +754,7 @@ export interface RESTGetAPIChannelThreadMembersQuery {
*/
export type RESTGetAPIChannelThreadMembersResult = APIThreadMember[];

/*
/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export interface RESTGetAPIChannelThreadsArchivedQuery {
Expand Down
8 changes: 4 additions & 4 deletions payloads/v10/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,22 +735,22 @@ export type APIAuditLogChangeKeyAvailable = AuditLogChangeData<'available', bool
*/
export type APIAuditLogChangeKeyGuildId = AuditLogChangeData<'guild_id', Snowflake>;

/*
/**
* Returned when a thread's archive status is changed
*/
export type APIAuditLogChangeKeyArchived = AuditLogChangeData<'archived', boolean>;

/*
/**
* Returned when a thread's lock status is changed
*/
export type APIAuditLogChangeKeyLocked = AuditLogChangeData<'locked', boolean>;

/*
/**
* Returned when a thread's auto archive duration is changed
*/
export type APIAuditLogChangeKeyAutoArchiveDuration = AuditLogChangeData<'auto_archive_duration', number>;

/*
/**
* Returned when a channel's default auto archive duration for newly created threads is changed
*/
export type APIAuditLogChangeKeyDefaultAutoArchiveDuration = AuditLogChangeData<
Expand Down
2 changes: 1 addition & 1 deletion payloads/v10/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ export enum GuildFeature {
* Guild has enabled the role subscription promo page
*/
CreatorStorePage = 'CREATOR_STORE_PAGE',
/*
/**
* Guild has been set as a support server on the App Directory
*/
DeveloperSupportServer = 'DEVELOPER_SUPPORT_SERVER',
Expand Down
8 changes: 4 additions & 4 deletions payloads/v9/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,22 +735,22 @@ export type APIAuditLogChangeKeyAvailable = AuditLogChangeData<'available', bool
*/
export type APIAuditLogChangeKeyGuildId = AuditLogChangeData<'guild_id', Snowflake>;

/*
/**
* Returned when a thread's archive status is changed
*/
export type APIAuditLogChangeKeyArchived = AuditLogChangeData<'archived', boolean>;

/*
/**
* Returned when a thread's lock status is changed
*/
export type APIAuditLogChangeKeyLocked = AuditLogChangeData<'locked', boolean>;

/*
/**
* Returned when a thread's auto archive duration is changed
*/
export type APIAuditLogChangeKeyAutoArchiveDuration = AuditLogChangeData<'auto_archive_duration', number>;

/*
/**
* Returned when a channel's default auto archive duration for newly created threads is changed
*/
export type APIAuditLogChangeKeyDefaultAutoArchiveDuration = AuditLogChangeData<
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ export enum GuildFeature {
* Guild has enabled the role subscription promo page
*/
CreatorStorePage = 'CREATOR_STORE_PAGE',
/*
/**
* Guild has been set as a support server on the App Directory
*/
DeveloperSupportServer = 'DEVELOPER_SUPPORT_SERVER',
Expand Down
4 changes: 2 additions & 2 deletions rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export type RESTDeleteAPIChannelMessageOwnReaction = never;
*/
export type RESTDeleteAPIChannelMessageUserReactionResult = never;

/*
/**
* https://discord.com/developers/docs/resources/channel#get-reactions
*/
export interface RESTGetAPIChannelMessageReactionUsersQuery {
Expand Down Expand Up @@ -738,7 +738,7 @@ export interface RESTGetAPIChannelThreadMembersQuery {
*/
export type RESTGetAPIChannelThreadMembersResult = APIThreadMember[];

/*
/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export interface RESTGetAPIChannelThreadsArchivedQuery {
Expand Down
4 changes: 2 additions & 2 deletions rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export type RESTDeleteAPIChannelMessageOwnReaction = never;
*/
export type RESTDeleteAPIChannelMessageUserReactionResult = never;

/*
/**
* https://discord.com/developers/docs/resources/channel#get-reactions
*/
export interface RESTGetAPIChannelMessageReactionUsersQuery {
Expand Down Expand Up @@ -754,7 +754,7 @@ export interface RESTGetAPIChannelThreadMembersQuery {
*/
export type RESTGetAPIChannelThreadMembersResult = APIThreadMember[];

/*
/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export interface RESTGetAPIChannelThreadsArchivedQuery {
Expand Down

1 comment on commit 1b8f62f

@vercel
Copy link

@vercel vercel bot commented on 1b8f62f Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.