@openvtc/trust-tasks 0.19.13 → 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 +2 -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/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/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
|
@@ -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;QACF,IAAI,CAAC,EAAE,IAAI,CAAC;KACb,EAAE,CAAC;IACJ,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,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;;;;;;;;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,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;I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B,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,SAAS,EAAE,iDAAiD;SAC7D;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/profile/get/1.0/payload.schema.json
|
|
4
4
|
*/
|
|
5
|
-
import type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../_shared/components.js";
|
|
5
|
+
import type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../_shared/components.js";
|
|
6
6
|
/**
|
|
7
7
|
* Read one profile, either as composed (the entries the holder wrote) or as resolved (the claims it would actually present).
|
|
8
8
|
*/
|
|
@@ -30,7 +30,7 @@ export interface PersonaProfileGetResponsePayload {
|
|
|
30
30
|
ext?: Ext;
|
|
31
31
|
}
|
|
32
32
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
33
|
-
export type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Ulid, ValueType, Version };
|
|
33
|
+
export type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Slot, Ulid, ValueType, Version };
|
|
34
34
|
/** Trust Task type URI. */
|
|
35
35
|
export declare const TYPE_URI: "https://trusttasks.org/spec/persona/profile/get/1.0";
|
|
36
36
|
/** Stable alias for this specification's request payload shape. */
|
|
@@ -129,6 +129,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
129
129
|
readonly maxLength: 128;
|
|
130
130
|
readonly description: "The holder's own words, from the override where one is given and from the pool attribute otherwise. Never disclosed to a verifier.";
|
|
131
131
|
};
|
|
132
|
+
readonly slot: {
|
|
133
|
+
readonly $ref: "#/$defs/Slot";
|
|
134
|
+
readonly description: "The slot of the entry this claim resolved from, where it has one.";
|
|
135
|
+
};
|
|
132
136
|
readonly provenance: {
|
|
133
137
|
readonly $ref: "#/$defs/Provenance";
|
|
134
138
|
};
|
|
@@ -225,6 +229,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
225
229
|
readonly type: "string";
|
|
226
230
|
readonly enum: readonly ["predicate", "derived", "selectiveDisclosure", "whole"];
|
|
227
231
|
};
|
|
232
|
+
readonly Slot: {
|
|
233
|
+
readonly title: "Slot";
|
|
234
|
+
readonly type: "string";
|
|
235
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
236
|
+
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.";
|
|
237
|
+
};
|
|
228
238
|
readonly ValueType: {
|
|
229
239
|
readonly title: "ValueType";
|
|
230
240
|
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.";
|
|
@@ -292,7 +302,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
292
302
|
};
|
|
293
303
|
readonly ProfileEntry: {
|
|
294
304
|
readonly title: "ProfileEntry";
|
|
295
|
-
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.";
|
|
305
|
+
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.";
|
|
296
306
|
readonly type: "object";
|
|
297
307
|
readonly oneOf: readonly [{
|
|
298
308
|
readonly additionalProperties: false;
|
|
@@ -301,6 +311,9 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
301
311
|
readonly ref: {
|
|
302
312
|
readonly $ref: "#/$defs/Ulid";
|
|
303
313
|
};
|
|
314
|
+
readonly slot: {
|
|
315
|
+
readonly $ref: "#/$defs/Slot";
|
|
316
|
+
};
|
|
304
317
|
};
|
|
305
318
|
}, {
|
|
306
319
|
readonly additionalProperties: false;
|
|
@@ -312,6 +325,9 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
312
325
|
readonly pinVersion: {
|
|
313
326
|
readonly $ref: "#/$defs/Version";
|
|
314
327
|
};
|
|
328
|
+
readonly slot: {
|
|
329
|
+
readonly $ref: "#/$defs/Slot";
|
|
330
|
+
};
|
|
315
331
|
};
|
|
316
332
|
}, {
|
|
317
333
|
readonly additionalProperties: false;
|
|
@@ -333,6 +349,9 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
333
349
|
};
|
|
334
350
|
readonly description: "Replaces the pool attribute's value for this profile only. `type`, `valueType` and `provenance` are inherited from the referenced attribute and MUST NOT be overridden — an override that changed provenance would let a self-asserted value present as attested.";
|
|
335
351
|
};
|
|
352
|
+
readonly slot: {
|
|
353
|
+
readonly $ref: "#/$defs/Slot";
|
|
354
|
+
};
|
|
336
355
|
};
|
|
337
356
|
}, {
|
|
338
357
|
readonly additionalProperties: false;
|
|
@@ -359,6 +378,9 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
359
378
|
};
|
|
360
379
|
};
|
|
361
380
|
};
|
|
381
|
+
readonly slot: {
|
|
382
|
+
readonly $ref: "#/$defs/Slot";
|
|
383
|
+
};
|
|
362
384
|
};
|
|
363
385
|
}];
|
|
364
386
|
};
|
|
@@ -428,6 +450,10 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
428
450
|
readonly maxLength: 128;
|
|
429
451
|
readonly description: "The holder's own words, from the override where one is given and from the pool attribute otherwise. Never disclosed to a verifier.";
|
|
430
452
|
};
|
|
453
|
+
readonly slot: {
|
|
454
|
+
readonly $ref: "#/$defs/Slot";
|
|
455
|
+
readonly description: "The slot of the entry this claim resolved from, where it has one.";
|
|
456
|
+
};
|
|
431
457
|
readonly provenance: {
|
|
432
458
|
readonly $ref: "#/$defs/Provenance";
|
|
433
459
|
};
|
|
@@ -524,6 +550,12 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
524
550
|
readonly type: "string";
|
|
525
551
|
readonly enum: readonly ["predicate", "derived", "selectiveDisclosure", "whole"];
|
|
526
552
|
};
|
|
553
|
+
readonly Slot: {
|
|
554
|
+
readonly title: "Slot";
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
557
|
+
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.";
|
|
558
|
+
};
|
|
527
559
|
readonly ValueType: {
|
|
528
560
|
readonly title: "ValueType";
|
|
529
561
|
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.";
|
|
@@ -591,7 +623,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
591
623
|
};
|
|
592
624
|
readonly ProfileEntry: {
|
|
593
625
|
readonly title: "ProfileEntry";
|
|
594
|
-
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.";
|
|
626
|
+
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.";
|
|
595
627
|
readonly type: "object";
|
|
596
628
|
readonly oneOf: readonly [{
|
|
597
629
|
readonly additionalProperties: false;
|
|
@@ -600,6 +632,9 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
600
632
|
readonly ref: {
|
|
601
633
|
readonly $ref: "#/$defs/Ulid";
|
|
602
634
|
};
|
|
635
|
+
readonly slot: {
|
|
636
|
+
readonly $ref: "#/$defs/Slot";
|
|
637
|
+
};
|
|
603
638
|
};
|
|
604
639
|
}, {
|
|
605
640
|
readonly additionalProperties: false;
|
|
@@ -611,6 +646,9 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
611
646
|
readonly pinVersion: {
|
|
612
647
|
readonly $ref: "#/$defs/Version";
|
|
613
648
|
};
|
|
649
|
+
readonly slot: {
|
|
650
|
+
readonly $ref: "#/$defs/Slot";
|
|
651
|
+
};
|
|
614
652
|
};
|
|
615
653
|
}, {
|
|
616
654
|
readonly additionalProperties: false;
|
|
@@ -632,6 +670,9 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
632
670
|
};
|
|
633
671
|
readonly description: "Replaces the pool attribute's value for this profile only. `type`, `valueType` and `provenance` are inherited from the referenced attribute and MUST NOT be overridden — an override that changed provenance would let a self-asserted value present as attested.";
|
|
634
672
|
};
|
|
673
|
+
readonly slot: {
|
|
674
|
+
readonly $ref: "#/$defs/Slot";
|
|
675
|
+
};
|
|
635
676
|
};
|
|
636
677
|
}, {
|
|
637
678
|
readonly additionalProperties: false;
|
|
@@ -658,6 +699,9 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
658
699
|
};
|
|
659
700
|
};
|
|
660
701
|
};
|
|
702
|
+
readonly slot: {
|
|
703
|
+
readonly $ref: "#/$defs/Slot";
|
|
704
|
+
};
|
|
661
705
|
};
|
|
662
706
|
}];
|
|
663
707
|
};
|
|
@@ -756,6 +800,10 @@ export declare const SPEC: {
|
|
|
756
800
|
readonly maxLength: 128;
|
|
757
801
|
readonly description: "The holder's own words, from the override where one is given and from the pool attribute otherwise. Never disclosed to a verifier.";
|
|
758
802
|
};
|
|
803
|
+
readonly slot: {
|
|
804
|
+
readonly $ref: "#/$defs/Slot";
|
|
805
|
+
readonly description: "The slot of the entry this claim resolved from, where it has one.";
|
|
806
|
+
};
|
|
759
807
|
readonly provenance: {
|
|
760
808
|
readonly $ref: "#/$defs/Provenance";
|
|
761
809
|
};
|
|
@@ -852,6 +900,12 @@ export declare const SPEC: {
|
|
|
852
900
|
readonly type: "string";
|
|
853
901
|
readonly enum: readonly ["predicate", "derived", "selectiveDisclosure", "whole"];
|
|
854
902
|
};
|
|
903
|
+
readonly Slot: {
|
|
904
|
+
readonly title: "Slot";
|
|
905
|
+
readonly type: "string";
|
|
906
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
907
|
+
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.";
|
|
908
|
+
};
|
|
855
909
|
readonly ValueType: {
|
|
856
910
|
readonly title: "ValueType";
|
|
857
911
|
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.";
|
|
@@ -919,7 +973,7 @@ export declare const SPEC: {
|
|
|
919
973
|
};
|
|
920
974
|
readonly ProfileEntry: {
|
|
921
975
|
readonly title: "ProfileEntry";
|
|
922
|
-
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.";
|
|
976
|
+
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.";
|
|
923
977
|
readonly type: "object";
|
|
924
978
|
readonly oneOf: readonly [{
|
|
925
979
|
readonly additionalProperties: false;
|
|
@@ -928,6 +982,9 @@ export declare const SPEC: {
|
|
|
928
982
|
readonly ref: {
|
|
929
983
|
readonly $ref: "#/$defs/Ulid";
|
|
930
984
|
};
|
|
985
|
+
readonly slot: {
|
|
986
|
+
readonly $ref: "#/$defs/Slot";
|
|
987
|
+
};
|
|
931
988
|
};
|
|
932
989
|
}, {
|
|
933
990
|
readonly additionalProperties: false;
|
|
@@ -939,6 +996,9 @@ export declare const SPEC: {
|
|
|
939
996
|
readonly pinVersion: {
|
|
940
997
|
readonly $ref: "#/$defs/Version";
|
|
941
998
|
};
|
|
999
|
+
readonly slot: {
|
|
1000
|
+
readonly $ref: "#/$defs/Slot";
|
|
1001
|
+
};
|
|
942
1002
|
};
|
|
943
1003
|
}, {
|
|
944
1004
|
readonly additionalProperties: false;
|
|
@@ -960,6 +1020,9 @@ export declare const SPEC: {
|
|
|
960
1020
|
};
|
|
961
1021
|
readonly description: "Replaces the pool attribute's value for this profile only. `type`, `valueType` and `provenance` are inherited from the referenced attribute and MUST NOT be overridden — an override that changed provenance would let a self-asserted value present as attested.";
|
|
962
1022
|
};
|
|
1023
|
+
readonly slot: {
|
|
1024
|
+
readonly $ref: "#/$defs/Slot";
|
|
1025
|
+
};
|
|
963
1026
|
};
|
|
964
1027
|
}, {
|
|
965
1028
|
readonly additionalProperties: false;
|
|
@@ -986,6 +1049,9 @@ export declare const SPEC: {
|
|
|
986
1049
|
};
|
|
987
1050
|
};
|
|
988
1051
|
};
|
|
1052
|
+
readonly slot: {
|
|
1053
|
+
readonly $ref: "#/$defs/Slot";
|
|
1054
|
+
};
|
|
989
1055
|
};
|
|
990
1056
|
}];
|
|
991
1057
|
};
|
|
@@ -1066,6 +1132,10 @@ export declare const RESPONSE_SPEC: {
|
|
|
1066
1132
|
readonly maxLength: 128;
|
|
1067
1133
|
readonly description: "The holder's own words, from the override where one is given and from the pool attribute otherwise. Never disclosed to a verifier.";
|
|
1068
1134
|
};
|
|
1135
|
+
readonly slot: {
|
|
1136
|
+
readonly $ref: "#/$defs/Slot";
|
|
1137
|
+
readonly description: "The slot of the entry this claim resolved from, where it has one.";
|
|
1138
|
+
};
|
|
1069
1139
|
readonly provenance: {
|
|
1070
1140
|
readonly $ref: "#/$defs/Provenance";
|
|
1071
1141
|
};
|
|
@@ -1162,6 +1232,12 @@ export declare const RESPONSE_SPEC: {
|
|
|
1162
1232
|
readonly type: "string";
|
|
1163
1233
|
readonly enum: readonly ["predicate", "derived", "selectiveDisclosure", "whole"];
|
|
1164
1234
|
};
|
|
1235
|
+
readonly Slot: {
|
|
1236
|
+
readonly title: "Slot";
|
|
1237
|
+
readonly type: "string";
|
|
1238
|
+
readonly pattern: "^[a-z][A-Za-z0-9]{0,31}$";
|
|
1239
|
+
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.";
|
|
1240
|
+
};
|
|
1165
1241
|
readonly ValueType: {
|
|
1166
1242
|
readonly title: "ValueType";
|
|
1167
1243
|
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.";
|
|
@@ -1229,7 +1305,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
1229
1305
|
};
|
|
1230
1306
|
readonly ProfileEntry: {
|
|
1231
1307
|
readonly title: "ProfileEntry";
|
|
1232
|
-
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.";
|
|
1308
|
+
readonly description: "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.";
|
|
1233
1309
|
readonly type: "object";
|
|
1234
1310
|
readonly oneOf: readonly [{
|
|
1235
1311
|
readonly additionalProperties: false;
|
|
@@ -1238,6 +1314,9 @@ export declare const RESPONSE_SPEC: {
|
|
|
1238
1314
|
readonly ref: {
|
|
1239
1315
|
readonly $ref: "#/$defs/Ulid";
|
|
1240
1316
|
};
|
|
1317
|
+
readonly slot: {
|
|
1318
|
+
readonly $ref: "#/$defs/Slot";
|
|
1319
|
+
};
|
|
1241
1320
|
};
|
|
1242
1321
|
}, {
|
|
1243
1322
|
readonly additionalProperties: false;
|
|
@@ -1249,6 +1328,9 @@ export declare const RESPONSE_SPEC: {
|
|
|
1249
1328
|
readonly pinVersion: {
|
|
1250
1329
|
readonly $ref: "#/$defs/Version";
|
|
1251
1330
|
};
|
|
1331
|
+
readonly slot: {
|
|
1332
|
+
readonly $ref: "#/$defs/Slot";
|
|
1333
|
+
};
|
|
1252
1334
|
};
|
|
1253
1335
|
}, {
|
|
1254
1336
|
readonly additionalProperties: false;
|
|
@@ -1270,6 +1352,9 @@ export declare const RESPONSE_SPEC: {
|
|
|
1270
1352
|
};
|
|
1271
1353
|
readonly description: "Replaces the pool attribute's value for this profile only. `type`, `valueType` and `provenance` are inherited from the referenced attribute and MUST NOT be overridden — an override that changed provenance would let a self-asserted value present as attested.";
|
|
1272
1354
|
};
|
|
1355
|
+
readonly slot: {
|
|
1356
|
+
readonly $ref: "#/$defs/Slot";
|
|
1357
|
+
};
|
|
1273
1358
|
};
|
|
1274
1359
|
}, {
|
|
1275
1360
|
readonly additionalProperties: false;
|
|
@@ -1296,6 +1381,9 @@ export declare const RESPONSE_SPEC: {
|
|
|
1296
1381
|
};
|
|
1297
1382
|
};
|
|
1298
1383
|
};
|
|
1384
|
+
readonly slot: {
|
|
1385
|
+
readonly $ref: "#/$defs/Slot";
|
|
1386
|
+
};
|
|
1299
1387
|
};
|
|
1300
1388
|
}];
|
|
1301
1389
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/profile/get/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/profile/get/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAG5L;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACv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