summary refs log tree commit diff
path: root/dist/Schema
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Schema')
-rw-r--r--dist/Schema/Activity.d.ts41
-rw-r--r--dist/Schema/Emoji.d.ts7
-rw-r--r--dist/Schema/Emoji.js2
-rw-r--r--dist/Schema/Emoji.js.map2
-rw-r--r--dist/Schema/Identify.d.ts17
5 files changed, 64 insertions, 5 deletions
diff --git a/dist/Schema/Activity.d.ts b/dist/Schema/Activity.d.ts

index 420471a8..e5f276d6 100644 --- a/dist/Schema/Activity.d.ts +++ b/dist/Schema/Activity.d.ts
@@ -1,3 +1,4 @@ +import { EmojiSchema } from "./Emoji"; export declare const ActivitySchema: { afk: BooleanConstructor; status: StringConstructor; @@ -15,7 +16,7 @@ export declare const ActivitySchema: { $State: StringConstructor; $emoji: { name: StringConstructor; - id: BigIntConstructor; + $id: BigIntConstructor; animated: BooleanConstructor; }; $party: { @@ -38,3 +39,41 @@ export declare const ActivitySchema: { }[]; $since: NumberConstructor; }; +export interface ActivitySchema { + afk: boolean; + status: string; + activities?: [ + { + name: string; + type: number; + url?: string; + created_at?: number; + timestamps?: { + start: number; + end: number; + }; + application_id?: bigint; + details?: string; + State?: string; + emoji?: EmojiSchema; + party?: { + id?: string; + size?: [number]; + }; + assets?: { + large_image?: string; + large_text?: string; + small_image?: string; + small_text?: string; + }; + secrets?: { + join?: string; + spectate?: string; + match?: string; + }; + instance?: boolean; + flags: bigint; + } + ]; + since?: number; +} diff --git a/dist/Schema/Emoji.d.ts b/dist/Schema/Emoji.d.ts
index 81570e17..da4770e9 100644 --- a/dist/Schema/Emoji.d.ts +++ b/dist/Schema/Emoji.d.ts
@@ -1,5 +1,10 @@ export declare const EmojiSchema: { name: StringConstructor; - id: BigIntConstructor; + $id: BigIntConstructor; animated: BooleanConstructor; }; +export interface EmojiSchema { + name: string; + id?: bigint; + animated: Boolean; +} diff --git a/dist/Schema/Emoji.js b/dist/Schema/Emoji.js
index fe999d4e..79213bce 100644 --- a/dist/Schema/Emoji.js +++ b/dist/Schema/Emoji.js
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.EmojiSchema = void 0; exports.EmojiSchema = { name: String, - id: BigInt, + $id: BigInt, animated: Boolean, }; //# sourceMappingURL=Emoji.js.map \ No newline at end of file diff --git a/dist/Schema/Emoji.js.map b/dist/Schema/Emoji.js.map
index 0d776e6d..ccf29c51 100644 --- a/dist/Schema/Emoji.js.map +++ b/dist/Schema/Emoji.js.map
@@ -1 +1 @@ -{"version":3,"file":"Emoji.js","sourceRoot":"","sources":["../../src/Schema/Emoji.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,MAAM;IACV,QAAQ,EAAE,OAAO;CACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"Emoji.js","sourceRoot":"","sources":["../../src/Schema/Emoji.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,MAAM;IACX,QAAQ,EAAE,OAAO;CACjB,CAAC"} \ No newline at end of file diff --git a/dist/Schema/Identify.d.ts b/dist/Schema/Identify.d.ts
index be586093..a7fa5b23 100644 --- a/dist/Schema/Identify.d.ts +++ b/dist/Schema/Identify.d.ts
@@ -1,3 +1,4 @@ +import { ActivitySchema } from "./Activity"; export declare const IdentifySchema: { token: StringConstructor; properties: { @@ -23,7 +24,7 @@ export declare const IdentifySchema: { $State: StringConstructor; $emoji: { name: StringConstructor; - id: BigIntConstructor; + $id: BigIntConstructor; animated: BooleanConstructor; }; $party: { @@ -51,3 +52,17 @@ export declare const IdentifySchema: { $shard: NumberConstructor[]; $guild_subscriptions: BooleanConstructor; }; +export interface IdentifySchema { + token: string; + properties: { + $$os: string; + $$browser: string; + $$device: string; + }; + intents: bigint; + presence?: ActivitySchema; + compress?: boolean; + large_threshold?: number; + shard?: [number]; + guild_subscriptions?: boolean; +}