diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-07 15:31:40 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-07 15:35:58 +1000 |
commit | 993169836750df0c5230dd112cc56d8ff4f2158c (patch) | |
tree | 6feb353da65bfe3922a05f934777838f3a539398 /gateway | |
parent | Added spotify keys to Activity schema (diff) | |
parent | Update README.md (diff) | |
download | server-993169836750df0c5230dd112cc56d8ff4f2158c.tar.xz |
Merge branch 'slowcord' of github.com:MaddyUnderStars/fosscord-server into slowcord
Diffstat (limited to 'gateway')
-rw-r--r-- | gateway/src/schema/Activity.ts | 17 |
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 { |