Download frontend/src/api/dashboard.js from shak3008/DocWeave: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/spaces/shak3008/DocWeave/resolve/main/frontend/src/api/dashboard.js
- Command line
-
hf download hf://spaces/shak3008/DocWeave/frontend/src/api/dashboard.js
-
curl -L -o dashboard.js https://huggingface.co/spaces/shak3008/DocWeave/resolve/main/frontend/src/api/dashboard.js
188 Bytes
| import { apiRequest } from "./client"; | |
| export async function getDashboardStats(workspaceId) { | |
| return apiRequest(`/dashboard/stats?workspace_id=${encodeURIComponent(workspaceId)}`); | |
| } | |