@openvtc/trust-tasks 0.19.12 → 0.19.14
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 +4 -0
- package/dist/_shared/components.d.ts +41 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/persona/_shared/0.1/persona-record.d.ts +1 -1
- package/dist/persona/_shared/0.1/persona-record.d.ts.map +1 -1
- package/dist/persona/attribute/list/1.0/payload.d.ts +140 -24
- package/dist/persona/attribute/list/1.0/payload.d.ts.map +1 -1
- package/dist/persona/attribute/list/1.0/payload.js +76 -12
- package/dist/persona/attribute/list/1.0/payload.js.map +1 -1
- package/dist/persona/attribute/purge-version/1.0/payload.d.ts +413 -0
- package/dist/persona/attribute/purge-version/1.0/payload.d.ts.map +1 -0
- package/dist/persona/attribute/purge-version/1.0/payload.js +223 -0
- package/dist/persona/attribute/purge-version/1.0/payload.js.map +1 -0
- package/dist/persona/attribute/put/1.0/payload.d.ts +183 -0
- package/dist/persona/attribute/put/1.0/payload.d.ts.map +1 -1
- package/dist/persona/attribute/put/1.0/payload.js +96 -0
- package/dist/persona/attribute/put/1.0/payload.js.map +1 -1
- package/dist/persona/binding/get/1.0/payload.d.ts +33 -5
- package/dist/persona/binding/get/1.0/payload.d.ts.map +1 -1
- package/dist/persona/binding/get/1.0/payload.js +14 -2
- package/dist/persona/binding/get/1.0/payload.js.map +1 -1
- package/dist/persona/binding/list/1.0/payload.d.ts +33 -5
- package/dist/persona/binding/list/1.0/payload.d.ts.map +1 -1
- package/dist/persona/binding/list/1.0/payload.js +14 -2
- package/dist/persona/binding/list/1.0/payload.js.map +1 -1
- package/dist/persona/binding/set/1.0/payload.d.ts +16 -0
- package/dist/persona/binding/set/1.0/payload.d.ts.map +1 -1
- package/dist/persona/binding/set/1.0/payload.js +6 -0
- package/dist/persona/binding/set/1.0/payload.js.map +1 -1
- package/dist/persona/disclosure/history/1.0/payload.d.ts +42 -0
- package/dist/persona/disclosure/history/1.0/payload.d.ts.map +1 -1
- package/dist/persona/disclosure/history/1.0/payload.js +28 -0
- package/dist/persona/disclosure/history/1.0/payload.js.map +1 -1
- package/dist/persona/local/binding/set/1.0/payload.d.ts +16 -0
- package/dist/persona/local/binding/set/1.0/payload.d.ts.map +1 -1
- package/dist/persona/local/binding/set/1.0/payload.js +6 -0
- package/dist/persona/local/binding/set/1.0/payload.js.map +1 -1
- package/dist/persona/local/profile/put/1.0/payload.d.ts +33 -2
- package/dist/persona/local/profile/put/1.0/payload.d.ts.map +1 -1
- package/dist/persona/local/profile/put/1.0/payload.js +15 -0
- package/dist/persona/local/profile/put/1.0/payload.js.map +1 -1
- package/dist/persona/profile/get/1.0/payload.d.ts +94 -6
- package/dist/persona/profile/get/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/get/1.0/payload.js +46 -2
- package/dist/persona/profile/get/1.0/payload.js.map +1 -1
- package/dist/persona/profile/list/1.0/payload.d.ts +78 -6
- package/dist/persona/profile/list/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/list/1.0/payload.js +38 -2
- package/dist/persona/profile/list/1.0/payload.js.map +1 -1
- package/dist/persona/profile/put/1.0/payload.d.ts +78 -6
- package/dist/persona/profile/put/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/put/1.0/payload.js +38 -2
- package/dist/persona/profile/put/1.0/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +41 -0
- package/src/index.ts +1 -0
- package/src/persona/_shared/0.1/persona-record.ts +1 -1
- package/src/persona/attribute/list/1.0/payload.ts +76 -12
- package/src/persona/attribute/purge-version/1.0/payload.ts +277 -0
- package/src/persona/attribute/put/1.0/payload.ts +115 -0
- package/src/persona/binding/get/1.0/payload.ts +19 -3
- package/src/persona/binding/list/1.0/payload.ts +19 -3
- package/src/persona/binding/set/1.0/payload.ts +10 -0
- package/src/persona/disclosure/history/1.0/payload.ts +34 -0
- package/src/persona/local/binding/set/1.0/payload.ts +10 -0
- package/src/persona/local/profile/put/1.0/payload.ts +18 -2
- package/src/persona/profile/get/1.0/payload.ts +48 -4
- package/src/persona/profile/list/1.0/payload.ts +40 -4
- package/src/persona/profile/put/1.0/payload.ts +40 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/binding/list/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,OAAO,CAAC;QACf;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB;;WAEG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,EAAE,CAAC;IACJ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,sDAA+D,CAAC;AAExF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,yBAAyB,CAAC;AAEhD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,+DAAwE,CAAC;AAE1G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,iCAAiC,CA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;;;;;;;;;;;;CAoGjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -73,10 +73,16 @@ export const PAYLOAD_SCHEMA = {
|
|
|
73
73
|
"bound": {
|
|
74
74
|
"type": "boolean"
|
|
75
75
|
},
|
|
76
|
+
"label": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"minLength": 1,
|
|
79
|
+
"maxLength": 128,
|
|
80
|
+
"description": "The name the holder chose for this context to call the face. Absent when they chose none."
|
|
81
|
+
},
|
|
76
82
|
"profileName": {
|
|
77
83
|
"type": "string",
|
|
78
84
|
"maxLength": 128,
|
|
79
|
-
"description": "The holder's
|
|
85
|
+
"description": "The holder's OWN name for the bound face. A maintainer MUST omit it unless the caller is holder-authorized; see persona/binding/get."
|
|
80
86
|
},
|
|
81
87
|
"claimCount": {
|
|
82
88
|
"type": "integer",
|
|
@@ -143,10 +149,16 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
143
149
|
"bound": {
|
|
144
150
|
"type": "boolean"
|
|
145
151
|
},
|
|
152
|
+
"label": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"minLength": 1,
|
|
155
|
+
"maxLength": 128,
|
|
156
|
+
"description": "The name the holder chose for this context to call the face. Absent when they chose none."
|
|
157
|
+
},
|
|
146
158
|
"profileName": {
|
|
147
159
|
"type": "string",
|
|
148
160
|
"maxLength": 128,
|
|
149
|
-
"description": "The holder's
|
|
161
|
+
"description": "The holder's OWN name for the bound face. A maintainer MUST omit it unless the caller is holder-authorized; see persona/binding/get."
|
|
150
162
|
},
|
|
151
163
|
"claimCount": {
|
|
152
164
|
"type": "integer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/binding/list/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/binding/list/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,sDAA+D,CAAC;AAKxF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,+DAAwE,CAAC;AAK1G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,sDAAsD;IAC7D,OAAO,EAAE,gCAAgC;IACzC,aAAa,EAAE,uLAAuL;IACtM,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;SAClB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;YACd,SAAS,EAAE,GAAG;SACf;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,yCAAy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YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -25,6 +25,10 @@ export interface PersonaBindingSetPayload {
|
|
|
25
25
|
* @maxItems 32
|
|
26
26
|
*/
|
|
27
27
|
publicEntries?: Ulid[];
|
|
28
|
+
/**
|
|
29
|
+
* What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all.
|
|
30
|
+
*/
|
|
31
|
+
label?: string;
|
|
28
32
|
expectedVersion?: ExpectedVersion;
|
|
29
33
|
ext?: Ext;
|
|
30
34
|
}
|
|
@@ -108,6 +112,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
108
112
|
};
|
|
109
113
|
readonly description: "Attributes the holder opts into publishing on the persona's own DID document or equivalent public surface. Empty by default and MUST remain empty unless explicitly set: everything else is a per-verifier projection, and a published value is one document every relying party sees identically — a permanent correlation point the rest of this family exists to avoid.";
|
|
110
114
|
};
|
|
115
|
+
readonly label: {
|
|
116
|
+
readonly type: "string";
|
|
117
|
+
readonly minLength: 1;
|
|
118
|
+
readonly maxLength: 128;
|
|
119
|
+
readonly description: "What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all.";
|
|
120
|
+
};
|
|
111
121
|
readonly expectedVersion: {
|
|
112
122
|
readonly $ref: "#/$defs/ExpectedVersion";
|
|
113
123
|
};
|
|
@@ -343,6 +353,12 @@ export declare const SPEC: {
|
|
|
343
353
|
};
|
|
344
354
|
readonly description: "Attributes the holder opts into publishing on the persona's own DID document or equivalent public surface. Empty by default and MUST remain empty unless explicitly set: everything else is a per-verifier projection, and a published value is one document every relying party sees identically — a permanent correlation point the rest of this family exists to avoid.";
|
|
345
355
|
};
|
|
356
|
+
readonly label: {
|
|
357
|
+
readonly type: "string";
|
|
358
|
+
readonly minLength: 1;
|
|
359
|
+
readonly maxLength: 128;
|
|
360
|
+
readonly description: "What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all.";
|
|
361
|
+
};
|
|
346
362
|
readonly expectedVersion: {
|
|
347
363
|
readonly $ref: "#/$defs/ExpectedVersion";
|
|
348
364
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,2BAA2B,IAAI,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAGnJ;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwG1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -57,6 +57,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
57
57
|
},
|
|
58
58
|
"description": "Attributes the holder opts into publishing on the persona's own DID document or equivalent public surface. Empty by default and MUST remain empty unless explicitly set: everything else is a per-verifier projection, and a published value is one document every relying party sees identically — a permanent correlation point the rest of this family exists to avoid."
|
|
59
59
|
},
|
|
60
|
+
"label": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"minLength": 1,
|
|
63
|
+
"maxLength": 128,
|
|
64
|
+
"description": "What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all."
|
|
65
|
+
},
|
|
60
66
|
"expectedVersion": {
|
|
61
67
|
"$ref": "#/$defs/ExpectedVersion"
|
|
62
68
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+DH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,gQAAgQ;IAC/Q,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;QACX,YAAY;KACb;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,0GAA0G;SAC1H;QACD,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,0BAA0B;SAC1C;QACD,WAAW,EAAE;YACX,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE,cAAc;iBACvB;gBACD;oBACE,MAAM,EAAE,MAAM;iBACf;aACF;YACD,aAAa,EAAE,yRAAyR;SACzS;QACD,eAAe,EAAE;YACf,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,EAAE;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,cAAc;aACvB;YACD,aAAa,EAAE,4WAA4W;SAC5X;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;Y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E;YACjB,OAAO,EAAE,iBAAiB;YAC1B,aAAa,EAAE,uMAAuM;YACtN,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;SACb;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -50,6 +50,12 @@ export interface PersonaDisclosureHistoryResponsePayload {
|
|
|
50
50
|
* @maxItems 128
|
|
51
51
|
*/
|
|
52
52
|
rungs?: ProofRung[];
|
|
53
|
+
/**
|
|
54
|
+
* Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read.
|
|
55
|
+
*
|
|
56
|
+
* @maxItems 128
|
|
57
|
+
*/
|
|
58
|
+
claimCurrency?: ("current" | "changed" | "removed" | "unknown")[];
|
|
53
59
|
purpose?: string;
|
|
54
60
|
renderer?: string;
|
|
55
61
|
/**
|
|
@@ -171,6 +177,15 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
171
177
|
};
|
|
172
178
|
readonly description: "Positionally aligned with claimTypes. A holder reviewing history needs to know not only what went but how strongly it was hidden — the same claim type at two rungs is two very different disclosures.";
|
|
173
179
|
};
|
|
180
|
+
readonly claimCurrency: {
|
|
181
|
+
readonly type: "array";
|
|
182
|
+
readonly maxItems: 128;
|
|
183
|
+
readonly items: {
|
|
184
|
+
readonly type: "string";
|
|
185
|
+
readonly enum: readonly ["current", "changed", "removed", "unknown"];
|
|
186
|
+
};
|
|
187
|
+
readonly description: "Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read.";
|
|
188
|
+
};
|
|
174
189
|
readonly purpose: {
|
|
175
190
|
readonly type: "string";
|
|
176
191
|
readonly maxLength: 512;
|
|
@@ -286,6 +301,15 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
286
301
|
};
|
|
287
302
|
readonly description: "Positionally aligned with claimTypes. A holder reviewing history needs to know not only what went but how strongly it was hidden — the same claim type at two rungs is two very different disclosures.";
|
|
288
303
|
};
|
|
304
|
+
readonly claimCurrency: {
|
|
305
|
+
readonly type: "array";
|
|
306
|
+
readonly maxItems: 128;
|
|
307
|
+
readonly items: {
|
|
308
|
+
readonly type: "string";
|
|
309
|
+
readonly enum: readonly ["current", "changed", "removed", "unknown"];
|
|
310
|
+
};
|
|
311
|
+
readonly description: "Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read.";
|
|
312
|
+
};
|
|
289
313
|
readonly purpose: {
|
|
290
314
|
readonly type: "string";
|
|
291
315
|
readonly maxLength: 512;
|
|
@@ -449,6 +473,15 @@ export declare const SPEC: {
|
|
|
449
473
|
};
|
|
450
474
|
readonly description: "Positionally aligned with claimTypes. A holder reviewing history needs to know not only what went but how strongly it was hidden — the same claim type at two rungs is two very different disclosures.";
|
|
451
475
|
};
|
|
476
|
+
readonly claimCurrency: {
|
|
477
|
+
readonly type: "array";
|
|
478
|
+
readonly maxItems: 128;
|
|
479
|
+
readonly items: {
|
|
480
|
+
readonly type: "string";
|
|
481
|
+
readonly enum: readonly ["current", "changed", "removed", "unknown"];
|
|
482
|
+
};
|
|
483
|
+
readonly description: "Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read.";
|
|
484
|
+
};
|
|
452
485
|
readonly purpose: {
|
|
453
486
|
readonly type: "string";
|
|
454
487
|
readonly maxLength: 512;
|
|
@@ -575,6 +608,15 @@ export declare const RESPONSE_SPEC: {
|
|
|
575
608
|
};
|
|
576
609
|
readonly description: "Positionally aligned with claimTypes. A holder reviewing history needs to know not only what went but how strongly it was hidden — the same claim type at two rungs is two very different disclosures.";
|
|
577
610
|
};
|
|
611
|
+
readonly claimCurrency: {
|
|
612
|
+
readonly type: "array";
|
|
613
|
+
readonly maxItems: 128;
|
|
614
|
+
readonly items: {
|
|
615
|
+
readonly type: "string";
|
|
616
|
+
readonly enum: readonly ["current", "changed", "removed", "unknown"];
|
|
617
|
+
};
|
|
618
|
+
readonly description: "Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read.";
|
|
619
|
+
};
|
|
578
620
|
readonly purpose: {
|
|
579
621
|
readonly type: "string";
|
|
580
622
|
readonly maxLength: 512;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/disclosure/history/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAGzF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,WAAW,EAAE;QACX,YAAY,EAAE,IAAI,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,UAAU,EAAE,SAAS,EAAE,CAAC;QACxB;;;;WAIG;QACH,KAAK,CAAC,EAAE,SAAS,EAA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AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6I1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -115,6 +115,20 @@ export const PAYLOAD_SCHEMA = {
|
|
|
115
115
|
},
|
|
116
116
|
"description": "Positionally aligned with claimTypes. A holder reviewing history needs to know not only what went but how strongly it was hidden — the same claim type at two rungs is two very different disclosures."
|
|
117
117
|
},
|
|
118
|
+
"claimCurrency": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"maxItems": 128,
|
|
121
|
+
"items": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"enum": [
|
|
124
|
+
"current",
|
|
125
|
+
"changed",
|
|
126
|
+
"removed",
|
|
127
|
+
"unknown"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"description": "Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read."
|
|
131
|
+
},
|
|
118
132
|
"purpose": {
|
|
119
133
|
"type": "string",
|
|
120
134
|
"maxLength": 512
|
|
@@ -244,6 +258,20 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
244
258
|
},
|
|
245
259
|
"description": "Positionally aligned with claimTypes. A holder reviewing history needs to know not only what went but how strongly it was hidden — the same claim type at two rungs is two very different disclosures."
|
|
246
260
|
},
|
|
261
|
+
"claimCurrency": {
|
|
262
|
+
"type": "array",
|
|
263
|
+
"maxItems": 128,
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"enum": [
|
|
267
|
+
"current",
|
|
268
|
+
"changed",
|
|
269
|
+
"removed",
|
|
270
|
+
"unknown"
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
"description": "Positionally aligned with claimTypes: whether the value the verifier received is still what this persona presents in this context. `current` — it is. `changed` — the persona now presents a different value of that type, so the verifier holds an outdated copy; this is what a re-present list is built from. `removed` — the persona no longer presents that type at all; the verifier still holds what it received, because a disclosure cannot be recalled. `unknown` — the maintainer cannot tell, as for a record made before it began fingerprinting disclosed values. Computed at read time by comparing a keyed hash of the disclosed value with the persona's current projection in the same context: no value is stored and nothing above the context boundary is read."
|
|
274
|
+
},
|
|
247
275
|
"purpose": {
|
|
248
276
|
"type": "string",
|
|
249
277
|
"maxLength": 512
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/disclosure/history/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/disclosure/history/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAq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c;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -13,6 +13,10 @@ export interface PersonaLocalBindingSetPayload {
|
|
|
13
13
|
* A LOCAL profile, or null to clear. A maintainer MUST refuse an identifier that names a pool profile: honouring it would let a context-scoped caller bind the holder's composition, which is the one escalation the whole boundary exists to prevent.
|
|
14
14
|
*/
|
|
15
15
|
profileId?: Ulid | null;
|
|
16
|
+
/**
|
|
17
|
+
* What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all.
|
|
18
|
+
*/
|
|
19
|
+
label?: string;
|
|
16
20
|
expectedVersion?: ExpectedVersion;
|
|
17
21
|
ext?: Ext;
|
|
18
22
|
}
|
|
@@ -71,6 +75,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
71
75
|
}];
|
|
72
76
|
readonly description: "A LOCAL profile, or null to clear. A maintainer MUST refuse an identifier that names a pool profile: honouring it would let a context-scoped caller bind the holder's composition, which is the one escalation the whole boundary exists to prevent.";
|
|
73
77
|
};
|
|
78
|
+
readonly label: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
readonly minLength: 1;
|
|
81
|
+
readonly maxLength: 128;
|
|
82
|
+
readonly description: "What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all.";
|
|
83
|
+
};
|
|
74
84
|
readonly expectedVersion: {
|
|
75
85
|
readonly $ref: "#/$defs/ExpectedVersion";
|
|
76
86
|
};
|
|
@@ -244,6 +254,12 @@ export declare const SPEC: {
|
|
|
244
254
|
}];
|
|
245
255
|
readonly description: "A LOCAL profile, or null to clear. A maintainer MUST refuse an identifier that names a pool profile: honouring it would let a context-scoped caller bind the holder's composition, which is the one escalation the whole boundary exists to prevent.";
|
|
246
256
|
};
|
|
257
|
+
readonly label: {
|
|
258
|
+
readonly type: "string";
|
|
259
|
+
readonly minLength: 1;
|
|
260
|
+
readonly maxLength: 128;
|
|
261
|
+
readonly description: "What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all.";
|
|
262
|
+
};
|
|
247
263
|
readonly expectedVersion: {
|
|
248
264
|
readonly $ref: "#/$defs/ExpectedVersion";
|
|
249
265
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/persona/local/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,2BAA2B,IAAI,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAGtJ;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,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AoE,CAAC;AAE7F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,6BAA6B,CAAC;AAEpD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,oEAA6E,CAAC;AAE/G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,qCAAqC,CAAC;AAE7D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -47,6 +47,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
47
47
|
],
|
|
48
48
|
"description": "A LOCAL profile, or null to clear. A maintainer MUST refuse an identifier that names a pool profile: honouring it would let a context-scoped caller bind the holder's composition, which is the one escalation the whole boundary exists to prevent."
|
|
49
49
|
},
|
|
50
|
+
"label": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1,
|
|
53
|
+
"maxLength": 128,
|
|
54
|
+
"description": "What this context may call the face the persona wears here, chosen by the holder for this context. Returned by persona/binding/get and persona/binding/list in place of the holder's own name for the face, which is theirs and may say far more than they would tell a context ('the divorce'). Omit to give the context no name at all."
|
|
55
|
+
},
|
|
50
56
|
"expectedVersion": {
|
|
51
57
|
"$ref": "#/$defs/ExpectedVersion"
|
|
52
58
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/persona/local/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/persona/local/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,2DAAoE,CAAC;AAK7F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,oEAA6E,CAAC;AAK/G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,2DAA2D;IAClE,OAAO,EAAE,qCAAqC;IAC9C,aAAa,EAAE,8NAA8N;IAC7O,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;QACX,YAAY;KACb;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;SAClB;QACD,WAAW,EAAE;YACX,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE,cAAc;iBACvB;gBACD;oBACE,MAAM,EAAE,MAAM;iBACf;aACF;YACD,aAAa,EAAE,sPAAsP;SACtQ;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,2UAA2U;SAC3V;QACD,iBAAiB,EAAE;YACjB,MAAM,EAAE,yBAAyB;SAClC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AAE,iBAAiB;YAC1B,aAAa,EAAE,uMAAuM;YACtN,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;SACb;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
3
|
* Source: specs/persona/local/profile/put/1.0/payload.schema.json
|
|
4
4
|
*/
|
|
5
|
-
import type { ClaimType, ExpectedVersion_PersonaV0_1 as ExpectedVersion, Ext, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../../_shared/components.js";
|
|
5
|
+
import type { ClaimType, ExpectedVersion_PersonaV0_1 as ExpectedVersion, Ext, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../../_shared/components.js";
|
|
6
6
|
/**
|
|
7
7
|
* Compose a throwaway profile inside a context, from values supplied here rather than drawn from the holder's pool. Inline entries only: a reference is refused, and that refusal is what keeps the local surface pool-free.
|
|
8
8
|
*/
|
|
@@ -29,6 +29,7 @@ export interface PersonaLocalProfilePutPayload {
|
|
|
29
29
|
value: unknown;
|
|
30
30
|
label?: string;
|
|
31
31
|
};
|
|
32
|
+
slot?: Slot;
|
|
32
33
|
}[];
|
|
33
34
|
expectedVersion?: ExpectedVersion;
|
|
34
35
|
ext?: Ext;
|
|
@@ -53,7 +54,7 @@ export interface PersonaLocalProfilePutResponsePayload {
|
|
|
53
54
|
ext?: Ext;
|
|
54
55
|
}
|
|
55
56
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
56
|
-
export type { ClaimType, ExpectedVersion, Ext, Ulid, ValueType, Version };
|
|
57
|
+
export type { ClaimType, ExpectedVersion, Ext, Slot, Ulid, ValueType, Version };
|
|
57
58
|
/** Trust Task type URI. */
|
|
58
59
|
export declare const TYPE_URI: "https://trusttasks.org/spec/persona/local/profile/put/1.0";
|
|
59
60
|
/** Stable alias for this specification's request payload shape. */
|
|
@@ -120,6 +121,9 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
120
121
|
};
|
|
121
122
|
};
|
|
122
123
|
};
|
|
124
|
+
readonly slot: {
|
|
125
|
+
readonly $ref: "#/$defs/Slot";
|
|
126
|
+
};
|
|
123
127
|
};
|
|
124
128
|
};
|
|
125
129
|
};
|
|
@@ -197,6 +201,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
197
201
|
readonly type: "integer";
|
|
198
202
|
readonly minimum: 0;
|
|
199
203
|
};
|
|
204
|
+
readonly Slot: {
|
|
205
|
+
readonly title: "Slot";
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
208
|
+
readonly description: "A role a profile entry plays within its profile, so a consumer can find it without guessing from its claim type. A profile MAY hold several entries of one type — a legal name and a display name, two phone numbers — and only a slot says which answers a given question. Unique within a profile.\n\nWell-known slots:\n\n- `displayName` — what this face calls itself. The entry a consumer renders as the face's name to anyone it is shown to. Distinct from the profile's own `name`, which is the holder's private label and never disclosed.\n- `primaryEmail`, `primaryPhone`, `primaryAddress` — the entry to use where a counterparty asks for one of a kind and the profile holds several.\n- `avatar` — the image this face presents.\n\nOther values are the holder's or the producer's own and carry no meaning a maintainer interprets.";
|
|
209
|
+
};
|
|
200
210
|
readonly ValueType: {
|
|
201
211
|
readonly title: "ValueType";
|
|
202
212
|
readonly description: "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.";
|
|
@@ -284,6 +294,12 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
284
294
|
readonly type: "integer";
|
|
285
295
|
readonly minimum: 0;
|
|
286
296
|
};
|
|
297
|
+
readonly Slot: {
|
|
298
|
+
readonly title: "Slot";
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
301
|
+
readonly description: "A role a profile entry plays within its profile, so a consumer can find it without guessing from its claim type. A profile MAY hold several entries of one type — a legal name and a display name, two phone numbers — and only a slot says which answers a given question. Unique within a profile.\n\nWell-known slots:\n\n- `displayName` — what this face calls itself. The entry a consumer renders as the face's name to anyone it is shown to. Distinct from the profile's own `name`, which is the holder's private label and never disclosed.\n- `primaryEmail`, `primaryPhone`, `primaryAddress` — the entry to use where a counterparty asks for one of a kind and the profile holds several.\n- `avatar` — the image this face presents.\n\nOther values are the holder's or the producer's own and carry no meaning a maintainer interprets.";
|
|
302
|
+
};
|
|
287
303
|
readonly ValueType: {
|
|
288
304
|
readonly title: "ValueType";
|
|
289
305
|
readonly description: "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.";
|
|
@@ -361,6 +377,9 @@ export declare const SPEC: {
|
|
|
361
377
|
};
|
|
362
378
|
};
|
|
363
379
|
};
|
|
380
|
+
readonly slot: {
|
|
381
|
+
readonly $ref: "#/$defs/Slot";
|
|
382
|
+
};
|
|
364
383
|
};
|
|
365
384
|
};
|
|
366
385
|
};
|
|
@@ -438,6 +457,12 @@ export declare const SPEC: {
|
|
|
438
457
|
readonly type: "integer";
|
|
439
458
|
readonly minimum: 0;
|
|
440
459
|
};
|
|
460
|
+
readonly Slot: {
|
|
461
|
+
readonly title: "Slot";
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
464
|
+
readonly description: "A role a profile entry plays within its profile, so a consumer can find it without guessing from its claim type. A profile MAY hold several entries of one type — a legal name and a display name, two phone numbers — and only a slot says which answers a given question. Unique within a profile.\n\nWell-known slots:\n\n- `displayName` — what this face calls itself. The entry a consumer renders as the face's name to anyone it is shown to. Distinct from the profile's own `name`, which is the holder's private label and never disclosed.\n- `primaryEmail`, `primaryPhone`, `primaryAddress` — the entry to use where a counterparty asks for one of a kind and the profile holds several.\n- `avatar` — the image this face presents.\n\nOther values are the holder's or the producer's own and carry no meaning a maintainer interprets.";
|
|
465
|
+
};
|
|
441
466
|
readonly ValueType: {
|
|
442
467
|
readonly title: "ValueType";
|
|
443
468
|
readonly description: "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.";
|
|
@@ -536,6 +561,12 @@ export declare const RESPONSE_SPEC: {
|
|
|
536
561
|
readonly type: "integer";
|
|
537
562
|
readonly minimum: 0;
|
|
538
563
|
};
|
|
564
|
+
readonly Slot: {
|
|
565
|
+
readonly title: "Slot";
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
568
|
+
readonly description: "A role a profile entry plays within its profile, so a consumer can find it without guessing from its claim type. A profile MAY hold several entries of one type — a legal name and a display name, two phone numbers — and only a slot says which answers a given question. Unique within a profile.\n\nWell-known slots:\n\n- `displayName` — what this face calls itself. The entry a consumer renders as the face's name to anyone it is shown to. Distinct from the profile's own `name`, which is the holder's private label and never disclosed.\n- `primaryEmail`, `primaryPhone`, `primaryAddress` — the entry to use where a counterparty asks for one of a kind and the profile holds several.\n- `avatar` — the image this face presents.\n\nOther values are the holder's or the producer's own and carry no meaning a maintainer interprets.";
|
|
569
|
+
};
|
|
539
570
|
readonly ValueType: {
|
|
540
571
|
readonly title: "ValueType";
|
|
541
572
|
readonly description: "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/persona/local/profile/put/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,2BAA2B,IAAI,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/persona/local/profile/put/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,2BAA2B,IAAI,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAGlL;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,SAAS,CAAC;YAChB,SAAS,EAAE,SAAS,CAAC;YACrB,KAAK,EAAE,OAAO,CAAC;YACf,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB,CAAC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;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -73,6 +73,9 @@ export const PAYLOAD_SCHEMA = {
|
|
|
73
73
|
"maxLength": 128
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
+
},
|
|
77
|
+
"slot": {
|
|
78
|
+
"$ref": "#/$defs/Slot"
|
|
76
79
|
}
|
|
77
80
|
}
|
|
78
81
|
}
|
|
@@ -161,6 +164,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
161
164
|
"type": "integer",
|
|
162
165
|
"minimum": 0
|
|
163
166
|
},
|
|
167
|
+
"Slot": {
|
|
168
|
+
"title": "Slot",
|
|
169
|
+
"type": "string",
|
|
170
|
+
"pattern": "^[a-z][A-Za-z0-9]{0,31}$",
|
|
171
|
+
"description": "A role a profile entry plays within its profile, so a consumer can find it without guessing from its claim type. A profile MAY hold several entries of one type — a legal name and a display name, two phone numbers — and only a slot says which answers a given question. Unique within a profile.\n\nWell-known slots:\n\n- `displayName` — what this face calls itself. The entry a consumer renders as the face's name to anyone it is shown to. Distinct from the profile's own `name`, which is the holder's private label and never disclosed.\n- `primaryEmail`, `primaryPhone`, `primaryAddress` — the entry to use where a counterparty asks for one of a kind and the profile holds several.\n- `avatar` — the image this face presents.\n\nOther values are the holder's or the producer's own and carry no meaning a maintainer interprets."
|
|
172
|
+
},
|
|
164
173
|
"ValueType": {
|
|
165
174
|
"title": "ValueType",
|
|
166
175
|
"description": "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.",
|
|
@@ -264,6 +273,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
264
273
|
"type": "integer",
|
|
265
274
|
"minimum": 0
|
|
266
275
|
},
|
|
276
|
+
"Slot": {
|
|
277
|
+
"title": "Slot",
|
|
278
|
+
"type": "string",
|
|
279
|
+
"pattern": "^[a-z][A-Za-z0-9]{0,31}$",
|
|
280
|
+
"description": "A role a profile entry plays within its profile, so a consumer can find it without guessing from its claim type. A profile MAY hold several entries of one type — a legal name and a display name, two phone numbers — and only a slot says which answers a given question. Unique within a profile.\n\nWell-known slots:\n\n- `displayName` — what this face calls itself. The entry a consumer renders as the face's name to anyone it is shown to. Distinct from the profile's own `name`, which is the holder's private label and never disclosed.\n- `primaryEmail`, `primaryPhone`, `primaryAddress` — the entry to use where a counterparty asks for one of a kind and the profile holds several.\n- `avatar` — the image this face presents.\n\nOther values are the holder's or the producer's own and carry no meaning a maintainer interprets."
|
|
281
|
+
},
|
|
267
282
|
"ValueType": {
|
|
268
283
|
"title": "ValueType",
|
|
269
284
|
"description": "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/persona/local/profile/put/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/persona/local/profile/put/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2DH,2BAA2B;AAC3B,MAAM,CAAC,MAAM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