mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-20 09:46:38 +00:00
chore: Update activity schema
This commit is contained in:
@@ -33,8 +33,11 @@ export const ActivitySchema = {
|
||||
$end: Number,
|
||||
},
|
||||
$application_id: String,
|
||||
$parent_application_id: String,
|
||||
$details: String,
|
||||
$details_url: String,
|
||||
$state: String,
|
||||
$state_url: String,
|
||||
$emoji: {
|
||||
$name: String,
|
||||
$id: String,
|
||||
@@ -62,12 +65,17 @@ export const ActivitySchema = {
|
||||
$id: String,
|
||||
$sync_id: String,
|
||||
$metadata: {
|
||||
$button_urls: [String],
|
||||
// spotify
|
||||
$context_uri: String,
|
||||
album_id: String,
|
||||
artist_ids: [String],
|
||||
$album_id: String,
|
||||
$artist_ids: [String],
|
||||
},
|
||||
$session_id: String,
|
||||
$platform: String,
|
||||
$supported_platforms: [String],
|
||||
$status_display_type: Number,
|
||||
$buttons: [String],
|
||||
},
|
||||
],
|
||||
$since: Number, // unix time (in milliseconds) of when the client went idle, or null if the client is not idle
|
||||
|
||||
Reference in New Issue
Block a user