update inactive mock

This commit is contained in:
anovazzi1 2024-04-19 09:35:50 -03:00
commit 6df98d45e1
2 changed files with 4 additions and 2 deletions

View file

@ -162,6 +162,7 @@ export type VertexDataTypeAPI = {
results: { [key: string]: { [key: string]: string } }; results: { [key: string]: { [key: string]: string } };
logs:{message:string}[]; logs:{message:string}[];
messages: ChatOutputType[] | chatInputType[]; messages: ChatOutputType[] | chatInputType[];
inactive?: boolean;
timedelta?: number; timedelta?: number;
duration?: string; duration?: string;
}; };

View file

@ -28,12 +28,13 @@ function getInactiveVertexData(vertexId: string): VertexBuildTypeAPI {
// Build VertexBuildTypeAPI // Build VertexBuildTypeAPI
let inactiveData = { let inactiveData = {
results: {}, results: {},
artifacts: { repr: "Inactive" }, logs:[],
messages:[],
inactive: true,
}; };
let inactiveVertexData = { let inactiveVertexData = {
id: vertexId, id: vertexId,
data: inactiveData, data: inactiveData,
params: "Inactive",
inactivated_vertices: null, inactivated_vertices: null,
run_id: "", run_id: "",
next_vertices_ids: [], next_vertices_ids: [],