mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-20 16:05:40 -04:00
lots of random cleanup & organization
This commit is contained in:
Vendored
+12
-12
@@ -1,30 +1,30 @@
|
||||
export type TrackSchema = {
|
||||
export type SpotifyTrackSchema = {
|
||||
name: string;
|
||||
artists: Array<{
|
||||
name: string;
|
||||
}>;
|
||||
album: {
|
||||
name: string;
|
||||
images: Array<{
|
||||
url: string;
|
||||
images?: Array<{
|
||||
url: URL;
|
||||
}>;
|
||||
};
|
||||
imageUrl?: string;
|
||||
imageUrl?: URL;
|
||||
external_urls: {
|
||||
spotify: string;
|
||||
spotify: URL;
|
||||
};
|
||||
};
|
||||
|
||||
export type SpotifyActivitySchema = {
|
||||
is_playing: boolean;
|
||||
item?: SpotifyTrackSchema;
|
||||
};
|
||||
|
||||
export type Track = {
|
||||
isPlaying: boolean;
|
||||
artist?: string;
|
||||
title?: string;
|
||||
album?: string;
|
||||
imageUrl?: string;
|
||||
songUrl?: string;
|
||||
};
|
||||
|
||||
export type Activity = {
|
||||
is_playing: boolean;
|
||||
item?: TrackSchema;
|
||||
imageUrl?: URL;
|
||||
songUrl?: URL;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user