summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 17:12:46 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 17:12:46 +0200
commitd0292ef96bedde2dd23962c15b2a0446b8492fb0 (patch)
tree3cd962d1ca42d4bb7f8f71bc8f8e919eb397f5a8 /util
parentfixed tests for cdn (diff)
downloadserver-d0292ef96bedde2dd23962c15b2a0446b8492fb0.tar.xz
:bug: convert bigint -> string
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Application.ts2
-rw-r--r--util/src/interfaces/Event.ts6
2 files changed, 4 insertions, 4 deletions
diff --git a/util/src/entities/Application.ts b/util/src/entities/Application.ts
index a87b5cea..b179d171 100644
--- a/util/src/entities/Application.ts
+++ b/util/src/entities/Application.ts
@@ -62,7 +62,7 @@ export class Application extends BaseClass {
 	cover_image?: string; // the application's default rich presence invite cover image hash
 
 	@Column()
-	flags: number; // the application's public flags
+	flags: string; // the application's public flags
 }
 
 export interface ApplicationCommand {
diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts
index 0de55f71..814a8beb 100644
--- a/util/src/interfaces/Event.ts
+++ b/util/src/interfaces/Event.ts
@@ -36,7 +36,7 @@ export interface ReadyEventData {
 		mobile: boolean;
 		desktop: boolean;
 		email: string | undefined;
-		flags: bigint;
+		flags: string;
 		mfa_enabled: boolean;
 		nsfw_allowed: boolean;
 		phone: string | undefined;
@@ -85,7 +85,7 @@ export interface ReadyEventData {
 	};
 	application?: {
 		id: string;
-		flags: bigint;
+		flags: string;
 	};
 	merged_members?: Omit<Member, "settings" | "user">[][];
 	// probably all users who the user is in contact with
@@ -95,7 +95,7 @@ export interface ReadyEventData {
 		id: string;
 		username: string;
 		bot: boolean;
-		public_flags: bigint;
+		public_flags: string;
 	}[];
 }