feat(web/m7-352): Playlist type gains kind/system_variant/seed_artist_id fields
This commit is contained in:
@@ -12,6 +12,9 @@ const playlistsData = vi.hoisted(() => ({
|
||||
name: 'B-list',
|
||||
description: '',
|
||||
is_public: false,
|
||||
kind: 'user',
|
||||
system_variant: null,
|
||||
seed_artist_id: null,
|
||||
cover_url: '',
|
||||
track_count: 3,
|
||||
duration_sec: 0,
|
||||
@@ -25,6 +28,9 @@ const playlistsData = vi.hoisted(() => ({
|
||||
name: 'A-list',
|
||||
description: '',
|
||||
is_public: false,
|
||||
kind: 'user',
|
||||
system_variant: null,
|
||||
seed_artist_id: null,
|
||||
cover_url: '',
|
||||
track_count: 5,
|
||||
duration_sec: 0,
|
||||
@@ -58,6 +64,9 @@ vi.mock('$lib/api/playlists', () => ({
|
||||
name: 'New',
|
||||
description: '',
|
||||
is_public: false,
|
||||
kind: 'user',
|
||||
system_variant: null,
|
||||
seed_artist_id: null,
|
||||
cover_url: '',
|
||||
track_count: 0,
|
||||
duration_sec: 0,
|
||||
|
||||
@@ -16,6 +16,9 @@ const base: Playlist = {
|
||||
name: 'Saturday morning',
|
||||
description: '',
|
||||
is_public: false,
|
||||
kind: 'user',
|
||||
system_variant: null,
|
||||
seed_artist_id: null,
|
||||
cover_url: '',
|
||||
track_count: 12,
|
||||
duration_sec: 0,
|
||||
|
||||
Reference in New Issue
Block a user