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 { 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 {