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 } };
logs:{message:string}[];
messages: ChatOutputType[] | chatInputType[];
inactive?: boolean;
timedelta?: number;
duration?: string;
};

View file

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