summary refs log tree commit diff
path: root/gateway/src
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
commit81ed8544b1e95abef8e80ca5332ac9e3adfb94d7 (patch)
treea06f1d0965a9b80d81ac6039c857ba6c1cf1ddba /gateway/src
parent...and again (diff)
downloadserver-81ed8544b1e95abef8e80ca5332ac9e3adfb94d7.tar.xz
Added spotify keys to Activity schema
Diffstat (limited to 'gateway/src')
-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 {