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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user