mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +00:00
fix: MessageToaster component import
This commit is contained in:
parent
d0d2e31cf0
commit
d269dd5782
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
import { DeepReadonly, InjectionKey, Ref } from 'vue'
|
||||
import DialogBox from '@/components/ui/DialogBox.vue'
|
||||
import MessageToast from '@/components/ui/MessageToast.vue'
|
||||
import MessageToaster from '@/components/ui/MessageToaster.vue'
|
||||
|
||||
export type ReadonlyInjectionKey<T> = InjectionKey<[Readonly<T> | DeepReadonly<T>, Closure]>
|
||||
|
||||
export const DialogBoxKey: InjectionKey<Ref<InstanceType<typeof DialogBox>>> = Symbol('DialogBox')
|
||||
export const MessageToasterKey: InjectionKey<Ref<InstanceType<typeof MessageToast>>> = Symbol('MessageToast')
|
||||
export const MessageToasterKey: InjectionKey<Ref<InstanceType<typeof MessageToaster>>> = Symbol('MessageToaster')
|
||||
|
||||
export const SongListTypeKey: ReadonlyInjectionKey<SongListType> = Symbol('SongListType')
|
||||
export const SongsKey: ReadonlyInjectionKey<Ref<Song[]>> = Symbol('Songs')
|
||||
|
|
Loading…
Reference in a new issue