mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 12:42:44 +01:00
Added spotify keys to Activity schema
This commit is contained in:
parent
27ec60b9fa
commit
cf97d81dd4
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user