Add inactive_vertices and VertexDataTypeAPI to VertexBuildTypeAPI

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-23 12:53:12 -03:00
commit 1565ad95a3

View file

@ -139,8 +139,18 @@ export type VerticesOrderTypeAPI = {
export type VertexBuildTypeAPI = {
id: string;
inactive_vertices: Array<string> | 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;
};