mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
ad9b0303c4
To support multiple instances, this PR removes some atoms and implements them using the new DI system. removed atom - `pageSettingsAtom` - `currentPageIdAtom` - `currentModeAtom`
9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
import { createIdentifier } from '../di';
|
|
import type { Memento } from '../storage';
|
|
|
|
export interface WorkspaceLocalState extends Memento {}
|
|
|
|
export const WorkspaceLocalState = createIdentifier<WorkspaceLocalState>(
|
|
'WorkspaceLocalState'
|
|
);
|