@substrat-run/contract-tests 0.167.1 → 0.169.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/bind-module.d.ts +1 -0
- package/dist/bind-module.d.ts.map +1 -1
- package/dist/derived-module.d.ts +1 -0
- package/dist/derived-module.d.ts.map +1 -1
- package/dist/entity-state-module.d.ts +2 -0
- package/dist/entity-state-module.d.ts.map +1 -1
- package/dist/entity-trash-module.d.ts +1 -0
- package/dist/entity-trash-module.d.ts.map +1 -1
- package/dist/erasure-module.d.ts +1 -0
- package/dist/erasure-module.d.ts.map +1 -1
- package/dist/modules.d.ts +32 -0
- package/dist/modules.d.ts.map +1 -1
- package/dist/scope-host-suite.d.ts.map +1 -1
- package/dist/scope-host-suite.js +50 -0
- package/dist/scope-host-suite.js.map +1 -1
- package/dist/stamps-module.d.ts +1 -0
- package/dist/stamps-module.d.ts.map +1 -1
- package/dist/upload-link-module.d.ts +1 -0
- package/dist/upload-link-module.d.ts.map +1 -1
- package/dist/vertical-events-suite.d.ts +2 -0
- package/dist/vertical-events-suite.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/bind-module.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ export declare const bindModManifest: {
|
|
|
128
128
|
operation: string;
|
|
129
129
|
permission: string & z.$brand<"PermissionKey">;
|
|
130
130
|
options?: Record<string, unknown> | undefined;
|
|
131
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
131
132
|
}[] | undefined;
|
|
132
133
|
freshness?: {
|
|
133
134
|
eventType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bind-module.d.ts","sourceRoot":"","sources":["../src/bind-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAKL,KAAK,gBAAgB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAiB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Ac,EAAE,gBAM5B,CAAC;AAUF,eAAO,MAAM,OAAO,EAAE,kBAgDrB,CAAC"}
|
package/dist/derived-module.d.ts
CHANGED
|
@@ -673,6 +673,7 @@ export declare const derivedModManifest: {
|
|
|
673
673
|
operation: string;
|
|
674
674
|
permission: string & z.$brand<"PermissionKey">;
|
|
675
675
|
options?: Record<string, unknown> | undefined;
|
|
676
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
676
677
|
}[] | undefined;
|
|
677
678
|
freshness?: {
|
|
678
679
|
eventType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derived-module.d.ts","sourceRoot":"","sources":["../src/derived-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,OAAO,EAA6C,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1G,eAAO,MAAM,iBAAiB,kBAAkB,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC1B,CAAC;AAQH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAHsC,OAAO;6BAAU,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAFnB,QAAQ;6BAAU,SAAS;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgNnG,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB7B,CAAC;AAMH,eAAO,MAAM,UAAU,EAAE,kBA0DxB,CAAC"}
|
|
@@ -71,6 +71,7 @@ export declare const stateModManifest: {
|
|
|
71
71
|
operation: string;
|
|
72
72
|
permission: string & import("zod").$brand<"PermissionKey">;
|
|
73
73
|
options?: Record<string, unknown> | undefined;
|
|
74
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
74
75
|
}[] | undefined;
|
|
75
76
|
freshness?: {
|
|
76
77
|
eventType: string;
|
|
@@ -258,6 +259,7 @@ export declare const rebuildModManifest: {
|
|
|
258
259
|
operation: string;
|
|
259
260
|
permission: string & import("zod").$brand<"PermissionKey">;
|
|
260
261
|
options?: Record<string, unknown> | undefined;
|
|
262
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
261
263
|
}[] | undefined;
|
|
262
264
|
freshness?: {
|
|
263
265
|
eventType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-state-module.d.ts","sourceRoot":"","sources":["../src/entity-state-module.ts"],"names":[],"mappings":"AAaA,OAAO,EAML,KAAK,kBAAkB,EAExB,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"entity-state-module.d.ts","sourceRoot":"","sources":["../src/entity-state-module.ts"],"names":[],"mappings":"AAaA,OAAO,EAML,KAAK,kBAAkB,EAExB,MAAM,sBAAsB,CAAC;AAG9B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B3B,CAAC;AAcH,eAAO,MAAM,QAAQ,EAAE,kBA2FtB,CAAC;AAWF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB7B,CAAC;AAQH,eAAO,MAAM,UAAU,EAAE,kBAmFxB,CAAC"}
|
|
@@ -359,6 +359,7 @@ export declare const trashModManifest: {
|
|
|
359
359
|
operation: string;
|
|
360
360
|
permission: string & z.$brand<"PermissionKey">;
|
|
361
361
|
options?: Record<string, unknown> | undefined;
|
|
362
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
362
363
|
}[] | undefined;
|
|
363
364
|
freshness?: {
|
|
364
365
|
eventType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-trash-module.d.ts","sourceRoot":"","sources":["../src/entity-trash-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,OAAO,EAA8B,KAAK,kBAAkB,EAAyB,MAAM,sBAAsB,CAAC;AAGlH,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAC7C,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,8FAA8F;AAC9F,eAAO,MAAM,aAAa,YAAY,CAAC;AAEvC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkB3B,CAAC;AAOH,eAAO,MAAM,QAAQ,EAAE,kBAmHtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AACzD,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC,eAAO,MAAM,aAAa;;;;;;;;;;;;CAMxB,CAAC;AAMH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;6BAF+C,QAAQ;6BAAU,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAapG,CAAC;AAKH,eAAO,MAAM,aAAa,EAAE,kBAyC3B,CAAC"}
|
package/dist/erasure-module.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ export declare const erasureModManifest: {
|
|
|
164
164
|
operation: string;
|
|
165
165
|
permission: string & z.$brand<"PermissionKey">;
|
|
166
166
|
options?: Record<string, unknown> | undefined;
|
|
167
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
167
168
|
}[] | undefined;
|
|
168
169
|
freshness?: {
|
|
169
170
|
eventType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erasure-module.d.ts","sourceRoot":"","sources":["../src/erasure-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,kBAAkB,EAAqC,MAAM,sBAAsB,CAAC;AAGlG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C1B,CAAC;AAEH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"erasure-module.d.ts","sourceRoot":"","sources":["../src/erasure-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,kBAAkB,EAAqC,MAAM,sBAAsB,CAAC;AAGlG,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C1B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW7B,CAAC;AAqFH,eAAO,MAAM,UAAU,EAAE,kBA+BxB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAY7B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,kBAsBnC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAsBhC,CAAC"}
|
package/dist/modules.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export declare const testModManifest: {
|
|
|
111
111
|
operation: string;
|
|
112
112
|
permission: string & z.$brand<"PermissionKey">;
|
|
113
113
|
options?: Record<string, unknown> | undefined;
|
|
114
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
114
115
|
}[] | undefined;
|
|
115
116
|
freshness?: {
|
|
116
117
|
eventType: string;
|
|
@@ -280,6 +281,7 @@ export declare const scheduleModManifest: {
|
|
|
280
281
|
operation: string;
|
|
281
282
|
permission: string & z.$brand<"PermissionKey">;
|
|
282
283
|
options?: Record<string, unknown> | undefined;
|
|
284
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
283
285
|
}[] | undefined;
|
|
284
286
|
freshness?: {
|
|
285
287
|
eventType: string;
|
|
@@ -455,6 +457,7 @@ export declare const freshnessModManifest: {
|
|
|
455
457
|
operation: string;
|
|
456
458
|
permission: string & z.$brand<"PermissionKey">;
|
|
457
459
|
options?: Record<string, unknown> | undefined;
|
|
460
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
458
461
|
}[] | undefined;
|
|
459
462
|
freshness?: {
|
|
460
463
|
eventType: string;
|
|
@@ -642,6 +645,7 @@ export declare const jobsModManifest: {
|
|
|
642
645
|
operation: string;
|
|
643
646
|
permission: string & z.$brand<"PermissionKey">;
|
|
644
647
|
options?: Record<string, unknown> | undefined;
|
|
648
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
645
649
|
}[] | undefined;
|
|
646
650
|
freshness?: {
|
|
647
651
|
eventType: string;
|
|
@@ -812,6 +816,7 @@ export declare const flowModManifest: {
|
|
|
812
816
|
operation: string;
|
|
813
817
|
permission: string & z.$brand<"PermissionKey">;
|
|
814
818
|
options?: Record<string, unknown> | undefined;
|
|
819
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
815
820
|
}[] | undefined;
|
|
816
821
|
freshness?: {
|
|
817
822
|
eventType: string;
|
|
@@ -981,6 +986,7 @@ export declare const atomicModManifest: {
|
|
|
981
986
|
operation: string;
|
|
982
987
|
permission: string & z.$brand<"PermissionKey">;
|
|
983
988
|
options?: Record<string, unknown> | undefined;
|
|
989
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
984
990
|
}[] | undefined;
|
|
985
991
|
freshness?: {
|
|
986
992
|
eventType: string;
|
|
@@ -1150,6 +1156,7 @@ export declare const lateModManifest: {
|
|
|
1150
1156
|
operation: string;
|
|
1151
1157
|
permission: string & z.$brand<"PermissionKey">;
|
|
1152
1158
|
options?: Record<string, unknown> | undefined;
|
|
1159
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
1153
1160
|
}[] | undefined;
|
|
1154
1161
|
freshness?: {
|
|
1155
1162
|
eventType: string;
|
|
@@ -1319,6 +1326,7 @@ export declare const billedModManifest: {
|
|
|
1319
1326
|
operation: string;
|
|
1320
1327
|
permission: string & z.$brand<"PermissionKey">;
|
|
1321
1328
|
options?: Record<string, unknown> | undefined;
|
|
1329
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
1322
1330
|
}[] | undefined;
|
|
1323
1331
|
freshness?: {
|
|
1324
1332
|
eventType: string;
|
|
@@ -1488,6 +1496,7 @@ export declare const guardedModManifest: {
|
|
|
1488
1496
|
operation: string;
|
|
1489
1497
|
permission: string & z.$brand<"PermissionKey">;
|
|
1490
1498
|
options?: Record<string, unknown> | undefined;
|
|
1499
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
1491
1500
|
}[] | undefined;
|
|
1492
1501
|
freshness?: {
|
|
1493
1502
|
eventType: string;
|
|
@@ -1657,6 +1666,7 @@ export declare const withdrawEarlyManifest: {
|
|
|
1657
1666
|
operation: string;
|
|
1658
1667
|
permission: string & z.$brand<"PermissionKey">;
|
|
1659
1668
|
options?: Record<string, unknown> | undefined;
|
|
1669
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
1660
1670
|
}[] | undefined;
|
|
1661
1671
|
freshness?: {
|
|
1662
1672
|
eventType: string;
|
|
@@ -1826,6 +1836,7 @@ export declare const victimModManifest: {
|
|
|
1826
1836
|
operation: string;
|
|
1827
1837
|
permission: string & z.$brand<"PermissionKey">;
|
|
1828
1838
|
options?: Record<string, unknown> | undefined;
|
|
1839
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
1829
1840
|
}[] | undefined;
|
|
1830
1841
|
freshness?: {
|
|
1831
1842
|
eventType: string;
|
|
@@ -1995,6 +2006,7 @@ export declare const withdrawLateManifest: {
|
|
|
1995
2006
|
operation: string;
|
|
1996
2007
|
permission: string & z.$brand<"PermissionKey">;
|
|
1997
2008
|
options?: Record<string, unknown> | undefined;
|
|
2009
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
1998
2010
|
}[] | undefined;
|
|
1999
2011
|
freshness?: {
|
|
2000
2012
|
eventType: string;
|
|
@@ -2164,6 +2176,7 @@ export declare const gateModManifest: {
|
|
|
2164
2176
|
operation: string;
|
|
2165
2177
|
permission: string & z.$brand<"PermissionKey">;
|
|
2166
2178
|
options?: Record<string, unknown> | undefined;
|
|
2179
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
2167
2180
|
}[] | undefined;
|
|
2168
2181
|
freshness?: {
|
|
2169
2182
|
eventType: string;
|
|
@@ -2342,6 +2355,7 @@ export declare const impersonationEchoManifest: {
|
|
|
2342
2355
|
operation: string;
|
|
2343
2356
|
permission: string & z.$brand<"PermissionKey">;
|
|
2344
2357
|
options?: Record<string, unknown> | undefined;
|
|
2358
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
2345
2359
|
}[] | undefined;
|
|
2346
2360
|
freshness?: {
|
|
2347
2361
|
eventType: string;
|
|
@@ -2511,6 +2525,7 @@ export declare const permModManifest: {
|
|
|
2511
2525
|
operation: string;
|
|
2512
2526
|
permission: string & z.$brand<"PermissionKey">;
|
|
2513
2527
|
options?: Record<string, unknown> | undefined;
|
|
2528
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
2514
2529
|
}[] | undefined;
|
|
2515
2530
|
freshness?: {
|
|
2516
2531
|
eventType: string;
|
|
@@ -2694,6 +2709,7 @@ export declare const deniedScheduleModManifest: {
|
|
|
2694
2709
|
operation: string;
|
|
2695
2710
|
permission: string & z.$brand<"PermissionKey">;
|
|
2696
2711
|
options?: Record<string, unknown> | undefined;
|
|
2712
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
2697
2713
|
}[] | undefined;
|
|
2698
2714
|
freshness?: {
|
|
2699
2715
|
eventType: string;
|
|
@@ -2874,6 +2890,7 @@ export declare const schedRequestModManifest: {
|
|
|
2874
2890
|
operation: string;
|
|
2875
2891
|
permission: string & z.$brand<"PermissionKey">;
|
|
2876
2892
|
options?: Record<string, unknown> | undefined;
|
|
2893
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
2877
2894
|
}[] | undefined;
|
|
2878
2895
|
freshness?: {
|
|
2879
2896
|
eventType: string;
|
|
@@ -3056,6 +3073,7 @@ export declare const composedEngineModManifest: {
|
|
|
3056
3073
|
operation: string;
|
|
3057
3074
|
permission: string & z.$brand<"PermissionKey">;
|
|
3058
3075
|
options?: Record<string, unknown> | undefined;
|
|
3076
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
3059
3077
|
}[] | undefined;
|
|
3060
3078
|
freshness?: {
|
|
3061
3079
|
eventType: string;
|
|
@@ -3234,6 +3252,7 @@ export declare const composerModManifest: {
|
|
|
3234
3252
|
operation: string;
|
|
3235
3253
|
permission: string & z.$brand<"PermissionKey">;
|
|
3236
3254
|
options?: Record<string, unknown> | undefined;
|
|
3255
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
3237
3256
|
}[] | undefined;
|
|
3238
3257
|
freshness?: {
|
|
3239
3258
|
eventType: string;
|
|
@@ -3414,6 +3433,7 @@ export declare const connectorModManifest: {
|
|
|
3414
3433
|
operation: string;
|
|
3415
3434
|
permission: string & z.$brand<"PermissionKey">;
|
|
3416
3435
|
options?: Record<string, unknown> | undefined;
|
|
3436
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
3417
3437
|
}[] | undefined;
|
|
3418
3438
|
freshness?: {
|
|
3419
3439
|
eventType: string;
|
|
@@ -3614,6 +3634,7 @@ export declare const listModManifest: {
|
|
|
3614
3634
|
operation: string;
|
|
3615
3635
|
permission: string & z.$brand<"PermissionKey">;
|
|
3616
3636
|
options?: Record<string, unknown> | undefined;
|
|
3637
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
3617
3638
|
}[] | undefined;
|
|
3618
3639
|
freshness?: {
|
|
3619
3640
|
eventType: string;
|
|
@@ -3800,6 +3821,7 @@ export declare const searchModManifest: {
|
|
|
3800
3821
|
operation: string;
|
|
3801
3822
|
permission: string & z.$brand<"PermissionKey">;
|
|
3802
3823
|
options?: Record<string, unknown> | undefined;
|
|
3824
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
3803
3825
|
}[] | undefined;
|
|
3804
3826
|
freshness?: {
|
|
3805
3827
|
eventType: string;
|
|
@@ -3970,6 +3992,7 @@ export declare const parseModManifest: {
|
|
|
3970
3992
|
operation: string;
|
|
3971
3993
|
permission: string & z.$brand<"PermissionKey">;
|
|
3972
3994
|
options?: Record<string, unknown> | undefined;
|
|
3995
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
3973
3996
|
}[] | undefined;
|
|
3974
3997
|
freshness?: {
|
|
3975
3998
|
eventType: string;
|
|
@@ -4140,6 +4163,7 @@ export declare const concurrencyModManifest: {
|
|
|
4140
4163
|
operation: string;
|
|
4141
4164
|
permission: string & z.$brand<"PermissionKey">;
|
|
4142
4165
|
options?: Record<string, unknown> | undefined;
|
|
4166
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
4143
4167
|
}[] | undefined;
|
|
4144
4168
|
freshness?: {
|
|
4145
4169
|
eventType: string;
|
|
@@ -4310,6 +4334,7 @@ export declare const idempotencyModManifest: {
|
|
|
4310
4334
|
operation: string;
|
|
4311
4335
|
permission: string & z.$brand<"PermissionKey">;
|
|
4312
4336
|
options?: Record<string, unknown> | undefined;
|
|
4337
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
4313
4338
|
}[] | undefined;
|
|
4314
4339
|
freshness?: {
|
|
4315
4340
|
eventType: string;
|
|
@@ -4490,6 +4515,7 @@ export declare const capModManifest: {
|
|
|
4490
4515
|
operation: string;
|
|
4491
4516
|
permission: string & z.$brand<"PermissionKey">;
|
|
4492
4517
|
options?: Record<string, unknown> | undefined;
|
|
4518
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
4493
4519
|
}[] | undefined;
|
|
4494
4520
|
freshness?: {
|
|
4495
4521
|
eventType: string;
|
|
@@ -4676,6 +4702,7 @@ export declare const peerModManifest: {
|
|
|
4676
4702
|
operation: string;
|
|
4677
4703
|
permission: string & z.$brand<"PermissionKey">;
|
|
4678
4704
|
options?: Record<string, unknown> | undefined;
|
|
4705
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
4679
4706
|
}[] | undefined;
|
|
4680
4707
|
freshness?: {
|
|
4681
4708
|
eventType: string;
|
|
@@ -4848,6 +4875,7 @@ export declare const emittedModManifest: {
|
|
|
4848
4875
|
operation: string;
|
|
4849
4876
|
permission: string & z.$brand<"PermissionKey">;
|
|
4850
4877
|
options?: Record<string, unknown> | undefined;
|
|
4878
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
4851
4879
|
}[] | undefined;
|
|
4852
4880
|
freshness?: {
|
|
4853
4881
|
eventType: string;
|
|
@@ -5023,6 +5051,7 @@ export declare const loggedModManifest: {
|
|
|
5023
5051
|
operation: string;
|
|
5024
5052
|
permission: string & z.$brand<"PermissionKey">;
|
|
5025
5053
|
options?: Record<string, unknown> | undefined;
|
|
5054
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
5026
5055
|
}[] | undefined;
|
|
5027
5056
|
freshness?: {
|
|
5028
5057
|
eventType: string;
|
|
@@ -5199,6 +5228,7 @@ export declare const asyncLogModManifest: {
|
|
|
5199
5228
|
operation: string;
|
|
5200
5229
|
permission: string & z.$brand<"PermissionKey">;
|
|
5201
5230
|
options?: Record<string, unknown> | undefined;
|
|
5231
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
5202
5232
|
}[] | undefined;
|
|
5203
5233
|
freshness?: {
|
|
5204
5234
|
eventType: string;
|
|
@@ -5394,6 +5424,7 @@ export declare const liveModManifest: {
|
|
|
5394
5424
|
operation: string;
|
|
5395
5425
|
permission: string & z.$brand<"PermissionKey">;
|
|
5396
5426
|
options?: Record<string, unknown> | undefined;
|
|
5427
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
5397
5428
|
}[] | undefined;
|
|
5398
5429
|
freshness?: {
|
|
5399
5430
|
eventType: string;
|
|
@@ -5564,6 +5595,7 @@ export declare const brokenModManifest: {
|
|
|
5564
5595
|
operation: string;
|
|
5565
5596
|
permission: string & z.$brand<"PermissionKey">;
|
|
5566
5597
|
options?: Record<string, unknown> | undefined;
|
|
5598
|
+
bind?: "every-install" | "on-request" | undefined;
|
|
5567
5599
|
}[] | undefined;
|
|
5568
5600
|
freshness?: {
|
|
5569
5601
|
eventType: string;
|
package/dist/modules.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAaL,CAAC,EAOF,MAAM,yBAAyB,CAAC;AAgBjC,OAAO,EAUL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAG9B;;;;GAIG;AACH,eAAO,MAAM,cAAc;aACzB,KAAK,EAAE,OAAO;aACd,OAAO,EAAE,OAAO;aAChB,MAAM;iBACJ,KAAK;qBAAI,EAAE;yBAAI,WAAW,EAAE,MAAM;;;iBAClC,IAAI;qBAAI,EAAE;yBAAI,WAAW,EAAE,MAAM;;;iBACjC,IAAI;qBAAI,QAAQ;;;CAEV,CAAC;AAGX;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,kmBAoBlC,CAAC;AAIF,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAaL,CAAC,EAOF,MAAM,yBAAyB,CAAC;AAgBjC,OAAO,EAUL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAG9B;;;;GAIG;AACH,eAAO,MAAM,cAAc;aACzB,KAAK,EAAE,OAAO;aACd,OAAO,EAAE,OAAO;aAChB,MAAM;iBACJ,KAAK;qBAAI,EAAE;yBAAI,WAAW,EAAE,MAAM;;;iBAClC,IAAI;qBAAI,EAAE;yBAAI,WAAW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-host-suite.ts"],"names":[],"mappings":"AAEA,OAAO,EAuBL,KAAK,SAAS,EAuBf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAsBL,KAAK,SAAS,EACf,MAAM,sBAAsB,CAAC;AAe9B,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED,oGAAoG;AACpG,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,OAAO,CAAC,gBAAgB,GAAG;IAC5C,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;CAChF,CAAC,GACD,IAAI,CA+GN;AAuCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,aAAa,MACrB,OAAO,CAAC,OAAO,CAAC,QACb,SAAS,YACL,MAAM,KACf,OAAO,CAAC,IAAI,CAOd,CAAC;AAEF,iFAAiF;AACjF,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,EAC5C,IAAI,GAAE,qBAA0B,GAC/B,IAAI,
|
|
1
|
+
{"version":3,"file":"scope-host-suite.d.ts","sourceRoot":"","sources":["../src/scope-host-suite.ts"],"names":[],"mappings":"AAEA,OAAO,EAuBL,KAAK,SAAS,EAuBf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAsBL,KAAK,SAAS,EACf,MAAM,sBAAsB,CAAC;AAe9B,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED,oGAAoG;AACpG,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,OAAO,CAAC,gBAAgB,GAAG;IAC5C,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;CAChF,CAAC,GACD,IAAI,CA+GN;AAuCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,aAAa,MACrB,OAAO,CAAC,OAAO,CAAC,QACb,SAAS,YACL,MAAM,KACf,OAAO,CAAC,IAAI,CAOd,CAAC;AAEF,iFAAiF;AACjF,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,EAC5C,IAAI,GAAE,qBAA0B,GAC/B,IAAI,CAu0YN"}
|
package/dist/scope-host-suite.js
CHANGED
|
@@ -5046,6 +5046,24 @@ export function scopeHostContractSuite(adapterName, makeFixture, opts = {}) {
|
|
|
5046
5046
|
// An unknown account is simply not connected — the ordinary miss.
|
|
5047
5047
|
expect(await host.admin.openConnection(t1, 'multigit', 'github', 'nobody')).toBeUndefined();
|
|
5048
5048
|
});
|
|
5049
|
+
it("keys a scope's own connection apart from the tenant's and another scope's, on one account (#2732)", async () => {
|
|
5050
|
+
const [a, b] = [scopeId.parse(ulid()), scopeId.parse(ulid())];
|
|
5051
|
+
const connect = (token, ownerScopeId) => host.admin.createConnection(staff, {
|
|
5052
|
+
id: connectionId.parse(ulid()), tenantId: t1, vertical: 'owned', provider: 'planima', label: token,
|
|
5053
|
+
secret: { token }, ...(ownerScopeId ? { ownerScopeId } : {}),
|
|
5054
|
+
});
|
|
5055
|
+
await connect('tenant');
|
|
5056
|
+
await connect('a', a);
|
|
5057
|
+
await connect('b', b);
|
|
5058
|
+
// Each owner still holds one live connection per account.
|
|
5059
|
+
await expect(connect('a-again', a)).rejects.toThrow(/already has a live/);
|
|
5060
|
+
await expect(connect('tenant-again')).rejects.toThrow(/already has a live/);
|
|
5061
|
+
// A tenant-level read opens the tenant's alone; naming the owner opens that scope's.
|
|
5062
|
+
expect((await host.admin.openConnection(t1, 'owned', 'planima'))?.secret).toEqual({ token: 'tenant' });
|
|
5063
|
+
expect((await host.admin.openConnection(t1, 'owned', 'planima', undefined, a))?.secret).toEqual({ token: 'a' });
|
|
5064
|
+
expect((await host.admin.listConnections(staff, { tenantId: t1, vertical: 'owned', ownerScopeId: b })).map((c) => c.label)).toEqual(['b']);
|
|
5065
|
+
expect((await host.admin.listConnections(staff, { tenantId: t1, vertical: 'owned', ownerScopeId: null })).map((c) => c.label)).toEqual(['tenant']);
|
|
5066
|
+
});
|
|
5049
5067
|
});
|
|
5050
5068
|
// -- connection grants: the directory record behind the tuple (#592) --------
|
|
5051
5069
|
//
|
|
@@ -5210,6 +5228,38 @@ export function scopeHostContractSuite(adapterName, makeFixture, opts = {}) {
|
|
|
5210
5228
|
expect(byConnection.get(rconn)?.sort()).toEqual([INHERITED, SCOPED].sort());
|
|
5211
5229
|
});
|
|
5212
5230
|
});
|
|
5231
|
+
// -- one key taken back on one scope, from a connection that stays live (#2732) --
|
|
5232
|
+
describe('revokeFromConnection (#2732)', () => {
|
|
5233
|
+
it('takes one key back on one scope, out of the gather too, keeps the rest, and audits only a change', async () => {
|
|
5234
|
+
const vt = tenantId.parse(ulid());
|
|
5235
|
+
const vs = scopeId.parse(ulid());
|
|
5236
|
+
const vconn = connectionId.parse(ulid());
|
|
5237
|
+
const LAND = permissionKey.parse('protocol:record-signature');
|
|
5238
|
+
const KEEP = permissionKey.parse('protocol:attach');
|
|
5239
|
+
await host.admin.createTenant(staff, { id: vt, slug: `tenant-${vt.toLowerCase()}`, name: 'Revoke' });
|
|
5240
|
+
await host.provisionScope(staff, { tenantId: vt, scopeId: vs, vertical: 'signing' });
|
|
5241
|
+
await host.admin.activateScope(staff, vt, vs);
|
|
5242
|
+
await host.admin.createConnection(staff, {
|
|
5243
|
+
id: vconn, tenantId: vt, vertical: 'signing', provider: 'signer', label: 'Signer', secret: { accessToken: 'tok-revoke' },
|
|
5244
|
+
});
|
|
5245
|
+
for (const permission of [LAND, KEEP]) {
|
|
5246
|
+
await host.admin.grantToConnection(staff, { connectionId: vconn, permission, node: { tenantId: vt, scopeId: vs }, grantedBy: staff });
|
|
5247
|
+
}
|
|
5248
|
+
const revoke = () => host.admin.revokeFromConnection(staff, { connectionId: vconn, permission: LAND, node: { tenantId: vt, scopeId: vs } });
|
|
5249
|
+
const audited = async () => (await host.admin.auditLog(staff, { tenantId: vt })).filter((e) => e.action === 'revokeFromConnection').length;
|
|
5250
|
+
await revoke();
|
|
5251
|
+
expect((await host.connectionGrantsInScope(vt, vs)).map((g) => g.permission)).toEqual([KEEP]);
|
|
5252
|
+
// The gather provision and reconcile seat from: a revoked key is never delivered again.
|
|
5253
|
+
expect((await host.admin.listConnectionGrants(staff, vt)).map((g) => g.permission)).toEqual([KEEP]);
|
|
5254
|
+
// The connection itself is untouched.
|
|
5255
|
+
expect((await host.admin.openConnection(vt, 'signing', 'signer'))?.id).toBe(vconn);
|
|
5256
|
+
expect(await audited()).toBe(1);
|
|
5257
|
+
await revoke();
|
|
5258
|
+
expect(await audited()).toBe(1);
|
|
5259
|
+
// A scope the tenant does not hold is not found, as it is for `grantToConnection`.
|
|
5260
|
+
await expectRefusal(host.admin.revokeFromConnection(staff, { connectionId: vconn, permission: LAND, node: { tenantId: vt, scopeId: scopeId.parse(ulid()) } }), 'not_found');
|
|
5261
|
+
});
|
|
5262
|
+
});
|
|
5213
5263
|
// -- connector state: a connector's own durable bookkeeping (#101 gap 3) ---
|
|
5214
5264
|
describe('connector state', () => {
|
|
5215
5265
|
it('round-trips arbitrary JSON keyed by (connection, key)', async () => {
|