Перейти к основному содержимому

prdShiftReportEvents

@mineflow/contracts


@mineflow/contracts / prdShiftReportEvents

Variable: prdShiftReportEvents

const prdShiftReportEvents: object;

Defined in: events/prd/shift-report.ts:301

Записи каталога PRD/Shift Reports: имя события → { version, schema }.

Type Declaration​

NameTypeDefault valueDefined in
prd.shift-report.approvedobject-events/prd/shift-report.ts:304
prd.shift-report.approved.schemaZodObject<{ 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<{ assetWorkingHours: ZodDefault<ZodArray<ZodObject<{ assetId: ...; hoursWorked: ...; }, $strip>>>; blastedBlocks: ZodDefault<ZodNumber>; blastedExplosiveKg: ZodDefault<ZodNumber>; blastedVolumeM3: ZodDefault<ZodNumber>; blastingByBlock: ZodDefault<ZodArray<ZodObject<{ blockCode: ...; volumeM3: ...; }, $strip>>>; drilledMeters: ZodDefault<ZodNumber>; drillingByBlock: ZodDefault<ZodArray<ZodObject<{ blockCode: ...; depthMeters: ...; }, $strip>>>; fuelConsumedLitres: ZodDefault<ZodNumber>; holesDrilled: ZodDefault<ZodNumber>; personnelCount: ZodDefault<ZodNumber>; }, $strip>>; }, $strip>shiftReportApprovedSchemaevents/prd/shift-report.ts:304
prd.shift-report.approved.version"1.0"'1.0'events/prd/shift-report.ts:304
prd.shift-report.asset-usage-acceptedobject-events/prd/shift-report.ts:314
prd.shift-report.asset-usage-accepted.schemaZodObject<{ acceptedAt: ZodISODateTime; acceptedBy: ZodUUID; actorId: ZodUUID; assetId: ZodUUID; assetUsageId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip>shiftReportAssetUsageAcceptedSchemaevents/prd/shift-report.ts:316
prd.shift-report.asset-usage-accepted.version"1.0"'1.0'events/prd/shift-report.ts:315
prd.shift-report.asset-usage-receivedobject-events/prd/shift-report.ts:310
prd.shift-report.asset-usage-received.schemaZodObject<{ actorId: ZodUUID; assetId: ZodUUID; assetUsageId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; submittedAt: ZodISODateTime; submittedBy: ZodUUID; }, $strip>shiftReportAssetUsageReceivedSchemaevents/prd/shift-report.ts:312
prd.shift-report.asset-usage-received.version"1.0"'1.0'events/prd/shift-report.ts:311
prd.shift-report.createdobject-events/prd/shift-report.ts:302
prd.shift-report.created.schemaZodObject<{ actorId: ZodUUID; createdBy: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftStartedAt: ZodDefault<ZodNullable<ZodISODateTime>>; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip>shiftReportCreatedSchemaevents/prd/shift-report.ts:302
prd.shift-report.created.version"1.0"'1.0'events/prd/shift-report.ts:302
prd.shift-report.formedobject-events/prd/shift-report.ts:318
prd.shift-report.formed.schemaZodObject<{ actorId: ZodUUID; formedAt: ZodISODateTime; formedBy: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip>shiftReportFormedSchemaevents/prd/shift-report.ts:318
prd.shift-report.formed.version"1.0"'1.0'events/prd/shift-report.ts:318
prd.shift-report.rejectedobject-events/prd/shift-report.ts:305
prd.shift-report.rejected.schemaZodObject<{ actorId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reason: ZodString; rejectedAt: ZodISODateTime; rejectedBy: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip>shiftReportRejectedSchemaevents/prd/shift-report.ts:305
prd.shift-report.rejected.version"1.0"'1.0'events/prd/shift-report.ts:305
prd.shift-report.rejected-after-approveobject-events/prd/shift-report.ts:306
prd.shift-report.rejected-after-approve.schemaZodObject<{ 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<{ assetWorkingHours: ZodDefault<ZodArray<ZodObject<{ assetId: ...; hoursWorked: ...; }, $strip>>>; blastedBlocks: ZodDefault<ZodNumber>; blastedExplosiveKg: ZodDefault<ZodNumber>; blastedVolumeM3: ZodDefault<ZodNumber>; blastingByBlock: ZodDefault<ZodArray<ZodObject<{ blockCode: ...; volumeM3: ...; }, $strip>>>; drilledMeters: ZodDefault<ZodNumber>; drillingByBlock: ZodDefault<ZodArray<ZodObject<{ blockCode: ...; depthMeters: ...; }, $strip>>>; fuelConsumedLitres: ZodDefault<ZodNumber>; holesDrilled: ZodDefault<ZodNumber>; personnelCount: ZodDefault<ZodNumber>; }, $strip>>; }, $strip>shiftReportRejectedAfterApproveSchemaevents/prd/shift-report.ts:308
prd.shift-report.rejected-after-approve.version"1.0"'1.0'events/prd/shift-report.ts:307
prd.shift-report.submittedobject-events/prd/shift-report.ts:303
prd.shift-report.submitted.schemaZodObject<{ actorId: ZodUUID; organizationId: ZodUUID; productionObjectId: ZodUUID; reportId: ZodUUID; shiftDate: ZodISODateTime; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; submittedAt: ZodISODateTime; submittedBy: ZodUUID; }, $strip>shiftReportSubmittedSchemaevents/prd/shift-report.ts:303
prd.shift-report.submitted.version"1.0"'1.0'events/prd/shift-report.ts:303