mirror of
https://github.com/koel/koel
synced 2024-12-29 22:13:06 +00:00
8 lines
566 B
TypeScript
8 lines
566 B
TypeScript
import { InjectionKey, Ref } from 'vue'
|
|
|
|
export const SongListTypeKey: InjectionKey<SongListType> = Symbol('SongListType')
|
|
export const SongsKey: InjectionKey<Ref<Song[]>> = Symbol('Songs')
|
|
export const SelectedSongsKey: InjectionKey<Ref<Song[]>> = Symbol('SelectedSongs')
|
|
export const SongListConfigKey: InjectionKey<Partial<SongListConfig>> = Symbol('SongListConfig')
|
|
export const SongListSortFieldKey: InjectionKey<Ref<SongListSortField>> = Symbol('SongListSortField')
|
|
export const SongListSortOrderKey: InjectionKey<Ref<SortOrder>> = Symbol('SongListSortOrder')
|