feat: finish update pipline but left some bugs

This commit is contained in:
HYana
2025-04-29 23:49:15 +08:00
parent b65ce87a39
commit d4af2d4326
6 changed files with 799 additions and 15 deletions

View File

@@ -27,7 +27,7 @@ import {
ApiRespAsyncTasks,
ApiRespAsyncTask,
ApiRespUserToken,
MarketPluginResponse
MarketPluginResponse, GetPipelineResponseData
} from "../api/api-types";
import { notification } from "antd";
@@ -258,7 +258,7 @@ class HttpClient {
return this.get("/api/v1/pipelines");
}
public getPipeline(uuid: string): Promise<ApiRespPipeline> {
public getPipeline(uuid: string): Promise<GetPipelineResponseData> {
return this.get(`/api/v1/pipelines/${uuid}`);
}