File size: 793 Bytes
9705b6c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | import { atom } from 'recoil';
type TOptionSettings = {
showExamples?: boolean;
isCodeChat?: boolean;
};
const abortScroll = atom<boolean>({
key: 'abortScroll',
default: false,
});
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 {
abortScroll,
optionSettings,
showPluginStoreDialog,
showAgentSettings,
showBingToneSetting,
showPopover,
};
|