@lucaapp/service-utils 5.44.0 → 6.0.0
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/lib/api/types/utils.d.ts +2 -2
- package/dist/lib/jobs/schemas.d.ts +32 -188
- package/dist/lib/jobs/schemas.js +1 -1
- package/dist/lib/pgBoss/controller/routes.schema.d.ts +21 -159
- package/dist/lib/pgBoss/controller/routes.schema.js +6 -6
- package/dist/lib/serviceIdentity/serviceIdentity.d.ts +5 -15
- package/dist/lib/serviceIdentity/serviceIdentity.js +1 -1
- package/dist/lib/validation.d.ts +348 -311
- package/dist/lib/validation.js +2 -2
- package/package.json +4 -4
package/dist/lib/validation.js
CHANGED
|
@@ -134,7 +134,7 @@ const z = {
|
|
|
134
134
|
alphaNumericString: () => zod_1.z.string().regex(ALPHANUMERIC_REGEX),
|
|
135
135
|
tableId: () => z.string(),
|
|
136
136
|
// UUID validators
|
|
137
|
-
uuid: () => zod_1.z.string().trim().
|
|
137
|
+
uuid: () => zod_1.z.string().trim().guid(),
|
|
138
138
|
uuidv4: () => zod_1.z
|
|
139
139
|
.string()
|
|
140
140
|
.length(36)
|
|
@@ -434,7 +434,7 @@ const z = {
|
|
|
434
434
|
ValidFrom: zod_1.z.string(),
|
|
435
435
|
ValidTo: zod_1.z.string(),
|
|
436
436
|
AffectedFields: zod_1.z.array(zod_1.z.string()),
|
|
437
|
-
Logic: zod_1.z.any(),
|
|
437
|
+
Logic: zod_1.z.any().optional(),
|
|
438
438
|
}),
|
|
439
439
|
};
|
|
440
440
|
exports.z = z;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucaapp/service-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@apidevtools/swagger-parser": "10.0.3",
|
|
23
|
-
"@asteasolutions/zod-to-openapi": "
|
|
23
|
+
"@asteasolutions/zod-to-openapi": "9.1.0",
|
|
24
24
|
"@aws-sdk/client-s3": "^3.1035.0",
|
|
25
25
|
"@aws-sdk/lib-storage": "^3.1035.0",
|
|
26
26
|
"@hapi/boom": "^10.0.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"url-value-parser": "^2.2.0",
|
|
57
57
|
"uuid": "^14.0.0",
|
|
58
58
|
"validator": "13.15.23",
|
|
59
|
-
"zod": "
|
|
59
|
+
"zod": "4.6.7",
|
|
60
60
|
"pg-boss": "12.14.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"dottie": "2.0.7",
|
|
106
106
|
"fast-xml-parser": "^5.7.1",
|
|
107
107
|
"yaml": "^2.8.3",
|
|
108
|
-
"openapi3-ts": "4.
|
|
108
|
+
"openapi3-ts": "4.6.2",
|
|
109
109
|
"**/micromatch/picomatch": "2.3.2",
|
|
110
110
|
"**/tinyglobby/picomatch": "4.0.4",
|
|
111
111
|
"node-forge": "1.4.0",
|