/* * SPDX-FileCopyrightText: syuilo and misskey-project * SPDX-License-Identifier: AGPL-3.0-only */ import type { InjectionKey, Ref } from 'vue'; import type { Router } from '@/router.js'; export const DI = { routerCurrentDepth: Symbol() as InjectionKey, router: Symbol() as InjectionKey, mock: Symbol() as InjectionKey, pageMetadata: Symbol() as InjectionKey | null>>, viewId: Symbol() as InjectionKey, currentStickyTop: Symbol() as InjectionKey>, currentStickyBottom: Symbol() as InjectionKey>, mfmEmojiReactCallback: Symbol() as InjectionKey<(emoji: string) => void>, inModal: Symbol() as InjectionKey, inAppSearchMarkerId: Symbol() as InjectionKey>, };