Skip to content

Type Alias: OpState ​

ts
type OpState = object;

Job definition types for creating Nosana jobs

Properties ​

diagnostics ​

ts
diagnostics: object;
NameType
reasonDiagnosticsReason
state?DiagnosticsState

endTime ​

ts
endTime: number | null;

error? ​

ts
optional error: OpStateError;

Single-error form; the node records each error in errors.


errors ​

ts
errors: OpStateError[];

Every error the operation hit, in order.


exitCode ​

ts
exitCode: number | null;

group ​

ts
group: string | null;

logs ​

ts
logs: Log[];

operationId ​

ts
operationId: string | null;

providerId ​

ts
providerId: string | null;

results? ​

ts
optional results: object;

Index Signature ​

ts
[key: string]: string | string[]

startTime ​

ts
startTime: number | null;

status ​

ts
status: string | null;