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

hrWatchEvents

@mineflow/contracts


@mineflow/contracts / hrWatchEvents

Variable: hrWatchEvents

const hrWatchEvents: object;

Defined in: events/hr/watch.ts:178

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

Type Declaration

NameTypeDefault valueDefined in
hr.shift.createdobject-events/hr/watch.ts:196
hr.shift.created.schemaZodObject<{ actorId: ZodUUID; durationHours: ZodNumber; objectId: ZodUUID; shiftDate: ZodISODateTime; shiftId: ZodUUID; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; watchId: ZodNullable<ZodUUID>; }, $strip>shiftCreatedDataSchemaevents/hr/watch.ts:196
hr.shift.created.version"1.0"'1.0'events/hr/watch.ts:196
hr.shift.foreman-assignedobject-events/hr/watch.ts:197
hr.shift.foreman-assigned.schemaZodObject<{ actorId: ZodUUID; foremanId: ZodUUID; objectId: ZodUUID; previousForemanId: ZodNullable<ZodUUID>; shiftDate: ZodISODateTime; shiftId: ZodUUID; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; watchId: ZodNullable<ZodUUID>; }, $strip>shiftForemanAssignedDataSchemaevents/hr/watch.ts:197
hr.shift.foreman-assigned.version"1.0"'1.0'events/hr/watch.ts:197
hr.shift.foreman-missingobject-events/hr/watch.ts:198
hr.shift.foreman-missing.schemaZodObject<{ detectedAt: ZodISODateTime; objectId: ZodUUID; shiftDate: ZodISODateTime; shiftId: ZodUUID; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; }, $strip>shiftForemanMissingDataSchemaevents/hr/watch.ts:198
hr.shift.foreman-missing.version"1.0"'1.0'events/hr/watch.ts:198
hr.shift.substitution-registeredobject-events/hr/watch.ts:199
hr.shift.substitution-registered.schemaZodObject<{ actorId: ZodUUID; objectId: ZodUUID; reason: ZodOptional<ZodString>; replacedPersonnelId: ZodUUID; shiftDate: ZodISODateTime; shiftId: ZodUUID; shiftType: ZodEnum<{ day: "day"; night: "night"; }>; substitutePersonnelId: ZodUUID; }, $strip>shiftSubstitutionRegisteredDataSchemaevents/hr/watch.ts:201
hr.shift.substitution-registered.version"1.0"'1.0'events/hr/watch.ts:200
hr.watch-assignment.activatedobject-events/hr/watch.ts:184
hr.watch-assignment.activated.schemaZodObject<{ actorId: ZodUUID; arrivalDate: ZodISODateTime; objectId: ZodUUID; personnelId: ZodUUID; watchAssignmentId: ZodUUID; watchId: ZodUUID; }, $strip>watchAssignmentActivatedDataSchemaevents/hr/watch.ts:186
hr.watch-assignment.activated.version"1.0"'1.0'events/hr/watch.ts:185
hr.watch-assignment.cancelledobject-events/hr/watch.ts:192
hr.watch-assignment.cancelled.schemaZodObject<{ actorId: ZodUUID; personnelId: ZodUUID; reason: ZodOptional<ZodString>; watchAssignmentId: ZodUUID; watchId: ZodUUID; }, $strip>watchAssignmentCancelledDataSchemaevents/hr/watch.ts:194
hr.watch-assignment.cancelled.version"1.0"'1.0'events/hr/watch.ts:193
hr.watch-assignment.completedobject-events/hr/watch.ts:188
hr.watch-assignment.completed.schemaZodObject<{ actorId: ZodUUID; departureDate: ZodISODateTime; personnelId: ZodUUID; watchAssignmentId: ZodUUID; watchId: ZodUUID; }, $strip>watchAssignmentCompletedDataSchemaevents/hr/watch.ts:190
hr.watch-assignment.completed.version"1.0"'1.0'events/hr/watch.ts:189
hr.watch-assignment.scheduledobject-events/hr/watch.ts:180
hr.watch-assignment.scheduled.schemaZodObject<{ actorId: ZodUUID; arrivalDate: ZodISODateTime; departureDate: ZodISODateTime; objectId: ZodUUID; personnelId: ZodUUID; watchAssignmentId: ZodUUID; watchId: ZodUUID; }, $strip>watchAssignmentScheduledDataSchemaevents/hr/watch.ts:182
hr.watch-assignment.scheduled.version"1.0"'1.0'events/hr/watch.ts:181
hr.watch.createdobject-events/hr/watch.ts:179
hr.watch.created.schemaZodObject<{ actorId: ZodUUID; endDate: ZodISODateTime; objectId: ZodUUID; startDate: ZodISODateTime; watchId: ZodUUID; }, $strip>watchCreatedDataSchemaevents/hr/watch.ts:179
hr.watch.created.version"1.0"'1.0'events/hr/watch.ts:179