summary refs log tree commit diff
path: root/gateway
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 /gateway
parent...and again (diff)
downloadserver-cf97d81dd4e99570c08717cfdd2615e5590ae6d6.tar.xz
Added spotify keys to Activity schema
Diffstat (limited to '')
-rw-r--r--gateway/src/schema/Activity.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/gateway/src/schema/Activity.ts b/gateway/src/schema/Activity.ts

index e18f66c8..c21e993c 100644 --- a/gateway/src/schema/Activity.ts +++ b/gateway/src/schema/Activity.ts
@@ -41,6 +41,14 @@ export const ActivitySchema = { }, ], $since: Number, // unix time (in milliseconds) of when the client went idle, or null if the client is not idle + + $id: String, + $sync_id: String, + $metadata: { // spotify + $context_url: String, + album_id: String, + artist_ids: [String], + } }; export interface ActivitySchema {