chore(APIInviteStageInstance, APIStageInstance): deprecate stage discovery (#317)

Reference: 47c47f80ca
This commit is contained in:
Almeida
2022-02-15 21:51:26 +00:00
committed by GitHub
parent d8a5f78f62
commit 3b1acdf0ec
8 changed files with 12 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ export interface APIInvite {
expires_at?: string | null;
/**
* The stage instance data if there is a public stage instance in the stage channel this invite is for
* @deprecated
*/
stage_instance?: APIInviteStageInstance;
/**

View File

@@ -29,6 +29,7 @@ export interface APIStageInstance {
privacy_level: StageInstancePrivacyLevel;
/**
* Whether or not stage discovery is disabled
* @deprecated
*/
discoverable_disabled: boolean;
}

View File

@@ -67,6 +67,7 @@ export interface APIInvite {
expires_at?: string | null;
/**
* The stage instance data if there is a public stage instance in the stage channel this invite is for
* @deprecated
*/
stage_instance?: APIInviteStageInstance;
/**

View File

@@ -29,6 +29,7 @@ export interface APIStageInstance {
privacy_level: StageInstancePrivacyLevel;
/**
* Whether or not stage discovery is disabled
* @deprecated
*/
discoverable_disabled: boolean;
}
@@ -39,6 +40,7 @@ export interface APIStageInstance {
export enum StageInstancePrivacyLevel {
/**
* The stage instance is visible publicly, such as on stage discovery
* @deprecated
*/
Public = 1,
/**
@@ -49,6 +51,7 @@ export enum StageInstancePrivacyLevel {
/**
* https://discord.com/developers/docs/resources/invite#invite-stage-instance-object-invite-stage-instance-structure
* @deprecated
*/
export interface APIInviteStageInstance {
/**

View File

@@ -67,6 +67,7 @@ export interface APIInvite {
expires_at?: string | null;
/**
* The stage instance data if there is a public stage instance in the stage channel this invite is for
* @deprecated
*/
stage_instance?: APIInviteStageInstance;
/**

View File

@@ -29,6 +29,7 @@ export interface APIStageInstance {
privacy_level: StageInstancePrivacyLevel;
/**
* Whether or not stage discovery is disabled
* @deprecated
*/
discoverable_disabled: boolean;
}

View File

@@ -67,6 +67,7 @@ export interface APIInvite {
expires_at?: string | null;
/**
* The stage instance data if there is a public stage instance in the stage channel this invite is for
* @deprecated
*/
stage_instance?: APIInviteStageInstance;
/**

View File

@@ -29,6 +29,7 @@ export interface APIStageInstance {
privacy_level: StageInstancePrivacyLevel;
/**
* Whether or not stage discovery is disabled
* @deprecated
*/
discoverable_disabled: boolean;
}
@@ -39,6 +40,7 @@ export interface APIStageInstance {
export enum StageInstancePrivacyLevel {
/**
* The stage instance is visible publicly, such as on stage discovery
* @deprecated
*/
Public = 1,
/**
@@ -49,6 +51,7 @@ export enum StageInstancePrivacyLevel {
/**
* https://discord.com/developers/docs/resources/invite#invite-stage-instance-object-invite-stage-instance-structure
* @deprecated
*/
export interface APIInviteStageInstance {
/**