mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-30 18:24:27 +01:00
27 lines
606 B
TypeScript
27 lines
606 B
TypeScript
import { atom } from "jotai";
|
|
import { atomWithStorage } from "jotai/utils";
|
|
|
|
export const customModelsPathAtom = atomWithStorage<string | null>(
|
|
"customModelsPath",
|
|
null
|
|
);
|
|
|
|
export const scaleAtom = atomWithStorage<"2" | "3" | "4">("scale", "4");
|
|
|
|
export const batchModeAtom = atom<boolean>(false);
|
|
|
|
export const rememberOutputFolderAtom = atomWithStorage<boolean>(
|
|
"rememberOutputFolder",
|
|
false
|
|
);
|
|
|
|
export const dontShowCloudModalAtom = atomWithStorage<boolean>(
|
|
"dontShowCloudModal",
|
|
false
|
|
);
|
|
|
|
export const noImageProcessingAtom = atomWithStorage<boolean>(
|
|
"noImageProcessing",
|
|
false
|
|
);
|