index.ts 459 Bytes
Newer Older
1
2
import { writable } from 'svelte/store';

3
// Backend
4
5
export const config = writable(undefined);
export const user = writable(undefined);
6
7

// Frontend
Timothy J. Baek's avatar
Timothy J. Baek committed
8
export const theme = writable('dark');
Timothy J. Baek's avatar
Timothy J. Baek committed
9

10
export const chatId = writable('');
Timothy J. Baek's avatar
Timothy J. Baek committed
11

12
13
export const chats = writable([]);
export const models = writable([]);
14
export const modelfiles = writable([]);
Timothy J. Baek's avatar
Timothy J. Baek committed
15
export const prompts = writable([]);
Timothy J. Baek's avatar
Timothy J. Baek committed
16

17
18
export const settings = writable({});
export const showSettings = writable(false);