update inactive mock
This commit is contained in:
parent
1a24fe7e99
commit
6df98d45e1
2 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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: [],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue