@inf-monkeys-tech/monkeys 1.1.53 → 1.1.55

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 (86) hide show
  1. package/lib/contracts/action-program-http.d.ts +202 -0
  2. package/lib/contracts/action-program-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control-http.d.ts +44345 -12496
  4. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control-http.js +37 -4
  6. package/lib/contracts/declarative-control-http.js.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +1738 -246
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +166 -20
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-document-import.d.ts +640 -10
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +3318 -578
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/menu.d.ts +329 -0
  16. package/lib/contracts/menu.d.ts.map +1 -1
  17. package/lib/contracts/page-expression.d.ts +1 -0
  18. package/lib/contracts/page-expression.d.ts.map +1 -1
  19. package/lib/contracts/page-expression.js +1 -1
  20. package/lib/contracts/page-expression.js.map +1 -1
  21. package/lib/contracts/page.d.ts +989 -0
  22. package/lib/contracts/page.d.ts.map +1 -1
  23. package/lib/contracts/page.js +24 -1
  24. package/lib/contracts/page.js.map +1 -1
  25. package/lib/contracts/semantic.d.ts +329 -0
  26. package/lib/contracts/semantic.d.ts.map +1 -1
  27. package/lib/contracts/tenant.d.ts +1645 -0
  28. package/lib/contracts/tenant.d.ts.map +1 -1
  29. package/lib/esm/{chunk-EMZG7H6M.mjs → chunk-66A4GGOV.mjs} +2 -2
  30. package/lib/esm/{chunk-LQ72DLZI.mjs → chunk-DIIMDX7F.mjs} +220 -23
  31. package/lib/esm/chunk-DIIMDX7F.mjs.map +1 -0
  32. package/lib/esm/{chunk-E46Y3E7E.mjs → chunk-E6YPJ4DR.mjs} +2 -2
  33. package/lib/esm/{chunk-TFNKWLY6.mjs → chunk-ITGLKSCE.mjs} +295 -13
  34. package/lib/esm/chunk-ITGLKSCE.mjs.map +1 -0
  35. package/lib/esm/{chunk-BNFELJET.mjs → chunk-RMZW3SVL.mjs} +3 -3
  36. package/lib/esm/{chunk-CB4WTYNQ.mjs → chunk-TROZIHS4.mjs} +2 -2
  37. package/lib/esm/contracts/index.mjs +28 -4
  38. package/lib/esm/index.mjs +48 -6
  39. package/lib/esm/index.mjs.map +1 -1
  40. package/lib/esm/runtime/index.mjs +21 -3
  41. package/lib/esm/schemas/index.mjs +3 -3
  42. package/lib/json-schema/declarative-route-owner-index.schema.json +10 -2
  43. package/lib/json-schema/navigation-runtime-bundle.schema.json +21 -1
  44. package/lib/json-schema/navigation.schema.json +21 -1
  45. package/lib/json-schema/overlay-node.schema.json +2 -1
  46. package/lib/json-schema/page-definition.schema.json +1739 -3
  47. package/lib/json-schema/page-release.schema.json +80 -6
  48. package/lib/json-schema/page-runtime-bundle.schema.json +2453 -372
  49. package/lib/json-schema/page-runtime-descriptor.schema.json +1739 -3
  50. package/lib/json-schema/page.schema.json +958 -215
  51. package/lib/json-schema/product-declaration.schema.json +1736 -0
  52. package/lib/json-schema/render-node.schema.json +2 -1
  53. package/lib/json-schema/render-tree.schema.json +2 -1
  54. package/lib/json-schema/tenant-product-config.schema.json +1736 -0
  55. package/lib/json-schema/tenant-runtime-config.schema.json +1736 -0
  56. package/lib/runtime/declarative-control-compiler.d.ts +5 -0
  57. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  58. package/lib/runtime/declarative-control-compiler.js +105 -12
  59. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  60. package/lib/runtime/index.d.ts +2 -0
  61. package/lib/runtime/index.d.ts.map +1 -1
  62. package/lib/runtime/index.js +2 -0
  63. package/lib/runtime/index.js.map +1 -1
  64. package/lib/runtime/native-page-composition.d.ts +319 -0
  65. package/lib/runtime/native-page-composition.d.ts.map +1 -0
  66. package/lib/runtime/native-page-composition.js +19 -0
  67. package/lib/runtime/native-page-composition.js.map +1 -0
  68. package/lib/runtime/page-composition.js +1 -1
  69. package/lib/runtime/page-composition.js.map +1 -1
  70. package/lib/runtime/page-expression.d.ts +1 -1
  71. package/lib/runtime/page-expression.d.ts.map +1 -1
  72. package/lib/runtime/page-mount.d.ts +26 -0
  73. package/lib/runtime/page-mount.d.ts.map +1 -0
  74. package/lib/runtime/page-mount.js +203 -0
  75. package/lib/runtime/page-mount.js.map +1 -0
  76. package/lib/runtime/runtime-definition-wire.d.ts +6759 -357
  77. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  78. package/lib/schemas/index.d.ts +2544 -349
  79. package/lib/schemas/index.d.ts.map +1 -1
  80. package/package.json +2 -2
  81. package/lib/esm/chunk-LQ72DLZI.mjs.map +0 -1
  82. package/lib/esm/chunk-TFNKWLY6.mjs.map +0 -1
  83. /package/lib/esm/{chunk-EMZG7H6M.mjs.map → chunk-66A4GGOV.mjs.map} +0 -0
  84. /package/lib/esm/{chunk-E46Y3E7E.mjs.map → chunk-E6YPJ4DR.mjs.map} +0 -0
  85. /package/lib/esm/{chunk-BNFELJET.mjs.map → chunk-RMZW3SVL.mjs.map} +0 -0
  86. /package/lib/esm/{chunk-CB4WTYNQ.mjs.map → chunk-TROZIHS4.mjs.map} +0 -0
@@ -579,6 +579,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
579
579
  }, z.core.$strict>>;
580
580
  }, z.core.$strict>;
581
581
  release: z.ZodUnion<readonly [z.ZodObject<{
582
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
582
583
  pageRevisionRef: z.ZodObject<{
583
584
  revision: z.ZodNumber;
584
585
  schemaVersion: z.ZodNumber;
@@ -641,7 +642,11 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
641
642
  studio: "studio";
642
643
  kernel: "kernel";
643
644
  }>;
644
- routeSpaceRevisionRef: z.ZodObject<{
645
+ mode: z.ZodOptional<z.ZodEnum<{
646
+ route: "route";
647
+ embedded: "embedded";
648
+ }>>;
649
+ routeSpaceRevisionRef: z.ZodOptional<z.ZodObject<{
645
650
  revision: z.ZodNumber;
646
651
  schemaVersion: z.ZodNumber;
647
652
  contentHash: z.ZodString;
@@ -670,9 +675,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
670
675
  ownerRepo: z.ZodString;
671
676
  }, z.core.$strict>>;
672
677
  }, z.core.$strict>>;
673
- }, z.core.$strict>;
674
- normalizedPath: z.ZodString;
675
- routeClaim: z.ZodUnion<readonly [z.ZodObject<{
678
+ }, z.core.$strict>>;
679
+ normalizedPath: z.ZodOptional<z.ZodString>;
680
+ routeClaim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
676
681
  kind: z.ZodEnum<{
677
682
  canonical: "canonical";
678
683
  alias: "alias";
@@ -846,7 +851,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
846
851
  required: z.ZodBoolean;
847
852
  }, z.core.$strict>>;
848
853
  }, z.core.$strict>;
849
- }, z.core.$strict>]>;
854
+ }, z.core.$strict>]>>;
850
855
  legacyRouteTakeoverAuthorization: z.ZodOptional<z.ZodObject<{
851
856
  contract: z.ZodLiteral<"LegacyRouteTakeoverAuthorization">;
852
857
  schemaVersion: z.ZodLiteral<1>;
@@ -976,7 +981,6 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
976
981
  contentHash: z.ZodString;
977
982
  }, z.core.$strict>>;
978
983
  }, z.core.$strict>;
979
- schemaVersion: z.ZodLiteral<1>;
980
984
  releaseSlotId: z.ZodString;
981
985
  tenantScope: z.ZodObject<{
982
986
  tenantRef: z.ZodObject<{
@@ -2635,6 +2639,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
2635
2639
  contract: z.ZodLiteral<"WorkbenchRelease">;
2636
2640
  }, z.core.$strict>]>;
2637
2641
  bundle: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<{
2642
+ schemaVersion: 1 | 2;
2638
2643
  pageId: string;
2639
2644
  pageRevisionRef: {
2640
2645
  revision: number;
@@ -3624,6 +3629,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
3624
3629
  } | undefined;
3625
3630
  };
3626
3631
  parameters: Record<string, {
3632
+ kind: "page-parameter";
3633
+ name: string;
3634
+ } | {
3627
3635
  kind: "scope-field";
3628
3636
  path: string;
3629
3637
  } | {
@@ -3966,6 +3974,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
3966
3974
  } | undefined;
3967
3975
  };
3968
3976
  inputMapping: Record<string, {
3977
+ kind: "page-parameter";
3978
+ name: string;
3979
+ } | {
3969
3980
  kind: "scope-field";
3970
3981
  path: string;
3971
3982
  } | {
@@ -4401,7 +4412,6 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
4401
4412
  } | undefined;
4402
4413
  };
4403
4414
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
4404
- schemaVersion: 1;
4405
4415
  tenantScope: {
4406
4416
  tenantRef: {
4407
4417
  kind: string;
@@ -4628,6 +4638,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
4628
4638
  } | undefined;
4629
4639
  };
4630
4640
  parameters: Record<string, {
4641
+ kind: "page-parameter";
4642
+ name: string;
4643
+ } | {
4631
4644
  kind: "scope-field";
4632
4645
  path: string;
4633
4646
  } | {
@@ -4717,24 +4730,54 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
4717
4730
  sourceCapabilityInstanceId?: string | undefined;
4718
4731
  } | undefined;
4719
4732
  }[];
4720
- capabilityAccessEvaluated?: true | undefined;
4721
- sharedStateBindings?: {
4722
- bindingId: string;
4723
- provider: {
4724
- id: string;
4725
- version: number;
4726
- };
4727
- states: Record<string, string>;
4728
- queries: Record<string, string>;
4729
- writeInteractions: string[];
4730
- }[] | undefined;
4731
- initialQueryPolicy?: "auto" | "disabled" | "explicit" | undefined;
4732
- programBindings?: {
4733
- source: {
4734
- capabilityInstanceId: string;
4735
- port: string;
4736
- };
4737
- programRevisionRef: {
4733
+ usage?: "both" | "route" | "embedded" | undefined;
4734
+ parametersSchemaRevisionRef?: {
4735
+ revision: number;
4736
+ schemaVersion: number;
4737
+ contentHash: string;
4738
+ kind: string;
4739
+ id: string;
4740
+ ownerRepo: string;
4741
+ visibility: "tenant" | "public" | "global";
4742
+ tenantScope?: {
4743
+ tenantRef: {
4744
+ kind: string;
4745
+ id: string;
4746
+ ownerRepo: string;
4747
+ };
4748
+ dataSpaceRef: {
4749
+ kind: string;
4750
+ id: string;
4751
+ ownerRepo: string;
4752
+ };
4753
+ teamRef?: {
4754
+ kind: string;
4755
+ id: string;
4756
+ ownerRepo: string;
4757
+ } | undefined;
4758
+ } | undefined;
4759
+ } | undefined;
4760
+ parameterBindings?: Record<string, {
4761
+ kind: "query-parameter";
4762
+ name: string;
4763
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
4764
+ } | {
4765
+ kind: "route-parameter";
4766
+ name: string;
4767
+ codec?: "string" | "boolean" | "integer" | undefined;
4768
+ } | {
4769
+ kind: "constant";
4770
+ value: string | number | boolean | null;
4771
+ } | {
4772
+ kind: "identity";
4773
+ name: "tenantId" | "teamId" | "userId";
4774
+ }> | undefined;
4775
+ outputs?: {
4776
+ name: string;
4777
+ nodeId: string;
4778
+ port: string;
4779
+ capabilityInstanceId: string;
4780
+ schemaRevisionRef: {
4738
4781
  revision: number;
4739
4782
  schemaVersion: number;
4740
4783
  contentHash: string;
@@ -4760,222 +4803,519 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
4760
4803
  } | undefined;
4761
4804
  } | undefined;
4762
4805
  };
4763
- definition: {
4764
- contract: "ActionProgramDefinition";
4765
- schemaVersion: 1;
4766
- programId: string;
4767
- ownerRepo: string;
4768
- tenantScope: {
4769
- tenantRef: {
4770
- kind: string;
4771
- id: string;
4772
- ownerRepo: string;
4773
- };
4774
- dataSpaceRef: {
4775
- kind: string;
4776
- id: string;
4777
- ownerRepo: string;
4778
- };
4779
- teamRef?: {
4780
- kind: string;
4781
- id: string;
4782
- ownerRepo: string;
4783
- } | undefined;
4784
- };
4785
- supportedSurface: "studio";
4786
- inputSchemaRevisionRef: {
4787
- revision: number;
4788
- schemaVersion: number;
4789
- contentHash: string;
4790
- kind: string;
4791
- id: string;
4792
- ownerRepo: string;
4793
- visibility: "tenant" | "public" | "global";
4794
- tenantScope?: {
4795
- tenantRef: {
4796
- kind: string;
4797
- id: string;
4798
- ownerRepo: string;
4799
- };
4800
- dataSpaceRef: {
4801
- kind: string;
4802
- id: string;
4803
- ownerRepo: string;
4804
- };
4805
- teamRef?: {
4806
- kind: string;
4807
- id: string;
4808
- ownerRepo: string;
4809
- } | undefined;
4810
- } | undefined;
4811
- };
4812
- resultSchemaRevisionRef: {
4813
- revision: number;
4814
- schemaVersion: number;
4815
- contentHash: string;
4816
- kind: string;
4817
- id: string;
4818
- ownerRepo: string;
4819
- visibility: "tenant" | "public" | "global";
4820
- tenantScope?: {
4821
- tenantRef: {
4822
- kind: string;
4823
- id: string;
4824
- ownerRepo: string;
4825
- };
4826
- dataSpaceRef: {
4827
- kind: string;
4828
- id: string;
4829
- ownerRepo: string;
4830
- };
4831
- teamRef?: {
4832
- kind: string;
4833
- id: string;
4834
- ownerRepo: string;
4835
- } | undefined;
4836
- } | undefined;
4837
- };
4838
- entry: "main";
4839
- abi: "monkeys.action-program/2";
4840
- compiler: string;
4841
- target: "browser-worker-es2020";
4842
- sourceHash: string;
4843
- compiledHash: string;
4844
- sourceMapHash: string;
4845
- dependencies: {
4846
- kind: "query" | "command";
4847
- revisionRef: {
4848
- revision: number;
4849
- schemaVersion: number;
4850
- contentHash: string;
4851
- kind: string;
4852
- id: string;
4853
- ownerRepo: string;
4854
- visibility: "tenant" | "public" | "global";
4855
- tenantScope?: {
4856
- tenantRef: {
4857
- kind: string;
4858
- id: string;
4859
- ownerRepo: string;
4860
- };
4861
- dataSpaceRef: {
4862
- kind: string;
4863
- id: string;
4864
- ownerRepo: string;
4865
- };
4866
- teamRef?: {
4867
- kind: string;
4868
- id: string;
4869
- ownerRepo: string;
4870
- } | undefined;
4871
- } | undefined;
4872
- };
4873
- inputSchemaRevisionRef: {
4874
- revision: number;
4875
- schemaVersion: number;
4876
- contentHash: string;
4877
- kind: string;
4878
- id: string;
4879
- ownerRepo: string;
4880
- visibility: "tenant" | "public" | "global";
4881
- tenantScope?: {
4882
- tenantRef: {
4883
- kind: string;
4884
- id: string;
4885
- ownerRepo: string;
4886
- };
4887
- dataSpaceRef: {
4888
- kind: string;
4889
- id: string;
4890
- ownerRepo: string;
4891
- };
4892
- teamRef?: {
4893
- kind: string;
4894
- id: string;
4895
- ownerRepo: string;
4896
- } | undefined;
4897
- } | undefined;
4898
- };
4899
- resultSchemaRevisionRef: {
4900
- revision: number;
4901
- schemaVersion: number;
4902
- contentHash: string;
4903
- kind: string;
4904
- id: string;
4905
- ownerRepo: string;
4906
- visibility: "tenant" | "public" | "global";
4907
- tenantScope?: {
4908
- tenantRef: {
4909
- kind: string;
4910
- id: string;
4911
- ownerRepo: string;
4912
- };
4913
- dataSpaceRef: {
4914
- kind: string;
4915
- id: string;
4916
- ownerRepo: string;
4917
- };
4918
- teamRef?: {
4919
- kind: string;
4920
- id: string;
4921
- ownerRepo: string;
4922
- } | undefined;
4923
- } | undefined;
4924
- };
4925
- dynamicInputKeys: string[];
4926
- download?: {
4927
- kind: "native";
4928
- } | {
4929
- kind: "text-artifact";
4930
- fileNamePath: string[];
4931
- mimeTypePath: string[];
4932
- contentPath: string[];
4933
- maxBytes: number;
4934
- } | undefined;
4935
- }[];
4936
- effects: ("form" | "download" | "toast" | "refresh" | "state.get" | "state.set")[];
4937
- refreshAliases: string[];
4938
- stateAliases: {
4939
- alias: string;
4940
- schemaRevisionRef: {
4941
- revision: number;
4942
- schemaVersion: number;
4943
- contentHash: string;
4944
- kind: string;
4945
- id: string;
4946
- ownerRepo: string;
4947
- visibility: "tenant" | "public" | "global";
4948
- tenantScope?: {
4949
- tenantRef: {
4950
- kind: string;
4951
- id: string;
4952
- ownerRepo: string;
4953
- };
4954
- dataSpaceRef: {
4955
- kind: string;
4956
- id: string;
4957
- ownerRepo: string;
4958
- };
4959
- teamRef?: {
4960
- kind: string;
4961
- id: string;
4962
- ownerRepo: string;
4963
- } | undefined;
4964
- } | undefined;
4965
- };
4966
- }[];
4967
- budgets: {
4968
- rpcMs: number;
4969
- concurrentCalls: number;
4970
- calls: number;
4971
- messageBytes: number;
4972
- activeMs: number;
4973
- formMs: number;
4974
- wallMs: number;
4975
- };
4806
+ phase?: "success" | "intent" | undefined;
4807
+ }[] | undefined;
4808
+ mounts?: {
4809
+ mountId: string;
4810
+ target: {
4811
+ kind: "page";
4812
+ id: string;
4976
4813
  };
4977
- bindingId: string;
4978
- inputMapping: Record<string, {
4814
+ slot: string;
4815
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
4816
+ inputs: Record<string, {
4817
+ kind: "page-parameter";
4818
+ name: string;
4819
+ } | {
4820
+ kind: "scope-field";
4821
+ path: string;
4822
+ } | {
4823
+ kind: "binding-field";
4824
+ bindingId: string;
4825
+ path: string;
4826
+ } | {
4827
+ kind: "constant";
4828
+ value: string | number | boolean | null;
4829
+ } | {
4830
+ kind: "route-parameter";
4831
+ name: string;
4832
+ } | {
4833
+ kind: "query-parameter";
4834
+ name: string;
4835
+ } | {
4836
+ kind: "identity";
4837
+ name: "tenantId" | "teamId" | "userId";
4838
+ } | {
4839
+ kind: "intent-field";
4840
+ path: string;
4841
+ } | {
4842
+ kind: "page-state";
4843
+ stateId: string;
4844
+ }>;
4845
+ on: Record<string, {
4846
+ kind: "close";
4847
+ } | {
4848
+ kind: "refresh";
4849
+ bindingIds: string[];
4850
+ } | {
4851
+ kind: "state";
4852
+ stateId: string;
4853
+ path: string[];
4854
+ }>;
4855
+ backgroundQueryPolicy: "always" | "when-active";
4856
+ targetRevisionRef: {
4857
+ revision: number;
4858
+ schemaVersion: number;
4859
+ contentHash: string;
4860
+ kind: string;
4861
+ id: string;
4862
+ ownerRepo: string;
4863
+ visibility: "tenant" | "public" | "global";
4864
+ tenantScope?: {
4865
+ tenantRef: {
4866
+ kind: string;
4867
+ id: string;
4868
+ ownerRepo: string;
4869
+ };
4870
+ dataSpaceRef: {
4871
+ kind: string;
4872
+ id: string;
4873
+ ownerRepo: string;
4874
+ };
4875
+ teamRef?: {
4876
+ kind: string;
4877
+ id: string;
4878
+ ownerRepo: string;
4879
+ } | undefined;
4880
+ } | undefined;
4881
+ };
4882
+ targetReleaseRevisionRef: {
4883
+ revision: number;
4884
+ schemaVersion: number;
4885
+ contentHash: string;
4886
+ kind: string;
4887
+ id: string;
4888
+ ownerRepo: string;
4889
+ visibility: "tenant" | "public" | "global";
4890
+ tenantScope?: {
4891
+ tenantRef: {
4892
+ kind: string;
4893
+ id: string;
4894
+ ownerRepo: string;
4895
+ };
4896
+ dataSpaceRef: {
4897
+ kind: string;
4898
+ id: string;
4899
+ ownerRepo: string;
4900
+ };
4901
+ teamRef?: {
4902
+ kind: string;
4903
+ id: string;
4904
+ ownerRepo: string;
4905
+ } | undefined;
4906
+ } | undefined;
4907
+ };
4908
+ targetAccessPolicy: {
4909
+ authenticated: boolean;
4910
+ groupAllOf: {
4911
+ kind: string;
4912
+ id: string;
4913
+ ownerRepo: string;
4914
+ visibility: "tenant" | "public" | "global";
4915
+ tenantScope?: {
4916
+ tenantRef: {
4917
+ kind: string;
4918
+ id: string;
4919
+ ownerRepo: string;
4920
+ };
4921
+ dataSpaceRef: {
4922
+ kind: string;
4923
+ id: string;
4924
+ ownerRepo: string;
4925
+ };
4926
+ teamRef?: {
4927
+ kind: string;
4928
+ id: string;
4929
+ ownerRepo: string;
4930
+ } | undefined;
4931
+ } | undefined;
4932
+ }[];
4933
+ groupAnyOf: {
4934
+ kind: string;
4935
+ id: string;
4936
+ ownerRepo: string;
4937
+ visibility: "tenant" | "public" | "global";
4938
+ tenantScope?: {
4939
+ tenantRef: {
4940
+ kind: string;
4941
+ id: string;
4942
+ ownerRepo: string;
4943
+ };
4944
+ dataSpaceRef: {
4945
+ kind: string;
4946
+ id: string;
4947
+ ownerRepo: string;
4948
+ };
4949
+ teamRef?: {
4950
+ kind: string;
4951
+ id: string;
4952
+ ownerRepo: string;
4953
+ } | undefined;
4954
+ } | undefined;
4955
+ }[];
4956
+ permissionAllOf: string[];
4957
+ permissionAnyOf: string[];
4958
+ conditionAllOf: {
4959
+ revision: number;
4960
+ schemaVersion: number;
4961
+ contentHash: string;
4962
+ kind: string;
4963
+ id: string;
4964
+ ownerRepo: string;
4965
+ visibility: "tenant" | "public" | "global";
4966
+ tenantScope?: {
4967
+ tenantRef: {
4968
+ kind: string;
4969
+ id: string;
4970
+ ownerRepo: string;
4971
+ };
4972
+ dataSpaceRef: {
4973
+ kind: string;
4974
+ id: string;
4975
+ ownerRepo: string;
4976
+ };
4977
+ teamRef?: {
4978
+ kind: string;
4979
+ id: string;
4980
+ ownerRepo: string;
4981
+ } | undefined;
4982
+ } | undefined;
4983
+ }[];
4984
+ };
4985
+ outputs: {
4986
+ name: string;
4987
+ nodeId: string;
4988
+ port: string;
4989
+ capabilityInstanceId: string;
4990
+ schemaRevisionRef: {
4991
+ revision: number;
4992
+ schemaVersion: number;
4993
+ contentHash: string;
4994
+ kind: string;
4995
+ id: string;
4996
+ ownerRepo: string;
4997
+ visibility: "tenant" | "public" | "global";
4998
+ tenantScope?: {
4999
+ tenantRef: {
5000
+ kind: string;
5001
+ id: string;
5002
+ ownerRepo: string;
5003
+ };
5004
+ dataSpaceRef: {
5005
+ kind: string;
5006
+ id: string;
5007
+ ownerRepo: string;
5008
+ };
5009
+ teamRef?: {
5010
+ kind: string;
5011
+ id: string;
5012
+ ownerRepo: string;
5013
+ } | undefined;
5014
+ } | undefined;
5015
+ };
5016
+ phase?: "success" | "intent" | undefined;
5017
+ }[];
5018
+ instanceKey?: string[] | undefined;
5019
+ route?: {
5020
+ path: string;
5021
+ pathParameters: Record<string, string>;
5022
+ query: Record<string, {
5023
+ parameter: string;
5024
+ type: "string" | "boolean" | "json" | "integer";
5025
+ }>;
5026
+ } | undefined;
5027
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
5028
+ consumeStateIds?: string[] | undefined;
5029
+ parametersSchemaRevisionRef?: {
5030
+ revision: number;
5031
+ schemaVersion: number;
5032
+ contentHash: string;
5033
+ kind: string;
5034
+ id: string;
5035
+ ownerRepo: string;
5036
+ visibility: "tenant" | "public" | "global";
5037
+ tenantScope?: {
5038
+ tenantRef: {
5039
+ kind: string;
5040
+ id: string;
5041
+ ownerRepo: string;
5042
+ };
5043
+ dataSpaceRef: {
5044
+ kind: string;
5045
+ id: string;
5046
+ ownerRepo: string;
5047
+ };
5048
+ teamRef?: {
5049
+ kind: string;
5050
+ id: string;
5051
+ ownerRepo: string;
5052
+ } | undefined;
5053
+ } | undefined;
5054
+ } | undefined;
5055
+ }[] | undefined;
5056
+ stateRetention?: "mounted-while-child-active" | undefined;
5057
+ capabilityAccessEvaluated?: true | undefined;
5058
+ sharedStateBindings?: {
5059
+ bindingId: string;
5060
+ provider: {
5061
+ id: string;
5062
+ version: number;
5063
+ };
5064
+ states: Record<string, string>;
5065
+ queries: Record<string, string>;
5066
+ writeInteractions: string[];
5067
+ }[] | undefined;
5068
+ initialQueryPolicy?: "auto" | "disabled" | "explicit" | undefined;
5069
+ programBindings?: {
5070
+ source: {
5071
+ capabilityInstanceId: string;
5072
+ port: string;
5073
+ };
5074
+ programRevisionRef: {
5075
+ revision: number;
5076
+ schemaVersion: number;
5077
+ contentHash: string;
5078
+ kind: string;
5079
+ id: string;
5080
+ ownerRepo: string;
5081
+ visibility: "tenant" | "public" | "global";
5082
+ tenantScope?: {
5083
+ tenantRef: {
5084
+ kind: string;
5085
+ id: string;
5086
+ ownerRepo: string;
5087
+ };
5088
+ dataSpaceRef: {
5089
+ kind: string;
5090
+ id: string;
5091
+ ownerRepo: string;
5092
+ };
5093
+ teamRef?: {
5094
+ kind: string;
5095
+ id: string;
5096
+ ownerRepo: string;
5097
+ } | undefined;
5098
+ } | undefined;
5099
+ };
5100
+ definition: {
5101
+ contract: "ActionProgramDefinition";
5102
+ schemaVersion: 1;
5103
+ programId: string;
5104
+ ownerRepo: string;
5105
+ tenantScope: {
5106
+ tenantRef: {
5107
+ kind: string;
5108
+ id: string;
5109
+ ownerRepo: string;
5110
+ };
5111
+ dataSpaceRef: {
5112
+ kind: string;
5113
+ id: string;
5114
+ ownerRepo: string;
5115
+ };
5116
+ teamRef?: {
5117
+ kind: string;
5118
+ id: string;
5119
+ ownerRepo: string;
5120
+ } | undefined;
5121
+ };
5122
+ supportedSurface: "studio";
5123
+ inputSchemaRevisionRef: {
5124
+ revision: number;
5125
+ schemaVersion: number;
5126
+ contentHash: string;
5127
+ kind: string;
5128
+ id: string;
5129
+ ownerRepo: string;
5130
+ visibility: "tenant" | "public" | "global";
5131
+ tenantScope?: {
5132
+ tenantRef: {
5133
+ kind: string;
5134
+ id: string;
5135
+ ownerRepo: string;
5136
+ };
5137
+ dataSpaceRef: {
5138
+ kind: string;
5139
+ id: string;
5140
+ ownerRepo: string;
5141
+ };
5142
+ teamRef?: {
5143
+ kind: string;
5144
+ id: string;
5145
+ ownerRepo: string;
5146
+ } | undefined;
5147
+ } | undefined;
5148
+ };
5149
+ resultSchemaRevisionRef: {
5150
+ revision: number;
5151
+ schemaVersion: number;
5152
+ contentHash: string;
5153
+ kind: string;
5154
+ id: string;
5155
+ ownerRepo: string;
5156
+ visibility: "tenant" | "public" | "global";
5157
+ tenantScope?: {
5158
+ tenantRef: {
5159
+ kind: string;
5160
+ id: string;
5161
+ ownerRepo: string;
5162
+ };
5163
+ dataSpaceRef: {
5164
+ kind: string;
5165
+ id: string;
5166
+ ownerRepo: string;
5167
+ };
5168
+ teamRef?: {
5169
+ kind: string;
5170
+ id: string;
5171
+ ownerRepo: string;
5172
+ } | undefined;
5173
+ } | undefined;
5174
+ };
5175
+ entry: "main";
5176
+ abi: "monkeys.action-program/2";
5177
+ compiler: string;
5178
+ target: "browser-worker-es2020";
5179
+ sourceHash: string;
5180
+ compiledHash: string;
5181
+ sourceMapHash: string;
5182
+ dependencies: {
5183
+ kind: "query" | "command";
5184
+ revisionRef: {
5185
+ revision: number;
5186
+ schemaVersion: number;
5187
+ contentHash: string;
5188
+ kind: string;
5189
+ id: string;
5190
+ ownerRepo: string;
5191
+ visibility: "tenant" | "public" | "global";
5192
+ tenantScope?: {
5193
+ tenantRef: {
5194
+ kind: string;
5195
+ id: string;
5196
+ ownerRepo: string;
5197
+ };
5198
+ dataSpaceRef: {
5199
+ kind: string;
5200
+ id: string;
5201
+ ownerRepo: string;
5202
+ };
5203
+ teamRef?: {
5204
+ kind: string;
5205
+ id: string;
5206
+ ownerRepo: string;
5207
+ } | undefined;
5208
+ } | undefined;
5209
+ };
5210
+ inputSchemaRevisionRef: {
5211
+ revision: number;
5212
+ schemaVersion: number;
5213
+ contentHash: string;
5214
+ kind: string;
5215
+ id: string;
5216
+ ownerRepo: string;
5217
+ visibility: "tenant" | "public" | "global";
5218
+ tenantScope?: {
5219
+ tenantRef: {
5220
+ kind: string;
5221
+ id: string;
5222
+ ownerRepo: string;
5223
+ };
5224
+ dataSpaceRef: {
5225
+ kind: string;
5226
+ id: string;
5227
+ ownerRepo: string;
5228
+ };
5229
+ teamRef?: {
5230
+ kind: string;
5231
+ id: string;
5232
+ ownerRepo: string;
5233
+ } | undefined;
5234
+ } | undefined;
5235
+ };
5236
+ resultSchemaRevisionRef: {
5237
+ revision: number;
5238
+ schemaVersion: number;
5239
+ contentHash: string;
5240
+ kind: string;
5241
+ id: string;
5242
+ ownerRepo: string;
5243
+ visibility: "tenant" | "public" | "global";
5244
+ tenantScope?: {
5245
+ tenantRef: {
5246
+ kind: string;
5247
+ id: string;
5248
+ ownerRepo: string;
5249
+ };
5250
+ dataSpaceRef: {
5251
+ kind: string;
5252
+ id: string;
5253
+ ownerRepo: string;
5254
+ };
5255
+ teamRef?: {
5256
+ kind: string;
5257
+ id: string;
5258
+ ownerRepo: string;
5259
+ } | undefined;
5260
+ } | undefined;
5261
+ };
5262
+ dynamicInputKeys: string[];
5263
+ download?: {
5264
+ kind: "native";
5265
+ } | {
5266
+ kind: "text-artifact";
5267
+ fileNamePath: string[];
5268
+ mimeTypePath: string[];
5269
+ contentPath: string[];
5270
+ maxBytes: number;
5271
+ } | undefined;
5272
+ }[];
5273
+ effects: ("form" | "download" | "toast" | "refresh" | "state.get" | "state.set")[];
5274
+ refreshAliases: string[];
5275
+ stateAliases: {
5276
+ alias: string;
5277
+ schemaRevisionRef: {
5278
+ revision: number;
5279
+ schemaVersion: number;
5280
+ contentHash: string;
5281
+ kind: string;
5282
+ id: string;
5283
+ ownerRepo: string;
5284
+ visibility: "tenant" | "public" | "global";
5285
+ tenantScope?: {
5286
+ tenantRef: {
5287
+ kind: string;
5288
+ id: string;
5289
+ ownerRepo: string;
5290
+ };
5291
+ dataSpaceRef: {
5292
+ kind: string;
5293
+ id: string;
5294
+ ownerRepo: string;
5295
+ };
5296
+ teamRef?: {
5297
+ kind: string;
5298
+ id: string;
5299
+ ownerRepo: string;
5300
+ } | undefined;
5301
+ } | undefined;
5302
+ };
5303
+ }[];
5304
+ budgets: {
5305
+ rpcMs: number;
5306
+ concurrentCalls: number;
5307
+ calls: number;
5308
+ messageBytes: number;
5309
+ activeMs: number;
5310
+ formMs: number;
5311
+ wallMs: number;
5312
+ };
5313
+ };
5314
+ bindingId: string;
5315
+ inputMapping: Record<string, {
5316
+ kind: "page-parameter";
5317
+ name: string;
5318
+ } | {
4979
5319
  kind: "scope-field";
4980
5320
  path: string;
4981
5321
  } | {
@@ -5005,6 +5345,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5005
5345
  expression: import("./page-expression").PageExpression;
5006
5346
  }>;
5007
5347
  dependencyInputs: Record<string, Record<string, {
5348
+ kind: "page-parameter";
5349
+ name: string;
5350
+ } | {
5008
5351
  kind: "scope-field";
5009
5352
  path: string;
5010
5353
  } | {
@@ -5147,6 +5490,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
5147
5490
  when?: import("./page-expression").PageExpression | undefined;
5148
5491
  }[] | undefined;
5149
5492
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
5493
+ schemaVersion: 1 | 2;
5150
5494
  pageId: string;
5151
5495
  pageRevisionRef: {
5152
5496
  revision: number;
@@ -6136,6 +6480,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6136
6480
  } | undefined;
6137
6481
  };
6138
6482
  parameters: Record<string, {
6483
+ kind: "page-parameter";
6484
+ name: string;
6485
+ } | {
6139
6486
  kind: "scope-field";
6140
6487
  path: string;
6141
6488
  } | {
@@ -6478,6 +6825,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6478
6825
  } | undefined;
6479
6826
  };
6480
6827
  inputMapping: Record<string, {
6828
+ kind: "page-parameter";
6829
+ name: string;
6830
+ } | {
6481
6831
  kind: "scope-field";
6482
6832
  path: string;
6483
6833
  } | {
@@ -6913,7 +7263,6 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
6913
7263
  } | undefined;
6914
7264
  };
6915
7265
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
6916
- schemaVersion: 1;
6917
7266
  tenantScope: {
6918
7267
  tenantRef: {
6919
7268
  kind: string;
@@ -7140,6 +7489,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
7140
7489
  } | undefined;
7141
7490
  };
7142
7491
  parameters: Record<string, {
7492
+ kind: "page-parameter";
7493
+ name: string;
7494
+ } | {
7143
7495
  kind: "scope-field";
7144
7496
  path: string;
7145
7497
  } | {
@@ -7195,12 +7547,298 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
7195
7547
  } | undefined;
7196
7548
  } | undefined;
7197
7549
  };
7198
- pagination: "offset" | "cursor" | "none";
7199
- cache: "none" | "identity-scoped" | "tenant-scoped";
7200
- cancelOnChange: boolean;
7201
- cursorWindow?: {
7202
- pageChangePort: string;
7203
- pageChangeIntentSchemaRevisionRef: {
7550
+ pagination: "offset" | "cursor" | "none";
7551
+ cache: "none" | "identity-scoped" | "tenant-scoped";
7552
+ cancelOnChange: boolean;
7553
+ cursorWindow?: {
7554
+ pageChangePort: string;
7555
+ pageChangeIntentSchemaRevisionRef: {
7556
+ revision: number;
7557
+ schemaVersion: number;
7558
+ contentHash: string;
7559
+ kind: string;
7560
+ id: string;
7561
+ ownerRepo: string;
7562
+ visibility: "tenant" | "public" | "global";
7563
+ tenantScope?: {
7564
+ tenantRef: {
7565
+ kind: string;
7566
+ id: string;
7567
+ ownerRepo: string;
7568
+ };
7569
+ dataSpaceRef: {
7570
+ kind: string;
7571
+ id: string;
7572
+ ownerRepo: string;
7573
+ };
7574
+ teamRef?: {
7575
+ kind: string;
7576
+ id: string;
7577
+ ownerRepo: string;
7578
+ } | undefined;
7579
+ } | undefined;
7580
+ };
7581
+ sourceCapabilityInstanceId?: string | undefined;
7582
+ } | undefined;
7583
+ }[];
7584
+ usage?: "both" | "route" | "embedded" | undefined;
7585
+ parametersSchemaRevisionRef?: {
7586
+ revision: number;
7587
+ schemaVersion: number;
7588
+ contentHash: string;
7589
+ kind: string;
7590
+ id: string;
7591
+ ownerRepo: string;
7592
+ visibility: "tenant" | "public" | "global";
7593
+ tenantScope?: {
7594
+ tenantRef: {
7595
+ kind: string;
7596
+ id: string;
7597
+ ownerRepo: string;
7598
+ };
7599
+ dataSpaceRef: {
7600
+ kind: string;
7601
+ id: string;
7602
+ ownerRepo: string;
7603
+ };
7604
+ teamRef?: {
7605
+ kind: string;
7606
+ id: string;
7607
+ ownerRepo: string;
7608
+ } | undefined;
7609
+ } | undefined;
7610
+ } | undefined;
7611
+ parameterBindings?: Record<string, {
7612
+ kind: "query-parameter";
7613
+ name: string;
7614
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
7615
+ } | {
7616
+ kind: "route-parameter";
7617
+ name: string;
7618
+ codec?: "string" | "boolean" | "integer" | undefined;
7619
+ } | {
7620
+ kind: "constant";
7621
+ value: string | number | boolean | null;
7622
+ } | {
7623
+ kind: "identity";
7624
+ name: "tenantId" | "teamId" | "userId";
7625
+ }> | undefined;
7626
+ outputs?: {
7627
+ name: string;
7628
+ nodeId: string;
7629
+ port: string;
7630
+ capabilityInstanceId: string;
7631
+ schemaRevisionRef: {
7632
+ revision: number;
7633
+ schemaVersion: number;
7634
+ contentHash: string;
7635
+ kind: string;
7636
+ id: string;
7637
+ ownerRepo: string;
7638
+ visibility: "tenant" | "public" | "global";
7639
+ tenantScope?: {
7640
+ tenantRef: {
7641
+ kind: string;
7642
+ id: string;
7643
+ ownerRepo: string;
7644
+ };
7645
+ dataSpaceRef: {
7646
+ kind: string;
7647
+ id: string;
7648
+ ownerRepo: string;
7649
+ };
7650
+ teamRef?: {
7651
+ kind: string;
7652
+ id: string;
7653
+ ownerRepo: string;
7654
+ } | undefined;
7655
+ } | undefined;
7656
+ };
7657
+ phase?: "success" | "intent" | undefined;
7658
+ }[] | undefined;
7659
+ mounts?: {
7660
+ mountId: string;
7661
+ target: {
7662
+ kind: "page";
7663
+ id: string;
7664
+ };
7665
+ slot: string;
7666
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
7667
+ inputs: Record<string, {
7668
+ kind: "page-parameter";
7669
+ name: string;
7670
+ } | {
7671
+ kind: "scope-field";
7672
+ path: string;
7673
+ } | {
7674
+ kind: "binding-field";
7675
+ bindingId: string;
7676
+ path: string;
7677
+ } | {
7678
+ kind: "constant";
7679
+ value: string | number | boolean | null;
7680
+ } | {
7681
+ kind: "route-parameter";
7682
+ name: string;
7683
+ } | {
7684
+ kind: "query-parameter";
7685
+ name: string;
7686
+ } | {
7687
+ kind: "identity";
7688
+ name: "tenantId" | "teamId" | "userId";
7689
+ } | {
7690
+ kind: "intent-field";
7691
+ path: string;
7692
+ } | {
7693
+ kind: "page-state";
7694
+ stateId: string;
7695
+ }>;
7696
+ on: Record<string, {
7697
+ kind: "close";
7698
+ } | {
7699
+ kind: "refresh";
7700
+ bindingIds: string[];
7701
+ } | {
7702
+ kind: "state";
7703
+ stateId: string;
7704
+ path: string[];
7705
+ }>;
7706
+ backgroundQueryPolicy: "always" | "when-active";
7707
+ targetRevisionRef: {
7708
+ revision: number;
7709
+ schemaVersion: number;
7710
+ contentHash: string;
7711
+ kind: string;
7712
+ id: string;
7713
+ ownerRepo: string;
7714
+ visibility: "tenant" | "public" | "global";
7715
+ tenantScope?: {
7716
+ tenantRef: {
7717
+ kind: string;
7718
+ id: string;
7719
+ ownerRepo: string;
7720
+ };
7721
+ dataSpaceRef: {
7722
+ kind: string;
7723
+ id: string;
7724
+ ownerRepo: string;
7725
+ };
7726
+ teamRef?: {
7727
+ kind: string;
7728
+ id: string;
7729
+ ownerRepo: string;
7730
+ } | undefined;
7731
+ } | undefined;
7732
+ };
7733
+ targetReleaseRevisionRef: {
7734
+ revision: number;
7735
+ schemaVersion: number;
7736
+ contentHash: string;
7737
+ kind: string;
7738
+ id: string;
7739
+ ownerRepo: string;
7740
+ visibility: "tenant" | "public" | "global";
7741
+ tenantScope?: {
7742
+ tenantRef: {
7743
+ kind: string;
7744
+ id: string;
7745
+ ownerRepo: string;
7746
+ };
7747
+ dataSpaceRef: {
7748
+ kind: string;
7749
+ id: string;
7750
+ ownerRepo: string;
7751
+ };
7752
+ teamRef?: {
7753
+ kind: string;
7754
+ id: string;
7755
+ ownerRepo: string;
7756
+ } | undefined;
7757
+ } | undefined;
7758
+ };
7759
+ targetAccessPolicy: {
7760
+ authenticated: boolean;
7761
+ groupAllOf: {
7762
+ kind: string;
7763
+ id: string;
7764
+ ownerRepo: string;
7765
+ visibility: "tenant" | "public" | "global";
7766
+ tenantScope?: {
7767
+ tenantRef: {
7768
+ kind: string;
7769
+ id: string;
7770
+ ownerRepo: string;
7771
+ };
7772
+ dataSpaceRef: {
7773
+ kind: string;
7774
+ id: string;
7775
+ ownerRepo: string;
7776
+ };
7777
+ teamRef?: {
7778
+ kind: string;
7779
+ id: string;
7780
+ ownerRepo: string;
7781
+ } | undefined;
7782
+ } | undefined;
7783
+ }[];
7784
+ groupAnyOf: {
7785
+ kind: string;
7786
+ id: string;
7787
+ ownerRepo: string;
7788
+ visibility: "tenant" | "public" | "global";
7789
+ tenantScope?: {
7790
+ tenantRef: {
7791
+ kind: string;
7792
+ id: string;
7793
+ ownerRepo: string;
7794
+ };
7795
+ dataSpaceRef: {
7796
+ kind: string;
7797
+ id: string;
7798
+ ownerRepo: string;
7799
+ };
7800
+ teamRef?: {
7801
+ kind: string;
7802
+ id: string;
7803
+ ownerRepo: string;
7804
+ } | undefined;
7805
+ } | undefined;
7806
+ }[];
7807
+ permissionAllOf: string[];
7808
+ permissionAnyOf: string[];
7809
+ conditionAllOf: {
7810
+ revision: number;
7811
+ schemaVersion: number;
7812
+ contentHash: string;
7813
+ kind: string;
7814
+ id: string;
7815
+ ownerRepo: string;
7816
+ visibility: "tenant" | "public" | "global";
7817
+ tenantScope?: {
7818
+ tenantRef: {
7819
+ kind: string;
7820
+ id: string;
7821
+ ownerRepo: string;
7822
+ };
7823
+ dataSpaceRef: {
7824
+ kind: string;
7825
+ id: string;
7826
+ ownerRepo: string;
7827
+ };
7828
+ teamRef?: {
7829
+ kind: string;
7830
+ id: string;
7831
+ ownerRepo: string;
7832
+ } | undefined;
7833
+ } | undefined;
7834
+ }[];
7835
+ };
7836
+ outputs: {
7837
+ name: string;
7838
+ nodeId: string;
7839
+ port: string;
7840
+ capabilityInstanceId: string;
7841
+ schemaRevisionRef: {
7204
7842
  revision: number;
7205
7843
  schemaVersion: number;
7206
7844
  contentHash: string;
@@ -7226,9 +7864,47 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
7226
7864
  } | undefined;
7227
7865
  } | undefined;
7228
7866
  };
7229
- sourceCapabilityInstanceId?: string | undefined;
7867
+ phase?: "success" | "intent" | undefined;
7868
+ }[];
7869
+ instanceKey?: string[] | undefined;
7870
+ route?: {
7871
+ path: string;
7872
+ pathParameters: Record<string, string>;
7873
+ query: Record<string, {
7874
+ parameter: string;
7875
+ type: "string" | "boolean" | "json" | "integer";
7876
+ }>;
7230
7877
  } | undefined;
7231
- }[];
7878
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
7879
+ consumeStateIds?: string[] | undefined;
7880
+ parametersSchemaRevisionRef?: {
7881
+ revision: number;
7882
+ schemaVersion: number;
7883
+ contentHash: string;
7884
+ kind: string;
7885
+ id: string;
7886
+ ownerRepo: string;
7887
+ visibility: "tenant" | "public" | "global";
7888
+ tenantScope?: {
7889
+ tenantRef: {
7890
+ kind: string;
7891
+ id: string;
7892
+ ownerRepo: string;
7893
+ };
7894
+ dataSpaceRef: {
7895
+ kind: string;
7896
+ id: string;
7897
+ ownerRepo: string;
7898
+ };
7899
+ teamRef?: {
7900
+ kind: string;
7901
+ id: string;
7902
+ ownerRepo: string;
7903
+ } | undefined;
7904
+ } | undefined;
7905
+ } | undefined;
7906
+ }[] | undefined;
7907
+ stateRetention?: "mounted-while-child-active" | undefined;
7232
7908
  capabilityAccessEvaluated?: true | undefined;
7233
7909
  sharedStateBindings?: {
7234
7910
  bindingId: string;
@@ -7488,6 +8164,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
7488
8164
  };
7489
8165
  bindingId: string;
7490
8166
  inputMapping: Record<string, {
8167
+ kind: "page-parameter";
8168
+ name: string;
8169
+ } | {
7491
8170
  kind: "scope-field";
7492
8171
  path: string;
7493
8172
  } | {
@@ -7517,6 +8196,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
7517
8196
  expression: import("./page-expression").PageExpression;
7518
8197
  }>;
7519
8198
  dependencyInputs: Record<string, Record<string, {
8199
+ kind: "page-parameter";
8200
+ name: string;
8201
+ } | {
7520
8202
  kind: "scope-field";
7521
8203
  path: string;
7522
8204
  } | {
@@ -7982,6 +8664,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
7982
8664
  }, z.core.$strict>>;
7983
8665
  }, z.core.$strict>;
7984
8666
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8667
+ kind: z.ZodLiteral<"page-parameter">;
8668
+ name: z.ZodString;
8669
+ }, z.core.$strict>, z.ZodObject<{
7985
8670
  kind: z.ZodLiteral<"scope-field">;
7986
8671
  path: z.ZodString;
7987
8672
  }, z.core.$strict>, z.ZodObject<{
@@ -10833,6 +11518,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
10833
11518
  }, z.core.$strict>>;
10834
11519
  }, z.core.$strict>;
10835
11520
  release: z.ZodUnion<readonly [z.ZodObject<{
11521
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
10836
11522
  pageRevisionRef: z.ZodObject<{
10837
11523
  revision: z.ZodNumber;
10838
11524
  schemaVersion: z.ZodNumber;
@@ -10895,7 +11581,11 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
10895
11581
  studio: "studio";
10896
11582
  kernel: "kernel";
10897
11583
  }>;
10898
- routeSpaceRevisionRef: z.ZodObject<{
11584
+ mode: z.ZodOptional<z.ZodEnum<{
11585
+ route: "route";
11586
+ embedded: "embedded";
11587
+ }>>;
11588
+ routeSpaceRevisionRef: z.ZodOptional<z.ZodObject<{
10899
11589
  revision: z.ZodNumber;
10900
11590
  schemaVersion: z.ZodNumber;
10901
11591
  contentHash: z.ZodString;
@@ -10924,9 +11614,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
10924
11614
  ownerRepo: z.ZodString;
10925
11615
  }, z.core.$strict>>;
10926
11616
  }, z.core.$strict>>;
10927
- }, z.core.$strict>;
10928
- normalizedPath: z.ZodString;
10929
- routeClaim: z.ZodUnion<readonly [z.ZodObject<{
11617
+ }, z.core.$strict>>;
11618
+ normalizedPath: z.ZodOptional<z.ZodString>;
11619
+ routeClaim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
10930
11620
  kind: z.ZodEnum<{
10931
11621
  canonical: "canonical";
10932
11622
  alias: "alias";
@@ -11100,7 +11790,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
11100
11790
  required: z.ZodBoolean;
11101
11791
  }, z.core.$strict>>;
11102
11792
  }, z.core.$strict>;
11103
- }, z.core.$strict>]>;
11793
+ }, z.core.$strict>]>>;
11104
11794
  legacyRouteTakeoverAuthorization: z.ZodOptional<z.ZodObject<{
11105
11795
  contract: z.ZodLiteral<"LegacyRouteTakeoverAuthorization">;
11106
11796
  schemaVersion: z.ZodLiteral<1>;
@@ -11230,7 +11920,6 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
11230
11920
  contentHash: z.ZodString;
11231
11921
  }, z.core.$strict>>;
11232
11922
  }, z.core.$strict>;
11233
- schemaVersion: z.ZodLiteral<1>;
11234
11923
  releaseSlotId: z.ZodString;
11235
11924
  tenantScope: z.ZodObject<{
11236
11925
  tenantRef: z.ZodObject<{
@@ -12889,6 +13578,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
12889
13578
  contract: z.ZodLiteral<"WorkbenchRelease">;
12890
13579
  }, z.core.$strict>]>;
12891
13580
  bundle: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<{
13581
+ schemaVersion: 1 | 2;
12892
13582
  pageId: string;
12893
13583
  pageRevisionRef: {
12894
13584
  revision: number;
@@ -13878,6 +14568,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
13878
14568
  } | undefined;
13879
14569
  };
13880
14570
  parameters: Record<string, {
14571
+ kind: "page-parameter";
14572
+ name: string;
14573
+ } | {
13881
14574
  kind: "scope-field";
13882
14575
  path: string;
13883
14576
  } | {
@@ -14220,6 +14913,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14220
14913
  } | undefined;
14221
14914
  };
14222
14915
  inputMapping: Record<string, {
14916
+ kind: "page-parameter";
14917
+ name: string;
14918
+ } | {
14223
14919
  kind: "scope-field";
14224
14920
  path: string;
14225
14921
  } | {
@@ -14655,7 +15351,6 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14655
15351
  } | undefined;
14656
15352
  };
14657
15353
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
14658
- schemaVersion: 1;
14659
15354
  tenantScope: {
14660
15355
  tenantRef: {
14661
15356
  kind: string;
@@ -14882,6 +15577,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14882
15577
  } | undefined;
14883
15578
  };
14884
15579
  parameters: Record<string, {
15580
+ kind: "page-parameter";
15581
+ name: string;
15582
+ } | {
14885
15583
  kind: "scope-field";
14886
15584
  path: string;
14887
15585
  } | {
@@ -14937,12 +15635,298 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14937
15635
  } | undefined;
14938
15636
  } | undefined;
14939
15637
  };
14940
- pagination: "offset" | "cursor" | "none";
14941
- cache: "none" | "identity-scoped" | "tenant-scoped";
14942
- cancelOnChange: boolean;
14943
- cursorWindow?: {
14944
- pageChangePort: string;
14945
- pageChangeIntentSchemaRevisionRef: {
15638
+ pagination: "offset" | "cursor" | "none";
15639
+ cache: "none" | "identity-scoped" | "tenant-scoped";
15640
+ cancelOnChange: boolean;
15641
+ cursorWindow?: {
15642
+ pageChangePort: string;
15643
+ pageChangeIntentSchemaRevisionRef: {
15644
+ revision: number;
15645
+ schemaVersion: number;
15646
+ contentHash: string;
15647
+ kind: string;
15648
+ id: string;
15649
+ ownerRepo: string;
15650
+ visibility: "tenant" | "public" | "global";
15651
+ tenantScope?: {
15652
+ tenantRef: {
15653
+ kind: string;
15654
+ id: string;
15655
+ ownerRepo: string;
15656
+ };
15657
+ dataSpaceRef: {
15658
+ kind: string;
15659
+ id: string;
15660
+ ownerRepo: string;
15661
+ };
15662
+ teamRef?: {
15663
+ kind: string;
15664
+ id: string;
15665
+ ownerRepo: string;
15666
+ } | undefined;
15667
+ } | undefined;
15668
+ };
15669
+ sourceCapabilityInstanceId?: string | undefined;
15670
+ } | undefined;
15671
+ }[];
15672
+ usage?: "both" | "route" | "embedded" | undefined;
15673
+ parametersSchemaRevisionRef?: {
15674
+ revision: number;
15675
+ schemaVersion: number;
15676
+ contentHash: string;
15677
+ kind: string;
15678
+ id: string;
15679
+ ownerRepo: string;
15680
+ visibility: "tenant" | "public" | "global";
15681
+ tenantScope?: {
15682
+ tenantRef: {
15683
+ kind: string;
15684
+ id: string;
15685
+ ownerRepo: string;
15686
+ };
15687
+ dataSpaceRef: {
15688
+ kind: string;
15689
+ id: string;
15690
+ ownerRepo: string;
15691
+ };
15692
+ teamRef?: {
15693
+ kind: string;
15694
+ id: string;
15695
+ ownerRepo: string;
15696
+ } | undefined;
15697
+ } | undefined;
15698
+ } | undefined;
15699
+ parameterBindings?: Record<string, {
15700
+ kind: "query-parameter";
15701
+ name: string;
15702
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
15703
+ } | {
15704
+ kind: "route-parameter";
15705
+ name: string;
15706
+ codec?: "string" | "boolean" | "integer" | undefined;
15707
+ } | {
15708
+ kind: "constant";
15709
+ value: string | number | boolean | null;
15710
+ } | {
15711
+ kind: "identity";
15712
+ name: "tenantId" | "teamId" | "userId";
15713
+ }> | undefined;
15714
+ outputs?: {
15715
+ name: string;
15716
+ nodeId: string;
15717
+ port: string;
15718
+ capabilityInstanceId: string;
15719
+ schemaRevisionRef: {
15720
+ revision: number;
15721
+ schemaVersion: number;
15722
+ contentHash: string;
15723
+ kind: string;
15724
+ id: string;
15725
+ ownerRepo: string;
15726
+ visibility: "tenant" | "public" | "global";
15727
+ tenantScope?: {
15728
+ tenantRef: {
15729
+ kind: string;
15730
+ id: string;
15731
+ ownerRepo: string;
15732
+ };
15733
+ dataSpaceRef: {
15734
+ kind: string;
15735
+ id: string;
15736
+ ownerRepo: string;
15737
+ };
15738
+ teamRef?: {
15739
+ kind: string;
15740
+ id: string;
15741
+ ownerRepo: string;
15742
+ } | undefined;
15743
+ } | undefined;
15744
+ };
15745
+ phase?: "success" | "intent" | undefined;
15746
+ }[] | undefined;
15747
+ mounts?: {
15748
+ mountId: string;
15749
+ target: {
15750
+ kind: "page";
15751
+ id: string;
15752
+ };
15753
+ slot: string;
15754
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
15755
+ inputs: Record<string, {
15756
+ kind: "page-parameter";
15757
+ name: string;
15758
+ } | {
15759
+ kind: "scope-field";
15760
+ path: string;
15761
+ } | {
15762
+ kind: "binding-field";
15763
+ bindingId: string;
15764
+ path: string;
15765
+ } | {
15766
+ kind: "constant";
15767
+ value: string | number | boolean | null;
15768
+ } | {
15769
+ kind: "route-parameter";
15770
+ name: string;
15771
+ } | {
15772
+ kind: "query-parameter";
15773
+ name: string;
15774
+ } | {
15775
+ kind: "identity";
15776
+ name: "tenantId" | "teamId" | "userId";
15777
+ } | {
15778
+ kind: "intent-field";
15779
+ path: string;
15780
+ } | {
15781
+ kind: "page-state";
15782
+ stateId: string;
15783
+ }>;
15784
+ on: Record<string, {
15785
+ kind: "close";
15786
+ } | {
15787
+ kind: "refresh";
15788
+ bindingIds: string[];
15789
+ } | {
15790
+ kind: "state";
15791
+ stateId: string;
15792
+ path: string[];
15793
+ }>;
15794
+ backgroundQueryPolicy: "always" | "when-active";
15795
+ targetRevisionRef: {
15796
+ revision: number;
15797
+ schemaVersion: number;
15798
+ contentHash: string;
15799
+ kind: string;
15800
+ id: string;
15801
+ ownerRepo: string;
15802
+ visibility: "tenant" | "public" | "global";
15803
+ tenantScope?: {
15804
+ tenantRef: {
15805
+ kind: string;
15806
+ id: string;
15807
+ ownerRepo: string;
15808
+ };
15809
+ dataSpaceRef: {
15810
+ kind: string;
15811
+ id: string;
15812
+ ownerRepo: string;
15813
+ };
15814
+ teamRef?: {
15815
+ kind: string;
15816
+ id: string;
15817
+ ownerRepo: string;
15818
+ } | undefined;
15819
+ } | undefined;
15820
+ };
15821
+ targetReleaseRevisionRef: {
15822
+ revision: number;
15823
+ schemaVersion: number;
15824
+ contentHash: string;
15825
+ kind: string;
15826
+ id: string;
15827
+ ownerRepo: string;
15828
+ visibility: "tenant" | "public" | "global";
15829
+ tenantScope?: {
15830
+ tenantRef: {
15831
+ kind: string;
15832
+ id: string;
15833
+ ownerRepo: string;
15834
+ };
15835
+ dataSpaceRef: {
15836
+ kind: string;
15837
+ id: string;
15838
+ ownerRepo: string;
15839
+ };
15840
+ teamRef?: {
15841
+ kind: string;
15842
+ id: string;
15843
+ ownerRepo: string;
15844
+ } | undefined;
15845
+ } | undefined;
15846
+ };
15847
+ targetAccessPolicy: {
15848
+ authenticated: boolean;
15849
+ groupAllOf: {
15850
+ kind: string;
15851
+ id: string;
15852
+ ownerRepo: string;
15853
+ visibility: "tenant" | "public" | "global";
15854
+ tenantScope?: {
15855
+ tenantRef: {
15856
+ kind: string;
15857
+ id: string;
15858
+ ownerRepo: string;
15859
+ };
15860
+ dataSpaceRef: {
15861
+ kind: string;
15862
+ id: string;
15863
+ ownerRepo: string;
15864
+ };
15865
+ teamRef?: {
15866
+ kind: string;
15867
+ id: string;
15868
+ ownerRepo: string;
15869
+ } | undefined;
15870
+ } | undefined;
15871
+ }[];
15872
+ groupAnyOf: {
15873
+ kind: string;
15874
+ id: string;
15875
+ ownerRepo: string;
15876
+ visibility: "tenant" | "public" | "global";
15877
+ tenantScope?: {
15878
+ tenantRef: {
15879
+ kind: string;
15880
+ id: string;
15881
+ ownerRepo: string;
15882
+ };
15883
+ dataSpaceRef: {
15884
+ kind: string;
15885
+ id: string;
15886
+ ownerRepo: string;
15887
+ };
15888
+ teamRef?: {
15889
+ kind: string;
15890
+ id: string;
15891
+ ownerRepo: string;
15892
+ } | undefined;
15893
+ } | undefined;
15894
+ }[];
15895
+ permissionAllOf: string[];
15896
+ permissionAnyOf: string[];
15897
+ conditionAllOf: {
15898
+ revision: number;
15899
+ schemaVersion: number;
15900
+ contentHash: string;
15901
+ kind: string;
15902
+ id: string;
15903
+ ownerRepo: string;
15904
+ visibility: "tenant" | "public" | "global";
15905
+ tenantScope?: {
15906
+ tenantRef: {
15907
+ kind: string;
15908
+ id: string;
15909
+ ownerRepo: string;
15910
+ };
15911
+ dataSpaceRef: {
15912
+ kind: string;
15913
+ id: string;
15914
+ ownerRepo: string;
15915
+ };
15916
+ teamRef?: {
15917
+ kind: string;
15918
+ id: string;
15919
+ ownerRepo: string;
15920
+ } | undefined;
15921
+ } | undefined;
15922
+ }[];
15923
+ };
15924
+ outputs: {
15925
+ name: string;
15926
+ nodeId: string;
15927
+ port: string;
15928
+ capabilityInstanceId: string;
15929
+ schemaRevisionRef: {
14946
15930
  revision: number;
14947
15931
  schemaVersion: number;
14948
15932
  contentHash: string;
@@ -14968,9 +15952,47 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
14968
15952
  } | undefined;
14969
15953
  } | undefined;
14970
15954
  };
14971
- sourceCapabilityInstanceId?: string | undefined;
15955
+ phase?: "success" | "intent" | undefined;
15956
+ }[];
15957
+ instanceKey?: string[] | undefined;
15958
+ route?: {
15959
+ path: string;
15960
+ pathParameters: Record<string, string>;
15961
+ query: Record<string, {
15962
+ parameter: string;
15963
+ type: "string" | "boolean" | "json" | "integer";
15964
+ }>;
14972
15965
  } | undefined;
14973
- }[];
15966
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
15967
+ consumeStateIds?: string[] | undefined;
15968
+ parametersSchemaRevisionRef?: {
15969
+ revision: number;
15970
+ schemaVersion: number;
15971
+ contentHash: string;
15972
+ kind: string;
15973
+ id: string;
15974
+ ownerRepo: string;
15975
+ visibility: "tenant" | "public" | "global";
15976
+ tenantScope?: {
15977
+ tenantRef: {
15978
+ kind: string;
15979
+ id: string;
15980
+ ownerRepo: string;
15981
+ };
15982
+ dataSpaceRef: {
15983
+ kind: string;
15984
+ id: string;
15985
+ ownerRepo: string;
15986
+ };
15987
+ teamRef?: {
15988
+ kind: string;
15989
+ id: string;
15990
+ ownerRepo: string;
15991
+ } | undefined;
15992
+ } | undefined;
15993
+ } | undefined;
15994
+ }[] | undefined;
15995
+ stateRetention?: "mounted-while-child-active" | undefined;
14974
15996
  capabilityAccessEvaluated?: true | undefined;
14975
15997
  sharedStateBindings?: {
14976
15998
  bindingId: string;
@@ -15230,6 +16252,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
15230
16252
  };
15231
16253
  bindingId: string;
15232
16254
  inputMapping: Record<string, {
16255
+ kind: "page-parameter";
16256
+ name: string;
16257
+ } | {
15233
16258
  kind: "scope-field";
15234
16259
  path: string;
15235
16260
  } | {
@@ -15259,6 +16284,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
15259
16284
  expression: import("./page-expression").PageExpression;
15260
16285
  }>;
15261
16286
  dependencyInputs: Record<string, Record<string, {
16287
+ kind: "page-parameter";
16288
+ name: string;
16289
+ } | {
15262
16290
  kind: "scope-field";
15263
16291
  path: string;
15264
16292
  } | {
@@ -15401,6 +16429,7 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
15401
16429
  when?: import("./page-expression").PageExpression | undefined;
15402
16430
  }[] | undefined;
15403
16431
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
16432
+ schemaVersion: 1 | 2;
15404
16433
  pageId: string;
15405
16434
  pageRevisionRef: {
15406
16435
  revision: number;
@@ -16390,6 +17419,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
16390
17419
  } | undefined;
16391
17420
  };
16392
17421
  parameters: Record<string, {
17422
+ kind: "page-parameter";
17423
+ name: string;
17424
+ } | {
16393
17425
  kind: "scope-field";
16394
17426
  path: string;
16395
17427
  } | {
@@ -16732,6 +17764,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
16732
17764
  } | undefined;
16733
17765
  };
16734
17766
  inputMapping: Record<string, {
17767
+ kind: "page-parameter";
17768
+ name: string;
17769
+ } | {
16735
17770
  kind: "scope-field";
16736
17771
  path: string;
16737
17772
  } | {
@@ -17167,7 +18202,6 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17167
18202
  } | undefined;
17168
18203
  };
17169
18204
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
17170
- schemaVersion: 1;
17171
18205
  tenantScope: {
17172
18206
  tenantRef: {
17173
18207
  kind: string;
@@ -17393,37 +18427,249 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17393
18427
  } | undefined;
17394
18428
  } | undefined;
17395
18429
  };
17396
- parameters: Record<string, {
17397
- kind: "scope-field";
17398
- path: string;
17399
- } | {
17400
- kind: "binding-field";
17401
- bindingId: string;
17402
- path: string;
17403
- } | {
17404
- kind: "constant";
17405
- value: string | number | boolean | null;
17406
- } | {
17407
- kind: "route-parameter";
17408
- name: string;
17409
- } | {
17410
- kind: "query-parameter";
17411
- name: string;
17412
- } | {
17413
- kind: "identity";
17414
- name: "tenantId" | "teamId" | "userId";
17415
- } | {
17416
- kind: "intent-field";
17417
- path: string;
17418
- } | {
17419
- kind: "page-state";
17420
- stateId: string;
17421
- }>;
17422
- target: {
17423
- capabilityInstanceId: string;
17424
- port: string;
17425
- };
17426
- renderModelSchemaRevisionRef: {
18430
+ parameters: Record<string, {
18431
+ kind: "page-parameter";
18432
+ name: string;
18433
+ } | {
18434
+ kind: "scope-field";
18435
+ path: string;
18436
+ } | {
18437
+ kind: "binding-field";
18438
+ bindingId: string;
18439
+ path: string;
18440
+ } | {
18441
+ kind: "constant";
18442
+ value: string | number | boolean | null;
18443
+ } | {
18444
+ kind: "route-parameter";
18445
+ name: string;
18446
+ } | {
18447
+ kind: "query-parameter";
18448
+ name: string;
18449
+ } | {
18450
+ kind: "identity";
18451
+ name: "tenantId" | "teamId" | "userId";
18452
+ } | {
18453
+ kind: "intent-field";
18454
+ path: string;
18455
+ } | {
18456
+ kind: "page-state";
18457
+ stateId: string;
18458
+ }>;
18459
+ target: {
18460
+ capabilityInstanceId: string;
18461
+ port: string;
18462
+ };
18463
+ renderModelSchemaRevisionRef: {
18464
+ revision: number;
18465
+ schemaVersion: number;
18466
+ contentHash: string;
18467
+ kind: string;
18468
+ id: string;
18469
+ ownerRepo: string;
18470
+ visibility: "tenant" | "public" | "global";
18471
+ tenantScope?: {
18472
+ tenantRef: {
18473
+ kind: string;
18474
+ id: string;
18475
+ ownerRepo: string;
18476
+ };
18477
+ dataSpaceRef: {
18478
+ kind: string;
18479
+ id: string;
18480
+ ownerRepo: string;
18481
+ };
18482
+ teamRef?: {
18483
+ kind: string;
18484
+ id: string;
18485
+ ownerRepo: string;
18486
+ } | undefined;
18487
+ } | undefined;
18488
+ };
18489
+ pagination: "offset" | "cursor" | "none";
18490
+ cache: "none" | "identity-scoped" | "tenant-scoped";
18491
+ cancelOnChange: boolean;
18492
+ cursorWindow?: {
18493
+ pageChangePort: string;
18494
+ pageChangeIntentSchemaRevisionRef: {
18495
+ revision: number;
18496
+ schemaVersion: number;
18497
+ contentHash: string;
18498
+ kind: string;
18499
+ id: string;
18500
+ ownerRepo: string;
18501
+ visibility: "tenant" | "public" | "global";
18502
+ tenantScope?: {
18503
+ tenantRef: {
18504
+ kind: string;
18505
+ id: string;
18506
+ ownerRepo: string;
18507
+ };
18508
+ dataSpaceRef: {
18509
+ kind: string;
18510
+ id: string;
18511
+ ownerRepo: string;
18512
+ };
18513
+ teamRef?: {
18514
+ kind: string;
18515
+ id: string;
18516
+ ownerRepo: string;
18517
+ } | undefined;
18518
+ } | undefined;
18519
+ };
18520
+ sourceCapabilityInstanceId?: string | undefined;
18521
+ } | undefined;
18522
+ }[];
18523
+ usage?: "both" | "route" | "embedded" | undefined;
18524
+ parametersSchemaRevisionRef?: {
18525
+ revision: number;
18526
+ schemaVersion: number;
18527
+ contentHash: string;
18528
+ kind: string;
18529
+ id: string;
18530
+ ownerRepo: string;
18531
+ visibility: "tenant" | "public" | "global";
18532
+ tenantScope?: {
18533
+ tenantRef: {
18534
+ kind: string;
18535
+ id: string;
18536
+ ownerRepo: string;
18537
+ };
18538
+ dataSpaceRef: {
18539
+ kind: string;
18540
+ id: string;
18541
+ ownerRepo: string;
18542
+ };
18543
+ teamRef?: {
18544
+ kind: string;
18545
+ id: string;
18546
+ ownerRepo: string;
18547
+ } | undefined;
18548
+ } | undefined;
18549
+ } | undefined;
18550
+ parameterBindings?: Record<string, {
18551
+ kind: "query-parameter";
18552
+ name: string;
18553
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
18554
+ } | {
18555
+ kind: "route-parameter";
18556
+ name: string;
18557
+ codec?: "string" | "boolean" | "integer" | undefined;
18558
+ } | {
18559
+ kind: "constant";
18560
+ value: string | number | boolean | null;
18561
+ } | {
18562
+ kind: "identity";
18563
+ name: "tenantId" | "teamId" | "userId";
18564
+ }> | undefined;
18565
+ outputs?: {
18566
+ name: string;
18567
+ nodeId: string;
18568
+ port: string;
18569
+ capabilityInstanceId: string;
18570
+ schemaRevisionRef: {
18571
+ revision: number;
18572
+ schemaVersion: number;
18573
+ contentHash: string;
18574
+ kind: string;
18575
+ id: string;
18576
+ ownerRepo: string;
18577
+ visibility: "tenant" | "public" | "global";
18578
+ tenantScope?: {
18579
+ tenantRef: {
18580
+ kind: string;
18581
+ id: string;
18582
+ ownerRepo: string;
18583
+ };
18584
+ dataSpaceRef: {
18585
+ kind: string;
18586
+ id: string;
18587
+ ownerRepo: string;
18588
+ };
18589
+ teamRef?: {
18590
+ kind: string;
18591
+ id: string;
18592
+ ownerRepo: string;
18593
+ } | undefined;
18594
+ } | undefined;
18595
+ };
18596
+ phase?: "success" | "intent" | undefined;
18597
+ }[] | undefined;
18598
+ mounts?: {
18599
+ mountId: string;
18600
+ target: {
18601
+ kind: "page";
18602
+ id: string;
18603
+ };
18604
+ slot: string;
18605
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
18606
+ inputs: Record<string, {
18607
+ kind: "page-parameter";
18608
+ name: string;
18609
+ } | {
18610
+ kind: "scope-field";
18611
+ path: string;
18612
+ } | {
18613
+ kind: "binding-field";
18614
+ bindingId: string;
18615
+ path: string;
18616
+ } | {
18617
+ kind: "constant";
18618
+ value: string | number | boolean | null;
18619
+ } | {
18620
+ kind: "route-parameter";
18621
+ name: string;
18622
+ } | {
18623
+ kind: "query-parameter";
18624
+ name: string;
18625
+ } | {
18626
+ kind: "identity";
18627
+ name: "tenantId" | "teamId" | "userId";
18628
+ } | {
18629
+ kind: "intent-field";
18630
+ path: string;
18631
+ } | {
18632
+ kind: "page-state";
18633
+ stateId: string;
18634
+ }>;
18635
+ on: Record<string, {
18636
+ kind: "close";
18637
+ } | {
18638
+ kind: "refresh";
18639
+ bindingIds: string[];
18640
+ } | {
18641
+ kind: "state";
18642
+ stateId: string;
18643
+ path: string[];
18644
+ }>;
18645
+ backgroundQueryPolicy: "always" | "when-active";
18646
+ targetRevisionRef: {
18647
+ revision: number;
18648
+ schemaVersion: number;
18649
+ contentHash: string;
18650
+ kind: string;
18651
+ id: string;
18652
+ ownerRepo: string;
18653
+ visibility: "tenant" | "public" | "global";
18654
+ tenantScope?: {
18655
+ tenantRef: {
18656
+ kind: string;
18657
+ id: string;
18658
+ ownerRepo: string;
18659
+ };
18660
+ dataSpaceRef: {
18661
+ kind: string;
18662
+ id: string;
18663
+ ownerRepo: string;
18664
+ };
18665
+ teamRef?: {
18666
+ kind: string;
18667
+ id: string;
18668
+ ownerRepo: string;
18669
+ } | undefined;
18670
+ } | undefined;
18671
+ };
18672
+ targetReleaseRevisionRef: {
17427
18673
  revision: number;
17428
18674
  schemaVersion: number;
17429
18675
  contentHash: string;
@@ -17449,12 +18695,89 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17449
18695
  } | undefined;
17450
18696
  } | undefined;
17451
18697
  };
17452
- pagination: "offset" | "cursor" | "none";
17453
- cache: "none" | "identity-scoped" | "tenant-scoped";
17454
- cancelOnChange: boolean;
17455
- cursorWindow?: {
17456
- pageChangePort: string;
17457
- pageChangeIntentSchemaRevisionRef: {
18698
+ targetAccessPolicy: {
18699
+ authenticated: boolean;
18700
+ groupAllOf: {
18701
+ kind: string;
18702
+ id: string;
18703
+ ownerRepo: string;
18704
+ visibility: "tenant" | "public" | "global";
18705
+ tenantScope?: {
18706
+ tenantRef: {
18707
+ kind: string;
18708
+ id: string;
18709
+ ownerRepo: string;
18710
+ };
18711
+ dataSpaceRef: {
18712
+ kind: string;
18713
+ id: string;
18714
+ ownerRepo: string;
18715
+ };
18716
+ teamRef?: {
18717
+ kind: string;
18718
+ id: string;
18719
+ ownerRepo: string;
18720
+ } | undefined;
18721
+ } | undefined;
18722
+ }[];
18723
+ groupAnyOf: {
18724
+ kind: string;
18725
+ id: string;
18726
+ ownerRepo: string;
18727
+ visibility: "tenant" | "public" | "global";
18728
+ tenantScope?: {
18729
+ tenantRef: {
18730
+ kind: string;
18731
+ id: string;
18732
+ ownerRepo: string;
18733
+ };
18734
+ dataSpaceRef: {
18735
+ kind: string;
18736
+ id: string;
18737
+ ownerRepo: string;
18738
+ };
18739
+ teamRef?: {
18740
+ kind: string;
18741
+ id: string;
18742
+ ownerRepo: string;
18743
+ } | undefined;
18744
+ } | undefined;
18745
+ }[];
18746
+ permissionAllOf: string[];
18747
+ permissionAnyOf: string[];
18748
+ conditionAllOf: {
18749
+ revision: number;
18750
+ schemaVersion: number;
18751
+ contentHash: string;
18752
+ kind: string;
18753
+ id: string;
18754
+ ownerRepo: string;
18755
+ visibility: "tenant" | "public" | "global";
18756
+ tenantScope?: {
18757
+ tenantRef: {
18758
+ kind: string;
18759
+ id: string;
18760
+ ownerRepo: string;
18761
+ };
18762
+ dataSpaceRef: {
18763
+ kind: string;
18764
+ id: string;
18765
+ ownerRepo: string;
18766
+ };
18767
+ teamRef?: {
18768
+ kind: string;
18769
+ id: string;
18770
+ ownerRepo: string;
18771
+ } | undefined;
18772
+ } | undefined;
18773
+ }[];
18774
+ };
18775
+ outputs: {
18776
+ name: string;
18777
+ nodeId: string;
18778
+ port: string;
18779
+ capabilityInstanceId: string;
18780
+ schemaRevisionRef: {
17458
18781
  revision: number;
17459
18782
  schemaVersion: number;
17460
18783
  contentHash: string;
@@ -17480,9 +18803,47 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17480
18803
  } | undefined;
17481
18804
  } | undefined;
17482
18805
  };
17483
- sourceCapabilityInstanceId?: string | undefined;
18806
+ phase?: "success" | "intent" | undefined;
18807
+ }[];
18808
+ instanceKey?: string[] | undefined;
18809
+ route?: {
18810
+ path: string;
18811
+ pathParameters: Record<string, string>;
18812
+ query: Record<string, {
18813
+ parameter: string;
18814
+ type: "string" | "boolean" | "json" | "integer";
18815
+ }>;
17484
18816
  } | undefined;
17485
- }[];
18817
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
18818
+ consumeStateIds?: string[] | undefined;
18819
+ parametersSchemaRevisionRef?: {
18820
+ revision: number;
18821
+ schemaVersion: number;
18822
+ contentHash: string;
18823
+ kind: string;
18824
+ id: string;
18825
+ ownerRepo: string;
18826
+ visibility: "tenant" | "public" | "global";
18827
+ tenantScope?: {
18828
+ tenantRef: {
18829
+ kind: string;
18830
+ id: string;
18831
+ ownerRepo: string;
18832
+ };
18833
+ dataSpaceRef: {
18834
+ kind: string;
18835
+ id: string;
18836
+ ownerRepo: string;
18837
+ };
18838
+ teamRef?: {
18839
+ kind: string;
18840
+ id: string;
18841
+ ownerRepo: string;
18842
+ } | undefined;
18843
+ } | undefined;
18844
+ } | undefined;
18845
+ }[] | undefined;
18846
+ stateRetention?: "mounted-while-child-active" | undefined;
17486
18847
  capabilityAccessEvaluated?: true | undefined;
17487
18848
  sharedStateBindings?: {
17488
18849
  bindingId: string;
@@ -17742,6 +19103,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17742
19103
  };
17743
19104
  bindingId: string;
17744
19105
  inputMapping: Record<string, {
19106
+ kind: "page-parameter";
19107
+ name: string;
19108
+ } | {
17745
19109
  kind: "scope-field";
17746
19110
  path: string;
17747
19111
  } | {
@@ -17771,6 +19135,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
17771
19135
  expression: import("./page-expression").PageExpression;
17772
19136
  }>;
17773
19137
  dependencyInputs: Record<string, Record<string, {
19138
+ kind: "page-parameter";
19139
+ name: string;
19140
+ } | {
17774
19141
  kind: "scope-field";
17775
19142
  path: string;
17776
19143
  } | {
@@ -18236,6 +19603,9 @@ export declare const DeclarativePublicationJobOperationStateSchema: z.ZodObject<
18236
19603
  }, z.core.$strict>>;
18237
19604
  }, z.core.$strict>;
18238
19605
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
19606
+ kind: z.ZodLiteral<"page-parameter">;
19607
+ name: z.ZodString;
19608
+ }, z.core.$strict>, z.ZodObject<{
18239
19609
  kind: z.ZodLiteral<"scope-field">;
18240
19610
  path: z.ZodString;
18241
19611
  }, z.core.$strict>, z.ZodObject<{
@@ -21372,6 +22742,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
21372
22742
  }, z.core.$strict>>;
21373
22743
  }, z.core.$strict>;
21374
22744
  release: z.ZodUnion<readonly [z.ZodObject<{
22745
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
21375
22746
  pageRevisionRef: z.ZodObject<{
21376
22747
  revision: z.ZodNumber;
21377
22748
  schemaVersion: z.ZodNumber;
@@ -21434,7 +22805,11 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
21434
22805
  studio: "studio";
21435
22806
  kernel: "kernel";
21436
22807
  }>;
21437
- routeSpaceRevisionRef: z.ZodObject<{
22808
+ mode: z.ZodOptional<z.ZodEnum<{
22809
+ route: "route";
22810
+ embedded: "embedded";
22811
+ }>>;
22812
+ routeSpaceRevisionRef: z.ZodOptional<z.ZodObject<{
21438
22813
  revision: z.ZodNumber;
21439
22814
  schemaVersion: z.ZodNumber;
21440
22815
  contentHash: z.ZodString;
@@ -21463,9 +22838,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
21463
22838
  ownerRepo: z.ZodString;
21464
22839
  }, z.core.$strict>>;
21465
22840
  }, z.core.$strict>>;
21466
- }, z.core.$strict>;
21467
- normalizedPath: z.ZodString;
21468
- routeClaim: z.ZodUnion<readonly [z.ZodObject<{
22841
+ }, z.core.$strict>>;
22842
+ normalizedPath: z.ZodOptional<z.ZodString>;
22843
+ routeClaim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
21469
22844
  kind: z.ZodEnum<{
21470
22845
  canonical: "canonical";
21471
22846
  alias: "alias";
@@ -21639,7 +23014,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
21639
23014
  required: z.ZodBoolean;
21640
23015
  }, z.core.$strict>>;
21641
23016
  }, z.core.$strict>;
21642
- }, z.core.$strict>]>;
23017
+ }, z.core.$strict>]>>;
21643
23018
  legacyRouteTakeoverAuthorization: z.ZodOptional<z.ZodObject<{
21644
23019
  contract: z.ZodLiteral<"LegacyRouteTakeoverAuthorization">;
21645
23020
  schemaVersion: z.ZodLiteral<1>;
@@ -21769,7 +23144,6 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
21769
23144
  contentHash: z.ZodString;
21770
23145
  }, z.core.$strict>>;
21771
23146
  }, z.core.$strict>;
21772
- schemaVersion: z.ZodLiteral<1>;
21773
23147
  releaseSlotId: z.ZodString;
21774
23148
  tenantScope: z.ZodObject<{
21775
23149
  tenantRef: z.ZodObject<{
@@ -23428,6 +24802,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
23428
24802
  contract: z.ZodLiteral<"WorkbenchRelease">;
23429
24803
  }, z.core.$strict>]>;
23430
24804
  bundle: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<{
24805
+ schemaVersion: 1 | 2;
23431
24806
  pageId: string;
23432
24807
  pageRevisionRef: {
23433
24808
  revision: number;
@@ -24417,6 +25792,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
24417
25792
  } | undefined;
24418
25793
  };
24419
25794
  parameters: Record<string, {
25795
+ kind: "page-parameter";
25796
+ name: string;
25797
+ } | {
24420
25798
  kind: "scope-field";
24421
25799
  path: string;
24422
25800
  } | {
@@ -24759,6 +26137,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
24759
26137
  } | undefined;
24760
26138
  };
24761
26139
  inputMapping: Record<string, {
26140
+ kind: "page-parameter";
26141
+ name: string;
26142
+ } | {
24762
26143
  kind: "scope-field";
24763
26144
  path: string;
24764
26145
  } | {
@@ -25194,7 +26575,6 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25194
26575
  } | undefined;
25195
26576
  };
25196
26577
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
25197
- schemaVersion: 1;
25198
26578
  tenantScope: {
25199
26579
  tenantRef: {
25200
26580
  kind: string;
@@ -25368,33 +26748,199 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25368
26748
  } | undefined;
25369
26749
  } | undefined;
25370
26750
  };
25371
- viewRevisionRef: {
25372
- revision: number;
25373
- schemaVersion: number;
25374
- contentHash: string;
25375
- kind: string;
25376
- id: string;
25377
- ownerRepo: string;
25378
- visibility: "tenant" | "public" | "global";
25379
- tenantScope?: {
25380
- tenantRef: {
25381
- kind: string;
25382
- id: string;
25383
- ownerRepo: string;
25384
- };
25385
- dataSpaceRef: {
25386
- kind: string;
25387
- id: string;
25388
- ownerRepo: string;
25389
- };
25390
- teamRef?: {
25391
- kind: string;
25392
- id: string;
25393
- ownerRepo: string;
26751
+ viewRevisionRef: {
26752
+ revision: number;
26753
+ schemaVersion: number;
26754
+ contentHash: string;
26755
+ kind: string;
26756
+ id: string;
26757
+ ownerRepo: string;
26758
+ visibility: "tenant" | "public" | "global";
26759
+ tenantScope?: {
26760
+ tenantRef: {
26761
+ kind: string;
26762
+ id: string;
26763
+ ownerRepo: string;
26764
+ };
26765
+ dataSpaceRef: {
26766
+ kind: string;
26767
+ id: string;
26768
+ ownerRepo: string;
26769
+ };
26770
+ teamRef?: {
26771
+ kind: string;
26772
+ id: string;
26773
+ ownerRepo: string;
26774
+ } | undefined;
26775
+ } | undefined;
26776
+ };
26777
+ canonicalDataViewRevisionRef: {
26778
+ revision: number;
26779
+ schemaVersion: number;
26780
+ contentHash: string;
26781
+ kind: string;
26782
+ id: string;
26783
+ ownerRepo: string;
26784
+ visibility: "tenant" | "public" | "global";
26785
+ tenantScope?: {
26786
+ tenantRef: {
26787
+ kind: string;
26788
+ id: string;
26789
+ ownerRepo: string;
26790
+ };
26791
+ dataSpaceRef: {
26792
+ kind: string;
26793
+ id: string;
26794
+ ownerRepo: string;
26795
+ };
26796
+ teamRef?: {
26797
+ kind: string;
26798
+ id: string;
26799
+ ownerRepo: string;
26800
+ } | undefined;
26801
+ } | undefined;
26802
+ };
26803
+ parameters: Record<string, {
26804
+ kind: "page-parameter";
26805
+ name: string;
26806
+ } | {
26807
+ kind: "scope-field";
26808
+ path: string;
26809
+ } | {
26810
+ kind: "binding-field";
26811
+ bindingId: string;
26812
+ path: string;
26813
+ } | {
26814
+ kind: "constant";
26815
+ value: string | number | boolean | null;
26816
+ } | {
26817
+ kind: "route-parameter";
26818
+ name: string;
26819
+ } | {
26820
+ kind: "query-parameter";
26821
+ name: string;
26822
+ } | {
26823
+ kind: "identity";
26824
+ name: "tenantId" | "teamId" | "userId";
26825
+ } | {
26826
+ kind: "intent-field";
26827
+ path: string;
26828
+ } | {
26829
+ kind: "page-state";
26830
+ stateId: string;
26831
+ }>;
26832
+ target: {
26833
+ capabilityInstanceId: string;
26834
+ port: string;
26835
+ };
26836
+ renderModelSchemaRevisionRef: {
26837
+ revision: number;
26838
+ schemaVersion: number;
26839
+ contentHash: string;
26840
+ kind: string;
26841
+ id: string;
26842
+ ownerRepo: string;
26843
+ visibility: "tenant" | "public" | "global";
26844
+ tenantScope?: {
26845
+ tenantRef: {
26846
+ kind: string;
26847
+ id: string;
26848
+ ownerRepo: string;
26849
+ };
26850
+ dataSpaceRef: {
26851
+ kind: string;
26852
+ id: string;
26853
+ ownerRepo: string;
26854
+ };
26855
+ teamRef?: {
26856
+ kind: string;
26857
+ id: string;
26858
+ ownerRepo: string;
26859
+ } | undefined;
26860
+ } | undefined;
26861
+ };
26862
+ pagination: "offset" | "cursor" | "none";
26863
+ cache: "none" | "identity-scoped" | "tenant-scoped";
26864
+ cancelOnChange: boolean;
26865
+ cursorWindow?: {
26866
+ pageChangePort: string;
26867
+ pageChangeIntentSchemaRevisionRef: {
26868
+ revision: number;
26869
+ schemaVersion: number;
26870
+ contentHash: string;
26871
+ kind: string;
26872
+ id: string;
26873
+ ownerRepo: string;
26874
+ visibility: "tenant" | "public" | "global";
26875
+ tenantScope?: {
26876
+ tenantRef: {
26877
+ kind: string;
26878
+ id: string;
26879
+ ownerRepo: string;
26880
+ };
26881
+ dataSpaceRef: {
26882
+ kind: string;
26883
+ id: string;
26884
+ ownerRepo: string;
26885
+ };
26886
+ teamRef?: {
26887
+ kind: string;
26888
+ id: string;
26889
+ ownerRepo: string;
26890
+ } | undefined;
25394
26891
  } | undefined;
26892
+ };
26893
+ sourceCapabilityInstanceId?: string | undefined;
26894
+ } | undefined;
26895
+ }[];
26896
+ usage?: "both" | "route" | "embedded" | undefined;
26897
+ parametersSchemaRevisionRef?: {
26898
+ revision: number;
26899
+ schemaVersion: number;
26900
+ contentHash: string;
26901
+ kind: string;
26902
+ id: string;
26903
+ ownerRepo: string;
26904
+ visibility: "tenant" | "public" | "global";
26905
+ tenantScope?: {
26906
+ tenantRef: {
26907
+ kind: string;
26908
+ id: string;
26909
+ ownerRepo: string;
26910
+ };
26911
+ dataSpaceRef: {
26912
+ kind: string;
26913
+ id: string;
26914
+ ownerRepo: string;
26915
+ };
26916
+ teamRef?: {
26917
+ kind: string;
26918
+ id: string;
26919
+ ownerRepo: string;
25395
26920
  } | undefined;
25396
- };
25397
- canonicalDataViewRevisionRef: {
26921
+ } | undefined;
26922
+ } | undefined;
26923
+ parameterBindings?: Record<string, {
26924
+ kind: "query-parameter";
26925
+ name: string;
26926
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
26927
+ } | {
26928
+ kind: "route-parameter";
26929
+ name: string;
26930
+ codec?: "string" | "boolean" | "integer" | undefined;
26931
+ } | {
26932
+ kind: "constant";
26933
+ value: string | number | boolean | null;
26934
+ } | {
26935
+ kind: "identity";
26936
+ name: "tenantId" | "teamId" | "userId";
26937
+ }> | undefined;
26938
+ outputs?: {
26939
+ name: string;
26940
+ nodeId: string;
26941
+ port: string;
26942
+ capabilityInstanceId: string;
26943
+ schemaRevisionRef: {
25398
26944
  revision: number;
25399
26945
  schemaVersion: number;
25400
26946
  contentHash: string;
@@ -25420,7 +26966,20 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25420
26966
  } | undefined;
25421
26967
  } | undefined;
25422
26968
  };
25423
- parameters: Record<string, {
26969
+ phase?: "success" | "intent" | undefined;
26970
+ }[] | undefined;
26971
+ mounts?: {
26972
+ mountId: string;
26973
+ target: {
26974
+ kind: "page";
26975
+ id: string;
26976
+ };
26977
+ slot: string;
26978
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
26979
+ inputs: Record<string, {
26980
+ kind: "page-parameter";
26981
+ name: string;
26982
+ } | {
25424
26983
  kind: "scope-field";
25425
26984
  path: string;
25426
26985
  } | {
@@ -25446,11 +27005,44 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25446
27005
  kind: "page-state";
25447
27006
  stateId: string;
25448
27007
  }>;
25449
- target: {
25450
- capabilityInstanceId: string;
25451
- port: string;
27008
+ on: Record<string, {
27009
+ kind: "close";
27010
+ } | {
27011
+ kind: "refresh";
27012
+ bindingIds: string[];
27013
+ } | {
27014
+ kind: "state";
27015
+ stateId: string;
27016
+ path: string[];
27017
+ }>;
27018
+ backgroundQueryPolicy: "always" | "when-active";
27019
+ targetRevisionRef: {
27020
+ revision: number;
27021
+ schemaVersion: number;
27022
+ contentHash: string;
27023
+ kind: string;
27024
+ id: string;
27025
+ ownerRepo: string;
27026
+ visibility: "tenant" | "public" | "global";
27027
+ tenantScope?: {
27028
+ tenantRef: {
27029
+ kind: string;
27030
+ id: string;
27031
+ ownerRepo: string;
27032
+ };
27033
+ dataSpaceRef: {
27034
+ kind: string;
27035
+ id: string;
27036
+ ownerRepo: string;
27037
+ };
27038
+ teamRef?: {
27039
+ kind: string;
27040
+ id: string;
27041
+ ownerRepo: string;
27042
+ } | undefined;
27043
+ } | undefined;
25452
27044
  };
25453
- renderModelSchemaRevisionRef: {
27045
+ targetReleaseRevisionRef: {
25454
27046
  revision: number;
25455
27047
  schemaVersion: number;
25456
27048
  contentHash: string;
@@ -25476,12 +27068,89 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25476
27068
  } | undefined;
25477
27069
  } | undefined;
25478
27070
  };
25479
- pagination: "offset" | "cursor" | "none";
25480
- cache: "none" | "identity-scoped" | "tenant-scoped";
25481
- cancelOnChange: boolean;
25482
- cursorWindow?: {
25483
- pageChangePort: string;
25484
- pageChangeIntentSchemaRevisionRef: {
27071
+ targetAccessPolicy: {
27072
+ authenticated: boolean;
27073
+ groupAllOf: {
27074
+ kind: string;
27075
+ id: string;
27076
+ ownerRepo: string;
27077
+ visibility: "tenant" | "public" | "global";
27078
+ tenantScope?: {
27079
+ tenantRef: {
27080
+ kind: string;
27081
+ id: string;
27082
+ ownerRepo: string;
27083
+ };
27084
+ dataSpaceRef: {
27085
+ kind: string;
27086
+ id: string;
27087
+ ownerRepo: string;
27088
+ };
27089
+ teamRef?: {
27090
+ kind: string;
27091
+ id: string;
27092
+ ownerRepo: string;
27093
+ } | undefined;
27094
+ } | undefined;
27095
+ }[];
27096
+ groupAnyOf: {
27097
+ kind: string;
27098
+ id: string;
27099
+ ownerRepo: string;
27100
+ visibility: "tenant" | "public" | "global";
27101
+ tenantScope?: {
27102
+ tenantRef: {
27103
+ kind: string;
27104
+ id: string;
27105
+ ownerRepo: string;
27106
+ };
27107
+ dataSpaceRef: {
27108
+ kind: string;
27109
+ id: string;
27110
+ ownerRepo: string;
27111
+ };
27112
+ teamRef?: {
27113
+ kind: string;
27114
+ id: string;
27115
+ ownerRepo: string;
27116
+ } | undefined;
27117
+ } | undefined;
27118
+ }[];
27119
+ permissionAllOf: string[];
27120
+ permissionAnyOf: string[];
27121
+ conditionAllOf: {
27122
+ revision: number;
27123
+ schemaVersion: number;
27124
+ contentHash: string;
27125
+ kind: string;
27126
+ id: string;
27127
+ ownerRepo: string;
27128
+ visibility: "tenant" | "public" | "global";
27129
+ tenantScope?: {
27130
+ tenantRef: {
27131
+ kind: string;
27132
+ id: string;
27133
+ ownerRepo: string;
27134
+ };
27135
+ dataSpaceRef: {
27136
+ kind: string;
27137
+ id: string;
27138
+ ownerRepo: string;
27139
+ };
27140
+ teamRef?: {
27141
+ kind: string;
27142
+ id: string;
27143
+ ownerRepo: string;
27144
+ } | undefined;
27145
+ } | undefined;
27146
+ }[];
27147
+ };
27148
+ outputs: {
27149
+ name: string;
27150
+ nodeId: string;
27151
+ port: string;
27152
+ capabilityInstanceId: string;
27153
+ schemaRevisionRef: {
25485
27154
  revision: number;
25486
27155
  schemaVersion: number;
25487
27156
  contentHash: string;
@@ -25507,9 +27176,47 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25507
27176
  } | undefined;
25508
27177
  } | undefined;
25509
27178
  };
25510
- sourceCapabilityInstanceId?: string | undefined;
27179
+ phase?: "success" | "intent" | undefined;
27180
+ }[];
27181
+ instanceKey?: string[] | undefined;
27182
+ route?: {
27183
+ path: string;
27184
+ pathParameters: Record<string, string>;
27185
+ query: Record<string, {
27186
+ parameter: string;
27187
+ type: "string" | "boolean" | "json" | "integer";
27188
+ }>;
25511
27189
  } | undefined;
25512
- }[];
27190
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
27191
+ consumeStateIds?: string[] | undefined;
27192
+ parametersSchemaRevisionRef?: {
27193
+ revision: number;
27194
+ schemaVersion: number;
27195
+ contentHash: string;
27196
+ kind: string;
27197
+ id: string;
27198
+ ownerRepo: string;
27199
+ visibility: "tenant" | "public" | "global";
27200
+ tenantScope?: {
27201
+ tenantRef: {
27202
+ kind: string;
27203
+ id: string;
27204
+ ownerRepo: string;
27205
+ };
27206
+ dataSpaceRef: {
27207
+ kind: string;
27208
+ id: string;
27209
+ ownerRepo: string;
27210
+ };
27211
+ teamRef?: {
27212
+ kind: string;
27213
+ id: string;
27214
+ ownerRepo: string;
27215
+ } | undefined;
27216
+ } | undefined;
27217
+ } | undefined;
27218
+ }[] | undefined;
27219
+ stateRetention?: "mounted-while-child-active" | undefined;
25513
27220
  capabilityAccessEvaluated?: true | undefined;
25514
27221
  sharedStateBindings?: {
25515
27222
  bindingId: string;
@@ -25769,6 +27476,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25769
27476
  };
25770
27477
  bindingId: string;
25771
27478
  inputMapping: Record<string, {
27479
+ kind: "page-parameter";
27480
+ name: string;
27481
+ } | {
25772
27482
  kind: "scope-field";
25773
27483
  path: string;
25774
27484
  } | {
@@ -25798,6 +27508,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25798
27508
  expression: import("./page-expression").PageExpression;
25799
27509
  }>;
25800
27510
  dependencyInputs: Record<string, Record<string, {
27511
+ kind: "page-parameter";
27512
+ name: string;
27513
+ } | {
25801
27514
  kind: "scope-field";
25802
27515
  path: string;
25803
27516
  } | {
@@ -25940,6 +27653,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
25940
27653
  when?: import("./page-expression").PageExpression | undefined;
25941
27654
  }[] | undefined;
25942
27655
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
27656
+ schemaVersion: 1 | 2;
25943
27657
  pageId: string;
25944
27658
  pageRevisionRef: {
25945
27659
  revision: number;
@@ -26929,6 +28643,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
26929
28643
  } | undefined;
26930
28644
  };
26931
28645
  parameters: Record<string, {
28646
+ kind: "page-parameter";
28647
+ name: string;
28648
+ } | {
26932
28649
  kind: "scope-field";
26933
28650
  path: string;
26934
28651
  } | {
@@ -27271,6 +28988,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
27271
28988
  } | undefined;
27272
28989
  };
27273
28990
  inputMapping: Record<string, {
28991
+ kind: "page-parameter";
28992
+ name: string;
28993
+ } | {
27274
28994
  kind: "scope-field";
27275
28995
  path: string;
27276
28996
  } | {
@@ -27706,7 +29426,6 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
27706
29426
  } | undefined;
27707
29427
  };
27708
29428
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
27709
- schemaVersion: 1;
27710
29429
  tenantScope: {
27711
29430
  tenantRef: {
27712
29431
  kind: string;
@@ -27880,120 +29599,409 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
27880
29599
  } | undefined;
27881
29600
  } | undefined;
27882
29601
  };
27883
- viewRevisionRef: {
27884
- revision: number;
27885
- schemaVersion: number;
27886
- contentHash: string;
27887
- kind: string;
27888
- id: string;
27889
- ownerRepo: string;
27890
- visibility: "tenant" | "public" | "global";
27891
- tenantScope?: {
27892
- tenantRef: {
27893
- kind: string;
27894
- id: string;
27895
- ownerRepo: string;
27896
- };
27897
- dataSpaceRef: {
27898
- kind: string;
27899
- id: string;
27900
- ownerRepo: string;
27901
- };
27902
- teamRef?: {
27903
- kind: string;
27904
- id: string;
27905
- ownerRepo: string;
29602
+ viewRevisionRef: {
29603
+ revision: number;
29604
+ schemaVersion: number;
29605
+ contentHash: string;
29606
+ kind: string;
29607
+ id: string;
29608
+ ownerRepo: string;
29609
+ visibility: "tenant" | "public" | "global";
29610
+ tenantScope?: {
29611
+ tenantRef: {
29612
+ kind: string;
29613
+ id: string;
29614
+ ownerRepo: string;
29615
+ };
29616
+ dataSpaceRef: {
29617
+ kind: string;
29618
+ id: string;
29619
+ ownerRepo: string;
29620
+ };
29621
+ teamRef?: {
29622
+ kind: string;
29623
+ id: string;
29624
+ ownerRepo: string;
29625
+ } | undefined;
29626
+ } | undefined;
29627
+ };
29628
+ canonicalDataViewRevisionRef: {
29629
+ revision: number;
29630
+ schemaVersion: number;
29631
+ contentHash: string;
29632
+ kind: string;
29633
+ id: string;
29634
+ ownerRepo: string;
29635
+ visibility: "tenant" | "public" | "global";
29636
+ tenantScope?: {
29637
+ tenantRef: {
29638
+ kind: string;
29639
+ id: string;
29640
+ ownerRepo: string;
29641
+ };
29642
+ dataSpaceRef: {
29643
+ kind: string;
29644
+ id: string;
29645
+ ownerRepo: string;
29646
+ };
29647
+ teamRef?: {
29648
+ kind: string;
29649
+ id: string;
29650
+ ownerRepo: string;
29651
+ } | undefined;
29652
+ } | undefined;
29653
+ };
29654
+ parameters: Record<string, {
29655
+ kind: "page-parameter";
29656
+ name: string;
29657
+ } | {
29658
+ kind: "scope-field";
29659
+ path: string;
29660
+ } | {
29661
+ kind: "binding-field";
29662
+ bindingId: string;
29663
+ path: string;
29664
+ } | {
29665
+ kind: "constant";
29666
+ value: string | number | boolean | null;
29667
+ } | {
29668
+ kind: "route-parameter";
29669
+ name: string;
29670
+ } | {
29671
+ kind: "query-parameter";
29672
+ name: string;
29673
+ } | {
29674
+ kind: "identity";
29675
+ name: "tenantId" | "teamId" | "userId";
29676
+ } | {
29677
+ kind: "intent-field";
29678
+ path: string;
29679
+ } | {
29680
+ kind: "page-state";
29681
+ stateId: string;
29682
+ }>;
29683
+ target: {
29684
+ capabilityInstanceId: string;
29685
+ port: string;
29686
+ };
29687
+ renderModelSchemaRevisionRef: {
29688
+ revision: number;
29689
+ schemaVersion: number;
29690
+ contentHash: string;
29691
+ kind: string;
29692
+ id: string;
29693
+ ownerRepo: string;
29694
+ visibility: "tenant" | "public" | "global";
29695
+ tenantScope?: {
29696
+ tenantRef: {
29697
+ kind: string;
29698
+ id: string;
29699
+ ownerRepo: string;
29700
+ };
29701
+ dataSpaceRef: {
29702
+ kind: string;
29703
+ id: string;
29704
+ ownerRepo: string;
29705
+ };
29706
+ teamRef?: {
29707
+ kind: string;
29708
+ id: string;
29709
+ ownerRepo: string;
29710
+ } | undefined;
29711
+ } | undefined;
29712
+ };
29713
+ pagination: "offset" | "cursor" | "none";
29714
+ cache: "none" | "identity-scoped" | "tenant-scoped";
29715
+ cancelOnChange: boolean;
29716
+ cursorWindow?: {
29717
+ pageChangePort: string;
29718
+ pageChangeIntentSchemaRevisionRef: {
29719
+ revision: number;
29720
+ schemaVersion: number;
29721
+ contentHash: string;
29722
+ kind: string;
29723
+ id: string;
29724
+ ownerRepo: string;
29725
+ visibility: "tenant" | "public" | "global";
29726
+ tenantScope?: {
29727
+ tenantRef: {
29728
+ kind: string;
29729
+ id: string;
29730
+ ownerRepo: string;
29731
+ };
29732
+ dataSpaceRef: {
29733
+ kind: string;
29734
+ id: string;
29735
+ ownerRepo: string;
29736
+ };
29737
+ teamRef?: {
29738
+ kind: string;
29739
+ id: string;
29740
+ ownerRepo: string;
29741
+ } | undefined;
29742
+ } | undefined;
29743
+ };
29744
+ sourceCapabilityInstanceId?: string | undefined;
29745
+ } | undefined;
29746
+ }[];
29747
+ usage?: "both" | "route" | "embedded" | undefined;
29748
+ parametersSchemaRevisionRef?: {
29749
+ revision: number;
29750
+ schemaVersion: number;
29751
+ contentHash: string;
29752
+ kind: string;
29753
+ id: string;
29754
+ ownerRepo: string;
29755
+ visibility: "tenant" | "public" | "global";
29756
+ tenantScope?: {
29757
+ tenantRef: {
29758
+ kind: string;
29759
+ id: string;
29760
+ ownerRepo: string;
29761
+ };
29762
+ dataSpaceRef: {
29763
+ kind: string;
29764
+ id: string;
29765
+ ownerRepo: string;
29766
+ };
29767
+ teamRef?: {
29768
+ kind: string;
29769
+ id: string;
29770
+ ownerRepo: string;
29771
+ } | undefined;
29772
+ } | undefined;
29773
+ } | undefined;
29774
+ parameterBindings?: Record<string, {
29775
+ kind: "query-parameter";
29776
+ name: string;
29777
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
29778
+ } | {
29779
+ kind: "route-parameter";
29780
+ name: string;
29781
+ codec?: "string" | "boolean" | "integer" | undefined;
29782
+ } | {
29783
+ kind: "constant";
29784
+ value: string | number | boolean | null;
29785
+ } | {
29786
+ kind: "identity";
29787
+ name: "tenantId" | "teamId" | "userId";
29788
+ }> | undefined;
29789
+ outputs?: {
29790
+ name: string;
29791
+ nodeId: string;
29792
+ port: string;
29793
+ capabilityInstanceId: string;
29794
+ schemaRevisionRef: {
29795
+ revision: number;
29796
+ schemaVersion: number;
29797
+ contentHash: string;
29798
+ kind: string;
29799
+ id: string;
29800
+ ownerRepo: string;
29801
+ visibility: "tenant" | "public" | "global";
29802
+ tenantScope?: {
29803
+ tenantRef: {
29804
+ kind: string;
29805
+ id: string;
29806
+ ownerRepo: string;
29807
+ };
29808
+ dataSpaceRef: {
29809
+ kind: string;
29810
+ id: string;
29811
+ ownerRepo: string;
29812
+ };
29813
+ teamRef?: {
29814
+ kind: string;
29815
+ id: string;
29816
+ ownerRepo: string;
29817
+ } | undefined;
29818
+ } | undefined;
29819
+ };
29820
+ phase?: "success" | "intent" | undefined;
29821
+ }[] | undefined;
29822
+ mounts?: {
29823
+ mountId: string;
29824
+ target: {
29825
+ kind: "page";
29826
+ id: string;
29827
+ };
29828
+ slot: string;
29829
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
29830
+ inputs: Record<string, {
29831
+ kind: "page-parameter";
29832
+ name: string;
29833
+ } | {
29834
+ kind: "scope-field";
29835
+ path: string;
29836
+ } | {
29837
+ kind: "binding-field";
29838
+ bindingId: string;
29839
+ path: string;
29840
+ } | {
29841
+ kind: "constant";
29842
+ value: string | number | boolean | null;
29843
+ } | {
29844
+ kind: "route-parameter";
29845
+ name: string;
29846
+ } | {
29847
+ kind: "query-parameter";
29848
+ name: string;
29849
+ } | {
29850
+ kind: "identity";
29851
+ name: "tenantId" | "teamId" | "userId";
29852
+ } | {
29853
+ kind: "intent-field";
29854
+ path: string;
29855
+ } | {
29856
+ kind: "page-state";
29857
+ stateId: string;
29858
+ }>;
29859
+ on: Record<string, {
29860
+ kind: "close";
29861
+ } | {
29862
+ kind: "refresh";
29863
+ bindingIds: string[];
29864
+ } | {
29865
+ kind: "state";
29866
+ stateId: string;
29867
+ path: string[];
29868
+ }>;
29869
+ backgroundQueryPolicy: "always" | "when-active";
29870
+ targetRevisionRef: {
29871
+ revision: number;
29872
+ schemaVersion: number;
29873
+ contentHash: string;
29874
+ kind: string;
29875
+ id: string;
29876
+ ownerRepo: string;
29877
+ visibility: "tenant" | "public" | "global";
29878
+ tenantScope?: {
29879
+ tenantRef: {
29880
+ kind: string;
29881
+ id: string;
29882
+ ownerRepo: string;
29883
+ };
29884
+ dataSpaceRef: {
29885
+ kind: string;
29886
+ id: string;
29887
+ ownerRepo: string;
29888
+ };
29889
+ teamRef?: {
29890
+ kind: string;
29891
+ id: string;
29892
+ ownerRepo: string;
29893
+ } | undefined;
29894
+ } | undefined;
29895
+ };
29896
+ targetReleaseRevisionRef: {
29897
+ revision: number;
29898
+ schemaVersion: number;
29899
+ contentHash: string;
29900
+ kind: string;
29901
+ id: string;
29902
+ ownerRepo: string;
29903
+ visibility: "tenant" | "public" | "global";
29904
+ tenantScope?: {
29905
+ tenantRef: {
29906
+ kind: string;
29907
+ id: string;
29908
+ ownerRepo: string;
29909
+ };
29910
+ dataSpaceRef: {
29911
+ kind: string;
29912
+ id: string;
29913
+ ownerRepo: string;
29914
+ };
29915
+ teamRef?: {
29916
+ kind: string;
29917
+ id: string;
29918
+ ownerRepo: string;
29919
+ } | undefined;
29920
+ } | undefined;
29921
+ };
29922
+ targetAccessPolicy: {
29923
+ authenticated: boolean;
29924
+ groupAllOf: {
29925
+ kind: string;
29926
+ id: string;
29927
+ ownerRepo: string;
29928
+ visibility: "tenant" | "public" | "global";
29929
+ tenantScope?: {
29930
+ tenantRef: {
29931
+ kind: string;
29932
+ id: string;
29933
+ ownerRepo: string;
29934
+ };
29935
+ dataSpaceRef: {
29936
+ kind: string;
29937
+ id: string;
29938
+ ownerRepo: string;
29939
+ };
29940
+ teamRef?: {
29941
+ kind: string;
29942
+ id: string;
29943
+ ownerRepo: string;
29944
+ } | undefined;
27906
29945
  } | undefined;
27907
- } | undefined;
27908
- };
27909
- canonicalDataViewRevisionRef: {
27910
- revision: number;
27911
- schemaVersion: number;
27912
- contentHash: string;
27913
- kind: string;
27914
- id: string;
27915
- ownerRepo: string;
27916
- visibility: "tenant" | "public" | "global";
27917
- tenantScope?: {
27918
- tenantRef: {
27919
- kind: string;
27920
- id: string;
27921
- ownerRepo: string;
27922
- };
27923
- dataSpaceRef: {
27924
- kind: string;
27925
- id: string;
27926
- ownerRepo: string;
27927
- };
27928
- teamRef?: {
27929
- kind: string;
27930
- id: string;
27931
- ownerRepo: string;
29946
+ }[];
29947
+ groupAnyOf: {
29948
+ kind: string;
29949
+ id: string;
29950
+ ownerRepo: string;
29951
+ visibility: "tenant" | "public" | "global";
29952
+ tenantScope?: {
29953
+ tenantRef: {
29954
+ kind: string;
29955
+ id: string;
29956
+ ownerRepo: string;
29957
+ };
29958
+ dataSpaceRef: {
29959
+ kind: string;
29960
+ id: string;
29961
+ ownerRepo: string;
29962
+ };
29963
+ teamRef?: {
29964
+ kind: string;
29965
+ id: string;
29966
+ ownerRepo: string;
29967
+ } | undefined;
27932
29968
  } | undefined;
27933
- } | undefined;
29969
+ }[];
29970
+ permissionAllOf: string[];
29971
+ permissionAnyOf: string[];
29972
+ conditionAllOf: {
29973
+ revision: number;
29974
+ schemaVersion: number;
29975
+ contentHash: string;
29976
+ kind: string;
29977
+ id: string;
29978
+ ownerRepo: string;
29979
+ visibility: "tenant" | "public" | "global";
29980
+ tenantScope?: {
29981
+ tenantRef: {
29982
+ kind: string;
29983
+ id: string;
29984
+ ownerRepo: string;
29985
+ };
29986
+ dataSpaceRef: {
29987
+ kind: string;
29988
+ id: string;
29989
+ ownerRepo: string;
29990
+ };
29991
+ teamRef?: {
29992
+ kind: string;
29993
+ id: string;
29994
+ ownerRepo: string;
29995
+ } | undefined;
29996
+ } | undefined;
29997
+ }[];
27934
29998
  };
27935
- parameters: Record<string, {
27936
- kind: "scope-field";
27937
- path: string;
27938
- } | {
27939
- kind: "binding-field";
27940
- bindingId: string;
27941
- path: string;
27942
- } | {
27943
- kind: "constant";
27944
- value: string | number | boolean | null;
27945
- } | {
27946
- kind: "route-parameter";
27947
- name: string;
27948
- } | {
27949
- kind: "query-parameter";
29999
+ outputs: {
27950
30000
  name: string;
27951
- } | {
27952
- kind: "identity";
27953
- name: "tenantId" | "teamId" | "userId";
27954
- } | {
27955
- kind: "intent-field";
27956
- path: string;
27957
- } | {
27958
- kind: "page-state";
27959
- stateId: string;
27960
- }>;
27961
- target: {
27962
- capabilityInstanceId: string;
30001
+ nodeId: string;
27963
30002
  port: string;
27964
- };
27965
- renderModelSchemaRevisionRef: {
27966
- revision: number;
27967
- schemaVersion: number;
27968
- contentHash: string;
27969
- kind: string;
27970
- id: string;
27971
- ownerRepo: string;
27972
- visibility: "tenant" | "public" | "global";
27973
- tenantScope?: {
27974
- tenantRef: {
27975
- kind: string;
27976
- id: string;
27977
- ownerRepo: string;
27978
- };
27979
- dataSpaceRef: {
27980
- kind: string;
27981
- id: string;
27982
- ownerRepo: string;
27983
- };
27984
- teamRef?: {
27985
- kind: string;
27986
- id: string;
27987
- ownerRepo: string;
27988
- } | undefined;
27989
- } | undefined;
27990
- };
27991
- pagination: "offset" | "cursor" | "none";
27992
- cache: "none" | "identity-scoped" | "tenant-scoped";
27993
- cancelOnChange: boolean;
27994
- cursorWindow?: {
27995
- pageChangePort: string;
27996
- pageChangeIntentSchemaRevisionRef: {
30003
+ capabilityInstanceId: string;
30004
+ schemaRevisionRef: {
27997
30005
  revision: number;
27998
30006
  schemaVersion: number;
27999
30007
  contentHash: string;
@@ -28019,9 +30027,47 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28019
30027
  } | undefined;
28020
30028
  } | undefined;
28021
30029
  };
28022
- sourceCapabilityInstanceId?: string | undefined;
30030
+ phase?: "success" | "intent" | undefined;
30031
+ }[];
30032
+ instanceKey?: string[] | undefined;
30033
+ route?: {
30034
+ path: string;
30035
+ pathParameters: Record<string, string>;
30036
+ query: Record<string, {
30037
+ parameter: string;
30038
+ type: "string" | "boolean" | "json" | "integer";
30039
+ }>;
28023
30040
  } | undefined;
28024
- }[];
30041
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
30042
+ consumeStateIds?: string[] | undefined;
30043
+ parametersSchemaRevisionRef?: {
30044
+ revision: number;
30045
+ schemaVersion: number;
30046
+ contentHash: string;
30047
+ kind: string;
30048
+ id: string;
30049
+ ownerRepo: string;
30050
+ visibility: "tenant" | "public" | "global";
30051
+ tenantScope?: {
30052
+ tenantRef: {
30053
+ kind: string;
30054
+ id: string;
30055
+ ownerRepo: string;
30056
+ };
30057
+ dataSpaceRef: {
30058
+ kind: string;
30059
+ id: string;
30060
+ ownerRepo: string;
30061
+ };
30062
+ teamRef?: {
30063
+ kind: string;
30064
+ id: string;
30065
+ ownerRepo: string;
30066
+ } | undefined;
30067
+ } | undefined;
30068
+ } | undefined;
30069
+ }[] | undefined;
30070
+ stateRetention?: "mounted-while-child-active" | undefined;
28025
30071
  capabilityAccessEvaluated?: true | undefined;
28026
30072
  sharedStateBindings?: {
28027
30073
  bindingId: string;
@@ -28281,6 +30327,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28281
30327
  };
28282
30328
  bindingId: string;
28283
30329
  inputMapping: Record<string, {
30330
+ kind: "page-parameter";
30331
+ name: string;
30332
+ } | {
28284
30333
  kind: "scope-field";
28285
30334
  path: string;
28286
30335
  } | {
@@ -28310,6 +30359,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28310
30359
  expression: import("./page-expression").PageExpression;
28311
30360
  }>;
28312
30361
  dependencyInputs: Record<string, Record<string, {
30362
+ kind: "page-parameter";
30363
+ name: string;
30364
+ } | {
28313
30365
  kind: "scope-field";
28314
30366
  path: string;
28315
30367
  } | {
@@ -28775,6 +30827,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
28775
30827
  }, z.core.$strict>>;
28776
30828
  }, z.core.$strict>;
28777
30829
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
30830
+ kind: z.ZodLiteral<"page-parameter">;
30831
+ name: z.ZodString;
30832
+ }, z.core.$strict>, z.ZodObject<{
28778
30833
  kind: z.ZodLiteral<"scope-field">;
28779
30834
  path: z.ZodString;
28780
30835
  }, z.core.$strict>, z.ZodObject<{
@@ -31626,6 +33681,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
31626
33681
  }, z.core.$strict>>;
31627
33682
  }, z.core.$strict>;
31628
33683
  release: z.ZodUnion<readonly [z.ZodObject<{
33684
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
31629
33685
  pageRevisionRef: z.ZodObject<{
31630
33686
  revision: z.ZodNumber;
31631
33687
  schemaVersion: z.ZodNumber;
@@ -31684,42 +33740,46 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
31684
33740
  }, z.core.$strict>>;
31685
33741
  }, z.core.$strict>>;
31686
33742
  }, z.core.$strict>;
31687
- surface: z.ZodEnum<{
31688
- studio: "studio";
31689
- kernel: "kernel";
31690
- }>;
31691
- routeSpaceRevisionRef: z.ZodObject<{
31692
- revision: z.ZodNumber;
31693
- schemaVersion: z.ZodNumber;
31694
- contentHash: z.ZodString;
31695
- kind: z.ZodString;
31696
- id: z.ZodString;
31697
- ownerRepo: z.ZodString;
31698
- visibility: z.ZodEnum<{
31699
- tenant: "tenant";
31700
- public: "public";
31701
- global: "global";
31702
- }>;
31703
- tenantScope: z.ZodOptional<z.ZodObject<{
31704
- tenantRef: z.ZodObject<{
31705
- kind: z.ZodString;
31706
- id: z.ZodString;
31707
- ownerRepo: z.ZodString;
31708
- }, z.core.$strict>;
31709
- dataSpaceRef: z.ZodObject<{
31710
- kind: z.ZodString;
31711
- id: z.ZodString;
31712
- ownerRepo: z.ZodString;
31713
- }, z.core.$strict>;
31714
- teamRef: z.ZodOptional<z.ZodObject<{
31715
- kind: z.ZodString;
31716
- id: z.ZodString;
31717
- ownerRepo: z.ZodString;
31718
- }, z.core.$strict>>;
31719
- }, z.core.$strict>>;
31720
- }, z.core.$strict>;
31721
- normalizedPath: z.ZodString;
31722
- routeClaim: z.ZodUnion<readonly [z.ZodObject<{
33743
+ surface: z.ZodEnum<{
33744
+ studio: "studio";
33745
+ kernel: "kernel";
33746
+ }>;
33747
+ mode: z.ZodOptional<z.ZodEnum<{
33748
+ route: "route";
33749
+ embedded: "embedded";
33750
+ }>>;
33751
+ routeSpaceRevisionRef: z.ZodOptional<z.ZodObject<{
33752
+ revision: z.ZodNumber;
33753
+ schemaVersion: z.ZodNumber;
33754
+ contentHash: z.ZodString;
33755
+ kind: z.ZodString;
33756
+ id: z.ZodString;
33757
+ ownerRepo: z.ZodString;
33758
+ visibility: z.ZodEnum<{
33759
+ tenant: "tenant";
33760
+ public: "public";
33761
+ global: "global";
33762
+ }>;
33763
+ tenantScope: z.ZodOptional<z.ZodObject<{
33764
+ tenantRef: z.ZodObject<{
33765
+ kind: z.ZodString;
33766
+ id: z.ZodString;
33767
+ ownerRepo: z.ZodString;
33768
+ }, z.core.$strict>;
33769
+ dataSpaceRef: z.ZodObject<{
33770
+ kind: z.ZodString;
33771
+ id: z.ZodString;
33772
+ ownerRepo: z.ZodString;
33773
+ }, z.core.$strict>;
33774
+ teamRef: z.ZodOptional<z.ZodObject<{
33775
+ kind: z.ZodString;
33776
+ id: z.ZodString;
33777
+ ownerRepo: z.ZodString;
33778
+ }, z.core.$strict>>;
33779
+ }, z.core.$strict>>;
33780
+ }, z.core.$strict>>;
33781
+ normalizedPath: z.ZodOptional<z.ZodString>;
33782
+ routeClaim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
31723
33783
  kind: z.ZodEnum<{
31724
33784
  canonical: "canonical";
31725
33785
  alias: "alias";
@@ -31893,7 +33953,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
31893
33953
  required: z.ZodBoolean;
31894
33954
  }, z.core.$strict>>;
31895
33955
  }, z.core.$strict>;
31896
- }, z.core.$strict>]>;
33956
+ }, z.core.$strict>]>>;
31897
33957
  legacyRouteTakeoverAuthorization: z.ZodOptional<z.ZodObject<{
31898
33958
  contract: z.ZodLiteral<"LegacyRouteTakeoverAuthorization">;
31899
33959
  schemaVersion: z.ZodLiteral<1>;
@@ -32023,7 +34083,6 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
32023
34083
  contentHash: z.ZodString;
32024
34084
  }, z.core.$strict>>;
32025
34085
  }, z.core.$strict>;
32026
- schemaVersion: z.ZodLiteral<1>;
32027
34086
  releaseSlotId: z.ZodString;
32028
34087
  tenantScope: z.ZodObject<{
32029
34088
  tenantRef: z.ZodObject<{
@@ -33682,6 +35741,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
33682
35741
  contract: z.ZodLiteral<"WorkbenchRelease">;
33683
35742
  }, z.core.$strict>]>;
33684
35743
  bundle: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<{
35744
+ schemaVersion: 1 | 2;
33685
35745
  pageId: string;
33686
35746
  pageRevisionRef: {
33687
35747
  revision: number;
@@ -34671,6 +36731,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
34671
36731
  } | undefined;
34672
36732
  };
34673
36733
  parameters: Record<string, {
36734
+ kind: "page-parameter";
36735
+ name: string;
36736
+ } | {
34674
36737
  kind: "scope-field";
34675
36738
  path: string;
34676
36739
  } | {
@@ -35013,6 +37076,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
35013
37076
  } | undefined;
35014
37077
  };
35015
37078
  inputMapping: Record<string, {
37079
+ kind: "page-parameter";
37080
+ name: string;
37081
+ } | {
35016
37082
  kind: "scope-field";
35017
37083
  path: string;
35018
37084
  } | {
@@ -35448,7 +37514,6 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
35448
37514
  } | undefined;
35449
37515
  };
35450
37516
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
35451
- schemaVersion: 1;
35452
37517
  tenantScope: {
35453
37518
  tenantRef: {
35454
37519
  kind: string;
@@ -35674,37 +37739,249 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
35674
37739
  } | undefined;
35675
37740
  } | undefined;
35676
37741
  };
35677
- parameters: Record<string, {
35678
- kind: "scope-field";
35679
- path: string;
35680
- } | {
35681
- kind: "binding-field";
35682
- bindingId: string;
35683
- path: string;
35684
- } | {
35685
- kind: "constant";
35686
- value: string | number | boolean | null;
35687
- } | {
35688
- kind: "route-parameter";
35689
- name: string;
35690
- } | {
35691
- kind: "query-parameter";
35692
- name: string;
35693
- } | {
35694
- kind: "identity";
35695
- name: "tenantId" | "teamId" | "userId";
35696
- } | {
35697
- kind: "intent-field";
35698
- path: string;
35699
- } | {
35700
- kind: "page-state";
35701
- stateId: string;
35702
- }>;
35703
- target: {
35704
- capabilityInstanceId: string;
35705
- port: string;
35706
- };
35707
- renderModelSchemaRevisionRef: {
37742
+ parameters: Record<string, {
37743
+ kind: "page-parameter";
37744
+ name: string;
37745
+ } | {
37746
+ kind: "scope-field";
37747
+ path: string;
37748
+ } | {
37749
+ kind: "binding-field";
37750
+ bindingId: string;
37751
+ path: string;
37752
+ } | {
37753
+ kind: "constant";
37754
+ value: string | number | boolean | null;
37755
+ } | {
37756
+ kind: "route-parameter";
37757
+ name: string;
37758
+ } | {
37759
+ kind: "query-parameter";
37760
+ name: string;
37761
+ } | {
37762
+ kind: "identity";
37763
+ name: "tenantId" | "teamId" | "userId";
37764
+ } | {
37765
+ kind: "intent-field";
37766
+ path: string;
37767
+ } | {
37768
+ kind: "page-state";
37769
+ stateId: string;
37770
+ }>;
37771
+ target: {
37772
+ capabilityInstanceId: string;
37773
+ port: string;
37774
+ };
37775
+ renderModelSchemaRevisionRef: {
37776
+ revision: number;
37777
+ schemaVersion: number;
37778
+ contentHash: string;
37779
+ kind: string;
37780
+ id: string;
37781
+ ownerRepo: string;
37782
+ visibility: "tenant" | "public" | "global";
37783
+ tenantScope?: {
37784
+ tenantRef: {
37785
+ kind: string;
37786
+ id: string;
37787
+ ownerRepo: string;
37788
+ };
37789
+ dataSpaceRef: {
37790
+ kind: string;
37791
+ id: string;
37792
+ ownerRepo: string;
37793
+ };
37794
+ teamRef?: {
37795
+ kind: string;
37796
+ id: string;
37797
+ ownerRepo: string;
37798
+ } | undefined;
37799
+ } | undefined;
37800
+ };
37801
+ pagination: "offset" | "cursor" | "none";
37802
+ cache: "none" | "identity-scoped" | "tenant-scoped";
37803
+ cancelOnChange: boolean;
37804
+ cursorWindow?: {
37805
+ pageChangePort: string;
37806
+ pageChangeIntentSchemaRevisionRef: {
37807
+ revision: number;
37808
+ schemaVersion: number;
37809
+ contentHash: string;
37810
+ kind: string;
37811
+ id: string;
37812
+ ownerRepo: string;
37813
+ visibility: "tenant" | "public" | "global";
37814
+ tenantScope?: {
37815
+ tenantRef: {
37816
+ kind: string;
37817
+ id: string;
37818
+ ownerRepo: string;
37819
+ };
37820
+ dataSpaceRef: {
37821
+ kind: string;
37822
+ id: string;
37823
+ ownerRepo: string;
37824
+ };
37825
+ teamRef?: {
37826
+ kind: string;
37827
+ id: string;
37828
+ ownerRepo: string;
37829
+ } | undefined;
37830
+ } | undefined;
37831
+ };
37832
+ sourceCapabilityInstanceId?: string | undefined;
37833
+ } | undefined;
37834
+ }[];
37835
+ usage?: "both" | "route" | "embedded" | undefined;
37836
+ parametersSchemaRevisionRef?: {
37837
+ revision: number;
37838
+ schemaVersion: number;
37839
+ contentHash: string;
37840
+ kind: string;
37841
+ id: string;
37842
+ ownerRepo: string;
37843
+ visibility: "tenant" | "public" | "global";
37844
+ tenantScope?: {
37845
+ tenantRef: {
37846
+ kind: string;
37847
+ id: string;
37848
+ ownerRepo: string;
37849
+ };
37850
+ dataSpaceRef: {
37851
+ kind: string;
37852
+ id: string;
37853
+ ownerRepo: string;
37854
+ };
37855
+ teamRef?: {
37856
+ kind: string;
37857
+ id: string;
37858
+ ownerRepo: string;
37859
+ } | undefined;
37860
+ } | undefined;
37861
+ } | undefined;
37862
+ parameterBindings?: Record<string, {
37863
+ kind: "query-parameter";
37864
+ name: string;
37865
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
37866
+ } | {
37867
+ kind: "route-parameter";
37868
+ name: string;
37869
+ codec?: "string" | "boolean" | "integer" | undefined;
37870
+ } | {
37871
+ kind: "constant";
37872
+ value: string | number | boolean | null;
37873
+ } | {
37874
+ kind: "identity";
37875
+ name: "tenantId" | "teamId" | "userId";
37876
+ }> | undefined;
37877
+ outputs?: {
37878
+ name: string;
37879
+ nodeId: string;
37880
+ port: string;
37881
+ capabilityInstanceId: string;
37882
+ schemaRevisionRef: {
37883
+ revision: number;
37884
+ schemaVersion: number;
37885
+ contentHash: string;
37886
+ kind: string;
37887
+ id: string;
37888
+ ownerRepo: string;
37889
+ visibility: "tenant" | "public" | "global";
37890
+ tenantScope?: {
37891
+ tenantRef: {
37892
+ kind: string;
37893
+ id: string;
37894
+ ownerRepo: string;
37895
+ };
37896
+ dataSpaceRef: {
37897
+ kind: string;
37898
+ id: string;
37899
+ ownerRepo: string;
37900
+ };
37901
+ teamRef?: {
37902
+ kind: string;
37903
+ id: string;
37904
+ ownerRepo: string;
37905
+ } | undefined;
37906
+ } | undefined;
37907
+ };
37908
+ phase?: "success" | "intent" | undefined;
37909
+ }[] | undefined;
37910
+ mounts?: {
37911
+ mountId: string;
37912
+ target: {
37913
+ kind: "page";
37914
+ id: string;
37915
+ };
37916
+ slot: string;
37917
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
37918
+ inputs: Record<string, {
37919
+ kind: "page-parameter";
37920
+ name: string;
37921
+ } | {
37922
+ kind: "scope-field";
37923
+ path: string;
37924
+ } | {
37925
+ kind: "binding-field";
37926
+ bindingId: string;
37927
+ path: string;
37928
+ } | {
37929
+ kind: "constant";
37930
+ value: string | number | boolean | null;
37931
+ } | {
37932
+ kind: "route-parameter";
37933
+ name: string;
37934
+ } | {
37935
+ kind: "query-parameter";
37936
+ name: string;
37937
+ } | {
37938
+ kind: "identity";
37939
+ name: "tenantId" | "teamId" | "userId";
37940
+ } | {
37941
+ kind: "intent-field";
37942
+ path: string;
37943
+ } | {
37944
+ kind: "page-state";
37945
+ stateId: string;
37946
+ }>;
37947
+ on: Record<string, {
37948
+ kind: "close";
37949
+ } | {
37950
+ kind: "refresh";
37951
+ bindingIds: string[];
37952
+ } | {
37953
+ kind: "state";
37954
+ stateId: string;
37955
+ path: string[];
37956
+ }>;
37957
+ backgroundQueryPolicy: "always" | "when-active";
37958
+ targetRevisionRef: {
37959
+ revision: number;
37960
+ schemaVersion: number;
37961
+ contentHash: string;
37962
+ kind: string;
37963
+ id: string;
37964
+ ownerRepo: string;
37965
+ visibility: "tenant" | "public" | "global";
37966
+ tenantScope?: {
37967
+ tenantRef: {
37968
+ kind: string;
37969
+ id: string;
37970
+ ownerRepo: string;
37971
+ };
37972
+ dataSpaceRef: {
37973
+ kind: string;
37974
+ id: string;
37975
+ ownerRepo: string;
37976
+ };
37977
+ teamRef?: {
37978
+ kind: string;
37979
+ id: string;
37980
+ ownerRepo: string;
37981
+ } | undefined;
37982
+ } | undefined;
37983
+ };
37984
+ targetReleaseRevisionRef: {
35708
37985
  revision: number;
35709
37986
  schemaVersion: number;
35710
37987
  contentHash: string;
@@ -35730,12 +38007,89 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
35730
38007
  } | undefined;
35731
38008
  } | undefined;
35732
38009
  };
35733
- pagination: "offset" | "cursor" | "none";
35734
- cache: "none" | "identity-scoped" | "tenant-scoped";
35735
- cancelOnChange: boolean;
35736
- cursorWindow?: {
35737
- pageChangePort: string;
35738
- pageChangeIntentSchemaRevisionRef: {
38010
+ targetAccessPolicy: {
38011
+ authenticated: boolean;
38012
+ groupAllOf: {
38013
+ kind: string;
38014
+ id: string;
38015
+ ownerRepo: string;
38016
+ visibility: "tenant" | "public" | "global";
38017
+ tenantScope?: {
38018
+ tenantRef: {
38019
+ kind: string;
38020
+ id: string;
38021
+ ownerRepo: string;
38022
+ };
38023
+ dataSpaceRef: {
38024
+ kind: string;
38025
+ id: string;
38026
+ ownerRepo: string;
38027
+ };
38028
+ teamRef?: {
38029
+ kind: string;
38030
+ id: string;
38031
+ ownerRepo: string;
38032
+ } | undefined;
38033
+ } | undefined;
38034
+ }[];
38035
+ groupAnyOf: {
38036
+ kind: string;
38037
+ id: string;
38038
+ ownerRepo: string;
38039
+ visibility: "tenant" | "public" | "global";
38040
+ tenantScope?: {
38041
+ tenantRef: {
38042
+ kind: string;
38043
+ id: string;
38044
+ ownerRepo: string;
38045
+ };
38046
+ dataSpaceRef: {
38047
+ kind: string;
38048
+ id: string;
38049
+ ownerRepo: string;
38050
+ };
38051
+ teamRef?: {
38052
+ kind: string;
38053
+ id: string;
38054
+ ownerRepo: string;
38055
+ } | undefined;
38056
+ } | undefined;
38057
+ }[];
38058
+ permissionAllOf: string[];
38059
+ permissionAnyOf: string[];
38060
+ conditionAllOf: {
38061
+ revision: number;
38062
+ schemaVersion: number;
38063
+ contentHash: string;
38064
+ kind: string;
38065
+ id: string;
38066
+ ownerRepo: string;
38067
+ visibility: "tenant" | "public" | "global";
38068
+ tenantScope?: {
38069
+ tenantRef: {
38070
+ kind: string;
38071
+ id: string;
38072
+ ownerRepo: string;
38073
+ };
38074
+ dataSpaceRef: {
38075
+ kind: string;
38076
+ id: string;
38077
+ ownerRepo: string;
38078
+ };
38079
+ teamRef?: {
38080
+ kind: string;
38081
+ id: string;
38082
+ ownerRepo: string;
38083
+ } | undefined;
38084
+ } | undefined;
38085
+ }[];
38086
+ };
38087
+ outputs: {
38088
+ name: string;
38089
+ nodeId: string;
38090
+ port: string;
38091
+ capabilityInstanceId: string;
38092
+ schemaRevisionRef: {
35739
38093
  revision: number;
35740
38094
  schemaVersion: number;
35741
38095
  contentHash: string;
@@ -35761,9 +38115,47 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
35761
38115
  } | undefined;
35762
38116
  } | undefined;
35763
38117
  };
35764
- sourceCapabilityInstanceId?: string | undefined;
38118
+ phase?: "success" | "intent" | undefined;
38119
+ }[];
38120
+ instanceKey?: string[] | undefined;
38121
+ route?: {
38122
+ path: string;
38123
+ pathParameters: Record<string, string>;
38124
+ query: Record<string, {
38125
+ parameter: string;
38126
+ type: "string" | "boolean" | "json" | "integer";
38127
+ }>;
35765
38128
  } | undefined;
35766
- }[];
38129
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
38130
+ consumeStateIds?: string[] | undefined;
38131
+ parametersSchemaRevisionRef?: {
38132
+ revision: number;
38133
+ schemaVersion: number;
38134
+ contentHash: string;
38135
+ kind: string;
38136
+ id: string;
38137
+ ownerRepo: string;
38138
+ visibility: "tenant" | "public" | "global";
38139
+ tenantScope?: {
38140
+ tenantRef: {
38141
+ kind: string;
38142
+ id: string;
38143
+ ownerRepo: string;
38144
+ };
38145
+ dataSpaceRef: {
38146
+ kind: string;
38147
+ id: string;
38148
+ ownerRepo: string;
38149
+ };
38150
+ teamRef?: {
38151
+ kind: string;
38152
+ id: string;
38153
+ ownerRepo: string;
38154
+ } | undefined;
38155
+ } | undefined;
38156
+ } | undefined;
38157
+ }[] | undefined;
38158
+ stateRetention?: "mounted-while-child-active" | undefined;
35767
38159
  capabilityAccessEvaluated?: true | undefined;
35768
38160
  sharedStateBindings?: {
35769
38161
  bindingId: string;
@@ -36023,6 +38415,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36023
38415
  };
36024
38416
  bindingId: string;
36025
38417
  inputMapping: Record<string, {
38418
+ kind: "page-parameter";
38419
+ name: string;
38420
+ } | {
36026
38421
  kind: "scope-field";
36027
38422
  path: string;
36028
38423
  } | {
@@ -36052,6 +38447,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36052
38447
  expression: import("./page-expression").PageExpression;
36053
38448
  }>;
36054
38449
  dependencyInputs: Record<string, Record<string, {
38450
+ kind: "page-parameter";
38451
+ name: string;
38452
+ } | {
36055
38453
  kind: "scope-field";
36056
38454
  path: string;
36057
38455
  } | {
@@ -36194,6 +38592,7 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
36194
38592
  when?: import("./page-expression").PageExpression | undefined;
36195
38593
  }[] | undefined;
36196
38594
  } | import("./declarative-control").LegacyPageRuntimeBundle, unknown, z.core.$ZodTypeInternals<{
38595
+ schemaVersion: 1 | 2;
36197
38596
  pageId: string;
36198
38597
  pageRevisionRef: {
36199
38598
  revision: number;
@@ -37183,6 +39582,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
37183
39582
  } | undefined;
37184
39583
  };
37185
39584
  parameters: Record<string, {
39585
+ kind: "page-parameter";
39586
+ name: string;
39587
+ } | {
37186
39588
  kind: "scope-field";
37187
39589
  path: string;
37188
39590
  } | {
@@ -37525,6 +39927,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
37525
39927
  } | undefined;
37526
39928
  };
37527
39929
  inputMapping: Record<string, {
39930
+ kind: "page-parameter";
39931
+ name: string;
39932
+ } | {
37528
39933
  kind: "scope-field";
37529
39934
  path: string;
37530
39935
  } | {
@@ -37960,7 +40365,6 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
37960
40365
  } | undefined;
37961
40366
  };
37962
40367
  privacyClassification: "public" | "restricted" | "internal" | "confidential";
37963
- schemaVersion: 1;
37964
40368
  tenantScope: {
37965
40369
  tenantRef: {
37966
40370
  kind: string;
@@ -38134,33 +40538,199 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38134
40538
  } | undefined;
38135
40539
  } | undefined;
38136
40540
  };
38137
- viewRevisionRef: {
38138
- revision: number;
38139
- schemaVersion: number;
38140
- contentHash: string;
38141
- kind: string;
38142
- id: string;
38143
- ownerRepo: string;
38144
- visibility: "tenant" | "public" | "global";
38145
- tenantScope?: {
38146
- tenantRef: {
38147
- kind: string;
38148
- id: string;
38149
- ownerRepo: string;
38150
- };
38151
- dataSpaceRef: {
38152
- kind: string;
38153
- id: string;
38154
- ownerRepo: string;
38155
- };
38156
- teamRef?: {
38157
- kind: string;
38158
- id: string;
38159
- ownerRepo: string;
40541
+ viewRevisionRef: {
40542
+ revision: number;
40543
+ schemaVersion: number;
40544
+ contentHash: string;
40545
+ kind: string;
40546
+ id: string;
40547
+ ownerRepo: string;
40548
+ visibility: "tenant" | "public" | "global";
40549
+ tenantScope?: {
40550
+ tenantRef: {
40551
+ kind: string;
40552
+ id: string;
40553
+ ownerRepo: string;
40554
+ };
40555
+ dataSpaceRef: {
40556
+ kind: string;
40557
+ id: string;
40558
+ ownerRepo: string;
40559
+ };
40560
+ teamRef?: {
40561
+ kind: string;
40562
+ id: string;
40563
+ ownerRepo: string;
40564
+ } | undefined;
40565
+ } | undefined;
40566
+ };
40567
+ canonicalDataViewRevisionRef: {
40568
+ revision: number;
40569
+ schemaVersion: number;
40570
+ contentHash: string;
40571
+ kind: string;
40572
+ id: string;
40573
+ ownerRepo: string;
40574
+ visibility: "tenant" | "public" | "global";
40575
+ tenantScope?: {
40576
+ tenantRef: {
40577
+ kind: string;
40578
+ id: string;
40579
+ ownerRepo: string;
40580
+ };
40581
+ dataSpaceRef: {
40582
+ kind: string;
40583
+ id: string;
40584
+ ownerRepo: string;
40585
+ };
40586
+ teamRef?: {
40587
+ kind: string;
40588
+ id: string;
40589
+ ownerRepo: string;
40590
+ } | undefined;
40591
+ } | undefined;
40592
+ };
40593
+ parameters: Record<string, {
40594
+ kind: "page-parameter";
40595
+ name: string;
40596
+ } | {
40597
+ kind: "scope-field";
40598
+ path: string;
40599
+ } | {
40600
+ kind: "binding-field";
40601
+ bindingId: string;
40602
+ path: string;
40603
+ } | {
40604
+ kind: "constant";
40605
+ value: string | number | boolean | null;
40606
+ } | {
40607
+ kind: "route-parameter";
40608
+ name: string;
40609
+ } | {
40610
+ kind: "query-parameter";
40611
+ name: string;
40612
+ } | {
40613
+ kind: "identity";
40614
+ name: "tenantId" | "teamId" | "userId";
40615
+ } | {
40616
+ kind: "intent-field";
40617
+ path: string;
40618
+ } | {
40619
+ kind: "page-state";
40620
+ stateId: string;
40621
+ }>;
40622
+ target: {
40623
+ capabilityInstanceId: string;
40624
+ port: string;
40625
+ };
40626
+ renderModelSchemaRevisionRef: {
40627
+ revision: number;
40628
+ schemaVersion: number;
40629
+ contentHash: string;
40630
+ kind: string;
40631
+ id: string;
40632
+ ownerRepo: string;
40633
+ visibility: "tenant" | "public" | "global";
40634
+ tenantScope?: {
40635
+ tenantRef: {
40636
+ kind: string;
40637
+ id: string;
40638
+ ownerRepo: string;
40639
+ };
40640
+ dataSpaceRef: {
40641
+ kind: string;
40642
+ id: string;
40643
+ ownerRepo: string;
40644
+ };
40645
+ teamRef?: {
40646
+ kind: string;
40647
+ id: string;
40648
+ ownerRepo: string;
40649
+ } | undefined;
40650
+ } | undefined;
40651
+ };
40652
+ pagination: "offset" | "cursor" | "none";
40653
+ cache: "none" | "identity-scoped" | "tenant-scoped";
40654
+ cancelOnChange: boolean;
40655
+ cursorWindow?: {
40656
+ pageChangePort: string;
40657
+ pageChangeIntentSchemaRevisionRef: {
40658
+ revision: number;
40659
+ schemaVersion: number;
40660
+ contentHash: string;
40661
+ kind: string;
40662
+ id: string;
40663
+ ownerRepo: string;
40664
+ visibility: "tenant" | "public" | "global";
40665
+ tenantScope?: {
40666
+ tenantRef: {
40667
+ kind: string;
40668
+ id: string;
40669
+ ownerRepo: string;
40670
+ };
40671
+ dataSpaceRef: {
40672
+ kind: string;
40673
+ id: string;
40674
+ ownerRepo: string;
40675
+ };
40676
+ teamRef?: {
40677
+ kind: string;
40678
+ id: string;
40679
+ ownerRepo: string;
40680
+ } | undefined;
38160
40681
  } | undefined;
40682
+ };
40683
+ sourceCapabilityInstanceId?: string | undefined;
40684
+ } | undefined;
40685
+ }[];
40686
+ usage?: "both" | "route" | "embedded" | undefined;
40687
+ parametersSchemaRevisionRef?: {
40688
+ revision: number;
40689
+ schemaVersion: number;
40690
+ contentHash: string;
40691
+ kind: string;
40692
+ id: string;
40693
+ ownerRepo: string;
40694
+ visibility: "tenant" | "public" | "global";
40695
+ tenantScope?: {
40696
+ tenantRef: {
40697
+ kind: string;
40698
+ id: string;
40699
+ ownerRepo: string;
40700
+ };
40701
+ dataSpaceRef: {
40702
+ kind: string;
40703
+ id: string;
40704
+ ownerRepo: string;
40705
+ };
40706
+ teamRef?: {
40707
+ kind: string;
40708
+ id: string;
40709
+ ownerRepo: string;
38161
40710
  } | undefined;
38162
- };
38163
- canonicalDataViewRevisionRef: {
40711
+ } | undefined;
40712
+ } | undefined;
40713
+ parameterBindings?: Record<string, {
40714
+ kind: "query-parameter";
40715
+ name: string;
40716
+ codec?: "string" | "boolean" | "json" | "integer" | "page-state" | undefined;
40717
+ } | {
40718
+ kind: "route-parameter";
40719
+ name: string;
40720
+ codec?: "string" | "boolean" | "integer" | undefined;
40721
+ } | {
40722
+ kind: "constant";
40723
+ value: string | number | boolean | null;
40724
+ } | {
40725
+ kind: "identity";
40726
+ name: "tenantId" | "teamId" | "userId";
40727
+ }> | undefined;
40728
+ outputs?: {
40729
+ name: string;
40730
+ nodeId: string;
40731
+ port: string;
40732
+ capabilityInstanceId: string;
40733
+ schemaRevisionRef: {
38164
40734
  revision: number;
38165
40735
  schemaVersion: number;
38166
40736
  contentHash: string;
@@ -38186,7 +40756,20 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38186
40756
  } | undefined;
38187
40757
  } | undefined;
38188
40758
  };
38189
- parameters: Record<string, {
40759
+ phase?: "success" | "intent" | undefined;
40760
+ }[] | undefined;
40761
+ mounts?: {
40762
+ mountId: string;
40763
+ target: {
40764
+ kind: "page";
40765
+ id: string;
40766
+ };
40767
+ slot: string;
40768
+ presentation: "inline" | "fullscreen" | "panel" | "drawer" | "modal";
40769
+ inputs: Record<string, {
40770
+ kind: "page-parameter";
40771
+ name: string;
40772
+ } | {
38190
40773
  kind: "scope-field";
38191
40774
  path: string;
38192
40775
  } | {
@@ -38212,11 +40795,44 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38212
40795
  kind: "page-state";
38213
40796
  stateId: string;
38214
40797
  }>;
38215
- target: {
38216
- capabilityInstanceId: string;
38217
- port: string;
40798
+ on: Record<string, {
40799
+ kind: "close";
40800
+ } | {
40801
+ kind: "refresh";
40802
+ bindingIds: string[];
40803
+ } | {
40804
+ kind: "state";
40805
+ stateId: string;
40806
+ path: string[];
40807
+ }>;
40808
+ backgroundQueryPolicy: "always" | "when-active";
40809
+ targetRevisionRef: {
40810
+ revision: number;
40811
+ schemaVersion: number;
40812
+ contentHash: string;
40813
+ kind: string;
40814
+ id: string;
40815
+ ownerRepo: string;
40816
+ visibility: "tenant" | "public" | "global";
40817
+ tenantScope?: {
40818
+ tenantRef: {
40819
+ kind: string;
40820
+ id: string;
40821
+ ownerRepo: string;
40822
+ };
40823
+ dataSpaceRef: {
40824
+ kind: string;
40825
+ id: string;
40826
+ ownerRepo: string;
40827
+ };
40828
+ teamRef?: {
40829
+ kind: string;
40830
+ id: string;
40831
+ ownerRepo: string;
40832
+ } | undefined;
40833
+ } | undefined;
38218
40834
  };
38219
- renderModelSchemaRevisionRef: {
40835
+ targetReleaseRevisionRef: {
38220
40836
  revision: number;
38221
40837
  schemaVersion: number;
38222
40838
  contentHash: string;
@@ -38242,12 +40858,89 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38242
40858
  } | undefined;
38243
40859
  } | undefined;
38244
40860
  };
38245
- pagination: "offset" | "cursor" | "none";
38246
- cache: "none" | "identity-scoped" | "tenant-scoped";
38247
- cancelOnChange: boolean;
38248
- cursorWindow?: {
38249
- pageChangePort: string;
38250
- pageChangeIntentSchemaRevisionRef: {
40861
+ targetAccessPolicy: {
40862
+ authenticated: boolean;
40863
+ groupAllOf: {
40864
+ kind: string;
40865
+ id: string;
40866
+ ownerRepo: string;
40867
+ visibility: "tenant" | "public" | "global";
40868
+ tenantScope?: {
40869
+ tenantRef: {
40870
+ kind: string;
40871
+ id: string;
40872
+ ownerRepo: string;
40873
+ };
40874
+ dataSpaceRef: {
40875
+ kind: string;
40876
+ id: string;
40877
+ ownerRepo: string;
40878
+ };
40879
+ teamRef?: {
40880
+ kind: string;
40881
+ id: string;
40882
+ ownerRepo: string;
40883
+ } | undefined;
40884
+ } | undefined;
40885
+ }[];
40886
+ groupAnyOf: {
40887
+ kind: string;
40888
+ id: string;
40889
+ ownerRepo: string;
40890
+ visibility: "tenant" | "public" | "global";
40891
+ tenantScope?: {
40892
+ tenantRef: {
40893
+ kind: string;
40894
+ id: string;
40895
+ ownerRepo: string;
40896
+ };
40897
+ dataSpaceRef: {
40898
+ kind: string;
40899
+ id: string;
40900
+ ownerRepo: string;
40901
+ };
40902
+ teamRef?: {
40903
+ kind: string;
40904
+ id: string;
40905
+ ownerRepo: string;
40906
+ } | undefined;
40907
+ } | undefined;
40908
+ }[];
40909
+ permissionAllOf: string[];
40910
+ permissionAnyOf: string[];
40911
+ conditionAllOf: {
40912
+ revision: number;
40913
+ schemaVersion: number;
40914
+ contentHash: string;
40915
+ kind: string;
40916
+ id: string;
40917
+ ownerRepo: string;
40918
+ visibility: "tenant" | "public" | "global";
40919
+ tenantScope?: {
40920
+ tenantRef: {
40921
+ kind: string;
40922
+ id: string;
40923
+ ownerRepo: string;
40924
+ };
40925
+ dataSpaceRef: {
40926
+ kind: string;
40927
+ id: string;
40928
+ ownerRepo: string;
40929
+ };
40930
+ teamRef?: {
40931
+ kind: string;
40932
+ id: string;
40933
+ ownerRepo: string;
40934
+ } | undefined;
40935
+ } | undefined;
40936
+ }[];
40937
+ };
40938
+ outputs: {
40939
+ name: string;
40940
+ nodeId: string;
40941
+ port: string;
40942
+ capabilityInstanceId: string;
40943
+ schemaRevisionRef: {
38251
40944
  revision: number;
38252
40945
  schemaVersion: number;
38253
40946
  contentHash: string;
@@ -38273,9 +40966,47 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38273
40966
  } | undefined;
38274
40967
  } | undefined;
38275
40968
  };
38276
- sourceCapabilityInstanceId?: string | undefined;
40969
+ phase?: "success" | "intent" | undefined;
40970
+ }[];
40971
+ instanceKey?: string[] | undefined;
40972
+ route?: {
40973
+ path: string;
40974
+ pathParameters: Record<string, string>;
40975
+ query: Record<string, {
40976
+ parameter: string;
40977
+ type: "string" | "boolean" | "json" | "integer";
40978
+ }>;
38277
40979
  } | undefined;
38278
- }[];
40980
+ activeWhen?: import("./declarative-control").PageStateActivation | undefined;
40981
+ consumeStateIds?: string[] | undefined;
40982
+ parametersSchemaRevisionRef?: {
40983
+ revision: number;
40984
+ schemaVersion: number;
40985
+ contentHash: string;
40986
+ kind: string;
40987
+ id: string;
40988
+ ownerRepo: string;
40989
+ visibility: "tenant" | "public" | "global";
40990
+ tenantScope?: {
40991
+ tenantRef: {
40992
+ kind: string;
40993
+ id: string;
40994
+ ownerRepo: string;
40995
+ };
40996
+ dataSpaceRef: {
40997
+ kind: string;
40998
+ id: string;
40999
+ ownerRepo: string;
41000
+ };
41001
+ teamRef?: {
41002
+ kind: string;
41003
+ id: string;
41004
+ ownerRepo: string;
41005
+ } | undefined;
41006
+ } | undefined;
41007
+ } | undefined;
41008
+ }[] | undefined;
41009
+ stateRetention?: "mounted-while-child-active" | undefined;
38279
41010
  capabilityAccessEvaluated?: true | undefined;
38280
41011
  sharedStateBindings?: {
38281
41012
  bindingId: string;
@@ -38535,6 +41266,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38535
41266
  };
38536
41267
  bindingId: string;
38537
41268
  inputMapping: Record<string, {
41269
+ kind: "page-parameter";
41270
+ name: string;
41271
+ } | {
38538
41272
  kind: "scope-field";
38539
41273
  path: string;
38540
41274
  } | {
@@ -38564,6 +41298,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
38564
41298
  expression: import("./page-expression").PageExpression;
38565
41299
  }>;
38566
41300
  dependencyInputs: Record<string, Record<string, {
41301
+ kind: "page-parameter";
41302
+ name: string;
41303
+ } | {
38567
41304
  kind: "scope-field";
38568
41305
  path: string;
38569
41306
  } | {
@@ -39029,6 +41766,9 @@ export declare const DeclarativePublicationJobSchema: z.ZodObject<{
39029
41766
  }, z.core.$strict>>;
39030
41767
  }, z.core.$strict>;
39031
41768
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
41769
+ kind: z.ZodLiteral<"page-parameter">;
41770
+ name: z.ZodString;
41771
+ }, z.core.$strict>, z.ZodObject<{
39032
41772
  kind: z.ZodLiteral<"scope-field">;
39033
41773
  path: z.ZodString;
39034
41774
  }, z.core.$strict>, z.ZodObject<{