Spaces:
Runtime error
Runtime error
File size: 620 Bytes
13095e0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import { Conversation } from './chat';
import { FolderInterface } from './folder';
import { PluginKey } from './plugin';
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: FolderInterface[];
// added prompts (3/26/23)
prompts: Prompt[];
// added showChatbar and showPromptbar (3/26/23)
showChatbar: boolean;
showPromptbar: boolean;
// added plugin keys (4/3/23)
pluginKeys: PluginKey[];
}
|