Download web/app/components/datasets/external-api/declarations.ts from zhzabcd/dify-run: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/spaces/zhzabcd/dify-run/resolve/main/web/app/components/datasets/external-api/declarations.ts
- Command line
-
hf download hf://spaces/zhzabcd/dify-run/web/app/components/datasets/external-api/declarations.ts
-
curl -L -o declarations.ts https://huggingface.co/spaces/zhzabcd/dify-run/resolve/main/web/app/components/datasets/external-api/declarations.ts
249 Bytes
| export type CreateExternalAPIReq = { | |
| name: string | |
| settings: { | |
| endpoint: string | |
| api_key: string | |
| } | |
| } | |
| export type FormSchema = { | |
| variable: string | |
| type: 'text' | 'secret' | |
| label: { | |
| [key: string]: string | |
| } | |
| required: boolean | |
| } | |