discord-typings
Advanced tools
Comparing version 10.1.0 to 10.1.1
@@ -215,8 +215,13 @@ import { Snowflake, Locale } from "../Reference"; | ||
export interface ApplicationCommandInteractionDataOptionAsTypeBoolean extends ApplicationCommandInteractionDataOptionBase { | ||
type: 5; | ||
value: boolean; | ||
} | ||
export interface ApplicationCommandInteractionDataOptionNotTypeNarrowed extends ApplicationCommandInteractionDataOptionBase { | ||
type: Exclude<ApplicationCommandOptionType, 1 | 2 | 3 | 4 | 10>; | ||
type: Exclude<ApplicationCommandOptionType, 1 | 2 | 3 | 4 | 5 | 10>; | ||
} | ||
export type ApplicationCommandInteractionDataOptionSub = ApplicationCommandInteractionDataOptionAsTypeString | ApplicationCommandInteractionDataOptionAsTypeNumber | ApplicationCommandInteractionDataOptionNotTypeNarrowed; | ||
export type ApplicationCommandInteractionDataOptionSub = ApplicationCommandInteractionDataOptionAsTypeString | ApplicationCommandInteractionDataOptionAsTypeNumber | ApplicationCommandInteractionDataOptionAsTypeBoolean | ApplicationCommandInteractionDataOptionNotTypeNarrowed; | ||
export type ApplicationCommandInteractionDataOption = ApplicationCommandInteractionDataOptionAsTypeString | ApplicationCommandInteractionDataOptionAsTypeNumber | ApplicationCommandInteractionDataOptionAsTypeSub | ApplicationCommandInteractionDataOptionNotTypeNarrowed; | ||
export type ApplicationCommandInteractionDataOption = ApplicationCommandInteractionDataOptionAsTypeString | ApplicationCommandInteractionDataOptionAsTypeNumber | ApplicationCommandInteractionDataOptionAsTypeBoolean | ApplicationCommandInteractionDataOptionAsTypeSub | ApplicationCommandInteractionDataOptionNotTypeNarrowed; |
{ | ||
"name": "discord-typings", | ||
"version": "10.1.0", | ||
"version": "10.1.1", | ||
"description": "Typings for data returned by Discord (unofficial)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -162,3 +162,3 @@ import { Snowflake } from "../Reference"; | ||
type: "twitch" | "youtube" | "discord"; | ||
enabled: boolean; | ||
enabled?: boolean; | ||
syncing?: boolean; | ||
@@ -165,0 +165,0 @@ role_id?: Snowflake; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65704
1908