@substrat-run/contract-tests 0.87.0 → 0.88.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 (40) hide show
  1. package/dist/concurrency-suite.d.ts +3 -0
  2. package/dist/concurrency-suite.d.ts.map +1 -0
  3. package/dist/concurrency-suite.js +228 -0
  4. package/dist/concurrency-suite.js.map +1 -0
  5. package/dist/conformance.d.ts +85 -0
  6. package/dist/conformance.d.ts.map +1 -0
  7. package/dist/conformance.js +17 -0
  8. package/dist/conformance.js.map +1 -0
  9. package/dist/entity-check-plan.d.ts +138 -0
  10. package/dist/entity-check-plan.d.ts.map +1 -0
  11. package/dist/entity-check-plan.js +181 -0
  12. package/dist/entity-check-plan.js.map +1 -0
  13. package/dist/entity-check-suite.d.ts +3 -90
  14. package/dist/entity-check-suite.d.ts.map +1 -1
  15. package/dist/entity-check-suite.js +42 -71
  16. package/dist/entity-check-suite.js.map +1 -1
  17. package/dist/entity-version-suite.d.ts +3 -0
  18. package/dist/entity-version-suite.d.ts.map +1 -0
  19. package/dist/entity-version-suite.js +160 -0
  20. package/dist/entity-version-suite.js.map +1 -0
  21. package/dist/index.d.ts +7 -2
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +6 -2
  24. package/dist/index.js.map +1 -1
  25. package/dist/input-parse-suite.d.ts +3 -0
  26. package/dist/input-parse-suite.d.ts.map +1 -0
  27. package/dist/input-parse-suite.js +149 -0
  28. package/dist/input-parse-suite.js.map +1 -0
  29. package/dist/modules.d.ts +378 -160
  30. package/dist/modules.d.ts.map +1 -1
  31. package/dist/modules.js +224 -1
  32. package/dist/modules.js.map +1 -1
  33. package/dist/node-only-suite.d.ts +28 -0
  34. package/dist/node-only-suite.d.ts.map +1 -1
  35. package/dist/node-only-suite.js +43 -1
  36. package/dist/node-only-suite.js.map +1 -1
  37. package/dist/permission-suite.d.ts.map +1 -1
  38. package/dist/permission-suite.js +125 -0
  39. package/dist/permission-suite.js.map +1 -1
  40. package/package.json +11 -3
package/dist/modules.d.ts CHANGED
@@ -1,10 +1,20 @@
1
+ /**
2
+ * Executable contract-test artifacts as STATIC importable values (not inline
3
+ * `beforeAll` closures). The Cloudflare adapter bundles these into its ScopeDO
4
+ * at code time — a Durable Object cannot receive handler closures over RPC — so
5
+ * both the pure-SQLite suite (which registers them on the facade that also
6
+ * executes them) and the CF suite (whose DO executes them, facade only
7
+ * validates) draw from this one source. The assertions live in the suites; the
8
+ * artifacts live here.
9
+ */
10
+ import { z } from '@substrat-run/contracts';
1
11
  import { type ModuleRegistration, type OperationHandler } from '@substrat-run/kernel';
2
12
  export declare const testModManifest: {
3
- id: string & import("zod").$brand<"ModuleId">;
13
+ id: string & z.$brand<"ModuleId">;
4
14
  version: string;
5
15
  kernelContract: string;
6
16
  permissions: {
7
- key: string & import("zod").$brand<"PermissionKey">;
17
+ key: string & z.$brand<"PermissionKey">;
8
18
  description: string;
9
19
  }[];
10
20
  events: {
@@ -23,8 +33,8 @@ export declare const testModManifest: {
23
33
  };
24
34
  attachmentTargets: {
25
35
  entityType: string;
26
- readPermission: string & import("zod").$brand<"PermissionKey">;
27
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
36
+ readPermission: string & z.$brand<"PermissionKey">;
37
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
28
38
  }[];
29
39
  entityRelations?: {
30
40
  entityType: string;
@@ -41,7 +51,7 @@ export declare const testModManifest: {
41
51
  everyMinutes: number;
42
52
  };
43
53
  input?: Record<string, unknown> | undefined;
44
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
54
+ permissions: (string & z.$brand<"PermissionKey">)[];
45
55
  }[] | undefined;
46
56
  withdraws?: string[] | undefined;
47
57
  entitlementKey: string;
@@ -55,7 +65,7 @@ export declare const testModManifest: {
55
65
  default?: string | undefined;
56
66
  group?: string | undefined;
57
67
  }[] | undefined;
58
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
68
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
59
69
  entitlements?: string[] | undefined;
60
70
  provides?: string[] | undefined;
61
71
  requires?: string[] | undefined;
@@ -78,13 +88,13 @@ export declare const testModManifest: {
78
88
  routes?: {
79
89
  path: string;
80
90
  screen: string;
81
- permission: string & import("zod").$brand<"PermissionKey">;
91
+ permission: string & z.$brand<"PermissionKey">;
82
92
  }[] | undefined;
83
93
  nav?: {
84
94
  label: string;
85
95
  icon?: string | undefined;
86
96
  to: string;
87
- permission: string & import("zod").$brand<"PermissionKey">;
97
+ permission: string & z.$brand<"PermissionKey">;
88
98
  }[] | undefined;
89
99
  entityViews?: {
90
100
  entityType: string;
@@ -93,21 +103,21 @@ export declare const testModManifest: {
93
103
  widgets?: {
94
104
  slot: string;
95
105
  component: string;
96
- permission: string & import("zod").$brand<"PermissionKey">;
106
+ permission: string & z.$brand<"PermissionKey">;
97
107
  }[] | undefined;
98
108
  settingsPanels?: {
99
109
  label: string;
100
110
  component: string;
101
- permission: string & import("zod").$brand<"PermissionKey">;
111
+ permission: string & z.$brand<"PermissionKey">;
102
112
  }[] | undefined;
103
113
  } | undefined;
104
114
  };
105
115
  export declare const scheduleModManifest: {
106
- id: string & import("zod").$brand<"ModuleId">;
116
+ id: string & z.$brand<"ModuleId">;
107
117
  version: string;
108
118
  kernelContract: string;
109
119
  permissions: {
110
- key: string & import("zod").$brand<"PermissionKey">;
120
+ key: string & z.$brand<"PermissionKey">;
111
121
  description: string;
112
122
  }[];
113
123
  events: {
@@ -126,8 +136,8 @@ export declare const scheduleModManifest: {
126
136
  };
127
137
  attachmentTargets: {
128
138
  entityType: string;
129
- readPermission: string & import("zod").$brand<"PermissionKey">;
130
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
139
+ readPermission: string & z.$brand<"PermissionKey">;
140
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
131
141
  }[];
132
142
  entityRelations?: {
133
143
  entityType: string;
@@ -144,7 +154,7 @@ export declare const scheduleModManifest: {
144
154
  everyMinutes: number;
145
155
  };
146
156
  input?: Record<string, unknown> | undefined;
147
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
157
+ permissions: (string & z.$brand<"PermissionKey">)[];
148
158
  }[] | undefined;
149
159
  withdraws?: string[] | undefined;
150
160
  entitlementKey: string;
@@ -158,7 +168,7 @@ export declare const scheduleModManifest: {
158
168
  default?: string | undefined;
159
169
  group?: string | undefined;
160
170
  }[] | undefined;
161
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
171
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
162
172
  entitlements?: string[] | undefined;
163
173
  provides?: string[] | undefined;
164
174
  requires?: string[] | undefined;
@@ -181,13 +191,13 @@ export declare const scheduleModManifest: {
181
191
  routes?: {
182
192
  path: string;
183
193
  screen: string;
184
- permission: string & import("zod").$brand<"PermissionKey">;
194
+ permission: string & z.$brand<"PermissionKey">;
185
195
  }[] | undefined;
186
196
  nav?: {
187
197
  label: string;
188
198
  icon?: string | undefined;
189
199
  to: string;
190
- permission: string & import("zod").$brand<"PermissionKey">;
200
+ permission: string & z.$brand<"PermissionKey">;
191
201
  }[] | undefined;
192
202
  entityViews?: {
193
203
  entityType: string;
@@ -196,21 +206,21 @@ export declare const scheduleModManifest: {
196
206
  widgets?: {
197
207
  slot: string;
198
208
  component: string;
199
- permission: string & import("zod").$brand<"PermissionKey">;
209
+ permission: string & z.$brand<"PermissionKey">;
200
210
  }[] | undefined;
201
211
  settingsPanels?: {
202
212
  label: string;
203
213
  component: string;
204
- permission: string & import("zod").$brand<"PermissionKey">;
214
+ permission: string & z.$brand<"PermissionKey">;
205
215
  }[] | undefined;
206
216
  } | undefined;
207
217
  };
208
218
  export declare const flowModManifest: {
209
- id: string & import("zod").$brand<"ModuleId">;
219
+ id: string & z.$brand<"ModuleId">;
210
220
  version: string;
211
221
  kernelContract: string;
212
222
  permissions: {
213
- key: string & import("zod").$brand<"PermissionKey">;
223
+ key: string & z.$brand<"PermissionKey">;
214
224
  description: string;
215
225
  }[];
216
226
  events: {
@@ -229,8 +239,8 @@ export declare const flowModManifest: {
229
239
  };
230
240
  attachmentTargets: {
231
241
  entityType: string;
232
- readPermission: string & import("zod").$brand<"PermissionKey">;
233
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
242
+ readPermission: string & z.$brand<"PermissionKey">;
243
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
234
244
  }[];
235
245
  entityRelations?: {
236
246
  entityType: string;
@@ -247,7 +257,7 @@ export declare const flowModManifest: {
247
257
  everyMinutes: number;
248
258
  };
249
259
  input?: Record<string, unknown> | undefined;
250
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
260
+ permissions: (string & z.$brand<"PermissionKey">)[];
251
261
  }[] | undefined;
252
262
  withdraws?: string[] | undefined;
253
263
  entitlementKey: string;
@@ -261,7 +271,7 @@ export declare const flowModManifest: {
261
271
  default?: string | undefined;
262
272
  group?: string | undefined;
263
273
  }[] | undefined;
264
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
274
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
265
275
  entitlements?: string[] | undefined;
266
276
  provides?: string[] | undefined;
267
277
  requires?: string[] | undefined;
@@ -284,13 +294,13 @@ export declare const flowModManifest: {
284
294
  routes?: {
285
295
  path: string;
286
296
  screen: string;
287
- permission: string & import("zod").$brand<"PermissionKey">;
297
+ permission: string & z.$brand<"PermissionKey">;
288
298
  }[] | undefined;
289
299
  nav?: {
290
300
  label: string;
291
301
  icon?: string | undefined;
292
302
  to: string;
293
- permission: string & import("zod").$brand<"PermissionKey">;
303
+ permission: string & z.$brand<"PermissionKey">;
294
304
  }[] | undefined;
295
305
  entityViews?: {
296
306
  entityType: string;
@@ -299,21 +309,21 @@ export declare const flowModManifest: {
299
309
  widgets?: {
300
310
  slot: string;
301
311
  component: string;
302
- permission: string & import("zod").$brand<"PermissionKey">;
312
+ permission: string & z.$brand<"PermissionKey">;
303
313
  }[] | undefined;
304
314
  settingsPanels?: {
305
315
  label: string;
306
316
  component: string;
307
- permission: string & import("zod").$brand<"PermissionKey">;
317
+ permission: string & z.$brand<"PermissionKey">;
308
318
  }[] | undefined;
309
319
  } | undefined;
310
320
  };
311
321
  export declare const atomicModManifest: {
312
- id: string & import("zod").$brand<"ModuleId">;
322
+ id: string & z.$brand<"ModuleId">;
313
323
  version: string;
314
324
  kernelContract: string;
315
325
  permissions: {
316
- key: string & import("zod").$brand<"PermissionKey">;
326
+ key: string & z.$brand<"PermissionKey">;
317
327
  description: string;
318
328
  }[];
319
329
  events: {
@@ -332,8 +342,8 @@ export declare const atomicModManifest: {
332
342
  };
333
343
  attachmentTargets: {
334
344
  entityType: string;
335
- readPermission: string & import("zod").$brand<"PermissionKey">;
336
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
345
+ readPermission: string & z.$brand<"PermissionKey">;
346
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
337
347
  }[];
338
348
  entityRelations?: {
339
349
  entityType: string;
@@ -350,7 +360,7 @@ export declare const atomicModManifest: {
350
360
  everyMinutes: number;
351
361
  };
352
362
  input?: Record<string, unknown> | undefined;
353
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
363
+ permissions: (string & z.$brand<"PermissionKey">)[];
354
364
  }[] | undefined;
355
365
  withdraws?: string[] | undefined;
356
366
  entitlementKey: string;
@@ -364,7 +374,7 @@ export declare const atomicModManifest: {
364
374
  default?: string | undefined;
365
375
  group?: string | undefined;
366
376
  }[] | undefined;
367
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
377
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
368
378
  entitlements?: string[] | undefined;
369
379
  provides?: string[] | undefined;
370
380
  requires?: string[] | undefined;
@@ -387,13 +397,13 @@ export declare const atomicModManifest: {
387
397
  routes?: {
388
398
  path: string;
389
399
  screen: string;
390
- permission: string & import("zod").$brand<"PermissionKey">;
400
+ permission: string & z.$brand<"PermissionKey">;
391
401
  }[] | undefined;
392
402
  nav?: {
393
403
  label: string;
394
404
  icon?: string | undefined;
395
405
  to: string;
396
- permission: string & import("zod").$brand<"PermissionKey">;
406
+ permission: string & z.$brand<"PermissionKey">;
397
407
  }[] | undefined;
398
408
  entityViews?: {
399
409
  entityType: string;
@@ -402,21 +412,21 @@ export declare const atomicModManifest: {
402
412
  widgets?: {
403
413
  slot: string;
404
414
  component: string;
405
- permission: string & import("zod").$brand<"PermissionKey">;
415
+ permission: string & z.$brand<"PermissionKey">;
406
416
  }[] | undefined;
407
417
  settingsPanels?: {
408
418
  label: string;
409
419
  component: string;
410
- permission: string & import("zod").$brand<"PermissionKey">;
420
+ permission: string & z.$brand<"PermissionKey">;
411
421
  }[] | undefined;
412
422
  } | undefined;
413
423
  };
414
424
  export declare const lateModManifest: {
415
- id: string & import("zod").$brand<"ModuleId">;
425
+ id: string & z.$brand<"ModuleId">;
416
426
  version: string;
417
427
  kernelContract: string;
418
428
  permissions: {
419
- key: string & import("zod").$brand<"PermissionKey">;
429
+ key: string & z.$brand<"PermissionKey">;
420
430
  description: string;
421
431
  }[];
422
432
  events: {
@@ -435,8 +445,8 @@ export declare const lateModManifest: {
435
445
  };
436
446
  attachmentTargets: {
437
447
  entityType: string;
438
- readPermission: string & import("zod").$brand<"PermissionKey">;
439
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
448
+ readPermission: string & z.$brand<"PermissionKey">;
449
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
440
450
  }[];
441
451
  entityRelations?: {
442
452
  entityType: string;
@@ -453,7 +463,7 @@ export declare const lateModManifest: {
453
463
  everyMinutes: number;
454
464
  };
455
465
  input?: Record<string, unknown> | undefined;
456
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
466
+ permissions: (string & z.$brand<"PermissionKey">)[];
457
467
  }[] | undefined;
458
468
  withdraws?: string[] | undefined;
459
469
  entitlementKey: string;
@@ -467,7 +477,7 @@ export declare const lateModManifest: {
467
477
  default?: string | undefined;
468
478
  group?: string | undefined;
469
479
  }[] | undefined;
470
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
480
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
471
481
  entitlements?: string[] | undefined;
472
482
  provides?: string[] | undefined;
473
483
  requires?: string[] | undefined;
@@ -490,13 +500,13 @@ export declare const lateModManifest: {
490
500
  routes?: {
491
501
  path: string;
492
502
  screen: string;
493
- permission: string & import("zod").$brand<"PermissionKey">;
503
+ permission: string & z.$brand<"PermissionKey">;
494
504
  }[] | undefined;
495
505
  nav?: {
496
506
  label: string;
497
507
  icon?: string | undefined;
498
508
  to: string;
499
- permission: string & import("zod").$brand<"PermissionKey">;
509
+ permission: string & z.$brand<"PermissionKey">;
500
510
  }[] | undefined;
501
511
  entityViews?: {
502
512
  entityType: string;
@@ -505,21 +515,21 @@ export declare const lateModManifest: {
505
515
  widgets?: {
506
516
  slot: string;
507
517
  component: string;
508
- permission: string & import("zod").$brand<"PermissionKey">;
518
+ permission: string & z.$brand<"PermissionKey">;
509
519
  }[] | undefined;
510
520
  settingsPanels?: {
511
521
  label: string;
512
522
  component: string;
513
- permission: string & import("zod").$brand<"PermissionKey">;
523
+ permission: string & z.$brand<"PermissionKey">;
514
524
  }[] | undefined;
515
525
  } | undefined;
516
526
  };
517
527
  export declare const billedModManifest: {
518
- id: string & import("zod").$brand<"ModuleId">;
528
+ id: string & z.$brand<"ModuleId">;
519
529
  version: string;
520
530
  kernelContract: string;
521
531
  permissions: {
522
- key: string & import("zod").$brand<"PermissionKey">;
532
+ key: string & z.$brand<"PermissionKey">;
523
533
  description: string;
524
534
  }[];
525
535
  events: {
@@ -538,8 +548,8 @@ export declare const billedModManifest: {
538
548
  };
539
549
  attachmentTargets: {
540
550
  entityType: string;
541
- readPermission: string & import("zod").$brand<"PermissionKey">;
542
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
551
+ readPermission: string & z.$brand<"PermissionKey">;
552
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
543
553
  }[];
544
554
  entityRelations?: {
545
555
  entityType: string;
@@ -556,7 +566,7 @@ export declare const billedModManifest: {
556
566
  everyMinutes: number;
557
567
  };
558
568
  input?: Record<string, unknown> | undefined;
559
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
569
+ permissions: (string & z.$brand<"PermissionKey">)[];
560
570
  }[] | undefined;
561
571
  withdraws?: string[] | undefined;
562
572
  entitlementKey: string;
@@ -570,7 +580,7 @@ export declare const billedModManifest: {
570
580
  default?: string | undefined;
571
581
  group?: string | undefined;
572
582
  }[] | undefined;
573
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
583
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
574
584
  entitlements?: string[] | undefined;
575
585
  provides?: string[] | undefined;
576
586
  requires?: string[] | undefined;
@@ -593,13 +603,13 @@ export declare const billedModManifest: {
593
603
  routes?: {
594
604
  path: string;
595
605
  screen: string;
596
- permission: string & import("zod").$brand<"PermissionKey">;
606
+ permission: string & z.$brand<"PermissionKey">;
597
607
  }[] | undefined;
598
608
  nav?: {
599
609
  label: string;
600
610
  icon?: string | undefined;
601
611
  to: string;
602
- permission: string & import("zod").$brand<"PermissionKey">;
612
+ permission: string & z.$brand<"PermissionKey">;
603
613
  }[] | undefined;
604
614
  entityViews?: {
605
615
  entityType: string;
@@ -608,21 +618,21 @@ export declare const billedModManifest: {
608
618
  widgets?: {
609
619
  slot: string;
610
620
  component: string;
611
- permission: string & import("zod").$brand<"PermissionKey">;
621
+ permission: string & z.$brand<"PermissionKey">;
612
622
  }[] | undefined;
613
623
  settingsPanels?: {
614
624
  label: string;
615
625
  component: string;
616
- permission: string & import("zod").$brand<"PermissionKey">;
626
+ permission: string & z.$brand<"PermissionKey">;
617
627
  }[] | undefined;
618
628
  } | undefined;
619
629
  };
620
630
  export declare const guardedModManifest: {
621
- id: string & import("zod").$brand<"ModuleId">;
631
+ id: string & z.$brand<"ModuleId">;
622
632
  version: string;
623
633
  kernelContract: string;
624
634
  permissions: {
625
- key: string & import("zod").$brand<"PermissionKey">;
635
+ key: string & z.$brand<"PermissionKey">;
626
636
  description: string;
627
637
  }[];
628
638
  events: {
@@ -641,8 +651,8 @@ export declare const guardedModManifest: {
641
651
  };
642
652
  attachmentTargets: {
643
653
  entityType: string;
644
- readPermission: string & import("zod").$brand<"PermissionKey">;
645
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
654
+ readPermission: string & z.$brand<"PermissionKey">;
655
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
646
656
  }[];
647
657
  entityRelations?: {
648
658
  entityType: string;
@@ -659,7 +669,7 @@ export declare const guardedModManifest: {
659
669
  everyMinutes: number;
660
670
  };
661
671
  input?: Record<string, unknown> | undefined;
662
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
672
+ permissions: (string & z.$brand<"PermissionKey">)[];
663
673
  }[] | undefined;
664
674
  withdraws?: string[] | undefined;
665
675
  entitlementKey: string;
@@ -673,7 +683,7 @@ export declare const guardedModManifest: {
673
683
  default?: string | undefined;
674
684
  group?: string | undefined;
675
685
  }[] | undefined;
676
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
686
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
677
687
  entitlements?: string[] | undefined;
678
688
  provides?: string[] | undefined;
679
689
  requires?: string[] | undefined;
@@ -696,13 +706,13 @@ export declare const guardedModManifest: {
696
706
  routes?: {
697
707
  path: string;
698
708
  screen: string;
699
- permission: string & import("zod").$brand<"PermissionKey">;
709
+ permission: string & z.$brand<"PermissionKey">;
700
710
  }[] | undefined;
701
711
  nav?: {
702
712
  label: string;
703
713
  icon?: string | undefined;
704
714
  to: string;
705
- permission: string & import("zod").$brand<"PermissionKey">;
715
+ permission: string & z.$brand<"PermissionKey">;
706
716
  }[] | undefined;
707
717
  entityViews?: {
708
718
  entityType: string;
@@ -711,21 +721,21 @@ export declare const guardedModManifest: {
711
721
  widgets?: {
712
722
  slot: string;
713
723
  component: string;
714
- permission: string & import("zod").$brand<"PermissionKey">;
724
+ permission: string & z.$brand<"PermissionKey">;
715
725
  }[] | undefined;
716
726
  settingsPanels?: {
717
727
  label: string;
718
728
  component: string;
719
- permission: string & import("zod").$brand<"PermissionKey">;
729
+ permission: string & z.$brand<"PermissionKey">;
720
730
  }[] | undefined;
721
731
  } | undefined;
722
732
  };
723
733
  export declare const withdrawEarlyManifest: {
724
- id: string & import("zod").$brand<"ModuleId">;
734
+ id: string & z.$brand<"ModuleId">;
725
735
  version: string;
726
736
  kernelContract: string;
727
737
  permissions: {
728
- key: string & import("zod").$brand<"PermissionKey">;
738
+ key: string & z.$brand<"PermissionKey">;
729
739
  description: string;
730
740
  }[];
731
741
  events: {
@@ -744,8 +754,8 @@ export declare const withdrawEarlyManifest: {
744
754
  };
745
755
  attachmentTargets: {
746
756
  entityType: string;
747
- readPermission: string & import("zod").$brand<"PermissionKey">;
748
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
757
+ readPermission: string & z.$brand<"PermissionKey">;
758
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
749
759
  }[];
750
760
  entityRelations?: {
751
761
  entityType: string;
@@ -762,7 +772,7 @@ export declare const withdrawEarlyManifest: {
762
772
  everyMinutes: number;
763
773
  };
764
774
  input?: Record<string, unknown> | undefined;
765
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
775
+ permissions: (string & z.$brand<"PermissionKey">)[];
766
776
  }[] | undefined;
767
777
  withdraws?: string[] | undefined;
768
778
  entitlementKey: string;
@@ -776,7 +786,7 @@ export declare const withdrawEarlyManifest: {
776
786
  default?: string | undefined;
777
787
  group?: string | undefined;
778
788
  }[] | undefined;
779
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
789
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
780
790
  entitlements?: string[] | undefined;
781
791
  provides?: string[] | undefined;
782
792
  requires?: string[] | undefined;
@@ -799,13 +809,13 @@ export declare const withdrawEarlyManifest: {
799
809
  routes?: {
800
810
  path: string;
801
811
  screen: string;
802
- permission: string & import("zod").$brand<"PermissionKey">;
812
+ permission: string & z.$brand<"PermissionKey">;
803
813
  }[] | undefined;
804
814
  nav?: {
805
815
  label: string;
806
816
  icon?: string | undefined;
807
817
  to: string;
808
- permission: string & import("zod").$brand<"PermissionKey">;
818
+ permission: string & z.$brand<"PermissionKey">;
809
819
  }[] | undefined;
810
820
  entityViews?: {
811
821
  entityType: string;
@@ -814,21 +824,21 @@ export declare const withdrawEarlyManifest: {
814
824
  widgets?: {
815
825
  slot: string;
816
826
  component: string;
817
- permission: string & import("zod").$brand<"PermissionKey">;
827
+ permission: string & z.$brand<"PermissionKey">;
818
828
  }[] | undefined;
819
829
  settingsPanels?: {
820
830
  label: string;
821
831
  component: string;
822
- permission: string & import("zod").$brand<"PermissionKey">;
832
+ permission: string & z.$brand<"PermissionKey">;
823
833
  }[] | undefined;
824
834
  } | undefined;
825
835
  };
826
836
  export declare const victimModManifest: {
827
- id: string & import("zod").$brand<"ModuleId">;
837
+ id: string & z.$brand<"ModuleId">;
828
838
  version: string;
829
839
  kernelContract: string;
830
840
  permissions: {
831
- key: string & import("zod").$brand<"PermissionKey">;
841
+ key: string & z.$brand<"PermissionKey">;
832
842
  description: string;
833
843
  }[];
834
844
  events: {
@@ -847,8 +857,8 @@ export declare const victimModManifest: {
847
857
  };
848
858
  attachmentTargets: {
849
859
  entityType: string;
850
- readPermission: string & import("zod").$brand<"PermissionKey">;
851
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
860
+ readPermission: string & z.$brand<"PermissionKey">;
861
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
852
862
  }[];
853
863
  entityRelations?: {
854
864
  entityType: string;
@@ -865,7 +875,7 @@ export declare const victimModManifest: {
865
875
  everyMinutes: number;
866
876
  };
867
877
  input?: Record<string, unknown> | undefined;
868
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
878
+ permissions: (string & z.$brand<"PermissionKey">)[];
869
879
  }[] | undefined;
870
880
  withdraws?: string[] | undefined;
871
881
  entitlementKey: string;
@@ -879,7 +889,7 @@ export declare const victimModManifest: {
879
889
  default?: string | undefined;
880
890
  group?: string | undefined;
881
891
  }[] | undefined;
882
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
892
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
883
893
  entitlements?: string[] | undefined;
884
894
  provides?: string[] | undefined;
885
895
  requires?: string[] | undefined;
@@ -902,13 +912,13 @@ export declare const victimModManifest: {
902
912
  routes?: {
903
913
  path: string;
904
914
  screen: string;
905
- permission: string & import("zod").$brand<"PermissionKey">;
915
+ permission: string & z.$brand<"PermissionKey">;
906
916
  }[] | undefined;
907
917
  nav?: {
908
918
  label: string;
909
919
  icon?: string | undefined;
910
920
  to: string;
911
- permission: string & import("zod").$brand<"PermissionKey">;
921
+ permission: string & z.$brand<"PermissionKey">;
912
922
  }[] | undefined;
913
923
  entityViews?: {
914
924
  entityType: string;
@@ -917,21 +927,21 @@ export declare const victimModManifest: {
917
927
  widgets?: {
918
928
  slot: string;
919
929
  component: string;
920
- permission: string & import("zod").$brand<"PermissionKey">;
930
+ permission: string & z.$brand<"PermissionKey">;
921
931
  }[] | undefined;
922
932
  settingsPanels?: {
923
933
  label: string;
924
934
  component: string;
925
- permission: string & import("zod").$brand<"PermissionKey">;
935
+ permission: string & z.$brand<"PermissionKey">;
926
936
  }[] | undefined;
927
937
  } | undefined;
928
938
  };
929
939
  export declare const withdrawLateManifest: {
930
- id: string & import("zod").$brand<"ModuleId">;
940
+ id: string & z.$brand<"ModuleId">;
931
941
  version: string;
932
942
  kernelContract: string;
933
943
  permissions: {
934
- key: string & import("zod").$brand<"PermissionKey">;
944
+ key: string & z.$brand<"PermissionKey">;
935
945
  description: string;
936
946
  }[];
937
947
  events: {
@@ -950,8 +960,8 @@ export declare const withdrawLateManifest: {
950
960
  };
951
961
  attachmentTargets: {
952
962
  entityType: string;
953
- readPermission: string & import("zod").$brand<"PermissionKey">;
954
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
963
+ readPermission: string & z.$brand<"PermissionKey">;
964
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
955
965
  }[];
956
966
  entityRelations?: {
957
967
  entityType: string;
@@ -968,7 +978,7 @@ export declare const withdrawLateManifest: {
968
978
  everyMinutes: number;
969
979
  };
970
980
  input?: Record<string, unknown> | undefined;
971
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
981
+ permissions: (string & z.$brand<"PermissionKey">)[];
972
982
  }[] | undefined;
973
983
  withdraws?: string[] | undefined;
974
984
  entitlementKey: string;
@@ -982,7 +992,7 @@ export declare const withdrawLateManifest: {
982
992
  default?: string | undefined;
983
993
  group?: string | undefined;
984
994
  }[] | undefined;
985
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
995
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
986
996
  entitlements?: string[] | undefined;
987
997
  provides?: string[] | undefined;
988
998
  requires?: string[] | undefined;
@@ -1005,13 +1015,13 @@ export declare const withdrawLateManifest: {
1005
1015
  routes?: {
1006
1016
  path: string;
1007
1017
  screen: string;
1008
- permission: string & import("zod").$brand<"PermissionKey">;
1018
+ permission: string & z.$brand<"PermissionKey">;
1009
1019
  }[] | undefined;
1010
1020
  nav?: {
1011
1021
  label: string;
1012
1022
  icon?: string | undefined;
1013
1023
  to: string;
1014
- permission: string & import("zod").$brand<"PermissionKey">;
1024
+ permission: string & z.$brand<"PermissionKey">;
1015
1025
  }[] | undefined;
1016
1026
  entityViews?: {
1017
1027
  entityType: string;
@@ -1020,21 +1030,21 @@ export declare const withdrawLateManifest: {
1020
1030
  widgets?: {
1021
1031
  slot: string;
1022
1032
  component: string;
1023
- permission: string & import("zod").$brand<"PermissionKey">;
1033
+ permission: string & z.$brand<"PermissionKey">;
1024
1034
  }[] | undefined;
1025
1035
  settingsPanels?: {
1026
1036
  label: string;
1027
1037
  component: string;
1028
- permission: string & import("zod").$brand<"PermissionKey">;
1038
+ permission: string & z.$brand<"PermissionKey">;
1029
1039
  }[] | undefined;
1030
1040
  } | undefined;
1031
1041
  };
1032
1042
  export declare const gateModManifest: {
1033
- id: string & import("zod").$brand<"ModuleId">;
1043
+ id: string & z.$brand<"ModuleId">;
1034
1044
  version: string;
1035
1045
  kernelContract: string;
1036
1046
  permissions: {
1037
- key: string & import("zod").$brand<"PermissionKey">;
1047
+ key: string & z.$brand<"PermissionKey">;
1038
1048
  description: string;
1039
1049
  }[];
1040
1050
  events: {
@@ -1053,8 +1063,8 @@ export declare const gateModManifest: {
1053
1063
  };
1054
1064
  attachmentTargets: {
1055
1065
  entityType: string;
1056
- readPermission: string & import("zod").$brand<"PermissionKey">;
1057
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
1066
+ readPermission: string & z.$brand<"PermissionKey">;
1067
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1058
1068
  }[];
1059
1069
  entityRelations?: {
1060
1070
  entityType: string;
@@ -1071,7 +1081,7 @@ export declare const gateModManifest: {
1071
1081
  everyMinutes: number;
1072
1082
  };
1073
1083
  input?: Record<string, unknown> | undefined;
1074
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
1084
+ permissions: (string & z.$brand<"PermissionKey">)[];
1075
1085
  }[] | undefined;
1076
1086
  withdraws?: string[] | undefined;
1077
1087
  entitlementKey: string;
@@ -1085,7 +1095,7 @@ export declare const gateModManifest: {
1085
1095
  default?: string | undefined;
1086
1096
  group?: string | undefined;
1087
1097
  }[] | undefined;
1088
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
1098
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1089
1099
  entitlements?: string[] | undefined;
1090
1100
  provides?: string[] | undefined;
1091
1101
  requires?: string[] | undefined;
@@ -1108,13 +1118,13 @@ export declare const gateModManifest: {
1108
1118
  routes?: {
1109
1119
  path: string;
1110
1120
  screen: string;
1111
- permission: string & import("zod").$brand<"PermissionKey">;
1121
+ permission: string & z.$brand<"PermissionKey">;
1112
1122
  }[] | undefined;
1113
1123
  nav?: {
1114
1124
  label: string;
1115
1125
  icon?: string | undefined;
1116
1126
  to: string;
1117
- permission: string & import("zod").$brand<"PermissionKey">;
1127
+ permission: string & z.$brand<"PermissionKey">;
1118
1128
  }[] | undefined;
1119
1129
  entityViews?: {
1120
1130
  entityType: string;
@@ -1123,21 +1133,21 @@ export declare const gateModManifest: {
1123
1133
  widgets?: {
1124
1134
  slot: string;
1125
1135
  component: string;
1126
- permission: string & import("zod").$brand<"PermissionKey">;
1136
+ permission: string & z.$brand<"PermissionKey">;
1127
1137
  }[] | undefined;
1128
1138
  settingsPanels?: {
1129
1139
  label: string;
1130
1140
  component: string;
1131
- permission: string & import("zod").$brand<"PermissionKey">;
1141
+ permission: string & z.$brand<"PermissionKey">;
1132
1142
  }[] | undefined;
1133
1143
  } | undefined;
1134
1144
  };
1135
1145
  export declare const permModManifest: {
1136
- id: string & import("zod").$brand<"ModuleId">;
1146
+ id: string & z.$brand<"ModuleId">;
1137
1147
  version: string;
1138
1148
  kernelContract: string;
1139
1149
  permissions: {
1140
- key: string & import("zod").$brand<"PermissionKey">;
1150
+ key: string & z.$brand<"PermissionKey">;
1141
1151
  description: string;
1142
1152
  }[];
1143
1153
  events: {
@@ -1156,8 +1166,8 @@ export declare const permModManifest: {
1156
1166
  };
1157
1167
  attachmentTargets: {
1158
1168
  entityType: string;
1159
- readPermission: string & import("zod").$brand<"PermissionKey">;
1160
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
1169
+ readPermission: string & z.$brand<"PermissionKey">;
1170
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1161
1171
  }[];
1162
1172
  entityRelations?: {
1163
1173
  entityType: string;
@@ -1174,7 +1184,7 @@ export declare const permModManifest: {
1174
1184
  everyMinutes: number;
1175
1185
  };
1176
1186
  input?: Record<string, unknown> | undefined;
1177
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
1187
+ permissions: (string & z.$brand<"PermissionKey">)[];
1178
1188
  }[] | undefined;
1179
1189
  withdraws?: string[] | undefined;
1180
1190
  entitlementKey: string;
@@ -1188,7 +1198,7 @@ export declare const permModManifest: {
1188
1198
  default?: string | undefined;
1189
1199
  group?: string | undefined;
1190
1200
  }[] | undefined;
1191
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
1201
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1192
1202
  entitlements?: string[] | undefined;
1193
1203
  provides?: string[] | undefined;
1194
1204
  requires?: string[] | undefined;
@@ -1211,13 +1221,13 @@ export declare const permModManifest: {
1211
1221
  routes?: {
1212
1222
  path: string;
1213
1223
  screen: string;
1214
- permission: string & import("zod").$brand<"PermissionKey">;
1224
+ permission: string & z.$brand<"PermissionKey">;
1215
1225
  }[] | undefined;
1216
1226
  nav?: {
1217
1227
  label: string;
1218
1228
  icon?: string | undefined;
1219
1229
  to: string;
1220
- permission: string & import("zod").$brand<"PermissionKey">;
1230
+ permission: string & z.$brand<"PermissionKey">;
1221
1231
  }[] | undefined;
1222
1232
  entityViews?: {
1223
1233
  entityType: string;
@@ -1226,12 +1236,12 @@ export declare const permModManifest: {
1226
1236
  widgets?: {
1227
1237
  slot: string;
1228
1238
  component: string;
1229
- permission: string & import("zod").$brand<"PermissionKey">;
1239
+ permission: string & z.$brand<"PermissionKey">;
1230
1240
  }[] | undefined;
1231
1241
  settingsPanels?: {
1232
1242
  label: string;
1233
1243
  component: string;
1234
- permission: string & import("zod").$brand<"PermissionKey">;
1244
+ permission: string & z.$brand<"PermissionKey">;
1235
1245
  }[] | undefined;
1236
1246
  } | undefined;
1237
1247
  };
@@ -1249,11 +1259,11 @@ export declare const lateMod: ModuleRegistration;
1249
1259
  export declare const billedMod: ModuleRegistration;
1250
1260
  export declare const permMod: ModuleRegistration;
1251
1261
  export declare const connectorModManifest: {
1252
- id: string & import("zod").$brand<"ModuleId">;
1262
+ id: string & z.$brand<"ModuleId">;
1253
1263
  version: string;
1254
1264
  kernelContract: string;
1255
1265
  permissions: {
1256
- key: string & import("zod").$brand<"PermissionKey">;
1266
+ key: string & z.$brand<"PermissionKey">;
1257
1267
  description: string;
1258
1268
  }[];
1259
1269
  events: {
@@ -1272,8 +1282,8 @@ export declare const connectorModManifest: {
1272
1282
  };
1273
1283
  attachmentTargets: {
1274
1284
  entityType: string;
1275
- readPermission: string & import("zod").$brand<"PermissionKey">;
1276
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
1285
+ readPermission: string & z.$brand<"PermissionKey">;
1286
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1277
1287
  }[];
1278
1288
  entityRelations?: {
1279
1289
  entityType: string;
@@ -1290,7 +1300,7 @@ export declare const connectorModManifest: {
1290
1300
  everyMinutes: number;
1291
1301
  };
1292
1302
  input?: Record<string, unknown> | undefined;
1293
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
1303
+ permissions: (string & z.$brand<"PermissionKey">)[];
1294
1304
  }[] | undefined;
1295
1305
  withdraws?: string[] | undefined;
1296
1306
  entitlementKey: string;
@@ -1304,7 +1314,7 @@ export declare const connectorModManifest: {
1304
1314
  default?: string | undefined;
1305
1315
  group?: string | undefined;
1306
1316
  }[] | undefined;
1307
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
1317
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1308
1318
  entitlements?: string[] | undefined;
1309
1319
  provides?: string[] | undefined;
1310
1320
  requires?: string[] | undefined;
@@ -1327,13 +1337,13 @@ export declare const connectorModManifest: {
1327
1337
  routes?: {
1328
1338
  path: string;
1329
1339
  screen: string;
1330
- permission: string & import("zod").$brand<"PermissionKey">;
1340
+ permission: string & z.$brand<"PermissionKey">;
1331
1341
  }[] | undefined;
1332
1342
  nav?: {
1333
1343
  label: string;
1334
1344
  icon?: string | undefined;
1335
1345
  to: string;
1336
- permission: string & import("zod").$brand<"PermissionKey">;
1346
+ permission: string & z.$brand<"PermissionKey">;
1337
1347
  }[] | undefined;
1338
1348
  entityViews?: {
1339
1349
  entityType: string;
@@ -1342,12 +1352,12 @@ export declare const connectorModManifest: {
1342
1352
  widgets?: {
1343
1353
  slot: string;
1344
1354
  component: string;
1345
- permission: string & import("zod").$brand<"PermissionKey">;
1355
+ permission: string & z.$brand<"PermissionKey">;
1346
1356
  }[] | undefined;
1347
1357
  settingsPanels?: {
1348
1358
  label: string;
1349
1359
  component: string;
1350
- permission: string & import("zod").$brand<"PermissionKey">;
1360
+ permission: string & z.$brand<"PermissionKey">;
1351
1361
  }[] | undefined;
1352
1362
  } | undefined;
1353
1363
  };
@@ -1383,11 +1393,11 @@ export declare const contractTestInitialModules: ModuleRegistration[];
1383
1393
  * fixture, which is the one place the enrichment is worth restating.
1384
1394
  */
1385
1395
  export declare const listModManifest: {
1386
- id: string & import("zod").$brand<"ModuleId">;
1396
+ id: string & z.$brand<"ModuleId">;
1387
1397
  version: string;
1388
1398
  kernelContract: string;
1389
1399
  permissions: {
1390
- key: string & import("zod").$brand<"PermissionKey">;
1400
+ key: string & z.$brand<"PermissionKey">;
1391
1401
  description: string;
1392
1402
  }[];
1393
1403
  events: {
@@ -1406,8 +1416,8 @@ export declare const listModManifest: {
1406
1416
  };
1407
1417
  attachmentTargets: {
1408
1418
  entityType: string;
1409
- readPermission: string & import("zod").$brand<"PermissionKey">;
1410
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
1419
+ readPermission: string & z.$brand<"PermissionKey">;
1420
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1411
1421
  }[];
1412
1422
  entityRelations?: {
1413
1423
  entityType: string;
@@ -1424,7 +1434,7 @@ export declare const listModManifest: {
1424
1434
  everyMinutes: number;
1425
1435
  };
1426
1436
  input?: Record<string, unknown> | undefined;
1427
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
1437
+ permissions: (string & z.$brand<"PermissionKey">)[];
1428
1438
  }[] | undefined;
1429
1439
  withdraws?: string[] | undefined;
1430
1440
  entitlementKey: string;
@@ -1438,7 +1448,7 @@ export declare const listModManifest: {
1438
1448
  default?: string | undefined;
1439
1449
  group?: string | undefined;
1440
1450
  }[] | undefined;
1441
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
1451
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1442
1452
  entitlements?: string[] | undefined;
1443
1453
  provides?: string[] | undefined;
1444
1454
  requires?: string[] | undefined;
@@ -1461,13 +1471,13 @@ export declare const listModManifest: {
1461
1471
  routes?: {
1462
1472
  path: string;
1463
1473
  screen: string;
1464
- permission: string & import("zod").$brand<"PermissionKey">;
1474
+ permission: string & z.$brand<"PermissionKey">;
1465
1475
  }[] | undefined;
1466
1476
  nav?: {
1467
1477
  label: string;
1468
1478
  icon?: string | undefined;
1469
1479
  to: string;
1470
- permission: string & import("zod").$brand<"PermissionKey">;
1480
+ permission: string & z.$brand<"PermissionKey">;
1471
1481
  }[] | undefined;
1472
1482
  entityViews?: {
1473
1483
  entityType: string;
@@ -1476,22 +1486,22 @@ export declare const listModManifest: {
1476
1486
  widgets?: {
1477
1487
  slot: string;
1478
1488
  component: string;
1479
- permission: string & import("zod").$brand<"PermissionKey">;
1489
+ permission: string & z.$brand<"PermissionKey">;
1480
1490
  }[] | undefined;
1481
1491
  settingsPanels?: {
1482
1492
  label: string;
1483
1493
  component: string;
1484
- permission: string & import("zod").$brand<"PermissionKey">;
1494
+ permission: string & z.$brand<"PermissionKey">;
1485
1495
  }[] | undefined;
1486
1496
  } | undefined;
1487
1497
  };
1488
1498
  export declare const listMod: ModuleRegistration;
1489
1499
  export declare const searchModManifest: {
1490
- id: string & import("zod").$brand<"ModuleId">;
1500
+ id: string & z.$brand<"ModuleId">;
1491
1501
  version: string;
1492
1502
  kernelContract: string;
1493
1503
  permissions: {
1494
- key: string & import("zod").$brand<"PermissionKey">;
1504
+ key: string & z.$brand<"PermissionKey">;
1495
1505
  description: string;
1496
1506
  }[];
1497
1507
  events: {
@@ -1510,8 +1520,8 @@ export declare const searchModManifest: {
1510
1520
  };
1511
1521
  attachmentTargets: {
1512
1522
  entityType: string;
1513
- readPermission: string & import("zod").$brand<"PermissionKey">;
1514
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
1523
+ readPermission: string & z.$brand<"PermissionKey">;
1524
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1515
1525
  }[];
1516
1526
  entityRelations?: {
1517
1527
  entityType: string;
@@ -1528,7 +1538,7 @@ export declare const searchModManifest: {
1528
1538
  everyMinutes: number;
1529
1539
  };
1530
1540
  input?: Record<string, unknown> | undefined;
1531
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
1541
+ permissions: (string & z.$brand<"PermissionKey">)[];
1532
1542
  }[] | undefined;
1533
1543
  withdraws?: string[] | undefined;
1534
1544
  entitlementKey: string;
@@ -1542,7 +1552,7 @@ export declare const searchModManifest: {
1542
1552
  default?: string | undefined;
1543
1553
  group?: string | undefined;
1544
1554
  }[] | undefined;
1545
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
1555
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1546
1556
  entitlements?: string[] | undefined;
1547
1557
  provides?: string[] | undefined;
1548
1558
  requires?: string[] | undefined;
@@ -1565,13 +1575,13 @@ export declare const searchModManifest: {
1565
1575
  routes?: {
1566
1576
  path: string;
1567
1577
  screen: string;
1568
- permission: string & import("zod").$brand<"PermissionKey">;
1578
+ permission: string & z.$brand<"PermissionKey">;
1569
1579
  }[] | undefined;
1570
1580
  nav?: {
1571
1581
  label: string;
1572
1582
  icon?: string | undefined;
1573
1583
  to: string;
1574
- permission: string & import("zod").$brand<"PermissionKey">;
1584
+ permission: string & z.$brand<"PermissionKey">;
1575
1585
  }[] | undefined;
1576
1586
  entityViews?: {
1577
1587
  entityType: string;
@@ -1580,23 +1590,231 @@ export declare const searchModManifest: {
1580
1590
  widgets?: {
1581
1591
  slot: string;
1582
1592
  component: string;
1583
- permission: string & import("zod").$brand<"PermissionKey">;
1593
+ permission: string & z.$brand<"PermissionKey">;
1584
1594
  }[] | undefined;
1585
1595
  settingsPanels?: {
1586
1596
  label: string;
1587
1597
  component: string;
1588
- permission: string & import("zod").$brand<"PermissionKey">;
1598
+ permission: string & z.$brand<"PermissionKey">;
1589
1599
  }[] | undefined;
1590
1600
  } | undefined;
1591
1601
  };
1592
1602
  export declare const searchMod: ModuleRegistration;
1603
+ export declare const parseModManifest: {
1604
+ id: string & z.$brand<"ModuleId">;
1605
+ version: string;
1606
+ kernelContract: string;
1607
+ permissions: {
1608
+ key: string & z.$brand<"PermissionKey">;
1609
+ description: string;
1610
+ }[];
1611
+ events: {
1612
+ emits: {
1613
+ type: string;
1614
+ schemaVersion: number;
1615
+ }[];
1616
+ consumes: {
1617
+ type: string;
1618
+ schemaVersion: number;
1619
+ }[];
1620
+ };
1621
+ migrations: {
1622
+ journalDir: string;
1623
+ compatibleFrom: string;
1624
+ };
1625
+ attachmentTargets: {
1626
+ entityType: string;
1627
+ readPermission: string & z.$brand<"PermissionKey">;
1628
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1629
+ }[];
1630
+ entityRelations?: {
1631
+ entityType: string;
1632
+ parentType: string;
1633
+ }[] | undefined;
1634
+ guards?: {
1635
+ before: string;
1636
+ predicate: string;
1637
+ config: Record<string, unknown>;
1638
+ }[] | undefined;
1639
+ schedules?: {
1640
+ operation: string;
1641
+ cadence: {
1642
+ everyMinutes: number;
1643
+ };
1644
+ input?: Record<string, unknown> | undefined;
1645
+ permissions: (string & z.$brand<"PermissionKey">)[];
1646
+ }[] | undefined;
1647
+ withdraws?: string[] | undefined;
1648
+ entitlementKey: string;
1649
+ envSpec?: {
1650
+ key: string;
1651
+ label?: string | undefined;
1652
+ description: string;
1653
+ placeholder?: string | undefined;
1654
+ required: boolean;
1655
+ secret: boolean;
1656
+ default?: string | undefined;
1657
+ group?: string | undefined;
1658
+ }[] | undefined;
1659
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1660
+ entitlements?: string[] | undefined;
1661
+ provides?: string[] | undefined;
1662
+ requires?: string[] | undefined;
1663
+ api?: string | undefined;
1664
+ searchables?: {
1665
+ entityType: string;
1666
+ fields: string[];
1667
+ table?: string | undefined;
1668
+ idColumn?: string | undefined;
1669
+ tokenizer?: "prefix" | "substring" | undefined;
1670
+ }[] | undefined;
1671
+ lists?: {
1672
+ entityType: string;
1673
+ sortable: string[];
1674
+ filterable?: string[] | undefined;
1675
+ table?: string | undefined;
1676
+ idColumn?: string | undefined;
1677
+ }[] | undefined;
1678
+ ui?: {
1679
+ routes?: {
1680
+ path: string;
1681
+ screen: string;
1682
+ permission: string & z.$brand<"PermissionKey">;
1683
+ }[] | undefined;
1684
+ nav?: {
1685
+ label: string;
1686
+ icon?: string | undefined;
1687
+ to: string;
1688
+ permission: string & z.$brand<"PermissionKey">;
1689
+ }[] | undefined;
1690
+ entityViews?: {
1691
+ entityType: string;
1692
+ view: string;
1693
+ }[] | undefined;
1694
+ widgets?: {
1695
+ slot: string;
1696
+ component: string;
1697
+ permission: string & z.$brand<"PermissionKey">;
1698
+ }[] | undefined;
1699
+ settingsPanels?: {
1700
+ label: string;
1701
+ component: string;
1702
+ permission: string & z.$brand<"PermissionKey">;
1703
+ }[] | undefined;
1704
+ } | undefined;
1705
+ };
1706
+ export declare const parseMod: ModuleRegistration;
1707
+ export declare const concurrencyModManifest: {
1708
+ id: string & z.$brand<"ModuleId">;
1709
+ version: string;
1710
+ kernelContract: string;
1711
+ permissions: {
1712
+ key: string & z.$brand<"PermissionKey">;
1713
+ description: string;
1714
+ }[];
1715
+ events: {
1716
+ emits: {
1717
+ type: string;
1718
+ schemaVersion: number;
1719
+ }[];
1720
+ consumes: {
1721
+ type: string;
1722
+ schemaVersion: number;
1723
+ }[];
1724
+ };
1725
+ migrations: {
1726
+ journalDir: string;
1727
+ compatibleFrom: string;
1728
+ };
1729
+ attachmentTargets: {
1730
+ entityType: string;
1731
+ readPermission: string & z.$brand<"PermissionKey">;
1732
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1733
+ }[];
1734
+ entityRelations?: {
1735
+ entityType: string;
1736
+ parentType: string;
1737
+ }[] | undefined;
1738
+ guards?: {
1739
+ before: string;
1740
+ predicate: string;
1741
+ config: Record<string, unknown>;
1742
+ }[] | undefined;
1743
+ schedules?: {
1744
+ operation: string;
1745
+ cadence: {
1746
+ everyMinutes: number;
1747
+ };
1748
+ input?: Record<string, unknown> | undefined;
1749
+ permissions: (string & z.$brand<"PermissionKey">)[];
1750
+ }[] | undefined;
1751
+ withdraws?: string[] | undefined;
1752
+ entitlementKey: string;
1753
+ envSpec?: {
1754
+ key: string;
1755
+ label?: string | undefined;
1756
+ description: string;
1757
+ placeholder?: string | undefined;
1758
+ required: boolean;
1759
+ secret: boolean;
1760
+ default?: string | undefined;
1761
+ group?: string | undefined;
1762
+ }[] | undefined;
1763
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1764
+ entitlements?: string[] | undefined;
1765
+ provides?: string[] | undefined;
1766
+ requires?: string[] | undefined;
1767
+ api?: string | undefined;
1768
+ searchables?: {
1769
+ entityType: string;
1770
+ fields: string[];
1771
+ table?: string | undefined;
1772
+ idColumn?: string | undefined;
1773
+ tokenizer?: "prefix" | "substring" | undefined;
1774
+ }[] | undefined;
1775
+ lists?: {
1776
+ entityType: string;
1777
+ sortable: string[];
1778
+ filterable?: string[] | undefined;
1779
+ table?: string | undefined;
1780
+ idColumn?: string | undefined;
1781
+ }[] | undefined;
1782
+ ui?: {
1783
+ routes?: {
1784
+ path: string;
1785
+ screen: string;
1786
+ permission: string & z.$brand<"PermissionKey">;
1787
+ }[] | undefined;
1788
+ nav?: {
1789
+ label: string;
1790
+ icon?: string | undefined;
1791
+ to: string;
1792
+ permission: string & z.$brand<"PermissionKey">;
1793
+ }[] | undefined;
1794
+ entityViews?: {
1795
+ entityType: string;
1796
+ view: string;
1797
+ }[] | undefined;
1798
+ widgets?: {
1799
+ slot: string;
1800
+ component: string;
1801
+ permission: string & z.$brand<"PermissionKey">;
1802
+ }[] | undefined;
1803
+ settingsPanels?: {
1804
+ label: string;
1805
+ component: string;
1806
+ permission: string & z.$brand<"PermissionKey">;
1807
+ }[] | undefined;
1808
+ } | undefined;
1809
+ };
1810
+ export declare const concurrencyMod: ModuleRegistration;
1593
1811
  export declare const contractTestModules: ModuleRegistration[];
1594
1812
  export declare const brokenModManifest: {
1595
- id: string & import("zod").$brand<"ModuleId">;
1813
+ id: string & z.$brand<"ModuleId">;
1596
1814
  version: string;
1597
1815
  kernelContract: string;
1598
1816
  permissions: {
1599
- key: string & import("zod").$brand<"PermissionKey">;
1817
+ key: string & z.$brand<"PermissionKey">;
1600
1818
  description: string;
1601
1819
  }[];
1602
1820
  events: {
@@ -1615,8 +1833,8 @@ export declare const brokenModManifest: {
1615
1833
  };
1616
1834
  attachmentTargets: {
1617
1835
  entityType: string;
1618
- readPermission: string & import("zod").$brand<"PermissionKey">;
1619
- writePermission?: (string & import("zod").$brand<"PermissionKey">) | undefined;
1836
+ readPermission: string & z.$brand<"PermissionKey">;
1837
+ writePermission?: (string & z.$brand<"PermissionKey">) | undefined;
1620
1838
  }[];
1621
1839
  entityRelations?: {
1622
1840
  entityType: string;
@@ -1633,7 +1851,7 @@ export declare const brokenModManifest: {
1633
1851
  everyMinutes: number;
1634
1852
  };
1635
1853
  input?: Record<string, unknown> | undefined;
1636
- permissions: (string & import("zod").$brand<"PermissionKey">)[];
1854
+ permissions: (string & z.$brand<"PermissionKey">)[];
1637
1855
  }[] | undefined;
1638
1856
  withdraws?: string[] | undefined;
1639
1857
  entitlementKey: string;
@@ -1647,7 +1865,7 @@ export declare const brokenModManifest: {
1647
1865
  default?: string | undefined;
1648
1866
  group?: string | undefined;
1649
1867
  }[] | undefined;
1650
- ownerGrants?: (string & import("zod").$brand<"PermissionKey">)[] | undefined;
1868
+ ownerGrants?: (string & z.$brand<"PermissionKey">)[] | undefined;
1651
1869
  entitlements?: string[] | undefined;
1652
1870
  provides?: string[] | undefined;
1653
1871
  requires?: string[] | undefined;
@@ -1670,13 +1888,13 @@ export declare const brokenModManifest: {
1670
1888
  routes?: {
1671
1889
  path: string;
1672
1890
  screen: string;
1673
- permission: string & import("zod").$brand<"PermissionKey">;
1891
+ permission: string & z.$brand<"PermissionKey">;
1674
1892
  }[] | undefined;
1675
1893
  nav?: {
1676
1894
  label: string;
1677
1895
  icon?: string | undefined;
1678
1896
  to: string;
1679
- permission: string & import("zod").$brand<"PermissionKey">;
1897
+ permission: string & z.$brand<"PermissionKey">;
1680
1898
  }[] | undefined;
1681
1899
  entityViews?: {
1682
1900
  entityType: string;
@@ -1685,12 +1903,12 @@ export declare const brokenModManifest: {
1685
1903
  widgets?: {
1686
1904
  slot: string;
1687
1905
  component: string;
1688
- permission: string & import("zod").$brand<"PermissionKey">;
1906
+ permission: string & z.$brand<"PermissionKey">;
1689
1907
  }[] | undefined;
1690
1908
  settingsPanels?: {
1691
1909
  label: string;
1692
1910
  component: string;
1693
- permission: string & import("zod").$brand<"PermissionKey">;
1911
+ permission: string & z.$brand<"PermissionKey">;
1694
1912
  }[] | undefined;
1695
1913
  } | undefined;
1696
1914
  };