hrTimesheetEvents
@mineflow/contracts / hrTimesheetEvents
Variable: hrTimesheetEvents
const hrTimesheetEvents: object;
Defined in: events/hr/timesheet.ts:75
Записи каталога HR/Timesheet: имя события → { version, schema }.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
hr.timesheet.adjusted | object | - | events/hr/timesheet.ts:77 |
hr.timesheet.adjusted.schema | ZodObject<{ actorId: ZodUUID; adjustedBy: ZodUUID; adjustmentReason: ZodString; downtimeHours: ZodNumber; hoursWorked: ZodNumber; personnelId: ZodUUID; previousDowntimeHours: ZodNumber; previousHoursWorked: ZodNumber; shiftId: ZodUUID; timesheetEntryId: ZodUUID; }, $strip> | timesheetAdjustedDataSchema | events/hr/timesheet.ts:77 |
hr.timesheet.adjusted.version | "1.0" | '1.0' | events/hr/timesheet.ts:77 |
hr.timesheet.confirmed | object | - | events/hr/timesheet.ts:76 |
hr.timesheet.confirmed.schema | ZodObject<{ actorId: ZodUUID; downtimeHours: ZodNumber; hoursWorked: ZodNumber; personnelId: ZodUUID; shiftId: ZodUUID; shiftReportId: ZodUUID; timesheetEntryId: ZodUUID; }, $strip> | timesheetConfirmedDataSchema | events/hr/timesheet.ts:76 |
hr.timesheet.confirmed.version | "1.0" | '1.0' | events/hr/timesheet.ts:76 |
hr.timesheet.reverted | object | - | events/hr/timesheet.ts:78 |
hr.timesheet.reverted.schema | ZodObject<{ actorId: ZodUUID; personnelId: ZodUUID; previousDowntimeHours: ZodNumber; previousHoursWorked: ZodNumber; shiftId: ZodUUID; shiftReportId: ZodUUID; timesheetEntryId: ZodUUID; }, $strip> | timesheetRevertedDataSchema | events/hr/timesheet.ts:78 |
hr.timesheet.reverted.version | "1.0" | '1.0' | events/hr/timesheet.ts:78 |