@openvtc/trust-tasks 0.27.6 → 0.27.8
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 +41 -0
- package/README.md +16 -13
- package/dist/_runtime/consume.d.ts +2 -2
- package/dist/_runtime/consume.js +2 -2
- package/dist/_runtime/extends.d.ts +20 -1
- package/dist/_runtime/extends.d.ts.map +1 -1
- package/dist/_runtime/extends.js +39 -3
- package/dist/_runtime/extends.js.map +1 -1
- package/dist/_runtime/index.d.ts +1 -1
- package/dist/_runtime/index.d.ts.map +1 -1
- package/dist/_runtime/index.js +1 -1
- package/dist/_runtime/index.js.map +1 -1
- package/dist/_shared/components.d.ts +29 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/registry/_shared/0.2/registry.d.ts +16 -0
- package/dist/registry/_shared/0.2/registry.d.ts.map +1 -0
- package/dist/registry/_shared/0.2/registry.js +6 -0
- package/dist/registry/_shared/0.2/registry.js.map +1 -0
- package/dist/registry/authorization/0.1/payload.d.ts +13 -2
- package/dist/registry/authorization/0.1/payload.d.ts.map +1 -1
- package/dist/registry/authorization/0.1/payload.js +1 -1
- package/dist/registry/authorization/0.1/payload.js.map +1 -1
- package/dist/registry/authorization/0.2/payload.d.ts +494 -0
- package/dist/registry/authorization/0.2/payload.d.ts.map +1 -0
- package/dist/registry/authorization/0.2/payload.js +270 -0
- package/dist/registry/authorization/0.2/payload.js.map +1 -0
- package/dist/registry/did/rotate/0.1/payload.d.ts +13 -2
- package/dist/registry/did/rotate/0.1/payload.d.ts.map +1 -1
- package/dist/registry/did/rotate/0.1/payload.js +1 -1
- package/dist/registry/did/rotate/0.1/payload.js.map +1 -1
- package/dist/registry/did/rotate/0.2/payload.d.ts +292 -0
- package/dist/registry/did/rotate/0.2/payload.d.ts.map +1 -0
- package/dist/registry/did/rotate/0.2/payload.js +167 -0
- package/dist/registry/did/rotate/0.2/payload.js.map +1 -0
- package/dist/registry/recognition/0.1/payload.d.ts +13 -2
- package/dist/registry/recognition/0.1/payload.d.ts.map +1 -1
- package/dist/registry/recognition/0.1/payload.js +1 -1
- package/dist/registry/recognition/0.1/payload.js.map +1 -1
- package/dist/registry/recognition/0.2/payload.d.ts +494 -0
- package/dist/registry/recognition/0.2/payload.d.ts.map +1 -0
- package/dist/registry/recognition/0.2/payload.js +270 -0
- package/dist/registry/recognition/0.2/payload.js.map +1 -0
- package/dist/registry/record/create/0.1/payload.d.ts +4 -4
- package/dist/registry/record/create/0.1/payload.js +1 -1
- package/dist/registry/record/delete/0.1/payload.d.ts +13 -2
- package/dist/registry/record/delete/0.1/payload.d.ts.map +1 -1
- package/dist/registry/record/delete/0.1/payload.js +1 -1
- package/dist/registry/record/delete/0.1/payload.js.map +1 -1
- package/dist/registry/record/delete/0.2/payload.d.ts +278 -0
- package/dist/registry/record/delete/0.2/payload.d.ts.map +1 -0
- package/dist/registry/record/delete/0.2/payload.js +165 -0
- package/dist/registry/record/delete/0.2/payload.js.map +1 -0
- package/dist/registry/record/list/0.1/payload.d.ts +4 -4
- package/dist/registry/record/list/0.1/payload.js +1 -1
- package/dist/registry/record/put/0.1/payload.d.ts +4 -4
- package/dist/registry/record/put/0.1/payload.js +1 -1
- package/dist/registry/record/put/0.2/payload.d.ts +13 -2
- package/dist/registry/record/put/0.2/payload.d.ts.map +1 -1
- package/dist/registry/record/put/0.2/payload.js +1 -1
- package/dist/registry/record/put/0.2/payload.js.map +1 -1
- package/dist/registry/record/put/0.3/payload.d.ts +497 -0
- package/dist/registry/record/put/0.3/payload.d.ts.map +1 -0
- package/dist/registry/record/put/0.3/payload.js +289 -0
- package/dist/registry/record/put/0.3/payload.js.map +1 -0
- package/dist/registry/record/query/0.1/payload.d.ts +4 -4
- package/dist/registry/record/query/0.1/payload.js +1 -1
- package/dist/registry/record/query/0.2/payload.d.ts +13 -2
- package/dist/registry/record/query/0.2/payload.d.ts.map +1 -1
- package/dist/registry/record/query/0.2/payload.js +1 -1
- package/dist/registry/record/query/0.2/payload.js.map +1 -1
- package/dist/registry/record/query/0.3/payload.d.ts +540 -0
- package/dist/registry/record/query/0.3/payload.d.ts.map +1 -0
- package/dist/registry/record/query/0.3/payload.js +299 -0
- package/dist/registry/record/query/0.3/payload.js.map +1 -0
- package/dist/registry/record/read/0.1/payload.d.ts +4 -4
- package/dist/registry/record/read/0.1/payload.js +1 -1
- package/dist/registry/record/update/0.1/payload.d.ts +4 -4
- package/dist/registry/record/update/0.1/payload.js +1 -1
- package/package.json +5 -1
- package/src/_runtime/consume.ts +2 -2
- package/src/_runtime/extends.ts +41 -4
- package/src/_runtime/index.ts +1 -0
- package/src/_shared/components.ts +29 -0
- package/src/index.ts +7 -0
- package/src/registry/_shared/0.2/registry.ts +17 -0
- package/src/registry/authorization/0.1/payload.ts +14 -3
- package/src/registry/authorization/0.2/payload.ts +337 -0
- package/src/registry/did/rotate/0.1/payload.ts +14 -3
- package/src/registry/did/rotate/0.2/payload.ts +216 -0
- package/src/registry/recognition/0.1/payload.ts +14 -3
- package/src/registry/recognition/0.2/payload.ts +337 -0
- package/src/registry/record/create/0.1/payload.ts +5 -5
- package/src/registry/record/delete/0.1/payload.ts +14 -3
- package/src/registry/record/delete/0.2/payload.ts +206 -0
- package/src/registry/record/list/0.1/payload.ts +5 -5
- package/src/registry/record/put/0.1/payload.ts +5 -5
- package/src/registry/record/put/0.2/payload.ts +14 -3
- package/src/registry/record/put/0.3/payload.ts +335 -0
- package/src/registry/record/query/0.1/payload.ts +5 -5
- package/src/registry/record/query/0.2/payload.ts +14 -3
- package/src/registry/record/query/0.3/payload.ts +360 -0
- package/src/registry/record/read/0.1/payload.ts +5 -5
- package/src/registry/record/update/0.1/payload.ts +5 -5
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/registry/record/delete/0.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* An administrator asks a trust registry to delete the trust record identified by the four TRQP identifiers.
|
|
8
|
+
*/
|
|
9
|
+
export interface RegistryRecordDeletePayload {
|
|
10
|
+
entityId: string;
|
|
11
|
+
authorityId: string;
|
|
12
|
+
action: string;
|
|
13
|
+
resource: string;
|
|
14
|
+
ext?: Ext;
|
|
15
|
+
}
|
|
16
|
+
export interface RegistryRecordDeleteResponsePayload {
|
|
17
|
+
/**
|
|
18
|
+
* Whether the record was deleted.
|
|
19
|
+
*/
|
|
20
|
+
ok: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Optional human-readable detail.
|
|
23
|
+
*/
|
|
24
|
+
message?: string;
|
|
25
|
+
ext?: Ext;
|
|
26
|
+
}
|
|
27
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
28
|
+
export type { Ext };
|
|
29
|
+
/** Trust Task type URI. */
|
|
30
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/registry/record/delete/0.2";
|
|
31
|
+
/**
|
|
32
|
+
* The earlier version of this specification that this one declares it
|
|
33
|
+
* extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
|
|
34
|
+
* `null`. Only the direct declaration — follow the chain with
|
|
35
|
+
* `extendsChain` / `readForSpec`.
|
|
36
|
+
*/
|
|
37
|
+
export declare const EXTENDS: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Why this version is deprecated, or `null` while it is current. A
|
|
40
|
+
* superseded or retired version is still supported, and is withdrawn from
|
|
41
|
+
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
42
|
+
* Versions").
|
|
43
|
+
*/
|
|
44
|
+
export declare const DEPRECATION: string | null;
|
|
45
|
+
/** Stable alias for this specification's request payload shape. */
|
|
46
|
+
export type Payload = RegistryRecordDeletePayload;
|
|
47
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
48
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/registry/record/delete/0.2#response";
|
|
49
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
50
|
+
export type Response = RegistryRecordDeleteResponsePayload;
|
|
51
|
+
/**
|
|
52
|
+
* This specification's payload schema, as a value.
|
|
53
|
+
*
|
|
54
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
55
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
56
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
57
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
58
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
59
|
+
*/
|
|
60
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
61
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
62
|
+
readonly $id: "https://trusttasks.org/spec/registry/record/delete/0.2";
|
|
63
|
+
readonly title: "Registry Record Delete — payload";
|
|
64
|
+
readonly description: "An administrator asks a trust registry to delete the trust record identified by the four TRQP identifiers.";
|
|
65
|
+
readonly type: "object";
|
|
66
|
+
readonly additionalProperties: false;
|
|
67
|
+
readonly required: readonly ["entityId", "authorityId", "action", "resource"];
|
|
68
|
+
readonly properties: {
|
|
69
|
+
readonly entityId: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
};
|
|
72
|
+
readonly authorityId: {
|
|
73
|
+
readonly type: "string";
|
|
74
|
+
};
|
|
75
|
+
readonly action: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
};
|
|
78
|
+
readonly resource: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
};
|
|
81
|
+
readonly ext: {
|
|
82
|
+
readonly $ref: "#/$defs/Ext";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly $defs: {
|
|
86
|
+
readonly Response: {
|
|
87
|
+
readonly $anchor: "response";
|
|
88
|
+
readonly title: "Registry Record Delete — response payload";
|
|
89
|
+
readonly type: "object";
|
|
90
|
+
readonly additionalProperties: false;
|
|
91
|
+
readonly required: readonly ["ok"];
|
|
92
|
+
readonly properties: {
|
|
93
|
+
readonly ok: {
|
|
94
|
+
readonly type: "boolean";
|
|
95
|
+
readonly description: "Whether the record was deleted.";
|
|
96
|
+
};
|
|
97
|
+
readonly message: {
|
|
98
|
+
readonly type: "string";
|
|
99
|
+
readonly maxLength: 1024;
|
|
100
|
+
readonly description: "Optional human-readable detail.";
|
|
101
|
+
};
|
|
102
|
+
readonly ext: {
|
|
103
|
+
readonly $ref: "#/$defs/Ext";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly Ext: {
|
|
108
|
+
readonly title: "Ext";
|
|
109
|
+
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.";
|
|
110
|
+
readonly type: "object";
|
|
111
|
+
readonly minProperties: 1;
|
|
112
|
+
readonly additionalProperties: true;
|
|
113
|
+
readonly propertyNames: {
|
|
114
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
120
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
121
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
122
|
+
readonly $ref: "#/$defs/Response";
|
|
123
|
+
readonly $defs: {
|
|
124
|
+
readonly Response: {
|
|
125
|
+
readonly $anchor: "response";
|
|
126
|
+
readonly title: "Registry Record Delete — response payload";
|
|
127
|
+
readonly type: "object";
|
|
128
|
+
readonly additionalProperties: false;
|
|
129
|
+
readonly required: readonly ["ok"];
|
|
130
|
+
readonly properties: {
|
|
131
|
+
readonly ok: {
|
|
132
|
+
readonly type: "boolean";
|
|
133
|
+
readonly description: "Whether the record was deleted.";
|
|
134
|
+
};
|
|
135
|
+
readonly message: {
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
readonly maxLength: 1024;
|
|
138
|
+
readonly description: "Optional human-readable detail.";
|
|
139
|
+
};
|
|
140
|
+
readonly ext: {
|
|
141
|
+
readonly $ref: "#/$defs/Ext";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly Ext: {
|
|
146
|
+
readonly title: "Ext";
|
|
147
|
+
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.";
|
|
148
|
+
readonly type: "object";
|
|
149
|
+
readonly minProperties: 1;
|
|
150
|
+
readonly additionalProperties: true;
|
|
151
|
+
readonly propertyNames: {
|
|
152
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
159
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
160
|
+
* per-specification and cannot be derived from the document alone, and
|
|
161
|
+
* item 2 needs the schema this carries.
|
|
162
|
+
*/
|
|
163
|
+
export declare const SPEC: {
|
|
164
|
+
readonly typeUri: "https://trusttasks.org/spec/registry/record/delete/0.2";
|
|
165
|
+
readonly isBearer: false;
|
|
166
|
+
readonly isProofRequired: true;
|
|
167
|
+
readonly isRecipientRequired: true;
|
|
168
|
+
readonly isIssuedAtRequired: true;
|
|
169
|
+
readonly payloadSchema: {
|
|
170
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
171
|
+
readonly $id: "https://trusttasks.org/spec/registry/record/delete/0.2";
|
|
172
|
+
readonly title: "Registry Record Delete — payload";
|
|
173
|
+
readonly description: "An administrator asks a trust registry to delete the trust record identified by the four TRQP identifiers.";
|
|
174
|
+
readonly type: "object";
|
|
175
|
+
readonly additionalProperties: false;
|
|
176
|
+
readonly required: readonly ["entityId", "authorityId", "action", "resource"];
|
|
177
|
+
readonly properties: {
|
|
178
|
+
readonly entityId: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
};
|
|
181
|
+
readonly authorityId: {
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
};
|
|
184
|
+
readonly action: {
|
|
185
|
+
readonly type: "string";
|
|
186
|
+
};
|
|
187
|
+
readonly resource: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
};
|
|
190
|
+
readonly ext: {
|
|
191
|
+
readonly $ref: "#/$defs/Ext";
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly $defs: {
|
|
195
|
+
readonly Response: {
|
|
196
|
+
readonly $anchor: "response";
|
|
197
|
+
readonly title: "Registry Record Delete — response payload";
|
|
198
|
+
readonly type: "object";
|
|
199
|
+
readonly additionalProperties: false;
|
|
200
|
+
readonly required: readonly ["ok"];
|
|
201
|
+
readonly properties: {
|
|
202
|
+
readonly ok: {
|
|
203
|
+
readonly type: "boolean";
|
|
204
|
+
readonly description: "Whether the record was deleted.";
|
|
205
|
+
};
|
|
206
|
+
readonly message: {
|
|
207
|
+
readonly type: "string";
|
|
208
|
+
readonly maxLength: 1024;
|
|
209
|
+
readonly description: "Optional human-readable detail.";
|
|
210
|
+
};
|
|
211
|
+
readonly ext: {
|
|
212
|
+
readonly $ref: "#/$defs/Ext";
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
readonly Ext: {
|
|
217
|
+
readonly title: "Ext";
|
|
218
|
+
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.";
|
|
219
|
+
readonly type: "object";
|
|
220
|
+
readonly minProperties: 1;
|
|
221
|
+
readonly additionalProperties: true;
|
|
222
|
+
readonly propertyNames: {
|
|
223
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
231
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
232
|
+
* parties (§7.3 item 5).
|
|
233
|
+
*/
|
|
234
|
+
export declare const RESPONSE_SPEC: {
|
|
235
|
+
readonly typeUri: "https://trusttasks.org/spec/registry/record/delete/0.2#response";
|
|
236
|
+
readonly isBearer: false;
|
|
237
|
+
readonly isProofRequired: true;
|
|
238
|
+
readonly isRecipientRequired: true;
|
|
239
|
+
readonly isIssuedAtRequired: true;
|
|
240
|
+
readonly payloadSchema: {
|
|
241
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
242
|
+
readonly $ref: "#/$defs/Response";
|
|
243
|
+
readonly $defs: {
|
|
244
|
+
readonly Response: {
|
|
245
|
+
readonly $anchor: "response";
|
|
246
|
+
readonly title: "Registry Record Delete — response payload";
|
|
247
|
+
readonly type: "object";
|
|
248
|
+
readonly additionalProperties: false;
|
|
249
|
+
readonly required: readonly ["ok"];
|
|
250
|
+
readonly properties: {
|
|
251
|
+
readonly ok: {
|
|
252
|
+
readonly type: "boolean";
|
|
253
|
+
readonly description: "Whether the record was deleted.";
|
|
254
|
+
};
|
|
255
|
+
readonly message: {
|
|
256
|
+
readonly type: "string";
|
|
257
|
+
readonly maxLength: 1024;
|
|
258
|
+
readonly description: "Optional human-readable detail.";
|
|
259
|
+
};
|
|
260
|
+
readonly ext: {
|
|
261
|
+
readonly $ref: "#/$defs/Ext";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly Ext: {
|
|
266
|
+
readonly title: "Ext";
|
|
267
|
+
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.";
|
|
268
|
+
readonly type: "object";
|
|
269
|
+
readonly minProperties: 1;
|
|
270
|
+
readonly additionalProperties: true;
|
|
271
|
+
readonly propertyNames: {
|
|
272
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/registry/record/delete/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,EAAE,EAAE,OAAO,CAAC;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,wDAAiE,CAAC;AAE1F;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,GAAG,IAAW,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,GAAG,IAAW,CAAC;AAE/C,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,2BAA2B,CAAC;AAElD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,iEAA0E,CAAC;AAE5G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,mCAAmC,CAAC;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/registry/record/delete/0.2/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/registry/record/delete/0.2";
|
|
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/registry/record/delete/0.2#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/registry/record/delete/0.2",
|
|
35
|
+
"title": "Registry Record Delete — payload",
|
|
36
|
+
"description": "An administrator asks a trust registry to delete the trust record identified by the four TRQP identifiers.",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": [
|
|
40
|
+
"entityId",
|
|
41
|
+
"authorityId",
|
|
42
|
+
"action",
|
|
43
|
+
"resource"
|
|
44
|
+
],
|
|
45
|
+
"properties": {
|
|
46
|
+
"entityId": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"authorityId": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"action": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"resource": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"ext": {
|
|
59
|
+
"$ref": "#/$defs/Ext"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"$defs": {
|
|
63
|
+
"Response": {
|
|
64
|
+
"$anchor": "response",
|
|
65
|
+
"title": "Registry Record Delete — response payload",
|
|
66
|
+
"type": "object",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"ok"
|
|
70
|
+
],
|
|
71
|
+
"properties": {
|
|
72
|
+
"ok": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "Whether the record was deleted."
|
|
75
|
+
},
|
|
76
|
+
"message": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"maxLength": 1024,
|
|
79
|
+
"description": "Optional human-readable detail."
|
|
80
|
+
},
|
|
81
|
+
"ext": {
|
|
82
|
+
"$ref": "#/$defs/Ext"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"Ext": {
|
|
87
|
+
"title": "Ext",
|
|
88
|
+
"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.",
|
|
89
|
+
"type": "object",
|
|
90
|
+
"minProperties": 1,
|
|
91
|
+
"additionalProperties": true,
|
|
92
|
+
"propertyNames": {
|
|
93
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
99
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
100
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
101
|
+
"$ref": "#/$defs/Response",
|
|
102
|
+
"$defs": {
|
|
103
|
+
"Response": {
|
|
104
|
+
"$anchor": "response",
|
|
105
|
+
"title": "Registry Record Delete — response payload",
|
|
106
|
+
"type": "object",
|
|
107
|
+
"additionalProperties": false,
|
|
108
|
+
"required": [
|
|
109
|
+
"ok"
|
|
110
|
+
],
|
|
111
|
+
"properties": {
|
|
112
|
+
"ok": {
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"description": "Whether the record was deleted."
|
|
115
|
+
},
|
|
116
|
+
"message": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"maxLength": 1024,
|
|
119
|
+
"description": "Optional human-readable detail."
|
|
120
|
+
},
|
|
121
|
+
"ext": {
|
|
122
|
+
"$ref": "#/$defs/Ext"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"Ext": {
|
|
127
|
+
"title": "Ext",
|
|
128
|
+
"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.",
|
|
129
|
+
"type": "object",
|
|
130
|
+
"minProperties": 1,
|
|
131
|
+
"additionalProperties": true,
|
|
132
|
+
"propertyNames": {
|
|
133
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
140
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
141
|
+
* per-specification and cannot be derived from the document alone, and
|
|
142
|
+
* item 2 needs the schema this carries.
|
|
143
|
+
*/
|
|
144
|
+
export const SPEC = {
|
|
145
|
+
typeUri: TYPE_URI,
|
|
146
|
+
isBearer: false,
|
|
147
|
+
isProofRequired: true,
|
|
148
|
+
isRecipientRequired: true,
|
|
149
|
+
isIssuedAtRequired: true,
|
|
150
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
154
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
155
|
+
* parties (§7.3 item 5).
|
|
156
|
+
*/
|
|
157
|
+
export const RESPONSE_SPEC = {
|
|
158
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
159
|
+
isBearer: false,
|
|
160
|
+
isProofRequired: true,
|
|
161
|
+
isRecipientRequired: true,
|
|
162
|
+
isIssuedAtRequired: true,
|
|
163
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
164
|
+
};
|
|
165
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/registry/record/delete/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA8BH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,wDAAiE,CAAC;AAE1F;;;;;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,iEAA0E,CAAC;AAK5G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,wDAAwD;IAC/D,OAAO,EAAE,kCAAkC;IAC3C,aAAa,EAAE,4GAA4G;IAC3H,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,UAAU;QACV,aAAa;QACb,QAAQ;QACR,UAAU;KACX;IACD,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;SACjB;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;SACjB;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;SACjB;QACD,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;SACjB;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,2CAA2C;YACpD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,IAAI;aACL;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE;oBACJ,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,iCAAiC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,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"}
|
|
@@ -6,12 +6,12 @@ import type { Ext, RecordType, TrustRecord } from "../../../../_shared/component
|
|
|
6
6
|
/**
|
|
7
7
|
* An administrator lists all trust records held by the registry.
|
|
8
8
|
*
|
|
9
|
-
* @deprecated retired; use registry/record/query/0.
|
|
9
|
+
* @deprecated retired; use registry/record/query/0.3
|
|
10
10
|
*/
|
|
11
11
|
export interface RegistryRecordListPayload {
|
|
12
12
|
ext?: Ext;
|
|
13
13
|
}
|
|
14
|
-
/** @deprecated retired; use registry/record/query/0.
|
|
14
|
+
/** @deprecated retired; use registry/record/query/0.3 */
|
|
15
15
|
export interface RegistryRecordListResponsePayload {
|
|
16
16
|
/**
|
|
17
17
|
* All trust records held by the registry.
|
|
@@ -40,7 +40,7 @@ export declare const DEPRECATION: string | null;
|
|
|
40
40
|
/**
|
|
41
41
|
* Stable alias for this specification's request payload shape.
|
|
42
42
|
*
|
|
43
|
-
* @deprecated retired; use registry/record/query/0.
|
|
43
|
+
* @deprecated retired; use registry/record/query/0.3
|
|
44
44
|
*/
|
|
45
45
|
export type Payload = RegistryRecordListPayload;
|
|
46
46
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
@@ -48,7 +48,7 @@ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/registry/re
|
|
|
48
48
|
/**
|
|
49
49
|
* Stable alias for this specification's success-response payload shape.
|
|
50
50
|
*
|
|
51
|
-
* @deprecated retired; use registry/record/query/0.
|
|
51
|
+
* @deprecated retired; use registry/record/query/0.3
|
|
52
52
|
*/
|
|
53
53
|
export type Response = RegistryRecordListResponsePayload;
|
|
54
54
|
/**
|
|
@@ -17,7 +17,7 @@ export const EXTENDS = null;
|
|
|
17
17
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
18
18
|
* Versions").
|
|
19
19
|
*/
|
|
20
|
-
export const DEPRECATION = "retired; use registry/record/query/0.
|
|
20
|
+
export const DEPRECATION = "retired; use registry/record/query/0.3";
|
|
21
21
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
22
22
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/list/0.1#response";
|
|
23
23
|
/**
|
|
@@ -6,7 +6,7 @@ import type { Ext, RecordType, TrustRecord } from "../../../../_shared/component
|
|
|
6
6
|
/**
|
|
7
7
|
* An administrator asks a trust registry to create or replace the trust record at its four-part key (entity+authority+action+resource). Create-or-update in one task, following the vault/upsert precedent; the optional `expectedExisting` assertion recovers the strict create-only / update-only semantics of the superseded registry/record/create and registry/record/update tasks.
|
|
8
8
|
*
|
|
9
|
-
* @deprecated superseded by registry/record/put/0.
|
|
9
|
+
* @deprecated superseded by registry/record/put/0.3
|
|
10
10
|
*/
|
|
11
11
|
export interface RegistryRecordPutPayload {
|
|
12
12
|
record: TrustRecord;
|
|
@@ -16,7 +16,7 @@ export interface RegistryRecordPutPayload {
|
|
|
16
16
|
expectedExisting?: boolean;
|
|
17
17
|
ext?: Ext;
|
|
18
18
|
}
|
|
19
|
-
/** @deprecated superseded by registry/record/put/0.
|
|
19
|
+
/** @deprecated superseded by registry/record/put/0.3 */
|
|
20
20
|
export interface RegistryRecordPutResponsePayload {
|
|
21
21
|
/**
|
|
22
22
|
* Whether the record was stored.
|
|
@@ -53,7 +53,7 @@ export declare const DEPRECATION: string | null;
|
|
|
53
53
|
/**
|
|
54
54
|
* Stable alias for this specification's request payload shape.
|
|
55
55
|
*
|
|
56
|
-
* @deprecated superseded by registry/record/put/0.
|
|
56
|
+
* @deprecated superseded by registry/record/put/0.3
|
|
57
57
|
*/
|
|
58
58
|
export type Payload = RegistryRecordPutPayload;
|
|
59
59
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
@@ -61,7 +61,7 @@ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/registry/re
|
|
|
61
61
|
/**
|
|
62
62
|
* Stable alias for this specification's success-response payload shape.
|
|
63
63
|
*
|
|
64
|
-
* @deprecated superseded by registry/record/put/0.
|
|
64
|
+
* @deprecated superseded by registry/record/put/0.3
|
|
65
65
|
*/
|
|
66
66
|
export type Response = RegistryRecordPutResponsePayload;
|
|
67
67
|
/**
|
|
@@ -17,7 +17,7 @@ export const EXTENDS = null;
|
|
|
17
17
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
18
18
|
* Versions").
|
|
19
19
|
*/
|
|
20
|
-
export const DEPRECATION = "superseded by registry/record/put/0.
|
|
20
|
+
export const DEPRECATION = "superseded by registry/record/put/0.3";
|
|
21
21
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
22
22
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/put/0.1#response";
|
|
23
23
|
/**
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import type { Ext, RecordType, TrustRecord } from "../../../../_shared/components.js";
|
|
6
6
|
/**
|
|
7
7
|
* An administrator asks a trust registry to create or replace the trust record at its four-part key (entity+authority+action+resource). Create-or-update in one task, following the vault/upsert precedent; the optional `expectedExisting` assertion recovers the strict create-only / update-only semantics of the superseded registry/record/create and registry/record/update tasks.
|
|
8
|
+
*
|
|
9
|
+
* @deprecated superseded by registry/record/put/0.3
|
|
8
10
|
*/
|
|
9
11
|
export interface RegistryRecordPutPayload {
|
|
10
12
|
record: TrustRecord;
|
|
@@ -14,6 +16,7 @@ export interface RegistryRecordPutPayload {
|
|
|
14
16
|
expectedExisting?: boolean;
|
|
15
17
|
ext?: Ext;
|
|
16
18
|
}
|
|
19
|
+
/** @deprecated superseded by registry/record/put/0.3 */
|
|
17
20
|
export interface RegistryRecordPutResponsePayload {
|
|
18
21
|
/**
|
|
19
22
|
* Whether the record was stored.
|
|
@@ -47,11 +50,19 @@ export declare const EXTENDS: string | null;
|
|
|
47
50
|
* Versions").
|
|
48
51
|
*/
|
|
49
52
|
export declare const DEPRECATION: string | null;
|
|
50
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Stable alias for this specification's request payload shape.
|
|
55
|
+
*
|
|
56
|
+
* @deprecated superseded by registry/record/put/0.3
|
|
57
|
+
*/
|
|
51
58
|
export type Payload = RegistryRecordPutPayload;
|
|
52
59
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
53
60
|
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/registry/record/put/0.2#response";
|
|
54
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Stable alias for this specification's success-response payload shape.
|
|
63
|
+
*
|
|
64
|
+
* @deprecated superseded by registry/record/put/0.3
|
|
65
|
+
*/
|
|
55
66
|
export type Response = RegistryRecordPutResponsePayload;
|
|
56
67
|
/**
|
|
57
68
|
* This specification's payload schema, as a value.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/registry/record/put/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGtF
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/registry/record/put/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAGtF;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,gBAAgB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;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const EXTENDS = null;
|
|
|
17
17
|
* this package in a later scheduled batch (SPEC "Superseded and Withdrawn
|
|
18
18
|
* Versions").
|
|
19
19
|
*/
|
|
20
|
-
export const DEPRECATION =
|
|
20
|
+
export const DEPRECATION = "superseded by registry/record/put/0.3";
|
|
21
21
|
/** Trust Task response type URI (request type URI + "#response"). */
|
|
22
22
|
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/registry/record/put/0.2#response";
|
|
23
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/registry/record/put/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/registry/record/put/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAEvF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAkB,IAAI,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAkB,uCAAuC,CAAC;AASlF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AASzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,wXAAwX;IACvY,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QAC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