Skip to content

Commit

Permalink
fix(channel): add missing type aliases (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Nov 20, 2022
1 parent 9d72e82 commit 2695dad
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deno/rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,16 @@ export interface RESTGetAPIChannelThreadsArchivedQuery {
limit?: number;
}

/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPublicResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-private-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPrivateResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads
*/
Expand Down
10 changes: 10 additions & 0 deletions deno/rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,16 @@ export interface RESTGetAPIChannelThreadsArchivedQuery {
limit?: number;
}

/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPublicResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-private-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPrivateResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-active-threads
*
Expand Down
10 changes: 10 additions & 0 deletions rest/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,16 @@ export interface RESTGetAPIChannelThreadsArchivedQuery {
limit?: number;
}

/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPublicResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-private-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPrivateResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads
*/
Expand Down
10 changes: 10 additions & 0 deletions rest/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,16 @@ export interface RESTGetAPIChannelThreadsArchivedQuery {
limit?: number;
}

/**
* https://discord.com/developers/docs/resources/channel#list-public-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPublicResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-private-archived-threads
*/
export type RESTGetAPIChannelThreadsArchivedPrivateResult = RESTGetAPIChannelUsersThreadsArchivedResult;

/**
* https://discord.com/developers/docs/resources/channel#list-active-threads
*
Expand Down

1 comment on commit 2695dad

@vercel
Copy link

@vercel vercel bot commented on 2695dad Nov 20, 2022

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.