open-webui/src/lib/stores/index.ts

16 lines
420 B
TypeScript
Raw Normal View History

2023-11-19 01:47:12 +01:00
import { writable } from 'svelte/store';
2023-11-20 02:47:07 +01:00
// Backend
2023-11-19 01:47:12 +01:00
export const config = writable(undefined);
export const user = writable(undefined);
2023-11-20 02:47:07 +01:00
// Frontend
2024-01-02 01:05:05 +01:00
export const theme = writable('dark');
2023-11-20 02:47:07 +01:00
export const chatId = writable('');
export const chats = writable([]);
export const models = writable([]);
export const modelfiles = writable([]);
2024-01-02 01:05:05 +01:00
2023-11-20 02:47:07 +01:00
export const settings = writable({});
export const showSettings = writable(false);