From 81ed8544b1e95abef8e80ca5332ac9e3adfb94d7 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