@or-sdk/library-types-v2 6.0.11 → 6.0.13
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/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +23 -14
- package/dist/cjs/index.js.map +3 -3
- package/dist/esm/index.js +23 -14
- package/dist/esm/index.js.map +3 -3
- package/dist/types/List.d.ts +26 -23
- package/dist/types/Packages/params.d.ts +134 -123
- package/dist/types/Packages/response.d.ts +26 -23
- package/dist/types/PropFilter.d.ts +4 -4
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/types/List.d.ts
CHANGED
|
@@ -2,38 +2,41 @@ import { Prisma } from '@or-sdk/library-prisma';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const ListView: z.ZodObject<{
|
|
4
4
|
items: z.ZodArray<z.ZodAny, "many">;
|
|
5
|
-
take: z.ZodNumber;
|
|
6
|
-
skip: z.ZodNumber;
|
|
7
5
|
total: z.ZodNumber;
|
|
8
6
|
cursor: z.ZodObject<{
|
|
9
7
|
skip: z.ZodNumber;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
filter: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
9
|
+
scope: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
10
|
+
take: z.ZodNumber;
|
|
11
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12
|
+
skip: z.ZodNumber;
|
|
13
|
+
filter: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
14
|
+
scope: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
15
|
+
take: z.ZodNumber;
|
|
16
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17
|
+
skip: z.ZodNumber;
|
|
18
|
+
filter: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19
|
+
scope: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20
|
+
take: z.ZodNumber;
|
|
21
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
17
22
|
}, "strip", z.ZodTypeAny, {
|
|
18
23
|
items?: any[];
|
|
19
|
-
take?: number;
|
|
20
|
-
skip?: number;
|
|
21
24
|
total?: number;
|
|
22
|
-
cursor?: {
|
|
23
|
-
skip
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
cursor?: z.objectOutputType<{
|
|
26
|
+
skip: z.ZodNumber;
|
|
27
|
+
filter: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
28
|
+
scope: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
29
|
+
take: z.ZodNumber;
|
|
30
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
27
31
|
}, {
|
|
28
32
|
items?: any[];
|
|
29
|
-
take?: number;
|
|
30
|
-
skip?: number;
|
|
31
33
|
total?: number;
|
|
32
|
-
cursor?: {
|
|
33
|
-
skip
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
cursor?: z.objectInputType<{
|
|
35
|
+
skip: z.ZodNumber;
|
|
36
|
+
filter: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
37
|
+
scope: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
38
|
+
take: z.ZodNumber;
|
|
39
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
37
40
|
}>;
|
|
38
41
|
export declare enum OrderByEnum {
|
|
39
42
|
createdAt = "createdAt",
|