summary refs log tree commit diff
path: root/dist/gateway/src/schema/Identify.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/gateway/src/schema/Identify.js20
-rw-r--r--dist/gateway/src/schema/Identify.js.map1
2 files changed, 21 insertions, 0 deletions
diff --git a/dist/gateway/src/schema/Identify.js b/dist/gateway/src/schema/Identify.js
new file mode 100644

index 00000000..3cc343c8 --- /dev/null +++ b/dist/gateway/src/schema/Identify.js
@@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.IdentifySchema = void 0; +const Activity_1 = require("./Activity"); +exports.IdentifySchema = { + token: String, + intents: BigInt, + $properties: { + // bruh discord really uses $ in the property key, so we need to double prefix it, because instanceOf treats $ (prefix) as a optional key + $$os: String, + $$browser: String, + $$device: String, + }, + $presence: Activity_1.ActivitySchema, + $compress: Boolean, + $large_threshold: Number, + $shard: [Number], + $guild_subscriptions: Boolean, +}; +//# sourceMappingURL=Identify.js.map \ No newline at end of file diff --git a/dist/gateway/src/schema/Identify.js.map b/dist/gateway/src/schema/Identify.js.map new file mode 100644
index 00000000..b0389550 --- /dev/null +++ b/dist/gateway/src/schema/Identify.js.map
@@ -0,0 +1 @@ +{"version":3,"file":"Identify.js","sourceRoot":"","sources":["../../../../../gateway/src/schema/Identify.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAE/B,QAAA,cAAc,GAAG;IAC7B,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,MAAM;IACf,WAAW,EAAE;QACZ,yIAAyI;QACzI,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,MAAM;KAChB;IACD,SAAS,EAAE,yBAAc;IACzB,SAAS,EAAE,OAAO;IAClB,gBAAgB,EAAE,MAAM;IACxB,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,oBAAoB,EAAE,OAAO;CAC7B,CAAC"} \ No newline at end of file