feat: work shifts history
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ActiveWorkShiftSchema } from './ActiveWorkShiftSchema';
|
||||
export type ActiveWorkShiftsResponse = {
|
||||
shifts: Array<ActiveWorkShiftSchema>;
|
||||
};
|
||||
|
||||
11
src/client/models/GetWorkShiftsResponse.ts
Normal file
11
src/client/models/GetWorkShiftsResponse.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { PaginationInfoSchema } from './PaginationInfoSchema';
|
||||
import type { WorkShiftSchema } from './WorkShiftSchema';
|
||||
export type GetWorkShiftsResponse = {
|
||||
shifts: Array<WorkShiftSchema>;
|
||||
paginationInfo: PaginationInfoSchema;
|
||||
};
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { UserSchema } from './UserSchema';
|
||||
export type ActiveWorkShiftSchema = {
|
||||
export type WorkShiftSchema = {
|
||||
id: number;
|
||||
startedAt: string;
|
||||
finishedAt?: (string | null);
|
||||
hours?: (number | null);
|
||||
user: UserSchema;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user