@learncard/types 5.3.2 → 5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/learncloud.d.ts +12 -8
- package/dist/obv3.d.ts +1149 -830
- package/dist/types.cjs.development.js +78 -185
- package/dist/types.cjs.development.js.map +3 -3
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +4 -4
- package/dist/types.esm.js +3 -3
- package/dist/types.esm.js.map +2 -2
- package/dist/vc.d.ts +117 -43
- package/package.json +1 -1
package/dist/learncloud.d.ts
CHANGED
@@ -217,9 +217,10 @@ export declare const EncryptedRecordValidator: z.ZodObject<{
|
|
217
217
|
fields: string[];
|
218
218
|
}>;
|
219
219
|
export type EncryptedRecord = z.infer<typeof EncryptedRecordValidator>;
|
220
|
-
export declare const PaginatedEncryptedRecordsValidator: z.ZodObject<{
|
220
|
+
export declare const PaginatedEncryptedRecordsValidator: z.ZodObject<z.extendShape<{
|
221
221
|
cursor: z.ZodOptional<z.ZodString>;
|
222
222
|
hasMore: z.ZodBoolean;
|
223
|
+
}, {
|
223
224
|
records: z.ZodArray<z.ZodObject<{
|
224
225
|
encryptedRecord: z.ZodObject<{
|
225
226
|
protected: z.ZodString;
|
@@ -437,7 +438,7 @@ export declare const PaginatedEncryptedRecordsValidator: z.ZodObject<{
|
|
437
438
|
};
|
438
439
|
fields: string[];
|
439
440
|
}>, "many">;
|
440
|
-
}
|
441
|
+
}>, "strip", z.ZodTypeAny, {
|
441
442
|
cursor?: string | undefined;
|
442
443
|
hasMore: boolean;
|
443
444
|
records: {
|
@@ -505,7 +506,7 @@ export declare const PaginatedEncryptedRecordsValidator: z.ZodObject<{
|
|
505
506
|
}[];
|
506
507
|
}>;
|
507
508
|
export type PaginatedEncryptedRecordsType = z.infer<typeof PaginatedEncryptedRecordsValidator>;
|
508
|
-
export declare const EncryptedCredentialRecordValidator: z.ZodObject<{
|
509
|
+
export declare const EncryptedCredentialRecordValidator: z.ZodObject<z.extendShape<{
|
509
510
|
encryptedRecord: z.ZodObject<{
|
510
511
|
protected: z.ZodString;
|
511
512
|
iv: z.ZodString;
|
@@ -663,8 +664,9 @@ export declare const EncryptedCredentialRecordValidator: z.ZodObject<{
|
|
663
664
|
ciphertext: string;
|
664
665
|
}>;
|
665
666
|
fields: z.ZodArray<z.ZodString, "many">;
|
667
|
+
}, {
|
666
668
|
id: z.ZodString;
|
667
|
-
}
|
669
|
+
}>, "strip", z.ZodAny, {
|
668
670
|
[x: string]: any;
|
669
671
|
id: string;
|
670
672
|
encryptedRecord: {
|
@@ -726,10 +728,11 @@ export declare const EncryptedCredentialRecordValidator: z.ZodObject<{
|
|
726
728
|
fields: string[];
|
727
729
|
}>;
|
728
730
|
export type EncryptedCredentialRecord = z.infer<typeof EncryptedCredentialRecordValidator>;
|
729
|
-
export declare const PaginatedEncryptedCredentialRecordsValidator: z.ZodObject<{
|
731
|
+
export declare const PaginatedEncryptedCredentialRecordsValidator: z.ZodObject<z.extendShape<{
|
730
732
|
cursor: z.ZodOptional<z.ZodString>;
|
731
733
|
hasMore: z.ZodBoolean;
|
732
|
-
|
734
|
+
}, {
|
735
|
+
records: z.ZodArray<z.ZodObject<z.extendShape<{
|
733
736
|
encryptedRecord: z.ZodObject<{
|
734
737
|
protected: z.ZodString;
|
735
738
|
iv: z.ZodString;
|
@@ -887,8 +890,9 @@ export declare const PaginatedEncryptedCredentialRecordsValidator: z.ZodObject<{
|
|
887
890
|
ciphertext: string;
|
888
891
|
}>;
|
889
892
|
fields: z.ZodArray<z.ZodString, "many">;
|
893
|
+
}, {
|
890
894
|
id: z.ZodString;
|
891
|
-
}
|
895
|
+
}>, "strip", z.ZodAny, {
|
892
896
|
[x: string]: any;
|
893
897
|
id: string;
|
894
898
|
encryptedRecord: {
|
@@ -949,7 +953,7 @@ export declare const PaginatedEncryptedCredentialRecordsValidator: z.ZodObject<{
|
|
949
953
|
};
|
950
954
|
fields: string[];
|
951
955
|
}>, "many">;
|
952
|
-
}
|
956
|
+
}>, "strip", z.ZodTypeAny, {
|
953
957
|
cursor?: string | undefined;
|
954
958
|
hasMore: boolean;
|
955
959
|
records: {
|