Merge pull request #28 from valueonag/int
core class for system attributes sysCreated / sysModified
This commit is contained in:
commit
51cad2cab6
2 changed files with 3 additions and 3 deletions
|
|
@ -281,8 +281,8 @@ export async function fetchWorkflowRuns(
|
|||
|
||||
export interface CompletedRun extends Automation2Run {
|
||||
workflowLabel?: string;
|
||||
_modifiedAt?: number;
|
||||
_createdAt?: number;
|
||||
sysModifiedAt?: number;
|
||||
sysCreatedAt?: number;
|
||||
}
|
||||
|
||||
export async function fetchCompletedRuns(
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ const OutputCard: React.FC<{
|
|||
run: CompletedRun;
|
||||
instanceId?: string;
|
||||
}> = ({ run }) => {
|
||||
const ts = run._modifiedAt ?? run._createdAt ?? 0;
|
||||
const ts = run.sysModifiedAt ?? run.sysCreatedAt ?? 0;
|
||||
const files: Array<{ name: string; fileId: string }> = [];
|
||||
const nodeOutputs = run.nodeOutputs ?? {};
|
||||
for (const [, out] of Object.entries(nodeOutputs)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue