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
|
|
|
|
export const db = writable(undefined);
|
|
|
|
export const chatId = writable('');
|
|
|
|
export const chats = writable([]);
|
|
|
|
export const models = writable([]);
|
2023-12-03 19:59:47 +01:00
|
|
|
export const modelfiles = writable([]);
|
2023-11-20 02:47:07 +01:00
|
|
|
export const settings = writable({});
|
|
|
|
export const showSettings = writable(false);
|