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:31:40 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-07 15:35:58 +1000
commit993169836750df0c5230dd112cc56d8ff4f2158c (patch)
tree6feb353da65bfe3922a05f934777838f3a539398 /gateway/src
parentAdded spotify keys to Activity schema (diff)
parentUpdate README.md (diff)
downloadserver-993169836750df0c5230dd112cc56d8ff4f2158c.tar.xz
Merge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into slowcord
Diffstat (limited to '')
-rw-r--r--gateway/src/schema/Activity.ts17
1 files changed, 9 insertions, 8 deletions
diff --git a/gateway/src/schema/Activity.ts b/gateway/src/schema/Activity.ts

index c21e993c..3cf254a1 100644 --- a/gateway/src/schema/Activity.ts +++ b/gateway/src/schema/Activity.ts
@@ -38,17 +38,18 @@ export const ActivitySchema = { }, $instance: Boolean, $flags: String, + + $id: String, + $sync_id: String, + $metadata: { // spotify + $context_url: String, + album_id: String, + artist_ids: [String], + }, + $session_id: String, }, ], $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 {