@nomalism-com/types 0.45.60 → 0.45.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5848,7 +5848,7 @@ var clockSchema = joi119.object({
5848
5848
  });
5849
5849
  var createBodyKeys64 = {
5850
5850
  date: joi119.date().required(),
5851
- persona_id: joi119.string().uuid().required(),
5851
+ user_id: joi119.string().uuid().required(),
5852
5852
  total_worked: joi119.number().integer().min(0),
5853
5853
  balance: joi119.number().integer(),
5854
5854
  state: joi119.string().valid(...Object.values(ITimesheetStateEnum)),
package/dist/index.js CHANGED
@@ -5848,7 +5848,7 @@ var clockSchema = joi119.object({
5848
5848
  });
5849
5849
  var createBodyKeys64 = {
5850
5850
  date: joi119.date().required(),
5851
- persona_id: joi119.string().uuid().required(),
5851
+ user_id: joi119.string().uuid().required(),
5852
5852
  total_worked: joi119.number().integer().min(0),
5853
5853
  balance: joi119.number().integer(),
5854
5854
  state: joi119.string().valid(...Object.values(ITimesheetStateEnum)),
@@ -24,14 +24,14 @@ export declare const ITimesheetStateEnum: {
24
24
  export type ITimesheetState = (typeof ITimesheetStateEnum)[keyof typeof ITimesheetStateEnum];
25
25
  export declare const timesheetStates: string[];
26
26
  export interface IFindRequest {
27
- persona_id?: string;
27
+ user_id?: string;
28
28
  start_date?: string;
29
29
  end_date?: string;
30
30
  state?: ITimesheetState;
31
31
  }
32
32
  export interface ICreateRequest {
33
33
  date: Date;
34
- persona_id: string;
34
+ user_id: string;
35
35
  total_worked?: number;
36
36
  balance?: number;
37
37
  state?: ITimesheetState;
@@ -530,6 +530,7 @@ export interface TimeSheetDay {
530
530
  date: Date;
531
531
  total_worked: number;
532
532
  balance: number;
533
+ user_id: string;
533
534
  state: ITimesheetState;
534
535
  created_at: Date;
535
536
  updated_at: Date;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.45.60",
4
+ "version": "0.45.61",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",