feat: migrate vertex_builds to sql database (#2978)
* feat: migrate vertex_builds to sql database * [autofix.ci] apply automated fixes * name --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d71356bc16
commit
c7575b18df
17 changed files with 219 additions and 193 deletions
|
|
@ -985,16 +985,11 @@ export async function downloadImage({ flowId, fileName }): Promise<any> {
|
|||
|
||||
export async function getFlowPool({
|
||||
flowId,
|
||||
nodeId,
|
||||
}: {
|
||||
flowId: string;
|
||||
nodeId?: string;
|
||||
}): Promise<AxiosResponse<{ vertex_builds: FlowPoolType }>> {
|
||||
const config = {};
|
||||
config["params"] = { flow_id: flowId };
|
||||
if (nodeId) {
|
||||
config["params"] = { nodeId };
|
||||
}
|
||||
return await api.get(`${BASE_URL_API}monitor/builds`, config);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue