Skip to content

Commit

Permalink
update SpotifyStream type
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Mar 12, 2023
1 parent 3f8eebc commit de9479a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion frontend/js/src/utils/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,27 @@ declare type Listen = BaseListenFormat & {
};

declare type SpotifyStream = {
ts: string;
ts: string; // Date string
username: string;
platform: string;
ms_played: number;
conn_country: string;
ip_addr_decrypted: string;
user_agent_decrypted: string | null;
master_metadata_track_name: string;
master_metadata_album_artist_name: string;
master_metadata_album_album_name: string;
spotify_track_uri: string;
episode_name: string | null;
episode_show_name: string | null;
spotify_episode_uri: string | null;
reason_start: string;
reason_end: string;
shuffle: boolean;
skipped: boolean;
offline: boolean;
offline_timestamp: number;
incognito_mode: boolean;
};

declare type Recommendation = Listen & {
Expand Down

0 comments on commit de9479a

Please sign in to comment.