summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-07 15:28:45 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-07 15:28:45 +1000
commitcf97d81dd4e99570c08717cfdd2615e5590ae6d6 (patch)
tree82fccada95f948f3169cdb32e5d3f3f69b2d9d74 /util
parent...and again (diff)
downloadserver-cf97d81dd4e99570c08717cfdd2615e5590ae6d6.tar.xz
Added spotify keys to Activity schema
Diffstat (limited to 'util')
-rw-r--r--util/src/interfaces/Activity.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/src/interfaces/Activity.ts b/util/src/interfaces/Activity.ts
index 43984afd..a2cd2222 100644
--- a/util/src/interfaces/Activity.ts
+++ b/util/src/interfaces/Activity.ts
@@ -33,6 +33,14 @@ export interface Activity {
 	};
 	instance?: boolean;
 	flags: string; // activity flags OR d together, describes what the payload includes
+
+	id?: string;
+	sync_id?: string;
+	metadata?: { // spotify
+		context_url?: string;
+		album_id: string;
+		artist_ids: string[];
+	}
 }
 
 export enum ActivityType {