mirror of
https://github.com/docmost/docmost.git
synced 2026-05-24 03:02:42 +08:00
10 lines
386 B
TypeScript
10 lines
386 B
TypeScript
import { atom } from "jotai";
|
|
|
|
export const historyAtoms = atom<boolean>(false);
|
|
export const activeHistoryIdAtom = atom<string>("");
|
|
export const activeHistoryPrevIdAtom = atom<string>("");
|
|
export const highlightChangesAtom = atom<boolean>(true);
|
|
|
|
export type DiffCounts = { added: number; deleted: number; total: number };
|
|
export const diffCountsAtom = atom<DiffCounts | null>(null);
|