@learncard/types 5.3.2 → 5.3.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/crypto.d.ts CHANGED
@@ -340,3 +340,4 @@ export declare const JWEValidator: z.ZodObject<{
340
340
  ciphertext: string;
341
341
  }>;
342
342
  export type JWE = z.infer<typeof JWEValidator>;
343
+ //# sourceMappingURL=crypto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../src/crypto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/C,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE7E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from './lcn';
6
6
  export * from './crypto';
7
7
  export * from './mongo';
8
8
  export * from './wasm';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
package/dist/lcn.d.ts CHANGED
@@ -25,6 +25,61 @@ export declare const LCNProfileValidator: z.ZodObject<{
25
25
  did: string;
26
26
  }>;
27
27
  export type LCNProfile = z.infer<typeof LCNProfileValidator>;
28
+ export declare const PaginatedLCNProfilesValidator: z.ZodObject<z.extendShape<{
29
+ cursor: z.ZodOptional<z.ZodString>;
30
+ hasMore: z.ZodBoolean;
31
+ }, {
32
+ records: z.ZodArray<z.ZodObject<{
33
+ profileId: z.ZodString;
34
+ displayName: z.ZodDefault<z.ZodString>;
35
+ did: z.ZodString;
36
+ email: z.ZodOptional<z.ZodString>;
37
+ image: z.ZodOptional<z.ZodString>;
38
+ isServiceProfile: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
39
+ notificationsWebhook: z.ZodOptional<z.ZodString>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ image?: string | undefined;
42
+ email?: string | undefined;
43
+ isServiceProfile?: boolean | undefined;
44
+ notificationsWebhook?: string | undefined;
45
+ profileId: string;
46
+ displayName: string;
47
+ did: string;
48
+ }, {
49
+ image?: string | undefined;
50
+ email?: string | undefined;
51
+ displayName?: string | undefined;
52
+ isServiceProfile?: boolean | undefined;
53
+ notificationsWebhook?: string | undefined;
54
+ profileId: string;
55
+ did: string;
56
+ }>, "many">;
57
+ }>, "strip", z.ZodTypeAny, {
58
+ cursor?: string | undefined;
59
+ hasMore: boolean;
60
+ records: {
61
+ image?: string | undefined;
62
+ email?: string | undefined;
63
+ isServiceProfile?: boolean | undefined;
64
+ notificationsWebhook?: string | undefined;
65
+ profileId: string;
66
+ displayName: string;
67
+ did: string;
68
+ }[];
69
+ }, {
70
+ cursor?: string | undefined;
71
+ hasMore: boolean;
72
+ records: {
73
+ image?: string | undefined;
74
+ email?: string | undefined;
75
+ displayName?: string | undefined;
76
+ isServiceProfile?: boolean | undefined;
77
+ notificationsWebhook?: string | undefined;
78
+ profileId: string;
79
+ did: string;
80
+ }[];
81
+ }>;
82
+ export type PaginatedLCNProfiles = z.infer<typeof PaginatedLCNProfilesValidator>;
28
83
  export declare const LCNProfileConnectionStatusEnum: z.ZodEnum<["CONNECTED", "PENDING_REQUEST_SENT", "PENDING_REQUEST_RECEIVED", "NOT_CONNECTED"]>;
29
84
  export type LCNProfileConnectionStatusEnum = z.infer<typeof LCNProfileConnectionStatusEnum>;
30
85
  export declare const SentCredentialInfoValidator: z.ZodObject<{
@@ -369,3 +424,4 @@ export declare const LCNSigningAuthorityForUserValidator: z.ZodObject<{
369
424
  };
370
425
  }>;
371
426
  export type LCNSigningAuthorityForUserType = z.infer<typeof LCNSigningAuthorityForUserValidator>;
427
+ //# sourceMappingURL=lcn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lcn.d.ts","sourceRoot":"","sources":["../src/lcn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE7D,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEvE,eAAO,MAAM,0CAA0C;;;;;;;;;;;;EAIrD,CAAC;AACH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,0CAA0C,CACpD,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;EAG5C,CAAC;AACH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE7F,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEnF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY9C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -636,3 +636,4 @@ export declare const CredentialRecordValidator: z.ZodObject<{
636
636
  id: string;
637
637
  uri: string;
638
638
  }>;
639
+ //# sourceMappingURL=learncard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learncard.d.ts","sourceRoot":"","sources":["../src/learncard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE3E,eAAO,MAAM,2BAA2B,2CAAyC,CAAC;AAClF,MAAM,MAAM,kBAAkB,G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AE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB,GAAG,QAAQ,CAAC;AAEb,eAAO,MAAM,yBAAyB;;;;;;;;;;;EAEsB,CAAC"}
@@ -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
- }, "strip", z.ZodTypeAny, {
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
- }, "strip", z.ZodAny, {
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
- records: z.ZodArray<z.ZodObject<{
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
- }, "strip", z.ZodAny, {
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
- }, "strip", z.ZodTypeAny, {
956
+ }>, "strip", z.ZodTypeAny, {
953
957
  cursor?: string | undefined;
954
958
  hasMore: boolean;
955
959
  records: {
@@ -1019,3 +1023,4 @@ export declare const PaginatedEncryptedCredentialRecordsValidator: z.ZodObject<{
1019
1023
  }[];
1020
1024
  }>;
1021
1025
  export type PaginatedEncryptedCredentialRecordsType = z.infer<typeof PaginatedEncryptedCredentialRecordsValidator>;
1026
+ //# sourceMappingURL=learncloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learncloud.d.ts","sourceRoot":"","sources":["../src/learncloud.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC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;AAE3F,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEvD,CAAC;AACH,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,4CAA4C,CACtD,CAAC"}
package/dist/mongo.d.ts CHANGED
@@ -21,3 +21,4 @@ export declare const PaginationResponseValidator: z.ZodObject<{
21
21
  hasMore: boolean;
22
22
  }>;
23
23
  export type PaginationResponseType = z.infer<typeof PaginationResponseValidator>;
24
+ //# sourceMappingURL=mongo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../src/mongo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE/E,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}