koel/resources/assets/js/symbols.ts
2022-07-04 10:36:39 +02:00

6 lines
370 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')