@inf-monkeys-tech/monkeys 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/README.md +38 -0
  2. package/lib/contracts/artifact.d.ts +112 -0
  3. package/lib/contracts/artifact.d.ts.map +1 -0
  4. package/lib/contracts/artifact.js +60 -0
  5. package/lib/contracts/artifact.js.map +1 -0
  6. package/lib/contracts/capability.d.ts +347 -0
  7. package/lib/contracts/capability.d.ts.map +1 -0
  8. package/lib/contracts/capability.js +135 -0
  9. package/lib/contracts/capability.js.map +1 -0
  10. package/lib/contracts/common.d.ts +32 -0
  11. package/lib/contracts/common.d.ts.map +1 -0
  12. package/lib/contracts/common.js +46 -0
  13. package/lib/contracts/common.js.map +1 -0
  14. package/lib/contracts/context.d.ts +213 -0
  15. package/lib/contracts/context.d.ts.map +1 -0
  16. package/lib/contracts/context.js +96 -0
  17. package/lib/contracts/context.js.map +1 -0
  18. package/lib/contracts/continuity.d.ts +142 -0
  19. package/lib/contracts/continuity.d.ts.map +1 -0
  20. package/lib/contracts/continuity.js +66 -0
  21. package/lib/contracts/continuity.js.map +1 -0
  22. package/lib/contracts/data.d.ts +135 -0
  23. package/lib/contracts/data.d.ts.map +1 -0
  24. package/lib/contracts/data.js +85 -0
  25. package/lib/contracts/data.js.map +1 -0
  26. package/lib/contracts/dtcg-format.schema.json +1759 -0
  27. package/lib/contracts/index.d.ts +14 -0
  28. package/lib/contracts/index.d.ts.map +1 -0
  29. package/lib/contracts/index.js +30 -0
  30. package/lib/contracts/index.js.map +1 -0
  31. package/lib/contracts/page.d.ts +482 -0
  32. package/lib/contracts/page.d.ts.map +1 -0
  33. package/lib/contracts/page.js +307 -0
  34. package/lib/contracts/page.js.map +1 -0
  35. package/lib/contracts/render.d.ts +1032 -0
  36. package/lib/contracts/render.d.ts.map +1 -0
  37. package/lib/contracts/render.js +386 -0
  38. package/lib/contracts/render.js.map +1 -0
  39. package/lib/contracts/semantic.d.ts +477 -0
  40. package/lib/contracts/semantic.d.ts.map +1 -0
  41. package/lib/contracts/semantic.js +111 -0
  42. package/lib/contracts/semantic.js.map +1 -0
  43. package/lib/contracts/tenant.d.ts +2495 -0
  44. package/lib/contracts/tenant.d.ts.map +1 -0
  45. package/lib/contracts/tenant.js +573 -0
  46. package/lib/contracts/tenant.js.map +1 -0
  47. package/lib/contracts/theme.d.ts +30 -0
  48. package/lib/contracts/theme.d.ts.map +1 -0
  49. package/lib/contracts/theme.js +55 -0
  50. package/lib/contracts/theme.js.map +1 -0
  51. package/lib/contracts/trend.d.ts +577 -0
  52. package/lib/contracts/trend.d.ts.map +1 -0
  53. package/lib/contracts/trend.js +276 -0
  54. package/lib/contracts/trend.js.map +1 -0
  55. package/lib/contracts/workflow-definition.d.ts +661 -0
  56. package/lib/contracts/workflow-definition.d.ts.map +1 -0
  57. package/lib/contracts/workflow-definition.js +337 -0
  58. package/lib/contracts/workflow-definition.js.map +1 -0
  59. package/lib/index.d.ts +7 -0
  60. package/lib/index.d.ts.map +1 -0
  61. package/lib/index.js +34 -0
  62. package/lib/index.js.map +1 -0
  63. package/lib/json-schema/agent-runtime-event.schema.json +104 -0
  64. package/lib/json-schema/application-handoff.schema.json +377 -0
  65. package/lib/json-schema/application-run.schema.json +302 -0
  66. package/lib/json-schema/artifact-manifest.schema.json +375 -0
  67. package/lib/json-schema/body-relation-record.schema.json +177 -0
  68. package/lib/json-schema/brand-body.schema.json +140 -0
  69. package/lib/json-schema/brand-genetics-profile.schema.json +169 -0
  70. package/lib/json-schema/capability-manifest.schema.json +412 -0
  71. package/lib/json-schema/capability-registry.schema.json +474 -0
  72. package/lib/json-schema/change-impact-graph.schema.json +274 -0
  73. package/lib/json-schema/completion-event.schema.json +321 -0
  74. package/lib/json-schema/completion-header.schema.json +276 -0
  75. package/lib/json-schema/concept-definition.schema.json +101 -0
  76. package/lib/json-schema/conductor-workflow-definition.schema.json +404 -0
  77. package/lib/json-schema/data-continuity-envelope.schema.json +269 -0
  78. package/lib/json-schema/domain-command-definition.schema.json +121 -0
  79. package/lib/json-schema/domain-command.schema.json +204 -0
  80. package/lib/json-schema/domain-event.schema.json +161 -0
  81. package/lib/json-schema/execution-link.schema.json +190 -0
  82. package/lib/json-schema/expiring-access-grant.schema.json +127 -0
  83. package/lib/json-schema/hotword-body.schema.json +186 -0
  84. package/lib/json-schema/index.json +56 -0
  85. package/lib/json-schema/lineage-record.schema.json +370 -0
  86. package/lib/json-schema/ontology-definition.schema.json +91 -0
  87. package/lib/json-schema/output-record.schema.json +157 -0
  88. package/lib/json-schema/overlay-node.schema.json +892 -0
  89. package/lib/json-schema/page-definition.schema.json +527 -0
  90. package/lib/json-schema/page-runtime-descriptor.schema.json +720 -0
  91. package/lib/json-schema/page-runtime-projection.schema.json +464 -0
  92. package/lib/json-schema/product-body.schema.json +178 -0
  93. package/lib/json-schema/product-declaration.schema.json +1410 -0
  94. package/lib/json-schema/projection-spec.schema.json +151 -0
  95. package/lib/json-schema/radar-action-record.schema.json +144 -0
  96. package/lib/json-schema/radar-analysis-run.schema.json +424 -0
  97. package/lib/json-schema/radar-opportunity-matrix.schema.json +155 -0
  98. package/lib/json-schema/radar-panorama.schema.json +235 -0
  99. package/lib/json-schema/radar-query-body.schema.json +101 -0
  100. package/lib/json-schema/radar-score-model-body.schema.json +88 -0
  101. package/lib/json-schema/radar-score-projection.schema.json +184 -0
  102. package/lib/json-schema/radar-selection.schema.json +134 -0
  103. package/lib/json-schema/radar-writeback-record.schema.json +124 -0
  104. package/lib/json-schema/render-node.schema.json +776 -0
  105. package/lib/json-schema/render-tree.schema.json +815 -0
  106. package/lib/json-schema/request-scope.schema.json +193 -0
  107. package/lib/json-schema/saved-radar-query.schema.json +123 -0
  108. package/lib/json-schema/tenant-product-config.schema.json +2720 -0
  109. package/lib/json-schema/tenant-runtime-config.schema.json +2654 -0
  110. package/lib/json-schema/theme-tokens.schema.json +1836 -0
  111. package/lib/json-schema/trend-ingest-run.schema.json +73 -0
  112. package/lib/json-schema/trend-metric-snapshot.schema.json +126 -0
  113. package/lib/json-schema/trend-source-record.schema.json +206 -0
  114. package/lib/json-schema/view-provider-descriptor.schema.json +317 -0
  115. package/lib/json-schema/workflow-definition.schema.json +2174 -0
  116. package/lib/runtime/capability-registry.d.ts +28 -0
  117. package/lib/runtime/capability-registry.d.ts.map +1 -0
  118. package/lib/runtime/capability-registry.js +147 -0
  119. package/lib/runtime/capability-registry.js.map +1 -0
  120. package/lib/runtime/declaration-compiler.d.ts +44 -0
  121. package/lib/runtime/declaration-compiler.d.ts.map +1 -0
  122. package/lib/runtime/declaration-compiler.js +323 -0
  123. package/lib/runtime/declaration-compiler.js.map +1 -0
  124. package/lib/runtime/index.d.ts +12 -0
  125. package/lib/runtime/index.d.ts.map +1 -0
  126. package/lib/runtime/index.js +28 -0
  127. package/lib/runtime/index.js.map +1 -0
  128. package/lib/runtime/page-compiler.d.ts +36 -0
  129. package/lib/runtime/page-compiler.d.ts.map +1 -0
  130. package/lib/runtime/page-compiler.js +220 -0
  131. package/lib/runtime/page-compiler.js.map +1 -0
  132. package/lib/runtime/product-runtime.d.ts +37 -0
  133. package/lib/runtime/product-runtime.d.ts.map +1 -0
  134. package/lib/runtime/product-runtime.js +80 -0
  135. package/lib/runtime/product-runtime.js.map +1 -0
  136. package/lib/runtime/render-tree-compiler.d.ts +11 -0
  137. package/lib/runtime/render-tree-compiler.d.ts.map +1 -0
  138. package/lib/runtime/render-tree-compiler.js +85 -0
  139. package/lib/runtime/render-tree-compiler.js.map +1 -0
  140. package/lib/runtime/tenant-config.d.ts +13 -0
  141. package/lib/runtime/tenant-config.d.ts.map +1 -0
  142. package/lib/runtime/tenant-config.js +31 -0
  143. package/lib/runtime/tenant-config.js.map +1 -0
  144. package/lib/runtime/tenant-runtime-bindings.d.ts +21 -0
  145. package/lib/runtime/tenant-runtime-bindings.d.ts.map +1 -0
  146. package/lib/runtime/tenant-runtime-bindings.js +50 -0
  147. package/lib/runtime/tenant-runtime-bindings.js.map +1 -0
  148. package/lib/runtime/theme-tokens.d.ts +2 -0
  149. package/lib/runtime/theme-tokens.d.ts.map +1 -0
  150. package/lib/runtime/theme-tokens.js +13 -0
  151. package/lib/runtime/theme-tokens.js.map +1 -0
  152. package/lib/runtime/view-provider-registry.d.ts +23 -0
  153. package/lib/runtime/view-provider-registry.d.ts.map +1 -0
  154. package/lib/runtime/view-provider-registry.js +150 -0
  155. package/lib/runtime/view-provider-registry.js.map +1 -0
  156. package/lib/runtime/view-render-model.d.ts +28 -0
  157. package/lib/runtime/view-render-model.d.ts.map +1 -0
  158. package/lib/runtime/view-render-model.js +125 -0
  159. package/lib/runtime/view-render-model.js.map +1 -0
  160. package/lib/runtime/workflow-compiler.d.ts +29 -0
  161. package/lib/runtime/workflow-compiler.d.ts.map +1 -0
  162. package/lib/runtime/workflow-compiler.js +100 -0
  163. package/lib/runtime/workflow-compiler.js.map +1 -0
  164. package/lib/schemas/index.d.ts +4461 -0
  165. package/lib/schemas/index.d.ts.map +1 -0
  166. package/lib/schemas/index.js +187 -0
  167. package/lib/schemas/index.js.map +1 -0
  168. package/lib/theme-tokens/core.d.ts +65 -0
  169. package/lib/theme-tokens/core.d.ts.map +1 -0
  170. package/lib/theme-tokens/core.js +490 -0
  171. package/lib/theme-tokens/core.js.map +1 -0
  172. package/lib/types/i18n.d.ts +19 -0
  173. package/lib/types/i18n.d.ts.map +1 -0
  174. package/lib/types/i18n.js +3 -0
  175. package/lib/types/i18n.js.map +1 -0
  176. package/lib/types/index.d.ts +4 -0
  177. package/lib/types/index.d.ts.map +1 -0
  178. package/lib/types/index.js +20 -0
  179. package/lib/types/index.js.map +1 -0
  180. package/lib/types/tool.d.ts +123 -0
  181. package/lib/types/tool.d.ts.map +1 -0
  182. package/lib/types/tool.js +20 -0
  183. package/lib/types/tool.js.map +1 -0
  184. package/lib/types/workflow.d.ts +80 -0
  185. package/lib/types/workflow.d.ts.map +1 -0
  186. package/lib/types/workflow.js +23 -0
  187. package/lib/types/workflow.js.map +1 -0
  188. package/package.json +58 -0
@@ -0,0 +1,14 @@
1
+ export * from './artifact';
2
+ export * from './capability';
3
+ export * from './common';
4
+ export * from './context';
5
+ export * from './continuity';
6
+ export * from './data';
7
+ export * from './page';
8
+ export * from './render';
9
+ export * from './semantic';
10
+ export * from './tenant';
11
+ export * from './theme';
12
+ export * from './trend';
13
+ export * from './workflow-definition';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./artifact"), exports);
18
+ __exportStar(require("./capability"), exports);
19
+ __exportStar(require("./common"), exports);
20
+ __exportStar(require("./context"), exports);
21
+ __exportStar(require("./continuity"), exports);
22
+ __exportStar(require("./data"), exports);
23
+ __exportStar(require("./page"), exports);
24
+ __exportStar(require("./render"), exports);
25
+ __exportStar(require("./semantic"), exports);
26
+ __exportStar(require("./tenant"), exports);
27
+ __exportStar(require("./theme"), exports);
28
+ __exportStar(require("./trend"), exports);
29
+ __exportStar(require("./workflow-definition"), exports);
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,wDAAsC"}
@@ -0,0 +1,482 @@
1
+ import { z } from 'zod';
2
+ export declare const PageTypeSchema: z.ZodEnum<{
3
+ "design-board": "design-board";
4
+ process: "process";
5
+ record: "record";
6
+ page: "page";
7
+ view: "view";
8
+ action: "action";
9
+ overlay: "overlay";
10
+ workspace: "workspace";
11
+ agent: "agent";
12
+ log: "log";
13
+ chat: "chat";
14
+ preview: "preview";
15
+ api: "api";
16
+ enhanced: "enhanced";
17
+ "agent-chat": "agent-chat";
18
+ "agent-config": "agent-config";
19
+ "agent-log": "agent-log";
20
+ "global-design-board": "global-design-board";
21
+ iframe: "iframe";
22
+ }>;
23
+ export declare const PageVisibilitySchema: z.ZodObject<{
24
+ authenticated: z.ZodDefault<z.ZodBoolean>;
25
+ permissionAllOf: z.ZodDefault<z.ZodArray<z.ZodString>>;
26
+ permissionAnyOf: z.ZodDefault<z.ZodArray<z.ZodString>>;
27
+ featureFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
28
+ productContexts: z.ZodArray<z.ZodEnum<{
29
+ studio: "studio";
30
+ kernel: "kernel";
31
+ compute: "compute";
32
+ }>>;
33
+ }, z.core.$strict>;
34
+ export declare const PageRoutePathSchema: z.ZodString;
35
+ export declare const PageDefinitionSchema: z.ZodObject<{
36
+ contract: z.ZodLiteral<"PageDefinition">;
37
+ pageId: z.ZodString;
38
+ ownerRepo: z.ZodString;
39
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
40
+ pageType: z.ZodEnum<{
41
+ "design-board": "design-board";
42
+ process: "process";
43
+ record: "record";
44
+ page: "page";
45
+ view: "view";
46
+ action: "action";
47
+ overlay: "overlay";
48
+ workspace: "workspace";
49
+ agent: "agent";
50
+ log: "log";
51
+ chat: "chat";
52
+ preview: "preview";
53
+ api: "api";
54
+ enhanced: "enhanced";
55
+ "agent-chat": "agent-chat";
56
+ "agent-config": "agent-config";
57
+ "agent-log": "agent-log";
58
+ "global-design-board": "global-design-board";
59
+ iframe: "iframe";
60
+ }>;
61
+ ownership: z.ZodObject<{
62
+ teamId: z.ZodOptional<z.ZodString>;
63
+ creatorRef: z.ZodOptional<z.ZodObject<{
64
+ kind: z.ZodString;
65
+ id: z.ZodString;
66
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
67
+ ownerRepo: z.ZodOptional<z.ZodString>;
68
+ }, z.core.$strict>>;
69
+ studioId: z.ZodOptional<z.ZodString>;
70
+ builtIn: z.ZodBoolean;
71
+ }, z.core.$strict>;
72
+ record: z.ZodObject<{
73
+ createdTimestamp: z.ZodOptional<z.ZodNumber>;
74
+ updatedTimestamp: z.ZodOptional<z.ZodNumber>;
75
+ deleted: z.ZodDefault<z.ZodBoolean>;
76
+ }, z.core.$strict>;
77
+ surface: z.ZodEnum<{
78
+ record: "record";
79
+ page: "page";
80
+ view: "view";
81
+ action: "action";
82
+ overlay: "overlay";
83
+ workspace: "workspace";
84
+ agent: "agent";
85
+ }>;
86
+ routeId: z.ZodString;
87
+ routePath: z.ZodString;
88
+ rendererKey: z.ZodString;
89
+ capabilityRef: z.ZodObject<{
90
+ kind: z.ZodString;
91
+ id: z.ZodString;
92
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
93
+ ownerRepo: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strict>;
95
+ capabilityRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ kind: z.ZodString;
97
+ id: z.ZodString;
98
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
99
+ ownerRepo: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strict>>>;
101
+ workflowRef: z.ZodOptional<z.ZodObject<{
102
+ kind: z.ZodString;
103
+ id: z.ZodString;
104
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
105
+ ownerRepo: z.ZodOptional<z.ZodString>;
106
+ }, z.core.$strict>>;
107
+ binding: z.ZodObject<{
108
+ sourceRef: z.ZodOptional<z.ZodString>;
109
+ ontologyId: z.ZodOptional<z.ZodString>;
110
+ projectionRef: z.ZodOptional<z.ZodString>;
111
+ stateRef: z.ZodOptional<z.ZodString>;
112
+ }, z.core.$strict>;
113
+ access: z.ZodObject<{
114
+ actions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
115
+ read: "read";
116
+ write: "write";
117
+ execute: "execute";
118
+ "manage-permissions": "manage-permissions";
119
+ }>>>;
120
+ }, z.core.$strict>;
121
+ rendererConfig: z.ZodObject<{
122
+ schemaRef: z.ZodString;
123
+ value: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
124
+ }, z.core.$strict>;
125
+ navigation: z.ZodObject<{
126
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
127
+ iconRef: z.ZodOptional<z.ZodString>;
128
+ parentPageId: z.ZodOptional<z.ZodString>;
129
+ order: z.ZodOptional<z.ZodNumber>;
130
+ hidden: z.ZodDefault<z.ZodBoolean>;
131
+ pinned: z.ZodDefault<z.ZodBoolean>;
132
+ }, z.core.$strict>;
133
+ visibility: z.ZodObject<{
134
+ authenticated: z.ZodDefault<z.ZodBoolean>;
135
+ permissionAllOf: z.ZodDefault<z.ZodArray<z.ZodString>>;
136
+ permissionAnyOf: z.ZodDefault<z.ZodArray<z.ZodString>>;
137
+ featureFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
138
+ productContexts: z.ZodArray<z.ZodEnum<{
139
+ studio: "studio";
140
+ kernel: "kernel";
141
+ compute: "compute";
142
+ }>>;
143
+ }, z.core.$strict>;
144
+ }, z.core.$strict>;
145
+ export declare const PageRuntimeDescriptorSchema: z.ZodObject<{
146
+ contract: z.ZodLiteral<"PageRuntimeDescriptor">;
147
+ page: z.ZodObject<{
148
+ contract: z.ZodLiteral<"PageDefinition">;
149
+ pageId: z.ZodString;
150
+ ownerRepo: z.ZodString;
151
+ title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
152
+ pageType: z.ZodEnum<{
153
+ "design-board": "design-board";
154
+ process: "process";
155
+ record: "record";
156
+ page: "page";
157
+ view: "view";
158
+ action: "action";
159
+ overlay: "overlay";
160
+ workspace: "workspace";
161
+ agent: "agent";
162
+ log: "log";
163
+ chat: "chat";
164
+ preview: "preview";
165
+ api: "api";
166
+ enhanced: "enhanced";
167
+ "agent-chat": "agent-chat";
168
+ "agent-config": "agent-config";
169
+ "agent-log": "agent-log";
170
+ "global-design-board": "global-design-board";
171
+ iframe: "iframe";
172
+ }>;
173
+ ownership: z.ZodObject<{
174
+ teamId: z.ZodOptional<z.ZodString>;
175
+ creatorRef: z.ZodOptional<z.ZodObject<{
176
+ kind: z.ZodString;
177
+ id: z.ZodString;
178
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
179
+ ownerRepo: z.ZodOptional<z.ZodString>;
180
+ }, z.core.$strict>>;
181
+ studioId: z.ZodOptional<z.ZodString>;
182
+ builtIn: z.ZodBoolean;
183
+ }, z.core.$strict>;
184
+ record: z.ZodObject<{
185
+ createdTimestamp: z.ZodOptional<z.ZodNumber>;
186
+ updatedTimestamp: z.ZodOptional<z.ZodNumber>;
187
+ deleted: z.ZodDefault<z.ZodBoolean>;
188
+ }, z.core.$strict>;
189
+ surface: z.ZodEnum<{
190
+ record: "record";
191
+ page: "page";
192
+ view: "view";
193
+ action: "action";
194
+ overlay: "overlay";
195
+ workspace: "workspace";
196
+ agent: "agent";
197
+ }>;
198
+ routeId: z.ZodString;
199
+ routePath: z.ZodString;
200
+ rendererKey: z.ZodString;
201
+ capabilityRef: z.ZodObject<{
202
+ kind: z.ZodString;
203
+ id: z.ZodString;
204
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
205
+ ownerRepo: z.ZodOptional<z.ZodString>;
206
+ }, z.core.$strict>;
207
+ capabilityRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
208
+ kind: z.ZodString;
209
+ id: z.ZodString;
210
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
211
+ ownerRepo: z.ZodOptional<z.ZodString>;
212
+ }, z.core.$strict>>>;
213
+ workflowRef: z.ZodOptional<z.ZodObject<{
214
+ kind: z.ZodString;
215
+ id: z.ZodString;
216
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
217
+ ownerRepo: z.ZodOptional<z.ZodString>;
218
+ }, z.core.$strict>>;
219
+ binding: z.ZodObject<{
220
+ sourceRef: z.ZodOptional<z.ZodString>;
221
+ ontologyId: z.ZodOptional<z.ZodString>;
222
+ projectionRef: z.ZodOptional<z.ZodString>;
223
+ stateRef: z.ZodOptional<z.ZodString>;
224
+ }, z.core.$strict>;
225
+ access: z.ZodObject<{
226
+ actions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
227
+ read: "read";
228
+ write: "write";
229
+ execute: "execute";
230
+ "manage-permissions": "manage-permissions";
231
+ }>>>;
232
+ }, z.core.$strict>;
233
+ rendererConfig: z.ZodObject<{
234
+ schemaRef: z.ZodString;
235
+ value: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
236
+ }, z.core.$strict>;
237
+ navigation: z.ZodObject<{
238
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
239
+ iconRef: z.ZodOptional<z.ZodString>;
240
+ parentPageId: z.ZodOptional<z.ZodString>;
241
+ order: z.ZodOptional<z.ZodNumber>;
242
+ hidden: z.ZodDefault<z.ZodBoolean>;
243
+ pinned: z.ZodDefault<z.ZodBoolean>;
244
+ }, z.core.$strict>;
245
+ visibility: z.ZodObject<{
246
+ authenticated: z.ZodDefault<z.ZodBoolean>;
247
+ permissionAllOf: z.ZodDefault<z.ZodArray<z.ZodString>>;
248
+ permissionAnyOf: z.ZodDefault<z.ZodArray<z.ZodString>>;
249
+ featureFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
250
+ productContexts: z.ZodArray<z.ZodEnum<{
251
+ studio: "studio";
252
+ kernel: "kernel";
253
+ compute: "compute";
254
+ }>>;
255
+ }, z.core.$strict>;
256
+ }, z.core.$strict>;
257
+ nodeId: z.ZodString;
258
+ parentNodeId: z.ZodOptional<z.ZodString>;
259
+ slot: z.ZodOptional<z.ZodString>;
260
+ semanticRef: z.ZodOptional<z.ZodString>;
261
+ dataContextRef: z.ZodOptional<z.ZodString>;
262
+ providerRef: z.ZodOptional<z.ZodObject<{
263
+ kind: z.ZodString;
264
+ id: z.ZodString;
265
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
266
+ ownerRepo: z.ZodOptional<z.ZodString>;
267
+ }, z.core.$strict>>;
268
+ surface: z.ZodObject<{
269
+ frameOwner: z.ZodString;
270
+ tone: z.ZodOptional<z.ZodString>;
271
+ density: z.ZodDefault<z.ZodEnum<{
272
+ default: "default";
273
+ compact: "compact";
274
+ comfortable: "comfortable";
275
+ }>>;
276
+ }, z.core.$strict>;
277
+ scroll: z.ZodObject<{
278
+ owner: z.ZodEnum<{
279
+ provider: "provider";
280
+ page: "page";
281
+ surface: "surface";
282
+ }>;
283
+ axis: z.ZodEnum<{
284
+ none: "none";
285
+ x: "x";
286
+ y: "y";
287
+ both: "both";
288
+ }>;
289
+ restoreKey: z.ZodOptional<z.ZodString>;
290
+ virtualized: z.ZodDefault<z.ZodBoolean>;
291
+ }, z.core.$strict>;
292
+ activation: z.ZodEnum<{
293
+ navigate: "navigate";
294
+ select: "select";
295
+ drawer: "drawer";
296
+ modal: "modal";
297
+ fullscreen: "fullscreen";
298
+ }>;
299
+ lifecycle: z.ZodObject<{
300
+ mountPolicy: z.ZodEnum<{
301
+ always: "always";
302
+ "when-visible": "when-visible";
303
+ "when-active": "when-active";
304
+ }>;
305
+ queryPolicy: z.ZodEnum<{
306
+ always: "always";
307
+ "when-visible": "when-visible";
308
+ "when-active": "when-active";
309
+ manual: "manual";
310
+ }>;
311
+ deepLink: z.ZodBoolean;
312
+ focusReturn: z.ZodBoolean;
313
+ }, z.core.$strict>;
314
+ }, z.core.$strict>;
315
+ export declare const PageRouteProjectionSchema: z.ZodObject<{
316
+ pageId: z.ZodString;
317
+ routeId: z.ZodString;
318
+ path: z.ZodString;
319
+ }, z.core.$strict>;
320
+ export declare const PageNavigationProjectionSchema: z.ZodObject<{
321
+ pageId: z.ZodString;
322
+ routeId: z.ZodString;
323
+ path: z.ZodString;
324
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
325
+ iconRef: z.ZodOptional<z.ZodString>;
326
+ parentPageId: z.ZodOptional<z.ZodString>;
327
+ order: z.ZodOptional<z.ZodNumber>;
328
+ pinned: z.ZodBoolean;
329
+ }, z.core.$strict>;
330
+ export declare const PageGuardProjectionSchema: z.ZodObject<{
331
+ pageId: z.ZodString;
332
+ authenticated: z.ZodBoolean;
333
+ permissionAllOf: z.ZodArray<z.ZodString>;
334
+ permissionAnyOf: z.ZodArray<z.ZodString>;
335
+ featureFlags: z.ZodArray<z.ZodString>;
336
+ actions: z.ZodArray<z.ZodEnum<{
337
+ read: "read";
338
+ write: "write";
339
+ execute: "execute";
340
+ "manage-permissions": "manage-permissions";
341
+ }>>;
342
+ }, z.core.$strict>;
343
+ export declare const PageRendererProjectionSchema: z.ZodObject<{
344
+ pageId: z.ZodString;
345
+ surface: z.ZodEnum<{
346
+ record: "record";
347
+ page: "page";
348
+ view: "view";
349
+ action: "action";
350
+ overlay: "overlay";
351
+ workspace: "workspace";
352
+ agent: "agent";
353
+ }>;
354
+ rendererKey: z.ZodString;
355
+ capabilityRef: z.ZodObject<{
356
+ kind: z.ZodString;
357
+ id: z.ZodString;
358
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
359
+ ownerRepo: z.ZodOptional<z.ZodString>;
360
+ }, z.core.$strict>;
361
+ capabilityRefs: z.ZodArray<z.ZodObject<{
362
+ kind: z.ZodString;
363
+ id: z.ZodString;
364
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
365
+ ownerRepo: z.ZodOptional<z.ZodString>;
366
+ }, z.core.$strict>>;
367
+ providerRef: z.ZodObject<{
368
+ kind: z.ZodString;
369
+ id: z.ZodString;
370
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
371
+ ownerRepo: z.ZodOptional<z.ZodString>;
372
+ }, z.core.$strict>;
373
+ binding: z.ZodObject<{
374
+ sourceRef: z.ZodOptional<z.ZodString>;
375
+ ontologyId: z.ZodOptional<z.ZodString>;
376
+ projectionRef: z.ZodOptional<z.ZodString>;
377
+ stateRef: z.ZodOptional<z.ZodString>;
378
+ }, z.core.$strict>;
379
+ rendererConfig: z.ZodObject<{
380
+ schemaRef: z.ZodString;
381
+ value: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
382
+ }, z.core.$strict>;
383
+ workflowRef: z.ZodOptional<z.ZodObject<{
384
+ kind: z.ZodString;
385
+ id: z.ZodString;
386
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
387
+ ownerRepo: z.ZodOptional<z.ZodString>;
388
+ }, z.core.$strict>>;
389
+ }, z.core.$strict>;
390
+ export declare const PageRuntimeProjectionSchema: z.ZodObject<{
391
+ contract: z.ZodLiteral<"PageRuntimeProjection">;
392
+ product: z.ZodEnum<{
393
+ studio: "studio";
394
+ kernel: "kernel";
395
+ compute: "compute";
396
+ }>;
397
+ routes: z.ZodArray<z.ZodObject<{
398
+ pageId: z.ZodString;
399
+ routeId: z.ZodString;
400
+ path: z.ZodString;
401
+ }, z.core.$strict>>;
402
+ navigation: z.ZodArray<z.ZodObject<{
403
+ pageId: z.ZodString;
404
+ routeId: z.ZodString;
405
+ path: z.ZodString;
406
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
407
+ iconRef: z.ZodOptional<z.ZodString>;
408
+ parentPageId: z.ZodOptional<z.ZodString>;
409
+ order: z.ZodOptional<z.ZodNumber>;
410
+ pinned: z.ZodBoolean;
411
+ }, z.core.$strict>>;
412
+ guards: z.ZodArray<z.ZodObject<{
413
+ pageId: z.ZodString;
414
+ authenticated: z.ZodBoolean;
415
+ permissionAllOf: z.ZodArray<z.ZodString>;
416
+ permissionAnyOf: z.ZodArray<z.ZodString>;
417
+ featureFlags: z.ZodArray<z.ZodString>;
418
+ actions: z.ZodArray<z.ZodEnum<{
419
+ read: "read";
420
+ write: "write";
421
+ execute: "execute";
422
+ "manage-permissions": "manage-permissions";
423
+ }>>;
424
+ }, z.core.$strict>>;
425
+ renderers: z.ZodArray<z.ZodObject<{
426
+ pageId: z.ZodString;
427
+ surface: z.ZodEnum<{
428
+ record: "record";
429
+ page: "page";
430
+ view: "view";
431
+ action: "action";
432
+ overlay: "overlay";
433
+ workspace: "workspace";
434
+ agent: "agent";
435
+ }>;
436
+ rendererKey: z.ZodString;
437
+ capabilityRef: z.ZodObject<{
438
+ kind: z.ZodString;
439
+ id: z.ZodString;
440
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
441
+ ownerRepo: z.ZodOptional<z.ZodString>;
442
+ }, z.core.$strict>;
443
+ capabilityRefs: z.ZodArray<z.ZodObject<{
444
+ kind: z.ZodString;
445
+ id: z.ZodString;
446
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
447
+ ownerRepo: z.ZodOptional<z.ZodString>;
448
+ }, z.core.$strict>>;
449
+ providerRef: z.ZodObject<{
450
+ kind: z.ZodString;
451
+ id: z.ZodString;
452
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
453
+ ownerRepo: z.ZodOptional<z.ZodString>;
454
+ }, z.core.$strict>;
455
+ binding: z.ZodObject<{
456
+ sourceRef: z.ZodOptional<z.ZodString>;
457
+ ontologyId: z.ZodOptional<z.ZodString>;
458
+ projectionRef: z.ZodOptional<z.ZodString>;
459
+ stateRef: z.ZodOptional<z.ZodString>;
460
+ }, z.core.$strict>;
461
+ rendererConfig: z.ZodObject<{
462
+ schemaRef: z.ZodString;
463
+ value: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
464
+ }, z.core.$strict>;
465
+ workflowRef: z.ZodOptional<z.ZodObject<{
466
+ kind: z.ZodString;
467
+ id: z.ZodString;
468
+ version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
469
+ ownerRepo: z.ZodOptional<z.ZodString>;
470
+ }, z.core.$strict>>;
471
+ }, z.core.$strict>>;
472
+ }, z.core.$strict>;
473
+ export type PageVisibility = z.infer<typeof PageVisibilitySchema>;
474
+ export type PageType = z.infer<typeof PageTypeSchema>;
475
+ export type PageDefinition = z.infer<typeof PageDefinitionSchema>;
476
+ export type PageRuntimeDescriptor = z.infer<typeof PageRuntimeDescriptorSchema>;
477
+ export type PageRouteProjection = z.infer<typeof PageRouteProjectionSchema>;
478
+ export type PageNavigationProjection = z.infer<typeof PageNavigationProjectionSchema>;
479
+ export type PageGuardProjection = z.infer<typeof PageGuardProjectionSchema>;
480
+ export type PageRendererProjection = z.infer<typeof PageRendererProjectionSchema>;
481
+ export type PageRuntimeProjection = z.infer<typeof PageRuntimeProjectionSchema>;
482
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/contracts/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;EAoBzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;kBAQtB,CAAC;AAEZ,eAAO,MAAM,mBAAmB,aAGqC,CAAC;AA8BtE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsE7B,CAAC;AAEL,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmC7B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;kBAI3B,CAAC;AAEZ,eAAO,MAAM,8BAA8B;;;;;;;;;kBAShC,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;;;;;;;;;;kBAO3B,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuCrC,CAAC;AAeL,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgEpC,CAAC;AAEL,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}