Download src/lib/types.ts from web-zero/ui: direct link, hf CLI and curl.
- Browser
- Download file 162 Bytes
-
https://huggingface.co/spaces/web-zero/ui/resolve/e79ea64863c19a5bbb6b0acc1a71707d4b60b45e/src/lib/types.ts
- Command line
-
hf download hf://spaces/web-zero/ui@e79ea64863c19a5bbb6b0acc1a71707d4b60b45e/src/lib/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/web-zero/ui/resolve/e79ea64863c19a5bbb6b0acc1a71707d4b60b45e/src/lib/types.ts
162 Bytes
| export type Message = { | |
| id: string; | |
| from: 'user' | 'ai'; | |
| content: string; | |
| }; | |
| export interface PreviewState { | |
| isFullscreen: boolean; | |
| isOpen: boolean; | |
| } | |