@seidor-cloud-produtos/orbit-backend-lib 1.99.0 → 1.100.1
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const conflict_error_1 = tslib_1.__importDefault(require("lib/clean-arch/domain/errors/conflict-error"));
|
|
5
4
|
const api_error_1 = require("../../../infra/http/errors/api-error");
|
|
6
5
|
const application_error_1 = tslib_1.__importDefault(require("../../domain/errors/application-error"));
|
|
6
|
+
const conflict_error_1 = tslib_1.__importDefault(require("../../domain/errors/conflict-error"));
|
|
7
7
|
const domain_error_1 = tslib_1.__importDefault(require("../../domain/errors/domain-error"));
|
|
8
8
|
const validation_error_1 = tslib_1.__importDefault(require("../../domain/errors/validation-error"));
|
|
9
9
|
const not_allowed_1 = tslib_1.__importDefault(require("../authorizations/not-allowed"));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZodEffects, ZodObject } from 'zod';
|
|
2
2
|
import ValidationHTTP, { RequestHttp } from '../validation-http';
|
|
3
3
|
type SchemaDefinition = {
|
|
4
4
|
headers: ZodObject<Record<string, any>>;
|
|
5
5
|
params: ZodObject<Record<string, any>>;
|
|
6
|
-
query: ZodObject<Record<string, any
|
|
6
|
+
query: ZodObject<Record<string, any>> | ZodEffects<ZodObject<Record<string, any>>>;
|
|
7
7
|
body: ZodObject<Record<string, any>> | ZodEffects<ZodObject<Record<string, any>>>;
|
|
8
8
|
};
|
|
9
9
|
type ZodSchemaObject = ZodObject<SchemaDefinition>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seidor-cloud-produtos/orbit-backend-lib",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.100.1",
|
|
4
4
|
"description": "Internal lib for backend components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -90,4 +90,4 @@
|
|
|
90
90
|
"tslib": "2.6.2",
|
|
91
91
|
"zod": "3.23.8"
|
|
92
92
|
}
|
|
93
|
-
}
|
|
93
|
+
}
|