anaDowntimeEvents
@mineflow/contracts / anaDowntimeEvents
Variable: anaDowntimeEvents
const anaDowntimeEvents: object;
Defined in: events/ana/downtime.ts:77
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
ana.downtime.recorded | object | - | events/ana/downtime.ts:78 |
ana.downtime.recorded.schema | ZodObject<{ assetId: ZodNullable<ZodUUID>; assetUsageId: ZodNullable<ZodUUID>; description: ZodNullable<ZodString>; downtimeEventId: ZodUUID; durationMinutes: ZodNumber; endedAt: ZodISODateTime; productionObjectId: ZodUUID; reasonCode: ZodEnum<{ breakdown: "breakdown"; maintenance: "maintenance"; no_fuel: "no_fuel"; other: "other"; relocation: "relocation"; waiting_work_front: "waiting_work_front"; weather: "weather"; }>; sagaId: ZodUUID; shiftDate: ZodISODateTime; shiftReportId: ZodUUID; startedAt: ZodISODateTime; }, $strip> | downtimeRecordedDataSchema | events/ana/downtime.ts:78 |
ana.downtime.recorded.version | "1.0" | '1.0' | events/ana/downtime.ts:78 |
ana.downtime.recorded-reverted | object | - | events/ana/downtime.ts:79 |
ana.downtime.recorded-reverted.schema | ZodObject<{ assetId: ZodNullable<ZodUUID>; assetUsageId: ZodNullable<ZodUUID>; description: ZodNullable<ZodString>; downtimeEventId: ZodUUID; durationMinutes: ZodNumber; endedAt: ZodISODateTime; productionObjectId: ZodUUID; reason: ZodString; reasonCode: ZodEnum<{ breakdown: "breakdown"; maintenance: "maintenance"; no_fuel: "no_fuel"; other: "other"; relocation: "relocation"; waiting_work_front: "waiting_work_front"; weather: "weather"; }>; reversalSagaId: ZodUUID; sagaId: ZodUUID; shiftDate: ZodISODateTime; shiftReportId: ZodUUID; startedAt: ZodISODateTime; }, $strip> | downtimeRecordedRevertedDataSchema | events/ana/downtime.ts:81 |
ana.downtime.recorded-reverted.version | "1.0" | '1.0' | events/ana/downtime.ts:80 |