@warmhub/sdk-ts 0.135.0 → 0.137.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.
- package/CHANGELOG.md +8 -0
- package/changelog.json +10 -0
- package/dist/checkpoint.js +1 -1
- package/dist/{chunk-SRE4N5LD.js → chunk-F2BL6MQQ.js} +11 -11
- package/dist/{chunk-SRE4N5LD.js.map → chunk-F2BL6MQQ.js.map} +1 -1
- package/dist/chunk-JCVDA6YA.js +10 -0
- package/dist/chunk-JCVDA6YA.js.map +1 -0
- package/dist/index.d.ts +497 -48
- package/dist/index.js +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-PW3DMLVI.js +0 -10
- package/dist/chunk-PW3DMLVI.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ type AuthSyncResult = {
|
|
|
120
120
|
type CollectionTag$1 = 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
121
121
|
type CommitRealOperationResult$1 = {
|
|
122
122
|
opIndex: number;
|
|
123
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
123
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
124
124
|
name: string;
|
|
125
125
|
submittedName?: string;
|
|
126
126
|
resolvedName?: string;
|
|
@@ -156,7 +156,7 @@ type CommitRealOperationResult$1 = {
|
|
|
156
156
|
dataHash?: string;
|
|
157
157
|
} | {
|
|
158
158
|
opIndex: number;
|
|
159
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
159
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
160
160
|
name: string;
|
|
161
161
|
submittedName?: string;
|
|
162
162
|
resolvedName?: string;
|
|
@@ -224,6 +224,10 @@ type CommitRealOperationResult$1 = {
|
|
|
224
224
|
durableId: string;
|
|
225
225
|
};
|
|
226
226
|
suggestedName?: string;
|
|
227
|
+
} | {
|
|
228
|
+
reason: 'target_removed';
|
|
229
|
+
targetDurableId: string;
|
|
230
|
+
fieldPath?: string;
|
|
227
231
|
} | {
|
|
228
232
|
reason: 'invalid_token';
|
|
229
233
|
};
|
|
@@ -266,6 +270,10 @@ type CommitDiagnostic$1 = {
|
|
|
266
270
|
durableId: string;
|
|
267
271
|
};
|
|
268
272
|
suggestedName?: string;
|
|
273
|
+
} | {
|
|
274
|
+
reason: 'target_removed';
|
|
275
|
+
targetDurableId: string;
|
|
276
|
+
fieldPath?: string;
|
|
269
277
|
} | {
|
|
270
278
|
reason: 'invalid_token';
|
|
271
279
|
};
|
|
@@ -365,6 +373,10 @@ type CommitValidateInput$1 = {
|
|
|
365
373
|
name: string;
|
|
366
374
|
newName: string;
|
|
367
375
|
kind?: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
376
|
+
} | {
|
|
377
|
+
operation: 'remove';
|
|
378
|
+
name: string;
|
|
379
|
+
expectedVersion: number;
|
|
368
380
|
}>;
|
|
369
381
|
includeWouldBeBody?: boolean;
|
|
370
382
|
};
|
|
@@ -390,7 +402,7 @@ type CommitValidateResult$1 = {
|
|
|
390
402
|
message?: string;
|
|
391
403
|
operations: Array<{
|
|
392
404
|
opIndex: number;
|
|
393
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
405
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
394
406
|
name: string;
|
|
395
407
|
submittedName?: string;
|
|
396
408
|
resolvedName?: string;
|
|
@@ -427,7 +439,7 @@ type CommitValidateResult$1 = {
|
|
|
427
439
|
wouldBeBody?: unknown;
|
|
428
440
|
effects?: Array<{
|
|
429
441
|
effectIndex: number;
|
|
430
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
442
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
431
443
|
name: string;
|
|
432
444
|
warnings?: {
|
|
433
445
|
undeclaredFields?: Array<string>;
|
|
@@ -462,7 +474,7 @@ type CommitValidateResult$1 = {
|
|
|
462
474
|
wouldBeBody?: unknown;
|
|
463
475
|
} | {
|
|
464
476
|
effectIndex: number;
|
|
465
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
477
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
466
478
|
name: string;
|
|
467
479
|
warnings?: {
|
|
468
480
|
undeclaredFields?: Array<string>;
|
|
@@ -528,6 +540,10 @@ type CommitValidateResult$1 = {
|
|
|
528
540
|
durableId: string;
|
|
529
541
|
};
|
|
530
542
|
suggestedName?: string;
|
|
543
|
+
} | {
|
|
544
|
+
reason: 'target_removed';
|
|
545
|
+
targetDurableId: string;
|
|
546
|
+
fieldPath?: string;
|
|
531
547
|
} | {
|
|
532
548
|
reason: 'invalid_token';
|
|
533
549
|
};
|
|
@@ -535,7 +551,7 @@ type CommitValidateResult$1 = {
|
|
|
535
551
|
}>;
|
|
536
552
|
} | {
|
|
537
553
|
effectIndex: number;
|
|
538
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
554
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
539
555
|
name: string;
|
|
540
556
|
warnings?: {
|
|
541
557
|
undeclaredFields?: Array<string>;
|
|
@@ -569,7 +585,7 @@ type CommitValidateResult$1 = {
|
|
|
569
585
|
}>;
|
|
570
586
|
} | {
|
|
571
587
|
opIndex: number;
|
|
572
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
588
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
573
589
|
name: string;
|
|
574
590
|
submittedName?: string;
|
|
575
591
|
resolvedName?: string;
|
|
@@ -637,6 +653,10 @@ type CommitValidateResult$1 = {
|
|
|
637
653
|
durableId: string;
|
|
638
654
|
};
|
|
639
655
|
suggestedName?: string;
|
|
656
|
+
} | {
|
|
657
|
+
reason: 'target_removed';
|
|
658
|
+
targetDurableId: string;
|
|
659
|
+
fieldPath?: string;
|
|
640
660
|
} | {
|
|
641
661
|
reason: 'invalid_token';
|
|
642
662
|
};
|
|
@@ -644,7 +664,7 @@ type CommitValidateResult$1 = {
|
|
|
644
664
|
}>;
|
|
645
665
|
effects?: Array<{
|
|
646
666
|
effectIndex: number;
|
|
647
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
667
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
648
668
|
name: string;
|
|
649
669
|
warnings?: {
|
|
650
670
|
undeclaredFields?: Array<string>;
|
|
@@ -679,7 +699,7 @@ type CommitValidateResult$1 = {
|
|
|
679
699
|
wouldBeBody?: unknown;
|
|
680
700
|
} | {
|
|
681
701
|
effectIndex: number;
|
|
682
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
702
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
683
703
|
name: string;
|
|
684
704
|
warnings?: {
|
|
685
705
|
undeclaredFields?: Array<string>;
|
|
@@ -745,6 +765,10 @@ type CommitValidateResult$1 = {
|
|
|
745
765
|
durableId: string;
|
|
746
766
|
};
|
|
747
767
|
suggestedName?: string;
|
|
768
|
+
} | {
|
|
769
|
+
reason: 'target_removed';
|
|
770
|
+
targetDurableId: string;
|
|
771
|
+
fieldPath?: string;
|
|
748
772
|
} | {
|
|
749
773
|
reason: 'invalid_token';
|
|
750
774
|
};
|
|
@@ -752,7 +776,7 @@ type CommitValidateResult$1 = {
|
|
|
752
776
|
}>;
|
|
753
777
|
} | {
|
|
754
778
|
effectIndex: number;
|
|
755
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
779
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
756
780
|
name: string;
|
|
757
781
|
warnings?: {
|
|
758
782
|
undeclaredFields?: Array<string>;
|
|
@@ -899,6 +923,7 @@ type OperationEventReceipt$1 = {
|
|
|
899
923
|
requestDigest: string;
|
|
900
924
|
schemaVersion: 'operation-event-receipt/v1';
|
|
901
925
|
submissionId?: string;
|
|
926
|
+
pruned?: true;
|
|
902
927
|
} | {
|
|
903
928
|
event: {
|
|
904
929
|
committedAt: string;
|
|
@@ -913,7 +938,7 @@ type OperationEventReceipt$1 = {
|
|
|
913
938
|
eventRequestId: string;
|
|
914
939
|
operations: Array<{
|
|
915
940
|
opIndex: number;
|
|
916
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
941
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
917
942
|
name: string;
|
|
918
943
|
submittedName?: string;
|
|
919
944
|
resolvedName?: string;
|
|
@@ -949,7 +974,7 @@ type OperationEventReceipt$1 = {
|
|
|
949
974
|
dataHash?: string;
|
|
950
975
|
} | {
|
|
951
976
|
opIndex: number;
|
|
952
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
977
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
953
978
|
name: string;
|
|
954
979
|
submittedName?: string;
|
|
955
980
|
resolvedName?: string;
|
|
@@ -1017,6 +1042,10 @@ type OperationEventReceipt$1 = {
|
|
|
1017
1042
|
durableId: string;
|
|
1018
1043
|
};
|
|
1019
1044
|
suggestedName?: string;
|
|
1045
|
+
} | {
|
|
1046
|
+
reason: 'target_removed';
|
|
1047
|
+
targetDurableId: string;
|
|
1048
|
+
fieldPath?: string;
|
|
1020
1049
|
} | {
|
|
1021
1050
|
reason: 'invalid_token';
|
|
1022
1051
|
};
|
|
@@ -1027,6 +1056,7 @@ type OperationEventReceipt$1 = {
|
|
|
1027
1056
|
requestDigest: string;
|
|
1028
1057
|
schemaVersion: 'operation-event-receipt/v2';
|
|
1029
1058
|
submissionId?: string;
|
|
1059
|
+
pruned?: true;
|
|
1030
1060
|
};
|
|
1031
1061
|
type OperationEventReceiptV1$1 = {
|
|
1032
1062
|
event: {
|
|
@@ -1141,6 +1171,7 @@ type OperationEventReceiptV1$1 = {
|
|
|
1141
1171
|
requestDigest: string;
|
|
1142
1172
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1143
1173
|
submissionId?: string;
|
|
1174
|
+
pruned?: true;
|
|
1144
1175
|
};
|
|
1145
1176
|
type CollectionContainsResult$1 = {
|
|
1146
1177
|
shape: string;
|
|
@@ -1402,6 +1433,7 @@ type ComponentInstallResult$1 = {
|
|
|
1402
1433
|
requestDigest: string;
|
|
1403
1434
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1404
1435
|
submissionId?: string;
|
|
1436
|
+
pruned?: true;
|
|
1405
1437
|
} | {
|
|
1406
1438
|
event: {
|
|
1407
1439
|
committedAt: string;
|
|
@@ -1416,7 +1448,7 @@ type ComponentInstallResult$1 = {
|
|
|
1416
1448
|
eventRequestId: string;
|
|
1417
1449
|
operations: Array<{
|
|
1418
1450
|
opIndex: number;
|
|
1419
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1451
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
1420
1452
|
name: string;
|
|
1421
1453
|
submittedName?: string;
|
|
1422
1454
|
resolvedName?: string;
|
|
@@ -1452,7 +1484,7 @@ type ComponentInstallResult$1 = {
|
|
|
1452
1484
|
dataHash?: string;
|
|
1453
1485
|
} | {
|
|
1454
1486
|
opIndex: number;
|
|
1455
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1487
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
1456
1488
|
name: string;
|
|
1457
1489
|
submittedName?: string;
|
|
1458
1490
|
resolvedName?: string;
|
|
@@ -1520,6 +1552,10 @@ type ComponentInstallResult$1 = {
|
|
|
1520
1552
|
durableId: string;
|
|
1521
1553
|
};
|
|
1522
1554
|
suggestedName?: string;
|
|
1555
|
+
} | {
|
|
1556
|
+
reason: 'target_removed';
|
|
1557
|
+
targetDurableId: string;
|
|
1558
|
+
fieldPath?: string;
|
|
1523
1559
|
} | {
|
|
1524
1560
|
reason: 'invalid_token';
|
|
1525
1561
|
};
|
|
@@ -1530,6 +1566,7 @@ type ComponentInstallResult$1 = {
|
|
|
1530
1566
|
requestDigest: string;
|
|
1531
1567
|
schemaVersion: 'operation-event-receipt/v2';
|
|
1532
1568
|
submissionId?: string;
|
|
1569
|
+
pruned?: true;
|
|
1533
1570
|
}>;
|
|
1534
1571
|
};
|
|
1535
1572
|
type ComponentListResult = {
|
|
@@ -1688,6 +1725,7 @@ type ComponentUninstallResult$1 = {
|
|
|
1688
1725
|
requestDigest: string;
|
|
1689
1726
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1690
1727
|
submissionId?: string;
|
|
1728
|
+
pruned?: true;
|
|
1691
1729
|
} | {
|
|
1692
1730
|
event: {
|
|
1693
1731
|
committedAt: string;
|
|
@@ -1702,7 +1740,7 @@ type ComponentUninstallResult$1 = {
|
|
|
1702
1740
|
eventRequestId: string;
|
|
1703
1741
|
operations: Array<{
|
|
1704
1742
|
opIndex: number;
|
|
1705
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1743
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
1706
1744
|
name: string;
|
|
1707
1745
|
submittedName?: string;
|
|
1708
1746
|
resolvedName?: string;
|
|
@@ -1738,7 +1776,7 @@ type ComponentUninstallResult$1 = {
|
|
|
1738
1776
|
dataHash?: string;
|
|
1739
1777
|
} | {
|
|
1740
1778
|
opIndex: number;
|
|
1741
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1779
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
1742
1780
|
name: string;
|
|
1743
1781
|
submittedName?: string;
|
|
1744
1782
|
resolvedName?: string;
|
|
@@ -1806,6 +1844,10 @@ type ComponentUninstallResult$1 = {
|
|
|
1806
1844
|
durableId: string;
|
|
1807
1845
|
};
|
|
1808
1846
|
suggestedName?: string;
|
|
1847
|
+
} | {
|
|
1848
|
+
reason: 'target_removed';
|
|
1849
|
+
targetDurableId: string;
|
|
1850
|
+
fieldPath?: string;
|
|
1809
1851
|
} | {
|
|
1810
1852
|
reason: 'invalid_token';
|
|
1811
1853
|
};
|
|
@@ -1816,6 +1858,7 @@ type ComponentUninstallResult$1 = {
|
|
|
1816
1858
|
requestDigest: string;
|
|
1817
1859
|
schemaVersion: 'operation-event-receipt/v2';
|
|
1818
1860
|
submissionId?: string;
|
|
1861
|
+
pruned?: true;
|
|
1819
1862
|
}>;
|
|
1820
1863
|
};
|
|
1821
1864
|
type CredentialDeleteResult$1 = {
|
|
@@ -2201,6 +2244,7 @@ type StreamAppendResult$1 = {
|
|
|
2201
2244
|
requestDigest: string;
|
|
2202
2245
|
schemaVersion: 'operation-event-receipt/v1';
|
|
2203
2246
|
submissionId?: string;
|
|
2247
|
+
pruned?: true;
|
|
2204
2248
|
allocatedTokenRanges: Array<{
|
|
2205
2249
|
start: number;
|
|
2206
2250
|
end: number;
|
|
@@ -2406,6 +2450,7 @@ type StreamAppendResult$1 = {
|
|
|
2406
2450
|
requestDigest: string;
|
|
2407
2451
|
schemaVersion: 'operation-event-receipt/v1';
|
|
2408
2452
|
submissionId?: string;
|
|
2453
|
+
pruned?: true;
|
|
2409
2454
|
};
|
|
2410
2455
|
} | {
|
|
2411
2456
|
event: {
|
|
@@ -2421,7 +2466,7 @@ type StreamAppendResult$1 = {
|
|
|
2421
2466
|
eventRequestId: string;
|
|
2422
2467
|
operations: Array<{
|
|
2423
2468
|
opIndex: number;
|
|
2424
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2469
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2425
2470
|
name: string;
|
|
2426
2471
|
submittedName?: string;
|
|
2427
2472
|
resolvedName?: string;
|
|
@@ -2457,7 +2502,7 @@ type StreamAppendResult$1 = {
|
|
|
2457
2502
|
dataHash?: string;
|
|
2458
2503
|
} | {
|
|
2459
2504
|
opIndex: number;
|
|
2460
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2505
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2461
2506
|
name: string;
|
|
2462
2507
|
submittedName?: string;
|
|
2463
2508
|
resolvedName?: string;
|
|
@@ -2525,6 +2570,10 @@ type StreamAppendResult$1 = {
|
|
|
2525
2570
|
durableId: string;
|
|
2526
2571
|
};
|
|
2527
2572
|
suggestedName?: string;
|
|
2573
|
+
} | {
|
|
2574
|
+
reason: 'target_removed';
|
|
2575
|
+
targetDurableId: string;
|
|
2576
|
+
fieldPath?: string;
|
|
2528
2577
|
} | {
|
|
2529
2578
|
reason: 'invalid_token';
|
|
2530
2579
|
};
|
|
@@ -2535,13 +2584,14 @@ type StreamAppendResult$1 = {
|
|
|
2535
2584
|
requestDigest: string;
|
|
2536
2585
|
schemaVersion: 'operation-event-receipt/v2';
|
|
2537
2586
|
submissionId?: string;
|
|
2587
|
+
pruned?: true;
|
|
2538
2588
|
allocatedTokenRanges: Array<{
|
|
2539
2589
|
start: number;
|
|
2540
2590
|
end: number;
|
|
2541
2591
|
}>;
|
|
2542
2592
|
results: Array<{
|
|
2543
2593
|
opIndex: number;
|
|
2544
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2594
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2545
2595
|
name: string;
|
|
2546
2596
|
submittedName?: string;
|
|
2547
2597
|
resolvedName?: string;
|
|
@@ -2577,7 +2627,7 @@ type StreamAppendResult$1 = {
|
|
|
2577
2627
|
dataHash?: string;
|
|
2578
2628
|
} | {
|
|
2579
2629
|
opIndex: number;
|
|
2580
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2630
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2581
2631
|
name: string;
|
|
2582
2632
|
submittedName?: string;
|
|
2583
2633
|
resolvedName?: string;
|
|
@@ -2645,6 +2695,10 @@ type StreamAppendResult$1 = {
|
|
|
2645
2695
|
durableId: string;
|
|
2646
2696
|
};
|
|
2647
2697
|
suggestedName?: string;
|
|
2698
|
+
} | {
|
|
2699
|
+
reason: 'target_removed';
|
|
2700
|
+
targetDurableId: string;
|
|
2701
|
+
fieldPath?: string;
|
|
2648
2702
|
} | {
|
|
2649
2703
|
reason: 'invalid_token';
|
|
2650
2704
|
};
|
|
@@ -2690,7 +2744,7 @@ type StreamAppendResult$1 = {
|
|
|
2690
2744
|
eventRequestId: string;
|
|
2691
2745
|
operations: Array<{
|
|
2692
2746
|
opIndex: number;
|
|
2693
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2747
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2694
2748
|
name: string;
|
|
2695
2749
|
submittedName?: string;
|
|
2696
2750
|
resolvedName?: string;
|
|
@@ -2726,7 +2780,7 @@ type StreamAppendResult$1 = {
|
|
|
2726
2780
|
dataHash?: string;
|
|
2727
2781
|
} | {
|
|
2728
2782
|
opIndex: number;
|
|
2729
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2783
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2730
2784
|
name: string;
|
|
2731
2785
|
submittedName?: string;
|
|
2732
2786
|
resolvedName?: string;
|
|
@@ -2794,6 +2848,10 @@ type StreamAppendResult$1 = {
|
|
|
2794
2848
|
durableId: string;
|
|
2795
2849
|
};
|
|
2796
2850
|
suggestedName?: string;
|
|
2851
|
+
} | {
|
|
2852
|
+
reason: 'target_removed';
|
|
2853
|
+
targetDurableId: string;
|
|
2854
|
+
fieldPath?: string;
|
|
2797
2855
|
} | {
|
|
2798
2856
|
reason: 'invalid_token';
|
|
2799
2857
|
};
|
|
@@ -2804,6 +2862,7 @@ type StreamAppendResult$1 = {
|
|
|
2804
2862
|
requestDigest: string;
|
|
2805
2863
|
schemaVersion: 'operation-event-receipt/v2';
|
|
2806
2864
|
submissionId?: string;
|
|
2865
|
+
pruned?: true;
|
|
2807
2866
|
};
|
|
2808
2867
|
};
|
|
2809
2868
|
type StreamingSubmissionRow$1 = {
|
|
@@ -2873,7 +2932,7 @@ type StreamingSubmissionRow$1 = {
|
|
|
2873
2932
|
submissionIndex: number;
|
|
2874
2933
|
} | {
|
|
2875
2934
|
opIndex: number;
|
|
2876
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2935
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2877
2936
|
name: string;
|
|
2878
2937
|
submittedName?: string;
|
|
2879
2938
|
resolvedName?: string;
|
|
@@ -2912,7 +2971,7 @@ type StreamingSubmissionRow$1 = {
|
|
|
2912
2971
|
submissionIndex: number;
|
|
2913
2972
|
} | {
|
|
2914
2973
|
opIndex: number;
|
|
2915
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2974
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
2916
2975
|
name: string;
|
|
2917
2976
|
submittedName?: string;
|
|
2918
2977
|
resolvedName?: string;
|
|
@@ -2980,6 +3039,10 @@ type StreamingSubmissionRow$1 = {
|
|
|
2980
3039
|
durableId: string;
|
|
2981
3040
|
};
|
|
2982
3041
|
suggestedName?: string;
|
|
3042
|
+
} | {
|
|
3043
|
+
reason: 'target_removed';
|
|
3044
|
+
targetDurableId: string;
|
|
3045
|
+
fieldPath?: string;
|
|
2983
3046
|
} | {
|
|
2984
3047
|
reason: 'invalid_token';
|
|
2985
3048
|
};
|
|
@@ -3048,6 +3111,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3048
3111
|
requestDigest: string;
|
|
3049
3112
|
schemaVersion: 'operation-event-receipt/v1';
|
|
3050
3113
|
submissionId?: string;
|
|
3114
|
+
pruned?: true;
|
|
3051
3115
|
committer?: string;
|
|
3052
3116
|
createdByEmail?: string;
|
|
3053
3117
|
message?: string;
|
|
@@ -3201,6 +3265,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3201
3265
|
requestDigest: string;
|
|
3202
3266
|
schemaVersion: 'operation-event-receipt/v1';
|
|
3203
3267
|
submissionId?: string;
|
|
3268
|
+
pruned?: true;
|
|
3204
3269
|
};
|
|
3205
3270
|
} | {
|
|
3206
3271
|
event: {
|
|
@@ -3218,6 +3283,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3218
3283
|
requestDigest: string;
|
|
3219
3284
|
schemaVersion: 'operation-event-receipt/v2';
|
|
3220
3285
|
submissionId?: string;
|
|
3286
|
+
pruned?: true;
|
|
3221
3287
|
committer?: string;
|
|
3222
3288
|
createdByEmail?: string;
|
|
3223
3289
|
message?: string;
|
|
@@ -3225,7 +3291,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3225
3291
|
repoSeq?: number;
|
|
3226
3292
|
operations: Array<{
|
|
3227
3293
|
opIndex: number;
|
|
3228
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3294
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3229
3295
|
name: string;
|
|
3230
3296
|
submittedName?: string;
|
|
3231
3297
|
resolvedName?: string;
|
|
@@ -3261,7 +3327,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3261
3327
|
dataHash?: string;
|
|
3262
3328
|
} | {
|
|
3263
3329
|
opIndex: number;
|
|
3264
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3330
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3265
3331
|
name: string;
|
|
3266
3332
|
submittedName?: string;
|
|
3267
3333
|
resolvedName?: string;
|
|
@@ -3329,6 +3395,10 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3329
3395
|
durableId: string;
|
|
3330
3396
|
};
|
|
3331
3397
|
suggestedName?: string;
|
|
3398
|
+
} | {
|
|
3399
|
+
reason: 'target_removed';
|
|
3400
|
+
targetDurableId: string;
|
|
3401
|
+
fieldPath?: string;
|
|
3332
3402
|
} | {
|
|
3333
3403
|
reason: 'invalid_token';
|
|
3334
3404
|
};
|
|
@@ -3349,7 +3419,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3349
3419
|
eventRequestId: string;
|
|
3350
3420
|
operations: Array<{
|
|
3351
3421
|
opIndex: number;
|
|
3352
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3422
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3353
3423
|
name: string;
|
|
3354
3424
|
submittedName?: string;
|
|
3355
3425
|
resolvedName?: string;
|
|
@@ -3385,7 +3455,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3385
3455
|
dataHash?: string;
|
|
3386
3456
|
} | {
|
|
3387
3457
|
opIndex: number;
|
|
3388
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3458
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3389
3459
|
name: string;
|
|
3390
3460
|
submittedName?: string;
|
|
3391
3461
|
resolvedName?: string;
|
|
@@ -3453,6 +3523,10 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3453
3523
|
durableId: string;
|
|
3454
3524
|
};
|
|
3455
3525
|
suggestedName?: string;
|
|
3526
|
+
} | {
|
|
3527
|
+
reason: 'target_removed';
|
|
3528
|
+
targetDurableId: string;
|
|
3529
|
+
fieldPath?: string;
|
|
3456
3530
|
} | {
|
|
3457
3531
|
reason: 'invalid_token';
|
|
3458
3532
|
};
|
|
@@ -3463,6 +3537,7 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
3463
3537
|
requestDigest: string;
|
|
3464
3538
|
schemaVersion: 'operation-event-receipt/v2';
|
|
3465
3539
|
submissionId?: string;
|
|
3540
|
+
pruned?: true;
|
|
3466
3541
|
};
|
|
3467
3542
|
};
|
|
3468
3543
|
type CollectionMutationCompatibilityResult = {
|
|
@@ -3578,6 +3653,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3578
3653
|
requestDigest: string;
|
|
3579
3654
|
schemaVersion: 'operation-event-receipt/v1';
|
|
3580
3655
|
submissionId?: string;
|
|
3656
|
+
pruned?: true;
|
|
3581
3657
|
type: 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
3582
3658
|
wref: string;
|
|
3583
3659
|
version: number;
|
|
@@ -3720,6 +3796,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3720
3796
|
requestDigest: string;
|
|
3721
3797
|
schemaVersion: 'operation-event-receipt/v1';
|
|
3722
3798
|
submissionId?: string;
|
|
3799
|
+
pruned?: true;
|
|
3723
3800
|
};
|
|
3724
3801
|
} | {
|
|
3725
3802
|
event: {
|
|
@@ -3735,7 +3812,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3735
3812
|
eventRequestId: string;
|
|
3736
3813
|
operations: Array<{
|
|
3737
3814
|
opIndex: number;
|
|
3738
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3815
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3739
3816
|
name: string;
|
|
3740
3817
|
submittedName?: string;
|
|
3741
3818
|
resolvedName?: string;
|
|
@@ -3771,7 +3848,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3771
3848
|
dataHash?: string;
|
|
3772
3849
|
} | {
|
|
3773
3850
|
opIndex: number;
|
|
3774
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3851
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3775
3852
|
name: string;
|
|
3776
3853
|
submittedName?: string;
|
|
3777
3854
|
resolvedName?: string;
|
|
@@ -3839,6 +3916,10 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3839
3916
|
durableId: string;
|
|
3840
3917
|
};
|
|
3841
3918
|
suggestedName?: string;
|
|
3919
|
+
} | {
|
|
3920
|
+
reason: 'target_removed';
|
|
3921
|
+
targetDurableId: string;
|
|
3922
|
+
fieldPath?: string;
|
|
3842
3923
|
} | {
|
|
3843
3924
|
reason: 'invalid_token';
|
|
3844
3925
|
};
|
|
@@ -3849,6 +3930,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3849
3930
|
requestDigest: string;
|
|
3850
3931
|
schemaVersion: 'operation-event-receipt/v2';
|
|
3851
3932
|
submissionId?: string;
|
|
3933
|
+
pruned?: true;
|
|
3852
3934
|
type: 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
3853
3935
|
wref: string;
|
|
3854
3936
|
version: number;
|
|
@@ -3892,7 +3974,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3892
3974
|
eventRequestId: string;
|
|
3893
3975
|
operations: Array<{
|
|
3894
3976
|
opIndex: number;
|
|
3895
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3977
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3896
3978
|
name: string;
|
|
3897
3979
|
submittedName?: string;
|
|
3898
3980
|
resolvedName?: string;
|
|
@@ -3928,7 +4010,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3928
4010
|
dataHash?: string;
|
|
3929
4011
|
} | {
|
|
3930
4012
|
opIndex: number;
|
|
3931
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4013
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
3932
4014
|
name: string;
|
|
3933
4015
|
submittedName?: string;
|
|
3934
4016
|
resolvedName?: string;
|
|
@@ -3996,6 +4078,10 @@ type CollectionMutationCompatibilityResult = {
|
|
|
3996
4078
|
durableId: string;
|
|
3997
4079
|
};
|
|
3998
4080
|
suggestedName?: string;
|
|
4081
|
+
} | {
|
|
4082
|
+
reason: 'target_removed';
|
|
4083
|
+
targetDurableId: string;
|
|
4084
|
+
fieldPath?: string;
|
|
3999
4085
|
} | {
|
|
4000
4086
|
reason: 'invalid_token';
|
|
4001
4087
|
};
|
|
@@ -4006,6 +4092,276 @@ type CollectionMutationCompatibilityResult = {
|
|
|
4006
4092
|
requestDigest: string;
|
|
4007
4093
|
schemaVersion: 'operation-event-receipt/v2';
|
|
4008
4094
|
submissionId?: string;
|
|
4095
|
+
pruned?: true;
|
|
4096
|
+
};
|
|
4097
|
+
};
|
|
4098
|
+
type RemoveCompatibilityResult = {
|
|
4099
|
+
event: {
|
|
4100
|
+
committedAt: string;
|
|
4101
|
+
eventDigest: string;
|
|
4102
|
+
operationCount: number;
|
|
4103
|
+
repo: {
|
|
4104
|
+
orgName: string;
|
|
4105
|
+
repoName: string;
|
|
4106
|
+
};
|
|
4107
|
+
repoSeq: string;
|
|
4108
|
+
} | null;
|
|
4109
|
+
eventRequestId: string;
|
|
4110
|
+
operations: Array<{
|
|
4111
|
+
opIndex: number;
|
|
4112
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4113
|
+
name: string;
|
|
4114
|
+
submittedName?: string;
|
|
4115
|
+
resolvedName?: string;
|
|
4116
|
+
warnings?: {
|
|
4117
|
+
undeclaredFields?: Array<string>;
|
|
4118
|
+
undeclaredFieldsTruncated?: true;
|
|
4119
|
+
totalUndeclared?: number;
|
|
4120
|
+
coalescedWrefs?: Array<{
|
|
4121
|
+
fieldPath: string;
|
|
4122
|
+
wref: string;
|
|
4123
|
+
reason: string;
|
|
4124
|
+
}>;
|
|
4125
|
+
coalescedWrefsTruncated?: true;
|
|
4126
|
+
totalCoalescedWrefs?: number;
|
|
4127
|
+
deprecations?: Array<{
|
|
4128
|
+
shape: string;
|
|
4129
|
+
message: string;
|
|
4130
|
+
removalMilestone: string;
|
|
4131
|
+
}>;
|
|
4132
|
+
ignoredVersionPins?: Array<{
|
|
4133
|
+
fieldPath: string;
|
|
4134
|
+
wref: string;
|
|
4135
|
+
binding: 'identity';
|
|
4136
|
+
}>;
|
|
4137
|
+
};
|
|
4138
|
+
affirmations?: {
|
|
4139
|
+
added: Array<string>;
|
|
4140
|
+
removed: Array<string>;
|
|
4141
|
+
ignored: Array<string>;
|
|
4142
|
+
};
|
|
4143
|
+
status: 'applied' | 'noop';
|
|
4144
|
+
version?: number;
|
|
4145
|
+
dataHash?: string;
|
|
4146
|
+
} | {
|
|
4147
|
+
opIndex: number;
|
|
4148
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4149
|
+
name: string;
|
|
4150
|
+
submittedName?: string;
|
|
4151
|
+
resolvedName?: string;
|
|
4152
|
+
warnings?: {
|
|
4153
|
+
undeclaredFields?: Array<string>;
|
|
4154
|
+
undeclaredFieldsTruncated?: true;
|
|
4155
|
+
totalUndeclared?: number;
|
|
4156
|
+
coalescedWrefs?: Array<{
|
|
4157
|
+
fieldPath: string;
|
|
4158
|
+
wref: string;
|
|
4159
|
+
reason: string;
|
|
4160
|
+
}>;
|
|
4161
|
+
coalescedWrefsTruncated?: true;
|
|
4162
|
+
totalCoalescedWrefs?: number;
|
|
4163
|
+
deprecations?: Array<{
|
|
4164
|
+
shape: string;
|
|
4165
|
+
message: string;
|
|
4166
|
+
removalMilestone: string;
|
|
4167
|
+
}>;
|
|
4168
|
+
ignoredVersionPins?: Array<{
|
|
4169
|
+
fieldPath: string;
|
|
4170
|
+
wref: string;
|
|
4171
|
+
binding: 'identity';
|
|
4172
|
+
}>;
|
|
4173
|
+
};
|
|
4174
|
+
affirmations?: {
|
|
4175
|
+
added: Array<string>;
|
|
4176
|
+
removed: Array<string>;
|
|
4177
|
+
ignored: Array<string>;
|
|
4178
|
+
};
|
|
4179
|
+
status: 'error';
|
|
4180
|
+
errors: Array<{
|
|
4181
|
+
code: string;
|
|
4182
|
+
message: string;
|
|
4183
|
+
path?: string;
|
|
4184
|
+
details?: {
|
|
4185
|
+
reason: 'expected_version_mismatch';
|
|
4186
|
+
expectedVersion: number;
|
|
4187
|
+
currentVersion: number;
|
|
4188
|
+
} | {
|
|
4189
|
+
reason: 'lease_held';
|
|
4190
|
+
leaseExpiresAt: string;
|
|
4191
|
+
} | {
|
|
4192
|
+
reason: 'validation_failed';
|
|
4193
|
+
issues: Array<{
|
|
4194
|
+
path: string;
|
|
4195
|
+
message: string;
|
|
4196
|
+
}>;
|
|
4197
|
+
} | {
|
|
4198
|
+
reason: 'rate_limit_reset';
|
|
4199
|
+
retryAfterSeconds: number;
|
|
4200
|
+
resetAt: string;
|
|
4201
|
+
} | {
|
|
4202
|
+
reason: 'cursor_fence_unavailable';
|
|
4203
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
4204
|
+
retryFromStart: true;
|
|
4205
|
+
} | {
|
|
4206
|
+
reason: 'dependency_failed';
|
|
4207
|
+
producerOpIndexes: Array<number>;
|
|
4208
|
+
} | {
|
|
4209
|
+
reason: 'name_taken';
|
|
4210
|
+
name: string;
|
|
4211
|
+
takenBy?: {
|
|
4212
|
+
shape: string;
|
|
4213
|
+
durableId: string;
|
|
4214
|
+
};
|
|
4215
|
+
suggestedName?: string;
|
|
4216
|
+
} | {
|
|
4217
|
+
reason: 'target_removed';
|
|
4218
|
+
targetDurableId: string;
|
|
4219
|
+
fieldPath?: string;
|
|
4220
|
+
} | {
|
|
4221
|
+
reason: 'invalid_token';
|
|
4222
|
+
};
|
|
4223
|
+
retryable?: boolean;
|
|
4224
|
+
}>;
|
|
4225
|
+
}>;
|
|
4226
|
+
outcome: 'event' | 'no_event';
|
|
4227
|
+
requestDigest: string;
|
|
4228
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
4229
|
+
submissionId?: string;
|
|
4230
|
+
pruned?: true;
|
|
4231
|
+
removed: true;
|
|
4232
|
+
receipt: {
|
|
4233
|
+
event: {
|
|
4234
|
+
committedAt: string;
|
|
4235
|
+
eventDigest: string;
|
|
4236
|
+
operationCount: number;
|
|
4237
|
+
repo: {
|
|
4238
|
+
orgName: string;
|
|
4239
|
+
repoName: string;
|
|
4240
|
+
};
|
|
4241
|
+
repoSeq: string;
|
|
4242
|
+
} | null;
|
|
4243
|
+
eventRequestId: string;
|
|
4244
|
+
operations: Array<{
|
|
4245
|
+
opIndex: number;
|
|
4246
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4247
|
+
name: string;
|
|
4248
|
+
submittedName?: string;
|
|
4249
|
+
resolvedName?: string;
|
|
4250
|
+
warnings?: {
|
|
4251
|
+
undeclaredFields?: Array<string>;
|
|
4252
|
+
undeclaredFieldsTruncated?: true;
|
|
4253
|
+
totalUndeclared?: number;
|
|
4254
|
+
coalescedWrefs?: Array<{
|
|
4255
|
+
fieldPath: string;
|
|
4256
|
+
wref: string;
|
|
4257
|
+
reason: string;
|
|
4258
|
+
}>;
|
|
4259
|
+
coalescedWrefsTruncated?: true;
|
|
4260
|
+
totalCoalescedWrefs?: number;
|
|
4261
|
+
deprecations?: Array<{
|
|
4262
|
+
shape: string;
|
|
4263
|
+
message: string;
|
|
4264
|
+
removalMilestone: string;
|
|
4265
|
+
}>;
|
|
4266
|
+
ignoredVersionPins?: Array<{
|
|
4267
|
+
fieldPath: string;
|
|
4268
|
+
wref: string;
|
|
4269
|
+
binding: 'identity';
|
|
4270
|
+
}>;
|
|
4271
|
+
};
|
|
4272
|
+
affirmations?: {
|
|
4273
|
+
added: Array<string>;
|
|
4274
|
+
removed: Array<string>;
|
|
4275
|
+
ignored: Array<string>;
|
|
4276
|
+
};
|
|
4277
|
+
status: 'applied' | 'noop';
|
|
4278
|
+
version?: number;
|
|
4279
|
+
dataHash?: string;
|
|
4280
|
+
} | {
|
|
4281
|
+
opIndex: number;
|
|
4282
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4283
|
+
name: string;
|
|
4284
|
+
submittedName?: string;
|
|
4285
|
+
resolvedName?: string;
|
|
4286
|
+
warnings?: {
|
|
4287
|
+
undeclaredFields?: Array<string>;
|
|
4288
|
+
undeclaredFieldsTruncated?: true;
|
|
4289
|
+
totalUndeclared?: number;
|
|
4290
|
+
coalescedWrefs?: Array<{
|
|
4291
|
+
fieldPath: string;
|
|
4292
|
+
wref: string;
|
|
4293
|
+
reason: string;
|
|
4294
|
+
}>;
|
|
4295
|
+
coalescedWrefsTruncated?: true;
|
|
4296
|
+
totalCoalescedWrefs?: number;
|
|
4297
|
+
deprecations?: Array<{
|
|
4298
|
+
shape: string;
|
|
4299
|
+
message: string;
|
|
4300
|
+
removalMilestone: string;
|
|
4301
|
+
}>;
|
|
4302
|
+
ignoredVersionPins?: Array<{
|
|
4303
|
+
fieldPath: string;
|
|
4304
|
+
wref: string;
|
|
4305
|
+
binding: 'identity';
|
|
4306
|
+
}>;
|
|
4307
|
+
};
|
|
4308
|
+
affirmations?: {
|
|
4309
|
+
added: Array<string>;
|
|
4310
|
+
removed: Array<string>;
|
|
4311
|
+
ignored: Array<string>;
|
|
4312
|
+
};
|
|
4313
|
+
status: 'error';
|
|
4314
|
+
errors: Array<{
|
|
4315
|
+
code: string;
|
|
4316
|
+
message: string;
|
|
4317
|
+
path?: string;
|
|
4318
|
+
details?: {
|
|
4319
|
+
reason: 'expected_version_mismatch';
|
|
4320
|
+
expectedVersion: number;
|
|
4321
|
+
currentVersion: number;
|
|
4322
|
+
} | {
|
|
4323
|
+
reason: 'lease_held';
|
|
4324
|
+
leaseExpiresAt: string;
|
|
4325
|
+
} | {
|
|
4326
|
+
reason: 'validation_failed';
|
|
4327
|
+
issues: Array<{
|
|
4328
|
+
path: string;
|
|
4329
|
+
message: string;
|
|
4330
|
+
}>;
|
|
4331
|
+
} | {
|
|
4332
|
+
reason: 'rate_limit_reset';
|
|
4333
|
+
retryAfterSeconds: number;
|
|
4334
|
+
resetAt: string;
|
|
4335
|
+
} | {
|
|
4336
|
+
reason: 'cursor_fence_unavailable';
|
|
4337
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
4338
|
+
retryFromStart: true;
|
|
4339
|
+
} | {
|
|
4340
|
+
reason: 'dependency_failed';
|
|
4341
|
+
producerOpIndexes: Array<number>;
|
|
4342
|
+
} | {
|
|
4343
|
+
reason: 'name_taken';
|
|
4344
|
+
name: string;
|
|
4345
|
+
takenBy?: {
|
|
4346
|
+
shape: string;
|
|
4347
|
+
durableId: string;
|
|
4348
|
+
};
|
|
4349
|
+
suggestedName?: string;
|
|
4350
|
+
} | {
|
|
4351
|
+
reason: 'target_removed';
|
|
4352
|
+
targetDurableId: string;
|
|
4353
|
+
fieldPath?: string;
|
|
4354
|
+
} | {
|
|
4355
|
+
reason: 'invalid_token';
|
|
4356
|
+
};
|
|
4357
|
+
retryable?: boolean;
|
|
4358
|
+
}>;
|
|
4359
|
+
}>;
|
|
4360
|
+
outcome: 'event' | 'no_event';
|
|
4361
|
+
requestDigest: string;
|
|
4362
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
4363
|
+
submissionId?: string;
|
|
4364
|
+
pruned?: true;
|
|
4009
4365
|
};
|
|
4010
4366
|
};
|
|
4011
4367
|
type RenameCompatibilityResult = {
|
|
@@ -4121,6 +4477,7 @@ type RenameCompatibilityResult = {
|
|
|
4121
4477
|
requestDigest: string;
|
|
4122
4478
|
schemaVersion: 'operation-event-receipt/v1';
|
|
4123
4479
|
submissionId?: string;
|
|
4480
|
+
pruned?: true;
|
|
4124
4481
|
renamed: true;
|
|
4125
4482
|
receipt: {
|
|
4126
4483
|
event: {
|
|
@@ -4235,6 +4592,7 @@ type RenameCompatibilityResult = {
|
|
|
4235
4592
|
requestDigest: string;
|
|
4236
4593
|
schemaVersion: 'operation-event-receipt/v1';
|
|
4237
4594
|
submissionId?: string;
|
|
4595
|
+
pruned?: true;
|
|
4238
4596
|
};
|
|
4239
4597
|
} | {
|
|
4240
4598
|
event: {
|
|
@@ -4250,7 +4608,7 @@ type RenameCompatibilityResult = {
|
|
|
4250
4608
|
eventRequestId: string;
|
|
4251
4609
|
operations: Array<{
|
|
4252
4610
|
opIndex: number;
|
|
4253
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4611
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4254
4612
|
name: string;
|
|
4255
4613
|
submittedName?: string;
|
|
4256
4614
|
resolvedName?: string;
|
|
@@ -4286,7 +4644,7 @@ type RenameCompatibilityResult = {
|
|
|
4286
4644
|
dataHash?: string;
|
|
4287
4645
|
} | {
|
|
4288
4646
|
opIndex: number;
|
|
4289
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4647
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4290
4648
|
name: string;
|
|
4291
4649
|
submittedName?: string;
|
|
4292
4650
|
resolvedName?: string;
|
|
@@ -4354,6 +4712,10 @@ type RenameCompatibilityResult = {
|
|
|
4354
4712
|
durableId: string;
|
|
4355
4713
|
};
|
|
4356
4714
|
suggestedName?: string;
|
|
4715
|
+
} | {
|
|
4716
|
+
reason: 'target_removed';
|
|
4717
|
+
targetDurableId: string;
|
|
4718
|
+
fieldPath?: string;
|
|
4357
4719
|
} | {
|
|
4358
4720
|
reason: 'invalid_token';
|
|
4359
4721
|
};
|
|
@@ -4364,6 +4726,7 @@ type RenameCompatibilityResult = {
|
|
|
4364
4726
|
requestDigest: string;
|
|
4365
4727
|
schemaVersion: 'operation-event-receipt/v2';
|
|
4366
4728
|
submissionId?: string;
|
|
4729
|
+
pruned?: true;
|
|
4367
4730
|
renamed: true;
|
|
4368
4731
|
receipt: {
|
|
4369
4732
|
event: {
|
|
@@ -4379,7 +4742,7 @@ type RenameCompatibilityResult = {
|
|
|
4379
4742
|
eventRequestId: string;
|
|
4380
4743
|
operations: Array<{
|
|
4381
4744
|
opIndex: number;
|
|
4382
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4745
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4383
4746
|
name: string;
|
|
4384
4747
|
submittedName?: string;
|
|
4385
4748
|
resolvedName?: string;
|
|
@@ -4415,7 +4778,7 @@ type RenameCompatibilityResult = {
|
|
|
4415
4778
|
dataHash?: string;
|
|
4416
4779
|
} | {
|
|
4417
4780
|
opIndex: number;
|
|
4418
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4781
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4419
4782
|
name: string;
|
|
4420
4783
|
submittedName?: string;
|
|
4421
4784
|
resolvedName?: string;
|
|
@@ -4483,6 +4846,10 @@ type RenameCompatibilityResult = {
|
|
|
4483
4846
|
durableId: string;
|
|
4484
4847
|
};
|
|
4485
4848
|
suggestedName?: string;
|
|
4849
|
+
} | {
|
|
4850
|
+
reason: 'target_removed';
|
|
4851
|
+
targetDurableId: string;
|
|
4852
|
+
fieldPath?: string;
|
|
4486
4853
|
} | {
|
|
4487
4854
|
reason: 'invalid_token';
|
|
4488
4855
|
};
|
|
@@ -4493,6 +4860,7 @@ type RenameCompatibilityResult = {
|
|
|
4493
4860
|
requestDigest: string;
|
|
4494
4861
|
schemaVersion: 'operation-event-receipt/v2';
|
|
4495
4862
|
submissionId?: string;
|
|
4863
|
+
pruned?: true;
|
|
4496
4864
|
};
|
|
4497
4865
|
};
|
|
4498
4866
|
type ShapeChangeCompatibilityResult = {
|
|
@@ -4608,6 +4976,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4608
4976
|
requestDigest: string;
|
|
4609
4977
|
schemaVersion: 'operation-event-receipt/v1';
|
|
4610
4978
|
submissionId?: string;
|
|
4979
|
+
pruned?: true;
|
|
4611
4980
|
name: string;
|
|
4612
4981
|
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
4613
4982
|
version: number;
|
|
@@ -4725,6 +5094,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4725
5094
|
requestDigest: string;
|
|
4726
5095
|
schemaVersion: 'operation-event-receipt/v1';
|
|
4727
5096
|
submissionId?: string;
|
|
5097
|
+
pruned?: true;
|
|
4728
5098
|
};
|
|
4729
5099
|
} | {
|
|
4730
5100
|
event: {
|
|
@@ -4740,7 +5110,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4740
5110
|
eventRequestId: string;
|
|
4741
5111
|
operations: Array<{
|
|
4742
5112
|
opIndex: number;
|
|
4743
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5113
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4744
5114
|
name: string;
|
|
4745
5115
|
submittedName?: string;
|
|
4746
5116
|
resolvedName?: string;
|
|
@@ -4776,7 +5146,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4776
5146
|
dataHash?: string;
|
|
4777
5147
|
} | {
|
|
4778
5148
|
opIndex: number;
|
|
4779
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5149
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4780
5150
|
name: string;
|
|
4781
5151
|
submittedName?: string;
|
|
4782
5152
|
resolvedName?: string;
|
|
@@ -4844,6 +5214,10 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4844
5214
|
durableId: string;
|
|
4845
5215
|
};
|
|
4846
5216
|
suggestedName?: string;
|
|
5217
|
+
} | {
|
|
5218
|
+
reason: 'target_removed';
|
|
5219
|
+
targetDurableId: string;
|
|
5220
|
+
fieldPath?: string;
|
|
4847
5221
|
} | {
|
|
4848
5222
|
reason: 'invalid_token';
|
|
4849
5223
|
};
|
|
@@ -4854,6 +5228,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4854
5228
|
requestDigest: string;
|
|
4855
5229
|
schemaVersion: 'operation-event-receipt/v2';
|
|
4856
5230
|
submissionId?: string;
|
|
5231
|
+
pruned?: true;
|
|
4857
5232
|
name: string;
|
|
4858
5233
|
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
4859
5234
|
version: number;
|
|
@@ -4872,7 +5247,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4872
5247
|
eventRequestId: string;
|
|
4873
5248
|
operations: Array<{
|
|
4874
5249
|
opIndex: number;
|
|
4875
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5250
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4876
5251
|
name: string;
|
|
4877
5252
|
submittedName?: string;
|
|
4878
5253
|
resolvedName?: string;
|
|
@@ -4908,7 +5283,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4908
5283
|
dataHash?: string;
|
|
4909
5284
|
} | {
|
|
4910
5285
|
opIndex: number;
|
|
4911
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5286
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
4912
5287
|
name: string;
|
|
4913
5288
|
submittedName?: string;
|
|
4914
5289
|
resolvedName?: string;
|
|
@@ -4976,6 +5351,10 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4976
5351
|
durableId: string;
|
|
4977
5352
|
};
|
|
4978
5353
|
suggestedName?: string;
|
|
5354
|
+
} | {
|
|
5355
|
+
reason: 'target_removed';
|
|
5356
|
+
targetDurableId: string;
|
|
5357
|
+
fieldPath?: string;
|
|
4979
5358
|
} | {
|
|
4980
5359
|
reason: 'invalid_token';
|
|
4981
5360
|
};
|
|
@@ -4986,6 +5365,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
4986
5365
|
requestDigest: string;
|
|
4987
5366
|
schemaVersion: 'operation-event-receipt/v2';
|
|
4988
5367
|
submissionId?: string;
|
|
5368
|
+
pruned?: true;
|
|
4989
5369
|
};
|
|
4990
5370
|
};
|
|
4991
5371
|
type ShapeRemoveCompatibilityResult = {
|
|
@@ -5101,6 +5481,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5101
5481
|
requestDigest: string;
|
|
5102
5482
|
schemaVersion: 'operation-event-receipt/v1';
|
|
5103
5483
|
submissionId?: string;
|
|
5484
|
+
pruned?: true;
|
|
5104
5485
|
name: string;
|
|
5105
5486
|
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
5106
5487
|
version: number;
|
|
@@ -5219,6 +5600,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5219
5600
|
requestDigest: string;
|
|
5220
5601
|
schemaVersion: 'operation-event-receipt/v1';
|
|
5221
5602
|
submissionId?: string;
|
|
5603
|
+
pruned?: true;
|
|
5222
5604
|
};
|
|
5223
5605
|
} | {
|
|
5224
5606
|
event: {
|
|
@@ -5234,7 +5616,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5234
5616
|
eventRequestId: string;
|
|
5235
5617
|
operations: Array<{
|
|
5236
5618
|
opIndex: number;
|
|
5237
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5619
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
5238
5620
|
name: string;
|
|
5239
5621
|
submittedName?: string;
|
|
5240
5622
|
resolvedName?: string;
|
|
@@ -5270,7 +5652,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5270
5652
|
dataHash?: string;
|
|
5271
5653
|
} | {
|
|
5272
5654
|
opIndex: number;
|
|
5273
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5655
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
5274
5656
|
name: string;
|
|
5275
5657
|
submittedName?: string;
|
|
5276
5658
|
resolvedName?: string;
|
|
@@ -5338,6 +5720,10 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5338
5720
|
durableId: string;
|
|
5339
5721
|
};
|
|
5340
5722
|
suggestedName?: string;
|
|
5723
|
+
} | {
|
|
5724
|
+
reason: 'target_removed';
|
|
5725
|
+
targetDurableId: string;
|
|
5726
|
+
fieldPath?: string;
|
|
5341
5727
|
} | {
|
|
5342
5728
|
reason: 'invalid_token';
|
|
5343
5729
|
};
|
|
@@ -5348,6 +5734,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5348
5734
|
requestDigest: string;
|
|
5349
5735
|
schemaVersion: 'operation-event-receipt/v2';
|
|
5350
5736
|
submissionId?: string;
|
|
5737
|
+
pruned?: true;
|
|
5351
5738
|
name: string;
|
|
5352
5739
|
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
5353
5740
|
version: number;
|
|
@@ -5367,7 +5754,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5367
5754
|
eventRequestId: string;
|
|
5368
5755
|
operations: Array<{
|
|
5369
5756
|
opIndex: number;
|
|
5370
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5757
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
5371
5758
|
name: string;
|
|
5372
5759
|
submittedName?: string;
|
|
5373
5760
|
resolvedName?: string;
|
|
@@ -5403,7 +5790,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5403
5790
|
dataHash?: string;
|
|
5404
5791
|
} | {
|
|
5405
5792
|
opIndex: number;
|
|
5406
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
5793
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'remove';
|
|
5407
5794
|
name: string;
|
|
5408
5795
|
submittedName?: string;
|
|
5409
5796
|
resolvedName?: string;
|
|
@@ -5471,6 +5858,10 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5471
5858
|
durableId: string;
|
|
5472
5859
|
};
|
|
5473
5860
|
suggestedName?: string;
|
|
5861
|
+
} | {
|
|
5862
|
+
reason: 'target_removed';
|
|
5863
|
+
targetDurableId: string;
|
|
5864
|
+
fieldPath?: string;
|
|
5474
5865
|
} | {
|
|
5475
5866
|
reason: 'invalid_token';
|
|
5476
5867
|
};
|
|
@@ -5481,6 +5872,7 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
5481
5872
|
requestDigest: string;
|
|
5482
5873
|
schemaVersion: 'operation-event-receipt/v2';
|
|
5483
5874
|
submissionId?: string;
|
|
5875
|
+
pruned?: true;
|
|
5484
5876
|
};
|
|
5485
5877
|
};
|
|
5486
5878
|
type Org = {
|
|
@@ -5523,6 +5915,7 @@ type RefsResult$1 = {
|
|
|
5523
5915
|
version?: number;
|
|
5524
5916
|
fieldPath?: string;
|
|
5525
5917
|
binding?: 'identity' | 'versioned';
|
|
5918
|
+
removed?: true;
|
|
5526
5919
|
}>;
|
|
5527
5920
|
nextCursor?: string;
|
|
5528
5921
|
};
|
|
@@ -5537,6 +5930,10 @@ type ShapeGetResult = {
|
|
|
5537
5930
|
dataHash: string;
|
|
5538
5931
|
} | null;
|
|
5539
5932
|
componentRef?: string;
|
|
5933
|
+
composition?: Array<{
|
|
5934
|
+
wref: string;
|
|
5935
|
+
fields: Record<string, unknown>;
|
|
5936
|
+
}>;
|
|
5540
5937
|
};
|
|
5541
5938
|
type ShapeListResult = {
|
|
5542
5939
|
items: Array<{
|
|
@@ -6661,6 +7058,24 @@ type CommitValidateInput = CommitValidateInput$1;
|
|
|
6661
7058
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitvalidateresult/
|
|
6662
7059
|
*/
|
|
6663
7060
|
type CommitValidateResult = CommitValidateResult$1;
|
|
7061
|
+
/**
|
|
7062
|
+
* A removal a validation can check. Only `commit.validate` accepts it:
|
|
7063
|
+
* `commit.apply` writes through streams, which refuse `remove`, so the
|
|
7064
|
+
* removal itself goes through `client.thing.remove`.
|
|
7065
|
+
* @see https://docs.warmhub.ai/sdk-reference/interfaces/removeoperation/
|
|
7066
|
+
*/
|
|
7067
|
+
interface RemoveOperation {
|
|
7068
|
+
operation: 'remove';
|
|
7069
|
+
/** A local wref (`Shape/name` or `Shape`) or a durable ID in this repo. */
|
|
7070
|
+
name: string;
|
|
7071
|
+
/** The Thing's current version; a stale version fails the removal. */
|
|
7072
|
+
expectedVersion: number;
|
|
7073
|
+
}
|
|
7074
|
+
/**
|
|
7075
|
+
* An operation {@link WarmHubClient.commit.validate} accepts.
|
|
7076
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitvalidateoperation/
|
|
7077
|
+
*/
|
|
7078
|
+
type CommitValidateOperation = Operation | RemoveOperation;
|
|
6664
7079
|
/**
|
|
6665
7080
|
* Options accepted by {@link WarmHubClient.commit.validate}.
|
|
6666
7081
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitvalidateoptions/
|
|
@@ -6674,7 +7089,7 @@ type CommitValidateOptions = {
|
|
|
6674
7089
|
signal?: AbortSignal;
|
|
6675
7090
|
};
|
|
6676
7091
|
/** @internal Canonical input shared by the SDK call and CLI byte preflight. */
|
|
6677
|
-
declare function createCommitValidateInput(orgName: string, repoName: string, operations: readonly
|
|
7092
|
+
declare function createCommitValidateInput(orgName: string, repoName: string, operations: readonly CommitValidateOperation[], opts?: CommitValidateOptions): CommitValidateInput;
|
|
6678
7093
|
/**
|
|
6679
7094
|
* Serialize the exact body sent by the dedicated unbatched tRPC HTTP link.
|
|
6680
7095
|
*
|
|
@@ -7139,7 +7554,11 @@ declare class PartialStreamSubmissionError extends Error {
|
|
|
7139
7554
|
* @see https://docs.warmhub.ai/sdk-reference/classes/allstreamoperationsfailederror/
|
|
7140
7555
|
*/
|
|
7141
7556
|
declare class AllStreamOperationsFailedError extends Error {
|
|
7142
|
-
|
|
7557
|
+
/**
|
|
7558
|
+
* Shared inner code when every failure agrees; aggregate code otherwise.
|
|
7559
|
+
* @see https://docs.warmhub.ai/sdk-reference/classes/allstreamoperationsfailederror/#code
|
|
7560
|
+
*/
|
|
7561
|
+
readonly code: string;
|
|
7143
7562
|
/**
|
|
7144
7563
|
* Every exact immutable receipt returned for the rejected submission.
|
|
7145
7564
|
* @see https://docs.warmhub.ai/sdk-reference/classes/allstreamoperationsfailederror/#receipts
|
|
@@ -8092,6 +8511,11 @@ type ShapeList = ShapeListResult;
|
|
|
8092
8511
|
type ShapeRemove = ShapeRemoveCompatibilityResult;
|
|
8093
8512
|
/** @internal */
|
|
8094
8513
|
type RenameResult = RenameCompatibilityResult;
|
|
8514
|
+
/**
|
|
8515
|
+
* Result of `client.thing.remove`: the removal's operation-event receipt.
|
|
8516
|
+
* @internal
|
|
8517
|
+
*/
|
|
8518
|
+
type RemoveResult = RemoveCompatibilityResult;
|
|
8095
8519
|
/** @internal */
|
|
8096
8520
|
type CommitApplyCompatibilityResult = CommitApplyCompatibilityResult$1;
|
|
8097
8521
|
/**
|
|
@@ -8477,6 +8901,8 @@ type ShapeListOptions = {
|
|
|
8477
8901
|
/** @internal */
|
|
8478
8902
|
type ShapeGetOptions = {
|
|
8479
8903
|
includeRetracted?: boolean;
|
|
8904
|
+
/** Return the frozen composed Shape versions and their fields. */
|
|
8905
|
+
includeComposition?: boolean;
|
|
8480
8906
|
};
|
|
8481
8907
|
/** @internal */
|
|
8482
8908
|
type ShapeCreateOptions = {
|
|
@@ -8515,6 +8941,16 @@ type ShapeRemoveOptions = {
|
|
|
8515
8941
|
type RenameOptions = {
|
|
8516
8942
|
eventRequestId: string;
|
|
8517
8943
|
};
|
|
8944
|
+
/**
|
|
8945
|
+
* Options for `client.thing.remove`.
|
|
8946
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/removeoptions/
|
|
8947
|
+
*/
|
|
8948
|
+
type RemoveOptions = {
|
|
8949
|
+
/** Caller-owned UUID retained across an ambiguous removal retry. */
|
|
8950
|
+
eventRequestId: string;
|
|
8951
|
+
/** The Thing's current version; a stale version fails the removal. */
|
|
8952
|
+
expectedVersion: number;
|
|
8953
|
+
};
|
|
8518
8954
|
/** @internal */
|
|
8519
8955
|
interface ShapeHistoryOptions {
|
|
8520
8956
|
includeRetracted?: boolean;
|
|
@@ -9643,6 +10079,9 @@ declare function isWarmHubError(error: unknown): error is WarmHubError;
|
|
|
9643
10079
|
* retry with backoff and surface the message if it persists.
|
|
9644
10080
|
* - `RATE_LIMITED` — caller exceeded the budget; retry after the
|
|
9645
10081
|
* {@link WarmHubError.retryAfter} interval.
|
|
10082
|
+
* A completed {@link AllStreamOperationsFailedError} returns `false` even
|
|
10083
|
+
* when its shared operation code is `RATE_LIMITED` — including after
|
|
10084
|
+
* {@link toWarmHubError}, and when a second SDK copy threw it.
|
|
9646
10085
|
*
|
|
9647
10086
|
* All other kinds — including backend pass-through domain codes such as
|
|
9648
10087
|
* `SHAPE_MISMATCH` or `WREF_UNRESOLVABLE` — return `false`. This is a
|
|
@@ -9984,7 +10423,7 @@ declare class WarmHubClient {
|
|
|
9984
10423
|
* The complete operation list is normalized and sent in one bounded,
|
|
9985
10424
|
* unbatched request. Semantic verdicts come only from the server.
|
|
9986
10425
|
*/
|
|
9987
|
-
validate: (orgName: string, repoName: string, operations:
|
|
10426
|
+
validate: (orgName: string, repoName: string, operations: CommitValidateOperation[], opts?: CommitValidateOptions) => Promise<CommitValidateResult>;
|
|
9988
10427
|
/**
|
|
9989
10428
|
* Submit one or more operations through WarmHub's commit pipeline.
|
|
9990
10429
|
*
|
|
@@ -11042,6 +11481,16 @@ declare class WarmHubClient {
|
|
|
11042
11481
|
* receipt replay after an ambiguous response.
|
|
11043
11482
|
*/
|
|
11044
11483
|
rename: (orgName: string, repoName: string, shapeName: string, oldName: string, newName: string, opts: RenameOptions) => Promise<RenameResult>;
|
|
11484
|
+
/**
|
|
11485
|
+
* Permanently remove a Thing and all its versions. Requires an
|
|
11486
|
+
* unrestricted `things:delete` grant.
|
|
11487
|
+
*
|
|
11488
|
+
* `wref` is a local wref (`Shape/name` or `Shape`) or a durable ID in this
|
|
11489
|
+
* repo; a retracted Thing is named by its durable ID. References to the
|
|
11490
|
+
* Thing survive as its durable ID. Retain `opts.eventRequestId` for an
|
|
11491
|
+
* exact receipt replay after an ambiguous response.
|
|
11492
|
+
*/
|
|
11493
|
+
remove: (orgName: string, repoName: string, wref: string, opts: RemoveOptions) => Promise<RemoveResult>;
|
|
11045
11494
|
/**
|
|
11046
11495
|
* Resolve a wref to its current projected record.
|
|
11047
11496
|
*/
|
|
@@ -11565,4 +12014,4 @@ declare class WarmHubClient {
|
|
|
11565
12014
|
private watchRepoQuery;
|
|
11566
12015
|
}
|
|
11567
12016
|
|
|
11568
|
-
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedItem, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type CollectionWriteType, type CommitApplyCompatibilityResult, type CommitDiagnostic, type CommitRealOperationResult, type CommitValidateInput, type CommitValidateOptions, type CommitValidateResult, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallOptions, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type DeclaredFieldEntry, type ErrorKind, type FieldIndexCarryingMarker, type FieldIndexCarryingShape, type FieldIndexConsistency, type FieldIndexPinResult, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type Grant, type GrantCreateOptions, type GrantListOptions, type GrantListResult, type GrantRecipientSelector, type GrantRevokeResult, type HeadResult, type HistoryResult, type HistoryVersion, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_COMMIT_VALIDATION_ENCODED_BYTES, MAX_COMMIT_VALIDATION_OPERATIONS, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, MAX_WREFS_PER_THING_VERSION, ORG_AUTH_SCOPES, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationEventReceipt, type OperationEventReceiptV1, type OperationSource, type OperationSubmitResult, type OrgAccessResult, type OrgAuthScope, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, REPO_AUTH_SCOPES, type ReaffirmOperation, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameOptions, type RenameResult, type RepoAccessResult, type RepoAuthScope, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreBrowseOptions, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoLicense, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RepositoryCheckpointAccess, type RepositoryCheckpointStatus, RepositoryExportError, type RepositoryExportErrorReason, type RepositoryExportExpectation, type RepositoryExportOptions, type RepositoryExportPreparation, type RepositoryExportPrepareOptions, type RepositoryExportRestoreOptions, type RepositoryExportRowMap, type RepositoryExportRows, type RepositoryExportSegmentOptions, RepositoryExportSession, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type ScopeAllowedShapes, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeRemoveOptions, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, StreamSubmissionAggregator, type StreamingSubmissionHandle, type StreamingSubmissionOptions, StreamingSubmissionOutcomeUnknownError, type StreamingSubmissionRetryIdentity, type StreamingSubmissionRow, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingChanges, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadChangesOptions, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type ThingQueryChangesOptions, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, type ViewEvaluateOptions, type ViewEvaluateResult, WarmHubClient, type WarmHubClientOptions, type WarmHubDecorations, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, applyRepositoryExportDelta, collectDurableTokens, commitValidateRequestBodyBytes, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, createCommitValidateInput, createOperationEventRequestId, createOperationEventSubmissionId, createRepositoryExportSession, encodeCommitValidateRequestBody, getResponseDecorations, isConnectionError, isDefiniteStreamAppendRejection, isKnownOrgAuthScope, isKnownRepoAuthScope, isRetryable, isWarmHubError, normalizeWref, operationEventStreamRequestId, readRepositoryExportStream, resolveFunctionLogMode, restoreRepositoryExportSession, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|
|
12017
|
+
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedItem, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type CollectionWriteType, type CommitApplyCompatibilityResult, type CommitDiagnostic, type CommitRealOperationResult, type CommitValidateInput, type CommitValidateOperation, type CommitValidateOptions, type CommitValidateResult, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallOptions, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type DeclaredFieldEntry, type ErrorKind, type FieldIndexCarryingMarker, type FieldIndexCarryingShape, type FieldIndexConsistency, type FieldIndexPinResult, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type Grant, type GrantCreateOptions, type GrantListOptions, type GrantListResult, type GrantRecipientSelector, type GrantRevokeResult, type HeadResult, type HistoryResult, type HistoryVersion, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_COMMIT_VALIDATION_ENCODED_BYTES, MAX_COMMIT_VALIDATION_OPERATIONS, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, MAX_WREFS_PER_THING_VERSION, ORG_AUTH_SCOPES, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationEventReceipt, type OperationEventReceiptV1, type OperationSource, type OperationSubmitResult, type OrgAccessResult, type OrgAuthScope, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, REPO_AUTH_SCOPES, type ReaffirmOperation, type RefLink, type RefsOptions, type RefsResult, type RemoveOperation, type RemoveOptions, type RemoveResult, type RenameOperation, type RenameOptions, type RenameResult, type RepoAccessResult, type RepoAuthScope, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreBrowseOptions, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoLicense, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RepositoryCheckpointAccess, type RepositoryCheckpointStatus, RepositoryExportError, type RepositoryExportErrorReason, type RepositoryExportExpectation, type RepositoryExportOptions, type RepositoryExportPreparation, type RepositoryExportPrepareOptions, type RepositoryExportRestoreOptions, type RepositoryExportRowMap, type RepositoryExportRows, type RepositoryExportSegmentOptions, RepositoryExportSession, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type ScopeAllowedShapes, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeRemoveOptions, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, StreamSubmissionAggregator, type StreamingSubmissionHandle, type StreamingSubmissionOptions, StreamingSubmissionOutcomeUnknownError, type StreamingSubmissionRetryIdentity, type StreamingSubmissionRow, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingChanges, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadChangesOptions, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type ThingQueryChangesOptions, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, type ViewEvaluateOptions, type ViewEvaluateResult, WarmHubClient, type WarmHubClientOptions, type WarmHubDecorations, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, applyRepositoryExportDelta, collectDurableTokens, commitValidateRequestBodyBytes, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, createCommitValidateInput, createOperationEventRequestId, createOperationEventSubmissionId, createRepositoryExportSession, encodeCommitValidateRequestBody, getResponseDecorations, isConnectionError, isDefiniteStreamAppendRejection, isKnownOrgAuthScope, isKnownRepoAuthScope, isRetryable, isWarmHubError, normalizeWref, operationEventStreamRequestId, readRepositoryExportStream, resolveFunctionLogMode, restoreRepositoryExportSession, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|