From cf97d81dd4e99570c08717cfdd2615e5590ae6d6 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Wed, 7 Sep 2022 15:28:45 +1000 Subject: Added spotify keys to Activity schema --- gateway/src/schema/Activity.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gateway/src') 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 { -- cgit 1.5.1