@latchet/spec 0.1.0

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.
@@ -0,0 +1,608 @@
1
+ export * from "./types.js";
2
+ export declare const taskLedgerSchema: {
3
+ $schema: string;
4
+ $id: string;
5
+ title: string;
6
+ type: string;
7
+ required: string[];
8
+ properties: {
9
+ id: {
10
+ type: string;
11
+ minLength: number;
12
+ };
13
+ task_id: {
14
+ type: string;
15
+ minLength: number;
16
+ };
17
+ timestamp: {
18
+ type: string;
19
+ format: string;
20
+ };
21
+ actor: {
22
+ type: string;
23
+ required: string[];
24
+ properties: {
25
+ kind: {
26
+ type: string;
27
+ enum: string[];
28
+ };
29
+ name: {
30
+ type: string;
31
+ };
32
+ id: {
33
+ type: string;
34
+ };
35
+ provider: {
36
+ type: string;
37
+ };
38
+ };
39
+ additionalProperties: boolean;
40
+ };
41
+ source: {
42
+ type: string;
43
+ required: string[];
44
+ properties: {
45
+ kind: {
46
+ type: string;
47
+ enum: string[];
48
+ };
49
+ provider: {
50
+ type: string;
51
+ };
52
+ reference: {
53
+ type: string;
54
+ };
55
+ uri: {
56
+ type: string;
57
+ };
58
+ };
59
+ additionalProperties: boolean;
60
+ };
61
+ type: {
62
+ type: string;
63
+ enum: string[];
64
+ };
65
+ payload: {
66
+ type: string;
67
+ additionalProperties: boolean;
68
+ };
69
+ supersedes: {
70
+ type: string;
71
+ items: {
72
+ type: string;
73
+ };
74
+ };
75
+ refs: {
76
+ type: string;
77
+ items: {
78
+ type: string;
79
+ required: string[];
80
+ properties: {
81
+ kind: {
82
+ type: string;
83
+ enum: string[];
84
+ };
85
+ value: {
86
+ type: string;
87
+ };
88
+ label: {
89
+ type: string;
90
+ };
91
+ };
92
+ additionalProperties: boolean;
93
+ };
94
+ };
95
+ verification: {
96
+ type: string;
97
+ required: string[];
98
+ properties: {
99
+ status: {
100
+ type: string;
101
+ enum: string[];
102
+ };
103
+ note: {
104
+ type: string;
105
+ };
106
+ };
107
+ additionalProperties: boolean;
108
+ };
109
+ redaction: {
110
+ type: string;
111
+ properties: {
112
+ contains_sensitive: {
113
+ type: string;
114
+ };
115
+ fields: {
116
+ type: string;
117
+ items: {
118
+ type: string;
119
+ };
120
+ };
121
+ note: {
122
+ type: string;
123
+ };
124
+ };
125
+ additionalProperties: boolean;
126
+ };
127
+ };
128
+ additionalProperties: boolean;
129
+ allOf: ({
130
+ if: {
131
+ properties: {
132
+ type: {
133
+ const: string;
134
+ };
135
+ };
136
+ };
137
+ then: {
138
+ properties: {
139
+ payload: {
140
+ type: string;
141
+ required: string[];
142
+ properties: {
143
+ summary: {
144
+ type: string;
145
+ minLength: number;
146
+ };
147
+ reason: {
148
+ type: string;
149
+ };
150
+ status: {
151
+ type: string;
152
+ enum: string[];
153
+ };
154
+ outcome?: undefined;
155
+ result?: undefined;
156
+ error?: undefined;
157
+ suspected_cause?: undefined;
158
+ impact?: undefined;
159
+ workaround?: undefined;
160
+ path?: undefined;
161
+ revision?: undefined;
162
+ exists?: undefined;
163
+ note?: undefined;
164
+ question?: undefined;
165
+ owner?: undefined;
166
+ priority?: undefined;
167
+ prerequisites?: undefined;
168
+ to?: undefined;
169
+ from?: undefined;
170
+ kind?: undefined;
171
+ details?: undefined;
172
+ };
173
+ additionalProperties: boolean;
174
+ };
175
+ };
176
+ };
177
+ } | {
178
+ if: {
179
+ properties: {
180
+ type: {
181
+ const: string;
182
+ };
183
+ };
184
+ };
185
+ then: {
186
+ properties: {
187
+ payload: {
188
+ type: string;
189
+ required: string[];
190
+ properties: {
191
+ summary: {
192
+ type: string;
193
+ minLength: number;
194
+ };
195
+ outcome: {
196
+ type: string;
197
+ };
198
+ result: {
199
+ type: string;
200
+ enum: string[];
201
+ };
202
+ reason?: undefined;
203
+ status?: undefined;
204
+ error?: undefined;
205
+ suspected_cause?: undefined;
206
+ impact?: undefined;
207
+ workaround?: undefined;
208
+ path?: undefined;
209
+ revision?: undefined;
210
+ exists?: undefined;
211
+ note?: undefined;
212
+ question?: undefined;
213
+ owner?: undefined;
214
+ priority?: undefined;
215
+ prerequisites?: undefined;
216
+ to?: undefined;
217
+ from?: undefined;
218
+ kind?: undefined;
219
+ details?: undefined;
220
+ };
221
+ additionalProperties: boolean;
222
+ };
223
+ };
224
+ };
225
+ } | {
226
+ if: {
227
+ properties: {
228
+ type: {
229
+ const: string;
230
+ };
231
+ };
232
+ };
233
+ then: {
234
+ properties: {
235
+ payload: {
236
+ type: string;
237
+ required: string[];
238
+ properties: {
239
+ summary: {
240
+ type: string;
241
+ minLength: number;
242
+ };
243
+ error: {
244
+ type: string;
245
+ };
246
+ suspected_cause: {
247
+ type: string;
248
+ };
249
+ status: {
250
+ type: string;
251
+ enum: string[];
252
+ };
253
+ reason?: undefined;
254
+ outcome?: undefined;
255
+ result?: undefined;
256
+ impact?: undefined;
257
+ workaround?: undefined;
258
+ path?: undefined;
259
+ revision?: undefined;
260
+ exists?: undefined;
261
+ note?: undefined;
262
+ question?: undefined;
263
+ owner?: undefined;
264
+ priority?: undefined;
265
+ prerequisites?: undefined;
266
+ to?: undefined;
267
+ from?: undefined;
268
+ kind?: undefined;
269
+ details?: undefined;
270
+ };
271
+ additionalProperties: boolean;
272
+ };
273
+ };
274
+ };
275
+ } | {
276
+ if: {
277
+ properties: {
278
+ type: {
279
+ const: string;
280
+ };
281
+ };
282
+ };
283
+ then: {
284
+ properties: {
285
+ payload: {
286
+ type: string;
287
+ required: string[];
288
+ properties: {
289
+ summary: {
290
+ type: string;
291
+ minLength: number;
292
+ };
293
+ impact: {
294
+ type: string;
295
+ };
296
+ workaround: {
297
+ type: string;
298
+ };
299
+ reason?: undefined;
300
+ status?: undefined;
301
+ outcome?: undefined;
302
+ result?: undefined;
303
+ error?: undefined;
304
+ suspected_cause?: undefined;
305
+ path?: undefined;
306
+ revision?: undefined;
307
+ exists?: undefined;
308
+ note?: undefined;
309
+ question?: undefined;
310
+ owner?: undefined;
311
+ priority?: undefined;
312
+ prerequisites?: undefined;
313
+ to?: undefined;
314
+ from?: undefined;
315
+ kind?: undefined;
316
+ details?: undefined;
317
+ };
318
+ additionalProperties: boolean;
319
+ };
320
+ };
321
+ };
322
+ } | {
323
+ if: {
324
+ properties: {
325
+ type: {
326
+ const: string;
327
+ };
328
+ };
329
+ };
330
+ then: {
331
+ properties: {
332
+ payload: {
333
+ type: string;
334
+ required: string[];
335
+ properties: {
336
+ summary: {
337
+ type: string;
338
+ minLength: number;
339
+ };
340
+ reason?: undefined;
341
+ status?: undefined;
342
+ outcome?: undefined;
343
+ result?: undefined;
344
+ error?: undefined;
345
+ suspected_cause?: undefined;
346
+ impact?: undefined;
347
+ workaround?: undefined;
348
+ path?: undefined;
349
+ revision?: undefined;
350
+ exists?: undefined;
351
+ note?: undefined;
352
+ question?: undefined;
353
+ owner?: undefined;
354
+ priority?: undefined;
355
+ prerequisites?: undefined;
356
+ to?: undefined;
357
+ from?: undefined;
358
+ kind?: undefined;
359
+ details?: undefined;
360
+ };
361
+ additionalProperties: boolean;
362
+ };
363
+ };
364
+ };
365
+ } | {
366
+ if: {
367
+ properties: {
368
+ type: {
369
+ const: string;
370
+ };
371
+ };
372
+ };
373
+ then: {
374
+ properties: {
375
+ payload: {
376
+ type: string;
377
+ required: string[];
378
+ properties: {
379
+ path: {
380
+ type: string;
381
+ minLength: number;
382
+ };
383
+ revision: {
384
+ type: string;
385
+ };
386
+ exists: {
387
+ type: string;
388
+ };
389
+ note: {
390
+ type: string;
391
+ };
392
+ summary?: undefined;
393
+ reason?: undefined;
394
+ status?: undefined;
395
+ outcome?: undefined;
396
+ result?: undefined;
397
+ error?: undefined;
398
+ suspected_cause?: undefined;
399
+ impact?: undefined;
400
+ workaround?: undefined;
401
+ question?: undefined;
402
+ owner?: undefined;
403
+ priority?: undefined;
404
+ prerequisites?: undefined;
405
+ to?: undefined;
406
+ from?: undefined;
407
+ kind?: undefined;
408
+ details?: undefined;
409
+ };
410
+ additionalProperties: boolean;
411
+ };
412
+ };
413
+ };
414
+ } | {
415
+ if: {
416
+ properties: {
417
+ type: {
418
+ const: string;
419
+ };
420
+ };
421
+ };
422
+ then: {
423
+ properties: {
424
+ payload: {
425
+ type: string;
426
+ required: string[];
427
+ properties: {
428
+ question: {
429
+ type: string;
430
+ minLength: number;
431
+ };
432
+ owner: {
433
+ type: string;
434
+ };
435
+ summary?: undefined;
436
+ reason?: undefined;
437
+ status?: undefined;
438
+ outcome?: undefined;
439
+ result?: undefined;
440
+ error?: undefined;
441
+ suspected_cause?: undefined;
442
+ impact?: undefined;
443
+ workaround?: undefined;
444
+ path?: undefined;
445
+ revision?: undefined;
446
+ exists?: undefined;
447
+ note?: undefined;
448
+ priority?: undefined;
449
+ prerequisites?: undefined;
450
+ to?: undefined;
451
+ from?: undefined;
452
+ kind?: undefined;
453
+ details?: undefined;
454
+ };
455
+ additionalProperties: boolean;
456
+ };
457
+ };
458
+ };
459
+ } | {
460
+ if: {
461
+ properties: {
462
+ type: {
463
+ const: string;
464
+ };
465
+ };
466
+ };
467
+ then: {
468
+ properties: {
469
+ payload: {
470
+ type: string;
471
+ required: string[];
472
+ properties: {
473
+ summary: {
474
+ type: string;
475
+ minLength: number;
476
+ };
477
+ priority: {
478
+ type: string;
479
+ enum: string[];
480
+ };
481
+ prerequisites: {
482
+ type: string;
483
+ items: {
484
+ type: string;
485
+ };
486
+ };
487
+ reason?: undefined;
488
+ status?: undefined;
489
+ outcome?: undefined;
490
+ result?: undefined;
491
+ error?: undefined;
492
+ suspected_cause?: undefined;
493
+ impact?: undefined;
494
+ workaround?: undefined;
495
+ path?: undefined;
496
+ revision?: undefined;
497
+ exists?: undefined;
498
+ note?: undefined;
499
+ question?: undefined;
500
+ owner?: undefined;
501
+ to?: undefined;
502
+ from?: undefined;
503
+ kind?: undefined;
504
+ details?: undefined;
505
+ };
506
+ additionalProperties: boolean;
507
+ };
508
+ };
509
+ };
510
+ } | {
511
+ if: {
512
+ properties: {
513
+ type: {
514
+ const: string;
515
+ };
516
+ };
517
+ };
518
+ then: {
519
+ properties: {
520
+ payload: {
521
+ type: string;
522
+ required: string[];
523
+ properties: {
524
+ to: {
525
+ type: string;
526
+ enum: string[];
527
+ };
528
+ from: {
529
+ type: string;
530
+ enum: string[];
531
+ };
532
+ reason: {
533
+ type: string;
534
+ };
535
+ summary?: undefined;
536
+ status?: undefined;
537
+ outcome?: undefined;
538
+ result?: undefined;
539
+ error?: undefined;
540
+ suspected_cause?: undefined;
541
+ impact?: undefined;
542
+ workaround?: undefined;
543
+ path?: undefined;
544
+ revision?: undefined;
545
+ exists?: undefined;
546
+ note?: undefined;
547
+ question?: undefined;
548
+ owner?: undefined;
549
+ priority?: undefined;
550
+ prerequisites?: undefined;
551
+ kind?: undefined;
552
+ details?: undefined;
553
+ };
554
+ additionalProperties: boolean;
555
+ };
556
+ };
557
+ };
558
+ } | {
559
+ if: {
560
+ properties: {
561
+ type: {
562
+ const: string;
563
+ };
564
+ };
565
+ };
566
+ then: {
567
+ properties: {
568
+ payload: {
569
+ type: string;
570
+ required: string[];
571
+ properties: {
572
+ summary: {
573
+ type: string;
574
+ minLength: number;
575
+ };
576
+ kind: {
577
+ type: string;
578
+ enum: string[];
579
+ };
580
+ details: {
581
+ type: string;
582
+ };
583
+ reason?: undefined;
584
+ status?: undefined;
585
+ outcome?: undefined;
586
+ result?: undefined;
587
+ error?: undefined;
588
+ suspected_cause?: undefined;
589
+ impact?: undefined;
590
+ workaround?: undefined;
591
+ path?: undefined;
592
+ revision?: undefined;
593
+ exists?: undefined;
594
+ note?: undefined;
595
+ question?: undefined;
596
+ owner?: undefined;
597
+ priority?: undefined;
598
+ prerequisites?: undefined;
599
+ to?: undefined;
600
+ from?: undefined;
601
+ };
602
+ additionalProperties: boolean;
603
+ };
604
+ };
605
+ };
606
+ })[];
607
+ };
608
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,YAAY,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAS,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import schema from "./schema/task-ledger.schema.json" with { type: "json" };
2
+ export * from "./types.js";
3
+ export const taskLedgerSchema = schema;
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAE5E,cAAc,YAAY,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC"}