mirror of
https://github.com/maciejpedzich/spotifyplaylistarchive.com.git
synced 2024-09-19 18:16:19 +02:00
Rename calendar-entry to snapshot
This commit is contained in:
parent
0b71814dc3
commit
90a1fcc056
10
models/cumulative.ts
Normal file
10
models/cumulative.ts
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
import { Track } from './track';
|
||||||
|
|
||||||
|
export interface Cumulative {
|
||||||
|
date_first_scraped: string;
|
||||||
|
description: string;
|
||||||
|
name: string;
|
||||||
|
published_playlist_ids: string[];
|
||||||
|
tracks: Track[];
|
||||||
|
url: string;
|
||||||
|
}
|
@ -1,5 +1,6 @@
|
|||||||
export interface CalendarEntry {
|
export interface Snapshot {
|
||||||
snapshotId: string;
|
snapshotId: string;
|
||||||
commitSha: string;
|
commitSha: string;
|
||||||
dateCaptured: string;
|
dateCaptured: string;
|
||||||
|
numFollowers: number;
|
||||||
}
|
}
|
@ -10,4 +10,9 @@ export interface Track {
|
|||||||
duration_ms: number;
|
duration_ms: number;
|
||||||
name: string;
|
name: string;
|
||||||
url: string;
|
url: string;
|
||||||
|
date_added: string;
|
||||||
|
date_added_asterisk: boolean;
|
||||||
|
date_removed: string | null;
|
||||||
|
position?: string;
|
||||||
|
retention?: number;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user