Merge remote-tracking branch 'origin/main' into 18207-Workbench2-is-not-clearing...
[arvados-workbench2.git] / src / models / log.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Resource, ResourceWithProperties } from "./resource";
6 import { ResourceKind } from 'models/resource';
7
8 export enum LogEventType {
9     CREATE = 'create',
10     UPDATE = 'update',
11     DISPATCH = 'dispatch',
12     CRUNCH_RUN = 'crunch-run',
13     CRUNCHSTAT = 'crunchstat',
14     HOSTSTAT = 'hoststat',
15     NODE_INFO = 'node-info',
16     ARV_MOUNT = 'arv-mount',
17     STDOUT = 'stdout',
18     STDERR = 'stderr',
19 }
20
21 export interface LogResource extends Resource, ResourceWithProperties {
22     kind: ResourceKind.LOG;
23     objectUuid: string;
24     eventAt: string;
25     eventType: string;
26     summary: string;
27 }