update dependencies
This commit is contained in:
+14
-14
@@ -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[]
|
||||
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user