mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-24 03:06:12 +01:00
* create common types in client * remove unnecessary rules from eslint config * cleanup types * put back eslintrc rules
39 lines
697 B
TypeScript
39 lines
697 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
type TOptionSettings = {
|
|
showExamples?: boolean;
|
|
isCodeChat?: boolean;
|
|
};
|
|
|
|
const optionSettings = atom<TOptionSettings>({
|
|
key: 'optionSettings',
|
|
default: {},
|
|
});
|
|
|
|
const showPluginStoreDialog = atom<boolean>({
|
|
key: 'showPluginStoreDialog',
|
|
default: false,
|
|
});
|
|
|
|
const showAgentSettings = atom<boolean>({
|
|
key: 'showAgentSettings',
|
|
default: false,
|
|
});
|
|
|
|
const showBingToneSetting = atom<boolean>({
|
|
key: 'showBingToneSetting',
|
|
default: false,
|
|
});
|
|
|
|
const showPopover = atom<boolean>({
|
|
key: 'showPopover',
|
|
default: false,
|
|
});
|
|
|
|
export default {
|
|
optionSettings,
|
|
showPluginStoreDialog,
|
|
showAgentSettings,
|
|
showBingToneSetting,
|
|
showPopover,
|
|
};
|