anaDowntimeEvents
@mineflow/contracts / anaDowntimeEvents
Variable: anaDowntimeEvents
const anaDowntimeEvents: object;
Defined in: events/ana/downtime.ts:67
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
ana.downtime.recorded | object | - | events/ana/downtime.ts:68 |
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"; weather: "weather"; }>; sagaId: ZodUUID; shiftDate: ZodISODateTime; shiftReportId: ZodUUID; startedAt: ZodISODateTime; }, $strip> | downtimeRecordedDataSchema | events/ana/downtime.ts:68 |
ana.downtime.recorded.version | "1.0" | '1.0' | events/ana/downtime.ts:68 |
ana.downtime.recorded-reverted | object | - | events/ana/downtime.ts:69 |
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"; weather: "weather"; }>; reversalSagaId: ZodUUID; sagaId: ZodUUID; shiftDate: ZodISODateTime; shiftReportId: ZodUUID; startedAt: ZodISODateTime; }, $strip> | downtimeRecordedRevertedDataSchema | events/ana/downtime.ts:71 |
ana.downtime.recorded-reverted.version | "1.0" | '1.0' | events/ana/downtime.ts:70 |