From f0ab4e8c48895f8daee7fa296b8319a98fb7d4e1 Mon Sep 17 00:00:00 2001 From: Almeida Date: Tue, 29 Mar 2022 19:48:53 +0100 Subject: [PATCH] refactor: remove `summary` from applications (#386) BREAKING CHANGE: The deprecated `summary` field has been removed --- deno/payloads/v10/application.ts | 7 ------- deno/payloads/v10/guild.ts | 6 ------ deno/payloads/v9/application.ts | 7 ------- deno/payloads/v9/guild.ts | 6 ------ payloads/v10/application.ts | 7 ------- payloads/v10/guild.ts | 6 ------ payloads/v9/application.ts | 7 ------- payloads/v9/guild.ts | 6 ------ 8 files changed, 52 deletions(-) diff --git a/deno/payloads/v10/application.ts b/deno/payloads/v10/application.ts index 8f1ecb0a..51e509ef 100644 --- a/deno/payloads/v10/application.ts +++ b/deno/payloads/v10/application.ts @@ -53,13 +53,6 @@ export interface APIApplication { * See https://discord.com/developers/docs/resources/user#user-object */ owner?: APIUser; - /** - * If this application is a game sold on Discord, this field will be the summary field for the store page - * of its primary sku - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 06072c1b..e614b17e 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -810,12 +810,6 @@ export interface APIGuildIntegrationApplication { * The description of the app */ description: string; - /** - * The summary of the app - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The bot associated with this application * diff --git a/deno/payloads/v9/application.ts b/deno/payloads/v9/application.ts index 8f1ecb0a..51e509ef 100644 --- a/deno/payloads/v9/application.ts +++ b/deno/payloads/v9/application.ts @@ -53,13 +53,6 @@ export interface APIApplication { * See https://discord.com/developers/docs/resources/user#user-object */ owner?: APIUser; - /** - * If this application is a game sold on Discord, this field will be the summary field for the store page - * of its primary sku - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 06072c1b..e614b17e 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -810,12 +810,6 @@ export interface APIGuildIntegrationApplication { * The description of the app */ description: string; - /** - * The summary of the app - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The bot associated with this application * diff --git a/payloads/v10/application.ts b/payloads/v10/application.ts index 14481fe7..03c08684 100644 --- a/payloads/v10/application.ts +++ b/payloads/v10/application.ts @@ -53,13 +53,6 @@ export interface APIApplication { * See https://discord.com/developers/docs/resources/user#user-object */ owner?: APIUser; - /** - * If this application is a game sold on Discord, this field will be the summary field for the store page - * of its primary sku - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index 10ac6bdb..a76d6575 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -810,12 +810,6 @@ export interface APIGuildIntegrationApplication { * The description of the app */ description: string; - /** - * The summary of the app - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The bot associated with this application * diff --git a/payloads/v9/application.ts b/payloads/v9/application.ts index 14481fe7..03c08684 100644 --- a/payloads/v9/application.ts +++ b/payloads/v9/application.ts @@ -53,13 +53,6 @@ export interface APIApplication { * See https://discord.com/developers/docs/resources/user#user-object */ owner?: APIUser; - /** - * If this application is a game sold on Discord, this field will be the summary field for the store page - * of its primary sku - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 10ac6bdb..a76d6575 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -810,12 +810,6 @@ export interface APIGuildIntegrationApplication { * The description of the app */ description: string; - /** - * The summary of the app - * - * @deprecated Always an empty string, will be removed in v11 - */ - summary: ''; /** * The bot associated with this application *