@substrat-run/contract-tests 0.117.0 → 0.119.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/dist/capability-attachment-suite.d.ts +3 -0
- package/dist/capability-attachment-suite.d.ts.map +1 -0
- package/dist/capability-attachment-suite.js +284 -0
- package/dist/capability-attachment-suite.js.map +1 -0
- package/dist/capability-expiry-suite.d.ts.map +1 -1
- package/dist/capability-expiry-suite.js +40 -1
- package/dist/capability-expiry-suite.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/job-run-suite.d.ts.map +1 -1
- package/dist/job-run-suite.js +250 -2
- package/dist/job-run-suite.js.map +1 -1
- package/dist/modules.d.ts +400 -0
- package/dist/modules.d.ts.map +1 -1
- package/dist/modules.js +94 -1
- package/dist/modules.js.map +1 -1
- package/dist/peer-suite.d.ts +8 -0
- package/dist/peer-suite.d.ts.map +1 -0
- package/dist/peer-suite.js +357 -0
- package/dist/peer-suite.js.map +1 -0
- package/dist/scope-host-suite.d.ts.map +1 -1
- package/dist/scope-host-suite.js +102 -15
- package/dist/scope-host-suite.js.map +1 -1
- package/dist/system-switch-suite.d.ts.map +1 -1
- package/dist/system-switch-suite.js +57 -1
- package/dist/system-switch-suite.js.map +1 -1
- package/dist/vertical-events-suite.d.ts +282 -0
- package/dist/vertical-events-suite.d.ts.map +1 -0
- package/dist/vertical-events-suite.js +584 -0
- package/dist/vertical-events-suite.js.map +1 -0
- package/package.json +3 -3
package/dist/modules.d.ts
CHANGED
|
@@ -25,7 +25,13 @@ export declare const testModManifest: {
|
|
|
25
25
|
consumes: {
|
|
26
26
|
type: string;
|
|
27
27
|
schemaVersion: number;
|
|
28
|
+
from?: string | undefined;
|
|
28
29
|
}[];
|
|
30
|
+
exports?: {
|
|
31
|
+
type: string;
|
|
32
|
+
schemaVersion: number;
|
|
33
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
34
|
+
}[] | undefined;
|
|
29
35
|
};
|
|
30
36
|
migrations: {
|
|
31
37
|
journalDir: string;
|
|
@@ -57,6 +63,11 @@ export declare const testModManifest: {
|
|
|
57
63
|
input?: Record<string, unknown> | undefined;
|
|
58
64
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
59
65
|
}[] | undefined;
|
|
66
|
+
peers?: {
|
|
67
|
+
vertical: string;
|
|
68
|
+
operations: string[];
|
|
69
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
70
|
+
}[] | undefined;
|
|
60
71
|
freshness?: {
|
|
61
72
|
eventType: string;
|
|
62
73
|
within: {
|
|
@@ -138,7 +149,13 @@ export declare const scheduleModManifest: {
|
|
|
138
149
|
consumes: {
|
|
139
150
|
type: string;
|
|
140
151
|
schemaVersion: number;
|
|
152
|
+
from?: string | undefined;
|
|
141
153
|
}[];
|
|
154
|
+
exports?: {
|
|
155
|
+
type: string;
|
|
156
|
+
schemaVersion: number;
|
|
157
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
158
|
+
}[] | undefined;
|
|
142
159
|
};
|
|
143
160
|
migrations: {
|
|
144
161
|
journalDir: string;
|
|
@@ -170,6 +187,11 @@ export declare const scheduleModManifest: {
|
|
|
170
187
|
input?: Record<string, unknown> | undefined;
|
|
171
188
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
172
189
|
}[] | undefined;
|
|
190
|
+
peers?: {
|
|
191
|
+
vertical: string;
|
|
192
|
+
operations: string[];
|
|
193
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
194
|
+
}[] | undefined;
|
|
173
195
|
freshness?: {
|
|
174
196
|
eventType: string;
|
|
175
197
|
within: {
|
|
@@ -257,7 +279,13 @@ export declare const freshnessModManifest: {
|
|
|
257
279
|
consumes: {
|
|
258
280
|
type: string;
|
|
259
281
|
schemaVersion: number;
|
|
282
|
+
from?: string | undefined;
|
|
260
283
|
}[];
|
|
284
|
+
exports?: {
|
|
285
|
+
type: string;
|
|
286
|
+
schemaVersion: number;
|
|
287
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
288
|
+
}[] | undefined;
|
|
261
289
|
};
|
|
262
290
|
migrations: {
|
|
263
291
|
journalDir: string;
|
|
@@ -289,6 +317,11 @@ export declare const freshnessModManifest: {
|
|
|
289
317
|
input?: Record<string, unknown> | undefined;
|
|
290
318
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
291
319
|
}[] | undefined;
|
|
320
|
+
peers?: {
|
|
321
|
+
vertical: string;
|
|
322
|
+
operations: string[];
|
|
323
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
324
|
+
}[] | undefined;
|
|
292
325
|
freshness?: {
|
|
293
326
|
eventType: string;
|
|
294
327
|
within: {
|
|
@@ -388,7 +421,13 @@ export declare const jobsModManifest: {
|
|
|
388
421
|
consumes: {
|
|
389
422
|
type: string;
|
|
390
423
|
schemaVersion: number;
|
|
424
|
+
from?: string | undefined;
|
|
391
425
|
}[];
|
|
426
|
+
exports?: {
|
|
427
|
+
type: string;
|
|
428
|
+
schemaVersion: number;
|
|
429
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
430
|
+
}[] | undefined;
|
|
392
431
|
};
|
|
393
432
|
migrations: {
|
|
394
433
|
journalDir: string;
|
|
@@ -420,6 +459,11 @@ export declare const jobsModManifest: {
|
|
|
420
459
|
input?: Record<string, unknown> | undefined;
|
|
421
460
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
422
461
|
}[] | undefined;
|
|
462
|
+
peers?: {
|
|
463
|
+
vertical: string;
|
|
464
|
+
operations: string[];
|
|
465
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
466
|
+
}[] | undefined;
|
|
423
467
|
freshness?: {
|
|
424
468
|
eventType: string;
|
|
425
469
|
within: {
|
|
@@ -502,7 +546,13 @@ export declare const flowModManifest: {
|
|
|
502
546
|
consumes: {
|
|
503
547
|
type: string;
|
|
504
548
|
schemaVersion: number;
|
|
549
|
+
from?: string | undefined;
|
|
505
550
|
}[];
|
|
551
|
+
exports?: {
|
|
552
|
+
type: string;
|
|
553
|
+
schemaVersion: number;
|
|
554
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
555
|
+
}[] | undefined;
|
|
506
556
|
};
|
|
507
557
|
migrations: {
|
|
508
558
|
journalDir: string;
|
|
@@ -534,6 +584,11 @@ export declare const flowModManifest: {
|
|
|
534
584
|
input?: Record<string, unknown> | undefined;
|
|
535
585
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
536
586
|
}[] | undefined;
|
|
587
|
+
peers?: {
|
|
588
|
+
vertical: string;
|
|
589
|
+
operations: string[];
|
|
590
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
591
|
+
}[] | undefined;
|
|
537
592
|
freshness?: {
|
|
538
593
|
eventType: string;
|
|
539
594
|
within: {
|
|
@@ -615,7 +670,13 @@ export declare const atomicModManifest: {
|
|
|
615
670
|
consumes: {
|
|
616
671
|
type: string;
|
|
617
672
|
schemaVersion: number;
|
|
673
|
+
from?: string | undefined;
|
|
618
674
|
}[];
|
|
675
|
+
exports?: {
|
|
676
|
+
type: string;
|
|
677
|
+
schemaVersion: number;
|
|
678
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
679
|
+
}[] | undefined;
|
|
619
680
|
};
|
|
620
681
|
migrations: {
|
|
621
682
|
journalDir: string;
|
|
@@ -647,6 +708,11 @@ export declare const atomicModManifest: {
|
|
|
647
708
|
input?: Record<string, unknown> | undefined;
|
|
648
709
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
649
710
|
}[] | undefined;
|
|
711
|
+
peers?: {
|
|
712
|
+
vertical: string;
|
|
713
|
+
operations: string[];
|
|
714
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
715
|
+
}[] | undefined;
|
|
650
716
|
freshness?: {
|
|
651
717
|
eventType: string;
|
|
652
718
|
within: {
|
|
@@ -728,7 +794,13 @@ export declare const lateModManifest: {
|
|
|
728
794
|
consumes: {
|
|
729
795
|
type: string;
|
|
730
796
|
schemaVersion: number;
|
|
797
|
+
from?: string | undefined;
|
|
731
798
|
}[];
|
|
799
|
+
exports?: {
|
|
800
|
+
type: string;
|
|
801
|
+
schemaVersion: number;
|
|
802
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
803
|
+
}[] | undefined;
|
|
732
804
|
};
|
|
733
805
|
migrations: {
|
|
734
806
|
journalDir: string;
|
|
@@ -760,6 +832,11 @@ export declare const lateModManifest: {
|
|
|
760
832
|
input?: Record<string, unknown> | undefined;
|
|
761
833
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
762
834
|
}[] | undefined;
|
|
835
|
+
peers?: {
|
|
836
|
+
vertical: string;
|
|
837
|
+
operations: string[];
|
|
838
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
839
|
+
}[] | undefined;
|
|
763
840
|
freshness?: {
|
|
764
841
|
eventType: string;
|
|
765
842
|
within: {
|
|
@@ -841,7 +918,13 @@ export declare const billedModManifest: {
|
|
|
841
918
|
consumes: {
|
|
842
919
|
type: string;
|
|
843
920
|
schemaVersion: number;
|
|
921
|
+
from?: string | undefined;
|
|
844
922
|
}[];
|
|
923
|
+
exports?: {
|
|
924
|
+
type: string;
|
|
925
|
+
schemaVersion: number;
|
|
926
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
927
|
+
}[] | undefined;
|
|
845
928
|
};
|
|
846
929
|
migrations: {
|
|
847
930
|
journalDir: string;
|
|
@@ -873,6 +956,11 @@ export declare const billedModManifest: {
|
|
|
873
956
|
input?: Record<string, unknown> | undefined;
|
|
874
957
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
875
958
|
}[] | undefined;
|
|
959
|
+
peers?: {
|
|
960
|
+
vertical: string;
|
|
961
|
+
operations: string[];
|
|
962
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
963
|
+
}[] | undefined;
|
|
876
964
|
freshness?: {
|
|
877
965
|
eventType: string;
|
|
878
966
|
within: {
|
|
@@ -954,7 +1042,13 @@ export declare const guardedModManifest: {
|
|
|
954
1042
|
consumes: {
|
|
955
1043
|
type: string;
|
|
956
1044
|
schemaVersion: number;
|
|
1045
|
+
from?: string | undefined;
|
|
957
1046
|
}[];
|
|
1047
|
+
exports?: {
|
|
1048
|
+
type: string;
|
|
1049
|
+
schemaVersion: number;
|
|
1050
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1051
|
+
}[] | undefined;
|
|
958
1052
|
};
|
|
959
1053
|
migrations: {
|
|
960
1054
|
journalDir: string;
|
|
@@ -986,6 +1080,11 @@ export declare const guardedModManifest: {
|
|
|
986
1080
|
input?: Record<string, unknown> | undefined;
|
|
987
1081
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
988
1082
|
}[] | undefined;
|
|
1083
|
+
peers?: {
|
|
1084
|
+
vertical: string;
|
|
1085
|
+
operations: string[];
|
|
1086
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1087
|
+
}[] | undefined;
|
|
989
1088
|
freshness?: {
|
|
990
1089
|
eventType: string;
|
|
991
1090
|
within: {
|
|
@@ -1067,7 +1166,13 @@ export declare const withdrawEarlyManifest: {
|
|
|
1067
1166
|
consumes: {
|
|
1068
1167
|
type: string;
|
|
1069
1168
|
schemaVersion: number;
|
|
1169
|
+
from?: string | undefined;
|
|
1070
1170
|
}[];
|
|
1171
|
+
exports?: {
|
|
1172
|
+
type: string;
|
|
1173
|
+
schemaVersion: number;
|
|
1174
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1175
|
+
}[] | undefined;
|
|
1071
1176
|
};
|
|
1072
1177
|
migrations: {
|
|
1073
1178
|
journalDir: string;
|
|
@@ -1099,6 +1204,11 @@ export declare const withdrawEarlyManifest: {
|
|
|
1099
1204
|
input?: Record<string, unknown> | undefined;
|
|
1100
1205
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1101
1206
|
}[] | undefined;
|
|
1207
|
+
peers?: {
|
|
1208
|
+
vertical: string;
|
|
1209
|
+
operations: string[];
|
|
1210
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1211
|
+
}[] | undefined;
|
|
1102
1212
|
freshness?: {
|
|
1103
1213
|
eventType: string;
|
|
1104
1214
|
within: {
|
|
@@ -1180,7 +1290,13 @@ export declare const victimModManifest: {
|
|
|
1180
1290
|
consumes: {
|
|
1181
1291
|
type: string;
|
|
1182
1292
|
schemaVersion: number;
|
|
1293
|
+
from?: string | undefined;
|
|
1183
1294
|
}[];
|
|
1295
|
+
exports?: {
|
|
1296
|
+
type: string;
|
|
1297
|
+
schemaVersion: number;
|
|
1298
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1299
|
+
}[] | undefined;
|
|
1184
1300
|
};
|
|
1185
1301
|
migrations: {
|
|
1186
1302
|
journalDir: string;
|
|
@@ -1212,6 +1328,11 @@ export declare const victimModManifest: {
|
|
|
1212
1328
|
input?: Record<string, unknown> | undefined;
|
|
1213
1329
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1214
1330
|
}[] | undefined;
|
|
1331
|
+
peers?: {
|
|
1332
|
+
vertical: string;
|
|
1333
|
+
operations: string[];
|
|
1334
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1335
|
+
}[] | undefined;
|
|
1215
1336
|
freshness?: {
|
|
1216
1337
|
eventType: string;
|
|
1217
1338
|
within: {
|
|
@@ -1293,7 +1414,13 @@ export declare const withdrawLateManifest: {
|
|
|
1293
1414
|
consumes: {
|
|
1294
1415
|
type: string;
|
|
1295
1416
|
schemaVersion: number;
|
|
1417
|
+
from?: string | undefined;
|
|
1296
1418
|
}[];
|
|
1419
|
+
exports?: {
|
|
1420
|
+
type: string;
|
|
1421
|
+
schemaVersion: number;
|
|
1422
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1423
|
+
}[] | undefined;
|
|
1297
1424
|
};
|
|
1298
1425
|
migrations: {
|
|
1299
1426
|
journalDir: string;
|
|
@@ -1325,6 +1452,11 @@ export declare const withdrawLateManifest: {
|
|
|
1325
1452
|
input?: Record<string, unknown> | undefined;
|
|
1326
1453
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1327
1454
|
}[] | undefined;
|
|
1455
|
+
peers?: {
|
|
1456
|
+
vertical: string;
|
|
1457
|
+
operations: string[];
|
|
1458
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1459
|
+
}[] | undefined;
|
|
1328
1460
|
freshness?: {
|
|
1329
1461
|
eventType: string;
|
|
1330
1462
|
within: {
|
|
@@ -1406,7 +1538,13 @@ export declare const gateModManifest: {
|
|
|
1406
1538
|
consumes: {
|
|
1407
1539
|
type: string;
|
|
1408
1540
|
schemaVersion: number;
|
|
1541
|
+
from?: string | undefined;
|
|
1409
1542
|
}[];
|
|
1543
|
+
exports?: {
|
|
1544
|
+
type: string;
|
|
1545
|
+
schemaVersion: number;
|
|
1546
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1547
|
+
}[] | undefined;
|
|
1410
1548
|
};
|
|
1411
1549
|
migrations: {
|
|
1412
1550
|
journalDir: string;
|
|
@@ -1438,6 +1576,11 @@ export declare const gateModManifest: {
|
|
|
1438
1576
|
input?: Record<string, unknown> | undefined;
|
|
1439
1577
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1440
1578
|
}[] | undefined;
|
|
1579
|
+
peers?: {
|
|
1580
|
+
vertical: string;
|
|
1581
|
+
operations: string[];
|
|
1582
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1583
|
+
}[] | undefined;
|
|
1441
1584
|
freshness?: {
|
|
1442
1585
|
eventType: string;
|
|
1443
1586
|
within: {
|
|
@@ -1528,7 +1671,13 @@ export declare const impersonationEchoManifest: {
|
|
|
1528
1671
|
consumes: {
|
|
1529
1672
|
type: string;
|
|
1530
1673
|
schemaVersion: number;
|
|
1674
|
+
from?: string | undefined;
|
|
1531
1675
|
}[];
|
|
1676
|
+
exports?: {
|
|
1677
|
+
type: string;
|
|
1678
|
+
schemaVersion: number;
|
|
1679
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1680
|
+
}[] | undefined;
|
|
1532
1681
|
};
|
|
1533
1682
|
migrations: {
|
|
1534
1683
|
journalDir: string;
|
|
@@ -1560,6 +1709,11 @@ export declare const impersonationEchoManifest: {
|
|
|
1560
1709
|
input?: Record<string, unknown> | undefined;
|
|
1561
1710
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1562
1711
|
}[] | undefined;
|
|
1712
|
+
peers?: {
|
|
1713
|
+
vertical: string;
|
|
1714
|
+
operations: string[];
|
|
1715
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1716
|
+
}[] | undefined;
|
|
1563
1717
|
freshness?: {
|
|
1564
1718
|
eventType: string;
|
|
1565
1719
|
within: {
|
|
@@ -1641,7 +1795,13 @@ export declare const permModManifest: {
|
|
|
1641
1795
|
consumes: {
|
|
1642
1796
|
type: string;
|
|
1643
1797
|
schemaVersion: number;
|
|
1798
|
+
from?: string | undefined;
|
|
1644
1799
|
}[];
|
|
1800
|
+
exports?: {
|
|
1801
|
+
type: string;
|
|
1802
|
+
schemaVersion: number;
|
|
1803
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1804
|
+
}[] | undefined;
|
|
1645
1805
|
};
|
|
1646
1806
|
migrations: {
|
|
1647
1807
|
journalDir: string;
|
|
@@ -1673,6 +1833,11 @@ export declare const permModManifest: {
|
|
|
1673
1833
|
input?: Record<string, unknown> | undefined;
|
|
1674
1834
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1675
1835
|
}[] | undefined;
|
|
1836
|
+
peers?: {
|
|
1837
|
+
vertical: string;
|
|
1838
|
+
operations: string[];
|
|
1839
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1840
|
+
}[] | undefined;
|
|
1676
1841
|
freshness?: {
|
|
1677
1842
|
eventType: string;
|
|
1678
1843
|
within: {
|
|
@@ -1768,7 +1933,13 @@ export declare const connectorModManifest: {
|
|
|
1768
1933
|
consumes: {
|
|
1769
1934
|
type: string;
|
|
1770
1935
|
schemaVersion: number;
|
|
1936
|
+
from?: string | undefined;
|
|
1771
1937
|
}[];
|
|
1938
|
+
exports?: {
|
|
1939
|
+
type: string;
|
|
1940
|
+
schemaVersion: number;
|
|
1941
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
1942
|
+
}[] | undefined;
|
|
1772
1943
|
};
|
|
1773
1944
|
migrations: {
|
|
1774
1945
|
journalDir: string;
|
|
@@ -1800,6 +1971,11 @@ export declare const connectorModManifest: {
|
|
|
1800
1971
|
input?: Record<string, unknown> | undefined;
|
|
1801
1972
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1802
1973
|
}[] | undefined;
|
|
1974
|
+
peers?: {
|
|
1975
|
+
vertical: string;
|
|
1976
|
+
operations: string[];
|
|
1977
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1978
|
+
}[] | undefined;
|
|
1803
1979
|
freshness?: {
|
|
1804
1980
|
eventType: string;
|
|
1805
1981
|
within: {
|
|
@@ -1912,7 +2088,13 @@ export declare const listModManifest: {
|
|
|
1912
2088
|
consumes: {
|
|
1913
2089
|
type: string;
|
|
1914
2090
|
schemaVersion: number;
|
|
2091
|
+
from?: string | undefined;
|
|
1915
2092
|
}[];
|
|
2093
|
+
exports?: {
|
|
2094
|
+
type: string;
|
|
2095
|
+
schemaVersion: number;
|
|
2096
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2097
|
+
}[] | undefined;
|
|
1916
2098
|
};
|
|
1917
2099
|
migrations: {
|
|
1918
2100
|
journalDir: string;
|
|
@@ -1944,6 +2126,11 @@ export declare const listModManifest: {
|
|
|
1944
2126
|
input?: Record<string, unknown> | undefined;
|
|
1945
2127
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
1946
2128
|
}[] | undefined;
|
|
2129
|
+
peers?: {
|
|
2130
|
+
vertical: string;
|
|
2131
|
+
operations: string[];
|
|
2132
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2133
|
+
}[] | undefined;
|
|
1947
2134
|
freshness?: {
|
|
1948
2135
|
eventType: string;
|
|
1949
2136
|
within: {
|
|
@@ -2026,7 +2213,13 @@ export declare const searchModManifest: {
|
|
|
2026
2213
|
consumes: {
|
|
2027
2214
|
type: string;
|
|
2028
2215
|
schemaVersion: number;
|
|
2216
|
+
from?: string | undefined;
|
|
2029
2217
|
}[];
|
|
2218
|
+
exports?: {
|
|
2219
|
+
type: string;
|
|
2220
|
+
schemaVersion: number;
|
|
2221
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2222
|
+
}[] | undefined;
|
|
2030
2223
|
};
|
|
2031
2224
|
migrations: {
|
|
2032
2225
|
journalDir: string;
|
|
@@ -2058,6 +2251,11 @@ export declare const searchModManifest: {
|
|
|
2058
2251
|
input?: Record<string, unknown> | undefined;
|
|
2059
2252
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2060
2253
|
}[] | undefined;
|
|
2254
|
+
peers?: {
|
|
2255
|
+
vertical: string;
|
|
2256
|
+
operations: string[];
|
|
2257
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2258
|
+
}[] | undefined;
|
|
2061
2259
|
freshness?: {
|
|
2062
2260
|
eventType: string;
|
|
2063
2261
|
within: {
|
|
@@ -2140,7 +2338,13 @@ export declare const parseModManifest: {
|
|
|
2140
2338
|
consumes: {
|
|
2141
2339
|
type: string;
|
|
2142
2340
|
schemaVersion: number;
|
|
2341
|
+
from?: string | undefined;
|
|
2143
2342
|
}[];
|
|
2343
|
+
exports?: {
|
|
2344
|
+
type: string;
|
|
2345
|
+
schemaVersion: number;
|
|
2346
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2347
|
+
}[] | undefined;
|
|
2144
2348
|
};
|
|
2145
2349
|
migrations: {
|
|
2146
2350
|
journalDir: string;
|
|
@@ -2172,6 +2376,11 @@ export declare const parseModManifest: {
|
|
|
2172
2376
|
input?: Record<string, unknown> | undefined;
|
|
2173
2377
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2174
2378
|
}[] | undefined;
|
|
2379
|
+
peers?: {
|
|
2380
|
+
vertical: string;
|
|
2381
|
+
operations: string[];
|
|
2382
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2383
|
+
}[] | undefined;
|
|
2175
2384
|
freshness?: {
|
|
2176
2385
|
eventType: string;
|
|
2177
2386
|
within: {
|
|
@@ -2254,7 +2463,13 @@ export declare const concurrencyModManifest: {
|
|
|
2254
2463
|
consumes: {
|
|
2255
2464
|
type: string;
|
|
2256
2465
|
schemaVersion: number;
|
|
2466
|
+
from?: string | undefined;
|
|
2257
2467
|
}[];
|
|
2468
|
+
exports?: {
|
|
2469
|
+
type: string;
|
|
2470
|
+
schemaVersion: number;
|
|
2471
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2472
|
+
}[] | undefined;
|
|
2258
2473
|
};
|
|
2259
2474
|
migrations: {
|
|
2260
2475
|
journalDir: string;
|
|
@@ -2286,6 +2501,11 @@ export declare const concurrencyModManifest: {
|
|
|
2286
2501
|
input?: Record<string, unknown> | undefined;
|
|
2287
2502
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2288
2503
|
}[] | undefined;
|
|
2504
|
+
peers?: {
|
|
2505
|
+
vertical: string;
|
|
2506
|
+
operations: string[];
|
|
2507
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2508
|
+
}[] | undefined;
|
|
2289
2509
|
freshness?: {
|
|
2290
2510
|
eventType: string;
|
|
2291
2511
|
within: {
|
|
@@ -2368,7 +2588,13 @@ export declare const idempotencyModManifest: {
|
|
|
2368
2588
|
consumes: {
|
|
2369
2589
|
type: string;
|
|
2370
2590
|
schemaVersion: number;
|
|
2591
|
+
from?: string | undefined;
|
|
2371
2592
|
}[];
|
|
2593
|
+
exports?: {
|
|
2594
|
+
type: string;
|
|
2595
|
+
schemaVersion: number;
|
|
2596
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2597
|
+
}[] | undefined;
|
|
2372
2598
|
};
|
|
2373
2599
|
migrations: {
|
|
2374
2600
|
journalDir: string;
|
|
@@ -2400,6 +2626,11 @@ export declare const idempotencyModManifest: {
|
|
|
2400
2626
|
input?: Record<string, unknown> | undefined;
|
|
2401
2627
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2402
2628
|
}[] | undefined;
|
|
2629
|
+
peers?: {
|
|
2630
|
+
vertical: string;
|
|
2631
|
+
operations: string[];
|
|
2632
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2633
|
+
}[] | undefined;
|
|
2403
2634
|
freshness?: {
|
|
2404
2635
|
eventType: string;
|
|
2405
2636
|
within: {
|
|
@@ -2492,7 +2723,13 @@ export declare const capModManifest: {
|
|
|
2492
2723
|
consumes: {
|
|
2493
2724
|
type: string;
|
|
2494
2725
|
schemaVersion: number;
|
|
2726
|
+
from?: string | undefined;
|
|
2495
2727
|
}[];
|
|
2728
|
+
exports?: {
|
|
2729
|
+
type: string;
|
|
2730
|
+
schemaVersion: number;
|
|
2731
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2732
|
+
}[] | undefined;
|
|
2496
2733
|
};
|
|
2497
2734
|
migrations: {
|
|
2498
2735
|
journalDir: string;
|
|
@@ -2524,6 +2761,11 @@ export declare const capModManifest: {
|
|
|
2524
2761
|
input?: Record<string, unknown> | undefined;
|
|
2525
2762
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2526
2763
|
}[] | undefined;
|
|
2764
|
+
peers?: {
|
|
2765
|
+
vertical: string;
|
|
2766
|
+
operations: string[];
|
|
2767
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2768
|
+
}[] | undefined;
|
|
2527
2769
|
freshness?: {
|
|
2528
2770
|
eventType: string;
|
|
2529
2771
|
within: {
|
|
@@ -2592,6 +2834,142 @@ export declare const capModManifest: {
|
|
|
2592
2834
|
/** Every channel through which a module could persist its own minted secret by accident. */
|
|
2593
2835
|
export declare const CAP_LEAK_CHANNELS: readonly ['emit', 'key', 'entity', 'kind', 'intent', 'sql', 'bytes'];
|
|
2594
2836
|
export declare const capMod: ModuleRegistration;
|
|
2837
|
+
/**
|
|
2838
|
+
* The TARGET of a peer call: a vertical that declares two other verticals of the same tenant as
|
|
2839
|
+
* peers — one that may call four of its operations holding `peer:read` + `peer:write`, and one
|
|
2840
|
+
* RECEIVE-ONLY peer (`operations: []`) that holds `peer:read` and may call nothing. `peer:admin`
|
|
2841
|
+
* is declared and granted to no peer, so an allowlisted operation that checks it is a K-35
|
|
2842
|
+
* denial against `{ vertical, scope }`, not a door refusal. `peer/off-list` is registered and on
|
|
2843
|
+
* no allowlist. Inert for every other suite: nothing else reads `peer_notes` or names a `peer/*`
|
|
2844
|
+
* operation — though every scope provisioned with it registered holds the peers' seats.
|
|
2845
|
+
*/
|
|
2846
|
+
export declare const PEER_CALLER = "acme/board-room";
|
|
2847
|
+
export declare const PEER_LISTENER = "acme/listener";
|
|
2848
|
+
export declare const peerModManifest: {
|
|
2849
|
+
id: string & z.$brand<"ModuleId">;
|
|
2850
|
+
version: string;
|
|
2851
|
+
kernelContract: string;
|
|
2852
|
+
permissions: {
|
|
2853
|
+
key: string & z.$brand<"PermissionKey">;
|
|
2854
|
+
description: string;
|
|
2855
|
+
}[];
|
|
2856
|
+
events: {
|
|
2857
|
+
emits: {
|
|
2858
|
+
type: string;
|
|
2859
|
+
schemaVersion: number;
|
|
2860
|
+
}[];
|
|
2861
|
+
consumes: {
|
|
2862
|
+
type: string;
|
|
2863
|
+
schemaVersion: number;
|
|
2864
|
+
from?: string | undefined;
|
|
2865
|
+
}[];
|
|
2866
|
+
exports?: {
|
|
2867
|
+
type: string;
|
|
2868
|
+
schemaVersion: number;
|
|
2869
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2870
|
+
}[] | undefined;
|
|
2871
|
+
};
|
|
2872
|
+
migrations: {
|
|
2873
|
+
journalDir: string;
|
|
2874
|
+
compatibleFrom: string;
|
|
2875
|
+
};
|
|
2876
|
+
attachmentTargets: {
|
|
2877
|
+
entityType: string;
|
|
2878
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2879
|
+
writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
|
|
2880
|
+
}[];
|
|
2881
|
+
liveTargets?: {
|
|
2882
|
+
entityType: string;
|
|
2883
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
2884
|
+
}[] | undefined;
|
|
2885
|
+
entityRelations?: {
|
|
2886
|
+
entityType: string;
|
|
2887
|
+
parentType: string;
|
|
2888
|
+
}[] | undefined;
|
|
2889
|
+
guards?: {
|
|
2890
|
+
before: string;
|
|
2891
|
+
predicate: string;
|
|
2892
|
+
config: Record<string, unknown>;
|
|
2893
|
+
}[] | undefined;
|
|
2894
|
+
schedules?: {
|
|
2895
|
+
operation: string;
|
|
2896
|
+
cadence: {
|
|
2897
|
+
everyMinutes: number;
|
|
2898
|
+
};
|
|
2899
|
+
input?: Record<string, unknown> | undefined;
|
|
2900
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2901
|
+
}[] | undefined;
|
|
2902
|
+
peers?: {
|
|
2903
|
+
vertical: string;
|
|
2904
|
+
operations: string[];
|
|
2905
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2906
|
+
}[] | undefined;
|
|
2907
|
+
freshness?: {
|
|
2908
|
+
eventType: string;
|
|
2909
|
+
within: {
|
|
2910
|
+
hours: number;
|
|
2911
|
+
};
|
|
2912
|
+
}[] | undefined;
|
|
2913
|
+
withdraws?: string[] | undefined;
|
|
2914
|
+
entitlementKey: string;
|
|
2915
|
+
envSpec?: {
|
|
2916
|
+
key: string;
|
|
2917
|
+
label?: string | undefined;
|
|
2918
|
+
description: string;
|
|
2919
|
+
placeholder?: string | undefined;
|
|
2920
|
+
required: boolean;
|
|
2921
|
+
secret: boolean;
|
|
2922
|
+
default?: string | undefined;
|
|
2923
|
+
group?: string | undefined;
|
|
2924
|
+
}[] | undefined;
|
|
2925
|
+
ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
|
|
2926
|
+
entitlements?: string[] | undefined;
|
|
2927
|
+
provides?: string[] | undefined;
|
|
2928
|
+
requires?: string[] | undefined;
|
|
2929
|
+
api?: string | undefined;
|
|
2930
|
+
searchables?: {
|
|
2931
|
+
entityType: string;
|
|
2932
|
+
fields: string[];
|
|
2933
|
+
table?: string | undefined;
|
|
2934
|
+
idColumn?: string | undefined;
|
|
2935
|
+
tokenizer?: "prefix" | "substring" | undefined;
|
|
2936
|
+
}[] | undefined;
|
|
2937
|
+
lists?: {
|
|
2938
|
+
entityType: string;
|
|
2939
|
+
sortable: string[];
|
|
2940
|
+
filterable?: string[] | undefined;
|
|
2941
|
+
table?: string | undefined;
|
|
2942
|
+
idColumn?: string | undefined;
|
|
2943
|
+
}[] | undefined;
|
|
2944
|
+
ui?: {
|
|
2945
|
+
routes?: {
|
|
2946
|
+
path: string;
|
|
2947
|
+
screen: string;
|
|
2948
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
2949
|
+
}[] | undefined;
|
|
2950
|
+
nav?: {
|
|
2951
|
+
label: string;
|
|
2952
|
+
icon?: string | undefined;
|
|
2953
|
+
to: string;
|
|
2954
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
2955
|
+
}[] | undefined;
|
|
2956
|
+
entityViews?: {
|
|
2957
|
+
entityType: string;
|
|
2958
|
+
view: string;
|
|
2959
|
+
}[] | undefined;
|
|
2960
|
+
widgets?: {
|
|
2961
|
+
slot: string;
|
|
2962
|
+
component: string;
|
|
2963
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
2964
|
+
}[] | undefined;
|
|
2965
|
+
settingsPanels?: {
|
|
2966
|
+
label: string;
|
|
2967
|
+
component: string;
|
|
2968
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
2969
|
+
}[] | undefined;
|
|
2970
|
+
} | undefined;
|
|
2971
|
+
};
|
|
2972
|
+
export declare const peerMod: ModuleRegistration;
|
|
2595
2973
|
export declare const contractTestModules: ModuleRegistration[];
|
|
2596
2974
|
/**
|
|
2597
2975
|
* A module for the live-read fan-out, with two entity types that differ in exactly
|
|
@@ -2623,7 +3001,13 @@ export declare const liveModManifest: {
|
|
|
2623
3001
|
consumes: {
|
|
2624
3002
|
type: string;
|
|
2625
3003
|
schemaVersion: number;
|
|
3004
|
+
from?: string | undefined;
|
|
2626
3005
|
}[];
|
|
3006
|
+
exports?: {
|
|
3007
|
+
type: string;
|
|
3008
|
+
schemaVersion: number;
|
|
3009
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
3010
|
+
}[] | undefined;
|
|
2627
3011
|
};
|
|
2628
3012
|
migrations: {
|
|
2629
3013
|
journalDir: string;
|
|
@@ -2655,6 +3039,11 @@ export declare const liveModManifest: {
|
|
|
2655
3039
|
input?: Record<string, unknown> | undefined;
|
|
2656
3040
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2657
3041
|
}[] | undefined;
|
|
3042
|
+
peers?: {
|
|
3043
|
+
vertical: string;
|
|
3044
|
+
operations: string[];
|
|
3045
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
3046
|
+
}[] | undefined;
|
|
2658
3047
|
freshness?: {
|
|
2659
3048
|
eventType: string;
|
|
2660
3049
|
within: {
|
|
@@ -2737,7 +3126,13 @@ export declare const brokenModManifest: {
|
|
|
2737
3126
|
consumes: {
|
|
2738
3127
|
type: string;
|
|
2739
3128
|
schemaVersion: number;
|
|
3129
|
+
from?: string | undefined;
|
|
2740
3130
|
}[];
|
|
3131
|
+
exports?: {
|
|
3132
|
+
type: string;
|
|
3133
|
+
schemaVersion: number;
|
|
3134
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
3135
|
+
}[] | undefined;
|
|
2741
3136
|
};
|
|
2742
3137
|
migrations: {
|
|
2743
3138
|
journalDir: string;
|
|
@@ -2769,6 +3164,11 @@ export declare const brokenModManifest: {
|
|
|
2769
3164
|
input?: Record<string, unknown> | undefined;
|
|
2770
3165
|
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
2771
3166
|
}[] | undefined;
|
|
3167
|
+
peers?: {
|
|
3168
|
+
vertical: string;
|
|
3169
|
+
operations: string[];
|
|
3170
|
+
permissions: (string & z.$brand<"PermissionKey">)[];
|
|
3171
|
+
}[] | undefined;
|
|
2772
3172
|
freshness?: {
|
|
2773
3173
|
eventType: string;
|
|
2774
3174
|
within: {
|