mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 21:23:24 +01:00
69 lines
2.0 KiB
TypeScript
69 lines
2.0 KiB
TypeScript
import { ActivitySchema } from "./Activity";
|
|
export declare const IdentifySchema: {
|
|
token: StringConstructor;
|
|
properties: {
|
|
$$os: StringConstructor;
|
|
$$browser: StringConstructor;
|
|
$$device: StringConstructor;
|
|
};
|
|
intents: BigIntConstructor;
|
|
$presence: {
|
|
afk: BooleanConstructor;
|
|
status: StringConstructor;
|
|
$activities: {
|
|
name: StringConstructor;
|
|
type: NumberConstructor;
|
|
$url: StringConstructor;
|
|
$created_at: NumberConstructor;
|
|
$timestamps: {
|
|
start: NumberConstructor;
|
|
end: NumberConstructor;
|
|
};
|
|
$application_id: BigIntConstructor;
|
|
$details: StringConstructor;
|
|
$State: StringConstructor;
|
|
$emoji: {
|
|
name: StringConstructor;
|
|
$id: BigIntConstructor;
|
|
animated: BooleanConstructor;
|
|
};
|
|
$party: {
|
|
$id: StringConstructor;
|
|
$size: NumberConstructor[];
|
|
};
|
|
$assets: {
|
|
$large_image: StringConstructor;
|
|
$large_text: StringConstructor;
|
|
$small_image: StringConstructor;
|
|
$small_text: StringConstructor;
|
|
};
|
|
$secrets: {
|
|
$join: StringConstructor;
|
|
$spectate: StringConstructor;
|
|
$match: StringConstructor;
|
|
};
|
|
$instance: BooleanConstructor;
|
|
flags: BigIntConstructor;
|
|
}[];
|
|
$since: NumberConstructor;
|
|
};
|
|
$compress: BooleanConstructor;
|
|
$large_threshold: NumberConstructor;
|
|
$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;
|
|
}
|