Files
galaxy/client/src/api/workflows.ts
T
John Chilton e93ea2a665 Display workflow invocation counts.
Performance: Workflows render fine without the data, data is fetched asynchronously from other queries, joins only happen across a couple of fields that are all indexed, avoiding serializing objects and such - the SQL is quite low-level.
2024-02-17 16:12:58 -05:00

6 lines
244 B
TypeScript

import { fetcher } from "@/api/schema";
export const workflowsFetcher = fetcher.path("/api/workflows").method("get").create();
export const invocationCountsFetcher = fetcher.path("/api/workflows/{workflow_id}/counts").method("get").create();