diff --git a/src/frontend/src/types/api/index.ts b/src/frontend/src/types/api/index.ts index 1286a90bc..ae34aa651 100644 --- a/src/frontend/src/types/api/index.ts +++ b/src/frontend/src/types/api/index.ts @@ -139,8 +139,18 @@ export type VerticesOrderTypeAPI = { export type VertexBuildTypeAPI = { id: string; + inactive_vertices: Array | null; valid: boolean; params: string; + data: VertexDataTypeAPI; + timestamp: string; +}; + +// data is the object received by the API +// it has results, artifacts, timedelta, duration +export type VertexDataTypeAPI = { results: { [key: string]: { [key: string]: string } }; artifacts: { [key: string]: string }; + timedelta?: number; + duration?: string; };