@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,245 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/boards/facilitators/list/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtc/boards/facilitators/list/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/list/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/list/0.1",
|
|
35
|
+
"title": "VTC Boards — Facilitators — List — payload",
|
|
36
|
+
"description": "A facilitator of a board reads who is appointed to facilitate it (VTI-BRD-093). The outer document members are owned by the framework — SPEC §6.3.",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": [
|
|
40
|
+
"boardId"
|
|
41
|
+
],
|
|
42
|
+
"properties": {
|
|
43
|
+
"boardId": {
|
|
44
|
+
"$ref": "#/$defs/BoardId"
|
|
45
|
+
},
|
|
46
|
+
"ext": {
|
|
47
|
+
"$ref": "#/$defs/Ext"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"$defs": {
|
|
51
|
+
"Response": {
|
|
52
|
+
"$anchor": "response",
|
|
53
|
+
"title": "VTC Boards — Facilitators — List — response payload",
|
|
54
|
+
"description": "The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.",
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": false,
|
|
57
|
+
"required": [
|
|
58
|
+
"boardId",
|
|
59
|
+
"facilitators"
|
|
60
|
+
],
|
|
61
|
+
"properties": {
|
|
62
|
+
"boardId": {
|
|
63
|
+
"$ref": "#/$defs/BoardId"
|
|
64
|
+
},
|
|
65
|
+
"facilitators": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"maxItems": 256,
|
|
68
|
+
"items": {
|
|
69
|
+
"$ref": "#/$defs/Appointment"
|
|
70
|
+
},
|
|
71
|
+
"description": "The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board."
|
|
72
|
+
},
|
|
73
|
+
"ext": {
|
|
74
|
+
"$ref": "#/$defs/Ext"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"Appointment": {
|
|
79
|
+
"title": "Appointment",
|
|
80
|
+
"description": "One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.",
|
|
81
|
+
"type": "object",
|
|
82
|
+
"additionalProperties": false,
|
|
83
|
+
"required": [
|
|
84
|
+
"entryId",
|
|
85
|
+
"appointedAt"
|
|
86
|
+
],
|
|
87
|
+
"properties": {
|
|
88
|
+
"entryId": {
|
|
89
|
+
"$ref": "#/$defs/EntryId",
|
|
90
|
+
"description": "The appointed facilitator."
|
|
91
|
+
},
|
|
92
|
+
"appointedAt": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"format": "date-time",
|
|
95
|
+
"description": "When the grant was written, or last re-affirmed under a new granter."
|
|
96
|
+
},
|
|
97
|
+
"appointedBy": {
|
|
98
|
+
"$ref": "#/$defs/EntryId",
|
|
99
|
+
"description": "The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed."
|
|
100
|
+
},
|
|
101
|
+
"reviewEndsAt": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"format": "date-time",
|
|
104
|
+
"description": "Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092)."
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"EntryId": {
|
|
109
|
+
"title": "EntryId",
|
|
110
|
+
"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.",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
|
|
113
|
+
},
|
|
114
|
+
"Ext": {
|
|
115
|
+
"title": "Ext",
|
|
116
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
117
|
+
"type": "object",
|
|
118
|
+
"minProperties": 1,
|
|
119
|
+
"additionalProperties": true,
|
|
120
|
+
"propertyNames": {
|
|
121
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"BoardId": {
|
|
125
|
+
"title": "BoardId",
|
|
126
|
+
"description": "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).",
|
|
127
|
+
"type": "string",
|
|
128
|
+
"pattern": "^brd_[A-Za-z0-9_-]{16,64}$"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
133
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
134
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
135
|
+
"$ref": "#/$defs/Response",
|
|
136
|
+
"$defs": {
|
|
137
|
+
"Response": {
|
|
138
|
+
"$anchor": "response",
|
|
139
|
+
"title": "VTC Boards — Facilitators — List — response payload",
|
|
140
|
+
"description": "The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.",
|
|
141
|
+
"type": "object",
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"required": [
|
|
144
|
+
"boardId",
|
|
145
|
+
"facilitators"
|
|
146
|
+
],
|
|
147
|
+
"properties": {
|
|
148
|
+
"boardId": {
|
|
149
|
+
"$ref": "#/$defs/BoardId"
|
|
150
|
+
},
|
|
151
|
+
"facilitators": {
|
|
152
|
+
"type": "array",
|
|
153
|
+
"maxItems": 256,
|
|
154
|
+
"items": {
|
|
155
|
+
"$ref": "#/$defs/Appointment"
|
|
156
|
+
},
|
|
157
|
+
"description": "The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board."
|
|
158
|
+
},
|
|
159
|
+
"ext": {
|
|
160
|
+
"$ref": "#/$defs/Ext"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"Appointment": {
|
|
165
|
+
"title": "Appointment",
|
|
166
|
+
"description": "One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.",
|
|
167
|
+
"type": "object",
|
|
168
|
+
"additionalProperties": false,
|
|
169
|
+
"required": [
|
|
170
|
+
"entryId",
|
|
171
|
+
"appointedAt"
|
|
172
|
+
],
|
|
173
|
+
"properties": {
|
|
174
|
+
"entryId": {
|
|
175
|
+
"$ref": "#/$defs/EntryId",
|
|
176
|
+
"description": "The appointed facilitator."
|
|
177
|
+
},
|
|
178
|
+
"appointedAt": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"format": "date-time",
|
|
181
|
+
"description": "When the grant was written, or last re-affirmed under a new granter."
|
|
182
|
+
},
|
|
183
|
+
"appointedBy": {
|
|
184
|
+
"$ref": "#/$defs/EntryId",
|
|
185
|
+
"description": "The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed."
|
|
186
|
+
},
|
|
187
|
+
"reviewEndsAt": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"format": "date-time",
|
|
190
|
+
"description": "Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092)."
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"EntryId": {
|
|
195
|
+
"title": "EntryId",
|
|
196
|
+
"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.",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"pattern": "^dir_[A-Za-z0-9_-]{16,64}$"
|
|
199
|
+
},
|
|
200
|
+
"Ext": {
|
|
201
|
+
"title": "Ext",
|
|
202
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
203
|
+
"type": "object",
|
|
204
|
+
"minProperties": 1,
|
|
205
|
+
"additionalProperties": true,
|
|
206
|
+
"propertyNames": {
|
|
207
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"BoardId": {
|
|
211
|
+
"title": "BoardId",
|
|
212
|
+
"description": "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).",
|
|
213
|
+
"type": "string",
|
|
214
|
+
"pattern": "^brd_[A-Za-z0-9_-]{16,64}$"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
220
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
221
|
+
* per-specification and cannot be derived from the document alone, and
|
|
222
|
+
* item 2 needs the schema this carries.
|
|
223
|
+
*/
|
|
224
|
+
export const SPEC = {
|
|
225
|
+
typeUri: TYPE_URI,
|
|
226
|
+
isBearer: false,
|
|
227
|
+
isProofRequired: false,
|
|
228
|
+
isRecipientRequired: true,
|
|
229
|
+
isIssuedAtRequired: false,
|
|
230
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
234
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
235
|
+
* parties (§7.3 item 5).
|
|
236
|
+
*/
|
|
237
|
+
export const RESPONSE_SPEC = {
|
|
238
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
239
|
+
isBearer: false,
|
|
240
|
+
isProofRequired: false,
|
|
241
|
+
isRecipientRequired: true,
|
|
242
|
+
isIssuedAtRequired: false,
|
|
243
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
244
|
+
};
|
|
245
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/boards/facilitators/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,8DAAuE,CAAC;AAEhG;;;;;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,uEAAgF,CAAC;AAKlH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,8DAA8D;IACrE,OAAO,EAAE,4CAA4C;IACrD,aAAa,EAAE,oJAAoJ;IACnK,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,iBAAiB;SAC1B;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,qDAAqD;YAC9D,aAAa,EAAE,+NAA+N;YAC9O,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,SAAS;gBACT,cAAc;aACf;YACD,YAAY,EAAE;gBACZ,SAAS,EAAE;oBACT,MAAM,EAAE,iBAAiB;iBAC1B;gBACD,cAAc,EAAE;oBACd,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,GAAG;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,qBAAqB;qBAC9B;oBACD,aAAa,EAAE,6JAA6J;iBAC7K;gBACD,KAAK,EAAE;oBACL,MAA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E,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,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,KAAK;IACtB,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,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -0,0 +1,351 @@
|
|
|
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
|
+
import type { BoardId, EntryId, Ext } from "../../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCBoardsFacilitatorsRemovePayload {
|
|
10
|
+
boardId: BoardId;
|
|
11
|
+
/**
|
|
12
|
+
* The facilitator whose appointment ends.
|
|
13
|
+
*/
|
|
14
|
+
entryId: EntryId;
|
|
15
|
+
/**
|
|
16
|
+
* Why, recorded with the change. Plain text.
|
|
17
|
+
*/
|
|
18
|
+
reason?: string;
|
|
19
|
+
ext?: Ext;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
export interface VTCBoardsFacilitatorsRemoveResponsePayload {
|
|
25
|
+
boardId: BoardId;
|
|
26
|
+
/**
|
|
27
|
+
* 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).
|
|
28
|
+
*
|
|
29
|
+
* @maxItems 256
|
|
30
|
+
*/
|
|
31
|
+
facilitators: EntryId[];
|
|
32
|
+
ext?: Ext;
|
|
33
|
+
}
|
|
34
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
35
|
+
export type { BoardId, EntryId, Ext };
|
|
36
|
+
/** Trust Task type URI. */
|
|
37
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1";
|
|
38
|
+
/**
|
|
39
|
+
* The earlier version of this specification that this one declares it
|
|
40
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
41
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
42
|
+
* `extendsChain` / `readForSpec`.
|
|
43
|
+
*/
|
|
44
|
+
export declare const EXTENDS: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
47
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
48
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
49
|
+
* Versions").
|
|
50
|
+
*/
|
|
51
|
+
export declare const DEPRECATION: string | null;
|
|
52
|
+
/** Stable alias for this specification's request payload shape. */
|
|
53
|
+
export type Payload = VTCBoardsFacilitatorsRemovePayload;
|
|
54
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
55
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1#response";
|
|
56
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
57
|
+
export type Response = VTCBoardsFacilitatorsRemoveResponsePayload;
|
|
58
|
+
/**
|
|
59
|
+
* This specification's payload schema, as a value.
|
|
60
|
+
*
|
|
61
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
62
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
63
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
64
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
65
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
66
|
+
*/
|
|
67
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
68
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
69
|
+
readonly $id: "https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1";
|
|
70
|
+
readonly title: "VTC Boards — Facilitators — Remove — payload";
|
|
71
|
+
readonly 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.";
|
|
72
|
+
readonly type: "object";
|
|
73
|
+
readonly additionalProperties: false;
|
|
74
|
+
readonly required: readonly ["boardId", "entryId"];
|
|
75
|
+
readonly properties: {
|
|
76
|
+
readonly boardId: {
|
|
77
|
+
readonly $ref: "#/$defs/BoardId";
|
|
78
|
+
};
|
|
79
|
+
readonly entryId: {
|
|
80
|
+
readonly $ref: "#/$defs/EntryId";
|
|
81
|
+
readonly description: "The facilitator whose appointment ends.";
|
|
82
|
+
};
|
|
83
|
+
readonly reason: {
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
readonly minLength: 1;
|
|
86
|
+
readonly maxLength: 1024;
|
|
87
|
+
readonly description: "Why, recorded with the change. Plain text.";
|
|
88
|
+
};
|
|
89
|
+
readonly ext: {
|
|
90
|
+
readonly $ref: "#/$defs/Ext";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
readonly $defs: {
|
|
94
|
+
readonly Response: {
|
|
95
|
+
readonly $anchor: "response";
|
|
96
|
+
readonly title: "VTC Boards — Facilitators — Remove — response payload";
|
|
97
|
+
readonly 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.";
|
|
98
|
+
readonly type: "object";
|
|
99
|
+
readonly additionalProperties: false;
|
|
100
|
+
readonly required: readonly ["boardId", "facilitators"];
|
|
101
|
+
readonly properties: {
|
|
102
|
+
readonly boardId: {
|
|
103
|
+
readonly $ref: "#/$defs/BoardId";
|
|
104
|
+
};
|
|
105
|
+
readonly facilitators: {
|
|
106
|
+
readonly type: "array";
|
|
107
|
+
readonly maxItems: 256;
|
|
108
|
+
readonly uniqueItems: true;
|
|
109
|
+
readonly items: {
|
|
110
|
+
readonly $ref: "#/$defs/EntryId";
|
|
111
|
+
};
|
|
112
|
+
readonly 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).";
|
|
113
|
+
};
|
|
114
|
+
readonly ext: {
|
|
115
|
+
readonly $ref: "#/$defs/Ext";
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly Ext: {
|
|
120
|
+
readonly title: "Ext";
|
|
121
|
+
readonly 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.";
|
|
122
|
+
readonly type: "object";
|
|
123
|
+
readonly minProperties: 1;
|
|
124
|
+
readonly additionalProperties: true;
|
|
125
|
+
readonly propertyNames: {
|
|
126
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly EntryId: {
|
|
130
|
+
readonly title: "EntryId";
|
|
131
|
+
readonly 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.";
|
|
132
|
+
readonly type: "string";
|
|
133
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
134
|
+
};
|
|
135
|
+
readonly BoardId: {
|
|
136
|
+
readonly title: "BoardId";
|
|
137
|
+
readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
144
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
145
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
146
|
+
readonly $ref: "#/$defs/Response";
|
|
147
|
+
readonly $defs: {
|
|
148
|
+
readonly Response: {
|
|
149
|
+
readonly $anchor: "response";
|
|
150
|
+
readonly title: "VTC Boards — Facilitators — Remove — response payload";
|
|
151
|
+
readonly 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.";
|
|
152
|
+
readonly type: "object";
|
|
153
|
+
readonly additionalProperties: false;
|
|
154
|
+
readonly required: readonly ["boardId", "facilitators"];
|
|
155
|
+
readonly properties: {
|
|
156
|
+
readonly boardId: {
|
|
157
|
+
readonly $ref: "#/$defs/BoardId";
|
|
158
|
+
};
|
|
159
|
+
readonly facilitators: {
|
|
160
|
+
readonly type: "array";
|
|
161
|
+
readonly maxItems: 256;
|
|
162
|
+
readonly uniqueItems: true;
|
|
163
|
+
readonly items: {
|
|
164
|
+
readonly $ref: "#/$defs/EntryId";
|
|
165
|
+
};
|
|
166
|
+
readonly 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).";
|
|
167
|
+
};
|
|
168
|
+
readonly ext: {
|
|
169
|
+
readonly $ref: "#/$defs/Ext";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly Ext: {
|
|
174
|
+
readonly title: "Ext";
|
|
175
|
+
readonly 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.";
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
readonly minProperties: 1;
|
|
178
|
+
readonly additionalProperties: true;
|
|
179
|
+
readonly propertyNames: {
|
|
180
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly EntryId: {
|
|
184
|
+
readonly title: "EntryId";
|
|
185
|
+
readonly 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.";
|
|
186
|
+
readonly type: "string";
|
|
187
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
188
|
+
};
|
|
189
|
+
readonly BoardId: {
|
|
190
|
+
readonly title: "BoardId";
|
|
191
|
+
readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
199
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
200
|
+
* per-specification and cannot be derived from the document alone, and
|
|
201
|
+
* item 2 needs the schema this carries.
|
|
202
|
+
*/
|
|
203
|
+
export declare const SPEC: {
|
|
204
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1";
|
|
205
|
+
readonly isBearer: false;
|
|
206
|
+
readonly isProofRequired: true;
|
|
207
|
+
readonly isRecipientRequired: true;
|
|
208
|
+
readonly isIssuedAtRequired: true;
|
|
209
|
+
readonly payloadSchema: {
|
|
210
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
211
|
+
readonly $id: "https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1";
|
|
212
|
+
readonly title: "VTC Boards — Facilitators — Remove — payload";
|
|
213
|
+
readonly 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.";
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly additionalProperties: false;
|
|
216
|
+
readonly required: readonly ["boardId", "entryId"];
|
|
217
|
+
readonly properties: {
|
|
218
|
+
readonly boardId: {
|
|
219
|
+
readonly $ref: "#/$defs/BoardId";
|
|
220
|
+
};
|
|
221
|
+
readonly entryId: {
|
|
222
|
+
readonly $ref: "#/$defs/EntryId";
|
|
223
|
+
readonly description: "The facilitator whose appointment ends.";
|
|
224
|
+
};
|
|
225
|
+
readonly reason: {
|
|
226
|
+
readonly type: "string";
|
|
227
|
+
readonly minLength: 1;
|
|
228
|
+
readonly maxLength: 1024;
|
|
229
|
+
readonly description: "Why, recorded with the change. Plain text.";
|
|
230
|
+
};
|
|
231
|
+
readonly ext: {
|
|
232
|
+
readonly $ref: "#/$defs/Ext";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly $defs: {
|
|
236
|
+
readonly Response: {
|
|
237
|
+
readonly $anchor: "response";
|
|
238
|
+
readonly title: "VTC Boards — Facilitators — Remove — response payload";
|
|
239
|
+
readonly 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.";
|
|
240
|
+
readonly type: "object";
|
|
241
|
+
readonly additionalProperties: false;
|
|
242
|
+
readonly required: readonly ["boardId", "facilitators"];
|
|
243
|
+
readonly properties: {
|
|
244
|
+
readonly boardId: {
|
|
245
|
+
readonly $ref: "#/$defs/BoardId";
|
|
246
|
+
};
|
|
247
|
+
readonly facilitators: {
|
|
248
|
+
readonly type: "array";
|
|
249
|
+
readonly maxItems: 256;
|
|
250
|
+
readonly uniqueItems: true;
|
|
251
|
+
readonly items: {
|
|
252
|
+
readonly $ref: "#/$defs/EntryId";
|
|
253
|
+
};
|
|
254
|
+
readonly 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).";
|
|
255
|
+
};
|
|
256
|
+
readonly ext: {
|
|
257
|
+
readonly $ref: "#/$defs/Ext";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
readonly Ext: {
|
|
262
|
+
readonly title: "Ext";
|
|
263
|
+
readonly 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.";
|
|
264
|
+
readonly type: "object";
|
|
265
|
+
readonly minProperties: 1;
|
|
266
|
+
readonly additionalProperties: true;
|
|
267
|
+
readonly propertyNames: {
|
|
268
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
readonly EntryId: {
|
|
272
|
+
readonly title: "EntryId";
|
|
273
|
+
readonly 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.";
|
|
274
|
+
readonly type: "string";
|
|
275
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
276
|
+
};
|
|
277
|
+
readonly BoardId: {
|
|
278
|
+
readonly title: "BoardId";
|
|
279
|
+
readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
|
|
280
|
+
readonly type: "string";
|
|
281
|
+
readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
288
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
289
|
+
* parties (§7.3 item 5).
|
|
290
|
+
*/
|
|
291
|
+
export declare const RESPONSE_SPEC: {
|
|
292
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/boards/facilitators/remove/0.1#response";
|
|
293
|
+
readonly isBearer: false;
|
|
294
|
+
readonly isProofRequired: true;
|
|
295
|
+
readonly isRecipientRequired: true;
|
|
296
|
+
readonly isIssuedAtRequired: true;
|
|
297
|
+
readonly payloadSchema: {
|
|
298
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
299
|
+
readonly $ref: "#/$defs/Response";
|
|
300
|
+
readonly $defs: {
|
|
301
|
+
readonly Response: {
|
|
302
|
+
readonly $anchor: "response";
|
|
303
|
+
readonly title: "VTC Boards — Facilitators — Remove — response payload";
|
|
304
|
+
readonly 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.";
|
|
305
|
+
readonly type: "object";
|
|
306
|
+
readonly additionalProperties: false;
|
|
307
|
+
readonly required: readonly ["boardId", "facilitators"];
|
|
308
|
+
readonly properties: {
|
|
309
|
+
readonly boardId: {
|
|
310
|
+
readonly $ref: "#/$defs/BoardId";
|
|
311
|
+
};
|
|
312
|
+
readonly facilitators: {
|
|
313
|
+
readonly type: "array";
|
|
314
|
+
readonly maxItems: 256;
|
|
315
|
+
readonly uniqueItems: true;
|
|
316
|
+
readonly items: {
|
|
317
|
+
readonly $ref: "#/$defs/EntryId";
|
|
318
|
+
};
|
|
319
|
+
readonly 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).";
|
|
320
|
+
};
|
|
321
|
+
readonly ext: {
|
|
322
|
+
readonly $ref: "#/$defs/Ext";
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
readonly Ext: {
|
|
327
|
+
readonly title: "Ext";
|
|
328
|
+
readonly 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.";
|
|
329
|
+
readonly type: "object";
|
|
330
|
+
readonly minProperties: 1;
|
|
331
|
+
readonly additionalProperties: true;
|
|
332
|
+
readonly propertyNames: {
|
|
333
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
readonly EntryId: {
|
|
337
|
+
readonly title: "EntryId";
|
|
338
|
+
readonly 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.";
|
|
339
|
+
readonly type: "string";
|
|
340
|
+
readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
|
|
341
|
+
};
|
|
342
|
+
readonly BoardId: {
|
|
343
|
+
readonly title: "BoardId";
|
|
344
|
+
readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/boards/facilitators/remove/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGlF;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACzD,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,OAAO,EAAE,CAAC;IACxB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;AAEtC,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,gEAAyE,CAAC;AAElG;;;;;GAKG;AACH,eAAO,MAAM,OAAO,E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