summaryrefslogtreecommitdiff
path: root/packages/frontend/src/di.ts
blob: 192242984cf5336655913391df08440dfbfd34c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * SPDX-FileCopyrightText: syuilo and misskey-project
 * SPDX-License-Identifier: AGPL-3.0-only
 */

import type { InjectionKey, Ref } from 'vue';
import type { IRouter } from '@/nirax.js';

export const DI = {
	routerCurrentDepth: Symbol() as InjectionKey<number>,
	router: Symbol() as InjectionKey<IRouter>,
	mock: Symbol() as InjectionKey<boolean>,
};