mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
36 lines
677 B
TypeScript
36 lines
677 B
TypeScript
|
|
import { atom } from 'recoil';
|
||
|
|
import { TOptionSettings } from 'librechat-data-provider';
|
||
|
|
|
||
|
|
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,
|
||
|
|
};
|