Rename calendar-entry to snapshot

This commit is contained in:
Maciej Pędzich 2022-07-06 14:01:01 +02:00
parent 0b71814dc3
commit 90a1fcc056
3 changed files with 17 additions and 1 deletions

10
models/cumulative.ts Normal file
View 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;
}

View File

@ -1,5 +1,6 @@
export interface CalendarEntry {
export interface Snapshot {
snapshotId: string;
commitSha: string;
dateCaptured: string;
numFollowers: number;
}

View File

@ -10,4 +10,9 @@ export interface Track {
duration_ms: number;
name: string;
url: string;
date_added: string;
date_added_asterisk: boolean;
date_removed: string | null;
position?: string;
retention?: number;
}