1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-22 14:04:08 +02:00

refactor(frontend): refactor deck events (#17290)

This commit is contained in:
かっこかり
2026-04-08 14:45:30 +09:00
committed by GitHub
parent 5cb3a91b15
commit 92e0e8edf7
3 changed files with 15 additions and 11 deletions

View File

@@ -5,6 +5,7 @@
import { notificationTypes } from 'misskey-js';
import { ref } from 'vue';
import { EventEmitter } from 'eventemitter3';
import { i18n } from './i18n.js';
import type { BasicTimelineType } from '@/timelines.js';
import type { SoundStore } from '@/preferences/def.js';
@@ -14,6 +15,13 @@ import { deepClone } from '@/utility/clone.js';
import { prefer } from '@/preferences.js';
import * as os from '@/os.js';
type DeckEvents = {
'column.dragStart': () => void;
'column.dragEnd': () => void;
};
export const deckGlobalEvents = new EventEmitter<DeckEvents>();
export type DeckProfile = {
name: string;
id: string;