open-webui/src/lib/stores/index.ts
2023-11-19 17:47:07 -08:00

13 lines
379 B
TypeScript

import { writable } from 'svelte/store';
// Backend
export const config = writable(undefined);
export const user = writable(undefined);
// 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);