@openvtc/trust-tasks 0.28.15 → 0.28.17
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 +31 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.3/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.4/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.4/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.5/payload.d.ts +4 -4
- package/dist/vta/pcs/voter/read/0.5/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.6/payload.d.ts +14 -2
- package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -1
- package/dist/vta/pcs/voter/read/0.6/payload.js +1 -1
- package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -1
- package/dist/vta/pcs/voter/read/0.7/payload.d.ts +561 -0
- package/dist/vta/pcs/voter/read/0.7/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/read/0.7/payload.js +315 -0
- package/dist/vta/pcs/voter/read/0.7/payload.js.map +1 -0
- package/dist/vta/pcs/voter/receipts/list/0.1/payload.d.ts +359 -0
- package/dist/vta/pcs/voter/receipts/list/0.1/payload.d.ts.map +1 -0
- package/dist/vta/pcs/voter/receipts/list/0.1/payload.js +203 -0
- package/dist/vta/pcs/voter/receipts/list/0.1/payload.js.map +1 -0
- package/dist/vtc/boards/facilitators/add/0.1/payload.d.ts +351 -0
- package/dist/vtc/boards/facilitators/add/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/boards/facilitators/add/0.1/payload.js +198 -0
- package/dist/vtc/boards/facilitators/add/0.1/payload.js.map +1 -0
- package/dist/vtc/boards/facilitators/list/0.1/payload.d.ts +448 -0
- package/dist/vtc/boards/facilitators/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/boards/facilitators/list/0.1/payload.js +245 -0
- package/dist/vtc/boards/facilitators/list/0.1/payload.js.map +1 -0
- package/dist/vtc/boards/facilitators/remove/0.1/payload.d.ts +351 -0
- package/dist/vtc/boards/facilitators/remove/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/boards/facilitators/remove/0.1/payload.js +198 -0
- package/dist/vtc/boards/facilitators/remove/0.1/payload.js.map +1 -0
- package/dist/vtc/networks/preview/0.1/payload.d.ts +696 -0
- package/dist/vtc/networks/preview/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/networks/preview/0.1/payload.js +376 -0
- package/dist/vtc/networks/preview/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +18 -0
- package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.3/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.4/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.5/payload.ts +5 -5
- package/src/vta/pcs/voter/read/0.6/payload.ts +15 -3
- package/src/vta/pcs/voter/read/0.7/payload.ts +404 -0
- package/src/vta/pcs/voter/receipts/list/0.1/payload.ts +255 -0
- package/src/vtc/boards/facilitators/add/0.1/payload.ts +246 -0
- package/src/vtc/boards/facilitators/list/0.1/payload.ts +306 -0
- package/src/vtc/boards/facilitators/remove/0.1/payload.ts +246 -0
- package/src/vtc/networks/preview/0.1/payload.ts +483 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/networks/preview/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GA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@@ -0,0 +1,376 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/networks/preview/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtc/networks/preview/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/vtc/networks/preview/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/vtc/networks/preview/0.1",
|
|
35
|
+
"title": "VTC Networks — Preview — payload",
|
|
36
|
+
"description": "Read a network before joining it: what it says about itself, the roles it requires a group for, and whether it lists the community. The outer document members are owned by the framework — SPEC §6.3.",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": [
|
|
40
|
+
"url"
|
|
41
|
+
],
|
|
42
|
+
"properties": {
|
|
43
|
+
"url": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"format": "uri",
|
|
46
|
+
"maxLength": 2048,
|
|
47
|
+
"description": "The network's API base, as the network's administrators gave it."
|
|
48
|
+
},
|
|
49
|
+
"network": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"pattern": "^did:[a-z0-9]+:.+$",
|
|
52
|
+
"maxLength": 2048,
|
|
53
|
+
"description": "The DID the administrator expects at `url`. When present, the community refuses if the network found there answers as another DID."
|
|
54
|
+
},
|
|
55
|
+
"ext": {
|
|
56
|
+
"$ref": "#/$defs/Ext"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"$defs": {
|
|
60
|
+
"Role": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"required": [
|
|
64
|
+
"name",
|
|
65
|
+
"required"
|
|
66
|
+
],
|
|
67
|
+
"properties": {
|
|
68
|
+
"name": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"minLength": 1,
|
|
71
|
+
"maxLength": 64,
|
|
72
|
+
"description": "The role's name, as `vtc/networks/join` assigns a group to it."
|
|
73
|
+
},
|
|
74
|
+
"required": {
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "Whether the network admits a member only once a group is registered for this role."
|
|
77
|
+
},
|
|
78
|
+
"description": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"maxLength": 1024,
|
|
81
|
+
"description": "What the network uses the role for."
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"Framework": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"additionalProperties": false,
|
|
88
|
+
"required": [
|
|
89
|
+
"iri",
|
|
90
|
+
"version"
|
|
91
|
+
],
|
|
92
|
+
"properties": {
|
|
93
|
+
"iri": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"maxLength": 2048,
|
|
96
|
+
"description": "The network's governance framework."
|
|
97
|
+
},
|
|
98
|
+
"version": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"maxLength": 64,
|
|
101
|
+
"description": "The framework version the network operates under."
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"Response": {
|
|
106
|
+
"$anchor": "response",
|
|
107
|
+
"title": "VTC Networks — Preview — response payload",
|
|
108
|
+
"description": "The network, as the community found it at `url`, and where the community stands with it.",
|
|
109
|
+
"type": "object",
|
|
110
|
+
"additionalProperties": false,
|
|
111
|
+
"required": [
|
|
112
|
+
"network",
|
|
113
|
+
"url",
|
|
114
|
+
"name",
|
|
115
|
+
"roles",
|
|
116
|
+
"listed"
|
|
117
|
+
],
|
|
118
|
+
"properties": {
|
|
119
|
+
"network": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"pattern": "^did:[a-z0-9]+:.+$",
|
|
122
|
+
"maxLength": 2048,
|
|
123
|
+
"description": "The DID the network at `url` answers as."
|
|
124
|
+
},
|
|
125
|
+
"url": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"format": "uri",
|
|
128
|
+
"maxLength": 2048,
|
|
129
|
+
"description": "The URL the network was read at."
|
|
130
|
+
},
|
|
131
|
+
"name": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"maxLength": 256,
|
|
134
|
+
"description": "The network's name, from its profile."
|
|
135
|
+
},
|
|
136
|
+
"description": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"maxLength": 4096,
|
|
139
|
+
"description": "The network's description, from its profile."
|
|
140
|
+
},
|
|
141
|
+
"owner": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"maxLength": 512,
|
|
144
|
+
"description": "The network's identified owner (VTI-VTN-002), from its profile."
|
|
145
|
+
},
|
|
146
|
+
"framework": {
|
|
147
|
+
"$ref": "#/$defs/Framework"
|
|
148
|
+
},
|
|
149
|
+
"roles": {
|
|
150
|
+
"type": "array",
|
|
151
|
+
"maxItems": 64,
|
|
152
|
+
"items": {
|
|
153
|
+
"$ref": "#/$defs/Role"
|
|
154
|
+
},
|
|
155
|
+
"description": "The roles the network asks members to register a group for. `vtc/networks/join` must assign a group to each one marked `required`."
|
|
156
|
+
},
|
|
157
|
+
"listed": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"description": "`true` only when the network holds an entry for the community whose listing verifies as the network's and lists the community as a community."
|
|
160
|
+
},
|
|
161
|
+
"entryState": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"enum": [
|
|
164
|
+
"listed",
|
|
165
|
+
"acknowledged",
|
|
166
|
+
"repudiated",
|
|
167
|
+
"suspended"
|
|
168
|
+
],
|
|
169
|
+
"description": "The network's state for the community's entry, when it holds a published one: `listed` (not yet acknowledged), `acknowledged` (a member), `repudiated` (the community rejected the listing) or `suspended`."
|
|
170
|
+
},
|
|
171
|
+
"notListedReason": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"maxLength": 1024,
|
|
174
|
+
"description": "Why `listed` is `false`, in words for an administrator."
|
|
175
|
+
},
|
|
176
|
+
"membershipState": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"enum": [
|
|
179
|
+
"acknowledged",
|
|
180
|
+
"repudiated",
|
|
181
|
+
"departed"
|
|
182
|
+
],
|
|
183
|
+
"description": "The community's own record of the membership, when it holds one (`vtc/networks/show`)."
|
|
184
|
+
},
|
|
185
|
+
"ext": {
|
|
186
|
+
"$ref": "#/$defs/Ext"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"Ext": {
|
|
191
|
+
"title": "Ext",
|
|
192
|
+
"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.",
|
|
193
|
+
"type": "object",
|
|
194
|
+
"minProperties": 1,
|
|
195
|
+
"additionalProperties": true,
|
|
196
|
+
"propertyNames": {
|
|
197
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
203
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
204
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
205
|
+
"$ref": "#/$defs/Response",
|
|
206
|
+
"$defs": {
|
|
207
|
+
"Role": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"additionalProperties": false,
|
|
210
|
+
"required": [
|
|
211
|
+
"name",
|
|
212
|
+
"required"
|
|
213
|
+
],
|
|
214
|
+
"properties": {
|
|
215
|
+
"name": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"minLength": 1,
|
|
218
|
+
"maxLength": 64,
|
|
219
|
+
"description": "The role's name, as `vtc/networks/join` assigns a group to it."
|
|
220
|
+
},
|
|
221
|
+
"required": {
|
|
222
|
+
"type": "boolean",
|
|
223
|
+
"description": "Whether the network admits a member only once a group is registered for this role."
|
|
224
|
+
},
|
|
225
|
+
"description": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"maxLength": 1024,
|
|
228
|
+
"description": "What the network uses the role for."
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"Framework": {
|
|
233
|
+
"type": "object",
|
|
234
|
+
"additionalProperties": false,
|
|
235
|
+
"required": [
|
|
236
|
+
"iri",
|
|
237
|
+
"version"
|
|
238
|
+
],
|
|
239
|
+
"properties": {
|
|
240
|
+
"iri": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"maxLength": 2048,
|
|
243
|
+
"description": "The network's governance framework."
|
|
244
|
+
},
|
|
245
|
+
"version": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"maxLength": 64,
|
|
248
|
+
"description": "The framework version the network operates under."
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"Response": {
|
|
253
|
+
"$anchor": "response",
|
|
254
|
+
"title": "VTC Networks — Preview — response payload",
|
|
255
|
+
"description": "The network, as the community found it at `url`, and where the community stands with it.",
|
|
256
|
+
"type": "object",
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"required": [
|
|
259
|
+
"network",
|
|
260
|
+
"url",
|
|
261
|
+
"name",
|
|
262
|
+
"roles",
|
|
263
|
+
"listed"
|
|
264
|
+
],
|
|
265
|
+
"properties": {
|
|
266
|
+
"network": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"pattern": "^did:[a-z0-9]+:.+$",
|
|
269
|
+
"maxLength": 2048,
|
|
270
|
+
"description": "The DID the network at `url` answers as."
|
|
271
|
+
},
|
|
272
|
+
"url": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"format": "uri",
|
|
275
|
+
"maxLength": 2048,
|
|
276
|
+
"description": "The URL the network was read at."
|
|
277
|
+
},
|
|
278
|
+
"name": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"maxLength": 256,
|
|
281
|
+
"description": "The network's name, from its profile."
|
|
282
|
+
},
|
|
283
|
+
"description": {
|
|
284
|
+
"type": "string",
|
|
285
|
+
"maxLength": 4096,
|
|
286
|
+
"description": "The network's description, from its profile."
|
|
287
|
+
},
|
|
288
|
+
"owner": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"maxLength": 512,
|
|
291
|
+
"description": "The network's identified owner (VTI-VTN-002), from its profile."
|
|
292
|
+
},
|
|
293
|
+
"framework": {
|
|
294
|
+
"$ref": "#/$defs/Framework"
|
|
295
|
+
},
|
|
296
|
+
"roles": {
|
|
297
|
+
"type": "array",
|
|
298
|
+
"maxItems": 64,
|
|
299
|
+
"items": {
|
|
300
|
+
"$ref": "#/$defs/Role"
|
|
301
|
+
},
|
|
302
|
+
"description": "The roles the network asks members to register a group for. `vtc/networks/join` must assign a group to each one marked `required`."
|
|
303
|
+
},
|
|
304
|
+
"listed": {
|
|
305
|
+
"type": "boolean",
|
|
306
|
+
"description": "`true` only when the network holds an entry for the community whose listing verifies as the network's and lists the community as a community."
|
|
307
|
+
},
|
|
308
|
+
"entryState": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"enum": [
|
|
311
|
+
"listed",
|
|
312
|
+
"acknowledged",
|
|
313
|
+
"repudiated",
|
|
314
|
+
"suspended"
|
|
315
|
+
],
|
|
316
|
+
"description": "The network's state for the community's entry, when it holds a published one: `listed` (not yet acknowledged), `acknowledged` (a member), `repudiated` (the community rejected the listing) or `suspended`."
|
|
317
|
+
},
|
|
318
|
+
"notListedReason": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"maxLength": 1024,
|
|
321
|
+
"description": "Why `listed` is `false`, in words for an administrator."
|
|
322
|
+
},
|
|
323
|
+
"membershipState": {
|
|
324
|
+
"type": "string",
|
|
325
|
+
"enum": [
|
|
326
|
+
"acknowledged",
|
|
327
|
+
"repudiated",
|
|
328
|
+
"departed"
|
|
329
|
+
],
|
|
330
|
+
"description": "The community's own record of the membership, when it holds one (`vtc/networks/show`)."
|
|
331
|
+
},
|
|
332
|
+
"ext": {
|
|
333
|
+
"$ref": "#/$defs/Ext"
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"Ext": {
|
|
338
|
+
"title": "Ext",
|
|
339
|
+
"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.",
|
|
340
|
+
"type": "object",
|
|
341
|
+
"minProperties": 1,
|
|
342
|
+
"additionalProperties": true,
|
|
343
|
+
"propertyNames": {
|
|
344
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
351
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
352
|
+
* per-specification and cannot be derived from the document alone, and
|
|
353
|
+
* item 2 needs the schema this carries.
|
|
354
|
+
*/
|
|
355
|
+
export const SPEC = {
|
|
356
|
+
typeUri: TYPE_URI,
|
|
357
|
+
isBearer: false,
|
|
358
|
+
isProofRequired: true,
|
|
359
|
+
isRecipientRequired: true,
|
|
360
|
+
isIssuedAtRequired: false,
|
|
361
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
365
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
366
|
+
* parties (§7.3 item 5).
|
|
367
|
+
*/
|
|
368
|
+
export const RESPONSE_SPEC = {
|
|
369
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
370
|
+
isBearer: false,
|
|
371
|
+
isProofRequired: true,
|
|
372
|
+
isRecipientRequired: true,
|
|
373
|
+
isIssuedAtRequired: false,
|
|
374
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
375
|
+
};
|
|
376
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/networks/preview/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAgGH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,sDAA+D,CAAC;AAExF;;;;;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,+DAAwE,CAAC;AAK1G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,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e,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2769,9 +2769,15 @@ export import VtaPcsVoterRead_v0_5 = _VtaPcsVoterRead_v0_5;
|
|
|
2769
2769
|
import * as _VtaPcsVoterRead_v0_6 from "./vta/pcs/voter/read/0.6/payload.js";
|
|
2770
2770
|
/** @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). */
|
|
2771
2771
|
export import VtaPcsVoterRead_v0_6 = _VtaPcsVoterRead_v0_6;
|
|
2772
|
+
import * as _VtaPcsVoterRead_v0_7 from "./vta/pcs/voter/read/0.7/payload.js";
|
|
2773
|
+
/** @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). */
|
|
2774
|
+
export import VtaPcsVoterRead_v0_7 = _VtaPcsVoterRead_v0_7;
|
|
2772
2775
|
import * as _VtaPcsVoterReceipt_v0_1 from "./vta/pcs/voter/receipt/0.1/payload.js";
|
|
2773
2776
|
/** @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). */
|
|
2774
2777
|
export import VtaPcsVoterReceipt_v0_1 = _VtaPcsVoterReceipt_v0_1;
|
|
2778
|
+
import * as _VtaPcsVoterReceiptsList_v0_1 from "./vta/pcs/voter/receipts/list/0.1/payload.js";
|
|
2779
|
+
/** @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). */
|
|
2780
|
+
export import VtaPcsVoterReceiptsList_v0_1 = _VtaPcsVoterReceiptsList_v0_1;
|
|
2775
2781
|
import * as _VtaPcsVoterRegister_v0_1 from "./vta/pcs/voter/register/0.1/payload.js";
|
|
2776
2782
|
/** @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). */
|
|
2777
2783
|
export import VtaPcsVoterRegister_v0_1 = _VtaPcsVoterRegister_v0_1;
|
|
@@ -3201,6 +3207,15 @@ export import VtcBoardsCreate_v0_1 = _VtcBoardsCreate_v0_1;
|
|
|
3201
3207
|
import * as _VtcBoardsDelete_v0_1 from "./vtc/boards/delete/0.1/payload.js";
|
|
3202
3208
|
/** @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). */
|
|
3203
3209
|
export import VtcBoardsDelete_v0_1 = _VtcBoardsDelete_v0_1;
|
|
3210
|
+
import * as _VtcBoardsFacilitatorsAdd_v0_1 from "./vtc/boards/facilitators/add/0.1/payload.js";
|
|
3211
|
+
/** @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). */
|
|
3212
|
+
export import VtcBoardsFacilitatorsAdd_v0_1 = _VtcBoardsFacilitatorsAdd_v0_1;
|
|
3213
|
+
import * as _VtcBoardsFacilitatorsList_v0_1 from "./vtc/boards/facilitators/list/0.1/payload.js";
|
|
3214
|
+
/** @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). */
|
|
3215
|
+
export import VtcBoardsFacilitatorsList_v0_1 = _VtcBoardsFacilitatorsList_v0_1;
|
|
3216
|
+
import * as _VtcBoardsFacilitatorsRemove_v0_1 from "./vtc/boards/facilitators/remove/0.1/payload.js";
|
|
3217
|
+
/** @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). */
|
|
3218
|
+
export import VtcBoardsFacilitatorsRemove_v0_1 = _VtcBoardsFacilitatorsRemove_v0_1;
|
|
3204
3219
|
import * as _VtcBoardsIdeasDecide_v0_1 from "./vtc/boards/ideas/decide/0.1/payload.js";
|
|
3205
3220
|
/** @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). */
|
|
3206
3221
|
export import VtcBoardsIdeasDecide_v0_1 = _VtcBoardsIdeasDecide_v0_1;
|
|
@@ -3756,6 +3771,9 @@ export import VtcNetworksList_v0_2 = _VtcNetworksList_v0_2;
|
|
|
3756
3771
|
import * as _VtcNetworksNotice_v0_1 from "./vtc/networks/notice/0.1/payload.js";
|
|
3757
3772
|
/** @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). */
|
|
3758
3773
|
export import VtcNetworksNotice_v0_1 = _VtcNetworksNotice_v0_1;
|
|
3774
|
+
import * as _VtcNetworksPreview_v0_1 from "./vtc/networks/preview/0.1/payload.js";
|
|
3775
|
+
/** @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). */
|
|
3776
|
+
export import VtcNetworksPreview_v0_1 = _VtcNetworksPreview_v0_1;
|
|
3759
3777
|
import * as _VtcNetworksRepudiate_v0_1 from "./vtc/networks/repudiate/0.1/payload.js";
|
|
3760
3778
|
/** @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). */
|
|
3761
3779
|
export import VtcNetworksRepudiate_v0_1 = _VtcNetworksRepudiate_v0_1;
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
12
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
13
13
|
*/
|
|
14
14
|
export interface VTAPCSVoterReadPayload {
|
|
15
15
|
/**
|
|
@@ -37,7 +37,7 @@ export interface VTAPCSVoterReadPayload {
|
|
|
37
37
|
/**
|
|
38
38
|
* The signed read, to send to the community.
|
|
39
39
|
*
|
|
40
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
40
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
41
41
|
*/
|
|
42
42
|
export interface VTAPCSVoterReadResponsePayload {
|
|
43
43
|
document: ReadDocument;
|
|
@@ -89,12 +89,12 @@ export const EXTENDS: string | null = null;
|
|
|
89
89
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
90
90
|
* Versions").
|
|
91
91
|
*/
|
|
92
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.
|
|
92
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.7";
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Stable alias for this specification's request payload shape.
|
|
96
96
|
*
|
|
97
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
97
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
98
98
|
*/
|
|
99
99
|
export type Payload = VTAPCSVoterReadPayload;
|
|
100
100
|
|
|
@@ -104,7 +104,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read
|
|
|
104
104
|
/**
|
|
105
105
|
* Stable alias for this specification's success-response payload shape.
|
|
106
106
|
*
|
|
107
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
107
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
108
108
|
*/
|
|
109
109
|
export type Response = VTAPCSVoterReadResponsePayload;
|
|
110
110
|
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
12
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
13
13
|
*/
|
|
14
14
|
export interface VTAPCSVoterReadPayload {
|
|
15
15
|
/**
|
|
@@ -37,7 +37,7 @@ export interface VTAPCSVoterReadPayload {
|
|
|
37
37
|
/**
|
|
38
38
|
* The signed read, to send to the community.
|
|
39
39
|
*
|
|
40
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
40
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
41
41
|
*/
|
|
42
42
|
export interface VTAPCSVoterReadResponsePayload {
|
|
43
43
|
document: ReadDocument;
|
|
@@ -89,12 +89,12 @@ export const EXTENDS: string | null = null;
|
|
|
89
89
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
90
90
|
* Versions").
|
|
91
91
|
*/
|
|
92
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.
|
|
92
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.7";
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Stable alias for this specification's request payload shape.
|
|
96
96
|
*
|
|
97
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
97
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
98
98
|
*/
|
|
99
99
|
export type Payload = VTAPCSVoterReadPayload;
|
|
100
100
|
|
|
@@ -104,7 +104,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read
|
|
|
104
104
|
/**
|
|
105
105
|
* Stable alias for this specification's success-response payload shape.
|
|
106
106
|
*
|
|
107
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
107
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
108
108
|
*/
|
|
109
109
|
export type Response = VTAPCSVoterReadResponsePayload;
|
|
110
110
|
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
12
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
13
13
|
*/
|
|
14
14
|
export interface VTAPCSVoterReadPayload {
|
|
15
15
|
/**
|
|
@@ -37,7 +37,7 @@ export interface VTAPCSVoterReadPayload {
|
|
|
37
37
|
/**
|
|
38
38
|
* The signed read, to send to the community.
|
|
39
39
|
*
|
|
40
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
40
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
41
41
|
*/
|
|
42
42
|
export interface VTAPCSVoterReadResponsePayload {
|
|
43
43
|
document: ReadDocument;
|
|
@@ -89,12 +89,12 @@ export const EXTENDS: string | null = null;
|
|
|
89
89
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
90
90
|
* Versions").
|
|
91
91
|
*/
|
|
92
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.
|
|
92
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.7";
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Stable alias for this specification's request payload shape.
|
|
96
96
|
*
|
|
97
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
97
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
98
98
|
*/
|
|
99
99
|
export type Payload = VTAPCSVoterReadPayload;
|
|
100
100
|
|
|
@@ -104,7 +104,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read
|
|
|
104
104
|
/**
|
|
105
105
|
* Stable alias for this specification's success-response payload shape.
|
|
106
106
|
*
|
|
107
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
107
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
108
108
|
*/
|
|
109
109
|
export type Response = VTAPCSVoterReadResponsePayload;
|
|
110
110
|
|
|
@@ -9,7 +9,7 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
9
9
|
/**
|
|
10
10
|
* A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key.
|
|
11
11
|
*
|
|
12
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
12
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
13
13
|
*/
|
|
14
14
|
export interface VTAPCSVoterReadPayload {
|
|
15
15
|
/**
|
|
@@ -37,7 +37,7 @@ export interface VTAPCSVoterReadPayload {
|
|
|
37
37
|
/**
|
|
38
38
|
* The signed read, to send to the community.
|
|
39
39
|
*
|
|
40
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
40
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
41
41
|
*/
|
|
42
42
|
export interface VTAPCSVoterReadResponsePayload {
|
|
43
43
|
document: ReadDocument;
|
|
@@ -89,12 +89,12 @@ export const EXTENDS: string | null = null;
|
|
|
89
89
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
90
90
|
* Versions").
|
|
91
91
|
*/
|
|
92
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.
|
|
92
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.7";
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Stable alias for this specification's request payload shape.
|
|
96
96
|
*
|
|
97
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
97
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
98
98
|
*/
|
|
99
99
|
export type Payload = VTAPCSVoterReadPayload;
|
|
100
100
|
|
|
@@ -104,7 +104,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read
|
|
|
104
104
|
/**
|
|
105
105
|
* Stable alias for this specification's success-response payload shape.
|
|
106
106
|
*
|
|
107
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
107
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
108
108
|
*/
|
|
109
109
|
export type Response = VTAPCSVoterReadResponsePayload;
|
|
110
110
|
|