@openvtc/trust-tasks 0.19.5 → 0.19.6
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 +47 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/registry/records/list/0.1/payload.d.ts +576 -0
- package/dist/vtc/registry/records/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/registry/records/list/0.1/payload.js +312 -0
- package/dist/vtc/registry/records/list/0.1/payload.js.map +1 -0
- package/dist/vtc/registry/sync-jobs/discard/0.1/payload.d.ts +254 -0
- package/dist/vtc/registry/sync-jobs/discard/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/registry/sync-jobs/discard/0.1/payload.js +145 -0
- package/dist/vtc/registry/sync-jobs/discard/0.1/payload.js.map +1 -0
- package/dist/vtc/registry/sync-jobs/list/0.1/payload.d.ts +584 -0
- package/dist/vtc/registry/sync-jobs/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/registry/sync-jobs/list/0.1/payload.js +343 -0
- package/dist/vtc/registry/sync-jobs/list/0.1/payload.js.map +1 -0
- package/dist/vtc/registry/sync-jobs/retry/0.1/payload.d.ts +474 -0
- package/dist/vtc/registry/sync-jobs/retry/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/registry/sync-jobs/retry/0.1/payload.js +269 -0
- package/dist/vtc/registry/sync-jobs/retry/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
- package/src/vtc/registry/records/list/0.1/payload.ts +407 -0
- package/src/vtc/registry/sync-jobs/discard/0.1/payload.ts +184 -0
- package/src/vtc/registry/sync-jobs/list/0.1/payload.ts +433 -0
- package/src/vtc/registry/sync-jobs/retry/0.1/payload.ts +331 -0
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/registry/sync-jobs/retry/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext } from "../../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Requeue an abandoned trust-registry reconciliation job so the community's reconciler dispatches it again.
|
|
8
|
+
*/
|
|
9
|
+
export type VTCRegistrySyncJobsRetryPayload = {
|
|
10
|
+
/**
|
|
11
|
+
* The single job to requeue, from `vtc/registry/sync-jobs/list`.
|
|
12
|
+
*/
|
|
13
|
+
jobId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Requeue every job in the terminal `failed` state. Spelled as its own member rather than an absent `jobId` so that a client bug which drops the identifier cannot silently become a bulk operation.
|
|
16
|
+
*/
|
|
17
|
+
allFailed?: true;
|
|
18
|
+
ext?: Ext;
|
|
19
|
+
} & {
|
|
20
|
+
[k: string]: unknown | undefined;
|
|
21
|
+
};
|
|
22
|
+
export interface VTCRegistrySyncJobsRetryResponsePayload {
|
|
23
|
+
/**
|
|
24
|
+
* Jobs now scheduled for dispatch. Empty is a valid answer and is not an error.
|
|
25
|
+
*/
|
|
26
|
+
requeued: Requeued[];
|
|
27
|
+
/**
|
|
28
|
+
* Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row.
|
|
29
|
+
*/
|
|
30
|
+
skipped: Skipped[];
|
|
31
|
+
ext?: Ext;
|
|
32
|
+
}
|
|
33
|
+
export interface Requeued {
|
|
34
|
+
jobId: string;
|
|
35
|
+
/**
|
|
36
|
+
* The member whose record the requeued job carries.
|
|
37
|
+
*/
|
|
38
|
+
memberDid?: string;
|
|
39
|
+
ext?: Ext;
|
|
40
|
+
}
|
|
41
|
+
export interface Skipped {
|
|
42
|
+
jobId: string;
|
|
43
|
+
/**
|
|
44
|
+
* `notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept.
|
|
45
|
+
*/
|
|
46
|
+
reason: "notFailed" | "notFound";
|
|
47
|
+
ext?: Ext;
|
|
48
|
+
}
|
|
49
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
50
|
+
export type { Ext };
|
|
51
|
+
/** Trust Task type URI. */
|
|
52
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1";
|
|
53
|
+
/** Stable alias for this specification's request payload shape. */
|
|
54
|
+
export type Payload = VTCRegistrySyncJobsRetryPayload;
|
|
55
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
56
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1#response";
|
|
57
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
58
|
+
export type Response = VTCRegistrySyncJobsRetryResponsePayload;
|
|
59
|
+
/**
|
|
60
|
+
* This specification's payload schema, as a value.
|
|
61
|
+
*
|
|
62
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
63
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
64
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
65
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
66
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
67
|
+
*/
|
|
68
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
69
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
70
|
+
readonly $id: "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1";
|
|
71
|
+
readonly title: "VTC Registry Sync Jobs Retry — payload";
|
|
72
|
+
readonly description: "Requeue an abandoned trust-registry reconciliation job so the community's reconciler dispatches it again.";
|
|
73
|
+
readonly type: "object";
|
|
74
|
+
readonly additionalProperties: false;
|
|
75
|
+
readonly oneOf: readonly [{
|
|
76
|
+
readonly required: readonly ["jobId"];
|
|
77
|
+
readonly not: {
|
|
78
|
+
readonly required: readonly ["allFailed"];
|
|
79
|
+
};
|
|
80
|
+
}, {
|
|
81
|
+
readonly required: readonly ["allFailed"];
|
|
82
|
+
readonly not: {
|
|
83
|
+
readonly required: readonly ["jobId"];
|
|
84
|
+
};
|
|
85
|
+
}];
|
|
86
|
+
readonly properties: {
|
|
87
|
+
readonly jobId: {
|
|
88
|
+
readonly type: "string";
|
|
89
|
+
readonly minLength: 1;
|
|
90
|
+
readonly description: "The single job to requeue, from `vtc/registry/sync-jobs/list`.";
|
|
91
|
+
};
|
|
92
|
+
readonly allFailed: {
|
|
93
|
+
readonly type: "boolean";
|
|
94
|
+
readonly const: true;
|
|
95
|
+
readonly description: "Requeue every job in the terminal `failed` state. Spelled as its own member rather than an absent `jobId` so that a client bug which drops the identifier cannot silently become a bulk operation.";
|
|
96
|
+
};
|
|
97
|
+
readonly ext: {
|
|
98
|
+
readonly $ref: "#/$defs/Ext";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly $defs: {
|
|
102
|
+
readonly Requeued: {
|
|
103
|
+
readonly type: "object";
|
|
104
|
+
readonly additionalProperties: false;
|
|
105
|
+
readonly required: readonly ["jobId"];
|
|
106
|
+
readonly properties: {
|
|
107
|
+
readonly jobId: {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly minLength: 1;
|
|
110
|
+
};
|
|
111
|
+
readonly memberDid: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
readonly minLength: 1;
|
|
114
|
+
readonly description: "The member whose record the requeued job carries.";
|
|
115
|
+
};
|
|
116
|
+
readonly ext: {
|
|
117
|
+
readonly $ref: "#/$defs/Ext";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
readonly Skipped: {
|
|
122
|
+
readonly type: "object";
|
|
123
|
+
readonly additionalProperties: false;
|
|
124
|
+
readonly required: readonly ["jobId", "reason"];
|
|
125
|
+
readonly properties: {
|
|
126
|
+
readonly jobId: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly minLength: 1;
|
|
129
|
+
};
|
|
130
|
+
readonly reason: {
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
readonly enum: readonly ["notFailed", "notFound"];
|
|
133
|
+
readonly description: "`notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept.";
|
|
134
|
+
};
|
|
135
|
+
readonly ext: {
|
|
136
|
+
readonly $ref: "#/$defs/Ext";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
readonly Response: {
|
|
141
|
+
readonly $anchor: "response";
|
|
142
|
+
readonly title: "VTC Registry Sync Jobs Retry — response payload";
|
|
143
|
+
readonly type: "object";
|
|
144
|
+
readonly additionalProperties: false;
|
|
145
|
+
readonly required: readonly ["requeued", "skipped"];
|
|
146
|
+
readonly properties: {
|
|
147
|
+
readonly requeued: {
|
|
148
|
+
readonly type: "array";
|
|
149
|
+
readonly items: {
|
|
150
|
+
readonly $ref: "#/$defs/Requeued";
|
|
151
|
+
};
|
|
152
|
+
readonly description: "Jobs now scheduled for dispatch. Empty is a valid answer and is not an error.";
|
|
153
|
+
};
|
|
154
|
+
readonly skipped: {
|
|
155
|
+
readonly type: "array";
|
|
156
|
+
readonly items: {
|
|
157
|
+
readonly $ref: "#/$defs/Skipped";
|
|
158
|
+
};
|
|
159
|
+
readonly description: "Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row.";
|
|
160
|
+
};
|
|
161
|
+
readonly ext: {
|
|
162
|
+
readonly $ref: "#/$defs/Ext";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly Ext: {
|
|
167
|
+
readonly title: "Ext";
|
|
168
|
+
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.";
|
|
169
|
+
readonly type: "object";
|
|
170
|
+
readonly minProperties: 1;
|
|
171
|
+
readonly additionalProperties: true;
|
|
172
|
+
readonly propertyNames: {
|
|
173
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
179
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
180
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
181
|
+
readonly $ref: "#/$defs/Response";
|
|
182
|
+
readonly $defs: {
|
|
183
|
+
readonly Requeued: {
|
|
184
|
+
readonly type: "object";
|
|
185
|
+
readonly additionalProperties: false;
|
|
186
|
+
readonly required: readonly ["jobId"];
|
|
187
|
+
readonly properties: {
|
|
188
|
+
readonly jobId: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
readonly minLength: 1;
|
|
191
|
+
};
|
|
192
|
+
readonly memberDid: {
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
readonly minLength: 1;
|
|
195
|
+
readonly description: "The member whose record the requeued job carries.";
|
|
196
|
+
};
|
|
197
|
+
readonly ext: {
|
|
198
|
+
readonly $ref: "#/$defs/Ext";
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
readonly Skipped: {
|
|
203
|
+
readonly type: "object";
|
|
204
|
+
readonly additionalProperties: false;
|
|
205
|
+
readonly required: readonly ["jobId", "reason"];
|
|
206
|
+
readonly properties: {
|
|
207
|
+
readonly jobId: {
|
|
208
|
+
readonly type: "string";
|
|
209
|
+
readonly minLength: 1;
|
|
210
|
+
};
|
|
211
|
+
readonly reason: {
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
readonly enum: readonly ["notFailed", "notFound"];
|
|
214
|
+
readonly description: "`notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept.";
|
|
215
|
+
};
|
|
216
|
+
readonly ext: {
|
|
217
|
+
readonly $ref: "#/$defs/Ext";
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly Response: {
|
|
222
|
+
readonly $anchor: "response";
|
|
223
|
+
readonly title: "VTC Registry Sync Jobs Retry — response payload";
|
|
224
|
+
readonly type: "object";
|
|
225
|
+
readonly additionalProperties: false;
|
|
226
|
+
readonly required: readonly ["requeued", "skipped"];
|
|
227
|
+
readonly properties: {
|
|
228
|
+
readonly requeued: {
|
|
229
|
+
readonly type: "array";
|
|
230
|
+
readonly items: {
|
|
231
|
+
readonly $ref: "#/$defs/Requeued";
|
|
232
|
+
};
|
|
233
|
+
readonly description: "Jobs now scheduled for dispatch. Empty is a valid answer and is not an error.";
|
|
234
|
+
};
|
|
235
|
+
readonly skipped: {
|
|
236
|
+
readonly type: "array";
|
|
237
|
+
readonly items: {
|
|
238
|
+
readonly $ref: "#/$defs/Skipped";
|
|
239
|
+
};
|
|
240
|
+
readonly description: "Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row.";
|
|
241
|
+
};
|
|
242
|
+
readonly ext: {
|
|
243
|
+
readonly $ref: "#/$defs/Ext";
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
readonly Ext: {
|
|
248
|
+
readonly title: "Ext";
|
|
249
|
+
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.";
|
|
250
|
+
readonly type: "object";
|
|
251
|
+
readonly minProperties: 1;
|
|
252
|
+
readonly additionalProperties: true;
|
|
253
|
+
readonly propertyNames: {
|
|
254
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
261
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
262
|
+
* per-specification and cannot be derived from the document alone, and
|
|
263
|
+
* item 2 needs the schema this carries.
|
|
264
|
+
*/
|
|
265
|
+
export declare const SPEC: {
|
|
266
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1";
|
|
267
|
+
readonly isBearer: false;
|
|
268
|
+
readonly isProofRequired: true;
|
|
269
|
+
readonly isRecipientRequired: true;
|
|
270
|
+
readonly isIssuedAtRequired: true;
|
|
271
|
+
readonly payloadSchema: {
|
|
272
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
273
|
+
readonly $id: "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1";
|
|
274
|
+
readonly title: "VTC Registry Sync Jobs Retry — payload";
|
|
275
|
+
readonly description: "Requeue an abandoned trust-registry reconciliation job so the community's reconciler dispatches it again.";
|
|
276
|
+
readonly type: "object";
|
|
277
|
+
readonly additionalProperties: false;
|
|
278
|
+
readonly oneOf: readonly [{
|
|
279
|
+
readonly required: readonly ["jobId"];
|
|
280
|
+
readonly not: {
|
|
281
|
+
readonly required: readonly ["allFailed"];
|
|
282
|
+
};
|
|
283
|
+
}, {
|
|
284
|
+
readonly required: readonly ["allFailed"];
|
|
285
|
+
readonly not: {
|
|
286
|
+
readonly required: readonly ["jobId"];
|
|
287
|
+
};
|
|
288
|
+
}];
|
|
289
|
+
readonly properties: {
|
|
290
|
+
readonly jobId: {
|
|
291
|
+
readonly type: "string";
|
|
292
|
+
readonly minLength: 1;
|
|
293
|
+
readonly description: "The single job to requeue, from `vtc/registry/sync-jobs/list`.";
|
|
294
|
+
};
|
|
295
|
+
readonly allFailed: {
|
|
296
|
+
readonly type: "boolean";
|
|
297
|
+
readonly const: true;
|
|
298
|
+
readonly description: "Requeue every job in the terminal `failed` state. Spelled as its own member rather than an absent `jobId` so that a client bug which drops the identifier cannot silently become a bulk operation.";
|
|
299
|
+
};
|
|
300
|
+
readonly ext: {
|
|
301
|
+
readonly $ref: "#/$defs/Ext";
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
readonly $defs: {
|
|
305
|
+
readonly Requeued: {
|
|
306
|
+
readonly type: "object";
|
|
307
|
+
readonly additionalProperties: false;
|
|
308
|
+
readonly required: readonly ["jobId"];
|
|
309
|
+
readonly properties: {
|
|
310
|
+
readonly jobId: {
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
readonly minLength: 1;
|
|
313
|
+
};
|
|
314
|
+
readonly memberDid: {
|
|
315
|
+
readonly type: "string";
|
|
316
|
+
readonly minLength: 1;
|
|
317
|
+
readonly description: "The member whose record the requeued job carries.";
|
|
318
|
+
};
|
|
319
|
+
readonly ext: {
|
|
320
|
+
readonly $ref: "#/$defs/Ext";
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
readonly Skipped: {
|
|
325
|
+
readonly type: "object";
|
|
326
|
+
readonly additionalProperties: false;
|
|
327
|
+
readonly required: readonly ["jobId", "reason"];
|
|
328
|
+
readonly properties: {
|
|
329
|
+
readonly jobId: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly minLength: 1;
|
|
332
|
+
};
|
|
333
|
+
readonly reason: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
readonly enum: readonly ["notFailed", "notFound"];
|
|
336
|
+
readonly description: "`notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept.";
|
|
337
|
+
};
|
|
338
|
+
readonly ext: {
|
|
339
|
+
readonly $ref: "#/$defs/Ext";
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly Response: {
|
|
344
|
+
readonly $anchor: "response";
|
|
345
|
+
readonly title: "VTC Registry Sync Jobs Retry — response payload";
|
|
346
|
+
readonly type: "object";
|
|
347
|
+
readonly additionalProperties: false;
|
|
348
|
+
readonly required: readonly ["requeued", "skipped"];
|
|
349
|
+
readonly properties: {
|
|
350
|
+
readonly requeued: {
|
|
351
|
+
readonly type: "array";
|
|
352
|
+
readonly items: {
|
|
353
|
+
readonly $ref: "#/$defs/Requeued";
|
|
354
|
+
};
|
|
355
|
+
readonly description: "Jobs now scheduled for dispatch. Empty is a valid answer and is not an error.";
|
|
356
|
+
};
|
|
357
|
+
readonly skipped: {
|
|
358
|
+
readonly type: "array";
|
|
359
|
+
readonly items: {
|
|
360
|
+
readonly $ref: "#/$defs/Skipped";
|
|
361
|
+
};
|
|
362
|
+
readonly description: "Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row.";
|
|
363
|
+
};
|
|
364
|
+
readonly ext: {
|
|
365
|
+
readonly $ref: "#/$defs/Ext";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
readonly Ext: {
|
|
370
|
+
readonly title: "Ext";
|
|
371
|
+
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.";
|
|
372
|
+
readonly type: "object";
|
|
373
|
+
readonly minProperties: 1;
|
|
374
|
+
readonly additionalProperties: true;
|
|
375
|
+
readonly propertyNames: {
|
|
376
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
384
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
385
|
+
* parties (§7.3 item 5).
|
|
386
|
+
*/
|
|
387
|
+
export declare const RESPONSE_SPEC: {
|
|
388
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/registry/sync-jobs/retry/0.1#response";
|
|
389
|
+
readonly isBearer: false;
|
|
390
|
+
readonly isProofRequired: true;
|
|
391
|
+
readonly isRecipientRequired: true;
|
|
392
|
+
readonly isIssuedAtRequired: true;
|
|
393
|
+
readonly payloadSchema: {
|
|
394
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
395
|
+
readonly $ref: "#/$defs/Response";
|
|
396
|
+
readonly $defs: {
|
|
397
|
+
readonly Requeued: {
|
|
398
|
+
readonly type: "object";
|
|
399
|
+
readonly additionalProperties: false;
|
|
400
|
+
readonly required: readonly ["jobId"];
|
|
401
|
+
readonly properties: {
|
|
402
|
+
readonly jobId: {
|
|
403
|
+
readonly type: "string";
|
|
404
|
+
readonly minLength: 1;
|
|
405
|
+
};
|
|
406
|
+
readonly memberDid: {
|
|
407
|
+
readonly type: "string";
|
|
408
|
+
readonly minLength: 1;
|
|
409
|
+
readonly description: "The member whose record the requeued job carries.";
|
|
410
|
+
};
|
|
411
|
+
readonly ext: {
|
|
412
|
+
readonly $ref: "#/$defs/Ext";
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
readonly Skipped: {
|
|
417
|
+
readonly type: "object";
|
|
418
|
+
readonly additionalProperties: false;
|
|
419
|
+
readonly required: readonly ["jobId", "reason"];
|
|
420
|
+
readonly properties: {
|
|
421
|
+
readonly jobId: {
|
|
422
|
+
readonly type: "string";
|
|
423
|
+
readonly minLength: 1;
|
|
424
|
+
};
|
|
425
|
+
readonly reason: {
|
|
426
|
+
readonly type: "string";
|
|
427
|
+
readonly enum: readonly ["notFailed", "notFound"];
|
|
428
|
+
readonly description: "`notFailed` — the reconciler still owns the job, so requeueing it would dispatch the same mutation twice. `notFound` — no such job; it may already have been retried, discarded, or swept.";
|
|
429
|
+
};
|
|
430
|
+
readonly ext: {
|
|
431
|
+
readonly $ref: "#/$defs/Ext";
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
readonly Response: {
|
|
436
|
+
readonly $anchor: "response";
|
|
437
|
+
readonly title: "VTC Registry Sync Jobs Retry — response payload";
|
|
438
|
+
readonly type: "object";
|
|
439
|
+
readonly additionalProperties: false;
|
|
440
|
+
readonly required: readonly ["requeued", "skipped"];
|
|
441
|
+
readonly properties: {
|
|
442
|
+
readonly requeued: {
|
|
443
|
+
readonly type: "array";
|
|
444
|
+
readonly items: {
|
|
445
|
+
readonly $ref: "#/$defs/Requeued";
|
|
446
|
+
};
|
|
447
|
+
readonly description: "Jobs now scheduled for dispatch. Empty is a valid answer and is not an error.";
|
|
448
|
+
};
|
|
449
|
+
readonly skipped: {
|
|
450
|
+
readonly type: "array";
|
|
451
|
+
readonly items: {
|
|
452
|
+
readonly $ref: "#/$defs/Skipped";
|
|
453
|
+
};
|
|
454
|
+
readonly description: "Jobs the maintainer declined to requeue, each with why. Reported rather than failing the task, so a bulk retry is not defeated by one ineligible row.";
|
|
455
|
+
};
|
|
456
|
+
readonly ext: {
|
|
457
|
+
readonly $ref: "#/$defs/Ext";
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
readonly Ext: {
|
|
462
|
+
readonly title: "Ext";
|
|
463
|
+
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.";
|
|
464
|
+
readonly type: "object";
|
|
465
|
+
readonly minProperties: 1;
|
|
466
|
+
readonly additionalProperties: true;
|
|
467
|
+
readonly propertyNames: {
|
|
468
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/registry/sync-jobs/retry/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM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