MCPcopy Index your code
hub / github.com/sqlchat/sqlchat / SettingState

Interface SettingState

src/store/setting.ts:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16};
17
18interface SettingState {
19 setting: Setting;
20 getState: () => SettingState;
21 setLocale: (locale: Setting["locale"]) => void;
22 setTheme: (theme: Setting["theme"]) => void;
23 setOpenAIApiConfig: (openAIApiConfig: Setting["openAIApiConfig"]) => void;
24}
25
26export const useSettingStore = create<SettingState>()(
27 persist(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected