Spaces:
Running
Running
Download processor/web/workflow-studio/src/api/devices.ts from Stouching-Robotics/DataFlowing: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/web/workflow-studio/src/api/devices.ts
- Command line
-
hf download hf://spaces/Stouching-Robotics/DataFlowing/processor/web/workflow-studio/src/api/devices.ts
-
curl -L -o devices.ts https://huggingface.co/spaces/Stouching-Robotics/DataFlowing/resolve/main/processor/web/workflow-studio/src/api/devices.ts
297 Bytes
| /** Device APIs — online collector capabilities drive the Studio input palette. */ | |
| import { req } from './workflows'; | |
| import type { InputSourcesResponse } from '../types/workflow'; | |
| export function getDeviceInputSources() { | |
| return req<InputSourcesResponse>('/api/v1/devices/input-sources'); | |
| } | |