@objectstack/spec 0.3.3 → 0.4.1

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 (304) hide show
  1. package/dist/ai/conversation.zod.d.ts +14 -14
  2. package/dist/ai/cost.zod.d.ts +112 -112
  3. package/dist/ai/model-registry.zod.d.ts +44 -44
  4. package/dist/ai/nlq.zod.d.ts +2 -2
  5. package/dist/ai/orchestration.zod.d.ts +6 -6
  6. package/dist/ai/predictive.zod.d.ts +8 -8
  7. package/dist/ai/rag-pipeline.zod.d.ts +62 -62
  8. package/dist/api/contract.zod.d.ts +92 -92
  9. package/dist/api/discovery.zod.d.ts +2 -2
  10. package/dist/api/index.d.ts +2 -0
  11. package/dist/api/index.d.ts.map +1 -1
  12. package/dist/api/index.js +2 -0
  13. package/dist/api/odata.zod.d.ts +482 -0
  14. package/dist/api/odata.zod.d.ts.map +1 -0
  15. package/dist/api/odata.zod.js +401 -0
  16. package/dist/api/router.zod.d.ts +4 -4
  17. package/dist/auth/config.zod.d.ts +21 -21
  18. package/dist/auth/index.d.ts +1 -0
  19. package/dist/auth/index.d.ts.map +1 -1
  20. package/dist/auth/index.js +1 -0
  21. package/dist/auth/organization.zod.d.ts +2 -2
  22. package/dist/auth/role.zod.d.ts +14 -0
  23. package/dist/auth/role.zod.d.ts.map +1 -1
  24. package/dist/auth/role.zod.js +16 -1
  25. package/dist/auth/scim.zod.d.ts +2732 -0
  26. package/dist/auth/scim.zod.d.ts.map +1 -0
  27. package/dist/auth/scim.zod.js +811 -0
  28. package/dist/automation/approval.zod.d.ts +643 -0
  29. package/dist/automation/approval.zod.d.ts.map +1 -0
  30. package/dist/automation/approval.zod.js +84 -0
  31. package/dist/automation/connector.zod.d.ts +1284 -0
  32. package/dist/automation/connector.zod.d.ts.map +1 -0
  33. package/dist/automation/connector.zod.js +500 -0
  34. package/dist/automation/etl.zod.d.ts +623 -0
  35. package/dist/automation/etl.zod.d.ts.map +1 -0
  36. package/dist/automation/etl.zod.js +359 -0
  37. package/dist/automation/flow.zod.d.ts +6 -6
  38. package/dist/automation/index.d.ts +4 -0
  39. package/dist/automation/index.d.ts.map +1 -1
  40. package/dist/automation/index.js +4 -0
  41. package/dist/automation/sync.zod.d.ts +854 -0
  42. package/dist/automation/sync.zod.d.ts.map +1 -0
  43. package/dist/automation/sync.zod.js +444 -0
  44. package/dist/automation/webhook.zod.d.ts +24 -1
  45. package/dist/automation/webhook.zod.d.ts.map +1 -1
  46. package/dist/automation/webhook.zod.js +27 -3
  47. package/dist/automation/workflow.zod.d.ts +14 -0
  48. package/dist/automation/workflow.zod.d.ts.map +1 -1
  49. package/dist/automation/workflow.zod.js +16 -1
  50. package/dist/data/field.zod.d.ts +338 -8
  51. package/dist/data/field.zod.d.ts.map +1 -1
  52. package/dist/data/field.zod.js +100 -16
  53. package/dist/data/mapping.zod.d.ts +22 -10
  54. package/dist/data/mapping.zod.d.ts.map +1 -1
  55. package/dist/data/mapping.zod.js +16 -3
  56. package/dist/data/object.zod.d.ts +116 -22
  57. package/dist/data/object.zod.d.ts.map +1 -1
  58. package/dist/data/object.zod.js +4 -4
  59. package/dist/data/validation.zod.d.ts +18 -18
  60. package/dist/hub/composer.zod.d.ts +42 -1939
  61. package/dist/hub/composer.zod.d.ts.map +1 -1
  62. package/dist/hub/composer.zod.js +1 -1
  63. package/dist/hub/license.zod.d.ts +2 -2
  64. package/dist/hub/marketplace.zod.d.ts +6 -6
  65. package/dist/index.d.ts +2 -2
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +6 -3
  68. package/dist/permission/index.d.ts +7 -5
  69. package/dist/permission/index.d.ts.map +1 -1
  70. package/dist/permission/index.js +7 -5
  71. package/dist/permission/permission.zod.d.ts +14 -0
  72. package/dist/permission/permission.zod.d.ts.map +1 -1
  73. package/dist/permission/permission.zod.js +16 -1
  74. package/dist/permission/rls.zod.d.ts +605 -0
  75. package/dist/permission/rls.zod.d.ts.map +1 -0
  76. package/dist/permission/rls.zod.js +615 -0
  77. package/dist/permission/territory.zod.d.ts +13 -0
  78. package/dist/permission/territory.zod.d.ts.map +1 -1
  79. package/dist/permission/territory.zod.js +15 -1
  80. package/dist/shared/identifiers.zod.d.ts +87 -0
  81. package/dist/shared/identifiers.zod.d.ts.map +1 -0
  82. package/dist/shared/identifiers.zod.js +101 -0
  83. package/dist/shared/index.d.ts +6 -0
  84. package/dist/shared/index.d.ts.map +1 -0
  85. package/dist/{driver → shared}/index.js +5 -4
  86. package/dist/stack.zod.d.ts +19869 -0
  87. package/dist/stack.zod.d.ts.map +1 -0
  88. package/dist/stack.zod.js +248 -0
  89. package/dist/system/audit.zod.d.ts +12 -12
  90. package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
  91. package/dist/{driver → system}/datasource.zod.d.ts +2 -2
  92. package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
  93. package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
  94. package/dist/system/driver/mongo.zod.d.ts.map +1 -0
  95. package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
  96. package/dist/system/driver/postgres.zod.d.ts.map +1 -0
  97. package/dist/{driver → system}/driver.zod.d.ts +14 -14
  98. package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
  99. package/dist/system/events.zod.d.ts +15 -12
  100. package/dist/system/events.zod.d.ts.map +1 -1
  101. package/dist/system/events.zod.js +5 -1
  102. package/dist/system/feature.zod.d.ts +131 -0
  103. package/dist/system/feature.zod.d.ts.map +1 -0
  104. package/dist/system/feature.zod.js +45 -0
  105. package/dist/system/index.d.ts +10 -0
  106. package/dist/system/index.d.ts.map +1 -1
  107. package/dist/system/index.js +12 -0
  108. package/dist/system/job.zod.d.ts +8 -8
  109. package/dist/{kernel → system}/logger.zod.d.ts +4 -4
  110. package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
  111. package/dist/system/manifest.zod.d.ts +515 -0
  112. package/dist/system/manifest.zod.d.ts.map +1 -0
  113. package/dist/{kernel → system}/manifest.zod.js +0 -12
  114. package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
  115. package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
  116. package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
  117. package/dist/ui/action.zod.d.ts +35 -10
  118. package/dist/ui/action.zod.d.ts.map +1 -1
  119. package/dist/ui/action.zod.js +30 -1
  120. package/dist/ui/app.zod.d.ts +23 -8
  121. package/dist/ui/app.zod.d.ts.map +1 -1
  122. package/dist/ui/app.zod.js +32 -4
  123. package/dist/ui/block.zod.d.ts +265 -0
  124. package/dist/ui/block.zod.d.ts.map +1 -0
  125. package/dist/ui/block.zod.js +90 -0
  126. package/dist/ui/component.zod.d.ts +265 -0
  127. package/dist/ui/component.zod.d.ts.map +1 -0
  128. package/dist/ui/component.zod.js +90 -0
  129. package/dist/ui/dashboard.zod.d.ts +15 -15
  130. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  131. package/dist/ui/dashboard.zod.js +18 -8
  132. package/dist/ui/index.d.ts +1 -0
  133. package/dist/ui/index.d.ts.map +1 -1
  134. package/dist/ui/index.js +1 -0
  135. package/dist/ui/page.zod.d.ts +21 -3
  136. package/dist/ui/page.zod.d.ts.map +1 -1
  137. package/dist/ui/page.zod.js +37 -4
  138. package/dist/ui/report.zod.d.ts +7 -7
  139. package/dist/ui/view.zod.d.ts +252 -240
  140. package/dist/ui/view.zod.d.ts.map +1 -1
  141. package/dist/ui/view.zod.js +32 -3
  142. package/dist/ui/widget.zod.d.ts +673 -5
  143. package/dist/ui/widget.zod.d.ts.map +1 -1
  144. package/dist/ui/widget.zod.js +294 -1
  145. package/json-schema/api/ODataError.json +65 -0
  146. package/json-schema/api/ODataFilterFunction.json +39 -0
  147. package/json-schema/api/ODataFilterOperator.json +24 -0
  148. package/json-schema/api/ODataMetadata.json +115 -0
  149. package/json-schema/api/ODataQuery.json +89 -0
  150. package/json-schema/api/ODataResponse.json +37 -0
  151. package/json-schema/auth/Role.json +3 -2
  152. package/json-schema/auth/SCIMAddress.json +50 -0
  153. package/json-schema/auth/SCIMEmail.json +38 -0
  154. package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
  155. package/json-schema/auth/SCIMError.json +52 -0
  156. package/json-schema/auth/SCIMGroup.json +102 -0
  157. package/json-schema/auth/SCIMGroupReference.json +36 -0
  158. package/json-schema/auth/SCIMListResponse.json +606 -0
  159. package/json-schema/auth/SCIMMemberReference.json +36 -0
  160. package/json-schema/auth/SCIMMeta.json +35 -0
  161. package/json-schema/auth/SCIMName.json +36 -0
  162. package/json-schema/auth/SCIMPatchOperation.json +31 -0
  163. package/json-schema/auth/SCIMPatchRequest.json +56 -0
  164. package/json-schema/auth/SCIMPhoneNumber.json +40 -0
  165. package/json-schema/auth/SCIMUser.json +462 -0
  166. package/json-schema/automation/ApprovalAction.json +35 -0
  167. package/json-schema/automation/ApprovalActionType.json +15 -0
  168. package/json-schema/automation/ApprovalProcess.json +326 -0
  169. package/json-schema/automation/ApprovalStep.json +147 -0
  170. package/json-schema/automation/ApproverType.json +16 -0
  171. package/json-schema/automation/AuthField.json +73 -0
  172. package/json-schema/automation/Authentication.json +159 -0
  173. package/json-schema/automation/AuthenticationType.json +18 -0
  174. package/json-schema/automation/ConflictResolution.json +16 -0
  175. package/json-schema/automation/Connector.json +440 -0
  176. package/json-schema/automation/ConnectorCategory.json +26 -0
  177. package/json-schema/automation/ConnectorInstance.json +69 -0
  178. package/json-schema/automation/ConnectorOperation.json +117 -0
  179. package/json-schema/automation/ConnectorTrigger.json +54 -0
  180. package/json-schema/automation/DataDestinationConfig.json +89 -0
  181. package/json-schema/automation/DataSourceConfig.json +34 -0
  182. package/json-schema/automation/DataSyncConfig.json +355 -0
  183. package/json-schema/automation/ETLDestination.json +57 -0
  184. package/json-schema/automation/ETLEndpointType.json +19 -0
  185. package/json-schema/automation/ETLPipeline.json +252 -0
  186. package/json-schema/automation/ETLPipelineRun.json +107 -0
  187. package/json-schema/automation/ETLRunStatus.json +17 -0
  188. package/json-schema/automation/ETLSource.json +60 -0
  189. package/json-schema/automation/ETLSyncMode.json +14 -0
  190. package/json-schema/automation/ETLTransformation.json +46 -0
  191. package/json-schema/automation/ETLTransformationType.json +21 -0
  192. package/json-schema/automation/FieldMapping.json +36 -0
  193. package/json-schema/automation/OAuth2Config.json +43 -0
  194. package/json-schema/automation/OperationParameter.json +59 -0
  195. package/json-schema/automation/OperationType.json +17 -0
  196. package/json-schema/automation/SyncDirection.json +14 -0
  197. package/json-schema/automation/SyncExecutionResult.json +135 -0
  198. package/json-schema/automation/SyncExecutionStatus.json +17 -0
  199. package/json-schema/automation/SyncMode.json +14 -0
  200. package/json-schema/automation/Webhook.json +3 -1
  201. package/json-schema/automation/WebhookReceiver.json +3 -1
  202. package/json-schema/automation/WorkflowRule.json +3 -2
  203. package/json-schema/data/Field.json +62 -4
  204. package/json-schema/data/FieldType.json +12 -2
  205. package/json-schema/data/Object.json +62 -4
  206. package/json-schema/data/SelectOption.json +4 -2
  207. package/json-schema/data/VectorConfig.json +51 -0
  208. package/json-schema/hub/ComposerResponse.json +0 -2162
  209. package/json-schema/permission/PermissionSet.json +3 -1
  210. package/json-schema/permission/RLSConfig.json +59 -0
  211. package/json-schema/permission/RLSEvaluationResult.json +40 -0
  212. package/json-schema/permission/RLSOperation.json +16 -0
  213. package/json-schema/permission/RLSUserContext.json +51 -0
  214. package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
  215. package/json-schema/permission/Territory.json +3 -1
  216. package/json-schema/shared/EventName.json +12 -0
  217. package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
  218. package/json-schema/shared/SystemIdentifier.json +12 -0
  219. package/json-schema/system/Event.json +3 -2
  220. package/json-schema/system/FeatureFlag.json +87 -0
  221. package/json-schema/system/FeatureStrategy.json +16 -0
  222. package/json-schema/system/Manifest.json +395 -0
  223. package/json-schema/ui/Action.json +25 -4
  224. package/json-schema/ui/ActionParam.json +12 -2
  225. package/json-schema/ui/App.json +18 -7
  226. package/json-schema/ui/ChartType.json +9 -1
  227. package/json-schema/ui/Dashboard.json +9 -1
  228. package/json-schema/ui/DashboardNavItem.json +3 -1
  229. package/json-schema/ui/DashboardWidget.json +9 -1
  230. package/json-schema/ui/FieldWidgetProps.json +62 -4
  231. package/json-schema/ui/FormView.json +4 -1
  232. package/json-schema/ui/GroupNavItem.json +3 -1
  233. package/json-schema/ui/ListView.json +7 -1
  234. package/json-schema/ui/NavigationItem.json +15 -5
  235. package/json-schema/ui/ObjectNavItem.json +3 -1
  236. package/json-schema/ui/Page.json +36 -4
  237. package/json-schema/ui/PageCardProps.json +32 -0
  238. package/json-schema/ui/PageComponent.json +33 -3
  239. package/json-schema/ui/PageComponentType.json +32 -0
  240. package/json-schema/ui/PageHeaderProps.json +39 -0
  241. package/json-schema/ui/PageNavItem.json +3 -1
  242. package/json-schema/ui/PageRegion.json +33 -3
  243. package/json-schema/ui/PageTabsProps.json +55 -0
  244. package/json-schema/ui/RecordDetailsProps.json +37 -0
  245. package/json-schema/ui/RecordHighlightsProps.json +24 -0
  246. package/json-schema/ui/RecordRelatedListProps.json +39 -0
  247. package/json-schema/ui/UrlNavItem.json +3 -1
  248. package/json-schema/ui/View.json +22 -4
  249. package/json-schema/ui/WidgetEvent.json +42 -0
  250. package/json-schema/ui/WidgetLifecycle.json +40 -0
  251. package/json-schema/ui/WidgetManifest.json +262 -0
  252. package/json-schema/ui/WidgetProperty.json +58 -0
  253. package/package.json +1 -1
  254. package/prompts/architecture.md +5 -5
  255. package/prompts/create-new-project.md +85 -0
  256. package/dist/driver/index.d.ts +0 -5
  257. package/dist/driver/index.d.ts.map +0 -1
  258. package/dist/driver/mongo.zod.d.ts.map +0 -1
  259. package/dist/driver/postgres.zod.d.ts.map +0 -1
  260. package/dist/kernel/index.d.ts +0 -12
  261. package/dist/kernel/index.d.ts.map +0 -1
  262. package/dist/kernel/index.js +0 -27
  263. package/dist/kernel/manifest.zod.d.ts +0 -2153
  264. package/dist/kernel/manifest.zod.d.ts.map +0 -1
  265. package/json-schema/kernel/Manifest.json +0 -2557
  266. /package/dist/{kernel → system}/context.zod.d.ts +0 -0
  267. /package/dist/{kernel → system}/context.zod.js +0 -0
  268. /package/dist/{driver → system}/datasource.zod.js +0 -0
  269. /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
  270. /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
  271. /package/dist/{driver → system}/driver.zod.js +0 -0
  272. /package/dist/{kernel → system}/logger.zod.js +0 -0
  273. /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
  274. /package/dist/{kernel → system}/plugin.zod.js +0 -0
  275. /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
  276. /package/json-schema/{driver → system}/Datasource.json +0 -0
  277. /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
  278. /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
  279. /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
  280. /package/json-schema/{driver → system}/DriverInterface.json +0 -0
  281. /package/json-schema/{driver → system}/DriverOptions.json +0 -0
  282. /package/json-schema/{driver → system}/DriverType.json +0 -0
  283. /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
  284. /package/json-schema/{kernel → system}/I18nContext.json +0 -0
  285. /package/json-schema/{kernel → system}/KernelContext.json +0 -0
  286. /package/json-schema/{kernel → system}/LogEntry.json +0 -0
  287. /package/json-schema/{kernel → system}/LogFormat.json +0 -0
  288. /package/json-schema/{kernel → system}/LogLevel.json +0 -0
  289. /package/json-schema/{kernel → system}/Logger.json +0 -0
  290. /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
  291. /package/json-schema/{driver → system}/MongoConfig.json +0 -0
  292. /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
  293. /package/json-schema/{kernel → system}/Plugin.json +0 -0
  294. /package/json-schema/{kernel → system}/PluginContext.json +0 -0
  295. /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
  296. /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
  297. /package/json-schema/{kernel → system}/Router.json +0 -0
  298. /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
  299. /package/json-schema/{kernel → system}/Scheduler.json +0 -0
  300. /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
  301. /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
  302. /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
  303. /package/json-schema/{kernel → system}/StorageScope.json +0 -0
  304. /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
@@ -0,0 +1,515 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Schema for the ObjectStack Manifest.
4
+ * This defines the structure of a package configuration in the ObjectStack ecosystem.
5
+ * All packages (apps, plugins, drivers, modules) must conform to this schema.
6
+ */
7
+ export declare const ManifestSchema: z.ZodObject<{
8
+ /**
9
+ * Unique package identifier using reverse domain notation.
10
+ * Example: "com.example.crm"
11
+ */
12
+ id: z.ZodString;
13
+ /**
14
+ * Package version following semantic versioning (major.minor.patch).
15
+ * Example: "1.0.0"
16
+ */
17
+ version: z.ZodString;
18
+ /**
19
+ * Type of the package in the ObjectStack ecosystem.
20
+ * - app: Standalone application
21
+ * - plugin: Extension to ObjectOS
22
+ * - driver: Low-level integration driver
23
+ * - module: Reusable code module
24
+ */
25
+ type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
26
+ /**
27
+ * Human-readable name of the package.
28
+ */
29
+ name: z.ZodString;
30
+ /**
31
+ * Brief description of the package functionality.
32
+ */
33
+ description: z.ZodOptional<z.ZodString>;
34
+ /**
35
+ * Array of permission strings that the package requires.
36
+ * Example: ["system.user.read", "system.data.write"]
37
+ */
38
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
+ /**
40
+ * Glob patterns specifying ObjectQL schemas files (typically *.object.yml or *.object.ts).
41
+ * Example: `["./src/objects/*.object.yml"]`
42
+ */
43
+ objects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44
+ /**
45
+ * Defines system level DataSources.
46
+ */
47
+ datasources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48
+ /**
49
+ * Package Dependencies.
50
+ * Map of package IDs to version requirements.
51
+ */
52
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53
+ /**
54
+ * Plugin Configuration Schema.
55
+ * Defines the settings this plugin exposes to the user.
56
+ * Uses a simplified JSON Schema format.
57
+ */
58
+ configuration: z.ZodOptional<z.ZodObject<{
59
+ title: z.ZodOptional<z.ZodString>;
60
+ properties: z.ZodRecord<z.ZodString, z.ZodObject<{
61
+ type: z.ZodEnum<["string", "number", "boolean", "array", "object"]>;
62
+ default: z.ZodOptional<z.ZodAny>;
63
+ description: z.ZodOptional<z.ZodString>;
64
+ required: z.ZodOptional<z.ZodBoolean>;
65
+ secret: z.ZodOptional<z.ZodBoolean>;
66
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ type: "string" | "number" | "boolean" | "object" | "array";
69
+ required?: boolean | undefined;
70
+ default?: any;
71
+ description?: string | undefined;
72
+ secret?: boolean | undefined;
73
+ enum?: string[] | undefined;
74
+ }, {
75
+ type: "string" | "number" | "boolean" | "object" | "array";
76
+ required?: boolean | undefined;
77
+ default?: any;
78
+ description?: string | undefined;
79
+ secret?: boolean | undefined;
80
+ enum?: string[] | undefined;
81
+ }>>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ properties: Record<string, {
84
+ type: "string" | "number" | "boolean" | "object" | "array";
85
+ required?: boolean | undefined;
86
+ default?: any;
87
+ description?: string | undefined;
88
+ secret?: boolean | undefined;
89
+ enum?: string[] | undefined;
90
+ }>;
91
+ title?: string | undefined;
92
+ }, {
93
+ properties: Record<string, {
94
+ type: "string" | "number" | "boolean" | "object" | "array";
95
+ required?: boolean | undefined;
96
+ default?: any;
97
+ description?: string | undefined;
98
+ secret?: boolean | undefined;
99
+ enum?: string[] | undefined;
100
+ }>;
101
+ title?: string | undefined;
102
+ }>>;
103
+ /**
104
+ * Contribution Points (VS Code Style).
105
+ * formalized way to extend the platform capabilities.
106
+ */
107
+ contributes: z.ZodOptional<z.ZodObject<{
108
+ /**
109
+ * Register new Metadata Kinds (CRDs).
110
+ * Enables the system to parse and validate new file types.
111
+ * Example: Registering a BI plugin to handle *.report.ts
112
+ */
113
+ kinds: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ id: z.ZodString;
115
+ globs: z.ZodArray<z.ZodString, "many">;
116
+ description: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ id: string;
119
+ globs: string[];
120
+ description?: string | undefined;
121
+ }, {
122
+ id: string;
123
+ globs: string[];
124
+ description?: string | undefined;
125
+ }>, "many">>;
126
+ /**
127
+ * Register System Hooks.
128
+ * Declares that this plugin listens to specific system events.
129
+ */
130
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
131
+ /**
132
+ * Register UI Menus.
133
+ */
134
+ menus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
135
+ id: z.ZodString;
136
+ label: z.ZodString;
137
+ command: z.ZodOptional<z.ZodString>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ label: string;
140
+ id: string;
141
+ command?: string | undefined;
142
+ }, {
143
+ label: string;
144
+ id: string;
145
+ command?: string | undefined;
146
+ }>, "many">>>;
147
+ /**
148
+ * Register Custom Themes.
149
+ */
150
+ themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
151
+ id: z.ZodString;
152
+ label: z.ZodString;
153
+ path: z.ZodString;
154
+ }, "strip", z.ZodTypeAny, {
155
+ path: string;
156
+ label: string;
157
+ id: string;
158
+ }, {
159
+ path: string;
160
+ label: string;
161
+ id: string;
162
+ }>, "many">>;
163
+ /**
164
+ * Register Translations.
165
+ * Path to translation files (e.g. "locales/en.json").
166
+ */
167
+ translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
+ locale: z.ZodString;
169
+ path: z.ZodString;
170
+ }, "strip", z.ZodTypeAny, {
171
+ path: string;
172
+ locale: string;
173
+ }, {
174
+ path: string;
175
+ locale: string;
176
+ }>, "many">>;
177
+ /**
178
+ * Register Server Actions.
179
+ * Invocable functions exposed to Flows or API.
180
+ */
181
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
+ name: z.ZodString;
183
+ label: z.ZodOptional<z.ZodString>;
184
+ description: z.ZodOptional<z.ZodString>;
185
+ input: z.ZodOptional<z.ZodAny>;
186
+ output: z.ZodOptional<z.ZodAny>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ name: string;
189
+ label?: string | undefined;
190
+ description?: string | undefined;
191
+ input?: any;
192
+ output?: any;
193
+ }, {
194
+ name: string;
195
+ label?: string | undefined;
196
+ description?: string | undefined;
197
+ input?: any;
198
+ output?: any;
199
+ }>, "many">>;
200
+ /**
201
+ * Register Storage Drivers.
202
+ * Enables connecting to new types of datasources.
203
+ */
204
+ drivers: z.ZodOptional<z.ZodArray<z.ZodObject<{
205
+ id: z.ZodString;
206
+ label: z.ZodString;
207
+ description: z.ZodOptional<z.ZodString>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ label: string;
210
+ id: string;
211
+ description?: string | undefined;
212
+ }, {
213
+ label: string;
214
+ id: string;
215
+ description?: string | undefined;
216
+ }>, "many">>;
217
+ /**
218
+ * Register Custom Field Types.
219
+ * Extends the data model with new widget types.
220
+ */
221
+ fieldTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
222
+ name: z.ZodString;
223
+ label: z.ZodString;
224
+ description: z.ZodOptional<z.ZodString>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ label: string;
227
+ name: string;
228
+ description?: string | undefined;
229
+ }, {
230
+ label: string;
231
+ name: string;
232
+ description?: string | undefined;
233
+ }>, "many">>;
234
+ /**
235
+ * Register Custom Query Operators/Functions.
236
+ * Extends ObjectQL with new functions (e.g. distance()).
237
+ */
238
+ functions: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
+ name: z.ZodString;
240
+ description: z.ZodOptional<z.ZodString>;
241
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
+ returnType: z.ZodOptional<z.ZodString>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ name: string;
245
+ description?: string | undefined;
246
+ args?: string[] | undefined;
247
+ returnType?: string | undefined;
248
+ }, {
249
+ name: string;
250
+ description?: string | undefined;
251
+ args?: string[] | undefined;
252
+ returnType?: string | undefined;
253
+ }>, "many">>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ events?: string[] | undefined;
256
+ fieldTypes?: {
257
+ label: string;
258
+ name: string;
259
+ description?: string | undefined;
260
+ }[] | undefined;
261
+ actions?: {
262
+ name: string;
263
+ label?: string | undefined;
264
+ description?: string | undefined;
265
+ input?: any;
266
+ output?: any;
267
+ }[] | undefined;
268
+ kinds?: {
269
+ id: string;
270
+ globs: string[];
271
+ description?: string | undefined;
272
+ }[] | undefined;
273
+ menus?: Record<string, {
274
+ label: string;
275
+ id: string;
276
+ command?: string | undefined;
277
+ }[]> | undefined;
278
+ themes?: {
279
+ path: string;
280
+ label: string;
281
+ id: string;
282
+ }[] | undefined;
283
+ translations?: {
284
+ path: string;
285
+ locale: string;
286
+ }[] | undefined;
287
+ drivers?: {
288
+ label: string;
289
+ id: string;
290
+ description?: string | undefined;
291
+ }[] | undefined;
292
+ functions?: {
293
+ name: string;
294
+ description?: string | undefined;
295
+ args?: string[] | undefined;
296
+ returnType?: string | undefined;
297
+ }[] | undefined;
298
+ }, {
299
+ events?: string[] | undefined;
300
+ fieldTypes?: {
301
+ label: string;
302
+ name: string;
303
+ description?: string | undefined;
304
+ }[] | undefined;
305
+ actions?: {
306
+ name: string;
307
+ label?: string | undefined;
308
+ description?: string | undefined;
309
+ input?: any;
310
+ output?: any;
311
+ }[] | undefined;
312
+ kinds?: {
313
+ id: string;
314
+ globs: string[];
315
+ description?: string | undefined;
316
+ }[] | undefined;
317
+ menus?: Record<string, {
318
+ label: string;
319
+ id: string;
320
+ command?: string | undefined;
321
+ }[]> | undefined;
322
+ themes?: {
323
+ path: string;
324
+ label: string;
325
+ id: string;
326
+ }[] | undefined;
327
+ translations?: {
328
+ path: string;
329
+ locale: string;
330
+ }[] | undefined;
331
+ drivers?: {
332
+ label: string;
333
+ id: string;
334
+ description?: string | undefined;
335
+ }[] | undefined;
336
+ functions?: {
337
+ name: string;
338
+ description?: string | undefined;
339
+ args?: string[] | undefined;
340
+ returnType?: string | undefined;
341
+ }[] | undefined;
342
+ }>>;
343
+ /**
344
+ * Initial data seeding configuration.
345
+ * Defines default records to be inserted when the package is installed.
346
+ */
347
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
348
+ object: z.ZodString;
349
+ records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
350
+ mode: z.ZodDefault<z.ZodEnum<["upsert", "insert", "ignore"]>>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ object: string;
353
+ mode: "insert" | "upsert" | "ignore";
354
+ records: Record<string, any>[];
355
+ }, {
356
+ object: string;
357
+ records: Record<string, any>[];
358
+ mode?: "insert" | "upsert" | "ignore" | undefined;
359
+ }>, "many">>;
360
+ /**
361
+ * Extension points contributed by this package.
362
+ * Allows packages to extend UI components, add functionality, etc.
363
+ */
364
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ type: "app" | "module" | "plugin" | "driver";
367
+ name: string;
368
+ id: string;
369
+ version: string;
370
+ description?: string | undefined;
371
+ objects?: string[] | undefined;
372
+ data?: {
373
+ object: string;
374
+ mode: "insert" | "upsert" | "ignore";
375
+ records: Record<string, any>[];
376
+ }[] | undefined;
377
+ dependencies?: Record<string, string> | undefined;
378
+ permissions?: string[] | undefined;
379
+ datasources?: string[] | undefined;
380
+ configuration?: {
381
+ properties: Record<string, {
382
+ type: "string" | "number" | "boolean" | "object" | "array";
383
+ required?: boolean | undefined;
384
+ default?: any;
385
+ description?: string | undefined;
386
+ secret?: boolean | undefined;
387
+ enum?: string[] | undefined;
388
+ }>;
389
+ title?: string | undefined;
390
+ } | undefined;
391
+ contributes?: {
392
+ events?: string[] | undefined;
393
+ fieldTypes?: {
394
+ label: string;
395
+ name: string;
396
+ description?: string | undefined;
397
+ }[] | undefined;
398
+ actions?: {
399
+ name: string;
400
+ label?: string | undefined;
401
+ description?: string | undefined;
402
+ input?: any;
403
+ output?: any;
404
+ }[] | undefined;
405
+ kinds?: {
406
+ id: string;
407
+ globs: string[];
408
+ description?: string | undefined;
409
+ }[] | undefined;
410
+ menus?: Record<string, {
411
+ label: string;
412
+ id: string;
413
+ command?: string | undefined;
414
+ }[]> | undefined;
415
+ themes?: {
416
+ path: string;
417
+ label: string;
418
+ id: string;
419
+ }[] | undefined;
420
+ translations?: {
421
+ path: string;
422
+ locale: string;
423
+ }[] | undefined;
424
+ drivers?: {
425
+ label: string;
426
+ id: string;
427
+ description?: string | undefined;
428
+ }[] | undefined;
429
+ functions?: {
430
+ name: string;
431
+ description?: string | undefined;
432
+ args?: string[] | undefined;
433
+ returnType?: string | undefined;
434
+ }[] | undefined;
435
+ } | undefined;
436
+ extensions?: Record<string, any> | undefined;
437
+ }, {
438
+ type: "app" | "module" | "plugin" | "driver";
439
+ name: string;
440
+ id: string;
441
+ version: string;
442
+ description?: string | undefined;
443
+ objects?: string[] | undefined;
444
+ data?: {
445
+ object: string;
446
+ records: Record<string, any>[];
447
+ mode?: "insert" | "upsert" | "ignore" | undefined;
448
+ }[] | undefined;
449
+ dependencies?: Record<string, string> | undefined;
450
+ permissions?: string[] | undefined;
451
+ datasources?: string[] | undefined;
452
+ configuration?: {
453
+ properties: Record<string, {
454
+ type: "string" | "number" | "boolean" | "object" | "array";
455
+ required?: boolean | undefined;
456
+ default?: any;
457
+ description?: string | undefined;
458
+ secret?: boolean | undefined;
459
+ enum?: string[] | undefined;
460
+ }>;
461
+ title?: string | undefined;
462
+ } | undefined;
463
+ contributes?: {
464
+ events?: string[] | undefined;
465
+ fieldTypes?: {
466
+ label: string;
467
+ name: string;
468
+ description?: string | undefined;
469
+ }[] | undefined;
470
+ actions?: {
471
+ name: string;
472
+ label?: string | undefined;
473
+ description?: string | undefined;
474
+ input?: any;
475
+ output?: any;
476
+ }[] | undefined;
477
+ kinds?: {
478
+ id: string;
479
+ globs: string[];
480
+ description?: string | undefined;
481
+ }[] | undefined;
482
+ menus?: Record<string, {
483
+ label: string;
484
+ id: string;
485
+ command?: string | undefined;
486
+ }[]> | undefined;
487
+ themes?: {
488
+ path: string;
489
+ label: string;
490
+ id: string;
491
+ }[] | undefined;
492
+ translations?: {
493
+ path: string;
494
+ locale: string;
495
+ }[] | undefined;
496
+ drivers?: {
497
+ label: string;
498
+ id: string;
499
+ description?: string | undefined;
500
+ }[] | undefined;
501
+ functions?: {
502
+ name: string;
503
+ description?: string | undefined;
504
+ args?: string[] | undefined;
505
+ returnType?: string | undefined;
506
+ }[] | undefined;
507
+ } | undefined;
508
+ extensions?: Record<string, any> | undefined;
509
+ }>;
510
+ /**
511
+ * TypeScript type inferred from the ManifestSchema.
512
+ * Use this type for type-safe manifest handling in TypeScript code.
513
+ */
514
+ export type ObjectStackManifest = z.infer<typeof ManifestSchema>;
515
+ //# sourceMappingURL=manifest.zod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest.zod.d.ts","sourceRoot":"","sources":["../../src/system/manifest.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,cAAc;IACzB;;;OAGG;;IAGH;;;OAGG;;IAGH;;;;;;OAMG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;;OAGG;;IAGH;;OAEG;;IAGH;;;OAGG;;IAGH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAaH;;;OAGG;;QAED;;;;WAIG;;;;;;;;;;;;;;QAOH;;;WAGG;;QAGH;;WAEG;;;;;;;;;;;;;;QAOH;;WAEG;;;;;;;;;;;;;;QAOH;;;WAGG;;;;;;;;;;;QAMH;;;WAGG;;;;;;;;;;;;;;;;;;;;QASH;;;WAGG;;;;;;;;;;;;;;QAOH;;;WAGG;;;;;;;;;;;;;;QAOH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASL;;;OAGG;;;;;;;;;;;;;;IAOH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -2,8 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ManifestSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const object_zod_1 = require("../data/object.zod");
6
- const datasource_zod_1 = require("../driver/datasource.zod");
7
5
  /**
8
6
  * Schema for the ObjectStack Manifest.
9
7
  * This defines the structure of a package configuration in the ObjectStack ecosystem.
@@ -46,16 +44,6 @@ exports.ManifestSchema = zod_1.z.object({
46
44
  * Example: `["./src/objects/*.object.yml"]`
47
45
  */
48
46
  objects: zod_1.z.array(zod_1.z.string()).optional().describe('Glob patterns for ObjectQL schemas files'),
49
- /**
50
- * Inline/Compiled Definitions (Compiler Output).
51
- * Populated by Cloud Composer or Build Tools.
52
- * If present, Runtime should prioritize these over glob scanning.
53
- */
54
- definitions: zod_1.z.object({
55
- objects: zod_1.z.record(object_zod_1.ObjectSchema).optional().describe('Map of compiled Object Schemas (Name -> Schema)'),
56
- datasource: zod_1.z.record(datasource_zod_1.DatasourceSchema).optional().describe('Map of compiled Datasource Schemas'),
57
- // Add other resource types as needed (flows, views, apps)
58
- }).optional().describe('Inline resource definitions (for serverless/compiled runtimes)'),
59
47
  /**
60
48
  * Defines system level DataSources.
61
49
  */
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.zod.d.ts","sourceRoot":"","sources":["../../src/kernel/plugin.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;EAKO,CAAC;AAEjC,eAAO,MAAM,oBAAoB;;;;;;;;;EAGS,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;EAIW,CAAC;AAErC,eAAO,MAAM,eAAe;;;;;;EAEU,CAAC;AAEvC,eAAO,MAAM,eAAe;;;;;;;;;EAGQ,CAAC;AAErC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAIc,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;;;;;;EAGY,CAAC;AAE3C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB;IAC9B;;;;;;;OAOG;;;;;;;;;;;IAGH;;;;;;;OAOG;;;;;;;;;;;IAGH;;;;;;;OAOG;;;;;;;;;;;;;;;;;IAGH;;;;;;OAMG;;;;;;;;;;;;;;IAGH;;;;;OAKG;;;;;;;;;;;IAGH;;;;;;;OAOG;;IAGH;;;;;;;OAOG;;IAGH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAMH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOH,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,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H;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACpE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACzE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -36,13 +36,13 @@ export declare const ScopedStorageConfigSchema: z.ZodObject<{
36
36
  quota: z.ZodOptional<z.ZodNumber>;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  location: string;
39
- scope: "data" | "config" | "public" | "temp" | "cache" | "logs";
39
+ scope: "data" | "config" | "temp" | "cache" | "logs" | "public";
40
40
  adapter: "s3" | "gcs" | "local" | "memory" | "azure" | "gridfs";
41
41
  options?: Record<string, any> | undefined;
42
42
  quota?: number | undefined;
43
43
  }, {
44
44
  location: string;
45
- scope: "data" | "config" | "public" | "temp" | "cache" | "logs";
45
+ scope: "data" | "config" | "temp" | "cache" | "logs" | "public";
46
46
  options?: Record<string, any> | undefined;
47
47
  adapter?: "s3" | "gcs" | "local" | "memory" | "azure" | "gridfs" | undefined;
48
48
  quota?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"scoped-storage.zod.d.ts","sourceRoot":"","sources":["../../src/kernel/scoped-storage.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,YAAY,kEAO0B,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,kBAAkB,gEAO7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;IACpC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;EAEH,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"scoped-storage.zod.d.ts","sourceRoot":"","sources":["../../src/system/scoped-storage.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,YAAY,kEAO0B,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,kBAAkB,gEAO7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;IACpC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;EAEH,CAAC;AA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