mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
🔧 build
This commit is contained in:
parent
1b5e487ce0
commit
7099b88ea5
4
dist/Schema/Identify.d.ts
vendored
4
dist/Schema/Identify.d.ts
vendored
@ -1,12 +1,12 @@
|
||||
import { ActivitySchema } from "./Activity";
|
||||
export declare const IdentifySchema: {
|
||||
token: StringConstructor;
|
||||
properties: {
|
||||
intents: BigIntConstructor;
|
||||
$properties: {
|
||||
$$os: StringConstructor;
|
||||
$$browser: StringConstructor;
|
||||
$$device: StringConstructor;
|
||||
};
|
||||
intents: BigIntConstructor;
|
||||
$presence: {
|
||||
afk: BooleanConstructor;
|
||||
status: StringConstructor;
|
||||
|
4
dist/Schema/Identify.js
vendored
4
dist/Schema/Identify.js
vendored
@ -4,13 +4,13 @@ exports.IdentifySchema = void 0;
|
||||
const Activity_1 = require("./Activity");
|
||||
exports.IdentifySchema = {
|
||||
token: String,
|
||||
properties: {
|
||||
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,
|
||||
},
|
||||
intents: BigInt,
|
||||
$presence: Activity_1.ActivitySchema,
|
||||
$compress: Boolean,
|
||||
$large_threshold: Number,
|
||||
|
2
dist/Schema/Identify.js.map
vendored
2
dist/Schema/Identify.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"Identify.js","sourceRoot":"","sources":["../../src/Schema/Identify.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAE/B,QAAA,cAAc,GAAG;IAC7B,KAAK,EAAE,MAAM;IACb,UAAU,EAAE;QACX,yIAAyI;QACzI,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,MAAM;KAChB;IACD,OAAO,EAAE,MAAM;IACf,SAAS,EAAE,yBAAc;IACzB,SAAS,EAAE,OAAO;IAClB,gBAAgB,EAAE,MAAM;IACxB,MAAM,EAAE,CAAC,MAAM,CAAC;IAChB,oBAAoB,EAAE,OAAO;CAC7B,CAAC"}
|
||||
{"version":3,"file":"Identify.js","sourceRoot":"","sources":["../../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"}
|
1
dist/models/User.d.ts
vendored
1
dist/models/User.d.ts
vendored
@ -13,6 +13,7 @@ export interface User {
|
||||
hash: string;
|
||||
valid_tokens_since: number;
|
||||
user_settings: UserSettings;
|
||||
guilds: bigint[];
|
||||
}
|
||||
export interface UserSettings {
|
||||
afk_timeout: number;
|
||||
|
Loading…
Reference in New Issue
Block a user