@openvtc/trust-tasks 0.19.22 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/_shared/components.d.ts +5 -1
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +4 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +4 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/persona/_shared/0.1/persona-record.d.ts +1 -1
  9. package/dist/persona/_shared/0.1/persona-record.d.ts.map +1 -1
  10. package/dist/persona/correlation/analyze/1.1/payload.d.ts +730 -0
  11. package/dist/persona/correlation/analyze/1.1/payload.d.ts.map +1 -0
  12. package/dist/persona/correlation/analyze/1.1/payload.js +372 -0
  13. package/dist/persona/correlation/analyze/1.1/payload.js.map +1 -0
  14. package/dist/persona/facet/list/1.0/payload.d.ts +4 -4
  15. package/dist/persona/facet/list/1.0/payload.js +2 -2
  16. package/dist/persona/facet/list/1.0/payload.js.map +1 -1
  17. package/dist/persona/facet/put/1.0/payload.d.ts +4 -4
  18. package/dist/persona/facet/put/1.0/payload.js +2 -2
  19. package/dist/persona/facet/put/1.0/payload.js.map +1 -1
  20. package/dist/persona/local/profile/put/1.0/payload.d.ts +10 -10
  21. package/dist/persona/local/profile/put/1.0/payload.js +4 -4
  22. package/dist/persona/local/profile/put/1.0/payload.js.map +1 -1
  23. package/dist/persona/world/delete/1.0/payload.d.ts +310 -0
  24. package/dist/persona/world/delete/1.0/payload.d.ts.map +1 -0
  25. package/dist/persona/world/delete/1.0/payload.js +169 -0
  26. package/dist/persona/world/delete/1.0/payload.js.map +1 -0
  27. package/dist/persona/world/list/1.0/payload.d.ts +599 -0
  28. package/dist/persona/world/list/1.0/payload.d.ts.map +1 -0
  29. package/dist/persona/world/list/1.0/payload.js +332 -0
  30. package/dist/persona/world/list/1.0/payload.js.map +1 -0
  31. package/dist/persona/world/put/1.0/payload.d.ts +490 -0
  32. package/dist/persona/world/put/1.0/payload.d.ts.map +1 -0
  33. package/dist/persona/world/put/1.0/payload.js +272 -0
  34. package/dist/persona/world/put/1.0/payload.js.map +1 -0
  35. package/package.json +1 -1
  36. package/src/_shared/components.ts +5 -1
  37. package/src/index.ts +4 -0
  38. package/src/persona/_shared/0.1/persona-record.ts +1 -1
  39. package/src/persona/correlation/analyze/1.1/payload.ts +514 -0
  40. package/src/persona/facet/list/1.0/payload.ts +2 -2
  41. package/src/persona/facet/put/1.0/payload.ts +2 -2
  42. package/src/persona/local/profile/put/1.0/payload.ts +6 -6
  43. package/src/persona/world/delete/1.0/payload.ts +212 -0
  44. package/src/persona/world/list/1.0/payload.ts +402 -0
  45. package/src/persona/world/put/1.0/payload.ts +339 -0
@@ -0,0 +1,272 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/persona/world/put/1.0/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/persona/world/put/1.0";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/world/put/1.0#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/persona/world/put/1.0",
21
+ "title": "Persona — World Put — payload",
22
+ "description": "Create or replace one world: a named part of the holder's life, and the faces and attributes that belong to it. Omit `worldId` to create; supply it to replace. `expectedVersion` makes the write conditional.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "name",
27
+ "colour"
28
+ ],
29
+ "properties": {
30
+ "worldId": {
31
+ "$ref": "#/$defs/Ulid",
32
+ "description": "Omit to create — the maintainer assigns one and returns it. Supply to replace an existing world, or to make a create idempotent under retry; a supplied id that already exists is a replacement, and a producer that meant to create MUST pair it with `expectedVersion: 0`."
33
+ },
34
+ "name": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 64,
38
+ "description": "The holder's name for this part of their life — \"Work\", \"Home\", \"Play\". Never disclosed to a verifier; it is how the holder finds it again. A maintainer MUST NOT interpret it: it is not a scope, a policy input, or a name a counterparty ever sees."
39
+ },
40
+ "colour": {
41
+ "$ref": "#/$defs/WorldColour"
42
+ },
43
+ "icon": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "maxLength": 8,
47
+ "description": "One or two emoji, as a decorative mark beside the name. Bounded at 8 bytes because it is a mark and not a field: anything longer is text, and text belongs in `name` where a consumer will lay it out. A maintainer stores it opaquely and MUST NOT parse it; a consumer that cannot render emoji omits it and shows the name, which is why it is OPTIONAL and carries no meaning of its own."
48
+ },
49
+ "faceIds": {
50
+ "type": "array",
51
+ "maxItems": 256,
52
+ "uniqueItems": true,
53
+ "default": [],
54
+ "items": {
55
+ "$ref": "#/$defs/Ulid"
56
+ },
57
+ "description": "Profiles belonging to this world. A profile belongs to at most one world — see `persona/world/put:faceAlreadyPlaced` — because the world is where a consumer reads a profile's colour from, and two answers is no answer. Omission on a replace means an empty list, not 'leave as they were': this is a replace, and a member whose absence meant 'keep' would make it impossible to empty one."
58
+ },
59
+ "attributeIds": {
60
+ "type": "array",
61
+ "maxItems": 1024,
62
+ "uniqueItems": true,
63
+ "default": [],
64
+ "items": {
65
+ "$ref": "#/$defs/Ulid"
66
+ },
67
+ "description": "Attributes belonging to this world. Unlike a profile, an attribute MAY belong to several — a mobile number is genuinely both work and home — so no exclusivity is enforced and none should be inferred. Same replace semantics as `faceIds`."
68
+ },
69
+ "expectedVersion": {
70
+ "$ref": "#/$defs/ExpectedVersion",
71
+ "description": "Optional precondition. Omit for last-writer-wins. Supply the version a prior read returned to make the write conditional; supply 0 to create only."
72
+ },
73
+ "ext": {
74
+ "$ref": "#/$defs/Ext"
75
+ }
76
+ },
77
+ "$defs": {
78
+ "Response": {
79
+ "$anchor": "response",
80
+ "title": "Persona World Put — response payload",
81
+ "description": "Success response to persona/world/put. Type https://trusttasks.org/spec/persona/world/put/1.0#response. A failed precondition is not a success: it is a trust-task-error carrying persona/world/put:versionConflict.",
82
+ "type": "object",
83
+ "additionalProperties": false,
84
+ "required": [
85
+ "worldId",
86
+ "version",
87
+ "created",
88
+ "updatedAt"
89
+ ],
90
+ "properties": {
91
+ "worldId": {
92
+ "$ref": "#/$defs/Ulid"
93
+ },
94
+ "version": {
95
+ "$ref": "#/$defs/Version"
96
+ },
97
+ "created": {
98
+ "type": "boolean",
99
+ "description": "True when this write created the world, false when it replaced one. A producer that omitted `worldId` can still be told which happened, because a retried create with a supplied id is a replacement."
100
+ },
101
+ "createdAt": {
102
+ "type": "string",
103
+ "format": "date-time"
104
+ },
105
+ "updatedAt": {
106
+ "type": "string",
107
+ "format": "date-time"
108
+ },
109
+ "ext": {
110
+ "$ref": "#/$defs/Ext"
111
+ }
112
+ }
113
+ },
114
+ "Ext": {
115
+ "title": "Ext",
116
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
117
+ "type": "object",
118
+ "minProperties": 1,
119
+ "additionalProperties": true,
120
+ "propertyNames": {
121
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
122
+ }
123
+ },
124
+ "Version": {
125
+ "title": "Version",
126
+ "description": "A value of the store's monotonic write counter. Server-assigned; a producer never chooses one.",
127
+ "type": "integer",
128
+ "minimum": 1
129
+ },
130
+ "Ulid": {
131
+ "title": "Ulid",
132
+ "description": "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.",
133
+ "type": "string",
134
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
135
+ },
136
+ "ExpectedVersion": {
137
+ "title": "ExpectedVersion",
138
+ "description": "Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.",
139
+ "type": "integer",
140
+ "minimum": 0
141
+ },
142
+ "WorldColour": {
143
+ "title": "WorldColour",
144
+ "description": "A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
145
+ "type": "string",
146
+ "enum": [
147
+ "slate",
148
+ "indigo",
149
+ "teal",
150
+ "moss",
151
+ "sand",
152
+ "clay",
153
+ "rose",
154
+ "plum"
155
+ ]
156
+ }
157
+ }
158
+ };
159
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
160
+ export const RESPONSE_PAYLOAD_SCHEMA = {
161
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
162
+ "$ref": "#/$defs/Response",
163
+ "$defs": {
164
+ "Response": {
165
+ "$anchor": "response",
166
+ "title": "Persona World Put — response payload",
167
+ "description": "Success response to persona/world/put. Type https://trusttasks.org/spec/persona/world/put/1.0#response. A failed precondition is not a success: it is a trust-task-error carrying persona/world/put:versionConflict.",
168
+ "type": "object",
169
+ "additionalProperties": false,
170
+ "required": [
171
+ "worldId",
172
+ "version",
173
+ "created",
174
+ "updatedAt"
175
+ ],
176
+ "properties": {
177
+ "worldId": {
178
+ "$ref": "#/$defs/Ulid"
179
+ },
180
+ "version": {
181
+ "$ref": "#/$defs/Version"
182
+ },
183
+ "created": {
184
+ "type": "boolean",
185
+ "description": "True when this write created the world, false when it replaced one. A producer that omitted `worldId` can still be told which happened, because a retried create with a supplied id is a replacement."
186
+ },
187
+ "createdAt": {
188
+ "type": "string",
189
+ "format": "date-time"
190
+ },
191
+ "updatedAt": {
192
+ "type": "string",
193
+ "format": "date-time"
194
+ },
195
+ "ext": {
196
+ "$ref": "#/$defs/Ext"
197
+ }
198
+ }
199
+ },
200
+ "Ext": {
201
+ "title": "Ext",
202
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
203
+ "type": "object",
204
+ "minProperties": 1,
205
+ "additionalProperties": true,
206
+ "propertyNames": {
207
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
208
+ }
209
+ },
210
+ "Version": {
211
+ "title": "Version",
212
+ "description": "A value of the store's monotonic write counter. Server-assigned; a producer never chooses one.",
213
+ "type": "integer",
214
+ "minimum": 1
215
+ },
216
+ "Ulid": {
217
+ "title": "Ulid",
218
+ "description": "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.",
219
+ "type": "string",
220
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
221
+ },
222
+ "ExpectedVersion": {
223
+ "title": "ExpectedVersion",
224
+ "description": "Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.",
225
+ "type": "integer",
226
+ "minimum": 0
227
+ },
228
+ "WorldColour": {
229
+ "title": "WorldColour",
230
+ "description": "A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
231
+ "type": "string",
232
+ "enum": [
233
+ "slate",
234
+ "indigo",
235
+ "teal",
236
+ "moss",
237
+ "sand",
238
+ "clay",
239
+ "rose",
240
+ "plum"
241
+ ]
242
+ }
243
+ }
244
+ };
245
+ /**
246
+ * SPEC.md §7.2 policy for the request variant, from this specification's
247
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
248
+ * per-specification and cannot be derived from the document alone, and
249
+ * item 2 needs the schema this carries.
250
+ */
251
+ export const SPEC = {
252
+ typeUri: TYPE_URI,
253
+ isBearer: false,
254
+ isProofRequired: true,
255
+ isRecipientRequired: true,
256
+ isIssuedAtRequired: true,
257
+ payloadSchema: PAYLOAD_SCHEMA,
258
+ };
259
+ /**
260
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
261
+ * tracks the *issuer* party's requirement because a response swaps the
262
+ * parties (§7.3 item 5).
263
+ */
264
+ export const RESPONSE_SPEC = {
265
+ typeUri: RESPONSE_TYPE_URI,
266
+ isBearer: false,
267
+ isProofRequired: true,
268
+ isRecipientRequired: true,
269
+ isIssuedAtRequired: true,
270
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
271
+ };
272
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/world/put/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0DH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GA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Aa,EAAE,gGAAgG;YAC/G,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;SACb;QACD,MAAM,EAAE;YACN,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,waAAwa;YACvb,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,0BAA0B;SACtC;QACD,iBAAiB,EAAE;YACjB,OAAO,EAAE,iBAAiB;YAC1B,aAAa,EAAE,uMAAuM;YACtN,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;SACb;QACD,aAAa,EAAE;YACb,OAAO,EAAE,aAAa;YACtB,aAAa,EAAE,kyBAAkyB;YACjzB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,OAAO;gBACP,QAAQ;gBACR,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;aACP;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,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.19.22",
3
+ "version": "0.20.0",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -243,7 +243,7 @@ export type FaceReach =
243
243
  contextIds: [string, ...string[]];
244
244
  };
245
245
  /**
246
- * A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.
246
+ * **Superseded by `WorldColour`** — the same set, under the name the rest of the family now uses. Retained because `persona/facet/*` is retired in favour of `persona/world/*`, and a retired specification's schema is frozen, so the definition it references has to stay. New work references `WorldColour`. A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.
247
247
  */
248
248
  export type FacetColour = "slate" | "indigo" | "teal" | "moss" | "sand" | "clay" | "rose" | "plum";
249
249
  /**
@@ -831,6 +831,10 @@ export type Visibility = "open" | "attributed" | "private";
831
831
  * The protocol a message travelled in, as the mediator detected it from the wire form. `didcomm` is DIDComm v2 (JWE/JWS); `didcommV1` is a DIDComm v1 envelope; `tsp` is a Trust Spanning Protocol message; `other` is anything the mediator could not classify.
832
832
  */
833
833
  export type WireProtocol = "didcomm" | "didcommV1" | "tsp" | "other";
834
+ /**
835
+ * A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.
836
+ */
837
+ export type WorldColour = "slate" | "indigo" | "teal" | "moss" | "sand" | "clay" | "rose" | "plum";
834
838
 
835
839
  /**
836
840
  * The mediator's view of one served account.
package/src/index.ts CHANGED
@@ -198,6 +198,7 @@ export * as PersonaContactGet_v1_0 from "./persona/contact/get/1.0/payload.js";
198
198
  export * as PersonaContactList_v1_0 from "./persona/contact/list/1.0/payload.js";
199
199
  export * as PersonaContactPut_v1_0 from "./persona/contact/put/1.0/payload.js";
200
200
  export * as PersonaCorrelationAnalyze_v1_0 from "./persona/correlation/analyze/1.0/payload.js";
201
+ export * as PersonaCorrelationAnalyze_v1_1 from "./persona/correlation/analyze/1.1/payload.js";
201
202
  export * as PersonaDisclosureHistory_v1_0 from "./persona/disclosure/history/1.0/payload.js";
202
203
  export * as PersonaDisclosurePresent_v1_0 from "./persona/disclosure/present/1.0/payload.js";
203
204
  export * as PersonaDisclosurePreview_v1_0 from "./persona/disclosure/preview/1.0/payload.js";
@@ -219,6 +220,9 @@ export * as PersonaProfileRetire_v1_0 from "./persona/profile/retire/1.0/payload
219
220
  export * as PersonaProfileTimeline_v1_0 from "./persona/profile/timeline/1.0/payload.js";
220
221
  export * as PersonaProfileUsage_v1_0 from "./persona/profile/usage/1.0/payload.js";
221
222
  export * as PersonaRenderersList_v1_0 from "./persona/renderers/list/1.0/payload.js";
223
+ export * as PersonaWorldDelete_v1_0 from "./persona/world/delete/1.0/payload.js";
224
+ export * as PersonaWorldList_v1_0 from "./persona/world/list/1.0/payload.js";
225
+ export * as PersonaWorldPut_v1_0 from "./persona/world/put/1.0/payload.js";
222
226
  export * as PolicyShared_v0_1 from "./policy/_shared/0.1/policy.js";
223
227
  export * as PolicyShared_v0_2 from "./policy/_shared/0.2/policy.js";
224
228
  export * as PolicyShared_v0_3 from "./policy/_shared/0.3/policy.js";
@@ -20,4 +20,4 @@ export interface PersonaRecordSharedDefinitionsForThePersonaSpecFamily {
20
20
  * The definitions this shared schema publishes, hoisted to one declaration each.
21
21
  * See "../../../_shared/components.js".
22
22
  */
23
- export type { Attribute, ClaimType, ContactDocument, ContactRevision, ExpectedVersion_PersonaV0_1 as ExpectedVersion, FaceReach, FacetColour, Profile, ProfileEntry, ProofRung, Provenance, ReleaseRequirement, ResolvedClaim, Sensitivity, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../_shared/components.js";
23
+ export type { Attribute, ClaimType, ContactDocument, ContactRevision, ExpectedVersion_PersonaV0_1 as ExpectedVersion, FaceReach, FacetColour, Profile, ProfileEntry, ProofRung, Provenance, ReleaseRequirement, ResolvedClaim, Sensitivity, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version, WorldColour } from "../../../_shared/components.js";