summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 20:50:36 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 20:50:36 +1100
commit39382bad65ecb70ee353a481eb2d9c3c81e81d00 (patch)
treef9a573cad6062aba594bd25c4f0f66104397aa56 /src/util
parentflags related rights and stats api (diff)
downloadserver-39382bad65ecb70ee353a481eb2d9c3c81e81d00.tar.xz
comments
Diffstat (limited to 'src/util')
-rw-r--r--src/util/interfaces/Activity.ts1
-rw-r--r--src/util/schemas/ActivitySchema.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/interfaces/Activity.ts b/src/util/interfaces/Activity.ts
index 279ee40f..d16160d3 100644
--- a/src/util/interfaces/Activity.ts
+++ b/src/util/interfaces/Activity.ts
@@ -34,6 +34,7 @@ export interface Activity {
 	instance?: boolean;
 	flags: string; // activity flags OR d together, describes what the payload includes
 
+	// Spotify and other rich presence data
 	id?: string;
 	sync_id?: string;
 	metadata?: {
diff --git a/src/util/schemas/ActivitySchema.ts b/src/util/schemas/ActivitySchema.ts
index e4501bd7..1f61cc1e 100644
--- a/src/util/schemas/ActivitySchema.ts
+++ b/src/util/schemas/ActivitySchema.ts
@@ -39,6 +39,7 @@ export const ActivitySchema = {
 			$instance: Boolean,
 			$flags: String,
 
+			// Spotify and other rich presence data
 			$id: String,
 			$sync_id: String,
 			$metadata: {