Spaces:
Paused
Paused
Download node_modules/@huggingface/tasks/dist/esm/kernel-libraries.d.ts from ken-q/opencode-home: direct link, hf CLI and curl.
- Browser
- Download file 919 Bytes
-
https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/tasks/dist/esm/kernel-libraries.d.ts
- Command line
-
hf download hf://spaces/ken-q/opencode-home/node_modules/@huggingface/tasks/dist/esm/kernel-libraries.d.ts
-
curl -L -o kernel-libraries.d.ts https://huggingface.co/spaces/ken-q/opencode-home/resolve/main/node_modules/%40huggingface/tasks/dist/esm/kernel-libraries.d.ts
919 Bytes
| /** | |
| * Elements configurable by a kernel library. | |
| */ | |
| export interface KernelLibraryUiElement { | |
| /** | |
| * Pretty name of the library. | |
| */ | |
| prettyLabel: string; | |
| /** | |
| * Repo name of the library's (usually on GitHub) code repo | |
| */ | |
| repoName: string; | |
| /** | |
| * URL to library's (usually on GitHub) code repo | |
| */ | |
| repoUrl: string; | |
| /** | |
| * URL to library's docs | |
| */ | |
| docsUrl?: string; | |
| /** | |
| * Code snippet(s) displayed | |
| */ | |
| snippets?: (kernelId: string, version?: number) => string[]; | |
| } | |
| export declare const KERNEL_LIBRARIES_UI_ELEMENTS: { | |
| kernels: { | |
| prettyLabel: string; | |
| repoName: string; | |
| repoUrl: string; | |
| docsUrl: string; | |
| snippets: (kernelId: string, version?: number) => string[]; | |
| }; | |
| }; | |
| export type KernelLibraryKey = keyof typeof KERNEL_LIBRARIES_UI_ELEMENTS; | |
| //# sourceMappingURL=kernel-libraries.d.ts.map |