@gustavo-valsechi/node 1.0.34 → 1.0.35
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/src/router/index.js +2 -2
- package/dist/src/router/index.mjs +2 -2
- package/dist/src/schemas/index.d.mts +2 -2
- package/dist/src/schemas/index.d.ts +2 -2
- package/dist/src/schemas/index.js +2 -2
- package/dist/src/schemas/index.mjs +2 -2
- package/dist/src/server/index.js +2 -2
- package/dist/src/server/index.mjs +2 -2
- package/dist/src/tools/index.js +2 -2
- package/dist/src/tools/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -191,8 +191,8 @@ var parse = (json) => {
|
|
|
191
191
|
return json;
|
|
192
192
|
};
|
|
193
193
|
var OptionsSchema = import_zod2.z.object({
|
|
194
|
-
take: import_zod2.z.
|
|
195
|
-
page: import_zod2.z.
|
|
194
|
+
take: import_zod2.z.number().max(200).default(20),
|
|
195
|
+
page: import_zod2.z.number().default(0),
|
|
196
196
|
select: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
197
197
|
relations: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
198
198
|
where: import_zod2.z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
package/dist/index.mjs
CHANGED
|
@@ -160,8 +160,8 @@ var parse = (json) => {
|
|
|
160
160
|
return json;
|
|
161
161
|
};
|
|
162
162
|
var OptionsSchema = z.object({
|
|
163
|
-
take: z.
|
|
164
|
-
page: z.
|
|
163
|
+
take: z.number().max(200).default(20),
|
|
164
|
+
page: z.number().default(0),
|
|
165
165
|
select: z.array(z.string()).optional(),
|
|
166
166
|
relations: z.array(z.string()).optional(),
|
|
167
167
|
where: z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
package/dist/src/router/index.js
CHANGED
|
@@ -144,8 +144,8 @@ var parse = (json) => {
|
|
|
144
144
|
return json;
|
|
145
145
|
};
|
|
146
146
|
var OptionsSchema = import_zod2.z.object({
|
|
147
|
-
take: import_zod2.z.
|
|
148
|
-
page: import_zod2.z.
|
|
147
|
+
take: import_zod2.z.number().max(200).default(20),
|
|
148
|
+
page: import_zod2.z.number().default(0),
|
|
149
149
|
select: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
150
150
|
relations: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
151
151
|
where: import_zod2.z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
|
@@ -118,8 +118,8 @@ var parse = (json) => {
|
|
|
118
118
|
return json;
|
|
119
119
|
};
|
|
120
120
|
var OptionsSchema = z.object({
|
|
121
|
-
take: z.
|
|
122
|
-
page: z.
|
|
121
|
+
take: z.number().max(200).default(20),
|
|
122
|
+
page: z.number().default(0),
|
|
123
123
|
select: z.array(z.string()).optional(),
|
|
124
124
|
relations: z.array(z.string()).optional(),
|
|
125
125
|
where: z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const OptionsSchema: z.ZodObject<{
|
|
4
|
-
take: z.
|
|
5
|
-
page: z.
|
|
4
|
+
take: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
7
|
relations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
8
|
where: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<any, any>>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const OptionsSchema: z.ZodObject<{
|
|
4
|
-
take: z.
|
|
5
|
-
page: z.
|
|
4
|
+
take: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
page: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
7
|
relations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
8
|
where: z.ZodOptional<z.ZodPipe<z.ZodAny, z.ZodTransform<any, any>>>;
|
|
@@ -121,8 +121,8 @@ var parse = (json) => {
|
|
|
121
121
|
return json;
|
|
122
122
|
};
|
|
123
123
|
var OptionsSchema = import_zod.z.object({
|
|
124
|
-
take: import_zod.z.
|
|
125
|
-
page: import_zod.z.
|
|
124
|
+
take: import_zod.z.number().max(200).default(20),
|
|
125
|
+
page: import_zod.z.number().default(0),
|
|
126
126
|
select: import_zod.z.array(import_zod.z.string()).optional(),
|
|
127
127
|
relations: import_zod.z.array(import_zod.z.string()).optional(),
|
|
128
128
|
where: import_zod.z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
|
@@ -96,8 +96,8 @@ var parse = (json) => {
|
|
|
96
96
|
return json;
|
|
97
97
|
};
|
|
98
98
|
var OptionsSchema = z.object({
|
|
99
|
-
take: z.
|
|
100
|
-
page: z.
|
|
99
|
+
take: z.number().max(200).default(20),
|
|
100
|
+
page: z.number().default(0),
|
|
101
101
|
select: z.array(z.string()).optional(),
|
|
102
102
|
relations: z.array(z.string()).optional(),
|
|
103
103
|
where: z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
package/dist/src/server/index.js
CHANGED
|
@@ -145,8 +145,8 @@ var parse = (json) => {
|
|
|
145
145
|
return json;
|
|
146
146
|
};
|
|
147
147
|
var OptionsSchema = import_zod2.z.object({
|
|
148
|
-
take: import_zod2.z.
|
|
149
|
-
page: import_zod2.z.
|
|
148
|
+
take: import_zod2.z.number().max(200).default(20),
|
|
149
|
+
page: import_zod2.z.number().default(0),
|
|
150
150
|
select: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
151
151
|
relations: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
152
152
|
where: import_zod2.z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
|
@@ -121,8 +121,8 @@ var parse = (json) => {
|
|
|
121
121
|
return json;
|
|
122
122
|
};
|
|
123
123
|
var OptionsSchema = z.object({
|
|
124
|
-
take: z.
|
|
125
|
-
page: z.
|
|
124
|
+
take: z.number().max(200).default(20),
|
|
125
|
+
page: z.number().default(0),
|
|
126
126
|
select: z.array(z.string()).optional(),
|
|
127
127
|
relations: z.array(z.string()).optional(),
|
|
128
128
|
where: z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
package/dist/src/tools/index.js
CHANGED
|
@@ -149,8 +149,8 @@ var parse = (json) => {
|
|
|
149
149
|
return json;
|
|
150
150
|
};
|
|
151
151
|
var OptionsSchema = import_zod2.z.object({
|
|
152
|
-
take: import_zod2.z.
|
|
153
|
-
page: import_zod2.z.
|
|
152
|
+
take: import_zod2.z.number().max(200).default(20),
|
|
153
|
+
page: import_zod2.z.number().default(0),
|
|
154
154
|
select: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
155
155
|
relations: import_zod2.z.array(import_zod2.z.string()).optional(),
|
|
156
156
|
where: import_zod2.z.any().transform((value) => refactorWhere(parse(value))).optional(),
|
package/dist/src/tools/index.mjs
CHANGED
|
@@ -125,8 +125,8 @@ var parse = (json) => {
|
|
|
125
125
|
return json;
|
|
126
126
|
};
|
|
127
127
|
var OptionsSchema = z.object({
|
|
128
|
-
take: z.
|
|
129
|
-
page: z.
|
|
128
|
+
take: z.number().max(200).default(20),
|
|
129
|
+
page: z.number().default(0),
|
|
130
130
|
select: z.array(z.string()).optional(),
|
|
131
131
|
relations: z.array(z.string()).optional(),
|
|
132
132
|
where: z.any().transform((value) => refactorWhere(parse(value))).optional(),
|