prdShiftReportEvents
@mineflow/contracts / prdShiftReportEvents
Variable: prdShiftReportEvents
const prdShiftReportEvents: object;
Defined in: events/prd/shift-report.ts:175
Записи каталога PRD/Shift Reports: имя события → { version, schema }.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
prd.shift-report.approved | object | - | events/prd/shift-report.ts:178 |
prd.shift-report.approved.schema | ZodObject<{ actorId: ZodUUID; approvedAt: ZodISODateTime; approvedBy: ZodUUID; approveSagaId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; summary: ZodDefault<ZodObject<{ blastedBlocks: ZodDefault<ZodNumber>; blastedExplosiveKg: ZodDefault<ZodNumber>; blastedVolumeM3: ZodDefault<ZodNumber>; drilledMeters: ZodDefault<ZodNumber>; fuelConsumedLitres: ZodDefault<ZodNumber>; personnelCount: ZodDefault<ZodNumber>; }, $strip>>; }, $strip> | shiftReportApprovedSchema | events/prd/shift-report.ts:178 |
prd.shift-report.approved.version | "1.0" | '1.0' | events/prd/shift-report.ts:178 |
prd.shift-report.created | object | - | events/prd/shift-report.ts:176 |
prd.shift-report.created.schema | ZodObject<{ actorId: ZodUUID; createdBy: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip> | shiftReportCreatedSchema | events/prd/shift-report.ts:176 |
prd.shift-report.created.version | "1.0" | '1.0' | events/prd/shift-report.ts:176 |
prd.shift-report.rejected | object | - | events/prd/shift-report.ts:179 |
prd.shift-report.rejected.schema | ZodObject<{ actorId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reason: ZodString; rejectedAt: ZodISODateTime; rejectedBy: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip> | shiftReportRejectedSchema | events/prd/shift-report.ts:179 |
prd.shift-report.rejected.version | "1.0" | '1.0' | events/prd/shift-report.ts:179 |
prd.shift-report.rejected-after-approve | object | - | events/prd/shift-report.ts:180 |
prd.shift-report.rejected-after-approve.schema | ZodObject<{ actorId: ZodUUID; organizationId: ZodUUID; originalApproveSagaId: ZodUUID; productionObjectId: ZodUUID; reason: ZodString; rejectedAt: ZodISODateTime; rejectedBy: ZodUUID; rejectSagaId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; summary: ZodDefault<ZodObject<{ blastedBlocks: ZodDefault<ZodNumber>; blastedExplosiveKg: ZodDefault<ZodNumber>; blastedVolumeM3: ZodDefault<ZodNumber>; drilledMeters: ZodDefault<ZodNumber>; fuelConsumedLitres: ZodDefault<ZodNumber>; personnelCount: ZodDefault<ZodNumber>; }, $strip>>; }, $strip> | shiftReportRejectedAfterApproveSchema | events/prd/shift-report.ts:182 |
prd.shift-report.rejected-after-approve.version | "1.0" | '1.0' | events/prd/shift-report.ts:181 |
prd.shift-report.submitted | object | - | events/prd/shift-report.ts:177 |
prd.shift-report.submitted.schema | ZodObject<{ actorId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; submittedAt: ZodISODateTime; submittedBy: ZodUUID; }, $strip> | shiftReportSubmittedSchema | events/prd/shift-report.ts:177 |
prd.shift-report.submitted.version | "1.0" | '1.0' | events/prd/shift-report.ts:177 |