summary refs log tree commit diff
path: root/src/util/schemas/ActivitySchema.ts
diff options
context:
space:
mode:
authorCatalan Lover <48515417+FSG-Cat@users.noreply.github.com>2022-08-23 23:50:01 +0200
committerGitHub <noreply@github.com>2022-08-23 23:50:01 +0200
commitd63451b3fe6c0c6ab175adec82361834bb3633f5 (patch)
treeb738ee25bf9819300e1802ba9a8e2813e9dc2588 /src/util/schemas/ActivitySchema.ts
parentMerge pull request #1 from FSG-Cat/FSG-Cat-patch-1 (diff)
parentCheck Captcha (diff)
downloadserver-d63451b3fe6c0c6ab175adec82361834bb3633f5.tar.xz
Merge branch 'fosscord:staging' into Bug-Report-Template
Diffstat (limited to 'src/util/schemas/ActivitySchema.ts')
-rw-r--r--src/util/schemas/ActivitySchema.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/util/schemas/ActivitySchema.ts b/src/util/schemas/ActivitySchema.ts
index e18f66c8..d94557ea 100644
--- a/src/util/schemas/ActivitySchema.ts
+++ b/src/util/schemas/ActivitySchema.ts
@@ -11,7 +11,7 @@ export const ActivitySchema = {
 			$created_at: Date,
 			$timestamps: {
 				$start: Number,
-				$end: Number,
+				$end: Number
 			},
 			$application_id: String,
 			$details: String,
@@ -19,28 +19,28 @@ export const ActivitySchema = {
 			$emoji: {
 				$name: String,
 				$id: String,
-				$animated: Boolean,
+				$animated: Boolean
 			},
 			$party: {
 				$id: String,
-				$size: [Number, Number],
+				$size: [Number, Number]
 			},
 			$assets: {
 				$large_image: String,
 				$large_text: String,
 				$small_image: String,
-				$small_text: String,
+				$small_text: String
 			},
 			$secrets: {
 				$join: String,
 				$spectate: String,
-				$match: String,
+				$match: String
 			},
 			$instance: Boolean,
-			$flags: String,
-		},
+			$flags: String
+		}
 	],
-	$since: Number, // unix time (in milliseconds) of when the client went idle, or null if the client is not idle
+	$since: Number // unix time (in milliseconds) of when the client went idle, or null if the client is not idle
 };
 
 export interface ActivitySchema {