@nomalism-com/types 0.45.70 → 0.45.72
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.
|
@@ -44,7 +44,7 @@ export interface IRepository {
|
|
|
44
44
|
findById(id: string): Promise<Entity | null>;
|
|
45
45
|
create(data: ICreateRequest): Promise<Entity>;
|
|
46
46
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<Entity | null>;
|
|
47
|
-
deleteOne(selector: IShared.IFindByIdRequest): Promise<
|
|
47
|
+
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
48
48
|
findByUserAndDate(filters: IFindByDateRequest): Promise<Entity[]>;
|
|
49
49
|
getDailySummary(filters: IDailySummaryRequest): Promise<IDailySummaryResponse[]>;
|
|
50
50
|
}
|
|
@@ -481,16 +481,15 @@ export type SystemModule = {
|
|
|
481
481
|
};
|
|
482
482
|
/**
|
|
483
483
|
* Model TimeSheet
|
|
484
|
-
*
|
|
485
484
|
*/
|
|
486
485
|
export interface TimeSheet {
|
|
487
486
|
id: string;
|
|
488
487
|
user_id: string;
|
|
489
488
|
type: ITimeSheetRecordType;
|
|
490
|
-
time
|
|
491
|
-
minutes
|
|
489
|
+
time: Date | null;
|
|
490
|
+
minutes: number | null;
|
|
492
491
|
registry_type: ITimeSheetRegistryType;
|
|
493
|
-
note
|
|
492
|
+
note: string | null;
|
|
494
493
|
created_at: Date;
|
|
495
494
|
updated_at: Date;
|
|
496
495
|
created_by: string;
|
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.
|
|
4
|
+
"version": "0.45.72",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|