feat(GatewayReadyDispatchData): expose flags_new (#1735)

This commit is contained in:
Jiralite
2026-07-25 00:17:58 +03:00
committed by GitHub
parent 8c2d104080
commit 45b9eaf7c3
16 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -515,11 +515,11 @@ export interface GatewayReadyDispatchData {
*/
shard?: [shard_id: number, shard_count: number];
/**
* Contains `id` and `flags`
* Contains `id`, `flags`, and `flags_new`
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application: Pick<APIApplication, 'flags' | 'id'>;
application: Pick<APIApplication, 'flags_new' | 'flags' | 'id'>;
}
/**
+3 -3
View File
@@ -514,11 +514,11 @@ export interface GatewayReadyDispatchData {
*/
shard?: [shard_id: number, shard_count: number];
/**
* Contains `id` and `flags`
* Contains `id`, `flags`, and `flags_new`
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application: Pick<APIApplication, 'flags' | 'id'>;
application: Pick<APIApplication, 'flags_new' | 'flags' | 'id'>;
}
/**
+1 -1
View File
@@ -12,7 +12,7 @@ import type { APIUser } from './user.ts';
import type { ApplicationWebhookEventType } from './webhook.ts';
/**
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
export interface APIApplication {
/**
+1 -1
View File
@@ -69,7 +69,7 @@ export interface APIInvite {
/**
* The embedded application to open for this voice channel embedded application invite
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
target_application?: Partial<APIApplication>;
/**
+1 -1
View File
@@ -151,7 +151,7 @@ export interface APIBaseMessageNoChannel {
/**
* Sent with Rich Presence-related chat embeds
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application?: Partial<APIApplication>;
/**
+1 -1
View File
@@ -12,7 +12,7 @@ import type { APIUser } from './user.ts';
import type { ApplicationWebhookEventType } from './webhook.ts';
/**
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
export interface APIApplication {
/**
+1 -1
View File
@@ -69,7 +69,7 @@ export interface APIInvite {
/**
* The embedded application to open for this voice channel embedded application invite
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
target_application?: Partial<APIApplication>;
/**
+1 -1
View File
@@ -148,7 +148,7 @@ export interface APIBaseMessageNoChannel {
/**
* Sent with Rich Presence-related chat embeds
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application?: Partial<APIApplication>;
/**
+3 -3
View File
@@ -515,11 +515,11 @@ export interface GatewayReadyDispatchData {
*/
shard?: [shard_id: number, shard_count: number];
/**
* Contains `id` and `flags`
* Contains `id`, `flags`, and `flags_new`
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application: Pick<APIApplication, 'flags' | 'id'>;
application: Pick<APIApplication, 'flags_new' | 'flags' | 'id'>;
}
/**
+3 -3
View File
@@ -514,11 +514,11 @@ export interface GatewayReadyDispatchData {
*/
shard?: [shard_id: number, shard_count: number];
/**
* Contains `id` and `flags`
* Contains `id`, `flags`, and `flags_new`
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application: Pick<APIApplication, 'flags' | 'id'>;
application: Pick<APIApplication, 'flags_new' | 'flags' | 'id'>;
}
/**
+1 -1
View File
@@ -12,7 +12,7 @@ import type { APIUser } from './user';
import type { ApplicationWebhookEventType } from './webhook';
/**
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
export interface APIApplication {
/**
+1 -1
View File
@@ -69,7 +69,7 @@ export interface APIInvite {
/**
* The embedded application to open for this voice channel embedded application invite
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
target_application?: Partial<APIApplication>;
/**
+1 -1
View File
@@ -151,7 +151,7 @@ export interface APIBaseMessageNoChannel {
/**
* Sent with Rich Presence-related chat embeds
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application?: Partial<APIApplication>;
/**
+1 -1
View File
@@ -12,7 +12,7 @@ import type { APIUser } from './user';
import type { ApplicationWebhookEventType } from './webhook';
/**
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
export interface APIApplication {
/**
+1 -1
View File
@@ -69,7 +69,7 @@ export interface APIInvite {
/**
* The embedded application to open for this voice channel embedded application invite
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
target_application?: Partial<APIApplication>;
/**
+1 -1
View File
@@ -148,7 +148,7 @@ export interface APIBaseMessageNoChannel {
/**
* Sent with Rich Presence-related chat embeds
*
* @see {@link https://discord.com/developers/docs/resources/application#application-object}
* @see {@link https://docs.discord.com/developers/resources/application#application-object}
*/
application?: Partial<APIApplication>;
/**