mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-09-17 08:47:24 +00:00
feat(GatewayReadyDispatchData): expose flags_new (#1735)
This commit is contained in:
Generated
+3
-3
@@ -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'>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Generated
+3
-3
@@ -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'>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Generated
+1
-1
@@ -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 {
|
||||
/**
|
||||
|
||||
Generated
+1
-1
@@ -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>;
|
||||
/**
|
||||
|
||||
Generated
+1
-1
@@ -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>;
|
||||
/**
|
||||
|
||||
Generated
+1
-1
@@ -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 {
|
||||
/**
|
||||
|
||||
Generated
+1
-1
@@ -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>;
|
||||
/**
|
||||
|
||||
Generated
+1
-1
@@ -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
@@ -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
@@ -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'>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
/**
|
||||
|
||||
@@ -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>;
|
||||
/**
|
||||
|
||||
@@ -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>;
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
/**
|
||||
|
||||
@@ -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>;
|
||||
/**
|
||||
|
||||
@@ -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>;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user