diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-09 17:02:46 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-09 17:02:46 +0900 |
| commit | 27e8805dcbddb73571c8d7fea79c852d9697a26b (patch) | |
| tree | df15036b486e20cb40e304a667b0e8314c79b3c3 /packages/frontend/src/store.ts | |
| parent | Bump version to 2025.3.2-alpha.1 (diff) | |
| download | misskey-27e8805dcbddb73571c8d7fea79c852d9697a26b.tar.gz misskey-27e8805dcbddb73571c8d7fea79c852d9697a26b.tar.bz2 misskey-27e8805dcbddb73571c8d7fea79c852d9697a26b.zip | |
refactor(frontend): relocate plugin consts
Diffstat (limited to 'packages/frontend/src/store.ts')
| -rw-r--r-- | packages/frontend/src/store.ts | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 32b4543f52..196ec782ff 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -15,40 +15,6 @@ import { miLocalStorage } from '@/local-storage.js'; import { Storage } from '@/pizzax.js'; import { DEFAULT_DEVICE_KIND } from '@/utility/device-kind.js'; -interface PostFormAction { - title: string, - handler: <T>(form: T, update: (key: unknown, value: unknown) => void) => void; -} - -interface UserAction { - title: string, - handler: (user: Misskey.entities.UserDetailed) => void; -} - -interface NoteAction { - title: string, - handler: (note: Misskey.entities.Note) => void; -} - -interface NoteViewInterruptor { - handler: (note: Misskey.entities.Note) => unknown; -} - -interface NotePostInterruptor { - handler: (note: FIXME) => unknown; -} - -interface PageViewInterruptor { - handler: (page: Misskey.entities.Page) => unknown; -} - -export const postFormActions: PostFormAction[] = []; -export const userActions: UserAction[] = []; -export const noteActions: NoteAction[] = []; -export const noteViewInterruptors: NoteViewInterruptor[] = []; -export const notePostInterruptors: NotePostInterruptor[] = []; -export const pageViewInterruptors: PageViewInterruptor[] = []; - /** * 「状態」を管理するストア(not「設定」) */ |