diff --git a/client/src/api/histories.ts b/client/src/api/histories.ts index a4da4bb0627f..da0564f0ab43 100644 --- a/client/src/api/histories.ts +++ b/client/src/api/histories.ts @@ -7,3 +7,4 @@ export const deleteHistories = fetcher.path("/api/histories/batch/delete").metho export const undeleteHistory = fetcher.path("/api/histories/deleted/{history_id}/undelete").method("post").create(); export const undeleteHistories = fetcher.path("/api/histories/batch/undelete").method("put").create(); export const historiesQuery = fetcher.path("/api/histories/query").method("get").create(); +export const publishedHistoriesFetcher = fetcher.path("/api/histories/published").method("get").create(); diff --git a/client/src/api/invocations.ts b/client/src/api/invocations.ts index fe8b8d5da4c7..c604a40998b3 100644 --- a/client/src/api/invocations.ts +++ b/client/src/api/invocations.ts @@ -2,7 +2,9 @@ import axios from "axios"; import { getAppRoot } from "@/onload"; -import { ApiResponse } from "./schema"; +import { ApiResponse, fetcher } from "./schema"; + +export const invocationsFetcher = fetcher.path("/api/invocations").method("get").create(); // TODO: Replace these interfaces with real schema models after https://github.com/galaxyproject/galaxy/pull/16707 is merged export interface WorkflowInvocation { diff --git a/client/src/api/jobs.ts b/client/src/api/jobs.ts index e915a9179098..65399c0beb96 100644 --- a/client/src/api/jobs.ts +++ b/client/src/api/jobs.ts @@ -6,3 +6,5 @@ export const jobLockStatus = fetcher.path("/api/job_lock").method("get").create( export const jobLockUpdate = fetcher.path("/api/job_lock").method("put").create(); export const fetchJobDestinationParams = fetcher.path("/api/jobs/{job_id}/destination_params").method("get").create(); + +export const jobsFetcher = fetcher.path("/api/jobs").method("get").create(); diff --git a/client/src/api/workflows.ts b/client/src/api/workflows.ts new file mode 100644 index 000000000000..168e85ed00c4 --- /dev/null +++ b/client/src/api/workflows.ts @@ -0,0 +1,3 @@ +import { fetcher } from "@/api/schema"; + +export const workflowsFetcher = fetcher.path("/api/workflows").method("get").create(); diff --git a/client/src/components/Markdown/MarkdownDialog.vue b/client/src/components/Markdown/MarkdownDialog.vue index cbb4344bd03f..4076696f47ee 100644 --- a/client/src/components/Markdown/MarkdownDialog.vue +++ b/client/src/components/Markdown/MarkdownDialog.vue @@ -1,10 +1,12 @@