@learncard/types 5.15.0 → 5.17.0
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/clr.d.ts +85 -0
- package/dist/clr.d.ts.map +1 -1
- package/dist/credential-format.d.ts +116 -0
- package/dist/credential-format.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/lcn.d.ts +640 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/learncard.d.ts +50 -0
- package/dist/learncard.d.ts.map +1 -1
- package/dist/obv3.d.ts +119 -0
- package/dist/obv3.d.ts.map +1 -1
- package/dist/types.cjs.development.js +81 -6
- package/dist/types.cjs.development.js.map +3 -3
- package/dist/types.cjs.production.min.js +5 -5
- package/dist/types.cjs.production.min.js.map +4 -4
- package/dist/types.esm.js +880 -804
- package/dist/types.esm.js.map +4 -4
- package/dist/vc.d.ts +122 -0
- package/dist/vc.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/clr.d.ts
CHANGED
|
@@ -281,6 +281,23 @@ export declare const ClrSubjectValidator: z.ZodObject<{
|
|
|
281
281
|
genre: z.ZodOptional<z.ZodString>;
|
|
282
282
|
audience: z.ZodOptional<z.ZodString>;
|
|
283
283
|
}, z.core.$catchall<z.ZodAny>>>]>>;
|
|
284
|
+
renderMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
286
|
+
renderSuite: z.ZodString;
|
|
287
|
+
template: z.ZodString;
|
|
288
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
289
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
mediaType: z.ZodString;
|
|
291
|
+
}, z.core.$strip>>;
|
|
292
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
293
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
294
|
+
renderSuite: z.ZodString;
|
|
295
|
+
template: z.ZodString;
|
|
296
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
297
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
mediaType: z.ZodString;
|
|
299
|
+
}, z.core.$strip>>;
|
|
300
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>>]>>;
|
|
284
301
|
credentialSubject: z.ZodObject<{
|
|
285
302
|
id: z.ZodString;
|
|
286
303
|
type: z.ZodArray<z.ZodString>;
|
|
@@ -557,6 +574,23 @@ export declare const UnsignedClrCredentialValidator: z.ZodObject<{
|
|
|
557
574
|
genre: z.ZodOptional<z.ZodString>;
|
|
558
575
|
audience: z.ZodOptional<z.ZodString>;
|
|
559
576
|
}, z.core.$catchall<z.ZodAny>>>]>>;
|
|
577
|
+
renderMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
578
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
579
|
+
renderSuite: z.ZodString;
|
|
580
|
+
template: z.ZodString;
|
|
581
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
582
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
mediaType: z.ZodString;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
586
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
587
|
+
renderSuite: z.ZodString;
|
|
588
|
+
template: z.ZodString;
|
|
589
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
590
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
591
|
+
mediaType: z.ZodString;
|
|
592
|
+
}, z.core.$strip>>;
|
|
593
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>>]>>;
|
|
560
594
|
name: z.ZodOptional<z.ZodString>;
|
|
561
595
|
description: z.ZodOptional<z.ZodString>;
|
|
562
596
|
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -691,6 +725,23 @@ export declare const UnsignedClrCredentialValidator: z.ZodObject<{
|
|
|
691
725
|
genre: z.ZodOptional<z.ZodString>;
|
|
692
726
|
audience: z.ZodOptional<z.ZodString>;
|
|
693
727
|
}, z.core.$catchall<z.ZodAny>>>]>>;
|
|
728
|
+
renderMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
729
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
730
|
+
renderSuite: z.ZodString;
|
|
731
|
+
template: z.ZodString;
|
|
732
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
733
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
734
|
+
mediaType: z.ZodString;
|
|
735
|
+
}, z.core.$strip>>;
|
|
736
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
737
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
738
|
+
renderSuite: z.ZodString;
|
|
739
|
+
template: z.ZodString;
|
|
740
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
741
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
mediaType: z.ZodString;
|
|
743
|
+
}, z.core.$strip>>;
|
|
744
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>>]>>;
|
|
694
745
|
credentialSubject: z.ZodObject<{
|
|
695
746
|
id: z.ZodString;
|
|
696
747
|
type: z.ZodArray<z.ZodString>;
|
|
@@ -843,6 +894,23 @@ export declare const ClrCredentialValidator: z.ZodObject<{
|
|
|
843
894
|
genre: z.ZodOptional<z.ZodString>;
|
|
844
895
|
audience: z.ZodOptional<z.ZodString>;
|
|
845
896
|
}, z.core.$catchall<z.ZodAny>>>]>>;
|
|
897
|
+
renderMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
898
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
899
|
+
renderSuite: z.ZodString;
|
|
900
|
+
template: z.ZodString;
|
|
901
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
902
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
mediaType: z.ZodString;
|
|
904
|
+
}, z.core.$strip>>;
|
|
905
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
906
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
907
|
+
renderSuite: z.ZodString;
|
|
908
|
+
template: z.ZodString;
|
|
909
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
910
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
911
|
+
mediaType: z.ZodString;
|
|
912
|
+
}, z.core.$strip>>;
|
|
913
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>>]>>;
|
|
846
914
|
name: z.ZodOptional<z.ZodString>;
|
|
847
915
|
description: z.ZodOptional<z.ZodString>;
|
|
848
916
|
image: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -977,6 +1045,23 @@ export declare const ClrCredentialValidator: z.ZodObject<{
|
|
|
977
1045
|
genre: z.ZodOptional<z.ZodString>;
|
|
978
1046
|
audience: z.ZodOptional<z.ZodString>;
|
|
979
1047
|
}, z.core.$catchall<z.ZodAny>>>]>>;
|
|
1048
|
+
renderMethod: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
1049
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
1050
|
+
renderSuite: z.ZodString;
|
|
1051
|
+
template: z.ZodString;
|
|
1052
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1053
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
1054
|
+
mediaType: z.ZodString;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
1056
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1057
|
+
type: z.ZodLiteral<"TemplateRenderMethod">;
|
|
1058
|
+
renderSuite: z.ZodString;
|
|
1059
|
+
template: z.ZodString;
|
|
1060
|
+
renderProperty: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1061
|
+
outputPreference: z.ZodOptional<z.ZodObject<{
|
|
1062
|
+
mediaType: z.ZodString;
|
|
1063
|
+
}, z.core.$strip>>;
|
|
1064
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>]>>]>>;
|
|
980
1065
|
credentialSubject: z.ZodObject<{
|
|
981
1066
|
id: z.ZodString;
|
|
982
1067
|
type: z.ZodArray<z.ZodString>;
|
package/dist/clr.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clr.d.ts","sourceRoot":"","sources":["../src/clr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoBxB,eAAO,MAAM,wBAAwB;;;;;;;;;;iBAYlB,CAAC;AACpB,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAEvE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;8BAOX,CAAC;AACvB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE/D,eAA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introduced by ADR-0001 (format-tagged credential storage). Phase 1
|
|
7
|
+
* adds this as OPTIONAL metadata on `CredentialRecord`; existing W3C
|
|
8
|
+
* records continue to work without it. Format-aware code paths use
|
|
9
|
+
* this value to dispatch on the correct wire-form representation.
|
|
10
|
+
*
|
|
11
|
+
* Values follow OID4VCI / OID4VP draft-16 conventions:
|
|
12
|
+
* - `w3c-vc-2.0` — JSON-LD VC, VCDM 2.0 `@context`
|
|
13
|
+
* - `w3c-vc-1.1` — JSON-LD VC, VCDM 1.1 `@context` (legacy)
|
|
14
|
+
* - `jwt-vc-json` — compact JWS string, VCDM §6.3.1 payload shape
|
|
15
|
+
* - `dc+sd-jwt` — SD-JWT-VC compact form (draft-16 canonical name)
|
|
16
|
+
* - `vc+sd-jwt` — SD-JWT-VC compact form (legacy alias accepted on read)
|
|
17
|
+
* - `mso_mdoc` — ISO 18013-5 mDoc, CBOR-encoded (stored base64)
|
|
18
|
+
*/
|
|
19
|
+
export declare const CredentialFormatValidator: z.ZodEnum<{
|
|
20
|
+
"w3c-vc-2.0": "w3c-vc-2.0";
|
|
21
|
+
"w3c-vc-1.1": "w3c-vc-1.1";
|
|
22
|
+
"jwt-vc-json": "jwt-vc-json";
|
|
23
|
+
"dc+sd-jwt": "dc+sd-jwt";
|
|
24
|
+
"vc+sd-jwt": "vc+sd-jwt";
|
|
25
|
+
mso_mdoc: "mso_mdoc";
|
|
26
|
+
}>;
|
|
27
|
+
export type CredentialFormat = z.infer<typeof CredentialFormatValidator>;
|
|
28
|
+
/**
|
|
29
|
+
* Format-discriminated read view over a stored credential. Returned
|
|
30
|
+
* by `toStoredCredential(record)` in `@learncard/helpers`.
|
|
31
|
+
*
|
|
32
|
+
* The `data` field carries the correct wire-form representation for
|
|
33
|
+
* the credential's format:
|
|
34
|
+
* - W3C VCs: the JSON-LD VC object (also what `record.vc` holds)
|
|
35
|
+
* - JWT-VC: the compact JWS string (extracted from `record.vc.proof.jwt`
|
|
36
|
+
* if the record uses the legacy LDP-around-JWT envelope, otherwise
|
|
37
|
+
* the raw string from `record.rawWireForm`)
|
|
38
|
+
* - SD-JWT-VC: the compact `<JWT>~<disclosures>~` string
|
|
39
|
+
* - mDoc: base64url-encoded CBOR bytes (stored as a string for
|
|
40
|
+
* LearnCloud's JSON-only encrypted store; consumers base64-decode
|
|
41
|
+
* when they need raw bytes)
|
|
42
|
+
*
|
|
43
|
+
* Format-aware consumers pattern-match on `format` and use `data`.
|
|
44
|
+
* Legacy consumers continue to read `record.vc` directly — the
|
|
45
|
+
* projector is opt-in, never required.
|
|
46
|
+
*/
|
|
47
|
+
export type StoredCredential = {
|
|
48
|
+
format: 'w3c-vc-2.0';
|
|
49
|
+
data: VC;
|
|
50
|
+
} | {
|
|
51
|
+
format: 'w3c-vc-1.1';
|
|
52
|
+
data: VC;
|
|
53
|
+
} | {
|
|
54
|
+
format: 'jwt-vc-json';
|
|
55
|
+
data: string;
|
|
56
|
+
} | {
|
|
57
|
+
format: 'dc+sd-jwt';
|
|
58
|
+
data: string;
|
|
59
|
+
} | {
|
|
60
|
+
format: 'vc+sd-jwt';
|
|
61
|
+
data: string;
|
|
62
|
+
} | {
|
|
63
|
+
format: 'mso_mdoc';
|
|
64
|
+
data: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Unified display projection for any credential format. Returned by
|
|
68
|
+
* the `toDisplayViewModel(stored, learnCard)` adapter that lands in
|
|
69
|
+
* Phase 2 of the ADR-0001 migration (per-format adapters: W3C, JWT-VC,
|
|
70
|
+
* SD-JWT-VC, mDoc).
|
|
71
|
+
*
|
|
72
|
+
* UI components consume this shape regardless of underlying format,
|
|
73
|
+
* so the same BoostEarnedCard / category view / search index works
|
|
74
|
+
* across all credential types. The format-specific decoding logic
|
|
75
|
+
* lives in the adapter, not the UI.
|
|
76
|
+
*
|
|
77
|
+
* Phase 1 ships this interface only; the adapter implementation lands
|
|
78
|
+
* in Phase 2. UI code can start importing the type immediately so the
|
|
79
|
+
* Phase 2 PRs are pure additions.
|
|
80
|
+
*/
|
|
81
|
+
export interface CredentialDisplayViewModel {
|
|
82
|
+
/** Source format of the underlying credential. */
|
|
83
|
+
format: CredentialFormat;
|
|
84
|
+
/** Best-effort issuer display name (resolved DID document or HTTPS metadata). */
|
|
85
|
+
issuerName?: string;
|
|
86
|
+
/** Raw DID or URL identifier of the issuer. */
|
|
87
|
+
issuerDid?: string;
|
|
88
|
+
/** Human-readable title (from credential `name`, derived from vct, or humanized type). */
|
|
89
|
+
title?: string;
|
|
90
|
+
/** Wallet category (e.g., `'Achievement'`, `'ID'`) used by the wallet's category tabs. */
|
|
91
|
+
category?: string;
|
|
92
|
+
/** Issuance time, if present in the credential. */
|
|
93
|
+
issuedAt?: Date;
|
|
94
|
+
/** Expiration time, if present. */
|
|
95
|
+
expiresAt?: Date;
|
|
96
|
+
/**
|
|
97
|
+
* Reconstructed claims. For W3C VCs this mirrors `credentialSubject`;
|
|
98
|
+
* for SD-JWT this is the payload + reconstructed disclosable claims;
|
|
99
|
+
* for mDoc it's the decoded namespace tree projected as a flat record.
|
|
100
|
+
*/
|
|
101
|
+
claims: Record<string, unknown>;
|
|
102
|
+
/**
|
|
103
|
+
* Whether the credential supports selective disclosure at presentation
|
|
104
|
+
* time. SD-JWT-VC and mDoc → true; W3C VCs → false. UI components use
|
|
105
|
+
* this to decide whether to show per-claim consent checkboxes.
|
|
106
|
+
*/
|
|
107
|
+
isSelectivelyDisclosable: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* The on-the-wire form for re-serialization at egress time. Apps
|
|
110
|
+
* preparing outbound presentations should NEVER reconstruct from
|
|
111
|
+
* `claims` — always re-serialize from this field via
|
|
112
|
+
* `serializeForWire(stored)` (Phase 3).
|
|
113
|
+
*/
|
|
114
|
+
rawWireForm: string | VC;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=credential-format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credential-format.d.ts","sourceRoot":"","sources":["../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,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC;;;;OAIG;IACH,wBAAwB,EAAE,OAAO,CAAC;IAClC;;;;;OAKG;IACH,WAAW,EAAE,MAAM,GAAG,EAAE,CAAC;CAC5B"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC"}
|