mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-25 18:54:52 +00:00 
			
		
		
		
	* wip * wip * wip * refactor * refactor --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			620 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			620 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /*
 | |
|  * SPDX-FileCopyrightText: syuilo and misskey-project
 | |
|  * SPDX-License-Identifier: AGPL-3.0-only
 | |
|  */
 | |
| 
 | |
| import type { InjectionKey } from 'vue';
 | |
| import * as Misskey from 'misskey-js';
 | |
| import { MediaProxy } from '@@/js/media-proxy.js';
 | |
| import type { ParsedEmbedParams } from '@@/js/embed-page.js';
 | |
| import type { ServerContext } from '@/server-context.js';
 | |
| 
 | |
| export const DI = {
 | |
| 	serverMetadata: Symbol() as InjectionKey<Misskey.entities.MetaDetailed>,
 | |
| 	embedParams: Symbol() as InjectionKey<ParsedEmbedParams>,
 | |
| 	serverContext: Symbol() as InjectionKey<ServerContext>,
 | |
| 	mediaProxy: Symbol() as InjectionKey<MediaProxy>,
 | |
| };
 |