2023-04-21 22:35:25 +03:00
|
|
|
export type ResourceId = bigint;
|
|
|
|
|
|
|
|
export interface Track {
|
|
|
|
title: string,
|
|
|
|
track_num: number,
|
2023-04-23 07:06:52 +03:00
|
|
|
album_title: string,
|
2023-04-21 22:35:25 +03:00
|
|
|
album_id: ResourceId,
|
2023-04-23 07:06:52 +03:00
|
|
|
artist_name: string,
|
2023-04-21 22:35:25 +03:00
|
|
|
artist_id: ResourceId,
|
|
|
|
thumbnail_id: ResourceId,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface TrackWithId {
|
|
|
|
id: ResourceId,
|
|
|
|
track: Track,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Artist {
|
|
|
|
name: string,
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Album {
|
|
|
|
title: string,
|
|
|
|
artist_id: ResourceId,
|
|
|
|
}
|