@objectstack/spec 0.3.3 → 0.4.2

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 +43 -1940
  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 +518 -0
  112. package/dist/system/manifest.zod.d.ts.map +1 -0
  113. package/dist/{kernel → system}/manifest.zod.js +8 -17
  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 +4 -2163
  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 +398 -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,518 @@
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: Business application package
21
+ * - plugin: General-purpose functionality extension
22
+ * - driver: Southbound interface - Database/external service adapter (Postgres, MongoDB, S3)
23
+ * - module: Reusable code library/shared module
24
+ * - objectql: Core engine - Data layer implementation
25
+ * - gateway: Northbound interface - API protocol entry point (GraphQL, REST, RPC, OData)
26
+ * - adapter: Host adapter - Runtime container (Express, Hono, Fastify, Serverless)
27
+ */
28
+ type: z.ZodEnum<["app", "plugin", "driver", "module", "objectql", "gateway", "adapter"]>;
29
+ /**
30
+ * Human-readable name of the package.
31
+ */
32
+ name: z.ZodString;
33
+ /**
34
+ * Brief description of the package functionality.
35
+ */
36
+ description: z.ZodOptional<z.ZodString>;
37
+ /**
38
+ * Array of permission strings that the package requires.
39
+ * Example: ["system.user.read", "system.data.write"]
40
+ */
41
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
42
+ /**
43
+ * Glob patterns specifying ObjectQL schemas files (typically *.object.yml or *.object.ts).
44
+ * Example: `["./src/objects/*.object.yml"]`
45
+ */
46
+ objects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47
+ /**
48
+ * Defines system level DataSources.
49
+ */
50
+ datasources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51
+ /**
52
+ * Package Dependencies.
53
+ * Map of package IDs to version requirements.
54
+ */
55
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56
+ /**
57
+ * Plugin Configuration Schema.
58
+ * Defines the settings this plugin exposes to the user.
59
+ * Uses a simplified JSON Schema format.
60
+ */
61
+ configuration: z.ZodOptional<z.ZodObject<{
62
+ title: z.ZodOptional<z.ZodString>;
63
+ properties: z.ZodRecord<z.ZodString, z.ZodObject<{
64
+ type: z.ZodEnum<["string", "number", "boolean", "array", "object"]>;
65
+ default: z.ZodOptional<z.ZodAny>;
66
+ description: z.ZodOptional<z.ZodString>;
67
+ required: z.ZodOptional<z.ZodBoolean>;
68
+ secret: z.ZodOptional<z.ZodBoolean>;
69
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ type: "string" | "number" | "boolean" | "object" | "array";
72
+ required?: boolean | undefined;
73
+ default?: any;
74
+ description?: string | undefined;
75
+ secret?: boolean | undefined;
76
+ enum?: string[] | undefined;
77
+ }, {
78
+ type: "string" | "number" | "boolean" | "object" | "array";
79
+ required?: boolean | undefined;
80
+ default?: any;
81
+ description?: string | undefined;
82
+ secret?: boolean | undefined;
83
+ enum?: string[] | undefined;
84
+ }>>;
85
+ }, "strip", z.ZodTypeAny, {
86
+ properties: Record<string, {
87
+ type: "string" | "number" | "boolean" | "object" | "array";
88
+ required?: boolean | undefined;
89
+ default?: any;
90
+ description?: string | undefined;
91
+ secret?: boolean | undefined;
92
+ enum?: string[] | undefined;
93
+ }>;
94
+ title?: string | undefined;
95
+ }, {
96
+ properties: Record<string, {
97
+ type: "string" | "number" | "boolean" | "object" | "array";
98
+ required?: boolean | undefined;
99
+ default?: any;
100
+ description?: string | undefined;
101
+ secret?: boolean | undefined;
102
+ enum?: string[] | undefined;
103
+ }>;
104
+ title?: string | undefined;
105
+ }>>;
106
+ /**
107
+ * Contribution Points (VS Code Style).
108
+ * formalized way to extend the platform capabilities.
109
+ */
110
+ contributes: z.ZodOptional<z.ZodObject<{
111
+ /**
112
+ * Register new Metadata Kinds (CRDs).
113
+ * Enables the system to parse and validate new file types.
114
+ * Example: Registering a BI plugin to handle *.report.ts
115
+ */
116
+ kinds: z.ZodOptional<z.ZodArray<z.ZodObject<{
117
+ id: z.ZodString;
118
+ globs: z.ZodArray<z.ZodString, "many">;
119
+ description: z.ZodOptional<z.ZodString>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ id: string;
122
+ globs: string[];
123
+ description?: string | undefined;
124
+ }, {
125
+ id: string;
126
+ globs: string[];
127
+ description?: string | undefined;
128
+ }>, "many">>;
129
+ /**
130
+ * Register System Hooks.
131
+ * Declares that this plugin listens to specific system events.
132
+ */
133
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
134
+ /**
135
+ * Register UI Menus.
136
+ */
137
+ menus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
138
+ id: z.ZodString;
139
+ label: z.ZodString;
140
+ command: z.ZodOptional<z.ZodString>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ label: string;
143
+ id: string;
144
+ command?: string | undefined;
145
+ }, {
146
+ label: string;
147
+ id: string;
148
+ command?: string | undefined;
149
+ }>, "many">>>;
150
+ /**
151
+ * Register Custom Themes.
152
+ */
153
+ themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
154
+ id: z.ZodString;
155
+ label: z.ZodString;
156
+ path: z.ZodString;
157
+ }, "strip", z.ZodTypeAny, {
158
+ path: string;
159
+ label: string;
160
+ id: string;
161
+ }, {
162
+ path: string;
163
+ label: string;
164
+ id: string;
165
+ }>, "many">>;
166
+ /**
167
+ * Register Translations.
168
+ * Path to translation files (e.g. "locales/en.json").
169
+ */
170
+ translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
171
+ locale: z.ZodString;
172
+ path: z.ZodString;
173
+ }, "strip", z.ZodTypeAny, {
174
+ path: string;
175
+ locale: string;
176
+ }, {
177
+ path: string;
178
+ locale: string;
179
+ }>, "many">>;
180
+ /**
181
+ * Register Server Actions.
182
+ * Invocable functions exposed to Flows or API.
183
+ */
184
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
+ name: z.ZodString;
186
+ label: z.ZodOptional<z.ZodString>;
187
+ description: z.ZodOptional<z.ZodString>;
188
+ input: z.ZodOptional<z.ZodAny>;
189
+ output: z.ZodOptional<z.ZodAny>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ name: string;
192
+ label?: string | undefined;
193
+ description?: string | undefined;
194
+ input?: any;
195
+ output?: any;
196
+ }, {
197
+ name: string;
198
+ label?: string | undefined;
199
+ description?: string | undefined;
200
+ input?: any;
201
+ output?: any;
202
+ }>, "many">>;
203
+ /**
204
+ * Register Storage Drivers.
205
+ * Enables connecting to new types of datasources.
206
+ */
207
+ drivers: z.ZodOptional<z.ZodArray<z.ZodObject<{
208
+ id: z.ZodString;
209
+ label: z.ZodString;
210
+ description: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ label: string;
213
+ id: string;
214
+ description?: string | undefined;
215
+ }, {
216
+ label: string;
217
+ id: string;
218
+ description?: string | undefined;
219
+ }>, "many">>;
220
+ /**
221
+ * Register Custom Field Types.
222
+ * Extends the data model with new widget types.
223
+ */
224
+ fieldTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
+ name: z.ZodString;
226
+ label: z.ZodString;
227
+ description: z.ZodOptional<z.ZodString>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ label: string;
230
+ name: string;
231
+ description?: string | undefined;
232
+ }, {
233
+ label: string;
234
+ name: string;
235
+ description?: string | undefined;
236
+ }>, "many">>;
237
+ /**
238
+ * Register Custom Query Operators/Functions.
239
+ * Extends ObjectQL with new functions (e.g. distance()).
240
+ */
241
+ functions: z.ZodOptional<z.ZodArray<z.ZodObject<{
242
+ name: z.ZodString;
243
+ description: z.ZodOptional<z.ZodString>;
244
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
245
+ returnType: z.ZodOptional<z.ZodString>;
246
+ }, "strip", z.ZodTypeAny, {
247
+ name: string;
248
+ description?: string | undefined;
249
+ args?: string[] | undefined;
250
+ returnType?: string | undefined;
251
+ }, {
252
+ name: string;
253
+ description?: string | undefined;
254
+ args?: string[] | undefined;
255
+ returnType?: string | undefined;
256
+ }>, "many">>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ events?: string[] | undefined;
259
+ fieldTypes?: {
260
+ label: string;
261
+ name: string;
262
+ description?: string | undefined;
263
+ }[] | undefined;
264
+ actions?: {
265
+ name: string;
266
+ label?: string | undefined;
267
+ description?: string | undefined;
268
+ input?: any;
269
+ output?: any;
270
+ }[] | undefined;
271
+ kinds?: {
272
+ id: string;
273
+ globs: string[];
274
+ description?: string | undefined;
275
+ }[] | undefined;
276
+ menus?: Record<string, {
277
+ label: string;
278
+ id: string;
279
+ command?: string | undefined;
280
+ }[]> | undefined;
281
+ themes?: {
282
+ path: string;
283
+ label: string;
284
+ id: string;
285
+ }[] | undefined;
286
+ translations?: {
287
+ path: string;
288
+ locale: string;
289
+ }[] | undefined;
290
+ drivers?: {
291
+ label: string;
292
+ id: string;
293
+ description?: string | undefined;
294
+ }[] | undefined;
295
+ functions?: {
296
+ name: string;
297
+ description?: string | undefined;
298
+ args?: string[] | undefined;
299
+ returnType?: string | undefined;
300
+ }[] | undefined;
301
+ }, {
302
+ events?: string[] | undefined;
303
+ fieldTypes?: {
304
+ label: string;
305
+ name: string;
306
+ description?: string | undefined;
307
+ }[] | undefined;
308
+ actions?: {
309
+ name: string;
310
+ label?: string | undefined;
311
+ description?: string | undefined;
312
+ input?: any;
313
+ output?: any;
314
+ }[] | undefined;
315
+ kinds?: {
316
+ id: string;
317
+ globs: string[];
318
+ description?: string | undefined;
319
+ }[] | undefined;
320
+ menus?: Record<string, {
321
+ label: string;
322
+ id: string;
323
+ command?: string | undefined;
324
+ }[]> | undefined;
325
+ themes?: {
326
+ path: string;
327
+ label: string;
328
+ id: string;
329
+ }[] | undefined;
330
+ translations?: {
331
+ path: string;
332
+ locale: string;
333
+ }[] | undefined;
334
+ drivers?: {
335
+ label: string;
336
+ id: string;
337
+ description?: string | undefined;
338
+ }[] | undefined;
339
+ functions?: {
340
+ name: string;
341
+ description?: string | undefined;
342
+ args?: string[] | undefined;
343
+ returnType?: string | undefined;
344
+ }[] | undefined;
345
+ }>>;
346
+ /**
347
+ * Initial data seeding configuration.
348
+ * Defines default records to be inserted when the package is installed.
349
+ */
350
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
351
+ object: z.ZodString;
352
+ records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
353
+ mode: z.ZodDefault<z.ZodEnum<["upsert", "insert", "ignore"]>>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ object: string;
356
+ mode: "insert" | "upsert" | "ignore";
357
+ records: Record<string, any>[];
358
+ }, {
359
+ object: string;
360
+ records: Record<string, any>[];
361
+ mode?: "insert" | "upsert" | "ignore" | undefined;
362
+ }>, "many">>;
363
+ /**
364
+ * Extension points contributed by this package.
365
+ * Allows packages to extend UI components, add functionality, etc.
366
+ */
367
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
370
+ name: string;
371
+ id: string;
372
+ version: string;
373
+ description?: string | undefined;
374
+ objects?: string[] | undefined;
375
+ data?: {
376
+ object: string;
377
+ mode: "insert" | "upsert" | "ignore";
378
+ records: Record<string, any>[];
379
+ }[] | undefined;
380
+ dependencies?: Record<string, string> | undefined;
381
+ permissions?: string[] | undefined;
382
+ datasources?: string[] | undefined;
383
+ configuration?: {
384
+ properties: Record<string, {
385
+ type: "string" | "number" | "boolean" | "object" | "array";
386
+ required?: boolean | undefined;
387
+ default?: any;
388
+ description?: string | undefined;
389
+ secret?: boolean | undefined;
390
+ enum?: string[] | undefined;
391
+ }>;
392
+ title?: string | undefined;
393
+ } | undefined;
394
+ contributes?: {
395
+ events?: string[] | undefined;
396
+ fieldTypes?: {
397
+ label: string;
398
+ name: string;
399
+ description?: string | undefined;
400
+ }[] | undefined;
401
+ actions?: {
402
+ name: string;
403
+ label?: string | undefined;
404
+ description?: string | undefined;
405
+ input?: any;
406
+ output?: any;
407
+ }[] | undefined;
408
+ kinds?: {
409
+ id: string;
410
+ globs: string[];
411
+ description?: string | undefined;
412
+ }[] | undefined;
413
+ menus?: Record<string, {
414
+ label: string;
415
+ id: string;
416
+ command?: string | undefined;
417
+ }[]> | undefined;
418
+ themes?: {
419
+ path: string;
420
+ label: string;
421
+ id: string;
422
+ }[] | undefined;
423
+ translations?: {
424
+ path: string;
425
+ locale: string;
426
+ }[] | undefined;
427
+ drivers?: {
428
+ label: string;
429
+ id: string;
430
+ description?: string | undefined;
431
+ }[] | undefined;
432
+ functions?: {
433
+ name: string;
434
+ description?: string | undefined;
435
+ args?: string[] | undefined;
436
+ returnType?: string | undefined;
437
+ }[] | undefined;
438
+ } | undefined;
439
+ extensions?: Record<string, any> | undefined;
440
+ }, {
441
+ type: "app" | "module" | "plugin" | "driver" | "objectql" | "gateway" | "adapter";
442
+ name: string;
443
+ id: string;
444
+ version: string;
445
+ description?: string | undefined;
446
+ objects?: string[] | undefined;
447
+ data?: {
448
+ object: string;
449
+ records: Record<string, any>[];
450
+ mode?: "insert" | "upsert" | "ignore" | undefined;
451
+ }[] | undefined;
452
+ dependencies?: Record<string, string> | undefined;
453
+ permissions?: string[] | undefined;
454
+ datasources?: string[] | undefined;
455
+ configuration?: {
456
+ properties: Record<string, {
457
+ type: "string" | "number" | "boolean" | "object" | "array";
458
+ required?: boolean | undefined;
459
+ default?: any;
460
+ description?: string | undefined;
461
+ secret?: boolean | undefined;
462
+ enum?: string[] | undefined;
463
+ }>;
464
+ title?: string | undefined;
465
+ } | undefined;
466
+ contributes?: {
467
+ events?: string[] | undefined;
468
+ fieldTypes?: {
469
+ label: string;
470
+ name: string;
471
+ description?: string | undefined;
472
+ }[] | undefined;
473
+ actions?: {
474
+ name: string;
475
+ label?: string | undefined;
476
+ description?: string | undefined;
477
+ input?: any;
478
+ output?: any;
479
+ }[] | undefined;
480
+ kinds?: {
481
+ id: string;
482
+ globs: string[];
483
+ description?: string | undefined;
484
+ }[] | undefined;
485
+ menus?: Record<string, {
486
+ label: string;
487
+ id: string;
488
+ command?: string | undefined;
489
+ }[]> | undefined;
490
+ themes?: {
491
+ path: string;
492
+ label: string;
493
+ id: string;
494
+ }[] | undefined;
495
+ translations?: {
496
+ path: string;
497
+ locale: string;
498
+ }[] | undefined;
499
+ drivers?: {
500
+ label: string;
501
+ id: string;
502
+ description?: string | undefined;
503
+ }[] | undefined;
504
+ functions?: {
505
+ name: string;
506
+ description?: string | undefined;
507
+ args?: string[] | undefined;
508
+ returnType?: string | undefined;
509
+ }[] | undefined;
510
+ } | undefined;
511
+ extensions?: Record<string, any> | undefined;
512
+ }>;
513
+ /**
514
+ * TypeScript type inferred from the ManifestSchema.
515
+ * Use this type for type-safe manifest handling in TypeScript code.
516
+ */
517
+ export type ObjectStackManifest = z.infer<typeof ManifestSchema>;
518
+ //# 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;;;;;;;;;OASG;;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.
@@ -22,12 +20,15 @@ exports.ManifestSchema = zod_1.z.object({
22
20
  version: zod_1.z.string().regex(/^\d+\.\d+\.\d+$/).describe('Package version (semantic versioning)'),
23
21
  /**
24
22
  * Type of the package in the ObjectStack ecosystem.
25
- * - app: Standalone application
26
- * - plugin: Extension to ObjectOS
27
- * - driver: Low-level integration driver
28
- * - module: Reusable code module
23
+ * - app: Business application package
24
+ * - plugin: General-purpose functionality extension
25
+ * - driver: Southbound interface - Database/external service adapter (Postgres, MongoDB, S3)
26
+ * - module: Reusable code library/shared module
27
+ * - objectql: Core engine - Data layer implementation
28
+ * - gateway: Northbound interface - API protocol entry point (GraphQL, REST, RPC, OData)
29
+ * - adapter: Host adapter - Runtime container (Express, Hono, Fastify, Serverless)
29
30
  */
30
- type: zod_1.z.enum(['app', 'plugin', 'driver', 'module']).describe('Type of package'),
31
+ type: zod_1.z.enum(['app', 'plugin', 'driver', 'module', 'objectql', 'gateway', 'adapter']).describe('Type of package'),
31
32
  /**
32
33
  * Human-readable name of the package.
33
34
  */
@@ -46,16 +47,6 @@ exports.ManifestSchema = zod_1.z.object({
46
47
  * Example: `["./src/objects/*.object.yml"]`
47
48
  */
48
49
  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
50
  /**
60
51
  * Defines system level DataSources.
61
52
  */
@@ -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;;GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,g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