Spaces:
Paused
Paused
Download types/storage.ts from matthoffner/chatbot: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/matthoffner/chatbot/resolve/fd7f787b285812b649560130c30cee3feb73f057/types/storage.ts
- Command line
-
hf download hf://spaces/matthoffner/chatbot@fd7f787b285812b649560130c30cee3feb73f057/types/storage.ts
-
curl -L -o storage.ts https://huggingface.co/spaces/matthoffner/chatbot/resolve/fd7f787b285812b649560130c30cee3feb73f057/types/storage.ts
620 Bytes
| 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[]; | |
| } | |