@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.
Files changed (27) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/index.d.ts +4 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +4 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/vtc/registry/records/list/0.1/payload.d.ts +576 -0
  7. package/dist/vtc/registry/records/list/0.1/payload.d.ts.map +1 -0
  8. package/dist/vtc/registry/records/list/0.1/payload.js +312 -0
  9. package/dist/vtc/registry/records/list/0.1/payload.js.map +1 -0
  10. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.d.ts +254 -0
  11. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.d.ts.map +1 -0
  12. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.js +145 -0
  13. package/dist/vtc/registry/sync-jobs/discard/0.1/payload.js.map +1 -0
  14. package/dist/vtc/registry/sync-jobs/list/0.1/payload.d.ts +584 -0
  15. package/dist/vtc/registry/sync-jobs/list/0.1/payload.d.ts.map +1 -0
  16. package/dist/vtc/registry/sync-jobs/list/0.1/payload.js +343 -0
  17. package/dist/vtc/registry/sync-jobs/list/0.1/payload.js.map +1 -0
  18. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.d.ts +474 -0
  19. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.d.ts.map +1 -0
  20. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.js +269 -0
  21. package/dist/vtc/registry/sync-jobs/retry/0.1/payload.js.map +1 -0
  22. package/package.json +1 -1
  23. package/src/index.ts +4 -0
  24. package/src/vtc/registry/records/list/0.1/payload.ts +407 -0
  25. package/src/vtc/registry/sync-jobs/discard/0.1/payload.ts +184 -0
  26. package/src/vtc/registry/sync-jobs/list/0.1/payload.ts +433 -0
  27. package/src/vtc/registry/sync-jobs/retry/0.1/payload.ts +331 -0
@@ -0,0 +1,584 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/registry/sync-jobs/list/0.1/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../../_shared/components.js";
6
+ /**
7
+ * Which mutation the job carries to the registry.
8
+ */
9
+ export type Kind = "publishMember" | "updateMember" | "deleteMember" | "markDeparted";
10
+ /**
11
+ * `failed` is terminal: the reconciler has abandoned the job and will not retry it without an operator. `pending` and `inFlight` are moving on their own.
12
+ */
13
+ export type State = "pending" | "inFlight" | "failed";
14
+ /**
15
+ * Enumerate the community's trust-registry reconciliation queue. Each job is one pending or abandoned attempt to publish a membership change to the registry.
16
+ */
17
+ export interface VTCRegistrySyncJobsListPayload {
18
+ /**
19
+ * Filter to jobs in this state. Omit for every state.
20
+ */
21
+ state?: "pending" | "inFlight" | "failed";
22
+ /**
23
+ * Opaque continuation token from a previous page's `nextCursor`.
24
+ */
25
+ cursor?: string;
26
+ /**
27
+ * Page size; the maintainer clamps to 1..=200 (default 50).
28
+ */
29
+ limit?: number;
30
+ ext?: Ext;
31
+ }
32
+ export interface VTCRegistrySyncJobsListResponsePayload {
33
+ items: Job[];
34
+ /**
35
+ * Continuation token for the next page, or null when this is the last.
36
+ */
37
+ nextCursor?: string | null;
38
+ ext?: Ext;
39
+ }
40
+ export interface Job {
41
+ /**
42
+ * Identifier of the queued job. The handle `vtc/registry/sync-jobs/retry` and `.../discard` take.
43
+ */
44
+ jobId: string;
45
+ kind: Kind;
46
+ /**
47
+ * The member whose registry record the job carries. In the clear, because an operator holding a hash cannot tell who stopped publishing.
48
+ */
49
+ memberDid: string;
50
+ state: State;
51
+ /**
52
+ * Attempts made so far. `1` on a failed job means the registry answered and refused; a value at the maintainer's retry ceiling means it never answered.
53
+ */
54
+ attempts: number;
55
+ /**
56
+ * The registry's last answer, verbatim. Diagnostic prose for an operator; a consumer MUST NOT parse it.
57
+ */
58
+ lastError?: string | null;
59
+ /**
60
+ * When the job was enqueued.
61
+ */
62
+ createdAt: string;
63
+ /**
64
+ * When it was last dispatched.
65
+ */
66
+ lastAttemptedAt?: string | null;
67
+ /**
68
+ * When it is next due. Null on a failed job: nothing is scheduled.
69
+ */
70
+ nextAttemptAt?: string | null;
71
+ /**
72
+ * When the maintainer's retention sweep will delete this row. A deadline, not a fix — the member stays unpublished.
73
+ */
74
+ purgeDueAt?: string | null;
75
+ ext?: Ext;
76
+ }
77
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
78
+ export type { Ext };
79
+ /** Trust Task type URI. */
80
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/registry/sync-jobs/list/0.1";
81
+ /** Stable alias for this specification's request payload shape. */
82
+ export type Payload = VTCRegistrySyncJobsListPayload;
83
+ /** Trust Task response type URI (request type URI + "#response"). */
84
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/registry/sync-jobs/list/0.1#response";
85
+ /** Stable alias for this specification's success-response payload shape. */
86
+ export type Response = VTCRegistrySyncJobsListResponsePayload;
87
+ /**
88
+ * This specification's payload schema, as a value.
89
+ *
90
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
91
+ * rather than only as a `.json` file because TypeScript types are erased
92
+ * at runtime: without a schema a consumer has nothing to validate, and
93
+ * every REQUIRED payload member is optional in practice. Cross-file
94
+ * `$ref`s are already inlined, so it needs no resolver.
95
+ */
96
+ export declare const PAYLOAD_SCHEMA: {
97
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
98
+ readonly $id: "https://trusttasks.org/spec/vtc/registry/sync-jobs/list/0.1";
99
+ readonly title: "VTC Registry Sync Jobs List — payload";
100
+ readonly description: "Enumerate the community's trust-registry reconciliation queue. Each job is one pending or abandoned attempt to publish a membership change to the registry.";
101
+ readonly type: "object";
102
+ readonly additionalProperties: false;
103
+ readonly properties: {
104
+ readonly state: {
105
+ readonly $ref: "#/$defs/State";
106
+ readonly description: "Filter to jobs in this state. Omit for every state.";
107
+ };
108
+ readonly cursor: {
109
+ readonly type: "string";
110
+ readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
111
+ };
112
+ readonly limit: {
113
+ readonly type: "integer";
114
+ readonly minimum: 1;
115
+ readonly maximum: 200;
116
+ readonly description: "Page size; the maintainer clamps to 1..=200 (default 50).";
117
+ };
118
+ readonly ext: {
119
+ readonly $ref: "#/$defs/Ext";
120
+ };
121
+ };
122
+ readonly $defs: {
123
+ readonly State: {
124
+ readonly type: "string";
125
+ readonly enum: readonly ["pending", "inFlight", "failed"];
126
+ readonly description: "`failed` is terminal: the reconciler has abandoned the job and will not retry it without an operator. `pending` and `inFlight` are moving on their own.";
127
+ };
128
+ readonly Kind: {
129
+ readonly type: "string";
130
+ readonly enum: readonly ["publishMember", "updateMember", "deleteMember", "markDeparted"];
131
+ readonly description: "Which mutation the job carries to the registry.";
132
+ };
133
+ readonly Job: {
134
+ readonly type: "object";
135
+ readonly additionalProperties: false;
136
+ readonly required: readonly ["jobId", "kind", "memberDid", "state", "attempts", "createdAt"];
137
+ readonly properties: {
138
+ readonly jobId: {
139
+ readonly type: "string";
140
+ readonly minLength: 1;
141
+ readonly description: "Identifier of the queued job. The handle `vtc/registry/sync-jobs/retry` and `.../discard` take.";
142
+ };
143
+ readonly kind: {
144
+ readonly $ref: "#/$defs/Kind";
145
+ };
146
+ readonly memberDid: {
147
+ readonly type: "string";
148
+ readonly minLength: 1;
149
+ readonly description: "The member whose registry record the job carries. In the clear, because an operator holding a hash cannot tell who stopped publishing.";
150
+ };
151
+ readonly state: {
152
+ readonly $ref: "#/$defs/State";
153
+ };
154
+ readonly attempts: {
155
+ readonly type: "integer";
156
+ readonly minimum: 0;
157
+ readonly description: "Attempts made so far. `1` on a failed job means the registry answered and refused; a value at the maintainer's retry ceiling means it never answered.";
158
+ };
159
+ readonly lastError: {
160
+ readonly type: readonly ["string", "null"];
161
+ readonly maxLength: 1024;
162
+ readonly description: "The registry's last answer, verbatim. Diagnostic prose for an operator; a consumer MUST NOT parse it.";
163
+ };
164
+ readonly createdAt: {
165
+ readonly type: "string";
166
+ readonly format: "date-time";
167
+ readonly description: "When the job was enqueued.";
168
+ };
169
+ readonly lastAttemptedAt: {
170
+ readonly type: readonly ["string", "null"];
171
+ readonly format: "date-time";
172
+ readonly description: "When it was last dispatched.";
173
+ };
174
+ readonly nextAttemptAt: {
175
+ readonly type: readonly ["string", "null"];
176
+ readonly format: "date-time";
177
+ readonly description: "When it is next due. Null on a failed job: nothing is scheduled.";
178
+ };
179
+ readonly purgeDueAt: {
180
+ readonly type: readonly ["string", "null"];
181
+ readonly format: "date-time";
182
+ readonly description: "When the maintainer's retention sweep will delete this row. A deadline, not a fix — the member stays unpublished.";
183
+ };
184
+ readonly ext: {
185
+ readonly $ref: "#/$defs/Ext";
186
+ };
187
+ };
188
+ };
189
+ readonly Response: {
190
+ readonly $anchor: "response";
191
+ readonly title: "VTC Registry Sync Jobs List — response payload";
192
+ readonly type: "object";
193
+ readonly additionalProperties: false;
194
+ readonly required: readonly ["items"];
195
+ readonly properties: {
196
+ readonly items: {
197
+ readonly type: "array";
198
+ readonly items: {
199
+ readonly $ref: "#/$defs/Job";
200
+ };
201
+ };
202
+ readonly nextCursor: {
203
+ readonly type: readonly ["string", "null"];
204
+ readonly description: "Continuation token for the next page, or null when this is the last.";
205
+ };
206
+ readonly ext: {
207
+ readonly $ref: "#/$defs/Ext";
208
+ };
209
+ };
210
+ };
211
+ readonly Ext: {
212
+ readonly title: "Ext";
213
+ 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.";
214
+ readonly type: "object";
215
+ readonly minProperties: 1;
216
+ readonly additionalProperties: true;
217
+ readonly propertyNames: {
218
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
219
+ };
220
+ };
221
+ };
222
+ };
223
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
224
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
225
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
226
+ readonly $ref: "#/$defs/Response";
227
+ readonly $defs: {
228
+ readonly State: {
229
+ readonly type: "string";
230
+ readonly enum: readonly ["pending", "inFlight", "failed"];
231
+ readonly description: "`failed` is terminal: the reconciler has abandoned the job and will not retry it without an operator. `pending` and `inFlight` are moving on their own.";
232
+ };
233
+ readonly Kind: {
234
+ readonly type: "string";
235
+ readonly enum: readonly ["publishMember", "updateMember", "deleteMember", "markDeparted"];
236
+ readonly description: "Which mutation the job carries to the registry.";
237
+ };
238
+ readonly Job: {
239
+ readonly type: "object";
240
+ readonly additionalProperties: false;
241
+ readonly required: readonly ["jobId", "kind", "memberDid", "state", "attempts", "createdAt"];
242
+ readonly properties: {
243
+ readonly jobId: {
244
+ readonly type: "string";
245
+ readonly minLength: 1;
246
+ readonly description: "Identifier of the queued job. The handle `vtc/registry/sync-jobs/retry` and `.../discard` take.";
247
+ };
248
+ readonly kind: {
249
+ readonly $ref: "#/$defs/Kind";
250
+ };
251
+ readonly memberDid: {
252
+ readonly type: "string";
253
+ readonly minLength: 1;
254
+ readonly description: "The member whose registry record the job carries. In the clear, because an operator holding a hash cannot tell who stopped publishing.";
255
+ };
256
+ readonly state: {
257
+ readonly $ref: "#/$defs/State";
258
+ };
259
+ readonly attempts: {
260
+ readonly type: "integer";
261
+ readonly minimum: 0;
262
+ readonly description: "Attempts made so far. `1` on a failed job means the registry answered and refused; a value at the maintainer's retry ceiling means it never answered.";
263
+ };
264
+ readonly lastError: {
265
+ readonly type: readonly ["string", "null"];
266
+ readonly maxLength: 1024;
267
+ readonly description: "The registry's last answer, verbatim. Diagnostic prose for an operator; a consumer MUST NOT parse it.";
268
+ };
269
+ readonly createdAt: {
270
+ readonly type: "string";
271
+ readonly format: "date-time";
272
+ readonly description: "When the job was enqueued.";
273
+ };
274
+ readonly lastAttemptedAt: {
275
+ readonly type: readonly ["string", "null"];
276
+ readonly format: "date-time";
277
+ readonly description: "When it was last dispatched.";
278
+ };
279
+ readonly nextAttemptAt: {
280
+ readonly type: readonly ["string", "null"];
281
+ readonly format: "date-time";
282
+ readonly description: "When it is next due. Null on a failed job: nothing is scheduled.";
283
+ };
284
+ readonly purgeDueAt: {
285
+ readonly type: readonly ["string", "null"];
286
+ readonly format: "date-time";
287
+ readonly description: "When the maintainer's retention sweep will delete this row. A deadline, not a fix — the member stays unpublished.";
288
+ };
289
+ readonly ext: {
290
+ readonly $ref: "#/$defs/Ext";
291
+ };
292
+ };
293
+ };
294
+ readonly Response: {
295
+ readonly $anchor: "response";
296
+ readonly title: "VTC Registry Sync Jobs List — response payload";
297
+ readonly type: "object";
298
+ readonly additionalProperties: false;
299
+ readonly required: readonly ["items"];
300
+ readonly properties: {
301
+ readonly items: {
302
+ readonly type: "array";
303
+ readonly items: {
304
+ readonly $ref: "#/$defs/Job";
305
+ };
306
+ };
307
+ readonly nextCursor: {
308
+ readonly type: readonly ["string", "null"];
309
+ readonly description: "Continuation token for the next page, or null when this is the last.";
310
+ };
311
+ readonly ext: {
312
+ readonly $ref: "#/$defs/Ext";
313
+ };
314
+ };
315
+ };
316
+ readonly Ext: {
317
+ readonly title: "Ext";
318
+ 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.";
319
+ readonly type: "object";
320
+ readonly minProperties: 1;
321
+ readonly additionalProperties: true;
322
+ readonly propertyNames: {
323
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
324
+ };
325
+ };
326
+ };
327
+ };
328
+ /**
329
+ * SPEC.md §7.2 policy for the request variant, from this specification's
330
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
331
+ * per-specification and cannot be derived from the document alone, and
332
+ * item 2 needs the schema this carries.
333
+ */
334
+ export declare const SPEC: {
335
+ readonly typeUri: "https://trusttasks.org/spec/vtc/registry/sync-jobs/list/0.1";
336
+ readonly isBearer: false;
337
+ readonly isProofRequired: false;
338
+ readonly isRecipientRequired: true;
339
+ readonly isIssuedAtRequired: false;
340
+ readonly payloadSchema: {
341
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
342
+ readonly $id: "https://trusttasks.org/spec/vtc/registry/sync-jobs/list/0.1";
343
+ readonly title: "VTC Registry Sync Jobs List — payload";
344
+ readonly description: "Enumerate the community's trust-registry reconciliation queue. Each job is one pending or abandoned attempt to publish a membership change to the registry.";
345
+ readonly type: "object";
346
+ readonly additionalProperties: false;
347
+ readonly properties: {
348
+ readonly state: {
349
+ readonly $ref: "#/$defs/State";
350
+ readonly description: "Filter to jobs in this state. Omit for every state.";
351
+ };
352
+ readonly cursor: {
353
+ readonly type: "string";
354
+ readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
355
+ };
356
+ readonly limit: {
357
+ readonly type: "integer";
358
+ readonly minimum: 1;
359
+ readonly maximum: 200;
360
+ readonly description: "Page size; the maintainer clamps to 1..=200 (default 50).";
361
+ };
362
+ readonly ext: {
363
+ readonly $ref: "#/$defs/Ext";
364
+ };
365
+ };
366
+ readonly $defs: {
367
+ readonly State: {
368
+ readonly type: "string";
369
+ readonly enum: readonly ["pending", "inFlight", "failed"];
370
+ readonly description: "`failed` is terminal: the reconciler has abandoned the job and will not retry it without an operator. `pending` and `inFlight` are moving on their own.";
371
+ };
372
+ readonly Kind: {
373
+ readonly type: "string";
374
+ readonly enum: readonly ["publishMember", "updateMember", "deleteMember", "markDeparted"];
375
+ readonly description: "Which mutation the job carries to the registry.";
376
+ };
377
+ readonly Job: {
378
+ readonly type: "object";
379
+ readonly additionalProperties: false;
380
+ readonly required: readonly ["jobId", "kind", "memberDid", "state", "attempts", "createdAt"];
381
+ readonly properties: {
382
+ readonly jobId: {
383
+ readonly type: "string";
384
+ readonly minLength: 1;
385
+ readonly description: "Identifier of the queued job. The handle `vtc/registry/sync-jobs/retry` and `.../discard` take.";
386
+ };
387
+ readonly kind: {
388
+ readonly $ref: "#/$defs/Kind";
389
+ };
390
+ readonly memberDid: {
391
+ readonly type: "string";
392
+ readonly minLength: 1;
393
+ readonly description: "The member whose registry record the job carries. In the clear, because an operator holding a hash cannot tell who stopped publishing.";
394
+ };
395
+ readonly state: {
396
+ readonly $ref: "#/$defs/State";
397
+ };
398
+ readonly attempts: {
399
+ readonly type: "integer";
400
+ readonly minimum: 0;
401
+ readonly description: "Attempts made so far. `1` on a failed job means the registry answered and refused; a value at the maintainer's retry ceiling means it never answered.";
402
+ };
403
+ readonly lastError: {
404
+ readonly type: readonly ["string", "null"];
405
+ readonly maxLength: 1024;
406
+ readonly description: "The registry's last answer, verbatim. Diagnostic prose for an operator; a consumer MUST NOT parse it.";
407
+ };
408
+ readonly createdAt: {
409
+ readonly type: "string";
410
+ readonly format: "date-time";
411
+ readonly description: "When the job was enqueued.";
412
+ };
413
+ readonly lastAttemptedAt: {
414
+ readonly type: readonly ["string", "null"];
415
+ readonly format: "date-time";
416
+ readonly description: "When it was last dispatched.";
417
+ };
418
+ readonly nextAttemptAt: {
419
+ readonly type: readonly ["string", "null"];
420
+ readonly format: "date-time";
421
+ readonly description: "When it is next due. Null on a failed job: nothing is scheduled.";
422
+ };
423
+ readonly purgeDueAt: {
424
+ readonly type: readonly ["string", "null"];
425
+ readonly format: "date-time";
426
+ readonly description: "When the maintainer's retention sweep will delete this row. A deadline, not a fix — the member stays unpublished.";
427
+ };
428
+ readonly ext: {
429
+ readonly $ref: "#/$defs/Ext";
430
+ };
431
+ };
432
+ };
433
+ readonly Response: {
434
+ readonly $anchor: "response";
435
+ readonly title: "VTC Registry Sync Jobs List — response payload";
436
+ readonly type: "object";
437
+ readonly additionalProperties: false;
438
+ readonly required: readonly ["items"];
439
+ readonly properties: {
440
+ readonly items: {
441
+ readonly type: "array";
442
+ readonly items: {
443
+ readonly $ref: "#/$defs/Job";
444
+ };
445
+ };
446
+ readonly nextCursor: {
447
+ readonly type: readonly ["string", "null"];
448
+ readonly description: "Continuation token for the next page, or null when this is the last.";
449
+ };
450
+ readonly ext: {
451
+ readonly $ref: "#/$defs/Ext";
452
+ };
453
+ };
454
+ };
455
+ readonly Ext: {
456
+ readonly title: "Ext";
457
+ 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.";
458
+ readonly type: "object";
459
+ readonly minProperties: 1;
460
+ readonly additionalProperties: true;
461
+ readonly propertyNames: {
462
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
463
+ };
464
+ };
465
+ };
466
+ };
467
+ };
468
+ /**
469
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
470
+ * tracks the *issuer* party's requirement because a response swaps the
471
+ * parties (§7.3 item 5).
472
+ */
473
+ export declare const RESPONSE_SPEC: {
474
+ readonly typeUri: "https://trusttasks.org/spec/vtc/registry/sync-jobs/list/0.1#response";
475
+ readonly isBearer: false;
476
+ readonly isProofRequired: false;
477
+ readonly isRecipientRequired: true;
478
+ readonly isIssuedAtRequired: false;
479
+ readonly payloadSchema: {
480
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
481
+ readonly $ref: "#/$defs/Response";
482
+ readonly $defs: {
483
+ readonly State: {
484
+ readonly type: "string";
485
+ readonly enum: readonly ["pending", "inFlight", "failed"];
486
+ readonly description: "`failed` is terminal: the reconciler has abandoned the job and will not retry it without an operator. `pending` and `inFlight` are moving on their own.";
487
+ };
488
+ readonly Kind: {
489
+ readonly type: "string";
490
+ readonly enum: readonly ["publishMember", "updateMember", "deleteMember", "markDeparted"];
491
+ readonly description: "Which mutation the job carries to the registry.";
492
+ };
493
+ readonly Job: {
494
+ readonly type: "object";
495
+ readonly additionalProperties: false;
496
+ readonly required: readonly ["jobId", "kind", "memberDid", "state", "attempts", "createdAt"];
497
+ readonly properties: {
498
+ readonly jobId: {
499
+ readonly type: "string";
500
+ readonly minLength: 1;
501
+ readonly description: "Identifier of the queued job. The handle `vtc/registry/sync-jobs/retry` and `.../discard` take.";
502
+ };
503
+ readonly kind: {
504
+ readonly $ref: "#/$defs/Kind";
505
+ };
506
+ readonly memberDid: {
507
+ readonly type: "string";
508
+ readonly minLength: 1;
509
+ readonly description: "The member whose registry record the job carries. In the clear, because an operator holding a hash cannot tell who stopped publishing.";
510
+ };
511
+ readonly state: {
512
+ readonly $ref: "#/$defs/State";
513
+ };
514
+ readonly attempts: {
515
+ readonly type: "integer";
516
+ readonly minimum: 0;
517
+ readonly description: "Attempts made so far. `1` on a failed job means the registry answered and refused; a value at the maintainer's retry ceiling means it never answered.";
518
+ };
519
+ readonly lastError: {
520
+ readonly type: readonly ["string", "null"];
521
+ readonly maxLength: 1024;
522
+ readonly description: "The registry's last answer, verbatim. Diagnostic prose for an operator; a consumer MUST NOT parse it.";
523
+ };
524
+ readonly createdAt: {
525
+ readonly type: "string";
526
+ readonly format: "date-time";
527
+ readonly description: "When the job was enqueued.";
528
+ };
529
+ readonly lastAttemptedAt: {
530
+ readonly type: readonly ["string", "null"];
531
+ readonly format: "date-time";
532
+ readonly description: "When it was last dispatched.";
533
+ };
534
+ readonly nextAttemptAt: {
535
+ readonly type: readonly ["string", "null"];
536
+ readonly format: "date-time";
537
+ readonly description: "When it is next due. Null on a failed job: nothing is scheduled.";
538
+ };
539
+ readonly purgeDueAt: {
540
+ readonly type: readonly ["string", "null"];
541
+ readonly format: "date-time";
542
+ readonly description: "When the maintainer's retention sweep will delete this row. A deadline, not a fix — the member stays unpublished.";
543
+ };
544
+ readonly ext: {
545
+ readonly $ref: "#/$defs/Ext";
546
+ };
547
+ };
548
+ };
549
+ readonly Response: {
550
+ readonly $anchor: "response";
551
+ readonly title: "VTC Registry Sync Jobs List — response payload";
552
+ readonly type: "object";
553
+ readonly additionalProperties: false;
554
+ readonly required: readonly ["items"];
555
+ readonly properties: {
556
+ readonly items: {
557
+ readonly type: "array";
558
+ readonly items: {
559
+ readonly $ref: "#/$defs/Job";
560
+ };
561
+ };
562
+ readonly nextCursor: {
563
+ readonly type: readonly ["string", "null"];
564
+ readonly description: "Continuation token for the next page, or null when this is the last.";
565
+ };
566
+ readonly ext: {
567
+ readonly $ref: "#/$defs/Ext";
568
+ };
569
+ };
570
+ };
571
+ readonly Ext: {
572
+ readonly title: "Ext";
573
+ 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.";
574
+ readonly type: "object";
575
+ readonly minProperties: 1;
576
+ readonly additionalProperties: true;
577
+ readonly propertyNames: {
578
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
579
+ };
580
+ };
581
+ };
582
+ };
583
+ };
584
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/registry/sync-jobs/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,cAAc,CAAC;AACtF;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,sCAAsC;IACrD,KAAK,EAAE,GAAG,EAAE,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,GAAG;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,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,8BAA8B,CAAC;AAErD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,sEAA+E,CAAC;AAEjH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,sCAAsC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+JjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwI1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}