mirror of
https://github.com/ivanfioravanti/chatbot-ollama.git
synced 2023-12-01 22:17:38 +03:00
18 lines
505 B
TypeScript
18 lines
505 B
TypeScript
import { Conversation } from './chat';
|
|
import { FolderInterface } from './folder';
|
|
import { Prompt } from './prompt';
|
|
|
|
// keep track of local storage schema
|
|
export interface LocalStorage {
|
|
conversationHistory: Conversation[];
|
|
selectedConversation: Conversation;
|
|
theme: 'light' | 'dark';
|
|
// added folders (3/23/23)
|
|
folders: FolderInterface[];
|
|
// added prompts (3/26/23)
|
|
prompts: Prompt[];
|
|
// added showChatbar and showPromptbar (3/26/23)
|
|
showChatbar: boolean;
|
|
showPromptbar: boolean;
|
|
}
|