@substrat-run/contract-tests 0.138.0 → 0.140.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.
Files changed (113) hide show
  1. package/dist/attachment-text-fixtures.d.ts +17 -0
  2. package/dist/attachment-text-fixtures.d.ts.map +1 -1
  3. package/dist/attachment-text-fixtures.js +344 -4
  4. package/dist/attachment-text-fixtures.js.map +1 -1
  5. package/dist/attachment-text-suite.d.ts +16 -1
  6. package/dist/attachment-text-suite.d.ts.map +1 -1
  7. package/dist/attachment-text-suite.js +212 -28
  8. package/dist/attachment-text-suite.js.map +1 -1
  9. package/dist/capability-suite.d.ts.map +1 -1
  10. package/dist/capability-suite.js +5 -0
  11. package/dist/capability-suite.js.map +1 -1
  12. package/dist/caused-by-module.d.ts +23 -0
  13. package/dist/caused-by-module.d.ts.map +1 -0
  14. package/dist/caused-by-module.js +56 -0
  15. package/dist/caused-by-module.js.map +1 -0
  16. package/dist/caused-by-suite.d.ts +28 -0
  17. package/dist/caused-by-suite.d.ts.map +1 -0
  18. package/dist/caused-by-suite.js +223 -0
  19. package/dist/caused-by-suite.js.map +1 -0
  20. package/dist/connect-link-suite.d.ts +19 -0
  21. package/dist/connect-link-suite.d.ts.map +1 -0
  22. package/dist/connect-link-suite.js +215 -0
  23. package/dist/connect-link-suite.js.map +1 -0
  24. package/dist/entity-state-migration-suite.d.ts +16 -0
  25. package/dist/entity-state-migration-suite.d.ts.map +1 -0
  26. package/dist/entity-state-migration-suite.js +305 -0
  27. package/dist/entity-state-migration-suite.js.map +1 -0
  28. package/dist/entity-state-module.d.ts +317 -0
  29. package/dist/entity-state-module.d.ts.map +1 -0
  30. package/dist/entity-state-module.js +278 -0
  31. package/dist/entity-state-module.js.map +1 -0
  32. package/dist/entity-state-suite.d.ts +9 -0
  33. package/dist/entity-state-suite.d.ts.map +1 -0
  34. package/dist/entity-state-suite.js +557 -0
  35. package/dist/entity-state-suite.js.map +1 -0
  36. package/dist/entity-trash-module.d.ts +439 -0
  37. package/dist/entity-trash-module.d.ts.map +1 -0
  38. package/dist/entity-trash-module.js +287 -0
  39. package/dist/entity-trash-module.js.map +1 -0
  40. package/dist/entity-trash-suite.d.ts +59 -0
  41. package/dist/entity-trash-suite.d.ts.map +1 -0
  42. package/dist/entity-trash-suite.js +568 -0
  43. package/dist/entity-trash-suite.js.map +1 -0
  44. package/dist/erasure-module.d.ts +259 -0
  45. package/dist/erasure-module.d.ts.map +1 -0
  46. package/dist/erasure-module.js +251 -0
  47. package/dist/erasure-module.js.map +1 -0
  48. package/dist/findings-atomic-suite.d.ts +21 -0
  49. package/dist/findings-atomic-suite.d.ts.map +1 -0
  50. package/dist/findings-atomic-suite.js +131 -0
  51. package/dist/findings-atomic-suite.js.map +1 -0
  52. package/dist/findings-suite.d.ts +11 -0
  53. package/dist/findings-suite.d.ts.map +1 -0
  54. package/dist/findings-suite.js +391 -0
  55. package/dist/findings-suite.js.map +1 -0
  56. package/dist/index.d.ts +22 -3
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +20 -2
  59. package/dist/index.js.map +1 -1
  60. package/dist/list-suite.d.ts.map +1 -1
  61. package/dist/list-suite.js +101 -1
  62. package/dist/list-suite.js.map +1 -1
  63. package/dist/membership-executor-suite.d.ts +6 -2
  64. package/dist/membership-executor-suite.d.ts.map +1 -1
  65. package/dist/membership-executor-suite.js +318 -21
  66. package/dist/membership-executor-suite.js.map +1 -1
  67. package/dist/migration-comments-suite.d.ts +3 -0
  68. package/dist/migration-comments-suite.d.ts.map +1 -0
  69. package/dist/migration-comments-suite.js +92 -0
  70. package/dist/migration-comments-suite.js.map +1 -0
  71. package/dist/migration-comments.d.ts +3 -0
  72. package/dist/migration-comments.d.ts.map +1 -0
  73. package/dist/migration-comments.js +50 -0
  74. package/dist/migration-comments.js.map +1 -0
  75. package/dist/migration-digest-suite.d.ts +3 -0
  76. package/dist/migration-digest-suite.d.ts.map +1 -0
  77. package/dist/migration-digest-suite.js +175 -0
  78. package/dist/migration-digest-suite.js.map +1 -0
  79. package/dist/modules.d.ts +759 -0
  80. package/dist/modules.d.ts.map +1 -1
  81. package/dist/modules.js +158 -6
  82. package/dist/modules.js.map +1 -1
  83. package/dist/peer-suite.d.ts +2 -1
  84. package/dist/peer-suite.d.ts.map +1 -1
  85. package/dist/peer-suite.js +103 -1
  86. package/dist/peer-suite.js.map +1 -1
  87. package/dist/permission-suite.d.ts.map +1 -1
  88. package/dist/permission-suite.js +590 -2
  89. package/dist/permission-suite.js.map +1 -1
  90. package/dist/scope-host-suite.d.ts.map +1 -1
  91. package/dist/scope-host-suite.js +102 -1
  92. package/dist/scope-host-suite.js.map +1 -1
  93. package/dist/split-cases.d.ts +12 -0
  94. package/dist/split-cases.d.ts.map +1 -0
  95. package/dist/split-cases.js +59 -0
  96. package/dist/split-cases.js.map +1 -0
  97. package/dist/subject-erasure-suite.d.ts +6 -0
  98. package/dist/subject-erasure-suite.d.ts.map +1 -0
  99. package/dist/subject-erasure-suite.js +287 -0
  100. package/dist/subject-erasure-suite.js.map +1 -0
  101. package/dist/switch-audit-fault.d.ts +48 -0
  102. package/dist/switch-audit-fault.d.ts.map +1 -0
  103. package/dist/switch-audit-fault.js +80 -0
  104. package/dist/switch-audit-fault.js.map +1 -0
  105. package/dist/system-switch-suite.d.ts +2 -1
  106. package/dist/system-switch-suite.d.ts.map +1 -1
  107. package/dist/system-switch-suite.js +90 -0
  108. package/dist/system-switch-suite.js.map +1 -1
  109. package/dist/vertical-events-suite.d.ts +55 -0
  110. package/dist/vertical-events-suite.d.ts.map +1 -1
  111. package/dist/vertical-events-suite.js +55 -0
  112. package/dist/vertical-events-suite.js.map +1 -1
  113. package/package.json +3 -3
package/dist/modules.d.ts CHANGED
@@ -92,6 +92,9 @@ export declare const testModManifest: {
92
92
  };
93
93
  input?: Record<string, unknown> | undefined;
94
94
  permissions: (string & z.$brand<"PermissionKey">)[];
95
+ purge?: {
96
+ entityType: string;
97
+ } | undefined;
95
98
  }[] | undefined;
96
99
  peers?: {
97
100
  vertical: string;
@@ -135,6 +138,27 @@ export declare const testModManifest: {
135
138
  table?: string | undefined;
136
139
  idColumn?: string | undefined;
137
140
  }[] | undefined;
141
+ entityStates?: {
142
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
143
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
144
+ purgeAfterDays?: number | undefined;
145
+ table?: string | undefined;
146
+ idColumn?: string | undefined;
147
+ entityType: string;
148
+ }[] | undefined;
149
+ erasure?: {
150
+ tables: string[];
151
+ entities: {
152
+ entityType: string;
153
+ table: string;
154
+ mode: "blank" | "custom" | "delete" | "unreached";
155
+ subjects?: string[] | undefined;
156
+ fields: {
157
+ name: string;
158
+ blank: "" | null;
159
+ }[];
160
+ }[];
161
+ } | undefined;
138
162
  ui?: {
139
163
  routes?: {
140
164
  path: string;
@@ -216,6 +240,9 @@ export declare const scheduleModManifest: {
216
240
  };
217
241
  input?: Record<string, unknown> | undefined;
218
242
  permissions: (string & z.$brand<"PermissionKey">)[];
243
+ purge?: {
244
+ entityType: string;
245
+ } | undefined;
219
246
  }[] | undefined;
220
247
  peers?: {
221
248
  vertical: string;
@@ -259,6 +286,27 @@ export declare const scheduleModManifest: {
259
286
  table?: string | undefined;
260
287
  idColumn?: string | undefined;
261
288
  }[] | undefined;
289
+ entityStates?: {
290
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
291
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
292
+ purgeAfterDays?: number | undefined;
293
+ table?: string | undefined;
294
+ idColumn?: string | undefined;
295
+ entityType: string;
296
+ }[] | undefined;
297
+ erasure?: {
298
+ tables: string[];
299
+ entities: {
300
+ entityType: string;
301
+ table: string;
302
+ mode: "blank" | "custom" | "delete" | "unreached";
303
+ subjects?: string[] | undefined;
304
+ fields: {
305
+ name: string;
306
+ blank: "" | null;
307
+ }[];
308
+ }[];
309
+ } | undefined;
262
310
  ui?: {
263
311
  routes?: {
264
312
  path: string;
@@ -346,6 +394,9 @@ export declare const freshnessModManifest: {
346
394
  };
347
395
  input?: Record<string, unknown> | undefined;
348
396
  permissions: (string & z.$brand<"PermissionKey">)[];
397
+ purge?: {
398
+ entityType: string;
399
+ } | undefined;
349
400
  }[] | undefined;
350
401
  peers?: {
351
402
  vertical: string;
@@ -389,6 +440,27 @@ export declare const freshnessModManifest: {
389
440
  table?: string | undefined;
390
441
  idColumn?: string | undefined;
391
442
  }[] | undefined;
443
+ entityStates?: {
444
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
445
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
446
+ purgeAfterDays?: number | undefined;
447
+ table?: string | undefined;
448
+ idColumn?: string | undefined;
449
+ entityType: string;
450
+ }[] | undefined;
451
+ erasure?: {
452
+ tables: string[];
453
+ entities: {
454
+ entityType: string;
455
+ table: string;
456
+ mode: "blank" | "custom" | "delete" | "unreached";
457
+ subjects?: string[] | undefined;
458
+ fields: {
459
+ name: string;
460
+ blank: "" | null;
461
+ }[];
462
+ }[];
463
+ } | undefined;
392
464
  ui?: {
393
465
  routes?: {
394
466
  path: string;
@@ -488,6 +560,9 @@ export declare const jobsModManifest: {
488
560
  };
489
561
  input?: Record<string, unknown> | undefined;
490
562
  permissions: (string & z.$brand<"PermissionKey">)[];
563
+ purge?: {
564
+ entityType: string;
565
+ } | undefined;
491
566
  }[] | undefined;
492
567
  peers?: {
493
568
  vertical: string;
@@ -531,6 +606,27 @@ export declare const jobsModManifest: {
531
606
  table?: string | undefined;
532
607
  idColumn?: string | undefined;
533
608
  }[] | undefined;
609
+ entityStates?: {
610
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
611
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
612
+ purgeAfterDays?: number | undefined;
613
+ table?: string | undefined;
614
+ idColumn?: string | undefined;
615
+ entityType: string;
616
+ }[] | undefined;
617
+ erasure?: {
618
+ tables: string[];
619
+ entities: {
620
+ entityType: string;
621
+ table: string;
622
+ mode: "blank" | "custom" | "delete" | "unreached";
623
+ subjects?: string[] | undefined;
624
+ fields: {
625
+ name: string;
626
+ blank: "" | null;
627
+ }[];
628
+ }[];
629
+ } | undefined;
534
630
  ui?: {
535
631
  routes?: {
536
632
  path: string;
@@ -613,6 +709,9 @@ export declare const flowModManifest: {
613
709
  };
614
710
  input?: Record<string, unknown> | undefined;
615
711
  permissions: (string & z.$brand<"PermissionKey">)[];
712
+ purge?: {
713
+ entityType: string;
714
+ } | undefined;
616
715
  }[] | undefined;
617
716
  peers?: {
618
717
  vertical: string;
@@ -656,6 +755,27 @@ export declare const flowModManifest: {
656
755
  table?: string | undefined;
657
756
  idColumn?: string | undefined;
658
757
  }[] | undefined;
758
+ entityStates?: {
759
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
760
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
761
+ purgeAfterDays?: number | undefined;
762
+ table?: string | undefined;
763
+ idColumn?: string | undefined;
764
+ entityType: string;
765
+ }[] | undefined;
766
+ erasure?: {
767
+ tables: string[];
768
+ entities: {
769
+ entityType: string;
770
+ table: string;
771
+ mode: "blank" | "custom" | "delete" | "unreached";
772
+ subjects?: string[] | undefined;
773
+ fields: {
774
+ name: string;
775
+ blank: "" | null;
776
+ }[];
777
+ }[];
778
+ } | undefined;
659
779
  ui?: {
660
780
  routes?: {
661
781
  path: string;
@@ -737,6 +857,9 @@ export declare const atomicModManifest: {
737
857
  };
738
858
  input?: Record<string, unknown> | undefined;
739
859
  permissions: (string & z.$brand<"PermissionKey">)[];
860
+ purge?: {
861
+ entityType: string;
862
+ } | undefined;
740
863
  }[] | undefined;
741
864
  peers?: {
742
865
  vertical: string;
@@ -780,6 +903,27 @@ export declare const atomicModManifest: {
780
903
  table?: string | undefined;
781
904
  idColumn?: string | undefined;
782
905
  }[] | undefined;
906
+ entityStates?: {
907
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
908
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
909
+ purgeAfterDays?: number | undefined;
910
+ table?: string | undefined;
911
+ idColumn?: string | undefined;
912
+ entityType: string;
913
+ }[] | undefined;
914
+ erasure?: {
915
+ tables: string[];
916
+ entities: {
917
+ entityType: string;
918
+ table: string;
919
+ mode: "blank" | "custom" | "delete" | "unreached";
920
+ subjects?: string[] | undefined;
921
+ fields: {
922
+ name: string;
923
+ blank: "" | null;
924
+ }[];
925
+ }[];
926
+ } | undefined;
783
927
  ui?: {
784
928
  routes?: {
785
929
  path: string;
@@ -861,6 +1005,9 @@ export declare const lateModManifest: {
861
1005
  };
862
1006
  input?: Record<string, unknown> | undefined;
863
1007
  permissions: (string & z.$brand<"PermissionKey">)[];
1008
+ purge?: {
1009
+ entityType: string;
1010
+ } | undefined;
864
1011
  }[] | undefined;
865
1012
  peers?: {
866
1013
  vertical: string;
@@ -904,6 +1051,27 @@ export declare const lateModManifest: {
904
1051
  table?: string | undefined;
905
1052
  idColumn?: string | undefined;
906
1053
  }[] | undefined;
1054
+ entityStates?: {
1055
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1056
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1057
+ purgeAfterDays?: number | undefined;
1058
+ table?: string | undefined;
1059
+ idColumn?: string | undefined;
1060
+ entityType: string;
1061
+ }[] | undefined;
1062
+ erasure?: {
1063
+ tables: string[];
1064
+ entities: {
1065
+ entityType: string;
1066
+ table: string;
1067
+ mode: "blank" | "custom" | "delete" | "unreached";
1068
+ subjects?: string[] | undefined;
1069
+ fields: {
1070
+ name: string;
1071
+ blank: "" | null;
1072
+ }[];
1073
+ }[];
1074
+ } | undefined;
907
1075
  ui?: {
908
1076
  routes?: {
909
1077
  path: string;
@@ -985,6 +1153,9 @@ export declare const billedModManifest: {
985
1153
  };
986
1154
  input?: Record<string, unknown> | undefined;
987
1155
  permissions: (string & z.$brand<"PermissionKey">)[];
1156
+ purge?: {
1157
+ entityType: string;
1158
+ } | undefined;
988
1159
  }[] | undefined;
989
1160
  peers?: {
990
1161
  vertical: string;
@@ -1028,6 +1199,27 @@ export declare const billedModManifest: {
1028
1199
  table?: string | undefined;
1029
1200
  idColumn?: string | undefined;
1030
1201
  }[] | undefined;
1202
+ entityStates?: {
1203
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1204
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1205
+ purgeAfterDays?: number | undefined;
1206
+ table?: string | undefined;
1207
+ idColumn?: string | undefined;
1208
+ entityType: string;
1209
+ }[] | undefined;
1210
+ erasure?: {
1211
+ tables: string[];
1212
+ entities: {
1213
+ entityType: string;
1214
+ table: string;
1215
+ mode: "blank" | "custom" | "delete" | "unreached";
1216
+ subjects?: string[] | undefined;
1217
+ fields: {
1218
+ name: string;
1219
+ blank: "" | null;
1220
+ }[];
1221
+ }[];
1222
+ } | undefined;
1031
1223
  ui?: {
1032
1224
  routes?: {
1033
1225
  path: string;
@@ -1109,6 +1301,9 @@ export declare const guardedModManifest: {
1109
1301
  };
1110
1302
  input?: Record<string, unknown> | undefined;
1111
1303
  permissions: (string & z.$brand<"PermissionKey">)[];
1304
+ purge?: {
1305
+ entityType: string;
1306
+ } | undefined;
1112
1307
  }[] | undefined;
1113
1308
  peers?: {
1114
1309
  vertical: string;
@@ -1152,6 +1347,27 @@ export declare const guardedModManifest: {
1152
1347
  table?: string | undefined;
1153
1348
  idColumn?: string | undefined;
1154
1349
  }[] | undefined;
1350
+ entityStates?: {
1351
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1352
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1353
+ purgeAfterDays?: number | undefined;
1354
+ table?: string | undefined;
1355
+ idColumn?: string | undefined;
1356
+ entityType: string;
1357
+ }[] | undefined;
1358
+ erasure?: {
1359
+ tables: string[];
1360
+ entities: {
1361
+ entityType: string;
1362
+ table: string;
1363
+ mode: "blank" | "custom" | "delete" | "unreached";
1364
+ subjects?: string[] | undefined;
1365
+ fields: {
1366
+ name: string;
1367
+ blank: "" | null;
1368
+ }[];
1369
+ }[];
1370
+ } | undefined;
1155
1371
  ui?: {
1156
1372
  routes?: {
1157
1373
  path: string;
@@ -1233,6 +1449,9 @@ export declare const withdrawEarlyManifest: {
1233
1449
  };
1234
1450
  input?: Record<string, unknown> | undefined;
1235
1451
  permissions: (string & z.$brand<"PermissionKey">)[];
1452
+ purge?: {
1453
+ entityType: string;
1454
+ } | undefined;
1236
1455
  }[] | undefined;
1237
1456
  peers?: {
1238
1457
  vertical: string;
@@ -1276,6 +1495,27 @@ export declare const withdrawEarlyManifest: {
1276
1495
  table?: string | undefined;
1277
1496
  idColumn?: string | undefined;
1278
1497
  }[] | undefined;
1498
+ entityStates?: {
1499
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1500
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1501
+ purgeAfterDays?: number | undefined;
1502
+ table?: string | undefined;
1503
+ idColumn?: string | undefined;
1504
+ entityType: string;
1505
+ }[] | undefined;
1506
+ erasure?: {
1507
+ tables: string[];
1508
+ entities: {
1509
+ entityType: string;
1510
+ table: string;
1511
+ mode: "blank" | "custom" | "delete" | "unreached";
1512
+ subjects?: string[] | undefined;
1513
+ fields: {
1514
+ name: string;
1515
+ blank: "" | null;
1516
+ }[];
1517
+ }[];
1518
+ } | undefined;
1279
1519
  ui?: {
1280
1520
  routes?: {
1281
1521
  path: string;
@@ -1357,6 +1597,9 @@ export declare const victimModManifest: {
1357
1597
  };
1358
1598
  input?: Record<string, unknown> | undefined;
1359
1599
  permissions: (string & z.$brand<"PermissionKey">)[];
1600
+ purge?: {
1601
+ entityType: string;
1602
+ } | undefined;
1360
1603
  }[] | undefined;
1361
1604
  peers?: {
1362
1605
  vertical: string;
@@ -1400,6 +1643,27 @@ export declare const victimModManifest: {
1400
1643
  table?: string | undefined;
1401
1644
  idColumn?: string | undefined;
1402
1645
  }[] | undefined;
1646
+ entityStates?: {
1647
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1648
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1649
+ purgeAfterDays?: number | undefined;
1650
+ table?: string | undefined;
1651
+ idColumn?: string | undefined;
1652
+ entityType: string;
1653
+ }[] | undefined;
1654
+ erasure?: {
1655
+ tables: string[];
1656
+ entities: {
1657
+ entityType: string;
1658
+ table: string;
1659
+ mode: "blank" | "custom" | "delete" | "unreached";
1660
+ subjects?: string[] | undefined;
1661
+ fields: {
1662
+ name: string;
1663
+ blank: "" | null;
1664
+ }[];
1665
+ }[];
1666
+ } | undefined;
1403
1667
  ui?: {
1404
1668
  routes?: {
1405
1669
  path: string;
@@ -1481,6 +1745,9 @@ export declare const withdrawLateManifest: {
1481
1745
  };
1482
1746
  input?: Record<string, unknown> | undefined;
1483
1747
  permissions: (string & z.$brand<"PermissionKey">)[];
1748
+ purge?: {
1749
+ entityType: string;
1750
+ } | undefined;
1484
1751
  }[] | undefined;
1485
1752
  peers?: {
1486
1753
  vertical: string;
@@ -1524,6 +1791,27 @@ export declare const withdrawLateManifest: {
1524
1791
  table?: string | undefined;
1525
1792
  idColumn?: string | undefined;
1526
1793
  }[] | undefined;
1794
+ entityStates?: {
1795
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1796
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1797
+ purgeAfterDays?: number | undefined;
1798
+ table?: string | undefined;
1799
+ idColumn?: string | undefined;
1800
+ entityType: string;
1801
+ }[] | undefined;
1802
+ erasure?: {
1803
+ tables: string[];
1804
+ entities: {
1805
+ entityType: string;
1806
+ table: string;
1807
+ mode: "blank" | "custom" | "delete" | "unreached";
1808
+ subjects?: string[] | undefined;
1809
+ fields: {
1810
+ name: string;
1811
+ blank: "" | null;
1812
+ }[];
1813
+ }[];
1814
+ } | undefined;
1527
1815
  ui?: {
1528
1816
  routes?: {
1529
1817
  path: string;
@@ -1605,6 +1893,9 @@ export declare const gateModManifest: {
1605
1893
  };
1606
1894
  input?: Record<string, unknown> | undefined;
1607
1895
  permissions: (string & z.$brand<"PermissionKey">)[];
1896
+ purge?: {
1897
+ entityType: string;
1898
+ } | undefined;
1608
1899
  }[] | undefined;
1609
1900
  peers?: {
1610
1901
  vertical: string;
@@ -1648,6 +1939,27 @@ export declare const gateModManifest: {
1648
1939
  table?: string | undefined;
1649
1940
  idColumn?: string | undefined;
1650
1941
  }[] | undefined;
1942
+ entityStates?: {
1943
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1944
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
1945
+ purgeAfterDays?: number | undefined;
1946
+ table?: string | undefined;
1947
+ idColumn?: string | undefined;
1948
+ entityType: string;
1949
+ }[] | undefined;
1950
+ erasure?: {
1951
+ tables: string[];
1952
+ entities: {
1953
+ entityType: string;
1954
+ table: string;
1955
+ mode: "blank" | "custom" | "delete" | "unreached";
1956
+ subjects?: string[] | undefined;
1957
+ fields: {
1958
+ name: string;
1959
+ blank: "" | null;
1960
+ }[];
1961
+ }[];
1962
+ } | undefined;
1651
1963
  ui?: {
1652
1964
  routes?: {
1653
1965
  path: string;
@@ -1738,6 +2050,9 @@ export declare const impersonationEchoManifest: {
1738
2050
  };
1739
2051
  input?: Record<string, unknown> | undefined;
1740
2052
  permissions: (string & z.$brand<"PermissionKey">)[];
2053
+ purge?: {
2054
+ entityType: string;
2055
+ } | undefined;
1741
2056
  }[] | undefined;
1742
2057
  peers?: {
1743
2058
  vertical: string;
@@ -1781,6 +2096,27 @@ export declare const impersonationEchoManifest: {
1781
2096
  table?: string | undefined;
1782
2097
  idColumn?: string | undefined;
1783
2098
  }[] | undefined;
2099
+ entityStates?: {
2100
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
2101
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
2102
+ purgeAfterDays?: number | undefined;
2103
+ table?: string | undefined;
2104
+ idColumn?: string | undefined;
2105
+ entityType: string;
2106
+ }[] | undefined;
2107
+ erasure?: {
2108
+ tables: string[];
2109
+ entities: {
2110
+ entityType: string;
2111
+ table: string;
2112
+ mode: "blank" | "custom" | "delete" | "unreached";
2113
+ subjects?: string[] | undefined;
2114
+ fields: {
2115
+ name: string;
2116
+ blank: "" | null;
2117
+ }[];
2118
+ }[];
2119
+ } | undefined;
1784
2120
  ui?: {
1785
2121
  routes?: {
1786
2122
  path: string;
@@ -1862,6 +2198,9 @@ export declare const permModManifest: {
1862
2198
  };
1863
2199
  input?: Record<string, unknown> | undefined;
1864
2200
  permissions: (string & z.$brand<"PermissionKey">)[];
2201
+ purge?: {
2202
+ entityType: string;
2203
+ } | undefined;
1865
2204
  }[] | undefined;
1866
2205
  peers?: {
1867
2206
  vertical: string;
@@ -1905,6 +2244,27 @@ export declare const permModManifest: {
1905
2244
  table?: string | undefined;
1906
2245
  idColumn?: string | undefined;
1907
2246
  }[] | undefined;
2247
+ entityStates?: {
2248
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
2249
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
2250
+ purgeAfterDays?: number | undefined;
2251
+ table?: string | undefined;
2252
+ idColumn?: string | undefined;
2253
+ entityType: string;
2254
+ }[] | undefined;
2255
+ erasure?: {
2256
+ tables: string[];
2257
+ entities: {
2258
+ entityType: string;
2259
+ table: string;
2260
+ mode: "blank" | "custom" | "delete" | "unreached";
2261
+ subjects?: string[] | undefined;
2262
+ fields: {
2263
+ name: string;
2264
+ blank: "" | null;
2265
+ }[];
2266
+ }[];
2267
+ } | undefined;
1908
2268
  ui?: {
1909
2269
  routes?: {
1910
2270
  path: string;
@@ -2000,6 +2360,9 @@ export declare const deniedScheduleModManifest: {
2000
2360
  };
2001
2361
  input?: Record<string, unknown> | undefined;
2002
2362
  permissions: (string & z.$brand<"PermissionKey">)[];
2363
+ purge?: {
2364
+ entityType: string;
2365
+ } | undefined;
2003
2366
  }[] | undefined;
2004
2367
  peers?: {
2005
2368
  vertical: string;
@@ -2043,6 +2406,27 @@ export declare const deniedScheduleModManifest: {
2043
2406
  table?: string | undefined;
2044
2407
  idColumn?: string | undefined;
2045
2408
  }[] | undefined;
2409
+ entityStates?: {
2410
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
2411
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
2412
+ purgeAfterDays?: number | undefined;
2413
+ table?: string | undefined;
2414
+ idColumn?: string | undefined;
2415
+ entityType: string;
2416
+ }[] | undefined;
2417
+ erasure?: {
2418
+ tables: string[];
2419
+ entities: {
2420
+ entityType: string;
2421
+ table: string;
2422
+ mode: "blank" | "custom" | "delete" | "unreached";
2423
+ subjects?: string[] | undefined;
2424
+ fields: {
2425
+ name: string;
2426
+ blank: "" | null;
2427
+ }[];
2428
+ }[];
2429
+ } | undefined;
2046
2430
  ui?: {
2047
2431
  routes?: {
2048
2432
  path: string;
@@ -2137,6 +2521,9 @@ export declare const composedEngineModManifest: {
2137
2521
  };
2138
2522
  input?: Record<string, unknown> | undefined;
2139
2523
  permissions: (string & z.$brand<"PermissionKey">)[];
2524
+ purge?: {
2525
+ entityType: string;
2526
+ } | undefined;
2140
2527
  }[] | undefined;
2141
2528
  peers?: {
2142
2529
  vertical: string;
@@ -2180,6 +2567,27 @@ export declare const composedEngineModManifest: {
2180
2567
  table?: string | undefined;
2181
2568
  idColumn?: string | undefined;
2182
2569
  }[] | undefined;
2570
+ entityStates?: {
2571
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
2572
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
2573
+ purgeAfterDays?: number | undefined;
2574
+ table?: string | undefined;
2575
+ idColumn?: string | undefined;
2576
+ entityType: string;
2577
+ }[] | undefined;
2578
+ erasure?: {
2579
+ tables: string[];
2580
+ entities: {
2581
+ entityType: string;
2582
+ table: string;
2583
+ mode: "blank" | "custom" | "delete" | "unreached";
2584
+ subjects?: string[] | undefined;
2585
+ fields: {
2586
+ name: string;
2587
+ blank: "" | null;
2588
+ }[];
2589
+ }[];
2590
+ } | undefined;
2183
2591
  ui?: {
2184
2592
  routes?: {
2185
2593
  path: string;
@@ -2270,6 +2678,9 @@ export declare const composerModManifest: {
2270
2678
  };
2271
2679
  input?: Record<string, unknown> | undefined;
2272
2680
  permissions: (string & z.$brand<"PermissionKey">)[];
2681
+ purge?: {
2682
+ entityType: string;
2683
+ } | undefined;
2273
2684
  }[] | undefined;
2274
2685
  peers?: {
2275
2686
  vertical: string;
@@ -2313,6 +2724,27 @@ export declare const composerModManifest: {
2313
2724
  table?: string | undefined;
2314
2725
  idColumn?: string | undefined;
2315
2726
  }[] | undefined;
2727
+ entityStates?: {
2728
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
2729
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
2730
+ purgeAfterDays?: number | undefined;
2731
+ table?: string | undefined;
2732
+ idColumn?: string | undefined;
2733
+ entityType: string;
2734
+ }[] | undefined;
2735
+ erasure?: {
2736
+ tables: string[];
2737
+ entities: {
2738
+ entityType: string;
2739
+ table: string;
2740
+ mode: "blank" | "custom" | "delete" | "unreached";
2741
+ subjects?: string[] | undefined;
2742
+ fields: {
2743
+ name: string;
2744
+ blank: "" | null;
2745
+ }[];
2746
+ }[];
2747
+ } | undefined;
2316
2748
  ui?: {
2317
2749
  routes?: {
2318
2750
  path: string;
@@ -2405,6 +2837,9 @@ export declare const connectorModManifest: {
2405
2837
  };
2406
2838
  input?: Record<string, unknown> | undefined;
2407
2839
  permissions: (string & z.$brand<"PermissionKey">)[];
2840
+ purge?: {
2841
+ entityType: string;
2842
+ } | undefined;
2408
2843
  }[] | undefined;
2409
2844
  peers?: {
2410
2845
  vertical: string;
@@ -2448,6 +2883,27 @@ export declare const connectorModManifest: {
2448
2883
  table?: string | undefined;
2449
2884
  idColumn?: string | undefined;
2450
2885
  }[] | undefined;
2886
+ entityStates?: {
2887
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
2888
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
2889
+ purgeAfterDays?: number | undefined;
2890
+ table?: string | undefined;
2891
+ idColumn?: string | undefined;
2892
+ entityType: string;
2893
+ }[] | undefined;
2894
+ erasure?: {
2895
+ tables: string[];
2896
+ entities: {
2897
+ entityType: string;
2898
+ table: string;
2899
+ mode: "blank" | "custom" | "delete" | "unreached";
2900
+ subjects?: string[] | undefined;
2901
+ fields: {
2902
+ name: string;
2903
+ blank: "" | null;
2904
+ }[];
2905
+ }[];
2906
+ } | undefined;
2451
2907
  ui?: {
2452
2908
  routes?: {
2453
2909
  path: string;
@@ -2560,6 +3016,9 @@ export declare const listModManifest: {
2560
3016
  };
2561
3017
  input?: Record<string, unknown> | undefined;
2562
3018
  permissions: (string & z.$brand<"PermissionKey">)[];
3019
+ purge?: {
3020
+ entityType: string;
3021
+ } | undefined;
2563
3022
  }[] | undefined;
2564
3023
  peers?: {
2565
3024
  vertical: string;
@@ -2603,6 +3062,27 @@ export declare const listModManifest: {
2603
3062
  table?: string | undefined;
2604
3063
  idColumn?: string | undefined;
2605
3064
  }[] | undefined;
3065
+ entityStates?: {
3066
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
3067
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
3068
+ purgeAfterDays?: number | undefined;
3069
+ table?: string | undefined;
3070
+ idColumn?: string | undefined;
3071
+ entityType: string;
3072
+ }[] | undefined;
3073
+ erasure?: {
3074
+ tables: string[];
3075
+ entities: {
3076
+ entityType: string;
3077
+ table: string;
3078
+ mode: "blank" | "custom" | "delete" | "unreached";
3079
+ subjects?: string[] | undefined;
3080
+ fields: {
3081
+ name: string;
3082
+ blank: "" | null;
3083
+ }[];
3084
+ }[];
3085
+ } | undefined;
2606
3086
  ui?: {
2607
3087
  routes?: {
2608
3088
  path: string;
@@ -2701,6 +3181,9 @@ export declare const searchModManifest: {
2701
3181
  };
2702
3182
  input?: Record<string, unknown> | undefined;
2703
3183
  permissions: (string & z.$brand<"PermissionKey">)[];
3184
+ purge?: {
3185
+ entityType: string;
3186
+ } | undefined;
2704
3187
  }[] | undefined;
2705
3188
  peers?: {
2706
3189
  vertical: string;
@@ -2744,6 +3227,27 @@ export declare const searchModManifest: {
2744
3227
  table?: string | undefined;
2745
3228
  idColumn?: string | undefined;
2746
3229
  }[] | undefined;
3230
+ entityStates?: {
3231
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
3232
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
3233
+ purgeAfterDays?: number | undefined;
3234
+ table?: string | undefined;
3235
+ idColumn?: string | undefined;
3236
+ entityType: string;
3237
+ }[] | undefined;
3238
+ erasure?: {
3239
+ tables: string[];
3240
+ entities: {
3241
+ entityType: string;
3242
+ table: string;
3243
+ mode: "blank" | "custom" | "delete" | "unreached";
3244
+ subjects?: string[] | undefined;
3245
+ fields: {
3246
+ name: string;
3247
+ blank: "" | null;
3248
+ }[];
3249
+ }[];
3250
+ } | undefined;
2747
3251
  ui?: {
2748
3252
  routes?: {
2749
3253
  path: string;
@@ -2826,6 +3330,9 @@ export declare const parseModManifest: {
2826
3330
  };
2827
3331
  input?: Record<string, unknown> | undefined;
2828
3332
  permissions: (string & z.$brand<"PermissionKey">)[];
3333
+ purge?: {
3334
+ entityType: string;
3335
+ } | undefined;
2829
3336
  }[] | undefined;
2830
3337
  peers?: {
2831
3338
  vertical: string;
@@ -2869,6 +3376,27 @@ export declare const parseModManifest: {
2869
3376
  table?: string | undefined;
2870
3377
  idColumn?: string | undefined;
2871
3378
  }[] | undefined;
3379
+ entityStates?: {
3380
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
3381
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
3382
+ purgeAfterDays?: number | undefined;
3383
+ table?: string | undefined;
3384
+ idColumn?: string | undefined;
3385
+ entityType: string;
3386
+ }[] | undefined;
3387
+ erasure?: {
3388
+ tables: string[];
3389
+ entities: {
3390
+ entityType: string;
3391
+ table: string;
3392
+ mode: "blank" | "custom" | "delete" | "unreached";
3393
+ subjects?: string[] | undefined;
3394
+ fields: {
3395
+ name: string;
3396
+ blank: "" | null;
3397
+ }[];
3398
+ }[];
3399
+ } | undefined;
2872
3400
  ui?: {
2873
3401
  routes?: {
2874
3402
  path: string;
@@ -2951,6 +3479,9 @@ export declare const concurrencyModManifest: {
2951
3479
  };
2952
3480
  input?: Record<string, unknown> | undefined;
2953
3481
  permissions: (string & z.$brand<"PermissionKey">)[];
3482
+ purge?: {
3483
+ entityType: string;
3484
+ } | undefined;
2954
3485
  }[] | undefined;
2955
3486
  peers?: {
2956
3487
  vertical: string;
@@ -2994,6 +3525,27 @@ export declare const concurrencyModManifest: {
2994
3525
  table?: string | undefined;
2995
3526
  idColumn?: string | undefined;
2996
3527
  }[] | undefined;
3528
+ entityStates?: {
3529
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
3530
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
3531
+ purgeAfterDays?: number | undefined;
3532
+ table?: string | undefined;
3533
+ idColumn?: string | undefined;
3534
+ entityType: string;
3535
+ }[] | undefined;
3536
+ erasure?: {
3537
+ tables: string[];
3538
+ entities: {
3539
+ entityType: string;
3540
+ table: string;
3541
+ mode: "blank" | "custom" | "delete" | "unreached";
3542
+ subjects?: string[] | undefined;
3543
+ fields: {
3544
+ name: string;
3545
+ blank: "" | null;
3546
+ }[];
3547
+ }[];
3548
+ } | undefined;
2997
3549
  ui?: {
2998
3550
  routes?: {
2999
3551
  path: string;
@@ -3076,6 +3628,9 @@ export declare const idempotencyModManifest: {
3076
3628
  };
3077
3629
  input?: Record<string, unknown> | undefined;
3078
3630
  permissions: (string & z.$brand<"PermissionKey">)[];
3631
+ purge?: {
3632
+ entityType: string;
3633
+ } | undefined;
3079
3634
  }[] | undefined;
3080
3635
  peers?: {
3081
3636
  vertical: string;
@@ -3119,6 +3674,27 @@ export declare const idempotencyModManifest: {
3119
3674
  table?: string | undefined;
3120
3675
  idColumn?: string | undefined;
3121
3676
  }[] | undefined;
3677
+ entityStates?: {
3678
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
3679
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
3680
+ purgeAfterDays?: number | undefined;
3681
+ table?: string | undefined;
3682
+ idColumn?: string | undefined;
3683
+ entityType: string;
3684
+ }[] | undefined;
3685
+ erasure?: {
3686
+ tables: string[];
3687
+ entities: {
3688
+ entityType: string;
3689
+ table: string;
3690
+ mode: "blank" | "custom" | "delete" | "unreached";
3691
+ subjects?: string[] | undefined;
3692
+ fields: {
3693
+ name: string;
3694
+ blank: "" | null;
3695
+ }[];
3696
+ }[];
3697
+ } | undefined;
3122
3698
  ui?: {
3123
3699
  routes?: {
3124
3700
  path: string;
@@ -3211,6 +3787,9 @@ export declare const capModManifest: {
3211
3787
  };
3212
3788
  input?: Record<string, unknown> | undefined;
3213
3789
  permissions: (string & z.$brand<"PermissionKey">)[];
3790
+ purge?: {
3791
+ entityType: string;
3792
+ } | undefined;
3214
3793
  }[] | undefined;
3215
3794
  peers?: {
3216
3795
  vertical: string;
@@ -3254,6 +3833,27 @@ export declare const capModManifest: {
3254
3833
  table?: string | undefined;
3255
3834
  idColumn?: string | undefined;
3256
3835
  }[] | undefined;
3836
+ entityStates?: {
3837
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
3838
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
3839
+ purgeAfterDays?: number | undefined;
3840
+ table?: string | undefined;
3841
+ idColumn?: string | undefined;
3842
+ entityType: string;
3843
+ }[] | undefined;
3844
+ erasure?: {
3845
+ tables: string[];
3846
+ entities: {
3847
+ entityType: string;
3848
+ table: string;
3849
+ mode: "blank" | "custom" | "delete" | "unreached";
3850
+ subjects?: string[] | undefined;
3851
+ fields: {
3852
+ name: string;
3853
+ blank: "" | null;
3854
+ }[];
3855
+ }[];
3856
+ } | undefined;
3257
3857
  ui?: {
3258
3858
  routes?: {
3259
3859
  path: string;
@@ -3349,6 +3949,9 @@ export declare const peerModManifest: {
3349
3949
  };
3350
3950
  input?: Record<string, unknown> | undefined;
3351
3951
  permissions: (string & z.$brand<"PermissionKey">)[];
3952
+ purge?: {
3953
+ entityType: string;
3954
+ } | undefined;
3352
3955
  }[] | undefined;
3353
3956
  peers?: {
3354
3957
  vertical: string;
@@ -3392,6 +3995,27 @@ export declare const peerModManifest: {
3392
3995
  table?: string | undefined;
3393
3996
  idColumn?: string | undefined;
3394
3997
  }[] | undefined;
3998
+ entityStates?: {
3999
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
4000
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
4001
+ purgeAfterDays?: number | undefined;
4002
+ table?: string | undefined;
4003
+ idColumn?: string | undefined;
4004
+ entityType: string;
4005
+ }[] | undefined;
4006
+ erasure?: {
4007
+ tables: string[];
4008
+ entities: {
4009
+ entityType: string;
4010
+ table: string;
4011
+ mode: "blank" | "custom" | "delete" | "unreached";
4012
+ subjects?: string[] | undefined;
4013
+ fields: {
4014
+ name: string;
4015
+ blank: "" | null;
4016
+ }[];
4017
+ }[];
4018
+ } | undefined;
3395
4019
  ui?: {
3396
4020
  routes?: {
3397
4021
  path: string;
@@ -3474,6 +4098,9 @@ export declare const emittedModManifest: {
3474
4098
  };
3475
4099
  input?: Record<string, unknown> | undefined;
3476
4100
  permissions: (string & z.$brand<"PermissionKey">)[];
4101
+ purge?: {
4102
+ entityType: string;
4103
+ } | undefined;
3477
4104
  }[] | undefined;
3478
4105
  peers?: {
3479
4106
  vertical: string;
@@ -3517,6 +4144,27 @@ export declare const emittedModManifest: {
3517
4144
  table?: string | undefined;
3518
4145
  idColumn?: string | undefined;
3519
4146
  }[] | undefined;
4147
+ entityStates?: {
4148
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
4149
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
4150
+ purgeAfterDays?: number | undefined;
4151
+ table?: string | undefined;
4152
+ idColumn?: string | undefined;
4153
+ entityType: string;
4154
+ }[] | undefined;
4155
+ erasure?: {
4156
+ tables: string[];
4157
+ entities: {
4158
+ entityType: string;
4159
+ table: string;
4160
+ mode: "blank" | "custom" | "delete" | "unreached";
4161
+ subjects?: string[] | undefined;
4162
+ fields: {
4163
+ name: string;
4164
+ blank: "" | null;
4165
+ }[];
4166
+ }[];
4167
+ } | undefined;
3520
4168
  ui?: {
3521
4169
  routes?: {
3522
4170
  path: string;
@@ -3604,6 +4252,9 @@ export declare const loggedModManifest: {
3604
4252
  };
3605
4253
  input?: Record<string, unknown> | undefined;
3606
4254
  permissions: (string & z.$brand<"PermissionKey">)[];
4255
+ purge?: {
4256
+ entityType: string;
4257
+ } | undefined;
3607
4258
  }[] | undefined;
3608
4259
  peers?: {
3609
4260
  vertical: string;
@@ -3647,6 +4298,27 @@ export declare const loggedModManifest: {
3647
4298
  table?: string | undefined;
3648
4299
  idColumn?: string | undefined;
3649
4300
  }[] | undefined;
4301
+ entityStates?: {
4302
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
4303
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
4304
+ purgeAfterDays?: number | undefined;
4305
+ table?: string | undefined;
4306
+ idColumn?: string | undefined;
4307
+ entityType: string;
4308
+ }[] | undefined;
4309
+ erasure?: {
4310
+ tables: string[];
4311
+ entities: {
4312
+ entityType: string;
4313
+ table: string;
4314
+ mode: "blank" | "custom" | "delete" | "unreached";
4315
+ subjects?: string[] | undefined;
4316
+ fields: {
4317
+ name: string;
4318
+ blank: "" | null;
4319
+ }[];
4320
+ }[];
4321
+ } | undefined;
3650
4322
  ui?: {
3651
4323
  routes?: {
3652
4324
  path: string;
@@ -3734,6 +4406,9 @@ export declare const asyncLogModManifest: {
3734
4406
  };
3735
4407
  input?: Record<string, unknown> | undefined;
3736
4408
  permissions: (string & z.$brand<"PermissionKey">)[];
4409
+ purge?: {
4410
+ entityType: string;
4411
+ } | undefined;
3737
4412
  }[] | undefined;
3738
4413
  peers?: {
3739
4414
  vertical: string;
@@ -3777,6 +4452,27 @@ export declare const asyncLogModManifest: {
3777
4452
  table?: string | undefined;
3778
4453
  idColumn?: string | undefined;
3779
4454
  }[] | undefined;
4455
+ entityStates?: {
4456
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
4457
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
4458
+ purgeAfterDays?: number | undefined;
4459
+ table?: string | undefined;
4460
+ idColumn?: string | undefined;
4461
+ entityType: string;
4462
+ }[] | undefined;
4463
+ erasure?: {
4464
+ tables: string[];
4465
+ entities: {
4466
+ entityType: string;
4467
+ table: string;
4468
+ mode: "blank" | "custom" | "delete" | "unreached";
4469
+ subjects?: string[] | undefined;
4470
+ fields: {
4471
+ name: string;
4472
+ blank: "" | null;
4473
+ }[];
4474
+ }[];
4475
+ } | undefined;
3780
4476
  ui?: {
3781
4477
  routes?: {
3782
4478
  path: string;
@@ -3884,6 +4580,9 @@ export declare const liveModManifest: {
3884
4580
  };
3885
4581
  input?: Record<string, unknown> | undefined;
3886
4582
  permissions: (string & z.$brand<"PermissionKey">)[];
4583
+ purge?: {
4584
+ entityType: string;
4585
+ } | undefined;
3887
4586
  }[] | undefined;
3888
4587
  peers?: {
3889
4588
  vertical: string;
@@ -3927,6 +4626,27 @@ export declare const liveModManifest: {
3927
4626
  table?: string | undefined;
3928
4627
  idColumn?: string | undefined;
3929
4628
  }[] | undefined;
4629
+ entityStates?: {
4630
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
4631
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
4632
+ purgeAfterDays?: number | undefined;
4633
+ table?: string | undefined;
4634
+ idColumn?: string | undefined;
4635
+ entityType: string;
4636
+ }[] | undefined;
4637
+ erasure?: {
4638
+ tables: string[];
4639
+ entities: {
4640
+ entityType: string;
4641
+ table: string;
4642
+ mode: "blank" | "custom" | "delete" | "unreached";
4643
+ subjects?: string[] | undefined;
4644
+ fields: {
4645
+ name: string;
4646
+ blank: "" | null;
4647
+ }[];
4648
+ }[];
4649
+ } | undefined;
3930
4650
  ui?: {
3931
4651
  routes?: {
3932
4652
  path: string;
@@ -4009,6 +4729,9 @@ export declare const brokenModManifest: {
4009
4729
  };
4010
4730
  input?: Record<string, unknown> | undefined;
4011
4731
  permissions: (string & z.$brand<"PermissionKey">)[];
4732
+ purge?: {
4733
+ entityType: string;
4734
+ } | undefined;
4012
4735
  }[] | undefined;
4013
4736
  peers?: {
4014
4737
  vertical: string;
@@ -4052,6 +4775,27 @@ export declare const brokenModManifest: {
4052
4775
  table?: string | undefined;
4053
4776
  idColumn?: string | undefined;
4054
4777
  }[] | undefined;
4778
+ entityStates?: {
4779
+ archivePermission?: (string & z.$brand<"PermissionKey">) | undefined;
4780
+ trashPermission?: (string & z.$brand<"PermissionKey">) | undefined;
4781
+ purgeAfterDays?: number | undefined;
4782
+ table?: string | undefined;
4783
+ idColumn?: string | undefined;
4784
+ entityType: string;
4785
+ }[] | undefined;
4786
+ erasure?: {
4787
+ tables: string[];
4788
+ entities: {
4789
+ entityType: string;
4790
+ table: string;
4791
+ mode: "blank" | "custom" | "delete" | "unreached";
4792
+ subjects?: string[] | undefined;
4793
+ fields: {
4794
+ name: string;
4795
+ blank: "" | null;
4796
+ }[];
4797
+ }[];
4798
+ } | undefined;
4055
4799
  ui?: {
4056
4800
  routes?: {
4057
4801
  path: string;
@@ -4092,5 +4836,20 @@ export declare const brokenModManifest: {
4092
4836
  */
4093
4837
  export declare const brokenMod: ModuleRegistration;
4094
4838
  export declare const spineParentMod: ModuleRegistration;
4839
+ /**
4840
+ * #2066: migrations that reach for the migration journal — one drops its digest fence, one writes
4841
+ * the journal itself. Each would make the digest check say whatever it wrote, so both must be
4842
+ * refused before any of their SQL runs, on every adapter. Hosted apart, like `brokenMod`, and each
4843
+ * migration's first statement is harmless so a refusal that let part of it run leaves `jt` behind.
4844
+ */
4845
+ export declare const journalFenceDropMod: ModuleRegistration;
4846
+ export declare const journalWriteMod: ModuleRegistration;
4847
+ /**
4848
+ * #2066 r3: authored migrations that reach for the rest of the spine — one shadows
4849
+ * `_substrat_tuples` with a same-named TEMP table (every unqualified kernel read would then see
4850
+ * the empty one), one drops the outbox. Refused before any of their SQL runs, like the two above.
4851
+ */
4852
+ export declare const spineShadowMod: ModuleRegistration;
4853
+ export declare const spineDropMod: ModuleRegistration;
4095
4854
  export declare const ownParentMod: ModuleRegistration;
4096
4855
  //# sourceMappingURL=modules.d.ts.map