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

14 lines
379 B
TypeScript
Raw Normal View History

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