@substrat-run/contract-tests 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules.d.ts +90 -90
- package/dist/modules.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/modules.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ModuleRegistration, OperationHandler } from '@substrat-run/kernel';
|
|
2
2
|
export declare const testModManifest: {
|
|
3
|
-
id: string & import("zod")
|
|
3
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
4
|
+
version: string;
|
|
5
|
+
kernelContract: string;
|
|
4
6
|
permissions: {
|
|
5
|
-
key: string & import("zod")
|
|
7
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
6
8
|
description: string;
|
|
7
9
|
}[];
|
|
8
|
-
version: string;
|
|
9
|
-
kernelContract: string;
|
|
10
10
|
events: {
|
|
11
11
|
emits: {
|
|
12
12
|
type: string;
|
|
@@ -23,7 +23,7 @@ export declare const testModManifest: {
|
|
|
23
23
|
};
|
|
24
24
|
attachmentTargets: {
|
|
25
25
|
entityType: string;
|
|
26
|
-
readPermission: string & import("zod")
|
|
26
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
27
27
|
}[];
|
|
28
28
|
entitlementKey: string;
|
|
29
29
|
entityRelations?: {
|
|
@@ -44,13 +44,13 @@ export declare const testModManifest: {
|
|
|
44
44
|
ui?: {
|
|
45
45
|
routes?: {
|
|
46
46
|
path: string;
|
|
47
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
48
47
|
screen: string;
|
|
48
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
49
49
|
}[] | undefined;
|
|
50
50
|
nav?: {
|
|
51
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
52
51
|
label: string;
|
|
53
52
|
to: string;
|
|
53
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
54
54
|
icon?: string | undefined;
|
|
55
55
|
}[] | undefined;
|
|
56
56
|
entityViews?: {
|
|
@@ -58,25 +58,25 @@ export declare const testModManifest: {
|
|
|
58
58
|
view: string;
|
|
59
59
|
}[] | undefined;
|
|
60
60
|
widgets?: {
|
|
61
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
62
61
|
slot: string;
|
|
63
62
|
component: string;
|
|
63
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
64
64
|
}[] | undefined;
|
|
65
65
|
settingsPanels?: {
|
|
66
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
67
66
|
label: string;
|
|
68
67
|
component: string;
|
|
68
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
} | undefined;
|
|
71
71
|
};
|
|
72
72
|
export declare const flowModManifest: {
|
|
73
|
-
id: string & import("zod")
|
|
73
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
74
|
+
version: string;
|
|
75
|
+
kernelContract: string;
|
|
74
76
|
permissions: {
|
|
75
|
-
key: string & import("zod")
|
|
77
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
76
78
|
description: string;
|
|
77
79
|
}[];
|
|
78
|
-
version: string;
|
|
79
|
-
kernelContract: string;
|
|
80
80
|
events: {
|
|
81
81
|
emits: {
|
|
82
82
|
type: string;
|
|
@@ -93,7 +93,7 @@ export declare const flowModManifest: {
|
|
|
93
93
|
};
|
|
94
94
|
attachmentTargets: {
|
|
95
95
|
entityType: string;
|
|
96
|
-
readPermission: string & import("zod")
|
|
96
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
97
97
|
}[];
|
|
98
98
|
entitlementKey: string;
|
|
99
99
|
entityRelations?: {
|
|
@@ -114,13 +114,13 @@ export declare const flowModManifest: {
|
|
|
114
114
|
ui?: {
|
|
115
115
|
routes?: {
|
|
116
116
|
path: string;
|
|
117
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
118
117
|
screen: string;
|
|
118
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
119
119
|
}[] | undefined;
|
|
120
120
|
nav?: {
|
|
121
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
122
121
|
label: string;
|
|
123
122
|
to: string;
|
|
123
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
124
124
|
icon?: string | undefined;
|
|
125
125
|
}[] | undefined;
|
|
126
126
|
entityViews?: {
|
|
@@ -128,25 +128,25 @@ export declare const flowModManifest: {
|
|
|
128
128
|
view: string;
|
|
129
129
|
}[] | undefined;
|
|
130
130
|
widgets?: {
|
|
131
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
132
131
|
slot: string;
|
|
133
132
|
component: string;
|
|
133
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
134
134
|
}[] | undefined;
|
|
135
135
|
settingsPanels?: {
|
|
136
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
137
136
|
label: string;
|
|
138
137
|
component: string;
|
|
138
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
139
139
|
}[] | undefined;
|
|
140
140
|
} | undefined;
|
|
141
141
|
};
|
|
142
142
|
export declare const lateModManifest: {
|
|
143
|
-
id: string & import("zod")
|
|
143
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
144
|
+
version: string;
|
|
145
|
+
kernelContract: string;
|
|
144
146
|
permissions: {
|
|
145
|
-
key: string & import("zod")
|
|
147
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
146
148
|
description: string;
|
|
147
149
|
}[];
|
|
148
|
-
version: string;
|
|
149
|
-
kernelContract: string;
|
|
150
150
|
events: {
|
|
151
151
|
emits: {
|
|
152
152
|
type: string;
|
|
@@ -163,7 +163,7 @@ export declare const lateModManifest: {
|
|
|
163
163
|
};
|
|
164
164
|
attachmentTargets: {
|
|
165
165
|
entityType: string;
|
|
166
|
-
readPermission: string & import("zod")
|
|
166
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
167
167
|
}[];
|
|
168
168
|
entitlementKey: string;
|
|
169
169
|
entityRelations?: {
|
|
@@ -184,13 +184,13 @@ export declare const lateModManifest: {
|
|
|
184
184
|
ui?: {
|
|
185
185
|
routes?: {
|
|
186
186
|
path: string;
|
|
187
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
188
187
|
screen: string;
|
|
188
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
189
189
|
}[] | undefined;
|
|
190
190
|
nav?: {
|
|
191
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
192
191
|
label: string;
|
|
193
192
|
to: string;
|
|
193
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
194
194
|
icon?: string | undefined;
|
|
195
195
|
}[] | undefined;
|
|
196
196
|
entityViews?: {
|
|
@@ -198,25 +198,25 @@ export declare const lateModManifest: {
|
|
|
198
198
|
view: string;
|
|
199
199
|
}[] | undefined;
|
|
200
200
|
widgets?: {
|
|
201
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
202
201
|
slot: string;
|
|
203
202
|
component: string;
|
|
203
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
204
204
|
}[] | undefined;
|
|
205
205
|
settingsPanels?: {
|
|
206
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
207
206
|
label: string;
|
|
208
207
|
component: string;
|
|
208
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
209
209
|
}[] | undefined;
|
|
210
210
|
} | undefined;
|
|
211
211
|
};
|
|
212
212
|
export declare const billedModManifest: {
|
|
213
|
-
id: string & import("zod")
|
|
213
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
214
|
+
version: string;
|
|
215
|
+
kernelContract: string;
|
|
214
216
|
permissions: {
|
|
215
|
-
key: string & import("zod")
|
|
217
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
216
218
|
description: string;
|
|
217
219
|
}[];
|
|
218
|
-
version: string;
|
|
219
|
-
kernelContract: string;
|
|
220
220
|
events: {
|
|
221
221
|
emits: {
|
|
222
222
|
type: string;
|
|
@@ -233,7 +233,7 @@ export declare const billedModManifest: {
|
|
|
233
233
|
};
|
|
234
234
|
attachmentTargets: {
|
|
235
235
|
entityType: string;
|
|
236
|
-
readPermission: string & import("zod")
|
|
236
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
237
237
|
}[];
|
|
238
238
|
entitlementKey: string;
|
|
239
239
|
entityRelations?: {
|
|
@@ -254,13 +254,13 @@ export declare const billedModManifest: {
|
|
|
254
254
|
ui?: {
|
|
255
255
|
routes?: {
|
|
256
256
|
path: string;
|
|
257
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
258
257
|
screen: string;
|
|
258
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
259
259
|
}[] | undefined;
|
|
260
260
|
nav?: {
|
|
261
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
262
261
|
label: string;
|
|
263
262
|
to: string;
|
|
263
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
264
264
|
icon?: string | undefined;
|
|
265
265
|
}[] | undefined;
|
|
266
266
|
entityViews?: {
|
|
@@ -268,25 +268,25 @@ export declare const billedModManifest: {
|
|
|
268
268
|
view: string;
|
|
269
269
|
}[] | undefined;
|
|
270
270
|
widgets?: {
|
|
271
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
272
271
|
slot: string;
|
|
273
272
|
component: string;
|
|
273
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
274
274
|
}[] | undefined;
|
|
275
275
|
settingsPanels?: {
|
|
276
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
277
276
|
label: string;
|
|
278
277
|
component: string;
|
|
278
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
279
279
|
}[] | undefined;
|
|
280
280
|
} | undefined;
|
|
281
281
|
};
|
|
282
282
|
export declare const guardedModManifest: {
|
|
283
|
-
id: string & import("zod")
|
|
283
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
284
|
+
version: string;
|
|
285
|
+
kernelContract: string;
|
|
284
286
|
permissions: {
|
|
285
|
-
key: string & import("zod")
|
|
287
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
286
288
|
description: string;
|
|
287
289
|
}[];
|
|
288
|
-
version: string;
|
|
289
|
-
kernelContract: string;
|
|
290
290
|
events: {
|
|
291
291
|
emits: {
|
|
292
292
|
type: string;
|
|
@@ -303,7 +303,7 @@ export declare const guardedModManifest: {
|
|
|
303
303
|
};
|
|
304
304
|
attachmentTargets: {
|
|
305
305
|
entityType: string;
|
|
306
|
-
readPermission: string & import("zod")
|
|
306
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
307
307
|
}[];
|
|
308
308
|
entitlementKey: string;
|
|
309
309
|
entityRelations?: {
|
|
@@ -324,13 +324,13 @@ export declare const guardedModManifest: {
|
|
|
324
324
|
ui?: {
|
|
325
325
|
routes?: {
|
|
326
326
|
path: string;
|
|
327
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
328
327
|
screen: string;
|
|
328
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
329
329
|
}[] | undefined;
|
|
330
330
|
nav?: {
|
|
331
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
332
331
|
label: string;
|
|
333
332
|
to: string;
|
|
333
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
334
334
|
icon?: string | undefined;
|
|
335
335
|
}[] | undefined;
|
|
336
336
|
entityViews?: {
|
|
@@ -338,25 +338,25 @@ export declare const guardedModManifest: {
|
|
|
338
338
|
view: string;
|
|
339
339
|
}[] | undefined;
|
|
340
340
|
widgets?: {
|
|
341
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
342
341
|
slot: string;
|
|
343
342
|
component: string;
|
|
343
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
344
344
|
}[] | undefined;
|
|
345
345
|
settingsPanels?: {
|
|
346
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
347
346
|
label: string;
|
|
348
347
|
component: string;
|
|
348
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
349
349
|
}[] | undefined;
|
|
350
350
|
} | undefined;
|
|
351
351
|
};
|
|
352
352
|
export declare const withdrawEarlyManifest: {
|
|
353
|
-
id: string & import("zod")
|
|
353
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
354
|
+
version: string;
|
|
355
|
+
kernelContract: string;
|
|
354
356
|
permissions: {
|
|
355
|
-
key: string & import("zod")
|
|
357
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
356
358
|
description: string;
|
|
357
359
|
}[];
|
|
358
|
-
version: string;
|
|
359
|
-
kernelContract: string;
|
|
360
360
|
events: {
|
|
361
361
|
emits: {
|
|
362
362
|
type: string;
|
|
@@ -373,7 +373,7 @@ export declare const withdrawEarlyManifest: {
|
|
|
373
373
|
};
|
|
374
374
|
attachmentTargets: {
|
|
375
375
|
entityType: string;
|
|
376
|
-
readPermission: string & import("zod")
|
|
376
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
377
377
|
}[];
|
|
378
378
|
entitlementKey: string;
|
|
379
379
|
entityRelations?: {
|
|
@@ -394,13 +394,13 @@ export declare const withdrawEarlyManifest: {
|
|
|
394
394
|
ui?: {
|
|
395
395
|
routes?: {
|
|
396
396
|
path: string;
|
|
397
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
398
397
|
screen: string;
|
|
398
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
399
399
|
}[] | undefined;
|
|
400
400
|
nav?: {
|
|
401
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
402
401
|
label: string;
|
|
403
402
|
to: string;
|
|
403
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
404
404
|
icon?: string | undefined;
|
|
405
405
|
}[] | undefined;
|
|
406
406
|
entityViews?: {
|
|
@@ -408,25 +408,25 @@ export declare const withdrawEarlyManifest: {
|
|
|
408
408
|
view: string;
|
|
409
409
|
}[] | undefined;
|
|
410
410
|
widgets?: {
|
|
411
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
412
411
|
slot: string;
|
|
413
412
|
component: string;
|
|
413
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
414
414
|
}[] | undefined;
|
|
415
415
|
settingsPanels?: {
|
|
416
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
417
416
|
label: string;
|
|
418
417
|
component: string;
|
|
418
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
419
419
|
}[] | undefined;
|
|
420
420
|
} | undefined;
|
|
421
421
|
};
|
|
422
422
|
export declare const victimModManifest: {
|
|
423
|
-
id: string & import("zod")
|
|
423
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
424
|
+
version: string;
|
|
425
|
+
kernelContract: string;
|
|
424
426
|
permissions: {
|
|
425
|
-
key: string & import("zod")
|
|
427
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
426
428
|
description: string;
|
|
427
429
|
}[];
|
|
428
|
-
version: string;
|
|
429
|
-
kernelContract: string;
|
|
430
430
|
events: {
|
|
431
431
|
emits: {
|
|
432
432
|
type: string;
|
|
@@ -443,7 +443,7 @@ export declare const victimModManifest: {
|
|
|
443
443
|
};
|
|
444
444
|
attachmentTargets: {
|
|
445
445
|
entityType: string;
|
|
446
|
-
readPermission: string & import("zod")
|
|
446
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
447
447
|
}[];
|
|
448
448
|
entitlementKey: string;
|
|
449
449
|
entityRelations?: {
|
|
@@ -464,13 +464,13 @@ export declare const victimModManifest: {
|
|
|
464
464
|
ui?: {
|
|
465
465
|
routes?: {
|
|
466
466
|
path: string;
|
|
467
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
468
467
|
screen: string;
|
|
468
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
469
469
|
}[] | undefined;
|
|
470
470
|
nav?: {
|
|
471
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
472
471
|
label: string;
|
|
473
472
|
to: string;
|
|
473
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
474
474
|
icon?: string | undefined;
|
|
475
475
|
}[] | undefined;
|
|
476
476
|
entityViews?: {
|
|
@@ -478,25 +478,25 @@ export declare const victimModManifest: {
|
|
|
478
478
|
view: string;
|
|
479
479
|
}[] | undefined;
|
|
480
480
|
widgets?: {
|
|
481
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
482
481
|
slot: string;
|
|
483
482
|
component: string;
|
|
483
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
484
484
|
}[] | undefined;
|
|
485
485
|
settingsPanels?: {
|
|
486
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
487
486
|
label: string;
|
|
488
487
|
component: string;
|
|
488
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
489
489
|
}[] | undefined;
|
|
490
490
|
} | undefined;
|
|
491
491
|
};
|
|
492
492
|
export declare const withdrawLateManifest: {
|
|
493
|
-
id: string & import("zod")
|
|
493
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
494
|
+
version: string;
|
|
495
|
+
kernelContract: string;
|
|
494
496
|
permissions: {
|
|
495
|
-
key: string & import("zod")
|
|
497
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
496
498
|
description: string;
|
|
497
499
|
}[];
|
|
498
|
-
version: string;
|
|
499
|
-
kernelContract: string;
|
|
500
500
|
events: {
|
|
501
501
|
emits: {
|
|
502
502
|
type: string;
|
|
@@ -513,7 +513,7 @@ export declare const withdrawLateManifest: {
|
|
|
513
513
|
};
|
|
514
514
|
attachmentTargets: {
|
|
515
515
|
entityType: string;
|
|
516
|
-
readPermission: string & import("zod")
|
|
516
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
517
517
|
}[];
|
|
518
518
|
entitlementKey: string;
|
|
519
519
|
entityRelations?: {
|
|
@@ -534,13 +534,13 @@ export declare const withdrawLateManifest: {
|
|
|
534
534
|
ui?: {
|
|
535
535
|
routes?: {
|
|
536
536
|
path: string;
|
|
537
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
538
537
|
screen: string;
|
|
538
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
539
539
|
}[] | undefined;
|
|
540
540
|
nav?: {
|
|
541
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
542
541
|
label: string;
|
|
543
542
|
to: string;
|
|
543
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
544
544
|
icon?: string | undefined;
|
|
545
545
|
}[] | undefined;
|
|
546
546
|
entityViews?: {
|
|
@@ -548,25 +548,25 @@ export declare const withdrawLateManifest: {
|
|
|
548
548
|
view: string;
|
|
549
549
|
}[] | undefined;
|
|
550
550
|
widgets?: {
|
|
551
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
552
551
|
slot: string;
|
|
553
552
|
component: string;
|
|
553
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
554
554
|
}[] | undefined;
|
|
555
555
|
settingsPanels?: {
|
|
556
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
557
556
|
label: string;
|
|
558
557
|
component: string;
|
|
558
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
559
559
|
}[] | undefined;
|
|
560
560
|
} | undefined;
|
|
561
561
|
};
|
|
562
562
|
export declare const gateModManifest: {
|
|
563
|
-
id: string & import("zod")
|
|
563
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
564
|
+
version: string;
|
|
565
|
+
kernelContract: string;
|
|
564
566
|
permissions: {
|
|
565
|
-
key: string & import("zod")
|
|
567
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
566
568
|
description: string;
|
|
567
569
|
}[];
|
|
568
|
-
version: string;
|
|
569
|
-
kernelContract: string;
|
|
570
570
|
events: {
|
|
571
571
|
emits: {
|
|
572
572
|
type: string;
|
|
@@ -583,7 +583,7 @@ export declare const gateModManifest: {
|
|
|
583
583
|
};
|
|
584
584
|
attachmentTargets: {
|
|
585
585
|
entityType: string;
|
|
586
|
-
readPermission: string & import("zod")
|
|
586
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
587
587
|
}[];
|
|
588
588
|
entitlementKey: string;
|
|
589
589
|
entityRelations?: {
|
|
@@ -604,13 +604,13 @@ export declare const gateModManifest: {
|
|
|
604
604
|
ui?: {
|
|
605
605
|
routes?: {
|
|
606
606
|
path: string;
|
|
607
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
608
607
|
screen: string;
|
|
608
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
609
609
|
}[] | undefined;
|
|
610
610
|
nav?: {
|
|
611
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
612
611
|
label: string;
|
|
613
612
|
to: string;
|
|
613
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
614
614
|
icon?: string | undefined;
|
|
615
615
|
}[] | undefined;
|
|
616
616
|
entityViews?: {
|
|
@@ -618,25 +618,25 @@ export declare const gateModManifest: {
|
|
|
618
618
|
view: string;
|
|
619
619
|
}[] | undefined;
|
|
620
620
|
widgets?: {
|
|
621
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
622
621
|
slot: string;
|
|
623
622
|
component: string;
|
|
623
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
624
624
|
}[] | undefined;
|
|
625
625
|
settingsPanels?: {
|
|
626
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
627
626
|
label: string;
|
|
628
627
|
component: string;
|
|
628
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
629
629
|
}[] | undefined;
|
|
630
630
|
} | undefined;
|
|
631
631
|
};
|
|
632
632
|
export declare const permModManifest: {
|
|
633
|
-
id: string & import("zod")
|
|
633
|
+
id: string & import("zod").$brand<"ModuleId">;
|
|
634
|
+
version: string;
|
|
635
|
+
kernelContract: string;
|
|
634
636
|
permissions: {
|
|
635
|
-
key: string & import("zod")
|
|
637
|
+
key: string & import("zod").$brand<"PermissionKey">;
|
|
636
638
|
description: string;
|
|
637
639
|
}[];
|
|
638
|
-
version: string;
|
|
639
|
-
kernelContract: string;
|
|
640
640
|
events: {
|
|
641
641
|
emits: {
|
|
642
642
|
type: string;
|
|
@@ -653,7 +653,7 @@ export declare const permModManifest: {
|
|
|
653
653
|
};
|
|
654
654
|
attachmentTargets: {
|
|
655
655
|
entityType: string;
|
|
656
|
-
readPermission: string & import("zod")
|
|
656
|
+
readPermission: string & import("zod").$brand<"PermissionKey">;
|
|
657
657
|
}[];
|
|
658
658
|
entitlementKey: string;
|
|
659
659
|
entityRelations?: {
|
|
@@ -674,13 +674,13 @@ export declare const permModManifest: {
|
|
|
674
674
|
ui?: {
|
|
675
675
|
routes?: {
|
|
676
676
|
path: string;
|
|
677
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
678
677
|
screen: string;
|
|
678
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
679
679
|
}[] | undefined;
|
|
680
680
|
nav?: {
|
|
681
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
682
681
|
label: string;
|
|
683
682
|
to: string;
|
|
683
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
684
684
|
icon?: string | undefined;
|
|
685
685
|
}[] | undefined;
|
|
686
686
|
entityViews?: {
|
|
@@ -688,14 +688,14 @@ export declare const permModManifest: {
|
|
|
688
688
|
view: string;
|
|
689
689
|
}[] | undefined;
|
|
690
690
|
widgets?: {
|
|
691
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
692
691
|
slot: string;
|
|
693
692
|
component: string;
|
|
693
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
694
694
|
}[] | undefined;
|
|
695
695
|
settingsPanels?: {
|
|
696
|
-
permission: string & import("zod").BRAND<"PermissionKey">;
|
|
697
696
|
label: string;
|
|
698
697
|
component: string;
|
|
698
|
+
permission: string & import("zod").$brand<"PermissionKey">;
|
|
699
699
|
}[] | undefined;
|
|
700
700
|
} | undefined;
|
|
701
701
|
};
|
package/dist/modules.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAI9B,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAI9B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkB1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS1B,CAAC;AAKH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5B,CAAC;AAOH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe7B,CAAC;AAIH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUhC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU/B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa1B,CAAC;AAmBH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,KAAK,EAAE,OAAO,CAAC,CAwEhF,CAAC;AAmDF,eAAO,MAAM,OAAO,EAAE,kBAerB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAqCrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAwBxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAYrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAAwD,CAAC;AAExF,eAAO,MAAM,SAAS,EAAE,kBAOvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAAuD,CAAC;AAEtF,eAAO,MAAM,OAAO,EAAE,kBAQrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,kBAKvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,kBAMrB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,EAAE,kBAAkB,EAQ1D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,kBAAkB,EAKnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/contract-tests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The suite every scope-host adapter must pass, forever (D-14)",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"vitest": "^3.0.0",
|
|
26
|
-
"@substrat-run/kernel": "^0.
|
|
27
|
-
"@substrat-run/contracts": "^0.
|
|
26
|
+
"@substrat-run/kernel": "^0.3.0",
|
|
27
|
+
"@substrat-run/contracts": "^0.3.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^5.6.0"
|