@openvtc/trust-tasks 0.28.17 → 0.28.18
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 +36 -0
- package/dist/_shared/components.d.ts +26 -1
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/collection/_shared/0.1/collection.d.ts +2 -2
- package/dist/vta/collection/_shared/0.1/collection.d.ts.map +1 -1
- package/dist/vta/collection/list/0.1/payload.d.ts +4 -4
- package/dist/vta/collection/list/0.1/payload.js +2 -2
- package/dist/vta/collection/list/0.1/payload.js.map +1 -1
- package/dist/vta/collection/settings/set/0.1/payload.d.ts +469 -0
- package/dist/vta/collection/settings/set/0.1/payload.d.ts.map +1 -0
- package/dist/vta/collection/settings/set/0.1/payload.js +275 -0
- package/dist/vta/collection/settings/set/0.1/payload.js.map +1 -0
- package/dist/vta/collection/settings/show/0.1/payload.d.ts +437 -0
- package/dist/vta/collection/settings/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/collection/settings/show/0.1/payload.js +260 -0
- package/dist/vta/collection/settings/show/0.1/payload.js.map +1 -0
- package/dist/vtn/registry/check/0.1/payload.d.ts +528 -0
- package/dist/vtn/registry/check/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/registry/check/0.1/payload.js +282 -0
- package/dist/vtn/registry/check/0.1/payload.js.map +1 -0
- package/dist/vtn/registry/status/0.1/payload.d.ts +736 -0
- package/dist/vtn/registry/status/0.1/payload.d.ts.map +1 -0
- package/dist/vtn/registry/status/0.1/payload.js +421 -0
- package/dist/vtn/registry/status/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +26 -1
- package/src/index.ts +12 -0
- package/src/vta/collection/_shared/0.1/collection.ts +2 -2
- package/src/vta/collection/list/0.1/payload.ts +2 -2
- package/src/vta/collection/settings/set/0.1/payload.ts +319 -0
- package/src/vta/collection/settings/show/0.1/payload.ts +296 -0
- package/src/vtn/registry/check/0.1/payload.ts +365 -0
- package/src/vtn/registry/status/0.1/payload.ts +502 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtn/registry/status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,IAAI,GAAG,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAGjF;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,SAAS,EAAE,SAAS,GAAG,kBAAkB,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,GAAG,EAAE,MAAM,EAAE,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtn/registry/status/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtn/registry/status/0.1";
|
|
7
|
+
/**
|
|
8
|
+
* The earlier version of this specification that this one declares it
|
|
9
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
10
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
11
|
+
* `extendsChain` / `readForSpec`.
|
|
12
|
+
*/
|
|
13
|
+
export const EXTENDS = null;
|
|
14
|
+
/**
|
|
15
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
16
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
17
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
18
|
+
* Versions").
|
|
19
|
+
*/
|
|
20
|
+
export const DEPRECATION = null;
|
|
21
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
22
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtn/registry/status/0.1#response";
|
|
23
|
+
/**
|
|
24
|
+
* This specification's payload schema, as a value.
|
|
25
|
+
*
|
|
26
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
27
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
28
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
29
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
30
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
31
|
+
*/
|
|
32
|
+
export const PAYLOAD_SCHEMA = {
|
|
33
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
34
|
+
"$id": "https://trusttasks.org/spec/vtn/registry/status/0.1",
|
|
35
|
+
"title": "VTN Registry — Status — payload",
|
|
36
|
+
"description": "An administrator's request for how the network's membership stands in its trust registry. The outer document members are owned by the framework — SPEC §6.3.",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"properties": {
|
|
40
|
+
"ext": {
|
|
41
|
+
"$ref": "#/$defs/Ext"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"$defs": {
|
|
45
|
+
"Sync": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": [
|
|
49
|
+
"expected",
|
|
50
|
+
"put",
|
|
51
|
+
"deleted",
|
|
52
|
+
"failed"
|
|
53
|
+
],
|
|
54
|
+
"properties": {
|
|
55
|
+
"reconciledAt": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"format": "date-time",
|
|
58
|
+
"description": "When the reconcile ran."
|
|
59
|
+
},
|
|
60
|
+
"expected": {
|
|
61
|
+
"type": "integer",
|
|
62
|
+
"minimum": 0,
|
|
63
|
+
"description": "Records the entries project."
|
|
64
|
+
},
|
|
65
|
+
"put": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"description": "Records written, by party."
|
|
71
|
+
},
|
|
72
|
+
"deleted": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"description": "Records deleted, as `party action`."
|
|
78
|
+
},
|
|
79
|
+
"failed": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"description": "Writes that failed, as `party: why`."
|
|
85
|
+
},
|
|
86
|
+
"blocked": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Why nothing could be written at all, when so."
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"Row": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"additionalProperties": false,
|
|
95
|
+
"required": [
|
|
96
|
+
"did",
|
|
97
|
+
"result"
|
|
98
|
+
],
|
|
99
|
+
"properties": {
|
|
100
|
+
"did": {
|
|
101
|
+
"$ref": "#/$defs/Did"
|
|
102
|
+
},
|
|
103
|
+
"projected": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "The action the entries project, if any."
|
|
106
|
+
},
|
|
107
|
+
"held": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"description": "The action the registry holds, if any."
|
|
110
|
+
},
|
|
111
|
+
"result": {
|
|
112
|
+
"enum": [
|
|
113
|
+
"ok",
|
|
114
|
+
"missing",
|
|
115
|
+
"stale",
|
|
116
|
+
"wrong"
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"Response": {
|
|
122
|
+
"$anchor": "response",
|
|
123
|
+
"title": "VTN Registry — Status — response payload",
|
|
124
|
+
"type": "object",
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"required": [
|
|
127
|
+
"registry",
|
|
128
|
+
"authority",
|
|
129
|
+
"resource",
|
|
130
|
+
"actions",
|
|
131
|
+
"publishes",
|
|
132
|
+
"writer",
|
|
133
|
+
"connected",
|
|
134
|
+
"reachable"
|
|
135
|
+
],
|
|
136
|
+
"properties": {
|
|
137
|
+
"registry": {
|
|
138
|
+
"$ref": "#/$defs/Did"
|
|
139
|
+
},
|
|
140
|
+
"authority": {
|
|
141
|
+
"$ref": "#/$defs/Did"
|
|
142
|
+
},
|
|
143
|
+
"resource": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"minLength": 1
|
|
146
|
+
},
|
|
147
|
+
"actions": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"additionalProperties": false,
|
|
150
|
+
"required": [
|
|
151
|
+
"member",
|
|
152
|
+
"listed"
|
|
153
|
+
],
|
|
154
|
+
"properties": {
|
|
155
|
+
"member": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"minLength": 1
|
|
158
|
+
},
|
|
159
|
+
"listed": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"minLength": 1
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"publishes": {
|
|
166
|
+
"enum": [
|
|
167
|
+
"members",
|
|
168
|
+
"membersAndListed"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"writer": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"maxLength": 1024
|
|
174
|
+
},
|
|
175
|
+
"connected": {
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"lastSync": {
|
|
179
|
+
"$ref": "#/$defs/Sync"
|
|
180
|
+
},
|
|
181
|
+
"reachable": {
|
|
182
|
+
"type": "boolean"
|
|
183
|
+
},
|
|
184
|
+
"records": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"items": {
|
|
187
|
+
"$ref": "#/$defs/Row"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"reason": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"maxLength": 1024
|
|
193
|
+
},
|
|
194
|
+
"ext": {
|
|
195
|
+
"$ref": "#/$defs/Ext"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"Ext": {
|
|
200
|
+
"title": "Ext",
|
|
201
|
+
"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.",
|
|
202
|
+
"type": "object",
|
|
203
|
+
"minProperties": 1,
|
|
204
|
+
"additionalProperties": true,
|
|
205
|
+
"propertyNames": {
|
|
206
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"Did": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"pattern": "^did:[a-z0-9]+:.+$",
|
|
212
|
+
"maxLength": 2048,
|
|
213
|
+
"description": "A DID."
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
218
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
219
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
220
|
+
"$ref": "#/$defs/Response",
|
|
221
|
+
"$defs": {
|
|
222
|
+
"Sync": {
|
|
223
|
+
"type": "object",
|
|
224
|
+
"additionalProperties": false,
|
|
225
|
+
"required": [
|
|
226
|
+
"expected",
|
|
227
|
+
"put",
|
|
228
|
+
"deleted",
|
|
229
|
+
"failed"
|
|
230
|
+
],
|
|
231
|
+
"properties": {
|
|
232
|
+
"reconciledAt": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"format": "date-time",
|
|
235
|
+
"description": "When the reconcile ran."
|
|
236
|
+
},
|
|
237
|
+
"expected": {
|
|
238
|
+
"type": "integer",
|
|
239
|
+
"minimum": 0,
|
|
240
|
+
"description": "Records the entries project."
|
|
241
|
+
},
|
|
242
|
+
"put": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
"description": "Records written, by party."
|
|
248
|
+
},
|
|
249
|
+
"deleted": {
|
|
250
|
+
"type": "array",
|
|
251
|
+
"items": {
|
|
252
|
+
"type": "string"
|
|
253
|
+
},
|
|
254
|
+
"description": "Records deleted, as `party action`."
|
|
255
|
+
},
|
|
256
|
+
"failed": {
|
|
257
|
+
"type": "array",
|
|
258
|
+
"items": {
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
"description": "Writes that failed, as `party: why`."
|
|
262
|
+
},
|
|
263
|
+
"blocked": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"description": "Why nothing could be written at all, when so."
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"Row": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"additionalProperties": false,
|
|
272
|
+
"required": [
|
|
273
|
+
"did",
|
|
274
|
+
"result"
|
|
275
|
+
],
|
|
276
|
+
"properties": {
|
|
277
|
+
"did": {
|
|
278
|
+
"$ref": "#/$defs/Did"
|
|
279
|
+
},
|
|
280
|
+
"projected": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"description": "The action the entries project, if any."
|
|
283
|
+
},
|
|
284
|
+
"held": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"description": "The action the registry holds, if any."
|
|
287
|
+
},
|
|
288
|
+
"result": {
|
|
289
|
+
"enum": [
|
|
290
|
+
"ok",
|
|
291
|
+
"missing",
|
|
292
|
+
"stale",
|
|
293
|
+
"wrong"
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"Response": {
|
|
299
|
+
"$anchor": "response",
|
|
300
|
+
"title": "VTN Registry — Status — response payload",
|
|
301
|
+
"type": "object",
|
|
302
|
+
"additionalProperties": false,
|
|
303
|
+
"required": [
|
|
304
|
+
"registry",
|
|
305
|
+
"authority",
|
|
306
|
+
"resource",
|
|
307
|
+
"actions",
|
|
308
|
+
"publishes",
|
|
309
|
+
"writer",
|
|
310
|
+
"connected",
|
|
311
|
+
"reachable"
|
|
312
|
+
],
|
|
313
|
+
"properties": {
|
|
314
|
+
"registry": {
|
|
315
|
+
"$ref": "#/$defs/Did"
|
|
316
|
+
},
|
|
317
|
+
"authority": {
|
|
318
|
+
"$ref": "#/$defs/Did"
|
|
319
|
+
},
|
|
320
|
+
"resource": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"minLength": 1
|
|
323
|
+
},
|
|
324
|
+
"actions": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"additionalProperties": false,
|
|
327
|
+
"required": [
|
|
328
|
+
"member",
|
|
329
|
+
"listed"
|
|
330
|
+
],
|
|
331
|
+
"properties": {
|
|
332
|
+
"member": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"minLength": 1
|
|
335
|
+
},
|
|
336
|
+
"listed": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"minLength": 1
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"publishes": {
|
|
343
|
+
"enum": [
|
|
344
|
+
"members",
|
|
345
|
+
"membersAndListed"
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
"writer": {
|
|
349
|
+
"type": "string",
|
|
350
|
+
"maxLength": 1024
|
|
351
|
+
},
|
|
352
|
+
"connected": {
|
|
353
|
+
"type": "boolean"
|
|
354
|
+
},
|
|
355
|
+
"lastSync": {
|
|
356
|
+
"$ref": "#/$defs/Sync"
|
|
357
|
+
},
|
|
358
|
+
"reachable": {
|
|
359
|
+
"type": "boolean"
|
|
360
|
+
},
|
|
361
|
+
"records": {
|
|
362
|
+
"type": "array",
|
|
363
|
+
"items": {
|
|
364
|
+
"$ref": "#/$defs/Row"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"reason": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"maxLength": 1024
|
|
370
|
+
},
|
|
371
|
+
"ext": {
|
|
372
|
+
"$ref": "#/$defs/Ext"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"Ext": {
|
|
377
|
+
"title": "Ext",
|
|
378
|
+
"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.",
|
|
379
|
+
"type": "object",
|
|
380
|
+
"minProperties": 1,
|
|
381
|
+
"additionalProperties": true,
|
|
382
|
+
"propertyNames": {
|
|
383
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"Did": {
|
|
387
|
+
"type": "string",
|
|
388
|
+
"pattern": "^did:[a-z0-9]+:.+$",
|
|
389
|
+
"maxLength": 2048,
|
|
390
|
+
"description": "A DID."
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
396
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
397
|
+
* per-specification and cannot be derived from the document alone, and
|
|
398
|
+
* item 2 needs the schema this carries.
|
|
399
|
+
*/
|
|
400
|
+
export const SPEC = {
|
|
401
|
+
typeUri: TYPE_URI,
|
|
402
|
+
isBearer: false,
|
|
403
|
+
isProofRequired: true,
|
|
404
|
+
isRecipientRequired: true,
|
|
405
|
+
isIssuedAtRequired: false,
|
|
406
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
410
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
411
|
+
* parties (§7.3 item 5).
|
|
412
|
+
*/
|
|
413
|
+
export const RESPONSE_SPEC = {
|
|
414
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
415
|
+
isBearer: false,
|
|
416
|
+
isProofRequired: true,
|
|
417
|
+
isRecipientRequired: true,
|
|
418
|
+
isIssuedAtRequired: false,
|
|
419
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
420
|
+
};
|
|
421
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtn/registry/status/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAEvF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAkB,IAAI,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAkB,IAAI,CAAC;AAK/C,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,iCAAiC;IAC1C,aAAa,EAAE,8JAA8J;IAC7K,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,UAAU;gBACV,KAAK;gBACL,SAAS;gBACT,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE;oBACd,MAAM,EAAE,QAAQ;oBAChB,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,yBAAyB;iBACzC;gBACD,UAAU,EAAE;oBACV,MAAM,EAAE,SAAS;oBACjB,SAAS,EAAE,CAAC;oBACZ,aAAa,EAAE,8BAA8B;iBAC9C;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;qBACjB;oBACD,aAAa,EAAE,4BAA4B;iBAC5C;gBACD,SAAS,EAAE;oBACT,M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ACD,QAAQ,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,IAAI;iBAClB;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;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;QACD,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,oBAAoB;YAC/B,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,QAAQ;SACxB;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"}
|
package/package.json
CHANGED
|
@@ -1274,7 +1274,7 @@ export type NamespaceId = string;
|
|
|
1274
1274
|
*/
|
|
1275
1275
|
export type NodeKind = "network" | "community";
|
|
1276
1276
|
/**
|
|
1277
|
-
* Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, the VTA's operator has
|
|
1277
|
+
* Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, collection by default is disabled for the identifier's trust context — by the context's own setting, or because the VTA's operator has suspended it for every context — so the VTA collects for no identifier there that a client has not claimed (VTI-NTF-097, VTI-NTF-098); vta/collection/settings/show says which.
|
|
1278
1278
|
*/
|
|
1279
1279
|
export type NotCollectedReason = "limit" | "conflict" | "disabled";
|
|
1280
1280
|
/**
|
|
@@ -6735,6 +6735,31 @@ export interface CollectionEntry {
|
|
|
6735
6735
|
claim?: Claim;
|
|
6736
6736
|
notCollectedReason?: NotCollectedReason;
|
|
6737
6737
|
}
|
|
6738
|
+
/**
|
|
6739
|
+
* Whether the VTA collects by default for the identifiers of one trust context that no client has claimed (VTI-NTF-094 – VTI-NTF-098), and who last changed that. The VTA collects for them exactly when `collectByDefault` is true and `suspendedByOperator` is false. `changedBy` and `changedAt` are present together, and both absent while the setting has never been changed.
|
|
6740
|
+
*/
|
|
6741
|
+
export interface CollectionSetting {
|
|
6742
|
+
/**
|
|
6743
|
+
* The trust context the setting belongs to. It applies to that context's identifiers alone, not to its ancestors' or descendants' (VTI-NTF-094).
|
|
6744
|
+
*/
|
|
6745
|
+
contextId: ContextId_VtaCollectionV0_1;
|
|
6746
|
+
/**
|
|
6747
|
+
* The context's own setting: true unless a party with administrative authority over the context has disabled it (VTI-NTF-094, VTI-NTF-095). The VTA keeps it across restarts.
|
|
6748
|
+
*/
|
|
6749
|
+
collectByDefault: boolean;
|
|
6750
|
+
/**
|
|
6751
|
+
* Whether the VTA's operator has suspended collection by default for every context (VTI-NTF-098). While true, the VTA collects for no unclaimed identifier here whatever `collectByDefault` says, and does not change it; once lifted, `collectByDefault` applies again. Always false at a VTA that offers its operator no suspension.
|
|
6752
|
+
*/
|
|
6753
|
+
suspendedByOperator: boolean;
|
|
6754
|
+
/**
|
|
6755
|
+
* The subject of the access control entry that last changed `collectByDefault` (VTI-NTF-096).
|
|
6756
|
+
*/
|
|
6757
|
+
changedBy?: Did_NotificationsV0_1;
|
|
6758
|
+
/**
|
|
6759
|
+
* When `collectByDefault` was last changed.
|
|
6760
|
+
*/
|
|
6761
|
+
changedAt?: string;
|
|
6762
|
+
}
|
|
6738
6763
|
/**
|
|
6739
6764
|
* OPTIONAL. How the community asks to be shown to a prospective applicant: a name, an accent colour and a logo. Presentation only, self-asserted and unverified — `communityDid` identifies the community, never `branding`. Not part of any criterion, so not covered by a `requirementsDigest`. Every member is optional.
|
|
6740
6765
|
*/
|
package/src/index.ts
CHANGED
|
@@ -2394,6 +2394,12 @@ export import VtaCollectionList_v0_1 = _VtaCollectionList_v0_1;
|
|
|
2394
2394
|
import * as _VtaCollectionRelease_v0_1 from "./vta/collection/release/0.1/payload.js";
|
|
2395
2395
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2396
2396
|
export import VtaCollectionRelease_v0_1 = _VtaCollectionRelease_v0_1;
|
|
2397
|
+
import * as _VtaCollectionSettingsSet_v0_1 from "./vta/collection/settings/set/0.1/payload.js";
|
|
2398
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2399
|
+
export import VtaCollectionSettingsSet_v0_1 = _VtaCollectionSettingsSet_v0_1;
|
|
2400
|
+
import * as _VtaCollectionSettingsShow_v0_1 from "./vta/collection/settings/show/0.1/payload.js";
|
|
2401
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2402
|
+
export import VtaCollectionSettingsShow_v0_1 = _VtaCollectionSettingsShow_v0_1;
|
|
2397
2403
|
import * as _VtaContextsCreate_v1_0 from "./vta/contexts/create/1.0/payload.js";
|
|
2398
2404
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2399
2405
|
export import VtaContextsCreate_v1_0 = _VtaContextsCreate_v1_0;
|
|
@@ -4317,6 +4323,12 @@ export import VtnOutboxList_v0_1 = _VtnOutboxList_v0_1;
|
|
|
4317
4323
|
import * as _VtnOutboxRetry_v0_1 from "./vtn/outbox/retry/0.1/payload.js";
|
|
4318
4324
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4319
4325
|
export import VtnOutboxRetry_v0_1 = _VtnOutboxRetry_v0_1;
|
|
4326
|
+
import * as _VtnRegistryCheck_v0_1 from "./vtn/registry/check/0.1/payload.js";
|
|
4327
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4328
|
+
export import VtnRegistryCheck_v0_1 = _VtnRegistryCheck_v0_1;
|
|
4329
|
+
import * as _VtnRegistryStatus_v0_1 from "./vtn/registry/status/0.1/payload.js";
|
|
4330
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4331
|
+
export import VtnRegistryStatus_v0_1 = _VtnRegistryStatus_v0_1;
|
|
4320
4332
|
import * as _VtnRelayDeliver_v0_1 from "./vtn/relay/deliver/0.1/payload.js";
|
|
4321
4333
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
4322
4334
|
export import VtnRelayDeliver_v0_1 = _VtnRelayDeliver_v0_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Shared shapes for the collection of messages for a principal's identifiers. A VTA collects, from the mediator each identifier's DID document advertises, the messages queued for every identifier whose messaging keys it holds in one of the principal's trust contexts — its personas — unless a client of the principal holds a collection claim for it: a lease, granted by vta/collection/claim and ended by vta/collection/release or at its end, under which that client is the identifier's one collector. The mediator permits one connection per identifier, so at most one party collects for an identifier at a time (VTI-NTF-080 – VTI-NTF-092).
|
|
7
|
+
* Shared shapes for the collection of messages for a principal's identifiers. A VTA collects, from the mediator each identifier's DID document advertises, the messages queued for every identifier whose messaging keys it holds in one of the principal's trust contexts — its personas — unless a client of the principal holds a collection claim for it: a lease, granted by vta/collection/claim and ended by vta/collection/release or at its end, under which that client is the identifier's one collector. The mediator permits one connection per identifier, so at most one party collects for an identifier at a time (VTI-NTF-080 – VTI-NTF-092). Whether the VTA collects by default for the unclaimed identifiers of a trust context is that context's own setting, enabled unless a context administrator disables it with vta/collection/settings/set (VTI-NTF-094 – VTI-NTF-098).
|
|
8
8
|
*/
|
|
9
9
|
export interface VTACollectionSharedDefinitions {
|
|
10
10
|
[k: string]: unknown | undefined;
|
|
@@ -14,4 +14,4 @@ export interface VTACollectionSharedDefinitions {
|
|
|
14
14
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
15
15
|
* See "../../../../_shared/components.js".
|
|
16
16
|
*/
|
|
17
|
-
export type { Claim, CollectionEntry, Collector, ContextId_VtaCollectionV0_1 as ContextId, Did_NotificationsV0_1 as Did, NotCollectedReason } from "../../../../_shared/components.js";
|
|
17
|
+
export type { Claim, CollectionEntry, CollectionSetting, Collector, ContextId_VtaCollectionV0_1 as ContextId, Did_NotificationsV0_1 as Did, NotCollectedReason } from "../../../../_shared/components.js";
|
|
@@ -220,7 +220,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
220
220
|
},
|
|
221
221
|
"NotCollectedReason": {
|
|
222
222
|
"title": "NotCollectedReason",
|
|
223
|
-
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, the VTA's operator has
|
|
223
|
+
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, collection by default is disabled for the identifier's trust context — by the context's own setting, or because the VTA's operator has suspended it for every context — so the VTA collects for no identifier there that a client has not claimed (VTI-NTF-097, VTI-NTF-098); vta/collection/settings/show says which.",
|
|
224
224
|
"type": "string",
|
|
225
225
|
"enum": [
|
|
226
226
|
"limit",
|
|
@@ -398,7 +398,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
398
398
|
},
|
|
399
399
|
"NotCollectedReason": {
|
|
400
400
|
"title": "NotCollectedReason",
|
|
401
|
-
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, the VTA's operator has
|
|
401
|
+
"description": "Why nobody collects for an identifier the VTA would otherwise collect for: `limit`, the VTA is at the bound it states on the number of identifiers it collects for (VTI-NTF-088); `conflict`, another connection for the identifier kept closing the VTA's, and the VTA stopped after the bound it states until the conflict is resolved (VTI-NTF-085). `disabled`, collection by default is disabled for the identifier's trust context — by the context's own setting, or because the VTA's operator has suspended it for every context — so the VTA collects for no identifier there that a client has not claimed (VTI-NTF-097, VTI-NTF-098); vta/collection/settings/show says which.",
|
|
402
402
|
"type": "string",
|
|
403
403
|
"enum": [
|
|
404
404
|
"limit",
|