Download src/utils/filePersistence/types.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/e91c8197c9918ff9e5df3140e8c36282bb30e9a2/src/utils/filePersistence/types.ts
- Command line
-
hf download hf://chenbhao/codev@e91c8197c9918ff9e5df3140e8c36282bb30e9a2/src/utils/filePersistence/types.ts
-
curl -L -o types.ts https://huggingface.co/chenbhao/codev/resolve/e91c8197c9918ff9e5df3140e8c36282bb30e9a2/src/utils/filePersistence/types.ts
396 Bytes
| export const DEFAULT_UPLOAD_CONCURRENCY = 4 | |
| export const FILE_COUNT_LIMIT = 200 | |
| export const OUTPUTS_SUBDIR = 'outputs' | |
| export type TurnStartTime = number | |
| export type PersistedFile = { | |
| filename: string | |
| file_id: string | |
| } | |
| export type FailedPersistence = { | |
| filename: string | |
| error: string | |
| } | |
| export type FilesPersistedEventData = { | |
| files: PersistedFile[] | |
| failed: FailedPersistence[] | |
| } | |