@fabrika/proxy-core 0.9.0-dev.19 → 0.9.0-dev.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/proxy-core",
3
- "version": "0.9.0-dev.19",
3
+ "version": "0.9.0-dev.20",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,9 +48,9 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "zod": "^3.25.76",
51
- "@fabrika/auth-core": "0.9.0-dev.19",
52
- "@fabrika/jwks": "0.9.0-dev.19",
51
+ "@fabrika/auth-core": "0.9.0-dev.20",
52
+ "@fabrika/jwks": "0.9.0-dev.20",
53
53
  "jose": "^5.9.0",
54
- "@fabrika/platform": "0.9.0-dev.19"
54
+ "@fabrika/platform": "0.9.0-dev.20"
55
55
  }
56
56
  }
package/src/manifest.ts CHANGED
@@ -16,7 +16,9 @@ import {
16
16
  FILE_RESPONSE_KINDS,
17
17
  type InstallationEndpointRow,
18
18
  type InstallationEndpointTable,
19
+ isAnyOfList,
19
20
  isDigest,
21
+ MAX_ANY_OF,
20
22
  MAX_CACHE_AGE_SECONDS,
21
23
  OPS_CONTENT_TYPE,
22
24
  OPS_METHOD,
@@ -273,6 +275,11 @@ const capabilitySchema = z.object({ action: nameSchema, access: capabilityFormSc
273
275
  const requirementSchema = z.discriminatedUnion('kind', [
274
276
  z.object({ kind: z.literal('member') }).strict(),
275
277
  z.object({ kind: z.literal('action'), action: nameSchema, access: accessFormSchema }).strict(),
278
+ z.object({
279
+ kind: z.literal('anyOf'),
280
+ actions: z.tuple([nameSchema, nameSchema]).rest(nameSchema).refine(isAnyOfList, `two to ${MAX_ANY_OF} distinct actions, sorted`),
281
+ access: z.object({ form: z.literal('app') }).strict(),
282
+ }).strict(),
276
283
  z.object({
277
284
  kind: z.literal('capabilities'),
278
285
  capabilities: z.record(nameSchema, capabilitySchema).refine((capabilities) => Object.keys(capabilities).length >= 2, 'at least two capabilities'),
@@ -225,6 +225,28 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
225
225
  } | {
226
226
  form: "app";
227
227
  };
228
+ }>, z.ZodObject<{
229
+ kind: z.ZodLiteral<"anyOf">;
230
+ actions: z.ZodEffects<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodString>, [string, string, ...string[]], [string, string, ...string[]]>;
231
+ access: z.ZodObject<{
232
+ form: z.ZodLiteral<"app">;
233
+ }, "strict", z.ZodTypeAny, {
234
+ form: "app";
235
+ }, {
236
+ form: "app";
237
+ }>;
238
+ }, "strict", z.ZodTypeAny, {
239
+ actions: [string, string, ...string[]];
240
+ kind: "anyOf";
241
+ access: {
242
+ form: "app";
243
+ };
244
+ }, {
245
+ actions: [string, string, ...string[]];
246
+ kind: "anyOf";
247
+ access: {
248
+ form: "app";
249
+ };
228
250
  }>, z.ZodObject<{
229
251
  kind: z.ZodLiteral<"capabilities">;
230
252
  capabilities: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -400,6 +422,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
400
422
  } | {
401
423
  form: "app";
402
424
  };
425
+ } | {
426
+ actions: [string, string, ...string[]];
427
+ kind: "anyOf";
428
+ access: {
429
+ form: "app";
430
+ };
403
431
  } | {
404
432
  capabilities: Record<string, {
405
433
  action: string;
@@ -454,6 +482,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
454
482
  } | {
455
483
  form: "app";
456
484
  };
485
+ } | {
486
+ actions: [string, string, ...string[]];
487
+ kind: "anyOf";
488
+ access: {
489
+ form: "app";
490
+ };
457
491
  } | {
458
492
  capabilities: Record<string, {
459
493
  action: string;
@@ -605,6 +639,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
605
639
  } | {
606
640
  form: "app";
607
641
  };
642
+ } | {
643
+ actions: [string, string, ...string[]];
644
+ kind: "anyOf";
645
+ access: {
646
+ form: "app";
647
+ };
608
648
  } | {
609
649
  capabilities: Record<string, {
610
650
  action: string;
@@ -688,6 +728,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
688
728
  } | {
689
729
  form: "app";
690
730
  };
731
+ } | {
732
+ actions: [string, string, ...string[]];
733
+ kind: "anyOf";
734
+ access: {
735
+ form: "app";
736
+ };
691
737
  } | {
692
738
  capabilities: Record<string, {
693
739
  action: string;
@@ -771,6 +817,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
771
817
  } | {
772
818
  form: "app";
773
819
  };
820
+ } | {
821
+ actions: [string, string, ...string[]];
822
+ kind: "anyOf";
823
+ access: {
824
+ form: "app";
825
+ };
774
826
  } | {
775
827
  capabilities: Record<string, {
776
828
  action: string;
@@ -854,6 +906,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
854
906
  } | {
855
907
  form: "app";
856
908
  };
909
+ } | {
910
+ actions: [string, string, ...string[]];
911
+ kind: "anyOf";
912
+ access: {
913
+ form: "app";
914
+ };
857
915
  } | {
858
916
  capabilities: Record<string, {
859
917
  action: string;
@@ -937,6 +995,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
937
995
  } | {
938
996
  form: "app";
939
997
  };
998
+ } | {
999
+ actions: [string, string, ...string[]];
1000
+ kind: "anyOf";
1001
+ access: {
1002
+ form: "app";
1003
+ };
940
1004
  } | {
941
1005
  capabilities: Record<string, {
942
1006
  action: string;
@@ -1020,6 +1084,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
1020
1084
  } | {
1021
1085
  form: "app";
1022
1086
  };
1087
+ } | {
1088
+ actions: [string, string, ...string[]];
1089
+ kind: "anyOf";
1090
+ access: {
1091
+ form: "app";
1092
+ };
1023
1093
  } | {
1024
1094
  capabilities: Record<string, {
1025
1095
  action: string;
@@ -1103,6 +1173,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
1103
1173
  } | {
1104
1174
  form: "app";
1105
1175
  };
1176
+ } | {
1177
+ actions: [string, string, ...string[]];
1178
+ kind: "anyOf";
1179
+ access: {
1180
+ form: "app";
1181
+ };
1106
1182
  } | {
1107
1183
  capabilities: Record<string, {
1108
1184
  action: string;
@@ -1186,6 +1262,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
1186
1262
  } | {
1187
1263
  form: "app";
1188
1264
  };
1265
+ } | {
1266
+ actions: [string, string, ...string[]];
1267
+ kind: "anyOf";
1268
+ access: {
1269
+ form: "app";
1270
+ };
1189
1271
  } | {
1190
1272
  capabilities: Record<string, {
1191
1273
  action: string;
@@ -1269,6 +1351,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
1269
1351
  } | {
1270
1352
  form: "app";
1271
1353
  };
1354
+ } | {
1355
+ actions: [string, string, ...string[]];
1356
+ kind: "anyOf";
1357
+ access: {
1358
+ form: "app";
1359
+ };
1272
1360
  } | {
1273
1361
  capabilities: Record<string, {
1274
1362
  action: string;
@@ -1352,6 +1440,12 @@ export declare const proxyEndpointRowSchema: z.ZodEffects<z.ZodEffects<z.ZodEffe
1352
1440
  } | {
1353
1441
  form: "app";
1354
1442
  };
1443
+ } | {
1444
+ actions: [string, string, ...string[]];
1445
+ kind: "anyOf";
1446
+ access: {
1447
+ form: "app";
1448
+ };
1355
1449
  } | {
1356
1450
  capabilities: Record<string, {
1357
1451
  action: string;
@@ -1511,6 +1605,28 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
1511
1605
  } | {
1512
1606
  form: "app";
1513
1607
  };
1608
+ }>, z.ZodObject<{
1609
+ kind: z.ZodLiteral<"anyOf">;
1610
+ actions: z.ZodEffects<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodString>, [string, string, ...string[]], [string, string, ...string[]]>;
1611
+ access: z.ZodObject<{
1612
+ form: z.ZodLiteral<"app">;
1613
+ }, "strict", z.ZodTypeAny, {
1614
+ form: "app";
1615
+ }, {
1616
+ form: "app";
1617
+ }>;
1618
+ }, "strict", z.ZodTypeAny, {
1619
+ actions: [string, string, ...string[]];
1620
+ kind: "anyOf";
1621
+ access: {
1622
+ form: "app";
1623
+ };
1624
+ }, {
1625
+ actions: [string, string, ...string[]];
1626
+ kind: "anyOf";
1627
+ access: {
1628
+ form: "app";
1629
+ };
1514
1630
  }>, z.ZodObject<{
1515
1631
  kind: z.ZodLiteral<"capabilities">;
1516
1632
  capabilities: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1686,6 +1802,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
1686
1802
  } | {
1687
1803
  form: "app";
1688
1804
  };
1805
+ } | {
1806
+ actions: [string, string, ...string[]];
1807
+ kind: "anyOf";
1808
+ access: {
1809
+ form: "app";
1810
+ };
1689
1811
  } | {
1690
1812
  capabilities: Record<string, {
1691
1813
  action: string;
@@ -1740,6 +1862,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
1740
1862
  } | {
1741
1863
  form: "app";
1742
1864
  };
1865
+ } | {
1866
+ actions: [string, string, ...string[]];
1867
+ kind: "anyOf";
1868
+ access: {
1869
+ form: "app";
1870
+ };
1743
1871
  } | {
1744
1872
  capabilities: Record<string, {
1745
1873
  action: string;
@@ -1891,6 +2019,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
1891
2019
  } | {
1892
2020
  form: "app";
1893
2021
  };
2022
+ } | {
2023
+ actions: [string, string, ...string[]];
2024
+ kind: "anyOf";
2025
+ access: {
2026
+ form: "app";
2027
+ };
1894
2028
  } | {
1895
2029
  capabilities: Record<string, {
1896
2030
  action: string;
@@ -1974,6 +2108,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
1974
2108
  } | {
1975
2109
  form: "app";
1976
2110
  };
2111
+ } | {
2112
+ actions: [string, string, ...string[]];
2113
+ kind: "anyOf";
2114
+ access: {
2115
+ form: "app";
2116
+ };
1977
2117
  } | {
1978
2118
  capabilities: Record<string, {
1979
2119
  action: string;
@@ -2057,6 +2197,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2057
2197
  } | {
2058
2198
  form: "app";
2059
2199
  };
2200
+ } | {
2201
+ actions: [string, string, ...string[]];
2202
+ kind: "anyOf";
2203
+ access: {
2204
+ form: "app";
2205
+ };
2060
2206
  } | {
2061
2207
  capabilities: Record<string, {
2062
2208
  action: string;
@@ -2140,6 +2286,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2140
2286
  } | {
2141
2287
  form: "app";
2142
2288
  };
2289
+ } | {
2290
+ actions: [string, string, ...string[]];
2291
+ kind: "anyOf";
2292
+ access: {
2293
+ form: "app";
2294
+ };
2143
2295
  } | {
2144
2296
  capabilities: Record<string, {
2145
2297
  action: string;
@@ -2223,6 +2375,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2223
2375
  } | {
2224
2376
  form: "app";
2225
2377
  };
2378
+ } | {
2379
+ actions: [string, string, ...string[]];
2380
+ kind: "anyOf";
2381
+ access: {
2382
+ form: "app";
2383
+ };
2226
2384
  } | {
2227
2385
  capabilities: Record<string, {
2228
2386
  action: string;
@@ -2306,6 +2464,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2306
2464
  } | {
2307
2465
  form: "app";
2308
2466
  };
2467
+ } | {
2468
+ actions: [string, string, ...string[]];
2469
+ kind: "anyOf";
2470
+ access: {
2471
+ form: "app";
2472
+ };
2309
2473
  } | {
2310
2474
  capabilities: Record<string, {
2311
2475
  action: string;
@@ -2389,6 +2553,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2389
2553
  } | {
2390
2554
  form: "app";
2391
2555
  };
2556
+ } | {
2557
+ actions: [string, string, ...string[]];
2558
+ kind: "anyOf";
2559
+ access: {
2560
+ form: "app";
2561
+ };
2392
2562
  } | {
2393
2563
  capabilities: Record<string, {
2394
2564
  action: string;
@@ -2472,6 +2642,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2472
2642
  } | {
2473
2643
  form: "app";
2474
2644
  };
2645
+ } | {
2646
+ actions: [string, string, ...string[]];
2647
+ kind: "anyOf";
2648
+ access: {
2649
+ form: "app";
2650
+ };
2475
2651
  } | {
2476
2652
  capabilities: Record<string, {
2477
2653
  action: string;
@@ -2555,6 +2731,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2555
2731
  } | {
2556
2732
  form: "app";
2557
2733
  };
2734
+ } | {
2735
+ actions: [string, string, ...string[]];
2736
+ kind: "anyOf";
2737
+ access: {
2738
+ form: "app";
2739
+ };
2558
2740
  } | {
2559
2741
  capabilities: Record<string, {
2560
2742
  action: string;
@@ -2638,6 +2820,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2638
2820
  } | {
2639
2821
  form: "app";
2640
2822
  };
2823
+ } | {
2824
+ actions: [string, string, ...string[]];
2825
+ kind: "anyOf";
2826
+ access: {
2827
+ form: "app";
2828
+ };
2641
2829
  } | {
2642
2830
  capabilities: Record<string, {
2643
2831
  action: string;
@@ -2815,6 +3003,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2815
3003
  } | {
2816
3004
  form: "app";
2817
3005
  };
3006
+ } | {
3007
+ actions: [string, string, ...string[]];
3008
+ kind: "anyOf";
3009
+ access: {
3010
+ form: "app";
3011
+ };
2818
3012
  } | {
2819
3013
  capabilities: Record<string, {
2820
3014
  action: string;
@@ -2933,6 +3127,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
2933
3127
  } | {
2934
3128
  form: "app";
2935
3129
  };
3130
+ } | {
3131
+ actions: [string, string, ...string[]];
3132
+ kind: "anyOf";
3133
+ access: {
3134
+ form: "app";
3135
+ };
2936
3136
  } | {
2937
3137
  capabilities: Record<string, {
2938
3138
  action: string;
@@ -3051,6 +3251,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
3051
3251
  } | {
3052
3252
  form: "app";
3053
3253
  };
3254
+ } | {
3255
+ actions: [string, string, ...string[]];
3256
+ kind: "anyOf";
3257
+ access: {
3258
+ form: "app";
3259
+ };
3054
3260
  } | {
3055
3261
  capabilities: Record<string, {
3056
3262
  action: string;
@@ -3169,6 +3375,12 @@ export declare const contractProxyAppSchema: z.ZodEffects<z.ZodObject<{
3169
3375
  } | {
3170
3376
  form: "app";
3171
3377
  };
3378
+ } | {
3379
+ actions: [string, string, ...string[]];
3380
+ kind: "anyOf";
3381
+ access: {
3382
+ form: "app";
3383
+ };
3172
3384
  } | {
3173
3385
  capabilities: Record<string, {
3174
3386
  action: string;
@@ -4011,6 +4223,28 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4011
4223
  } | {
4012
4224
  form: "app";
4013
4225
  };
4226
+ }>, z.ZodObject<{
4227
+ kind: z.ZodLiteral<"anyOf">;
4228
+ actions: z.ZodEffects<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodString>, [string, string, ...string[]], [string, string, ...string[]]>;
4229
+ access: z.ZodObject<{
4230
+ form: z.ZodLiteral<"app">;
4231
+ }, "strict", z.ZodTypeAny, {
4232
+ form: "app";
4233
+ }, {
4234
+ form: "app";
4235
+ }>;
4236
+ }, "strict", z.ZodTypeAny, {
4237
+ actions: [string, string, ...string[]];
4238
+ kind: "anyOf";
4239
+ access: {
4240
+ form: "app";
4241
+ };
4242
+ }, {
4243
+ actions: [string, string, ...string[]];
4244
+ kind: "anyOf";
4245
+ access: {
4246
+ form: "app";
4247
+ };
4014
4248
  }>, z.ZodObject<{
4015
4249
  kind: z.ZodLiteral<"capabilities">;
4016
4250
  capabilities: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -4186,6 +4420,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4186
4420
  } | {
4187
4421
  form: "app";
4188
4422
  };
4423
+ } | {
4424
+ actions: [string, string, ...string[]];
4425
+ kind: "anyOf";
4426
+ access: {
4427
+ form: "app";
4428
+ };
4189
4429
  } | {
4190
4430
  capabilities: Record<string, {
4191
4431
  action: string;
@@ -4240,6 +4480,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4240
4480
  } | {
4241
4481
  form: "app";
4242
4482
  };
4483
+ } | {
4484
+ actions: [string, string, ...string[]];
4485
+ kind: "anyOf";
4486
+ access: {
4487
+ form: "app";
4488
+ };
4243
4489
  } | {
4244
4490
  capabilities: Record<string, {
4245
4491
  action: string;
@@ -4391,6 +4637,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4391
4637
  } | {
4392
4638
  form: "app";
4393
4639
  };
4640
+ } | {
4641
+ actions: [string, string, ...string[]];
4642
+ kind: "anyOf";
4643
+ access: {
4644
+ form: "app";
4645
+ };
4394
4646
  } | {
4395
4647
  capabilities: Record<string, {
4396
4648
  action: string;
@@ -4474,6 +4726,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4474
4726
  } | {
4475
4727
  form: "app";
4476
4728
  };
4729
+ } | {
4730
+ actions: [string, string, ...string[]];
4731
+ kind: "anyOf";
4732
+ access: {
4733
+ form: "app";
4734
+ };
4477
4735
  } | {
4478
4736
  capabilities: Record<string, {
4479
4737
  action: string;
@@ -4557,6 +4815,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4557
4815
  } | {
4558
4816
  form: "app";
4559
4817
  };
4818
+ } | {
4819
+ actions: [string, string, ...string[]];
4820
+ kind: "anyOf";
4821
+ access: {
4822
+ form: "app";
4823
+ };
4560
4824
  } | {
4561
4825
  capabilities: Record<string, {
4562
4826
  action: string;
@@ -4640,6 +4904,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4640
4904
  } | {
4641
4905
  form: "app";
4642
4906
  };
4907
+ } | {
4908
+ actions: [string, string, ...string[]];
4909
+ kind: "anyOf";
4910
+ access: {
4911
+ form: "app";
4912
+ };
4643
4913
  } | {
4644
4914
  capabilities: Record<string, {
4645
4915
  action: string;
@@ -4723,6 +4993,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4723
4993
  } | {
4724
4994
  form: "app";
4725
4995
  };
4996
+ } | {
4997
+ actions: [string, string, ...string[]];
4998
+ kind: "anyOf";
4999
+ access: {
5000
+ form: "app";
5001
+ };
4726
5002
  } | {
4727
5003
  capabilities: Record<string, {
4728
5004
  action: string;
@@ -4806,6 +5082,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4806
5082
  } | {
4807
5083
  form: "app";
4808
5084
  };
5085
+ } | {
5086
+ actions: [string, string, ...string[]];
5087
+ kind: "anyOf";
5088
+ access: {
5089
+ form: "app";
5090
+ };
4809
5091
  } | {
4810
5092
  capabilities: Record<string, {
4811
5093
  action: string;
@@ -4889,6 +5171,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4889
5171
  } | {
4890
5172
  form: "app";
4891
5173
  };
5174
+ } | {
5175
+ actions: [string, string, ...string[]];
5176
+ kind: "anyOf";
5177
+ access: {
5178
+ form: "app";
5179
+ };
4892
5180
  } | {
4893
5181
  capabilities: Record<string, {
4894
5182
  action: string;
@@ -4972,6 +5260,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4972
5260
  } | {
4973
5261
  form: "app";
4974
5262
  };
5263
+ } | {
5264
+ actions: [string, string, ...string[]];
5265
+ kind: "anyOf";
5266
+ access: {
5267
+ form: "app";
5268
+ };
4975
5269
  } | {
4976
5270
  capabilities: Record<string, {
4977
5271
  action: string;
@@ -5055,6 +5349,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5055
5349
  } | {
5056
5350
  form: "app";
5057
5351
  };
5352
+ } | {
5353
+ actions: [string, string, ...string[]];
5354
+ kind: "anyOf";
5355
+ access: {
5356
+ form: "app";
5357
+ };
5058
5358
  } | {
5059
5359
  capabilities: Record<string, {
5060
5360
  action: string;
@@ -5138,6 +5438,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5138
5438
  } | {
5139
5439
  form: "app";
5140
5440
  };
5441
+ } | {
5442
+ actions: [string, string, ...string[]];
5443
+ kind: "anyOf";
5444
+ access: {
5445
+ form: "app";
5446
+ };
5141
5447
  } | {
5142
5448
  capabilities: Record<string, {
5143
5449
  action: string;
@@ -5315,6 +5621,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5315
5621
  } | {
5316
5622
  form: "app";
5317
5623
  };
5624
+ } | {
5625
+ actions: [string, string, ...string[]];
5626
+ kind: "anyOf";
5627
+ access: {
5628
+ form: "app";
5629
+ };
5318
5630
  } | {
5319
5631
  capabilities: Record<string, {
5320
5632
  action: string;
@@ -5433,6 +5745,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5433
5745
  } | {
5434
5746
  form: "app";
5435
5747
  };
5748
+ } | {
5749
+ actions: [string, string, ...string[]];
5750
+ kind: "anyOf";
5751
+ access: {
5752
+ form: "app";
5753
+ };
5436
5754
  } | {
5437
5755
  capabilities: Record<string, {
5438
5756
  action: string;
@@ -5551,6 +5869,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5551
5869
  } | {
5552
5870
  form: "app";
5553
5871
  };
5872
+ } | {
5873
+ actions: [string, string, ...string[]];
5874
+ kind: "anyOf";
5875
+ access: {
5876
+ form: "app";
5877
+ };
5554
5878
  } | {
5555
5879
  capabilities: Record<string, {
5556
5880
  action: string;
@@ -5669,6 +5993,12 @@ export declare const proxyAppSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5669
5993
  } | {
5670
5994
  form: "app";
5671
5995
  };
5996
+ } | {
5997
+ actions: [string, string, ...string[]];
5998
+ kind: "anyOf";
5999
+ access: {
6000
+ form: "app";
6001
+ };
5672
6002
  } | {
5673
6003
  capabilities: Record<string, {
5674
6004
  action: string;
@@ -6343,6 +6673,28 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6343
6673
  } | {
6344
6674
  form: "app";
6345
6675
  };
6676
+ }>, z.ZodObject<{
6677
+ kind: z.ZodLiteral<"anyOf">;
6678
+ actions: z.ZodEffects<z.ZodTuple<[z.ZodString, z.ZodString], z.ZodString>, [string, string, ...string[]], [string, string, ...string[]]>;
6679
+ access: z.ZodObject<{
6680
+ form: z.ZodLiteral<"app">;
6681
+ }, "strict", z.ZodTypeAny, {
6682
+ form: "app";
6683
+ }, {
6684
+ form: "app";
6685
+ }>;
6686
+ }, "strict", z.ZodTypeAny, {
6687
+ actions: [string, string, ...string[]];
6688
+ kind: "anyOf";
6689
+ access: {
6690
+ form: "app";
6691
+ };
6692
+ }, {
6693
+ actions: [string, string, ...string[]];
6694
+ kind: "anyOf";
6695
+ access: {
6696
+ form: "app";
6697
+ };
6346
6698
  }>, z.ZodObject<{
6347
6699
  kind: z.ZodLiteral<"capabilities">;
6348
6700
  capabilities: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6518,6 +6870,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6518
6870
  } | {
6519
6871
  form: "app";
6520
6872
  };
6873
+ } | {
6874
+ actions: [string, string, ...string[]];
6875
+ kind: "anyOf";
6876
+ access: {
6877
+ form: "app";
6878
+ };
6521
6879
  } | {
6522
6880
  capabilities: Record<string, {
6523
6881
  action: string;
@@ -6572,6 +6930,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6572
6930
  } | {
6573
6931
  form: "app";
6574
6932
  };
6933
+ } | {
6934
+ actions: [string, string, ...string[]];
6935
+ kind: "anyOf";
6936
+ access: {
6937
+ form: "app";
6938
+ };
6575
6939
  } | {
6576
6940
  capabilities: Record<string, {
6577
6941
  action: string;
@@ -6723,6 +7087,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6723
7087
  } | {
6724
7088
  form: "app";
6725
7089
  };
7090
+ } | {
7091
+ actions: [string, string, ...string[]];
7092
+ kind: "anyOf";
7093
+ access: {
7094
+ form: "app";
7095
+ };
6726
7096
  } | {
6727
7097
  capabilities: Record<string, {
6728
7098
  action: string;
@@ -6806,6 +7176,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6806
7176
  } | {
6807
7177
  form: "app";
6808
7178
  };
7179
+ } | {
7180
+ actions: [string, string, ...string[]];
7181
+ kind: "anyOf";
7182
+ access: {
7183
+ form: "app";
7184
+ };
6809
7185
  } | {
6810
7186
  capabilities: Record<string, {
6811
7187
  action: string;
@@ -6889,6 +7265,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6889
7265
  } | {
6890
7266
  form: "app";
6891
7267
  };
7268
+ } | {
7269
+ actions: [string, string, ...string[]];
7270
+ kind: "anyOf";
7271
+ access: {
7272
+ form: "app";
7273
+ };
6892
7274
  } | {
6893
7275
  capabilities: Record<string, {
6894
7276
  action: string;
@@ -6972,6 +7354,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
6972
7354
  } | {
6973
7355
  form: "app";
6974
7356
  };
7357
+ } | {
7358
+ actions: [string, string, ...string[]];
7359
+ kind: "anyOf";
7360
+ access: {
7361
+ form: "app";
7362
+ };
6975
7363
  } | {
6976
7364
  capabilities: Record<string, {
6977
7365
  action: string;
@@ -7055,6 +7443,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7055
7443
  } | {
7056
7444
  form: "app";
7057
7445
  };
7446
+ } | {
7447
+ actions: [string, string, ...string[]];
7448
+ kind: "anyOf";
7449
+ access: {
7450
+ form: "app";
7451
+ };
7058
7452
  } | {
7059
7453
  capabilities: Record<string, {
7060
7454
  action: string;
@@ -7138,6 +7532,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7138
7532
  } | {
7139
7533
  form: "app";
7140
7534
  };
7535
+ } | {
7536
+ actions: [string, string, ...string[]];
7537
+ kind: "anyOf";
7538
+ access: {
7539
+ form: "app";
7540
+ };
7141
7541
  } | {
7142
7542
  capabilities: Record<string, {
7143
7543
  action: string;
@@ -7221,6 +7621,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7221
7621
  } | {
7222
7622
  form: "app";
7223
7623
  };
7624
+ } | {
7625
+ actions: [string, string, ...string[]];
7626
+ kind: "anyOf";
7627
+ access: {
7628
+ form: "app";
7629
+ };
7224
7630
  } | {
7225
7631
  capabilities: Record<string, {
7226
7632
  action: string;
@@ -7304,6 +7710,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7304
7710
  } | {
7305
7711
  form: "app";
7306
7712
  };
7713
+ } | {
7714
+ actions: [string, string, ...string[]];
7715
+ kind: "anyOf";
7716
+ access: {
7717
+ form: "app";
7718
+ };
7307
7719
  } | {
7308
7720
  capabilities: Record<string, {
7309
7721
  action: string;
@@ -7387,6 +7799,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7387
7799
  } | {
7388
7800
  form: "app";
7389
7801
  };
7802
+ } | {
7803
+ actions: [string, string, ...string[]];
7804
+ kind: "anyOf";
7805
+ access: {
7806
+ form: "app";
7807
+ };
7390
7808
  } | {
7391
7809
  capabilities: Record<string, {
7392
7810
  action: string;
@@ -7470,6 +7888,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7470
7888
  } | {
7471
7889
  form: "app";
7472
7890
  };
7891
+ } | {
7892
+ actions: [string, string, ...string[]];
7893
+ kind: "anyOf";
7894
+ access: {
7895
+ form: "app";
7896
+ };
7473
7897
  } | {
7474
7898
  capabilities: Record<string, {
7475
7899
  action: string;
@@ -7647,6 +8071,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7647
8071
  } | {
7648
8072
  form: "app";
7649
8073
  };
8074
+ } | {
8075
+ actions: [string, string, ...string[]];
8076
+ kind: "anyOf";
8077
+ access: {
8078
+ form: "app";
8079
+ };
7650
8080
  } | {
7651
8081
  capabilities: Record<string, {
7652
8082
  action: string;
@@ -7765,6 +8195,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7765
8195
  } | {
7766
8196
  form: "app";
7767
8197
  };
8198
+ } | {
8199
+ actions: [string, string, ...string[]];
8200
+ kind: "anyOf";
8201
+ access: {
8202
+ form: "app";
8203
+ };
7768
8204
  } | {
7769
8205
  capabilities: Record<string, {
7770
8206
  action: string;
@@ -7883,6 +8319,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
7883
8319
  } | {
7884
8320
  form: "app";
7885
8321
  };
8322
+ } | {
8323
+ actions: [string, string, ...string[]];
8324
+ kind: "anyOf";
8325
+ access: {
8326
+ form: "app";
8327
+ };
7886
8328
  } | {
7887
8329
  capabilities: Record<string, {
7888
8330
  action: string;
@@ -8001,6 +8443,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
8001
8443
  } | {
8002
8444
  form: "app";
8003
8445
  };
8446
+ } | {
8447
+ actions: [string, string, ...string[]];
8448
+ kind: "anyOf";
8449
+ access: {
8450
+ form: "app";
8451
+ };
8004
8452
  } | {
8005
8453
  capabilities: Record<string, {
8006
8454
  action: string;
@@ -8607,6 +9055,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
8607
9055
  } | {
8608
9056
  form: "app";
8609
9057
  };
9058
+ } | {
9059
+ actions: [string, string, ...string[]];
9060
+ kind: "anyOf";
9061
+ access: {
9062
+ form: "app";
9063
+ };
8610
9064
  } | {
8611
9065
  capabilities: Record<string, {
8612
9066
  action: string;
@@ -8783,6 +9237,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
8783
9237
  } | {
8784
9238
  form: "app";
8785
9239
  };
9240
+ } | {
9241
+ actions: [string, string, ...string[]];
9242
+ kind: "anyOf";
9243
+ access: {
9244
+ form: "app";
9245
+ };
8786
9246
  } | {
8787
9247
  capabilities: Record<string, {
8788
9248
  action: string;
@@ -8959,6 +9419,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
8959
9419
  } | {
8960
9420
  form: "app";
8961
9421
  };
9422
+ } | {
9423
+ actions: [string, string, ...string[]];
9424
+ kind: "anyOf";
9425
+ access: {
9426
+ form: "app";
9427
+ };
8962
9428
  } | {
8963
9429
  capabilities: Record<string, {
8964
9430
  action: string;
@@ -9135,6 +9601,12 @@ export declare const proxyManifestSchema: z.ZodEffects<z.ZodObject<{
9135
9601
  } | {
9136
9602
  form: "app";
9137
9603
  };
9604
+ } | {
9605
+ actions: [string, string, ...string[]];
9606
+ kind: "anyOf";
9607
+ access: {
9608
+ form: "app";
9609
+ };
9138
9610
  } | {
9139
9611
  capabilities: Record<string, {
9140
9612
  action: string;