Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-typings

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-typings - npm Package Compare versions

Comparing version 10.1.0 to 10.1.1

11

Interactions/ApplicationCommands.d.ts

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc