19744: Made the resource usage report button obvious
[arvados.git] / services / workbench2 / src / store / process-panel / process-panel.ts
index 1ec60ff54c27f69b3fad5ee0494aa53ad3a693d2..12a46a272c08939c6e35ce07e6a0a579e0a2105d 100644 (file)
@@ -7,9 +7,10 @@ import { RouterState } from "react-router-redux";
 import { matchProcessRoute } from "routes/routes";
 import { ProcessIOParameter } from "views/process-panel/process-io-card";
 import { CommandOutputParameter } from 'cwlts/mappings/v1.0/CommandOutputParameter';
+import { CollectionFile } from 'models/collection-file';
 
 export type OutputDetails = {
-    rawOutputs?: any;
+    raw?: any;
     pdh?: string;
 }
 
@@ -36,15 +37,20 @@ export interface NodeInfo {
     nodeInfo: NodeInstanceType | null;
 };
 
+export interface UsageReport {
+    usageReport: CollectionFile | null;
+};
+
 export interface ProcessPanel {
     containerRequestUuid: string;
     filters: { [status: string]: boolean };
     inputRaw: WorkflowInputsData | null;
     inputParams: ProcessIOParameter[] | null;
-    outputRaw: OutputDetails | null;
+    outputData: OutputDetails | null;
     outputDefinitions: CommandOutputParameter[];
     outputParams: ProcessIOParameter[] | null;
     nodeInfo: NodeInstanceType | null;
+    usageReport: CollectionFile | null;
 }
 
 export const getProcessPanelCurrentUuid = (router: RouterState) => {