Skip to content

Commit

Permalink
Quack work schedule type update (#892)
Browse files Browse the repository at this point in the history
* Updated workschedule type

* version bump
  • Loading branch information
kktimetac authored Nov 26, 2024
1 parent b882a0a commit d7015d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@timetac/js-client-library",
"version": "2.83.3",
"version": "2.83.4",
"description": "TimeTac API JS client library",
"homepage": "https://github.com/TimeTac/js-client-library#readme",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions src/workSchedules/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export type WorkSchedule = {
minijobber_deduction_hours?: number;
minijobber_always_deduct_overtime?: boolean;
minijobber_absence_credit?: number;
active: number;
};

export type WorkScheduleCreate = Omit<
Expand All @@ -33,6 +34,7 @@ export type WorkScheduleCreate = Omit<
| 'law_rest_period_minimum_hours'
| 'law_rest_period_minimum_weekly_hours'
| 'is_default'
| 'active'
>;

export type WorkScheduleUpdate = Pick<WorkSchedule, 'id'> &
Expand All @@ -48,4 +50,5 @@ export type WorkScheduleUpdate = Pick<WorkSchedule, 'id'> &
| 'law_rest_period_minimum_hours'
| 'law_rest_period_minimum_weekly_hours'
| 'is_default'
| 'active'
>;

0 comments on commit d7015d1

Please sign in to comment.