Files
chatbot-ui/types/storage.ts
T
Mckay Wrigley 34c79c0d66 Prompts (#229)
2023-03-27 09:38:56 -06:00

19 lines
505 B
TypeScript

import { Conversation } from './chat';
import { Folder } from './folder';
import { Prompt } from './prompt';
// keep track of local storage schema
export interface LocalStorage {
apiKey: string;
conversationHistory: Conversation[];
selectedConversation: Conversation;
theme: 'light' | 'dark';
// added folders (3/23/23)
folders: Folder[];
// added prompts (3/26/23)
prompts: Prompt[];
// added showChatbar and showPromptbar (3/26/23)
showChatbar: boolean;
showPromptbar: boolean;
}