Spaces:
Paused
Paused
Download node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts from ken-q/opencode-home: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/hub/dist/src/lib/create-collection.d.ts
- Command line
-
hf download hf://spaces/ken-q/opencode-home/node_modules/@huggingface/hub/dist/src/lib/create-collection.d.ts
-
curl -L -o create-collection.d.ts https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/hub/dist/src/lib/create-collection.d.ts
522 Bytes
| import type { ApiCreateCollectionPayload } from "../types/api/api-create-collection"; | |
| import type { CredentialsParams } from "../types/public"; | |
| export declare function createCollection(params: { | |
| collection: ApiCreateCollectionPayload; | |
| hubUrl?: string; | |
| /** | |
| * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers. | |
| */ | |
| fetch?: typeof fetch; | |
| } & Partial<CredentialsParams>): Promise<{ | |
| slug: string; | |
| }>; | |
| //# sourceMappingURL=create-collection.d.ts.map |