@inf-monkeys-tech/monkeys 1.1.52 → 1.1.54

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
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const DeclarativeImportDocumentSchema: z.ZodUnion<readonly [z.ZodObject<{
3
3
  contract: z.ZodLiteral<"Page">;
4
- schemaVersion: z.ZodLiteral<1>;
4
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
5
5
  pageId: z.ZodString;
6
6
  tenantScope: z.ZodObject<{
7
7
  tenantRef: z.ZodObject<{
@@ -35,7 +35,130 @@ export declare const DeclarativeImportDocumentSchema: z.ZodUnion<readonly [z.Zod
35
35
  studio: "studio";
36
36
  kernel: "kernel";
37
37
  }>;
38
- route: z.ZodString;
38
+ route: z.ZodOptional<z.ZodString>;
39
+ usage: z.ZodOptional<z.ZodEnum<{
40
+ both: "both";
41
+ route: "route";
42
+ embedded: "embedded";
43
+ }>>;
44
+ parametersSchema: z.ZodOptional<z.ZodString>;
45
+ parameterBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
46
+ kind: z.ZodLiteral<"query-parameter">;
47
+ name: z.ZodString;
48
+ codec: z.ZodOptional<z.ZodEnum<{
49
+ string: "string";
50
+ boolean: "boolean";
51
+ json: "json";
52
+ integer: "integer";
53
+ "page-state": "page-state";
54
+ }>>;
55
+ }, z.core.$strict>, z.ZodObject<{
56
+ kind: z.ZodLiteral<"route-parameter">;
57
+ name: z.ZodString;
58
+ codec: z.ZodOptional<z.ZodEnum<{
59
+ string: "string";
60
+ boolean: "boolean";
61
+ integer: "integer";
62
+ }>>;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ kind: z.ZodLiteral<"constant">;
65
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ kind: z.ZodLiteral<"identity">;
68
+ name: z.ZodEnum<{
69
+ tenantId: "tenantId";
70
+ teamId: "teamId";
71
+ userId: "userId";
72
+ }>;
73
+ }, z.core.$strict>], "kind">>>;
74
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
75
+ name: z.ZodString;
76
+ nodeId: z.ZodString;
77
+ port: z.ZodString;
78
+ phase: z.ZodOptional<z.ZodEnum<{
79
+ success: "success";
80
+ intent: "intent";
81
+ }>>;
82
+ }, z.core.$strict>>>;
83
+ mounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
+ mountId: z.ZodString;
85
+ target: z.ZodObject<{
86
+ kind: z.ZodLiteral<"page">;
87
+ id: z.ZodString;
88
+ }, z.core.$strict>;
89
+ slot: z.ZodString;
90
+ presentation: z.ZodEnum<{
91
+ inline: "inline";
92
+ fullscreen: "fullscreen";
93
+ panel: "panel";
94
+ drawer: "drawer";
95
+ modal: "modal";
96
+ }>;
97
+ inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
98
+ kind: z.ZodLiteral<"page-parameter">;
99
+ name: z.ZodString;
100
+ }, z.core.$strict>, z.ZodObject<{
101
+ kind: z.ZodLiteral<"scope-field">;
102
+ path: z.ZodString;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ kind: z.ZodLiteral<"binding-field">;
105
+ bindingId: z.ZodString;
106
+ path: z.ZodString;
107
+ }, z.core.$strict>, z.ZodObject<{
108
+ kind: z.ZodLiteral<"constant">;
109
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
110
+ }, z.core.$strict>, z.ZodObject<{
111
+ kind: z.ZodLiteral<"route-parameter">;
112
+ name: z.ZodString;
113
+ }, z.core.$strict>, z.ZodObject<{
114
+ kind: z.ZodLiteral<"query-parameter">;
115
+ name: z.ZodString;
116
+ }, z.core.$strict>, z.ZodObject<{
117
+ kind: z.ZodLiteral<"identity">;
118
+ name: z.ZodEnum<{
119
+ tenantId: "tenantId";
120
+ teamId: "teamId";
121
+ userId: "userId";
122
+ }>;
123
+ }, z.core.$strict>, z.ZodObject<{
124
+ kind: z.ZodLiteral<"intent-field">;
125
+ path: z.ZodString;
126
+ }, z.core.$strict>, z.ZodObject<{
127
+ kind: z.ZodLiteral<"page-state">;
128
+ stateId: z.ZodString;
129
+ }, z.core.$strict>], "kind">>;
130
+ instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
+ route: z.ZodOptional<z.ZodObject<{
132
+ path: z.ZodString;
133
+ pathParameters: z.ZodRecord<z.ZodString, z.ZodString>;
134
+ query: z.ZodRecord<z.ZodString, z.ZodObject<{
135
+ parameter: z.ZodString;
136
+ type: z.ZodEnum<{
137
+ string: "string";
138
+ boolean: "boolean";
139
+ json: "json";
140
+ integer: "integer";
141
+ }>;
142
+ }, z.core.$strict>>;
143
+ }, z.core.$strict>>;
144
+ activeWhen: z.ZodOptional<z.ZodType<import("./declarative-control").PageStateActivation, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageStateActivation, unknown>>>;
145
+ consumeStateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ on: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
147
+ kind: z.ZodLiteral<"close">;
148
+ }, z.core.$strict>, z.ZodObject<{
149
+ kind: z.ZodLiteral<"refresh">;
150
+ bindingIds: z.ZodArray<z.ZodString>;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ kind: z.ZodLiteral<"state">;
153
+ stateId: z.ZodString;
154
+ path: z.ZodArray<z.ZodString>;
155
+ }, z.core.$strict>], "kind">>;
156
+ backgroundQueryPolicy: z.ZodDefault<z.ZodEnum<{
157
+ always: "always";
158
+ "when-active": "when-active";
159
+ }>>;
160
+ }, z.core.$strict>>>;
161
+ stateRetention: z.ZodOptional<z.ZodLiteral<"mounted-while-child-active">>;
39
162
  routeSpace: z.ZodOptional<z.ZodString>;
40
163
  lifecycle: z.ZodDefault<z.ZodEnum<{
41
164
  deprecated: "deprecated";
@@ -1027,6 +1150,9 @@ export declare const DeclarativeImportDocumentSchema: z.ZodUnion<readonly [z.Zod
1027
1150
  }, z.core.$strict>>;
1028
1151
  }, z.core.$strict>;
1029
1152
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1153
+ kind: z.ZodLiteral<"page-parameter">;
1154
+ name: z.ZodString;
1155
+ }, z.core.$strict>, z.ZodObject<{
1030
1156
  kind: z.ZodLiteral<"scope-field">;
1031
1157
  path: z.ZodString;
1032
1158
  }, z.core.$strict>, z.ZodObject<{
@@ -1805,7 +1931,7 @@ export declare const DeclarativeImportDocumentSchema: z.ZodUnion<readonly [z.Zod
1805
1931
  export declare const DeclarativeDocumentImportRequestSchema: z.ZodObject<{
1806
1932
  document: z.ZodUnion<readonly [z.ZodObject<{
1807
1933
  contract: z.ZodLiteral<"Page">;
1808
- schemaVersion: z.ZodLiteral<1>;
1934
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
1809
1935
  pageId: z.ZodString;
1810
1936
  tenantScope: z.ZodObject<{
1811
1937
  tenantRef: z.ZodObject<{
@@ -1839,7 +1965,130 @@ export declare const DeclarativeDocumentImportRequestSchema: z.ZodObject<{
1839
1965
  studio: "studio";
1840
1966
  kernel: "kernel";
1841
1967
  }>;
1842
- route: z.ZodString;
1968
+ route: z.ZodOptional<z.ZodString>;
1969
+ usage: z.ZodOptional<z.ZodEnum<{
1970
+ both: "both";
1971
+ route: "route";
1972
+ embedded: "embedded";
1973
+ }>>;
1974
+ parametersSchema: z.ZodOptional<z.ZodString>;
1975
+ parameterBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1976
+ kind: z.ZodLiteral<"query-parameter">;
1977
+ name: z.ZodString;
1978
+ codec: z.ZodOptional<z.ZodEnum<{
1979
+ string: "string";
1980
+ boolean: "boolean";
1981
+ json: "json";
1982
+ integer: "integer";
1983
+ "page-state": "page-state";
1984
+ }>>;
1985
+ }, z.core.$strict>, z.ZodObject<{
1986
+ kind: z.ZodLiteral<"route-parameter">;
1987
+ name: z.ZodString;
1988
+ codec: z.ZodOptional<z.ZodEnum<{
1989
+ string: "string";
1990
+ boolean: "boolean";
1991
+ integer: "integer";
1992
+ }>>;
1993
+ }, z.core.$strict>, z.ZodObject<{
1994
+ kind: z.ZodLiteral<"constant">;
1995
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1996
+ }, z.core.$strict>, z.ZodObject<{
1997
+ kind: z.ZodLiteral<"identity">;
1998
+ name: z.ZodEnum<{
1999
+ tenantId: "tenantId";
2000
+ teamId: "teamId";
2001
+ userId: "userId";
2002
+ }>;
2003
+ }, z.core.$strict>], "kind">>>;
2004
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2005
+ name: z.ZodString;
2006
+ nodeId: z.ZodString;
2007
+ port: z.ZodString;
2008
+ phase: z.ZodOptional<z.ZodEnum<{
2009
+ success: "success";
2010
+ intent: "intent";
2011
+ }>>;
2012
+ }, z.core.$strict>>>;
2013
+ mounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2014
+ mountId: z.ZodString;
2015
+ target: z.ZodObject<{
2016
+ kind: z.ZodLiteral<"page">;
2017
+ id: z.ZodString;
2018
+ }, z.core.$strict>;
2019
+ slot: z.ZodString;
2020
+ presentation: z.ZodEnum<{
2021
+ inline: "inline";
2022
+ fullscreen: "fullscreen";
2023
+ panel: "panel";
2024
+ drawer: "drawer";
2025
+ modal: "modal";
2026
+ }>;
2027
+ inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2028
+ kind: z.ZodLiteral<"page-parameter">;
2029
+ name: z.ZodString;
2030
+ }, z.core.$strict>, z.ZodObject<{
2031
+ kind: z.ZodLiteral<"scope-field">;
2032
+ path: z.ZodString;
2033
+ }, z.core.$strict>, z.ZodObject<{
2034
+ kind: z.ZodLiteral<"binding-field">;
2035
+ bindingId: z.ZodString;
2036
+ path: z.ZodString;
2037
+ }, z.core.$strict>, z.ZodObject<{
2038
+ kind: z.ZodLiteral<"constant">;
2039
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
2040
+ }, z.core.$strict>, z.ZodObject<{
2041
+ kind: z.ZodLiteral<"route-parameter">;
2042
+ name: z.ZodString;
2043
+ }, z.core.$strict>, z.ZodObject<{
2044
+ kind: z.ZodLiteral<"query-parameter">;
2045
+ name: z.ZodString;
2046
+ }, z.core.$strict>, z.ZodObject<{
2047
+ kind: z.ZodLiteral<"identity">;
2048
+ name: z.ZodEnum<{
2049
+ tenantId: "tenantId";
2050
+ teamId: "teamId";
2051
+ userId: "userId";
2052
+ }>;
2053
+ }, z.core.$strict>, z.ZodObject<{
2054
+ kind: z.ZodLiteral<"intent-field">;
2055
+ path: z.ZodString;
2056
+ }, z.core.$strict>, z.ZodObject<{
2057
+ kind: z.ZodLiteral<"page-state">;
2058
+ stateId: z.ZodString;
2059
+ }, z.core.$strict>], "kind">>;
2060
+ instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
2061
+ route: z.ZodOptional<z.ZodObject<{
2062
+ path: z.ZodString;
2063
+ pathParameters: z.ZodRecord<z.ZodString, z.ZodString>;
2064
+ query: z.ZodRecord<z.ZodString, z.ZodObject<{
2065
+ parameter: z.ZodString;
2066
+ type: z.ZodEnum<{
2067
+ string: "string";
2068
+ boolean: "boolean";
2069
+ json: "json";
2070
+ integer: "integer";
2071
+ }>;
2072
+ }, z.core.$strict>>;
2073
+ }, z.core.$strict>>;
2074
+ activeWhen: z.ZodOptional<z.ZodType<import("./declarative-control").PageStateActivation, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageStateActivation, unknown>>>;
2075
+ consumeStateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2076
+ on: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2077
+ kind: z.ZodLiteral<"close">;
2078
+ }, z.core.$strict>, z.ZodObject<{
2079
+ kind: z.ZodLiteral<"refresh">;
2080
+ bindingIds: z.ZodArray<z.ZodString>;
2081
+ }, z.core.$strict>, z.ZodObject<{
2082
+ kind: z.ZodLiteral<"state">;
2083
+ stateId: z.ZodString;
2084
+ path: z.ZodArray<z.ZodString>;
2085
+ }, z.core.$strict>], "kind">>;
2086
+ backgroundQueryPolicy: z.ZodDefault<z.ZodEnum<{
2087
+ always: "always";
2088
+ "when-active": "when-active";
2089
+ }>>;
2090
+ }, z.core.$strict>>>;
2091
+ stateRetention: z.ZodOptional<z.ZodLiteral<"mounted-while-child-active">>;
1843
2092
  routeSpace: z.ZodOptional<z.ZodString>;
1844
2093
  lifecycle: z.ZodDefault<z.ZodEnum<{
1845
2094
  deprecated: "deprecated";
@@ -2831,6 +3080,9 @@ export declare const DeclarativeDocumentImportRequestSchema: z.ZodObject<{
2831
3080
  }, z.core.$strict>>;
2832
3081
  }, z.core.$strict>;
2833
3082
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
3083
+ kind: z.ZodLiteral<"page-parameter">;
3084
+ name: z.ZodString;
3085
+ }, z.core.$strict>, z.ZodObject<{
2834
3086
  kind: z.ZodLiteral<"scope-field">;
2835
3087
  path: z.ZodString;
2836
3088
  }, z.core.$strict>, z.ZodObject<{
@@ -3618,7 +3870,7 @@ export declare const DeclarativeDocumentImportIntentSchema: z.ZodObject<{
3618
3870
  idempotencyKey: z.ZodString;
3619
3871
  document: z.ZodUnion<readonly [z.ZodObject<{
3620
3872
  contract: z.ZodLiteral<"Page">;
3621
- schemaVersion: z.ZodLiteral<1>;
3873
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
3622
3874
  pageId: z.ZodString;
3623
3875
  tenantScope: z.ZodObject<{
3624
3876
  tenantRef: z.ZodObject<{
@@ -3652,7 +3904,130 @@ export declare const DeclarativeDocumentImportIntentSchema: z.ZodObject<{
3652
3904
  studio: "studio";
3653
3905
  kernel: "kernel";
3654
3906
  }>;
3655
- route: z.ZodString;
3907
+ route: z.ZodOptional<z.ZodString>;
3908
+ usage: z.ZodOptional<z.ZodEnum<{
3909
+ both: "both";
3910
+ route: "route";
3911
+ embedded: "embedded";
3912
+ }>>;
3913
+ parametersSchema: z.ZodOptional<z.ZodString>;
3914
+ parameterBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
3915
+ kind: z.ZodLiteral<"query-parameter">;
3916
+ name: z.ZodString;
3917
+ codec: z.ZodOptional<z.ZodEnum<{
3918
+ string: "string";
3919
+ boolean: "boolean";
3920
+ json: "json";
3921
+ integer: "integer";
3922
+ "page-state": "page-state";
3923
+ }>>;
3924
+ }, z.core.$strict>, z.ZodObject<{
3925
+ kind: z.ZodLiteral<"route-parameter">;
3926
+ name: z.ZodString;
3927
+ codec: z.ZodOptional<z.ZodEnum<{
3928
+ string: "string";
3929
+ boolean: "boolean";
3930
+ integer: "integer";
3931
+ }>>;
3932
+ }, z.core.$strict>, z.ZodObject<{
3933
+ kind: z.ZodLiteral<"constant">;
3934
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3935
+ }, z.core.$strict>, z.ZodObject<{
3936
+ kind: z.ZodLiteral<"identity">;
3937
+ name: z.ZodEnum<{
3938
+ tenantId: "tenantId";
3939
+ teamId: "teamId";
3940
+ userId: "userId";
3941
+ }>;
3942
+ }, z.core.$strict>], "kind">>>;
3943
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3944
+ name: z.ZodString;
3945
+ nodeId: z.ZodString;
3946
+ port: z.ZodString;
3947
+ phase: z.ZodOptional<z.ZodEnum<{
3948
+ success: "success";
3949
+ intent: "intent";
3950
+ }>>;
3951
+ }, z.core.$strict>>>;
3952
+ mounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3953
+ mountId: z.ZodString;
3954
+ target: z.ZodObject<{
3955
+ kind: z.ZodLiteral<"page">;
3956
+ id: z.ZodString;
3957
+ }, z.core.$strict>;
3958
+ slot: z.ZodString;
3959
+ presentation: z.ZodEnum<{
3960
+ inline: "inline";
3961
+ fullscreen: "fullscreen";
3962
+ panel: "panel";
3963
+ drawer: "drawer";
3964
+ modal: "modal";
3965
+ }>;
3966
+ inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
3967
+ kind: z.ZodLiteral<"page-parameter">;
3968
+ name: z.ZodString;
3969
+ }, z.core.$strict>, z.ZodObject<{
3970
+ kind: z.ZodLiteral<"scope-field">;
3971
+ path: z.ZodString;
3972
+ }, z.core.$strict>, z.ZodObject<{
3973
+ kind: z.ZodLiteral<"binding-field">;
3974
+ bindingId: z.ZodString;
3975
+ path: z.ZodString;
3976
+ }, z.core.$strict>, z.ZodObject<{
3977
+ kind: z.ZodLiteral<"constant">;
3978
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3979
+ }, z.core.$strict>, z.ZodObject<{
3980
+ kind: z.ZodLiteral<"route-parameter">;
3981
+ name: z.ZodString;
3982
+ }, z.core.$strict>, z.ZodObject<{
3983
+ kind: z.ZodLiteral<"query-parameter">;
3984
+ name: z.ZodString;
3985
+ }, z.core.$strict>, z.ZodObject<{
3986
+ kind: z.ZodLiteral<"identity">;
3987
+ name: z.ZodEnum<{
3988
+ tenantId: "tenantId";
3989
+ teamId: "teamId";
3990
+ userId: "userId";
3991
+ }>;
3992
+ }, z.core.$strict>, z.ZodObject<{
3993
+ kind: z.ZodLiteral<"intent-field">;
3994
+ path: z.ZodString;
3995
+ }, z.core.$strict>, z.ZodObject<{
3996
+ kind: z.ZodLiteral<"page-state">;
3997
+ stateId: z.ZodString;
3998
+ }, z.core.$strict>], "kind">>;
3999
+ instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
4000
+ route: z.ZodOptional<z.ZodObject<{
4001
+ path: z.ZodString;
4002
+ pathParameters: z.ZodRecord<z.ZodString, z.ZodString>;
4003
+ query: z.ZodRecord<z.ZodString, z.ZodObject<{
4004
+ parameter: z.ZodString;
4005
+ type: z.ZodEnum<{
4006
+ string: "string";
4007
+ boolean: "boolean";
4008
+ json: "json";
4009
+ integer: "integer";
4010
+ }>;
4011
+ }, z.core.$strict>>;
4012
+ }, z.core.$strict>>;
4013
+ activeWhen: z.ZodOptional<z.ZodType<import("./declarative-control").PageStateActivation, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageStateActivation, unknown>>>;
4014
+ consumeStateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4015
+ on: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
4016
+ kind: z.ZodLiteral<"close">;
4017
+ }, z.core.$strict>, z.ZodObject<{
4018
+ kind: z.ZodLiteral<"refresh">;
4019
+ bindingIds: z.ZodArray<z.ZodString>;
4020
+ }, z.core.$strict>, z.ZodObject<{
4021
+ kind: z.ZodLiteral<"state">;
4022
+ stateId: z.ZodString;
4023
+ path: z.ZodArray<z.ZodString>;
4024
+ }, z.core.$strict>], "kind">>;
4025
+ backgroundQueryPolicy: z.ZodDefault<z.ZodEnum<{
4026
+ always: "always";
4027
+ "when-active": "when-active";
4028
+ }>>;
4029
+ }, z.core.$strict>>>;
4030
+ stateRetention: z.ZodOptional<z.ZodLiteral<"mounted-while-child-active">>;
3656
4031
  routeSpace: z.ZodOptional<z.ZodString>;
3657
4032
  lifecycle: z.ZodDefault<z.ZodEnum<{
3658
4033
  deprecated: "deprecated";
@@ -4644,6 +5019,9 @@ export declare const DeclarativeDocumentImportIntentSchema: z.ZodObject<{
4644
5019
  }, z.core.$strict>>;
4645
5020
  }, z.core.$strict>;
4646
5021
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5022
+ kind: z.ZodLiteral<"page-parameter">;
5023
+ name: z.ZodString;
5024
+ }, z.core.$strict>, z.ZodObject<{
4647
5025
  kind: z.ZodLiteral<"scope-field">;
4648
5026
  path: z.ZodString;
4649
5027
  }, z.core.$strict>, z.ZodObject<{
@@ -5505,7 +5883,7 @@ export declare const DeclarativeDocumentImportPlanSchema: z.ZodObject<{
5505
5883
  }, z.core.$strict>;
5506
5884
  document: z.ZodUnion<readonly [z.ZodObject<{
5507
5885
  contract: z.ZodLiteral<"Page">;
5508
- schemaVersion: z.ZodLiteral<1>;
5886
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
5509
5887
  pageId: z.ZodString;
5510
5888
  tenantScope: z.ZodObject<{
5511
5889
  tenantRef: z.ZodObject<{
@@ -5539,7 +5917,130 @@ export declare const DeclarativeDocumentImportPlanSchema: z.ZodObject<{
5539
5917
  studio: "studio";
5540
5918
  kernel: "kernel";
5541
5919
  }>;
5542
- route: z.ZodString;
5920
+ route: z.ZodOptional<z.ZodString>;
5921
+ usage: z.ZodOptional<z.ZodEnum<{
5922
+ both: "both";
5923
+ route: "route";
5924
+ embedded: "embedded";
5925
+ }>>;
5926
+ parametersSchema: z.ZodOptional<z.ZodString>;
5927
+ parameterBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5928
+ kind: z.ZodLiteral<"query-parameter">;
5929
+ name: z.ZodString;
5930
+ codec: z.ZodOptional<z.ZodEnum<{
5931
+ string: "string";
5932
+ boolean: "boolean";
5933
+ json: "json";
5934
+ integer: "integer";
5935
+ "page-state": "page-state";
5936
+ }>>;
5937
+ }, z.core.$strict>, z.ZodObject<{
5938
+ kind: z.ZodLiteral<"route-parameter">;
5939
+ name: z.ZodString;
5940
+ codec: z.ZodOptional<z.ZodEnum<{
5941
+ string: "string";
5942
+ boolean: "boolean";
5943
+ integer: "integer";
5944
+ }>>;
5945
+ }, z.core.$strict>, z.ZodObject<{
5946
+ kind: z.ZodLiteral<"constant">;
5947
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5948
+ }, z.core.$strict>, z.ZodObject<{
5949
+ kind: z.ZodLiteral<"identity">;
5950
+ name: z.ZodEnum<{
5951
+ tenantId: "tenantId";
5952
+ teamId: "teamId";
5953
+ userId: "userId";
5954
+ }>;
5955
+ }, z.core.$strict>], "kind">>>;
5956
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
5957
+ name: z.ZodString;
5958
+ nodeId: z.ZodString;
5959
+ port: z.ZodString;
5960
+ phase: z.ZodOptional<z.ZodEnum<{
5961
+ success: "success";
5962
+ intent: "intent";
5963
+ }>>;
5964
+ }, z.core.$strict>>>;
5965
+ mounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
5966
+ mountId: z.ZodString;
5967
+ target: z.ZodObject<{
5968
+ kind: z.ZodLiteral<"page">;
5969
+ id: z.ZodString;
5970
+ }, z.core.$strict>;
5971
+ slot: z.ZodString;
5972
+ presentation: z.ZodEnum<{
5973
+ inline: "inline";
5974
+ fullscreen: "fullscreen";
5975
+ panel: "panel";
5976
+ drawer: "drawer";
5977
+ modal: "modal";
5978
+ }>;
5979
+ inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5980
+ kind: z.ZodLiteral<"page-parameter">;
5981
+ name: z.ZodString;
5982
+ }, z.core.$strict>, z.ZodObject<{
5983
+ kind: z.ZodLiteral<"scope-field">;
5984
+ path: z.ZodString;
5985
+ }, z.core.$strict>, z.ZodObject<{
5986
+ kind: z.ZodLiteral<"binding-field">;
5987
+ bindingId: z.ZodString;
5988
+ path: z.ZodString;
5989
+ }, z.core.$strict>, z.ZodObject<{
5990
+ kind: z.ZodLiteral<"constant">;
5991
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
5992
+ }, z.core.$strict>, z.ZodObject<{
5993
+ kind: z.ZodLiteral<"route-parameter">;
5994
+ name: z.ZodString;
5995
+ }, z.core.$strict>, z.ZodObject<{
5996
+ kind: z.ZodLiteral<"query-parameter">;
5997
+ name: z.ZodString;
5998
+ }, z.core.$strict>, z.ZodObject<{
5999
+ kind: z.ZodLiteral<"identity">;
6000
+ name: z.ZodEnum<{
6001
+ tenantId: "tenantId";
6002
+ teamId: "teamId";
6003
+ userId: "userId";
6004
+ }>;
6005
+ }, z.core.$strict>, z.ZodObject<{
6006
+ kind: z.ZodLiteral<"intent-field">;
6007
+ path: z.ZodString;
6008
+ }, z.core.$strict>, z.ZodObject<{
6009
+ kind: z.ZodLiteral<"page-state">;
6010
+ stateId: z.ZodString;
6011
+ }, z.core.$strict>], "kind">>;
6012
+ instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
6013
+ route: z.ZodOptional<z.ZodObject<{
6014
+ path: z.ZodString;
6015
+ pathParameters: z.ZodRecord<z.ZodString, z.ZodString>;
6016
+ query: z.ZodRecord<z.ZodString, z.ZodObject<{
6017
+ parameter: z.ZodString;
6018
+ type: z.ZodEnum<{
6019
+ string: "string";
6020
+ boolean: "boolean";
6021
+ json: "json";
6022
+ integer: "integer";
6023
+ }>;
6024
+ }, z.core.$strict>>;
6025
+ }, z.core.$strict>>;
6026
+ activeWhen: z.ZodOptional<z.ZodType<import("./declarative-control").PageStateActivation, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageStateActivation, unknown>>>;
6027
+ consumeStateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6028
+ on: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
6029
+ kind: z.ZodLiteral<"close">;
6030
+ }, z.core.$strict>, z.ZodObject<{
6031
+ kind: z.ZodLiteral<"refresh">;
6032
+ bindingIds: z.ZodArray<z.ZodString>;
6033
+ }, z.core.$strict>, z.ZodObject<{
6034
+ kind: z.ZodLiteral<"state">;
6035
+ stateId: z.ZodString;
6036
+ path: z.ZodArray<z.ZodString>;
6037
+ }, z.core.$strict>], "kind">>;
6038
+ backgroundQueryPolicy: z.ZodDefault<z.ZodEnum<{
6039
+ always: "always";
6040
+ "when-active": "when-active";
6041
+ }>>;
6042
+ }, z.core.$strict>>>;
6043
+ stateRetention: z.ZodOptional<z.ZodLiteral<"mounted-while-child-active">>;
5543
6044
  routeSpace: z.ZodOptional<z.ZodString>;
5544
6045
  lifecycle: z.ZodDefault<z.ZodEnum<{
5545
6046
  deprecated: "deprecated";
@@ -6531,6 +7032,9 @@ export declare const DeclarativeDocumentImportPlanSchema: z.ZodObject<{
6531
7032
  }, z.core.$strict>>;
6532
7033
  }, z.core.$strict>;
6533
7034
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7035
+ kind: z.ZodLiteral<"page-parameter">;
7036
+ name: z.ZodString;
7037
+ }, z.core.$strict>, z.ZodObject<{
6534
7038
  kind: z.ZodLiteral<"scope-field">;
6535
7039
  path: z.ZodString;
6536
7040
  }, z.core.$strict>, z.ZodObject<{
@@ -7397,7 +7901,7 @@ export declare const DeclarativeDocumentImportResultSchema: z.ZodObject<{
7397
7901
  }, z.core.$strict>;
7398
7902
  document: z.ZodUnion<readonly [z.ZodObject<{
7399
7903
  contract: z.ZodLiteral<"Page">;
7400
- schemaVersion: z.ZodLiteral<1>;
7904
+ schemaVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
7401
7905
  pageId: z.ZodString;
7402
7906
  tenantScope: z.ZodObject<{
7403
7907
  tenantRef: z.ZodObject<{
@@ -7431,7 +7935,130 @@ export declare const DeclarativeDocumentImportResultSchema: z.ZodObject<{
7431
7935
  studio: "studio";
7432
7936
  kernel: "kernel";
7433
7937
  }>;
7434
- route: z.ZodString;
7938
+ route: z.ZodOptional<z.ZodString>;
7939
+ usage: z.ZodOptional<z.ZodEnum<{
7940
+ both: "both";
7941
+ route: "route";
7942
+ embedded: "embedded";
7943
+ }>>;
7944
+ parametersSchema: z.ZodOptional<z.ZodString>;
7945
+ parameterBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7946
+ kind: z.ZodLiteral<"query-parameter">;
7947
+ name: z.ZodString;
7948
+ codec: z.ZodOptional<z.ZodEnum<{
7949
+ string: "string";
7950
+ boolean: "boolean";
7951
+ json: "json";
7952
+ integer: "integer";
7953
+ "page-state": "page-state";
7954
+ }>>;
7955
+ }, z.core.$strict>, z.ZodObject<{
7956
+ kind: z.ZodLiteral<"route-parameter">;
7957
+ name: z.ZodString;
7958
+ codec: z.ZodOptional<z.ZodEnum<{
7959
+ string: "string";
7960
+ boolean: "boolean";
7961
+ integer: "integer";
7962
+ }>>;
7963
+ }, z.core.$strict>, z.ZodObject<{
7964
+ kind: z.ZodLiteral<"constant">;
7965
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
7966
+ }, z.core.$strict>, z.ZodObject<{
7967
+ kind: z.ZodLiteral<"identity">;
7968
+ name: z.ZodEnum<{
7969
+ tenantId: "tenantId";
7970
+ teamId: "teamId";
7971
+ userId: "userId";
7972
+ }>;
7973
+ }, z.core.$strict>], "kind">>>;
7974
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
7975
+ name: z.ZodString;
7976
+ nodeId: z.ZodString;
7977
+ port: z.ZodString;
7978
+ phase: z.ZodOptional<z.ZodEnum<{
7979
+ success: "success";
7980
+ intent: "intent";
7981
+ }>>;
7982
+ }, z.core.$strict>>>;
7983
+ mounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7984
+ mountId: z.ZodString;
7985
+ target: z.ZodObject<{
7986
+ kind: z.ZodLiteral<"page">;
7987
+ id: z.ZodString;
7988
+ }, z.core.$strict>;
7989
+ slot: z.ZodString;
7990
+ presentation: z.ZodEnum<{
7991
+ inline: "inline";
7992
+ fullscreen: "fullscreen";
7993
+ panel: "panel";
7994
+ drawer: "drawer";
7995
+ modal: "modal";
7996
+ }>;
7997
+ inputs: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
7998
+ kind: z.ZodLiteral<"page-parameter">;
7999
+ name: z.ZodString;
8000
+ }, z.core.$strict>, z.ZodObject<{
8001
+ kind: z.ZodLiteral<"scope-field">;
8002
+ path: z.ZodString;
8003
+ }, z.core.$strict>, z.ZodObject<{
8004
+ kind: z.ZodLiteral<"binding-field">;
8005
+ bindingId: z.ZodString;
8006
+ path: z.ZodString;
8007
+ }, z.core.$strict>, z.ZodObject<{
8008
+ kind: z.ZodLiteral<"constant">;
8009
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8010
+ }, z.core.$strict>, z.ZodObject<{
8011
+ kind: z.ZodLiteral<"route-parameter">;
8012
+ name: z.ZodString;
8013
+ }, z.core.$strict>, z.ZodObject<{
8014
+ kind: z.ZodLiteral<"query-parameter">;
8015
+ name: z.ZodString;
8016
+ }, z.core.$strict>, z.ZodObject<{
8017
+ kind: z.ZodLiteral<"identity">;
8018
+ name: z.ZodEnum<{
8019
+ tenantId: "tenantId";
8020
+ teamId: "teamId";
8021
+ userId: "userId";
8022
+ }>;
8023
+ }, z.core.$strict>, z.ZodObject<{
8024
+ kind: z.ZodLiteral<"intent-field">;
8025
+ path: z.ZodString;
8026
+ }, z.core.$strict>, z.ZodObject<{
8027
+ kind: z.ZodLiteral<"page-state">;
8028
+ stateId: z.ZodString;
8029
+ }, z.core.$strict>], "kind">>;
8030
+ instanceKey: z.ZodOptional<z.ZodArray<z.ZodString>>;
8031
+ route: z.ZodOptional<z.ZodObject<{
8032
+ path: z.ZodString;
8033
+ pathParameters: z.ZodRecord<z.ZodString, z.ZodString>;
8034
+ query: z.ZodRecord<z.ZodString, z.ZodObject<{
8035
+ parameter: z.ZodString;
8036
+ type: z.ZodEnum<{
8037
+ string: "string";
8038
+ boolean: "boolean";
8039
+ json: "json";
8040
+ integer: "integer";
8041
+ }>;
8042
+ }, z.core.$strict>>;
8043
+ }, z.core.$strict>>;
8044
+ activeWhen: z.ZodOptional<z.ZodType<import("./declarative-control").PageStateActivation, unknown, z.core.$ZodTypeInternals<import("./declarative-control").PageStateActivation, unknown>>>;
8045
+ consumeStateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
8046
+ on: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
8047
+ kind: z.ZodLiteral<"close">;
8048
+ }, z.core.$strict>, z.ZodObject<{
8049
+ kind: z.ZodLiteral<"refresh">;
8050
+ bindingIds: z.ZodArray<z.ZodString>;
8051
+ }, z.core.$strict>, z.ZodObject<{
8052
+ kind: z.ZodLiteral<"state">;
8053
+ stateId: z.ZodString;
8054
+ path: z.ZodArray<z.ZodString>;
8055
+ }, z.core.$strict>], "kind">>;
8056
+ backgroundQueryPolicy: z.ZodDefault<z.ZodEnum<{
8057
+ always: "always";
8058
+ "when-active": "when-active";
8059
+ }>>;
8060
+ }, z.core.$strict>>>;
8061
+ stateRetention: z.ZodOptional<z.ZodLiteral<"mounted-while-child-active">>;
7435
8062
  routeSpace: z.ZodOptional<z.ZodString>;
7436
8063
  lifecycle: z.ZodDefault<z.ZodEnum<{
7437
8064
  deprecated: "deprecated";
@@ -8423,6 +9050,9 @@ export declare const DeclarativeDocumentImportResultSchema: z.ZodObject<{
8423
9050
  }, z.core.$strict>>;
8424
9051
  }, z.core.$strict>;
8425
9052
  parameterMapping: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
9053
+ kind: z.ZodLiteral<"page-parameter">;
9054
+ name: z.ZodString;
9055
+ }, z.core.$strict>, z.ZodObject<{
8426
9056
  kind: z.ZodLiteral<"scope-field">;
8427
9057
  path: z.ZodString;
8428
9058
  }, z.core.$strict>, z.ZodObject<{