mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-15 06:50:40 +00:00
More client properties?
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -61,7 +61,6 @@ import {
|
||||
TraceRoot,
|
||||
} from "@spacebar/util";
|
||||
import {
|
||||
ajv,
|
||||
ChannelType,
|
||||
DefaultUserGuildSettings,
|
||||
DMChannel,
|
||||
@@ -74,7 +73,6 @@ import {
|
||||
validateSchema,
|
||||
} from "@spacebar/schemas";
|
||||
import { check } from "./instanceOf";
|
||||
import { AnyValidateFunction } from "ajv/dist/core";
|
||||
|
||||
// TODO: user sharding
|
||||
// TODO: check privileged intents, if defined in the config
|
||||
|
||||
@@ -99,15 +99,24 @@ export interface IdentifySchema {
|
||||
browser_version?: string;
|
||||
os_version?: string;
|
||||
referrer?: string;
|
||||
$referrer?: string;
|
||||
referring_domain?: string;
|
||||
$referring_domain?: string;
|
||||
referrer_current?: string;
|
||||
referring_domain_current?: string;
|
||||
release_channel?: "stable" | "dev" | "ptb" | "canary";
|
||||
release_channel?: "stable" | "dev" | "ptb" | "canary" | string;
|
||||
client_build_number?: number;
|
||||
client_event_source?: string;
|
||||
client_version?: string;
|
||||
system_locale?: string;
|
||||
qos_token?: string;
|
||||
has_client_mods?: boolean;
|
||||
client_launch_id?: string;
|
||||
launch_signature?: string;
|
||||
client_heartbeat_session_id?: string | null;
|
||||
client_app_state?: string;
|
||||
is_fast_connect?: boolean;
|
||||
gateway_connect_reasons?: string;
|
||||
};
|
||||
intents?: number;
|
||||
presence?: ActivitySchema;
|
||||
|
||||
Reference in New Issue
Block a user