mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-03-25 00:30:08 +08:00
13 lines
319 B
TypeScript
13 lines
319 B
TypeScript
import { Subject } from 'rxjs';
|
|
|
|
export type NewPageAction = 'page' | 'edgeless' | 'default';
|
|
|
|
export const applicationMenuSubjects = {
|
|
newPageAction$: new Subject<NewPageAction>(),
|
|
openJournal$: new Subject<void>(),
|
|
openInSettingModal$: new Subject<{
|
|
activeTab: string;
|
|
scrollAnchor?: string;
|
|
}>(),
|
|
};
|