@ampsec/platform-client 87.11.0 → 87.11.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.
|
@@ -9,6 +9,7 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
9
9
|
hasMore: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
next: z.ZodOptional<z.ZodString>;
|
|
11
11
|
count: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
countPending: z.ZodOptional<z.ZodBoolean>;
|
|
12
13
|
estimate: z.ZodOptional<z.ZodNumber>;
|
|
13
14
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17,6 +18,7 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
17
18
|
count?: number | undefined;
|
|
18
19
|
hasMore?: boolean | undefined;
|
|
19
20
|
next?: string | undefined;
|
|
21
|
+
countPending?: boolean | undefined;
|
|
20
22
|
estimate?: number | undefined;
|
|
21
23
|
links?: Record<string, string> | undefined;
|
|
22
24
|
}, {
|
|
@@ -25,6 +27,7 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
25
27
|
count?: number | undefined;
|
|
26
28
|
hasMore?: boolean | undefined;
|
|
27
29
|
next?: string | undefined;
|
|
30
|
+
countPending?: boolean | undefined;
|
|
28
31
|
estimate?: number | undefined;
|
|
29
32
|
links?: Record<string, string> | undefined;
|
|
30
33
|
}>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodString>, z.ZodUndefined]>>>;
|
|
@@ -38,6 +41,7 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
38
41
|
count?: number | undefined;
|
|
39
42
|
hasMore?: boolean | undefined;
|
|
40
43
|
next?: string | undefined;
|
|
44
|
+
countPending?: boolean | undefined;
|
|
41
45
|
estimate?: number | undefined;
|
|
42
46
|
links?: Record<string, string> | undefined;
|
|
43
47
|
} & Record<string, string | number | boolean | Record<string, string> | null | undefined>;
|
|
@@ -51,6 +55,7 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
51
55
|
count?: number | undefined;
|
|
52
56
|
hasMore?: boolean | undefined;
|
|
53
57
|
next?: string | undefined;
|
|
58
|
+
countPending?: boolean | undefined;
|
|
54
59
|
estimate?: number | undefined;
|
|
55
60
|
links?: Record<string, string> | undefined;
|
|
56
61
|
} & Record<string, string | number | boolean | Record<string, string> | null | undefined>;
|
|
@@ -65,6 +70,7 @@ export declare const toTypedPage: <DataT>(dataSchema: z.ZodType<DataT>, data: un
|
|
|
65
70
|
count?: number | undefined;
|
|
66
71
|
hasMore?: boolean | undefined;
|
|
67
72
|
next?: string | undefined;
|
|
73
|
+
countPending?: boolean | undefined;
|
|
68
74
|
estimate?: number | undefined;
|
|
69
75
|
links?: Record<string, string> | undefined;
|
|
70
76
|
} & Record<string, string | number | boolean | Record<string, string> | null | undefined>;
|
|
@@ -14,6 +14,7 @@ const getTypedPageSchema = (dataSchema = zod_1.z.any()) => zod_1.z.object({
|
|
|
14
14
|
hasMore: zod_1.z.boolean().optional(),
|
|
15
15
|
next: zod_1.z.string().optional(),
|
|
16
16
|
count: zod_1.z.number().optional(),
|
|
17
|
+
countPending: zod_1.z.boolean().optional(),
|
|
17
18
|
estimate: zod_1.z.number().optional(),
|
|
18
19
|
links: zod_1.z.record(zod_1.z.string()).optional(),
|
|
19
20
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.dto.js","sourceRoot":"","sources":["../../../src/dto/page.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAEtB,MAAM,cAAc,GAAG,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MA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AE;IAChF,MAAM,cAAc,GAAG,IAAA,0BAAkB,GAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACxD,OAAO;QACL,GAAG,cAAc;QACjB,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAU,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACnE,CAAC;AACJ,CAAC,CAAC;AANW,QAAA,WAAW,eAMtB;AAIF,0BAA0B;AAC1B,kBAAkB;AAClB,eAAe;AACf,0BAA0B;AAC1B,aAAa;AACb,sBAAsB;AACtB,uBAAuB;AACvB,yBAAyB;AACzB,qBAAqB;AACrB,sBAAsB;AACtB,2CAA2C;AAC3C,sGAAsG;AACtG,OAAO;AACP,KAAK"}
|
package/package.json
CHANGED
package/src/dto/page.dto.ts
CHANGED
|
@@ -14,6 +14,7 @@ export const getTypedPageSchema = <DataT>(dataSchema: z.ZodType<DataT> = z.any()
|
|
|
14
14
|
hasMore: z.boolean().optional(),
|
|
15
15
|
next: z.string().optional(),
|
|
16
16
|
count: z.number().optional(),
|
|
17
|
+
countPending: z.boolean().optional(),
|
|
17
18
|
estimate: z.number().optional(),
|
|
18
19
|
links: z.record(z.string()).optional(),
|
|
19
20
|
})
|