@nomalism-com/types 0.45.59 → 0.45.60
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
|
@@ -5843,7 +5843,8 @@ var clockSchema = joi119.object({
|
|
|
5843
5843
|
// Opcional no create/update (indica se já existe ou é novo)
|
|
5844
5844
|
time: joi119.date().required(),
|
|
5845
5845
|
type: joi119.string().valid(...Object.values(IClockTypeEnum)).required(),
|
|
5846
|
-
registry_type: joi119.string().valid(...Object.values(IRegistryTypeEnum)).required()
|
|
5846
|
+
registry_type: joi119.string().valid(...Object.values(IRegistryTypeEnum)).required(),
|
|
5847
|
+
note: joi119.string().allow(null).optional()
|
|
5847
5848
|
});
|
|
5848
5849
|
var createBodyKeys64 = {
|
|
5849
5850
|
date: joi119.date().required(),
|
package/dist/index.js
CHANGED
|
@@ -5843,7 +5843,8 @@ var clockSchema = joi119.object({
|
|
|
5843
5843
|
// Opcional no create/update (indica se já existe ou é novo)
|
|
5844
5844
|
time: joi119.date().required(),
|
|
5845
5845
|
type: joi119.string().valid(...Object.values(IClockTypeEnum)).required(),
|
|
5846
|
-
registry_type: joi119.string().valid(...Object.values(IRegistryTypeEnum)).required()
|
|
5846
|
+
registry_type: joi119.string().valid(...Object.values(IRegistryTypeEnum)).required(),
|
|
5847
|
+
note: joi119.string().allow(null).optional()
|
|
5847
5848
|
});
|
|
5848
5849
|
var createBodyKeys64 = {
|
|
5849
5850
|
date: joi119.date().required(),
|
|
@@ -39,6 +39,7 @@ export interface ICreateRequest {
|
|
|
39
39
|
time?: Date;
|
|
40
40
|
type: IClockType;
|
|
41
41
|
registry_type: IRegistryType;
|
|
42
|
+
note?: string | null;
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
export interface IUpdateRequest {
|
|
@@ -50,6 +51,7 @@ export interface IUpdateRequest {
|
|
|
50
51
|
time: Date;
|
|
51
52
|
type: IClockType;
|
|
52
53
|
registry_type: IRegistryType;
|
|
54
|
+
note?: string | null;
|
|
53
55
|
}[];
|
|
54
56
|
}
|
|
55
57
|
export interface IRepository {
|
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.60",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|