From 2695dade8be818cf5bacbe69ec9aca0b50b9f9b0 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sun, 20 Nov 2022 22:15:19 +0000 Subject: [PATCH] fix(channel): add missing type aliases (#648) --- deno/rest/v10/channel.ts | 10 ++++++++++ deno/rest/v9/channel.ts | 10 ++++++++++ rest/v10/channel.ts | 10 ++++++++++ rest/v9/channel.ts | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 8331f0545..dda47fd43 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -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 */ diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index c1f9d94f1..134b40b54 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -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 * diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index 845192856..748d94464 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -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 */ diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index b24b23c17..aba3fe2d7 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -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 *