@openvtc/trust-tasks 0.19.9 → 0.19.10
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 +2 -0
- package/dist/vta/contexts/delete/1.0/payload.d.ts +32 -0
- package/dist/vta/contexts/delete/1.0/payload.d.ts.map +1 -1
- package/dist/vta/contexts/delete/1.0/payload.js +14 -0
- package/dist/vta/contexts/delete/1.0/payload.js.map +1 -1
- package/dist/vta/contexts/preview-delete/1.0/payload.d.ts +32 -0
- package/dist/vta/contexts/preview-delete/1.0/payload.d.ts.map +1 -1
- package/dist/vta/contexts/preview-delete/1.0/payload.js +14 -0
- package/dist/vta/contexts/preview-delete/1.0/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/vta/contexts/delete/1.0/payload.ts +18 -0
- package/src/vta/contexts/preview-delete/1.0/payload.ts +18 -0
package/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,10 @@ export interface VTAContextsDeleteResponsePayload {
|
|
|
23
23
|
* Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone.
|
|
24
24
|
*/
|
|
25
25
|
deleted: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone.
|
|
28
|
+
*/
|
|
29
|
+
daemonCleanupErrors?: string[];
|
|
26
30
|
ext?: Ext;
|
|
27
31
|
}
|
|
28
32
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
@@ -82,6 +86,13 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
82
86
|
readonly type: "boolean";
|
|
83
87
|
readonly description: "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone.";
|
|
84
88
|
};
|
|
89
|
+
readonly daemonCleanupErrors: {
|
|
90
|
+
readonly type: "array";
|
|
91
|
+
readonly items: {
|
|
92
|
+
readonly type: "string";
|
|
93
|
+
};
|
|
94
|
+
readonly description: "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone.";
|
|
95
|
+
};
|
|
85
96
|
readonly ext: {
|
|
86
97
|
readonly $ref: "#/$defs/Ext";
|
|
87
98
|
};
|
|
@@ -119,6 +130,13 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
119
130
|
readonly type: "boolean";
|
|
120
131
|
readonly description: "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone.";
|
|
121
132
|
};
|
|
133
|
+
readonly daemonCleanupErrors: {
|
|
134
|
+
readonly type: "array";
|
|
135
|
+
readonly items: {
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
};
|
|
138
|
+
readonly description: "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone.";
|
|
139
|
+
};
|
|
122
140
|
readonly ext: {
|
|
123
141
|
readonly $ref: "#/$defs/Ext";
|
|
124
142
|
};
|
|
@@ -186,6 +204,13 @@ export declare const SPEC: {
|
|
|
186
204
|
readonly type: "boolean";
|
|
187
205
|
readonly description: "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone.";
|
|
188
206
|
};
|
|
207
|
+
readonly daemonCleanupErrors: {
|
|
208
|
+
readonly type: "array";
|
|
209
|
+
readonly items: {
|
|
210
|
+
readonly type: "string";
|
|
211
|
+
};
|
|
212
|
+
readonly description: "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone.";
|
|
213
|
+
};
|
|
189
214
|
readonly ext: {
|
|
190
215
|
readonly $ref: "#/$defs/Ext";
|
|
191
216
|
};
|
|
@@ -234,6 +259,13 @@ export declare const RESPONSE_SPEC: {
|
|
|
234
259
|
readonly type: "boolean";
|
|
235
260
|
readonly description: "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone.";
|
|
236
261
|
};
|
|
262
|
+
readonly daemonCleanupErrors: {
|
|
263
|
+
readonly type: "array";
|
|
264
|
+
readonly items: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
};
|
|
267
|
+
readonly description: "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone.";
|
|
268
|
+
};
|
|
237
269
|
readonly ext: {
|
|
238
270
|
readonly $ref: "#/$defs/Ext";
|
|
239
271
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vta/contexts/delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,qDAA8D,CAAC;AAEvF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAE/C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,8DAAuE,CAAC;AAEzG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAExD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vta/contexts/delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,qDAA8D,CAAC;AAEvF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAE/C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,8DAAuE,CAAC;AAEzG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAExD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -58,6 +58,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
58
58
|
"type": "boolean",
|
|
59
59
|
"description": "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone."
|
|
60
60
|
},
|
|
61
|
+
"daemonCleanupErrors": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"description": "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone."
|
|
67
|
+
},
|
|
61
68
|
"ext": {
|
|
62
69
|
"$ref": "#/$defs/Ext"
|
|
63
70
|
}
|
|
@@ -98,6 +105,13 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
98
105
|
"type": "boolean",
|
|
99
106
|
"description": "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone."
|
|
100
107
|
},
|
|
108
|
+
"daemonCleanupErrors": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"items": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"description": "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone."
|
|
114
|
+
},
|
|
101
115
|
"ext": {
|
|
102
116
|
"$ref": "#/$defs/Ext"
|
|
103
117
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/contexts/delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/contexts/delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,IAAI;KACL;IACD,YAAY,E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;YAC5H,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,IAAI;gBACJ,SAAS;aACV;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ;iBACjB;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,4NAA4N;iBAC5O;gBACD,qBAAqB,EAAE;oBACrB,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;qBACjB;oBACD,aAAa,EAAE,0dAA0d;iBAC1e;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;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"}
|
|
@@ -21,6 +21,10 @@ export interface VTAContextsPreviewDeleteResponsePayload {
|
|
|
21
21
|
* The context previewed.
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf.
|
|
26
|
+
*/
|
|
27
|
+
subContexts?: string[];
|
|
24
28
|
/**
|
|
25
29
|
* Key ids that would be destroyed. A derived key can be re-derived from the seed; an internally-generated one cannot be recovered by any means, and this list does not distinguish them — a consumer rendering it for a human SHOULD resolve each key before presenting the choice.
|
|
26
30
|
*/
|
|
@@ -93,6 +97,13 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
93
97
|
readonly type: "string";
|
|
94
98
|
readonly description: "The context previewed.";
|
|
95
99
|
};
|
|
100
|
+
readonly subContexts: {
|
|
101
|
+
readonly type: "array";
|
|
102
|
+
readonly items: {
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
};
|
|
105
|
+
readonly description: "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf.";
|
|
106
|
+
};
|
|
96
107
|
readonly keys: {
|
|
97
108
|
readonly type: "array";
|
|
98
109
|
readonly items: {
|
|
@@ -162,6 +173,13 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
162
173
|
readonly type: "string";
|
|
163
174
|
readonly description: "The context previewed.";
|
|
164
175
|
};
|
|
176
|
+
readonly subContexts: {
|
|
177
|
+
readonly type: "array";
|
|
178
|
+
readonly items: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
};
|
|
181
|
+
readonly description: "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf.";
|
|
182
|
+
};
|
|
165
183
|
readonly keys: {
|
|
166
184
|
readonly type: "array";
|
|
167
185
|
readonly items: {
|
|
@@ -257,6 +275,13 @@ export declare const SPEC: {
|
|
|
257
275
|
readonly type: "string";
|
|
258
276
|
readonly description: "The context previewed.";
|
|
259
277
|
};
|
|
278
|
+
readonly subContexts: {
|
|
279
|
+
readonly type: "array";
|
|
280
|
+
readonly items: {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
};
|
|
283
|
+
readonly description: "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf.";
|
|
284
|
+
};
|
|
260
285
|
readonly keys: {
|
|
261
286
|
readonly type: "array";
|
|
262
287
|
readonly items: {
|
|
@@ -337,6 +362,13 @@ export declare const RESPONSE_SPEC: {
|
|
|
337
362
|
readonly type: "string";
|
|
338
363
|
readonly description: "The context previewed.";
|
|
339
364
|
};
|
|
365
|
+
readonly subContexts: {
|
|
366
|
+
readonly type: "array";
|
|
367
|
+
readonly items: {
|
|
368
|
+
readonly type: "string";
|
|
369
|
+
};
|
|
370
|
+
readonly description: "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf.";
|
|
371
|
+
};
|
|
340
372
|
readonly keys: {
|
|
341
373
|
readonly type: "array";
|
|
342
374
|
readonly items: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vta/contexts/preview-delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B;;OAEG;IACH,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,6DAAsE,CAAC;AAE/F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAEtD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,sEAA+E,CAAC;AAEjH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,uCAAuC,CAAC;AAE/D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vta/contexts/preview-delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;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;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -54,6 +54,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
54
54
|
"type": "string",
|
|
55
55
|
"description": "The context previewed."
|
|
56
56
|
},
|
|
57
|
+
"subContexts": {
|
|
58
|
+
"type": "array",
|
|
59
|
+
"items": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"description": "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf."
|
|
63
|
+
},
|
|
57
64
|
"keys": {
|
|
58
65
|
"type": "array",
|
|
59
66
|
"items": {
|
|
@@ -129,6 +136,13 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
129
136
|
"type": "string",
|
|
130
137
|
"description": "The context previewed."
|
|
131
138
|
},
|
|
139
|
+
"subContexts": {
|
|
140
|
+
"type": "array",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"description": "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf."
|
|
145
|
+
},
|
|
132
146
|
"keys": {
|
|
133
147
|
"type": "array",
|
|
134
148
|
"items": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/contexts/preview-delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/contexts/preview-delete/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqDH,2BAA2B;AAC3B,MAAM,CAAC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,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -26,6 +26,10 @@ export interface VTAContextsDeleteResponsePayload {
|
|
|
26
26
|
* Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone.
|
|
27
27
|
*/
|
|
28
28
|
deleted: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone.
|
|
31
|
+
*/
|
|
32
|
+
daemonCleanupErrors?: string[];
|
|
29
33
|
ext?: Ext;
|
|
30
34
|
}
|
|
31
35
|
|
|
@@ -96,6 +100,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
96
100
|
"type": "boolean",
|
|
97
101
|
"description": "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone."
|
|
98
102
|
},
|
|
103
|
+
"daemonCleanupErrors": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"description": "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone."
|
|
109
|
+
},
|
|
99
110
|
"ext": {
|
|
100
111
|
"$ref": "#/$defs/Ext"
|
|
101
112
|
}
|
|
@@ -137,6 +148,13 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
137
148
|
"type": "boolean",
|
|
138
149
|
"description": "Whether the context was removed. A successful response carrying `false` means the VTA declined to act — it is not an error, and a consumer MUST NOT report the deletion as done on the basis of the response status alone."
|
|
139
150
|
},
|
|
151
|
+
"daemonCleanupErrors": {
|
|
152
|
+
"type": "array",
|
|
153
|
+
"items": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"description": "One entry per `did:webvh` DID in the deleted subtree whose local record was removed while its hosting server did not confirm removal of the published log. **Those DIDs may still resolve.** This is a partial success reported as a success — the same condition `vta/webvh/dids/delete/1.0` reports as `daemonCleanupError` for a single DID — and a consumer MUST surface it rather than treating the deletion as complete. Absent or empty means every host copy was confirmed gone."
|
|
157
|
+
},
|
|
140
158
|
"ext": {
|
|
141
159
|
"$ref": "#/$defs/Ext"
|
|
142
160
|
}
|
|
@@ -24,6 +24,10 @@ export interface VTAContextsPreviewDeleteResponsePayload {
|
|
|
24
24
|
* The context previewed.
|
|
25
25
|
*/
|
|
26
26
|
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf.
|
|
29
|
+
*/
|
|
30
|
+
subContexts?: string[];
|
|
27
31
|
/**
|
|
28
32
|
* Key ids that would be destroyed. A derived key can be re-derived from the seed; an internally-generated one cannot be recovered by any means, and this list does not distinguish them — a consumer rendering it for a human SHOULD resolve each key before presenting the choice.
|
|
29
33
|
*/
|
|
@@ -110,6 +114,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
110
114
|
"type": "string",
|
|
111
115
|
"description": "The context previewed."
|
|
112
116
|
},
|
|
117
|
+
"subContexts": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"description": "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf."
|
|
123
|
+
},
|
|
113
124
|
"keys": {
|
|
114
125
|
"type": "array",
|
|
115
126
|
"items": {
|
|
@@ -186,6 +197,13 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
186
197
|
"type": "string",
|
|
187
198
|
"description": "The context previewed."
|
|
188
199
|
},
|
|
200
|
+
"subContexts": {
|
|
201
|
+
"type": "array",
|
|
202
|
+
"items": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
"description": "Sub-contexts that would be deleted along with this one, as full paths, deepest first. Deleting a context deletes its whole subtree, so every other array in this response covers the resources of these contexts as well as of the context itself — a consumer rendering the preview for a human MUST show this list, because a caller told only what the named context holds cannot see how much of the tree the deletion reaches. Absent or empty means the context is a leaf."
|
|
206
|
+
},
|
|
189
207
|
"keys": {
|
|
190
208
|
"type": "array",
|
|
191
209
|
"items": {
|