summary refs log tree commit diff
path: root/src/util/schemas/IdentifySchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-21 16:10:26 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-21 16:10:26 +1100
commitb9f171d94087378510c6ccf67c8a826d8e2901df (patch)
tree969b93bc6eff4b3faa9434deff43baa2a2abc030 /src/util/schemas/IdentifySchema.ts
parentSet default cdn endpoints so that local testing works (diff)
parentMerge pull request #917 from Puyodead1/refactor/client/165341 (diff)
downloadserver-b9f171d94087378510c6ccf67c8a826d8e2901df.tar.xz
Merge branch 'maddy/refactor' of github.com:fosscord/fosscord-server into maddy/refactor
Diffstat (limited to 'src/util/schemas/IdentifySchema.ts')
-rw-r--r--src/util/schemas/IdentifySchema.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/schemas/IdentifySchema.ts b/src/util/schemas/IdentifySchema.ts
index 848ea0a6..0e44af38 100644
--- a/src/util/schemas/IdentifySchema.ts
+++ b/src/util/schemas/IdentifySchema.ts
@@ -44,6 +44,8 @@ export const IdentifySchema = {
 		$user_settings_version: undefined,
 		$useruser_guild_settings_version: undefined,
 		$private_channels_version: Number,
+		$guild_versions: Object,
+		$api_code_version: Number,
 	},
 	$clientState: {
 		$guildHashes: Object,
@@ -51,6 +53,8 @@ export const IdentifySchema = {
 		$readStateVersion: Number,
 		$useruserGuildSettingsVersion: undefined,
 		$userGuildSettingsVersion: undefined,
+		$guildVersions: Object,
+		$apiCodeVersion: Number,
 	},
 	$v: Number,
 	$version: Number,
@@ -96,6 +100,8 @@ export interface IdentifySchema {
 		user_settings_version?: number;
 		useruser_guild_settings_version?: number;
 		private_channels_version?: number;
+		guild_versions?: any;
+		api_code_version?: number;
 	};
 	clientState?: {
 		guildHashes?: any;
@@ -103,6 +109,8 @@ export interface IdentifySchema {
 		readStateVersion?: number;
 		userGuildSettingsVersion?: number;
 		useruserGuildSettingsVersion?: number;
+		guildVersions?: any;
+		apiCodeVersion?: number;
 	};
 	v?: number;
 }