hrPersonnelEvents
@mineflow/contracts / hrPersonnelEvents
Variable: hrPersonnelEvents
const hrPersonnelEvents: object;
Defined in: events/hr/personnel.ts:118
Записи каталога HR/Personnel: имя события → { version, schema }.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
hr.personnel.created | object | - | events/hr/personnel.ts:119 |
hr.personnel.created.schema | ZodObject<{ actorId: ZodUUID; fullName: ZodString; hiredAt: ZodISODateTime; objectId: ZodNullable<ZodUUID>; personnelId: ZodUUID; positionId: ZodUUID; tabNumber: ZodString; }, $strip> | personnelCreatedDataSchema | events/hr/personnel.ts:119 |
hr.personnel.created.version | "1.0" | '1.0' | events/hr/personnel.ts:119 |
hr.personnel.deactivated | object | - | events/hr/personnel.ts:121 |
hr.personnel.deactivated.schema | ZodObject<{ actorId: ZodUUID; personnelId: ZodUUID; reason: ZodString; tabNumber: ZodString; terminatedAt: ZodISODateTime; }, $strip> | personnelDeactivatedDataSchema | events/hr/personnel.ts:121 |
hr.personnel.deactivated.version | "1.0" | '1.0' | events/hr/personnel.ts:121 |
hr.personnel.off-vacation | object | - | events/hr/personnel.ts:125 |
hr.personnel.off-vacation.schema | ZodObject<{ actorId: ZodUUID; personnelId: ZodUUID; }, $strip> | personnelOffVacationDataSchema | events/hr/personnel.ts:125 |
hr.personnel.off-vacation.version | "1.0" | '1.0' | events/hr/personnel.ts:125 |
hr.personnel.off-watch | object | - | events/hr/personnel.ts:123 |
hr.personnel.off-watch.schema | ZodObject<{ actorId: ZodUUID; departureDate: ZodISODateTime; personnelId: ZodUUID; watchId: ZodOptional<ZodUUID>; }, $strip> | personnelOffWatchDataSchema | events/hr/personnel.ts:123 |
hr.personnel.off-watch.version | "1.0" | '1.0' | events/hr/personnel.ts:123 |
hr.personnel.on-vacation | object | - | events/hr/personnel.ts:124 |
hr.personnel.on-vacation.schema | ZodObject<{ actorId: ZodUUID; expectedReturnDate: ZodOptional<ZodISODateTime>; personnelId: ZodUUID; }, $strip> | personnelOnVacationDataSchema | events/hr/personnel.ts:124 |
hr.personnel.on-vacation.version | "1.0" | '1.0' | events/hr/personnel.ts:124 |
hr.personnel.on-watch | object | - | events/hr/personnel.ts:122 |
hr.personnel.on-watch.schema | ZodObject<{ actorId: ZodUUID; arrivalDate: ZodISODateTime; objectId: ZodUUID; personnelId: ZodUUID; watchId: ZodOptional<ZodUUID>; }, $strip> | personnelOnWatchDataSchema | events/hr/personnel.ts:122 |
hr.personnel.on-watch.version | "1.0" | '1.0' | events/hr/personnel.ts:122 |
hr.personnel.transferred | object | - | events/hr/personnel.ts:120 |
hr.personnel.transferred.schema | ZodObject<{ actorId: ZodUUID; effectiveFrom: ZodISODateTime; fromObjectId: ZodNullable<ZodUUID>; personnelId: ZodUUID; reason: ZodOptional<ZodString>; toObjectId: ZodUUID; }, $strip> | personnelTransferredDataSchema | events/hr/personnel.ts:120 |
hr.personnel.transferred.version | "1.0" | '1.0' | events/hr/personnel.ts:120 |