mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
12 lines
343 B
TypeScript
12 lines
343 B
TypeScript
import { atom } from "jotai";
|
|
|
|
export interface SelectedFolder {
|
|
path: string;
|
|
name: string;
|
|
}
|
|
|
|
// Atom to control the folder watch dialog open state
|
|
export const folderWatchDialogOpenAtom = atom(false);
|
|
|
|
// Atom to store initial folder selection for the dialog
|
|
export const folderWatchInitialFolderAtom = atom<SelectedFolder | null>(null);
|