@openvtc/trust-tasks 0.28.15 → 0.28.16
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 +24 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -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/package.json +1 -1
- package/src/index.ts +15 -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
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/boards/facilitators/remove/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtc/boards/facilitators/remove/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/boards/facilitators/remove/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/boards/facilitators/remove/0.1",
|
|
35
|
+
"title": "VTC Boards — Facilitators — Remove — payload",
|
|
36
|
+
"description": "A facilitator steps down, or a holder of `vtc.boards.manage` unqualified ends another member's appointment as a board's facilitator (VTI-BRD-091). The outer document members are owned by the framework — SPEC §6.3.",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": [
|
|
40
|
+
"boardId",
|
|
41
|
+
"entryId"
|
|
42
|
+
],
|
|
43
|
+
"properties": {
|
|
44
|
+
"boardId": {
|
|
45
|
+
"$ref": "#/$defs/BoardId"
|
|
46
|
+
},
|
|
47
|
+
"entryId": {
|
|
48
|
+
"$ref": "#/$defs/EntryId",
|
|
49
|
+
"description": "The facilitator whose appointment ends."
|
|
50
|
+
},
|
|
51
|
+
"reason": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"minLength": 1,
|
|
54
|
+
"maxLength": 1024,
|
|
55
|
+
"description": "Why, recorded with the change. Plain text."
|
|
56
|
+
},
|
|
57
|
+
"ext": {
|
|
58
|
+
"$ref": "#/$defs/Ext"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"$defs": {
|
|
62
|
+
"Response": {
|
|
63
|
+
"$anchor": "response",
|
|
64
|
+
"title": "VTC Boards — Facilitators — Remove — response payload",
|
|
65
|
+
"description": "The success response to a vtc/boards/facilitators/remove/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1#response. The board's appointed facilitators after the removal.",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"boardId",
|
|
70
|
+
"facilitators"
|
|
71
|
+
],
|
|
72
|
+
"properties": {
|
|
73
|
+
"boardId": {
|
|
74
|
+
"$ref": "#/$defs/BoardId"
|
|
75
|
+
},
|
|
76
|
+
"facilitators": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"maxItems": 256,
|
|
79
|
+
"uniqueItems": true,
|
|
80
|
+
"items": {
|
|
81
|
+
"$ref": "#/$defs/EntryId"
|
|
82
|
+
},
|
|
83
|
+
"description": "The board's appointed facilitators after the removal, by entry: entries holding `vtc.boards.manage` qualified to this board, read from the access-control list. Holders of the capability unqualified or through a role are not listed (VTI-BRD-093)."
|
|
84
|
+
},
|
|
85
|
+
"ext": {
|
|
86
|
+
"$ref": "#/$defs/Ext"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"Ext": {
|
|
91
|
+
"title": "Ext",
|
|
92
|
+
"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.",
|
|
93
|
+
"type": "object",
|
|
94
|
+
"minProperties": 1,
|
|
95
|
+
"additionalProperties": true,
|
|
96
|
+
"propertyNames": {
|
|
97
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"EntryId": {
|
|
101
|
+
"title": "EntryId",
|
|
102
|
+
"description": "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
|
|
105
|
+
},
|
|
106
|
+
"BoardId": {
|
|
107
|
+
"title": "BoardId",
|
|
108
|
+
"description": "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).",
|
|
109
|
+
"type": "string",
|
|
110
|
+
"pattern": "^brd_[A-Za-z0-9_-]{16,64}$"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
115
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
116
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
117
|
+
"$ref": "#/$defs/Response",
|
|
118
|
+
"$defs": {
|
|
119
|
+
"Response": {
|
|
120
|
+
"$anchor": "response",
|
|
121
|
+
"title": "VTC Boards — Facilitators — Remove — response payload",
|
|
122
|
+
"description": "The success response to a vtc/boards/facilitators/remove/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1#response. The board's appointed facilitators after the removal.",
|
|
123
|
+
"type": "object",
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"required": [
|
|
126
|
+
"boardId",
|
|
127
|
+
"facilitators"
|
|
128
|
+
],
|
|
129
|
+
"properties": {
|
|
130
|
+
"boardId": {
|
|
131
|
+
"$ref": "#/$defs/BoardId"
|
|
132
|
+
},
|
|
133
|
+
"facilitators": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"maxItems": 256,
|
|
136
|
+
"uniqueItems": true,
|
|
137
|
+
"items": {
|
|
138
|
+
"$ref": "#/$defs/EntryId"
|
|
139
|
+
},
|
|
140
|
+
"description": "The board's appointed facilitators after the removal, by entry: entries holding `vtc.boards.manage` qualified to this board, read from the access-control list. Holders of the capability unqualified or through a role are not listed (VTI-BRD-093)."
|
|
141
|
+
},
|
|
142
|
+
"ext": {
|
|
143
|
+
"$ref": "#/$defs/Ext"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"Ext": {
|
|
148
|
+
"title": "Ext",
|
|
149
|
+
"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.",
|
|
150
|
+
"type": "object",
|
|
151
|
+
"minProperties": 1,
|
|
152
|
+
"additionalProperties": true,
|
|
153
|
+
"propertyNames": {
|
|
154
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"EntryId": {
|
|
158
|
+
"title": "EntryId",
|
|
159
|
+
"description": "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.",
|
|
160
|
+
"type": "string",
|
|
161
|
+
"pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
|
|
162
|
+
},
|
|
163
|
+
"BoardId": {
|
|
164
|
+
"title": "BoardId",
|
|
165
|
+
"description": "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"pattern": "^brd_[A-Za-z0-9_-]{16,64}$"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
173
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
174
|
+
* per-specification and cannot be derived from the document alone, and
|
|
175
|
+
* item 2 needs the schema this carries.
|
|
176
|
+
*/
|
|
177
|
+
export const SPEC = {
|
|
178
|
+
typeUri: TYPE_URI,
|
|
179
|
+
isBearer: false,
|
|
180
|
+
isProofRequired: true,
|
|
181
|
+
isRecipientRequired: true,
|
|
182
|
+
isIssuedAtRequired: true,
|
|
183
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
187
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
188
|
+
* parties (§7.3 item 5).
|
|
189
|
+
*/
|
|
190
|
+
export const RESPONSE_SPEC = {
|
|
191
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
192
|
+
isBearer: false,
|
|
193
|
+
isProofRequired: true,
|
|
194
|
+
isRecipientRequired: true,
|
|
195
|
+
isIssuedAtRequired: true,
|
|
196
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
197
|
+
};
|
|
198
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/boards/facilitators/remove/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,M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,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,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,6bAA6b;YAC5c,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,4BAA4B;SACxC;QACD,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,uIAAuI;YACtJ,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,4BAA4B;SACxC;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
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;
|
|
@@ -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
|
|
|
@@ -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. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs.
|
|
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
|
/**
|
|
@@ -41,7 +41,7 @@ export interface VTAPCSVoterReadPayload {
|
|
|
41
41
|
/**
|
|
42
42
|
* The signed read, to send to the community.
|
|
43
43
|
*
|
|
44
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
44
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
45
45
|
*/
|
|
46
46
|
export interface VTAPCSVoterReadResponsePayload {
|
|
47
47
|
document: ReadDocument;
|
|
@@ -93,12 +93,12 @@ export const EXTENDS: string | null = null;
|
|
|
93
93
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
94
94
|
* Versions").
|
|
95
95
|
*/
|
|
96
|
-
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.
|
|
96
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.7";
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
99
|
* Stable alias for this specification's request payload shape.
|
|
100
100
|
*
|
|
101
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
101
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
102
102
|
*/
|
|
103
103
|
export type Payload = VTAPCSVoterReadPayload;
|
|
104
104
|
|
|
@@ -108,7 +108,7 @@ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read
|
|
|
108
108
|
/**
|
|
109
109
|
* Stable alias for this specification's success-response payload shape.
|
|
110
110
|
*
|
|
111
|
-
* @deprecated superseded by vta/pcs/voter/read/0.
|
|
111
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
112
112
|
*/
|
|
113
113
|
export type Response = VTAPCSVoterReadResponsePayload;
|
|
114
114
|
|
|
@@ -8,6 +8,8 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
8
8
|
|
|
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. For a show of an election put to the members of a party that is itself a member of the community, the VTA can present the member's credential for that party from its vault, bound to the read it signs, and only where that credential was issued by the party the client names.
|
|
11
|
+
*
|
|
12
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
11
13
|
*/
|
|
12
14
|
export interface VTAPCSVoterReadPayload {
|
|
13
15
|
/**
|
|
@@ -42,6 +44,8 @@ export interface VTAPCSVoterReadPayload {
|
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* The signed read, to send to the community.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
45
49
|
*/
|
|
46
50
|
export interface VTAPCSVoterReadResponsePayload {
|
|
47
51
|
document: ReadDocument;
|
|
@@ -93,15 +97,23 @@ export const EXTENDS: string | null = null;
|
|
|
93
97
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
94
98
|
* Versions").
|
|
95
99
|
*/
|
|
96
|
-
export const DEPRECATION: string | null =
|
|
100
|
+
export const DEPRECATION: string | null = "superseded by vta/pcs/voter/read/0.7";
|
|
97
101
|
|
|
98
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Stable alias for this specification's request payload shape.
|
|
104
|
+
*
|
|
105
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
106
|
+
*/
|
|
99
107
|
export type Payload = VTAPCSVoterReadPayload;
|
|
100
108
|
|
|
101
109
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
102
110
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read/0.6#response" as const;
|
|
103
111
|
|
|
104
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Stable alias for this specification's success-response payload shape.
|
|
114
|
+
*
|
|
115
|
+
* @deprecated superseded by vta/pcs/voter/read/0.7
|
|
116
|
+
*/
|
|
105
117
|
export type Response = VTAPCSVoterReadResponsePayload;
|
|
106
118
|
|
|
107
119
|
/**
|