diff --git a/models/cumulative.ts b/models/cumulative.ts new file mode 100644 index 0000000..9c2f97d --- /dev/null +++ b/models/cumulative.ts @@ -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; +} diff --git a/models/calendar-entry.ts b/models/snapshot.ts similarity index 57% rename from models/calendar-entry.ts rename to models/snapshot.ts index f8cca15..35f6329 100644 --- a/models/calendar-entry.ts +++ b/models/snapshot.ts @@ -1,5 +1,6 @@ -export interface CalendarEntry { +export interface Snapshot { snapshotId: string; commitSha: string; dateCaptured: string; + numFollowers: number; } diff --git a/models/track.ts b/models/track.ts index b0e33b5..3cd3ec9 100644 --- a/models/track.ts +++ b/models/track.ts @@ -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; }