1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 14:56:16 +02:00

refactor(frontend): relocate plugin consts

This commit is contained in:
syuilo
2025-03-09 17:02:46 +09:00
parent 933abedc90
commit 27e8805dcb
8 changed files with 48 additions and 45 deletions

View File

@@ -4,10 +4,10 @@
*/
import { defineAsyncComponent } from 'vue';
import type { Ref, ShallowRef } from 'vue';
import * as Misskey from 'misskey-js';
import { url } from '@@/js/config.js';
import { claimAchievement } from './achievements.js';
import type { Ref, ShallowRef } from 'vue';
import type { MenuItem } from '@/types/menu.js';
import { $i } from '@/account.js';
import { i18n } from '@/i18n.js';
@@ -15,7 +15,7 @@ import { instance } from '@/instance.js';
import * as os from '@/os.js';
import { misskeyApi } from '@/utility/misskey-api.js';
import { copyToClipboard } from '@/utility/copy-to-clipboard.js';
import { store, noteActions } from '@/store.js';
import { store } from '@/store.js';
import { miLocalStorage } from '@/local-storage.js';
import { getUserMenu } from '@/utility/get-user-menu.js';
import { clipsCache, favoritedChannelsCache } from '@/cache.js';
@@ -24,6 +24,7 @@ import { isSupportShare } from '@/utility/navigator.js';
import { getAppearNote } from '@/utility/get-appear-note.js';
import { genEmbedCode } from '@/utility/get-embed-code.js';
import { prefer } from '@/preferences.js';
import { noteActions } from '@/plugin.js';
export async function getNoteClipMenu(props: {
note: Misskey.entities.Note;