update dependencies

This commit is contained in:
Thomas Amland
2020-09-13 10:39:50 +02:00
parent c3a5136f0f
commit 1a24f42341
4 changed files with 303 additions and 170 deletions
+14 -14
View File
@@ -8,6 +8,20 @@ export type AlbumSort =
'most-played' |
'random'
export interface Track {
id: string
title: string
duration: number
starred: boolean
image?: string
url?: string
track?: number
album?: string
albumId?: string
artist?: string
artistId?: string
}
export interface Album {
id: string
name: string
@@ -32,20 +46,6 @@ export interface Artist {
albums?: Album[]
}
export interface Track {
id: string
title: string
duration: number
starred: boolean
image?: string
url?: string
track?: number
album?: string
albumId?: string
artist?: string
artistId?: string
}
export interface SearchResult {
artists: Artist[]
albums: Album[]
-2
View File
@@ -15,8 +15,6 @@ const components = {
Tile,
}
type Key = keyof typeof components;
Object.keys(components).forEach((_key) => {
const key = _key as keyof typeof components
Vue.component(key, components[key])