import type { InjectionKey } from 'vue'; import type { Source } from '#shared/classes.ts'; export const addPronounInjectionKey = Symbol() as InjectionKey<(pronoun: string) => void>; export const changeSourceInjectionKey = Symbol() as InjectionKey<{ approve: (source: Source) => void; hide: (source: Source) => void; remove: (source: Source) => void; edit: (source: Source) => void; }>; export const collapseNounWordsInjectionKey = Symbol() as InjectionKey; export const neutralGenderNameInjectionKey = Symbol() as InjectionKey; export const adminStorageRefreshInjectionKey = Symbol() as InjectionKey<() => Promise>;