@objectstack/spec 0.3.2 → 0.3.3

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 (396) hide show
  1. package/README.md +32 -10
  2. package/dist/ai/agent.zod.d.ts +12 -12
  3. package/dist/ai/conversation.zod.d.ts +65 -65
  4. package/dist/ai/cost.zod.d.ts +125 -125
  5. package/dist/ai/index.d.ts +1 -1
  6. package/dist/ai/index.d.ts.map +1 -1
  7. package/dist/ai/index.js +1 -1
  8. package/dist/ai/model-registry.zod.d.ts +94 -94
  9. package/dist/ai/nlq.zod.d.ts +70 -70
  10. package/dist/ai/{workflow-automation.zod.d.ts → orchestration.zod.d.ts} +50 -49
  11. package/dist/ai/orchestration.zod.d.ts.map +1 -0
  12. package/dist/ai/{workflow-automation.zod.js → orchestration.zod.js} +26 -25
  13. package/dist/ai/predictive.zod.d.ts +31 -31
  14. package/dist/ai/rag-pipeline.zod.d.ts +86 -86
  15. package/dist/api/contract.zod.d.ts +121 -105
  16. package/dist/api/contract.zod.d.ts.map +1 -1
  17. package/dist/{system → api}/discovery.zod.d.ts +26 -26
  18. package/dist/api/discovery.zod.d.ts.map +1 -0
  19. package/dist/{system → api}/discovery.zod.js +9 -9
  20. package/dist/{system/api.zod.d.ts → api/endpoint.zod.d.ts} +53 -57
  21. package/dist/api/endpoint.zod.d.ts.map +1 -0
  22. package/dist/{system/api.zod.js → api/endpoint.zod.js} +3 -6
  23. package/dist/api/index.d.ts +4 -0
  24. package/dist/api/index.d.ts.map +1 -1
  25. package/dist/api/index.js +4 -0
  26. package/dist/{system → api}/realtime.zod.d.ts +4 -4
  27. package/dist/api/realtime.zod.d.ts.map +1 -0
  28. package/dist/api/router.zod.d.ts +182 -0
  29. package/dist/api/router.zod.d.ts.map +1 -0
  30. package/dist/api/router.zod.js +103 -0
  31. package/dist/{system/auth.zod.d.ts → auth/config.zod.d.ts} +191 -191
  32. package/dist/auth/config.zod.d.ts.map +1 -0
  33. package/dist/{system → auth}/identity.zod.d.ts +8 -8
  34. package/dist/auth/identity.zod.d.ts.map +1 -0
  35. package/dist/auth/index.d.ts +7 -0
  36. package/dist/auth/index.d.ts.map +1 -0
  37. package/dist/auth/index.js +22 -0
  38. package/dist/{system → auth}/organization.zod.d.ts +5 -5
  39. package/dist/auth/organization.zod.d.ts.map +1 -0
  40. package/dist/{system → auth}/policy.zod.d.ts +3 -3
  41. package/dist/auth/policy.zod.d.ts.map +1 -0
  42. package/dist/{system/auth-protocol.d.ts → auth/protocol.d.ts} +1 -1
  43. package/dist/auth/protocol.d.ts.map +1 -0
  44. package/dist/auth/role.zod.d.ts.map +1 -0
  45. package/dist/{data → automation}/flow.zod.d.ts +34 -16
  46. package/dist/automation/flow.zod.d.ts.map +1 -0
  47. package/dist/{data → automation}/flow.zod.js +6 -1
  48. package/dist/automation/index.d.ts +4 -0
  49. package/dist/automation/index.d.ts.map +1 -0
  50. package/dist/automation/index.js +19 -0
  51. package/dist/{system → automation}/webhook.zod.d.ts +2 -2
  52. package/dist/automation/webhook.zod.d.ts.map +1 -0
  53. package/dist/automation/workflow.zod.d.ts +2045 -0
  54. package/dist/automation/workflow.zod.d.ts.map +1 -0
  55. package/dist/{data → automation}/workflow.zod.js +24 -1
  56. package/dist/data/dataset.zod.d.ts +2 -2
  57. package/dist/data/field.zod.d.ts +443 -213
  58. package/dist/data/field.zod.d.ts.map +1 -1
  59. package/dist/data/field.zod.js +29 -1
  60. package/dist/data/filter.zod.d.ts +167 -30
  61. package/dist/data/filter.zod.d.ts.map +1 -1
  62. package/dist/data/filter.zod.js +25 -13
  63. package/dist/data/hook.zod.d.ts +191 -0
  64. package/dist/data/hook.zod.d.ts.map +1 -0
  65. package/dist/data/hook.zod.js +144 -0
  66. package/dist/data/index.d.ts +4 -17
  67. package/dist/data/index.d.ts.map +1 -1
  68. package/dist/data/index.js +4 -17
  69. package/dist/data/mapping.zod.d.ts +103 -91
  70. package/dist/data/mapping.zod.d.ts.map +1 -1
  71. package/dist/data/object.zod.d.ts +387 -127
  72. package/dist/data/object.zod.d.ts.map +1 -1
  73. package/dist/data/object.zod.js +87 -42
  74. package/dist/data/query.zod.d.ts +98 -169
  75. package/dist/data/query.zod.d.ts.map +1 -1
  76. package/dist/data/query.zod.js +42 -130
  77. package/dist/data/validation.zod.d.ts +166 -26
  78. package/dist/data/validation.zod.d.ts.map +1 -1
  79. package/dist/data/validation.zod.js +38 -16
  80. package/dist/{system → driver}/datasource.zod.d.ts +42 -8
  81. package/dist/driver/datasource.zod.d.ts.map +1 -0
  82. package/dist/{system → driver}/datasource.zod.js +17 -13
  83. package/dist/driver/driver.zod.d.ts +3392 -0
  84. package/dist/driver/driver.zod.d.ts.map +1 -0
  85. package/dist/{system → driver}/driver.zod.js +99 -0
  86. package/dist/driver/index.d.ts +5 -0
  87. package/dist/driver/index.d.ts.map +1 -0
  88. package/dist/driver/index.js +20 -0
  89. package/dist/driver/mongo.zod.d.ts +107 -0
  90. package/dist/driver/mongo.zod.d.ts.map +1 -0
  91. package/dist/driver/mongo.zod.js +80 -0
  92. package/dist/driver/postgres.zod.d.ts +134 -0
  93. package/dist/driver/postgres.zod.d.ts.map +1 -0
  94. package/dist/driver/postgres.zod.js +88 -0
  95. package/dist/hub/composer.zod.d.ts +2768 -0
  96. package/dist/hub/composer.zod.d.ts.map +1 -0
  97. package/dist/hub/composer.zod.js +111 -0
  98. package/dist/hub/index.d.ts +6 -0
  99. package/dist/hub/index.d.ts.map +1 -0
  100. package/dist/hub/index.js +22 -0
  101. package/dist/{system → hub}/license.zod.d.ts +11 -7
  102. package/dist/hub/license.zod.d.ts.map +1 -0
  103. package/dist/{system → hub}/license.zod.js +5 -3
  104. package/dist/hub/marketplace.zod.d.ts +191 -0
  105. package/dist/hub/marketplace.zod.d.ts.map +1 -0
  106. package/dist/hub/marketplace.zod.js +85 -0
  107. package/dist/hub/space.zod.d.ts +383 -0
  108. package/dist/hub/space.zod.d.ts.map +1 -0
  109. package/dist/hub/space.zod.js +103 -0
  110. package/dist/{system → hub}/tenant.zod.d.ts +73 -47
  111. package/dist/hub/tenant.zod.d.ts.map +1 -0
  112. package/dist/{system → hub}/tenant.zod.js +36 -10
  113. package/dist/index.d.ts +11 -4
  114. package/dist/index.d.ts.map +1 -1
  115. package/dist/index.js +12 -5
  116. package/dist/kernel/context.zod.d.ts +56 -0
  117. package/dist/kernel/context.zod.d.ts.map +1 -0
  118. package/dist/kernel/context.zod.js +43 -0
  119. package/dist/kernel/index.d.ts +12 -0
  120. package/dist/kernel/index.d.ts.map +1 -0
  121. package/dist/kernel/index.js +27 -0
  122. package/dist/kernel/logger.zod.d.ts +111 -0
  123. package/dist/kernel/logger.zod.d.ts.map +1 -0
  124. package/dist/kernel/logger.zod.js +75 -0
  125. package/dist/kernel/manifest.zod.d.ts +2153 -0
  126. package/dist/kernel/manifest.zod.d.ts.map +1 -0
  127. package/dist/{system → kernel}/manifest.zod.js +40 -0
  128. package/dist/{system → kernel}/plugin.zod.d.ts +598 -318
  129. package/dist/kernel/plugin.zod.d.ts.map +1 -0
  130. package/dist/{system → kernel}/plugin.zod.js +13 -0
  131. package/dist/kernel/scoped-storage.zod.d.ts +81 -0
  132. package/dist/kernel/scoped-storage.zod.d.ts.map +1 -0
  133. package/dist/kernel/scoped-storage.zod.js +66 -0
  134. package/dist/permission/index.d.ts +12 -0
  135. package/dist/permission/index.d.ts.map +1 -0
  136. package/dist/permission/index.js +27 -0
  137. package/dist/{data → permission}/permission.zod.d.ts +34 -3
  138. package/dist/permission/permission.zod.d.ts.map +1 -0
  139. package/dist/{data → permission}/permission.zod.js +10 -1
  140. package/dist/permission/sharing.zod.d.ts +146 -0
  141. package/dist/permission/sharing.zod.d.ts.map +1 -0
  142. package/dist/permission/sharing.zod.js +88 -0
  143. package/dist/permission/territory.zod.d.ts.map +1 -0
  144. package/dist/system/audit.zod.d.ts +52 -52
  145. package/dist/system/events.zod.d.ts +17 -17
  146. package/dist/system/index.d.ts +1 -20
  147. package/dist/system/index.d.ts.map +1 -1
  148. package/dist/system/index.js +3 -20
  149. package/dist/system/job.zod.d.ts +13 -13
  150. package/dist/ui/action.zod.d.ts +13 -13
  151. package/dist/ui/app.zod.d.ts +11 -11
  152. package/dist/ui/dashboard.zod.d.ts +12 -12
  153. package/dist/ui/page.zod.d.ts +2 -2
  154. package/dist/ui/report.zod.d.ts +7 -7
  155. package/dist/ui/theme.zod.d.ts +42 -42
  156. package/dist/ui/view.zod.d.ts +55 -55
  157. package/dist/ui/widget.zod.d.ts +61 -28
  158. package/dist/ui/widget.zod.d.ts.map +1 -1
  159. package/json-schema/ai/{AIWorkflowAutomation.json → AIOrchestration.json} +5 -5
  160. package/json-schema/ai/{AIWorkflowExecutionResult.json → AIOrchestrationExecutionResult.json} +2 -2
  161. package/json-schema/ai/{AIWorkflowTrigger.json → AIOrchestrationTrigger.json} +2 -2
  162. package/json-schema/ai/{BatchAIWorkflowExecution.json → BatchAIOrchestrationExecution.json} +3 -3
  163. package/json-schema/{system → api}/ApiEndpoint.json +3 -1
  164. package/json-schema/{system → api}/ApiRoutes.json +7 -7
  165. package/json-schema/{system → api}/Discovery.json +7 -7
  166. package/json-schema/api/ExportRequest.json +402 -438
  167. package/json-schema/{system → api}/HttpMethod.json +3 -1
  168. package/json-schema/api/RouteCategory.json +17 -0
  169. package/json-schema/api/RouteDefinition.json +77 -0
  170. package/json-schema/api/RouterConfig.json +117 -0
  171. package/json-schema/{data → automation}/Flow.json +31 -1
  172. package/json-schema/{data → automation}/FlowEdge.json +9 -0
  173. package/json-schema/{data/WorkflowRule.json → automation/TimeTrigger.json} +35 -25
  174. package/json-schema/automation/WorkflowRule.json +1031 -0
  175. package/json-schema/data/AggregationNode.json +23 -0
  176. package/json-schema/data/AsyncValidation.json +49 -2
  177. package/json-schema/data/ComparisonOperator.json +52 -0
  178. package/json-schema/data/ConditionalValidation.json +693 -46
  179. package/json-schema/data/CrossFieldValidation.json +33 -2
  180. package/json-schema/data/CurrencyConfig.json +35 -0
  181. package/json-schema/data/CurrencyValue.json +26 -0
  182. package/json-schema/data/CustomValidator.json +37 -10
  183. package/json-schema/data/Field.json +30 -0
  184. package/json-schema/data/FieldOperators.json +78 -0
  185. package/json-schema/data/FieldReference.json +19 -0
  186. package/json-schema/data/FormatValidation.json +33 -2
  187. package/json-schema/data/Hook.json +95 -0
  188. package/json-schema/data/HookContext.json +88 -0
  189. package/json-schema/data/HookEvent.json +29 -0
  190. package/json-schema/data/Index.json +10 -0
  191. package/json-schema/data/JSONValidation.json +85 -0
  192. package/json-schema/data/JoinNode.json +197 -213
  193. package/json-schema/data/{TriggerAction.json → JoinStrategy.json} +6 -5
  194. package/json-schema/data/NormalizedFilter.json +234 -0
  195. package/json-schema/data/Object.json +1580 -28
  196. package/json-schema/data/ObjectCapabilities.json +30 -12
  197. package/json-schema/data/Query.json +246 -262
  198. package/json-schema/data/RangeOperator.json +26 -0
  199. package/json-schema/data/ScriptValidation.json +33 -2
  200. package/json-schema/data/SearchConfig.json +36 -0
  201. package/json-schema/data/StateMachineValidation.json +33 -2
  202. package/json-schema/data/UniquenessValidation.json +33 -2
  203. package/json-schema/data/ValidationRule.json +693 -46
  204. package/json-schema/{system → driver}/Datasource.json +35 -0
  205. package/json-schema/{system → driver}/DriverCapabilities.json +10 -0
  206. package/json-schema/{system → driver}/DriverInterface.json +10 -0
  207. package/json-schema/{system → driver}/DriverOptions.json +11 -0
  208. package/json-schema/driver/MongoConfig.json +82 -0
  209. package/json-schema/driver/PostgresConfig.json +98 -0
  210. package/json-schema/hub/BillOfMaterials.json +70 -0
  211. package/json-schema/hub/ComposerRequest.json +86 -0
  212. package/json-schema/hub/ComposerResponse.json +2645 -0
  213. package/json-schema/hub/ConflictReport.json +53 -0
  214. package/json-schema/hub/DependencyRequirement.json +36 -0
  215. package/json-schema/hub/DeploymentTarget.json +38 -0
  216. package/json-schema/hub/HubSpace.json +279 -0
  217. package/json-schema/{system → hub}/License.json +11 -3
  218. package/json-schema/hub/MarketplacePlugin.json +141 -0
  219. package/json-schema/hub/PluginAuthor.json +26 -0
  220. package/json-schema/hub/PluginPricing.json +43 -0
  221. package/json-schema/hub/SpaceSubscription.json +77 -0
  222. package/json-schema/hub/SubscriptionStatus.json +16 -0
  223. package/json-schema/{system → hub}/Tenant.json +3 -5
  224. package/json-schema/kernel/FileMetadata.json +43 -0
  225. package/json-schema/kernel/KernelContext.json +62 -0
  226. package/json-schema/kernel/LogEntry.json +63 -0
  227. package/json-schema/kernel/LogFormat.json +15 -0
  228. package/json-schema/kernel/LogLevel.json +17 -0
  229. package/json-schema/kernel/LoggerConfig.json +70 -0
  230. package/json-schema/kernel/Manifest.json +2557 -0
  231. package/json-schema/{system → kernel}/PluginContext.json +8 -1
  232. package/json-schema/kernel/RuntimeMode.json +16 -0
  233. package/json-schema/kernel/ScopedStorageConfig.json +54 -0
  234. package/json-schema/kernel/StorageAdapterType.json +17 -0
  235. package/json-schema/kernel/StorageScope.json +18 -0
  236. package/json-schema/permission/CriteriaSharingRule.json +82 -0
  237. package/json-schema/{data → permission}/OWDModel.json +2 -1
  238. package/json-schema/{data → permission}/ObjectPermission.json +15 -0
  239. package/json-schema/permission/OwnerSharingRule.json +102 -0
  240. package/json-schema/{data → permission}/PermissionSet.json +15 -0
  241. package/json-schema/permission/ShareRecipientType.json +16 -0
  242. package/json-schema/{data → permission}/SharingLevel.json +2 -1
  243. package/json-schema/permission/SharingRule.json +182 -0
  244. package/json-schema/{data → permission}/SharingRuleType.json +1 -3
  245. package/json-schema/ui/FieldWidgetProps.json +30 -0
  246. package/llms.txt +182 -0
  247. package/package.json +38 -16
  248. package/prompts/README.md +18 -0
  249. package/prompts/architecture.md +81 -0
  250. package/prompts/implement-objectai.md +39 -0
  251. package/prompts/implement-objectos.md +48 -0
  252. package/prompts/implement-objectql.md +39 -0
  253. package/prompts/implement-objectui.md +46 -0
  254. package/prompts/instructions.md +91 -0
  255. package/dist/ai/workflow-automation.zod.d.ts.map +0 -1
  256. package/dist/data/flow.zod.d.ts.map +0 -1
  257. package/dist/data/permission.zod.d.ts.map +0 -1
  258. package/dist/data/sharing.zod.d.ts +0 -63
  259. package/dist/data/sharing.zod.d.ts.map +0 -1
  260. package/dist/data/sharing.zod.js +0 -57
  261. package/dist/data/trigger.zod.d.ts +0 -354
  262. package/dist/data/trigger.zod.d.ts.map +0 -1
  263. package/dist/data/trigger.zod.js +0 -195
  264. package/dist/data/workflow.zod.d.ts +0 -986
  265. package/dist/data/workflow.zod.d.ts.map +0 -1
  266. package/dist/system/api.zod.d.ts.map +0 -1
  267. package/dist/system/auth-protocol.d.ts.map +0 -1
  268. package/dist/system/auth.zod.d.ts.map +0 -1
  269. package/dist/system/datasource.zod.d.ts.map +0 -1
  270. package/dist/system/discovery.zod.d.ts.map +0 -1
  271. package/dist/system/driver.zod.d.ts +0 -1631
  272. package/dist/system/driver.zod.d.ts.map +0 -1
  273. package/dist/system/identity.zod.d.ts.map +0 -1
  274. package/dist/system/license.zod.d.ts.map +0 -1
  275. package/dist/system/manifest.zod.d.ts +0 -397
  276. package/dist/system/manifest.zod.d.ts.map +0 -1
  277. package/dist/system/organization.zod.d.ts.map +0 -1
  278. package/dist/system/plugin.zod.d.ts.map +0 -1
  279. package/dist/system/policy.zod.d.ts.map +0 -1
  280. package/dist/system/realtime.zod.d.ts.map +0 -1
  281. package/dist/system/role.zod.d.ts.map +0 -1
  282. package/dist/system/tenant.zod.d.ts.map +0 -1
  283. package/dist/system/territory.zod.d.ts.map +0 -1
  284. package/dist/system/webhook.zod.d.ts.map +0 -1
  285. package/json-schema/README.md +0 -127
  286. package/json-schema/data/FieldMapping.json +0 -83
  287. package/json-schema/data/FilterNode.json +0 -52
  288. package/json-schema/data/FilterOperator.json +0 -26
  289. package/json-schema/data/LogicOperator.json +0 -14
  290. package/json-schema/data/Mapping.json +0 -598
  291. package/json-schema/data/SharingRule.json +0 -58
  292. package/json-schema/data/TransformType.json +0 -18
  293. package/json-schema/data/Trigger.json +0 -73
  294. package/json-schema/data/TriggerContext.json +0 -61
  295. package/json-schema/data/TriggerTiming.json +0 -13
  296. package/json-schema/system/Manifest.json +0 -315
  297. /package/dist/{system → api}/realtime.zod.js +0 -0
  298. /package/dist/{system/auth.zod.js → auth/config.zod.js} +0 -0
  299. /package/dist/{system → auth}/identity.zod.js +0 -0
  300. /package/dist/{system → auth}/organization.zod.js +0 -0
  301. /package/dist/{system → auth}/policy.zod.js +0 -0
  302. /package/dist/{system/auth-protocol.js → auth/protocol.js} +0 -0
  303. /package/dist/{system → auth}/role.zod.d.ts +0 -0
  304. /package/dist/{system → auth}/role.zod.js +0 -0
  305. /package/dist/{system → automation}/webhook.zod.js +0 -0
  306. /package/dist/{system → permission}/territory.zod.d.ts +0 -0
  307. /package/dist/{system → permission}/territory.zod.js +0 -0
  308. /package/json-schema/{system → api}/ApiCapabilities.json +0 -0
  309. /package/json-schema/{system → api}/ApiMapping.json +0 -0
  310. /package/json-schema/{system → api}/Presence.json +0 -0
  311. /package/json-schema/{system → api}/PresenceStatus.json +0 -0
  312. /package/json-schema/{system → api}/RateLimit.json +0 -0
  313. /package/json-schema/{system → api}/RealtimeAction.json +0 -0
  314. /package/json-schema/{system → api}/RealtimeEvent.json +0 -0
  315. /package/json-schema/{system → api}/RealtimeEventType.json +0 -0
  316. /package/json-schema/{system → api}/Subscription.json +0 -0
  317. /package/json-schema/{system → api}/SubscriptionEvent.json +0 -0
  318. /package/json-schema/{system → api}/TransportProtocol.json +0 -0
  319. /package/json-schema/{system → auth}/Account.json +0 -0
  320. /package/json-schema/{system → auth}/AccountLinkingConfig.json +0 -0
  321. /package/json-schema/{system → auth}/AuditPolicy.json +0 -0
  322. /package/json-schema/{system → auth}/AuthConfig.json +0 -0
  323. /package/json-schema/{system → auth}/AuthPluginConfig.json +0 -0
  324. /package/json-schema/{system → auth}/AuthStrategy.json +0 -0
  325. /package/json-schema/{system → auth}/CSRFConfig.json +0 -0
  326. /package/json-schema/{system → auth}/DatabaseAdapter.json +0 -0
  327. /package/json-schema/{system → auth}/DatabaseMapping.json +0 -0
  328. /package/json-schema/{system → auth}/EmailPasswordConfig.json +0 -0
  329. /package/json-schema/{system → auth}/EnterpriseAuthConfig.json +0 -0
  330. /package/json-schema/{system → auth}/Invitation.json +0 -0
  331. /package/json-schema/{system → auth}/InvitationStatus.json +0 -0
  332. /package/json-schema/{system → auth}/LDAPConfig.json +0 -0
  333. /package/json-schema/{system → auth}/MagicLinkConfig.json +0 -0
  334. /package/json-schema/{system → auth}/Member.json +0 -0
  335. /package/json-schema/{system → auth}/NetworkPolicy.json +0 -0
  336. /package/json-schema/{system → auth}/OAuthProvider.json +0 -0
  337. /package/json-schema/{system → auth}/OIDCConfig.json +0 -0
  338. /package/json-schema/{system → auth}/Organization.json +0 -0
  339. /package/json-schema/{system → auth}/PasskeyConfig.json +0 -0
  340. /package/json-schema/{system → auth}/PasswordPolicy.json +0 -0
  341. /package/json-schema/{system → auth}/Policy.json +0 -0
  342. /package/json-schema/{system → auth}/RateLimitConfig.json +0 -0
  343. /package/json-schema/{system → auth}/Role.json +0 -0
  344. /package/json-schema/{system → auth}/SAMLConfig.json +0 -0
  345. /package/json-schema/{system → auth}/Session.json +0 -0
  346. /package/json-schema/{system → auth}/SessionConfig.json +0 -0
  347. /package/json-schema/{system → auth}/SessionPolicy.json +0 -0
  348. /package/json-schema/{system → auth}/StandardAuthProvider.json +0 -0
  349. /package/json-schema/{system → auth}/TwoFactorConfig.json +0 -0
  350. /package/json-schema/{system → auth}/User.json +0 -0
  351. /package/json-schema/{system → auth}/UserFieldMapping.json +0 -0
  352. /package/json-schema/{system → auth}/VerificationToken.json +0 -0
  353. /package/json-schema/{data → automation}/CustomScriptAction.json +0 -0
  354. /package/json-schema/{data → automation}/EmailAlertAction.json +0 -0
  355. /package/json-schema/{data → automation}/FieldUpdateAction.json +0 -0
  356. /package/json-schema/{data → automation}/FlowNode.json +0 -0
  357. /package/json-schema/{data → automation}/FlowNodeAction.json +0 -0
  358. /package/json-schema/{data → automation}/FlowVariable.json +0 -0
  359. /package/json-schema/{data → automation}/HttpCallAction.json +0 -0
  360. /package/json-schema/{data → automation}/PushNotificationAction.json +0 -0
  361. /package/json-schema/{data → automation}/SlackMessageAction.json +0 -0
  362. /package/json-schema/{data → automation}/SmsNotificationAction.json +0 -0
  363. /package/json-schema/{data → automation}/TaskCreationAction.json +0 -0
  364. /package/json-schema/{data → automation}/TeamsMessageAction.json +0 -0
  365. /package/json-schema/{system → automation}/Webhook.json +0 -0
  366. /package/json-schema/{system → automation}/WebhookReceiver.json +0 -0
  367. /package/json-schema/{data → automation}/WebhookTriggerAction.json +0 -0
  368. /package/json-schema/{system → automation}/WebhookTriggerType.json +0 -0
  369. /package/json-schema/{data → automation}/WorkflowAction.json +0 -0
  370. /package/json-schema/{data → automation}/WorkflowTriggerType.json +0 -0
  371. /package/json-schema/{system → driver}/DatasourceCapabilities.json +0 -0
  372. /package/json-schema/{system → driver}/DriverDefinition.json +0 -0
  373. /package/json-schema/{system → driver}/DriverType.json +0 -0
  374. /package/json-schema/{system → hub}/DatabaseLevelIsolationStrategy.json +0 -0
  375. /package/json-schema/{system → hub}/Feature.json +0 -0
  376. /package/json-schema/{system → hub}/LevelIsolationStrategySchema.json +0 -0
  377. /package/json-schema/{system → hub}/MetricType.json +0 -0
  378. /package/json-schema/{system → hub}/Plan.json +0 -0
  379. /package/json-schema/{system → hub}/RowLevelIsolationStrategy.json +0 -0
  380. /package/json-schema/{system → hub}/TenantIsolationConfig.json +0 -0
  381. /package/json-schema/{system → hub}/TenantIsolationLevel.json +0 -0
  382. /package/json-schema/{system → hub}/TenantQuota.json +0 -0
  383. /package/json-schema/{system → hub}/TenantSecurityPolicy.json +0 -0
  384. /package/json-schema/{system → kernel}/I18nContext.json +0 -0
  385. /package/json-schema/{system → kernel}/Logger.json +0 -0
  386. /package/json-schema/{system → kernel}/ObjectQLClient.json +0 -0
  387. /package/json-schema/{system → kernel}/Plugin.json +0 -0
  388. /package/json-schema/{system → kernel}/PluginLifecycle.json +0 -0
  389. /package/json-schema/{system → kernel}/Router.json +0 -0
  390. /package/json-schema/{system → kernel}/Scheduler.json +0 -0
  391. /package/json-schema/{system → kernel}/ScopedStorage.json +0 -0
  392. /package/json-schema/{system → kernel}/SystemAPI.json +0 -0
  393. /package/json-schema/{data → permission}/FieldPermission.json +0 -0
  394. /package/json-schema/{system → permission}/Territory.json +0 -0
  395. /package/json-schema/{system → permission}/TerritoryModel.json +0 -0
  396. /package/json-schema/{system → permission}/TerritoryType.json +0 -0
@@ -0,0 +1,2768 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * # Cloud Composer Protocol
4
+ *
5
+ * Defines the interface for the ObjectStack Composer Service.
6
+ * The Composer is responsible for "compiling" a Tenant's configuration (BOM)
7
+ * into a single executable System Manifest.
8
+ */
9
+ /**
10
+ * Dependency Requirement
11
+ * Specifies a plugin and its version constraints.
12
+ */
13
+ export declare const DependencyRequirementSchema: z.ZodObject<{
14
+ id: z.ZodString;
15
+ version: z.ZodDefault<z.ZodString>;
16
+ /**
17
+ * Configuration Overrides
18
+ * Tenant-specific settings that override plugin defaults.
19
+ * Example: { "currency": "USD", "apiKey": "..." }
20
+ */
21
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
22
+ /**
23
+ * Feature Flags
24
+ * Enable/Disable specific features within the plugin.
25
+ */
26
+ features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id: string;
29
+ version: string;
30
+ configuration?: Record<string, any> | undefined;
31
+ features?: Record<string, boolean> | undefined;
32
+ }, {
33
+ id: string;
34
+ version?: string | undefined;
35
+ configuration?: Record<string, any> | undefined;
36
+ features?: Record<string, boolean> | undefined;
37
+ }>;
38
+ /**
39
+ * Bill of Materials (BOM)
40
+ * The "Shopping List" for a specific tenant.
41
+ * Represents the high-level intent of what the tenant wants to install.
42
+ */
43
+ export declare const BillOfMaterialsSchema: z.ZodObject<{
44
+ tenantId: z.ZodString;
45
+ /**
46
+ * List of installed plugins/apps.
47
+ * implementation order matters (later plugins override earlier ones by default).
48
+ */
49
+ dependencies: z.ZodArray<z.ZodObject<{
50
+ id: z.ZodString;
51
+ version: z.ZodDefault<z.ZodString>;
52
+ /**
53
+ * Configuration Overrides
54
+ * Tenant-specific settings that override plugin defaults.
55
+ * Example: { "currency": "USD", "apiKey": "..." }
56
+ */
57
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
58
+ /**
59
+ * Feature Flags
60
+ * Enable/Disable specific features within the plugin.
61
+ */
62
+ features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ id: string;
65
+ version: string;
66
+ configuration?: Record<string, any> | undefined;
67
+ features?: Record<string, boolean> | undefined;
68
+ }, {
69
+ id: string;
70
+ version?: string | undefined;
71
+ configuration?: Record<string, any> | undefined;
72
+ features?: Record<string, boolean> | undefined;
73
+ }>, "many">;
74
+ /**
75
+ * Environment Variables injection.
76
+ * Maps abstract keys to secure vault references or concrete values.
77
+ */
78
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
79
+ /**
80
+ * Global Resolution Strategy
81
+ * How to handle conflicts when multiple plugins define the same resource.
82
+ */
83
+ resolutionStrategy: z.ZodDefault<z.ZodEnum<["strict", "override", "merge"]>>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ tenantId: string;
86
+ dependencies: {
87
+ id: string;
88
+ version: string;
89
+ configuration?: Record<string, any> | undefined;
90
+ features?: Record<string, boolean> | undefined;
91
+ }[];
92
+ resolutionStrategy: "strict" | "merge" | "override";
93
+ environment?: Record<string, string> | undefined;
94
+ }, {
95
+ tenantId: string;
96
+ dependencies: {
97
+ id: string;
98
+ version?: string | undefined;
99
+ configuration?: Record<string, any> | undefined;
100
+ features?: Record<string, boolean> | undefined;
101
+ }[];
102
+ environment?: Record<string, string> | undefined;
103
+ resolutionStrategy?: "strict" | "merge" | "override" | undefined;
104
+ }>;
105
+ /**
106
+ * Conflict Report
107
+ * Detailed information about collision during composition.
108
+ */
109
+ export declare const ConflictReportSchema: z.ZodObject<{
110
+ resourceType: z.ZodEnum<["object", "field", "api", "ui"]>;
111
+ resourceId: z.ZodString;
112
+ sources: z.ZodArray<z.ZodString, "many">;
113
+ resolution: z.ZodString;
114
+ severity: z.ZodEnum<["info", "warning", "error"]>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ severity: "error" | "warning" | "info";
117
+ resourceType: "object" | "field" | "api" | "ui";
118
+ resourceId: string;
119
+ sources: string[];
120
+ resolution: string;
121
+ }, {
122
+ severity: "error" | "warning" | "info";
123
+ resourceType: "object" | "field" | "api" | "ui";
124
+ resourceId: string;
125
+ sources: string[];
126
+ resolution: string;
127
+ }>;
128
+ /**
129
+ * Composer Request
130
+ * The RPC payload sent to the Composer Service.
131
+ */
132
+ export declare const ComposerRequestSchema: z.ZodObject<{
133
+ bom: z.ZodObject<{
134
+ tenantId: z.ZodString;
135
+ /**
136
+ * List of installed plugins/apps.
137
+ * implementation order matters (later plugins override earlier ones by default).
138
+ */
139
+ dependencies: z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ version: z.ZodDefault<z.ZodString>;
142
+ /**
143
+ * Configuration Overrides
144
+ * Tenant-specific settings that override plugin defaults.
145
+ * Example: { "currency": "USD", "apiKey": "..." }
146
+ */
147
+ configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
148
+ /**
149
+ * Feature Flags
150
+ * Enable/Disable specific features within the plugin.
151
+ */
152
+ features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ id: string;
155
+ version: string;
156
+ configuration?: Record<string, any> | undefined;
157
+ features?: Record<string, boolean> | undefined;
158
+ }, {
159
+ id: string;
160
+ version?: string | undefined;
161
+ configuration?: Record<string, any> | undefined;
162
+ features?: Record<string, boolean> | undefined;
163
+ }>, "many">;
164
+ /**
165
+ * Environment Variables injection.
166
+ * Maps abstract keys to secure vault references or concrete values.
167
+ */
168
+ environment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
169
+ /**
170
+ * Global Resolution Strategy
171
+ * How to handle conflicts when multiple plugins define the same resource.
172
+ */
173
+ resolutionStrategy: z.ZodDefault<z.ZodEnum<["strict", "override", "merge"]>>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ tenantId: string;
176
+ dependencies: {
177
+ id: string;
178
+ version: string;
179
+ configuration?: Record<string, any> | undefined;
180
+ features?: Record<string, boolean> | undefined;
181
+ }[];
182
+ resolutionStrategy: "strict" | "merge" | "override";
183
+ environment?: Record<string, string> | undefined;
184
+ }, {
185
+ tenantId: string;
186
+ dependencies: {
187
+ id: string;
188
+ version?: string | undefined;
189
+ configuration?: Record<string, any> | undefined;
190
+ features?: Record<string, boolean> | undefined;
191
+ }[];
192
+ environment?: Record<string, string> | undefined;
193
+ resolutionStrategy?: "strict" | "merge" | "override" | undefined;
194
+ }>;
195
+ /**
196
+ * Target Runtime Version
197
+ * Ensure generated manifest is compatible with the specific runtime version.
198
+ */
199
+ runtimeVersion: z.ZodOptional<z.ZodString>;
200
+ /**
201
+ * Dry Run
202
+ * If true, generates report but does not persist the manifest.
203
+ */
204
+ dryRun: z.ZodDefault<z.ZodBoolean>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ bom: {
207
+ tenantId: string;
208
+ dependencies: {
209
+ id: string;
210
+ version: string;
211
+ configuration?: Record<string, any> | undefined;
212
+ features?: Record<string, boolean> | undefined;
213
+ }[];
214
+ resolutionStrategy: "strict" | "merge" | "override";
215
+ environment?: Record<string, string> | undefined;
216
+ };
217
+ dryRun: boolean;
218
+ runtimeVersion?: string | undefined;
219
+ }, {
220
+ bom: {
221
+ tenantId: string;
222
+ dependencies: {
223
+ id: string;
224
+ version?: string | undefined;
225
+ configuration?: Record<string, any> | undefined;
226
+ features?: Record<string, boolean> | undefined;
227
+ }[];
228
+ environment?: Record<string, string> | undefined;
229
+ resolutionStrategy?: "strict" | "merge" | "override" | undefined;
230
+ };
231
+ runtimeVersion?: string | undefined;
232
+ dryRun?: boolean | undefined;
233
+ }>;
234
+ /**
235
+ * Composer Response
236
+ * The result of the compilation process.
237
+ */
238
+ export declare const ComposerResponseSchema: z.ZodObject<{
239
+ success: z.ZodBoolean;
240
+ /**
241
+ * The Holy Grail: The Executable System Manifest.
242
+ * This is what the Runtime loads to boot.
243
+ */
244
+ manifest: z.ZodOptional<z.ZodObject<{
245
+ id: z.ZodString;
246
+ version: z.ZodString;
247
+ type: z.ZodEnum<["app", "plugin", "driver", "module"]>;
248
+ name: z.ZodString;
249
+ description: z.ZodOptional<z.ZodString>;
250
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
251
+ objects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
252
+ definitions: z.ZodOptional<z.ZodObject<{
253
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
254
+ name: z.ZodString;
255
+ label: z.ZodOptional<z.ZodString>;
256
+ pluralLabel: z.ZodOptional<z.ZodString>;
257
+ description: z.ZodOptional<z.ZodString>;
258
+ icon: z.ZodOptional<z.ZodString>;
259
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
260
+ active: z.ZodDefault<z.ZodBoolean>;
261
+ isSystem: z.ZodDefault<z.ZodBoolean>;
262
+ abstract: z.ZodDefault<z.ZodBoolean>;
263
+ datasource: z.ZodDefault<z.ZodString>;
264
+ tableName: z.ZodOptional<z.ZodString>;
265
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
266
+ name: z.ZodOptional<z.ZodString>;
267
+ label: z.ZodOptional<z.ZodString>;
268
+ type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "geolocation", "address", "code", "color", "rating", "slider", "signature", "qrcode"]>;
269
+ description: z.ZodOptional<z.ZodString>;
270
+ format: z.ZodOptional<z.ZodString>;
271
+ required: z.ZodDefault<z.ZodBoolean>;
272
+ searchable: z.ZodDefault<z.ZodBoolean>;
273
+ multiple: z.ZodDefault<z.ZodBoolean>;
274
+ unique: z.ZodDefault<z.ZodBoolean>;
275
+ defaultValue: z.ZodOptional<z.ZodAny>;
276
+ maxLength: z.ZodOptional<z.ZodNumber>;
277
+ minLength: z.ZodOptional<z.ZodNumber>;
278
+ precision: z.ZodOptional<z.ZodNumber>;
279
+ scale: z.ZodOptional<z.ZodNumber>;
280
+ min: z.ZodOptional<z.ZodNumber>;
281
+ max: z.ZodOptional<z.ZodNumber>;
282
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
283
+ label: z.ZodString;
284
+ value: z.ZodString;
285
+ color: z.ZodOptional<z.ZodString>;
286
+ default: z.ZodOptional<z.ZodBoolean>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ value: string;
289
+ label: string;
290
+ color?: string | undefined;
291
+ default?: boolean | undefined;
292
+ }, {
293
+ value: string;
294
+ label: string;
295
+ color?: string | undefined;
296
+ default?: boolean | undefined;
297
+ }>, "many">>;
298
+ reference: z.ZodOptional<z.ZodString>;
299
+ referenceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
300
+ writeRequiresMasterRead: z.ZodOptional<z.ZodBoolean>;
301
+ deleteBehavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<["set_null", "cascade", "restrict"]>>>;
302
+ expression: z.ZodOptional<z.ZodString>;
303
+ formula: z.ZodOptional<z.ZodString>;
304
+ summaryOperations: z.ZodOptional<z.ZodObject<{
305
+ object: z.ZodString;
306
+ field: z.ZodString;
307
+ function: z.ZodEnum<["count", "sum", "min", "max", "avg"]>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ object: string;
310
+ function: "count" | "sum" | "avg" | "min" | "max";
311
+ field: string;
312
+ }, {
313
+ object: string;
314
+ function: "count" | "sum" | "avg" | "min" | "max";
315
+ field: string;
316
+ }>>;
317
+ language: z.ZodOptional<z.ZodString>;
318
+ theme: z.ZodOptional<z.ZodString>;
319
+ lineNumbers: z.ZodOptional<z.ZodBoolean>;
320
+ maxRating: z.ZodOptional<z.ZodNumber>;
321
+ allowHalf: z.ZodOptional<z.ZodBoolean>;
322
+ displayMap: z.ZodOptional<z.ZodBoolean>;
323
+ allowGeocoding: z.ZodOptional<z.ZodBoolean>;
324
+ addressFormat: z.ZodOptional<z.ZodEnum<["us", "uk", "international"]>>;
325
+ colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
326
+ allowAlpha: z.ZodOptional<z.ZodBoolean>;
327
+ presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
328
+ step: z.ZodOptional<z.ZodNumber>;
329
+ showValue: z.ZodOptional<z.ZodBoolean>;
330
+ marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
331
+ barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
332
+ qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
333
+ displayValue: z.ZodOptional<z.ZodBoolean>;
334
+ allowScanning: z.ZodOptional<z.ZodBoolean>;
335
+ currencyConfig: z.ZodOptional<z.ZodObject<{
336
+ precision: z.ZodDefault<z.ZodNumber>;
337
+ currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
338
+ defaultCurrency: z.ZodDefault<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ precision: number;
341
+ currencyMode: "dynamic" | "fixed";
342
+ defaultCurrency: string;
343
+ }, {
344
+ precision?: number | undefined;
345
+ currencyMode?: "dynamic" | "fixed" | undefined;
346
+ defaultCurrency?: string | undefined;
347
+ }>>;
348
+ hidden: z.ZodDefault<z.ZodBoolean>;
349
+ readonly: z.ZodDefault<z.ZodBoolean>;
350
+ encryption: z.ZodDefault<z.ZodBoolean>;
351
+ index: z.ZodDefault<z.ZodBoolean>;
352
+ externalId: z.ZodDefault<z.ZodBoolean>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
355
+ required: boolean;
356
+ searchable: boolean;
357
+ multiple: boolean;
358
+ unique: boolean;
359
+ deleteBehavior: "set_null" | "cascade" | "restrict";
360
+ hidden: boolean;
361
+ readonly: boolean;
362
+ encryption: boolean;
363
+ index: boolean;
364
+ externalId: boolean;
365
+ options?: {
366
+ value: string;
367
+ label: string;
368
+ color?: string | undefined;
369
+ default?: boolean | undefined;
370
+ }[] | undefined;
371
+ min?: number | undefined;
372
+ max?: number | undefined;
373
+ formula?: string | undefined;
374
+ label?: string | undefined;
375
+ precision?: number | undefined;
376
+ name?: string | undefined;
377
+ description?: string | undefined;
378
+ format?: string | undefined;
379
+ defaultValue?: any;
380
+ maxLength?: number | undefined;
381
+ minLength?: number | undefined;
382
+ scale?: number | undefined;
383
+ reference?: string | undefined;
384
+ referenceFilters?: string[] | undefined;
385
+ writeRequiresMasterRead?: boolean | undefined;
386
+ expression?: string | undefined;
387
+ summaryOperations?: {
388
+ object: string;
389
+ function: "count" | "sum" | "avg" | "min" | "max";
390
+ field: string;
391
+ } | undefined;
392
+ language?: string | undefined;
393
+ theme?: string | undefined;
394
+ lineNumbers?: boolean | undefined;
395
+ maxRating?: number | undefined;
396
+ allowHalf?: boolean | undefined;
397
+ displayMap?: boolean | undefined;
398
+ allowGeocoding?: boolean | undefined;
399
+ addressFormat?: "us" | "uk" | "international" | undefined;
400
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
401
+ allowAlpha?: boolean | undefined;
402
+ presetColors?: string[] | undefined;
403
+ step?: number | undefined;
404
+ showValue?: boolean | undefined;
405
+ marks?: Record<string, string> | undefined;
406
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
407
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
408
+ displayValue?: boolean | undefined;
409
+ allowScanning?: boolean | undefined;
410
+ currencyConfig?: {
411
+ precision: number;
412
+ currencyMode: "dynamic" | "fixed";
413
+ defaultCurrency: string;
414
+ } | undefined;
415
+ }, {
416
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
417
+ options?: {
418
+ value: string;
419
+ label: string;
420
+ color?: string | undefined;
421
+ default?: boolean | undefined;
422
+ }[] | undefined;
423
+ required?: boolean | undefined;
424
+ min?: number | undefined;
425
+ max?: number | undefined;
426
+ formula?: string | undefined;
427
+ label?: string | undefined;
428
+ precision?: number | undefined;
429
+ name?: string | undefined;
430
+ description?: string | undefined;
431
+ format?: string | undefined;
432
+ searchable?: boolean | undefined;
433
+ multiple?: boolean | undefined;
434
+ unique?: boolean | undefined;
435
+ defaultValue?: any;
436
+ maxLength?: number | undefined;
437
+ minLength?: number | undefined;
438
+ scale?: number | undefined;
439
+ reference?: string | undefined;
440
+ referenceFilters?: string[] | undefined;
441
+ writeRequiresMasterRead?: boolean | undefined;
442
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
443
+ expression?: string | undefined;
444
+ summaryOperations?: {
445
+ object: string;
446
+ function: "count" | "sum" | "avg" | "min" | "max";
447
+ field: string;
448
+ } | undefined;
449
+ language?: string | undefined;
450
+ theme?: string | undefined;
451
+ lineNumbers?: boolean | undefined;
452
+ maxRating?: number | undefined;
453
+ allowHalf?: boolean | undefined;
454
+ displayMap?: boolean | undefined;
455
+ allowGeocoding?: boolean | undefined;
456
+ addressFormat?: "us" | "uk" | "international" | undefined;
457
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
458
+ allowAlpha?: boolean | undefined;
459
+ presetColors?: string[] | undefined;
460
+ step?: number | undefined;
461
+ showValue?: boolean | undefined;
462
+ marks?: Record<string, string> | undefined;
463
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
464
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
465
+ displayValue?: boolean | undefined;
466
+ allowScanning?: boolean | undefined;
467
+ currencyConfig?: {
468
+ precision?: number | undefined;
469
+ currencyMode?: "dynamic" | "fixed" | undefined;
470
+ defaultCurrency?: string | undefined;
471
+ } | undefined;
472
+ hidden?: boolean | undefined;
473
+ readonly?: boolean | undefined;
474
+ encryption?: boolean | undefined;
475
+ index?: boolean | undefined;
476
+ externalId?: boolean | undefined;
477
+ }>>;
478
+ indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
479
+ name: z.ZodOptional<z.ZodString>;
480
+ fields: z.ZodArray<z.ZodString, "many">;
481
+ unique: z.ZodOptional<z.ZodBoolean>;
482
+ type: z.ZodOptional<z.ZodEnum<["btree", "hash", "gin", "gist"]>>;
483
+ }, "strip", z.ZodTypeAny, {
484
+ fields: string[];
485
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
486
+ name?: string | undefined;
487
+ unique?: boolean | undefined;
488
+ }, {
489
+ fields: string[];
490
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
491
+ name?: string | undefined;
492
+ unique?: boolean | undefined;
493
+ }>, "many">>;
494
+ validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
495
+ titleFormat: z.ZodOptional<z.ZodString>;
496
+ compactLayout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
497
+ search: z.ZodOptional<z.ZodObject<{
498
+ fields: z.ZodArray<z.ZodString, "many">;
499
+ displayFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
500
+ filters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
501
+ }, "strip", z.ZodTypeAny, {
502
+ fields: string[];
503
+ displayFields?: string[] | undefined;
504
+ filters?: string[] | undefined;
505
+ }, {
506
+ fields: string[];
507
+ displayFields?: string[] | undefined;
508
+ filters?: string[] | undefined;
509
+ }>>;
510
+ enable: z.ZodOptional<z.ZodObject<{
511
+ trackHistory: z.ZodDefault<z.ZodBoolean>;
512
+ searchable: z.ZodDefault<z.ZodBoolean>;
513
+ apiEnabled: z.ZodDefault<z.ZodBoolean>;
514
+ apiMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["get", "list", "create", "update", "delete", "upsert", "bulk", "aggregate", "history", "search", "restore", "purge", "import", "export"]>, "many">>;
515
+ files: z.ZodDefault<z.ZodBoolean>;
516
+ feeds: z.ZodDefault<z.ZodBoolean>;
517
+ activities: z.ZodDefault<z.ZodBoolean>;
518
+ trash: z.ZodDefault<z.ZodBoolean>;
519
+ mru: z.ZodDefault<z.ZodBoolean>;
520
+ clone: z.ZodDefault<z.ZodBoolean>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ searchable: boolean;
523
+ trackHistory: boolean;
524
+ apiEnabled: boolean;
525
+ files: boolean;
526
+ feeds: boolean;
527
+ activities: boolean;
528
+ trash: boolean;
529
+ mru: boolean;
530
+ clone: boolean;
531
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
532
+ }, {
533
+ searchable?: boolean | undefined;
534
+ trackHistory?: boolean | undefined;
535
+ apiEnabled?: boolean | undefined;
536
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
537
+ files?: boolean | undefined;
538
+ feeds?: boolean | undefined;
539
+ activities?: boolean | undefined;
540
+ trash?: boolean | undefined;
541
+ mru?: boolean | undefined;
542
+ clone?: boolean | undefined;
543
+ }>>;
544
+ }, "strip", z.ZodTypeAny, {
545
+ fields: Record<string, {
546
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
547
+ required: boolean;
548
+ searchable: boolean;
549
+ multiple: boolean;
550
+ unique: boolean;
551
+ deleteBehavior: "set_null" | "cascade" | "restrict";
552
+ hidden: boolean;
553
+ readonly: boolean;
554
+ encryption: boolean;
555
+ index: boolean;
556
+ externalId: boolean;
557
+ options?: {
558
+ value: string;
559
+ label: string;
560
+ color?: string | undefined;
561
+ default?: boolean | undefined;
562
+ }[] | undefined;
563
+ min?: number | undefined;
564
+ max?: number | undefined;
565
+ formula?: string | undefined;
566
+ label?: string | undefined;
567
+ precision?: number | undefined;
568
+ name?: string | undefined;
569
+ description?: string | undefined;
570
+ format?: string | undefined;
571
+ defaultValue?: any;
572
+ maxLength?: number | undefined;
573
+ minLength?: number | undefined;
574
+ scale?: number | undefined;
575
+ reference?: string | undefined;
576
+ referenceFilters?: string[] | undefined;
577
+ writeRequiresMasterRead?: boolean | undefined;
578
+ expression?: string | undefined;
579
+ summaryOperations?: {
580
+ object: string;
581
+ function: "count" | "sum" | "avg" | "min" | "max";
582
+ field: string;
583
+ } | undefined;
584
+ language?: string | undefined;
585
+ theme?: string | undefined;
586
+ lineNumbers?: boolean | undefined;
587
+ maxRating?: number | undefined;
588
+ allowHalf?: boolean | undefined;
589
+ displayMap?: boolean | undefined;
590
+ allowGeocoding?: boolean | undefined;
591
+ addressFormat?: "us" | "uk" | "international" | undefined;
592
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
593
+ allowAlpha?: boolean | undefined;
594
+ presetColors?: string[] | undefined;
595
+ step?: number | undefined;
596
+ showValue?: boolean | undefined;
597
+ marks?: Record<string, string> | undefined;
598
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
599
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
600
+ displayValue?: boolean | undefined;
601
+ allowScanning?: boolean | undefined;
602
+ currencyConfig?: {
603
+ precision: number;
604
+ currencyMode: "dynamic" | "fixed";
605
+ defaultCurrency: string;
606
+ } | undefined;
607
+ }>;
608
+ name: string;
609
+ active: boolean;
610
+ isSystem: boolean;
611
+ abstract: boolean;
612
+ datasource: string;
613
+ label?: string | undefined;
614
+ description?: string | undefined;
615
+ tags?: string[] | undefined;
616
+ search?: {
617
+ fields: string[];
618
+ displayFields?: string[] | undefined;
619
+ filters?: string[] | undefined;
620
+ } | undefined;
621
+ pluralLabel?: string | undefined;
622
+ icon?: string | undefined;
623
+ tableName?: string | undefined;
624
+ indexes?: {
625
+ fields: string[];
626
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
627
+ name?: string | undefined;
628
+ unique?: boolean | undefined;
629
+ }[] | undefined;
630
+ validations?: any[] | undefined;
631
+ titleFormat?: string | undefined;
632
+ compactLayout?: string[] | undefined;
633
+ enable?: {
634
+ searchable: boolean;
635
+ trackHistory: boolean;
636
+ apiEnabled: boolean;
637
+ files: boolean;
638
+ feeds: boolean;
639
+ activities: boolean;
640
+ trash: boolean;
641
+ mru: boolean;
642
+ clone: boolean;
643
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
644
+ } | undefined;
645
+ }, {
646
+ fields: Record<string, {
647
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
648
+ options?: {
649
+ value: string;
650
+ label: string;
651
+ color?: string | undefined;
652
+ default?: boolean | undefined;
653
+ }[] | undefined;
654
+ required?: boolean | undefined;
655
+ min?: number | undefined;
656
+ max?: number | undefined;
657
+ formula?: string | undefined;
658
+ label?: string | undefined;
659
+ precision?: number | undefined;
660
+ name?: string | undefined;
661
+ description?: string | undefined;
662
+ format?: string | undefined;
663
+ searchable?: boolean | undefined;
664
+ multiple?: boolean | undefined;
665
+ unique?: boolean | undefined;
666
+ defaultValue?: any;
667
+ maxLength?: number | undefined;
668
+ minLength?: number | undefined;
669
+ scale?: number | undefined;
670
+ reference?: string | undefined;
671
+ referenceFilters?: string[] | undefined;
672
+ writeRequiresMasterRead?: boolean | undefined;
673
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
674
+ expression?: string | undefined;
675
+ summaryOperations?: {
676
+ object: string;
677
+ function: "count" | "sum" | "avg" | "min" | "max";
678
+ field: string;
679
+ } | undefined;
680
+ language?: string | undefined;
681
+ theme?: string | undefined;
682
+ lineNumbers?: boolean | undefined;
683
+ maxRating?: number | undefined;
684
+ allowHalf?: boolean | undefined;
685
+ displayMap?: boolean | undefined;
686
+ allowGeocoding?: boolean | undefined;
687
+ addressFormat?: "us" | "uk" | "international" | undefined;
688
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
689
+ allowAlpha?: boolean | undefined;
690
+ presetColors?: string[] | undefined;
691
+ step?: number | undefined;
692
+ showValue?: boolean | undefined;
693
+ marks?: Record<string, string> | undefined;
694
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
695
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
696
+ displayValue?: boolean | undefined;
697
+ allowScanning?: boolean | undefined;
698
+ currencyConfig?: {
699
+ precision?: number | undefined;
700
+ currencyMode?: "dynamic" | "fixed" | undefined;
701
+ defaultCurrency?: string | undefined;
702
+ } | undefined;
703
+ hidden?: boolean | undefined;
704
+ readonly?: boolean | undefined;
705
+ encryption?: boolean | undefined;
706
+ index?: boolean | undefined;
707
+ externalId?: boolean | undefined;
708
+ }>;
709
+ name: string;
710
+ label?: string | undefined;
711
+ description?: string | undefined;
712
+ active?: boolean | undefined;
713
+ tags?: string[] | undefined;
714
+ search?: {
715
+ fields: string[];
716
+ displayFields?: string[] | undefined;
717
+ filters?: string[] | undefined;
718
+ } | undefined;
719
+ pluralLabel?: string | undefined;
720
+ icon?: string | undefined;
721
+ isSystem?: boolean | undefined;
722
+ abstract?: boolean | undefined;
723
+ datasource?: string | undefined;
724
+ tableName?: string | undefined;
725
+ indexes?: {
726
+ fields: string[];
727
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
728
+ name?: string | undefined;
729
+ unique?: boolean | undefined;
730
+ }[] | undefined;
731
+ validations?: any[] | undefined;
732
+ titleFormat?: string | undefined;
733
+ compactLayout?: string[] | undefined;
734
+ enable?: {
735
+ searchable?: boolean | undefined;
736
+ trackHistory?: boolean | undefined;
737
+ apiEnabled?: boolean | undefined;
738
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
739
+ files?: boolean | undefined;
740
+ feeds?: boolean | undefined;
741
+ activities?: boolean | undefined;
742
+ trash?: boolean | undefined;
743
+ mru?: boolean | undefined;
744
+ clone?: boolean | undefined;
745
+ } | undefined;
746
+ }> & {
747
+ create: <T extends z.input<z.ZodObject<{
748
+ name: z.ZodString;
749
+ label: z.ZodOptional<z.ZodString>;
750
+ pluralLabel: z.ZodOptional<z.ZodString>;
751
+ description: z.ZodOptional<z.ZodString>;
752
+ icon: z.ZodOptional<z.ZodString>;
753
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
754
+ active: z.ZodDefault<z.ZodBoolean>;
755
+ isSystem: z.ZodDefault<z.ZodBoolean>;
756
+ abstract: z.ZodDefault<z.ZodBoolean>;
757
+ datasource: z.ZodDefault<z.ZodString>;
758
+ tableName: z.ZodOptional<z.ZodString>;
759
+ fields: z.ZodRecord<z.ZodString, z.ZodObject<{
760
+ name: z.ZodOptional<z.ZodString>;
761
+ label: z.ZodOptional<z.ZodString>;
762
+ type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "geolocation", "address", "code", "color", "rating", "slider", "signature", "qrcode"]>;
763
+ description: z.ZodOptional<z.ZodString>;
764
+ format: z.ZodOptional<z.ZodString>;
765
+ required: z.ZodDefault<z.ZodBoolean>;
766
+ searchable: z.ZodDefault<z.ZodBoolean>;
767
+ multiple: z.ZodDefault<z.ZodBoolean>;
768
+ unique: z.ZodDefault<z.ZodBoolean>;
769
+ defaultValue: z.ZodOptional<z.ZodAny>;
770
+ maxLength: z.ZodOptional<z.ZodNumber>;
771
+ minLength: z.ZodOptional<z.ZodNumber>;
772
+ precision: z.ZodOptional<z.ZodNumber>;
773
+ scale: z.ZodOptional<z.ZodNumber>;
774
+ min: z.ZodOptional<z.ZodNumber>;
775
+ max: z.ZodOptional<z.ZodNumber>;
776
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
+ label: z.ZodString;
778
+ value: z.ZodString;
779
+ color: z.ZodOptional<z.ZodString>;
780
+ default: z.ZodOptional<z.ZodBoolean>;
781
+ }, "strip", z.ZodTypeAny, {
782
+ value: string;
783
+ label: string;
784
+ color?: string | undefined;
785
+ default?: boolean | undefined;
786
+ }, {
787
+ value: string;
788
+ label: string;
789
+ color?: string | undefined;
790
+ default?: boolean | undefined;
791
+ }>, "many">>;
792
+ reference: z.ZodOptional<z.ZodString>;
793
+ referenceFilters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
794
+ writeRequiresMasterRead: z.ZodOptional<z.ZodBoolean>;
795
+ deleteBehavior: z.ZodDefault<z.ZodOptional<z.ZodEnum<["set_null", "cascade", "restrict"]>>>;
796
+ expression: z.ZodOptional<z.ZodString>;
797
+ formula: z.ZodOptional<z.ZodString>;
798
+ summaryOperations: z.ZodOptional<z.ZodObject<{
799
+ object: z.ZodString;
800
+ field: z.ZodString;
801
+ function: z.ZodEnum<["count", "sum", "min", "max", "avg"]>;
802
+ }, "strip", z.ZodTypeAny, {
803
+ object: string;
804
+ function: "count" | "sum" | "avg" | "min" | "max";
805
+ field: string;
806
+ }, {
807
+ object: string;
808
+ function: "count" | "sum" | "avg" | "min" | "max";
809
+ field: string;
810
+ }>>;
811
+ language: z.ZodOptional<z.ZodString>;
812
+ theme: z.ZodOptional<z.ZodString>;
813
+ lineNumbers: z.ZodOptional<z.ZodBoolean>;
814
+ maxRating: z.ZodOptional<z.ZodNumber>;
815
+ allowHalf: z.ZodOptional<z.ZodBoolean>;
816
+ displayMap: z.ZodOptional<z.ZodBoolean>;
817
+ allowGeocoding: z.ZodOptional<z.ZodBoolean>;
818
+ addressFormat: z.ZodOptional<z.ZodEnum<["us", "uk", "international"]>>;
819
+ colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
820
+ allowAlpha: z.ZodOptional<z.ZodBoolean>;
821
+ presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
822
+ step: z.ZodOptional<z.ZodNumber>;
823
+ showValue: z.ZodOptional<z.ZodBoolean>;
824
+ marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
825
+ barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
826
+ qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
827
+ displayValue: z.ZodOptional<z.ZodBoolean>;
828
+ allowScanning: z.ZodOptional<z.ZodBoolean>;
829
+ currencyConfig: z.ZodOptional<z.ZodObject<{
830
+ precision: z.ZodDefault<z.ZodNumber>;
831
+ currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
832
+ defaultCurrency: z.ZodDefault<z.ZodString>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ precision: number;
835
+ currencyMode: "dynamic" | "fixed";
836
+ defaultCurrency: string;
837
+ }, {
838
+ precision?: number | undefined;
839
+ currencyMode?: "dynamic" | "fixed" | undefined;
840
+ defaultCurrency?: string | undefined;
841
+ }>>;
842
+ hidden: z.ZodDefault<z.ZodBoolean>;
843
+ readonly: z.ZodDefault<z.ZodBoolean>;
844
+ encryption: z.ZodDefault<z.ZodBoolean>;
845
+ index: z.ZodDefault<z.ZodBoolean>;
846
+ externalId: z.ZodDefault<z.ZodBoolean>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
849
+ required: boolean;
850
+ searchable: boolean;
851
+ multiple: boolean;
852
+ unique: boolean;
853
+ deleteBehavior: "set_null" | "cascade" | "restrict";
854
+ hidden: boolean;
855
+ readonly: boolean;
856
+ encryption: boolean;
857
+ index: boolean;
858
+ externalId: boolean;
859
+ options?: {
860
+ value: string;
861
+ label: string;
862
+ color?: string | undefined;
863
+ default?: boolean | undefined;
864
+ }[] | undefined;
865
+ min?: number | undefined;
866
+ max?: number | undefined;
867
+ formula?: string | undefined;
868
+ label?: string | undefined;
869
+ precision?: number | undefined;
870
+ name?: string | undefined;
871
+ description?: string | undefined;
872
+ format?: string | undefined;
873
+ defaultValue?: any;
874
+ maxLength?: number | undefined;
875
+ minLength?: number | undefined;
876
+ scale?: number | undefined;
877
+ reference?: string | undefined;
878
+ referenceFilters?: string[] | undefined;
879
+ writeRequiresMasterRead?: boolean | undefined;
880
+ expression?: string | undefined;
881
+ summaryOperations?: {
882
+ object: string;
883
+ function: "count" | "sum" | "avg" | "min" | "max";
884
+ field: string;
885
+ } | undefined;
886
+ language?: string | undefined;
887
+ theme?: string | undefined;
888
+ lineNumbers?: boolean | undefined;
889
+ maxRating?: number | undefined;
890
+ allowHalf?: boolean | undefined;
891
+ displayMap?: boolean | undefined;
892
+ allowGeocoding?: boolean | undefined;
893
+ addressFormat?: "us" | "uk" | "international" | undefined;
894
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
895
+ allowAlpha?: boolean | undefined;
896
+ presetColors?: string[] | undefined;
897
+ step?: number | undefined;
898
+ showValue?: boolean | undefined;
899
+ marks?: Record<string, string> | undefined;
900
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
901
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
902
+ displayValue?: boolean | undefined;
903
+ allowScanning?: boolean | undefined;
904
+ currencyConfig?: {
905
+ precision: number;
906
+ currencyMode: "dynamic" | "fixed";
907
+ defaultCurrency: string;
908
+ } | undefined;
909
+ }, {
910
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
911
+ options?: {
912
+ value: string;
913
+ label: string;
914
+ color?: string | undefined;
915
+ default?: boolean | undefined;
916
+ }[] | undefined;
917
+ required?: boolean | undefined;
918
+ min?: number | undefined;
919
+ max?: number | undefined;
920
+ formula?: string | undefined;
921
+ label?: string | undefined;
922
+ precision?: number | undefined;
923
+ name?: string | undefined;
924
+ description?: string | undefined;
925
+ format?: string | undefined;
926
+ searchable?: boolean | undefined;
927
+ multiple?: boolean | undefined;
928
+ unique?: boolean | undefined;
929
+ defaultValue?: any;
930
+ maxLength?: number | undefined;
931
+ minLength?: number | undefined;
932
+ scale?: number | undefined;
933
+ reference?: string | undefined;
934
+ referenceFilters?: string[] | undefined;
935
+ writeRequiresMasterRead?: boolean | undefined;
936
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
937
+ expression?: string | undefined;
938
+ summaryOperations?: {
939
+ object: string;
940
+ function: "count" | "sum" | "avg" | "min" | "max";
941
+ field: string;
942
+ } | undefined;
943
+ language?: string | undefined;
944
+ theme?: string | undefined;
945
+ lineNumbers?: boolean | undefined;
946
+ maxRating?: number | undefined;
947
+ allowHalf?: boolean | undefined;
948
+ displayMap?: boolean | undefined;
949
+ allowGeocoding?: boolean | undefined;
950
+ addressFormat?: "us" | "uk" | "international" | undefined;
951
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
952
+ allowAlpha?: boolean | undefined;
953
+ presetColors?: string[] | undefined;
954
+ step?: number | undefined;
955
+ showValue?: boolean | undefined;
956
+ marks?: Record<string, string> | undefined;
957
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
958
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
959
+ displayValue?: boolean | undefined;
960
+ allowScanning?: boolean | undefined;
961
+ currencyConfig?: {
962
+ precision?: number | undefined;
963
+ currencyMode?: "dynamic" | "fixed" | undefined;
964
+ defaultCurrency?: string | undefined;
965
+ } | undefined;
966
+ hidden?: boolean | undefined;
967
+ readonly?: boolean | undefined;
968
+ encryption?: boolean | undefined;
969
+ index?: boolean | undefined;
970
+ externalId?: boolean | undefined;
971
+ }>>;
972
+ indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
973
+ name: z.ZodOptional<z.ZodString>;
974
+ fields: z.ZodArray<z.ZodString, "many">;
975
+ unique: z.ZodOptional<z.ZodBoolean>;
976
+ type: z.ZodOptional<z.ZodEnum<["btree", "hash", "gin", "gist"]>>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ fields: string[];
979
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
980
+ name?: string | undefined;
981
+ unique?: boolean | undefined;
982
+ }, {
983
+ fields: string[];
984
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
985
+ name?: string | undefined;
986
+ unique?: boolean | undefined;
987
+ }>, "many">>;
988
+ validations: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
989
+ titleFormat: z.ZodOptional<z.ZodString>;
990
+ compactLayout: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
991
+ search: z.ZodOptional<z.ZodObject<{
992
+ fields: z.ZodArray<z.ZodString, "many">;
993
+ displayFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
994
+ filters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ fields: string[];
997
+ displayFields?: string[] | undefined;
998
+ filters?: string[] | undefined;
999
+ }, {
1000
+ fields: string[];
1001
+ displayFields?: string[] | undefined;
1002
+ filters?: string[] | undefined;
1003
+ }>>;
1004
+ enable: z.ZodOptional<z.ZodObject<{
1005
+ trackHistory: z.ZodDefault<z.ZodBoolean>;
1006
+ searchable: z.ZodDefault<z.ZodBoolean>;
1007
+ apiEnabled: z.ZodDefault<z.ZodBoolean>;
1008
+ apiMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<["get", "list", "create", "update", "delete", "upsert", "bulk", "aggregate", "history", "search", "restore", "purge", "import", "export"]>, "many">>;
1009
+ files: z.ZodDefault<z.ZodBoolean>;
1010
+ feeds: z.ZodDefault<z.ZodBoolean>;
1011
+ activities: z.ZodDefault<z.ZodBoolean>;
1012
+ trash: z.ZodDefault<z.ZodBoolean>;
1013
+ mru: z.ZodDefault<z.ZodBoolean>;
1014
+ clone: z.ZodDefault<z.ZodBoolean>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ searchable: boolean;
1017
+ trackHistory: boolean;
1018
+ apiEnabled: boolean;
1019
+ files: boolean;
1020
+ feeds: boolean;
1021
+ activities: boolean;
1022
+ trash: boolean;
1023
+ mru: boolean;
1024
+ clone: boolean;
1025
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
1026
+ }, {
1027
+ searchable?: boolean | undefined;
1028
+ trackHistory?: boolean | undefined;
1029
+ apiEnabled?: boolean | undefined;
1030
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
1031
+ files?: boolean | undefined;
1032
+ feeds?: boolean | undefined;
1033
+ activities?: boolean | undefined;
1034
+ trash?: boolean | undefined;
1035
+ mru?: boolean | undefined;
1036
+ clone?: boolean | undefined;
1037
+ }>>;
1038
+ }, "strip", z.ZodTypeAny, {
1039
+ fields: Record<string, {
1040
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
1041
+ required: boolean;
1042
+ searchable: boolean;
1043
+ multiple: boolean;
1044
+ unique: boolean;
1045
+ deleteBehavior: "set_null" | "cascade" | "restrict";
1046
+ hidden: boolean;
1047
+ readonly: boolean;
1048
+ encryption: boolean;
1049
+ index: boolean;
1050
+ externalId: boolean;
1051
+ options?: {
1052
+ value: string;
1053
+ label: string;
1054
+ color?: string | undefined;
1055
+ default?: boolean | undefined;
1056
+ }[] | undefined;
1057
+ min?: number | undefined;
1058
+ max?: number | undefined;
1059
+ formula?: string | undefined;
1060
+ label?: string | undefined;
1061
+ precision?: number | undefined;
1062
+ name?: string | undefined;
1063
+ description?: string | undefined;
1064
+ format?: string | undefined;
1065
+ defaultValue?: any;
1066
+ maxLength?: number | undefined;
1067
+ minLength?: number | undefined;
1068
+ scale?: number | undefined;
1069
+ reference?: string | undefined;
1070
+ referenceFilters?: string[] | undefined;
1071
+ writeRequiresMasterRead?: boolean | undefined;
1072
+ expression?: string | undefined;
1073
+ summaryOperations?: {
1074
+ object: string;
1075
+ function: "count" | "sum" | "avg" | "min" | "max";
1076
+ field: string;
1077
+ } | undefined;
1078
+ language?: string | undefined;
1079
+ theme?: string | undefined;
1080
+ lineNumbers?: boolean | undefined;
1081
+ maxRating?: number | undefined;
1082
+ allowHalf?: boolean | undefined;
1083
+ displayMap?: boolean | undefined;
1084
+ allowGeocoding?: boolean | undefined;
1085
+ addressFormat?: "us" | "uk" | "international" | undefined;
1086
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1087
+ allowAlpha?: boolean | undefined;
1088
+ presetColors?: string[] | undefined;
1089
+ step?: number | undefined;
1090
+ showValue?: boolean | undefined;
1091
+ marks?: Record<string, string> | undefined;
1092
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1093
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1094
+ displayValue?: boolean | undefined;
1095
+ allowScanning?: boolean | undefined;
1096
+ currencyConfig?: {
1097
+ precision: number;
1098
+ currencyMode: "dynamic" | "fixed";
1099
+ defaultCurrency: string;
1100
+ } | undefined;
1101
+ }>;
1102
+ name: string;
1103
+ active: boolean;
1104
+ isSystem: boolean;
1105
+ abstract: boolean;
1106
+ datasource: string;
1107
+ label?: string | undefined;
1108
+ description?: string | undefined;
1109
+ tags?: string[] | undefined;
1110
+ search?: {
1111
+ fields: string[];
1112
+ displayFields?: string[] | undefined;
1113
+ filters?: string[] | undefined;
1114
+ } | undefined;
1115
+ pluralLabel?: string | undefined;
1116
+ icon?: string | undefined;
1117
+ tableName?: string | undefined;
1118
+ indexes?: {
1119
+ fields: string[];
1120
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
1121
+ name?: string | undefined;
1122
+ unique?: boolean | undefined;
1123
+ }[] | undefined;
1124
+ validations?: any[] | undefined;
1125
+ titleFormat?: string | undefined;
1126
+ compactLayout?: string[] | undefined;
1127
+ enable?: {
1128
+ searchable: boolean;
1129
+ trackHistory: boolean;
1130
+ apiEnabled: boolean;
1131
+ files: boolean;
1132
+ feeds: boolean;
1133
+ activities: boolean;
1134
+ trash: boolean;
1135
+ mru: boolean;
1136
+ clone: boolean;
1137
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
1138
+ } | undefined;
1139
+ }, {
1140
+ fields: Record<string, {
1141
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
1142
+ options?: {
1143
+ value: string;
1144
+ label: string;
1145
+ color?: string | undefined;
1146
+ default?: boolean | undefined;
1147
+ }[] | undefined;
1148
+ required?: boolean | undefined;
1149
+ min?: number | undefined;
1150
+ max?: number | undefined;
1151
+ formula?: string | undefined;
1152
+ label?: string | undefined;
1153
+ precision?: number | undefined;
1154
+ name?: string | undefined;
1155
+ description?: string | undefined;
1156
+ format?: string | undefined;
1157
+ searchable?: boolean | undefined;
1158
+ multiple?: boolean | undefined;
1159
+ unique?: boolean | undefined;
1160
+ defaultValue?: any;
1161
+ maxLength?: number | undefined;
1162
+ minLength?: number | undefined;
1163
+ scale?: number | undefined;
1164
+ reference?: string | undefined;
1165
+ referenceFilters?: string[] | undefined;
1166
+ writeRequiresMasterRead?: boolean | undefined;
1167
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1168
+ expression?: string | undefined;
1169
+ summaryOperations?: {
1170
+ object: string;
1171
+ function: "count" | "sum" | "avg" | "min" | "max";
1172
+ field: string;
1173
+ } | undefined;
1174
+ language?: string | undefined;
1175
+ theme?: string | undefined;
1176
+ lineNumbers?: boolean | undefined;
1177
+ maxRating?: number | undefined;
1178
+ allowHalf?: boolean | undefined;
1179
+ displayMap?: boolean | undefined;
1180
+ allowGeocoding?: boolean | undefined;
1181
+ addressFormat?: "us" | "uk" | "international" | undefined;
1182
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1183
+ allowAlpha?: boolean | undefined;
1184
+ presetColors?: string[] | undefined;
1185
+ step?: number | undefined;
1186
+ showValue?: boolean | undefined;
1187
+ marks?: Record<string, string> | undefined;
1188
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1189
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1190
+ displayValue?: boolean | undefined;
1191
+ allowScanning?: boolean | undefined;
1192
+ currencyConfig?: {
1193
+ precision?: number | undefined;
1194
+ currencyMode?: "dynamic" | "fixed" | undefined;
1195
+ defaultCurrency?: string | undefined;
1196
+ } | undefined;
1197
+ hidden?: boolean | undefined;
1198
+ readonly?: boolean | undefined;
1199
+ encryption?: boolean | undefined;
1200
+ index?: boolean | undefined;
1201
+ externalId?: boolean | undefined;
1202
+ }>;
1203
+ name: string;
1204
+ label?: string | undefined;
1205
+ description?: string | undefined;
1206
+ active?: boolean | undefined;
1207
+ tags?: string[] | undefined;
1208
+ search?: {
1209
+ fields: string[];
1210
+ displayFields?: string[] | undefined;
1211
+ filters?: string[] | undefined;
1212
+ } | undefined;
1213
+ pluralLabel?: string | undefined;
1214
+ icon?: string | undefined;
1215
+ isSystem?: boolean | undefined;
1216
+ abstract?: boolean | undefined;
1217
+ datasource?: string | undefined;
1218
+ tableName?: string | undefined;
1219
+ indexes?: {
1220
+ fields: string[];
1221
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
1222
+ name?: string | undefined;
1223
+ unique?: boolean | undefined;
1224
+ }[] | undefined;
1225
+ validations?: any[] | undefined;
1226
+ titleFormat?: string | undefined;
1227
+ compactLayout?: string[] | undefined;
1228
+ enable?: {
1229
+ searchable?: boolean | undefined;
1230
+ trackHistory?: boolean | undefined;
1231
+ apiEnabled?: boolean | undefined;
1232
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
1233
+ files?: boolean | undefined;
1234
+ feeds?: boolean | undefined;
1235
+ activities?: boolean | undefined;
1236
+ trash?: boolean | undefined;
1237
+ mru?: boolean | undefined;
1238
+ clone?: boolean | undefined;
1239
+ } | undefined;
1240
+ }>>>(config: T) => T;
1241
+ }>>;
1242
+ datasource: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1243
+ name: z.ZodString;
1244
+ label: z.ZodOptional<z.ZodString>;
1245
+ driver: z.ZodString;
1246
+ config: z.ZodRecord<z.ZodString, z.ZodAny>;
1247
+ pool: z.ZodOptional<z.ZodObject<{
1248
+ min: z.ZodDefault<z.ZodNumber>;
1249
+ max: z.ZodDefault<z.ZodNumber>;
1250
+ idleTimeoutMillis: z.ZodDefault<z.ZodNumber>;
1251
+ connectionTimeoutMillis: z.ZodDefault<z.ZodNumber>;
1252
+ }, "strip", z.ZodTypeAny, {
1253
+ min: number;
1254
+ max: number;
1255
+ idleTimeoutMillis: number;
1256
+ connectionTimeoutMillis: number;
1257
+ }, {
1258
+ min?: number | undefined;
1259
+ max?: number | undefined;
1260
+ idleTimeoutMillis?: number | undefined;
1261
+ connectionTimeoutMillis?: number | undefined;
1262
+ }>>;
1263
+ readReplicas: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>;
1264
+ capabilities: z.ZodOptional<z.ZodObject<{
1265
+ transactions: z.ZodDefault<z.ZodBoolean>;
1266
+ queryFilters: z.ZodDefault<z.ZodBoolean>;
1267
+ queryAggregations: z.ZodDefault<z.ZodBoolean>;
1268
+ querySorting: z.ZodDefault<z.ZodBoolean>;
1269
+ queryPagination: z.ZodDefault<z.ZodBoolean>;
1270
+ queryWindowFunctions: z.ZodDefault<z.ZodBoolean>;
1271
+ querySubqueries: z.ZodDefault<z.ZodBoolean>;
1272
+ joins: z.ZodDefault<z.ZodBoolean>;
1273
+ fullTextSearch: z.ZodDefault<z.ZodBoolean>;
1274
+ readOnly: z.ZodDefault<z.ZodBoolean>;
1275
+ dynamicSchema: z.ZodDefault<z.ZodBoolean>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ joins: boolean;
1278
+ transactions: boolean;
1279
+ queryFilters: boolean;
1280
+ queryAggregations: boolean;
1281
+ querySorting: boolean;
1282
+ queryPagination: boolean;
1283
+ queryWindowFunctions: boolean;
1284
+ querySubqueries: boolean;
1285
+ fullTextSearch: boolean;
1286
+ readOnly: boolean;
1287
+ dynamicSchema: boolean;
1288
+ }, {
1289
+ joins?: boolean | undefined;
1290
+ transactions?: boolean | undefined;
1291
+ queryFilters?: boolean | undefined;
1292
+ queryAggregations?: boolean | undefined;
1293
+ querySorting?: boolean | undefined;
1294
+ queryPagination?: boolean | undefined;
1295
+ queryWindowFunctions?: boolean | undefined;
1296
+ querySubqueries?: boolean | undefined;
1297
+ fullTextSearch?: boolean | undefined;
1298
+ readOnly?: boolean | undefined;
1299
+ dynamicSchema?: boolean | undefined;
1300
+ }>>;
1301
+ description: z.ZodOptional<z.ZodString>;
1302
+ active: z.ZodDefault<z.ZodBoolean>;
1303
+ }, "strip", z.ZodTypeAny, {
1304
+ name: string;
1305
+ active: boolean;
1306
+ driver: string;
1307
+ config: Record<string, any>;
1308
+ label?: string | undefined;
1309
+ description?: string | undefined;
1310
+ capabilities?: {
1311
+ joins: boolean;
1312
+ transactions: boolean;
1313
+ queryFilters: boolean;
1314
+ queryAggregations: boolean;
1315
+ querySorting: boolean;
1316
+ queryPagination: boolean;
1317
+ queryWindowFunctions: boolean;
1318
+ querySubqueries: boolean;
1319
+ fullTextSearch: boolean;
1320
+ readOnly: boolean;
1321
+ dynamicSchema: boolean;
1322
+ } | undefined;
1323
+ pool?: {
1324
+ min: number;
1325
+ max: number;
1326
+ idleTimeoutMillis: number;
1327
+ connectionTimeoutMillis: number;
1328
+ } | undefined;
1329
+ readReplicas?: Record<string, any>[] | undefined;
1330
+ }, {
1331
+ name: string;
1332
+ driver: string;
1333
+ config: Record<string, any>;
1334
+ label?: string | undefined;
1335
+ description?: string | undefined;
1336
+ active?: boolean | undefined;
1337
+ capabilities?: {
1338
+ joins?: boolean | undefined;
1339
+ transactions?: boolean | undefined;
1340
+ queryFilters?: boolean | undefined;
1341
+ queryAggregations?: boolean | undefined;
1342
+ querySorting?: boolean | undefined;
1343
+ queryPagination?: boolean | undefined;
1344
+ queryWindowFunctions?: boolean | undefined;
1345
+ querySubqueries?: boolean | undefined;
1346
+ fullTextSearch?: boolean | undefined;
1347
+ readOnly?: boolean | undefined;
1348
+ dynamicSchema?: boolean | undefined;
1349
+ } | undefined;
1350
+ pool?: {
1351
+ min?: number | undefined;
1352
+ max?: number | undefined;
1353
+ idleTimeoutMillis?: number | undefined;
1354
+ connectionTimeoutMillis?: number | undefined;
1355
+ } | undefined;
1356
+ readReplicas?: Record<string, any>[] | undefined;
1357
+ }>>>;
1358
+ }, "strip", z.ZodTypeAny, {
1359
+ datasource?: Record<string, {
1360
+ name: string;
1361
+ active: boolean;
1362
+ driver: string;
1363
+ config: Record<string, any>;
1364
+ label?: string | undefined;
1365
+ description?: string | undefined;
1366
+ capabilities?: {
1367
+ joins: boolean;
1368
+ transactions: boolean;
1369
+ queryFilters: boolean;
1370
+ queryAggregations: boolean;
1371
+ querySorting: boolean;
1372
+ queryPagination: boolean;
1373
+ queryWindowFunctions: boolean;
1374
+ querySubqueries: boolean;
1375
+ fullTextSearch: boolean;
1376
+ readOnly: boolean;
1377
+ dynamicSchema: boolean;
1378
+ } | undefined;
1379
+ pool?: {
1380
+ min: number;
1381
+ max: number;
1382
+ idleTimeoutMillis: number;
1383
+ connectionTimeoutMillis: number;
1384
+ } | undefined;
1385
+ readReplicas?: Record<string, any>[] | undefined;
1386
+ }> | undefined;
1387
+ objects?: Record<string, {
1388
+ fields: Record<string, {
1389
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
1390
+ required: boolean;
1391
+ searchable: boolean;
1392
+ multiple: boolean;
1393
+ unique: boolean;
1394
+ deleteBehavior: "set_null" | "cascade" | "restrict";
1395
+ hidden: boolean;
1396
+ readonly: boolean;
1397
+ encryption: boolean;
1398
+ index: boolean;
1399
+ externalId: boolean;
1400
+ options?: {
1401
+ value: string;
1402
+ label: string;
1403
+ color?: string | undefined;
1404
+ default?: boolean | undefined;
1405
+ }[] | undefined;
1406
+ min?: number | undefined;
1407
+ max?: number | undefined;
1408
+ formula?: string | undefined;
1409
+ label?: string | undefined;
1410
+ precision?: number | undefined;
1411
+ name?: string | undefined;
1412
+ description?: string | undefined;
1413
+ format?: string | undefined;
1414
+ defaultValue?: any;
1415
+ maxLength?: number | undefined;
1416
+ minLength?: number | undefined;
1417
+ scale?: number | undefined;
1418
+ reference?: string | undefined;
1419
+ referenceFilters?: string[] | undefined;
1420
+ writeRequiresMasterRead?: boolean | undefined;
1421
+ expression?: string | undefined;
1422
+ summaryOperations?: {
1423
+ object: string;
1424
+ function: "count" | "sum" | "avg" | "min" | "max";
1425
+ field: string;
1426
+ } | undefined;
1427
+ language?: string | undefined;
1428
+ theme?: string | undefined;
1429
+ lineNumbers?: boolean | undefined;
1430
+ maxRating?: number | undefined;
1431
+ allowHalf?: boolean | undefined;
1432
+ displayMap?: boolean | undefined;
1433
+ allowGeocoding?: boolean | undefined;
1434
+ addressFormat?: "us" | "uk" | "international" | undefined;
1435
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1436
+ allowAlpha?: boolean | undefined;
1437
+ presetColors?: string[] | undefined;
1438
+ step?: number | undefined;
1439
+ showValue?: boolean | undefined;
1440
+ marks?: Record<string, string> | undefined;
1441
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1442
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1443
+ displayValue?: boolean | undefined;
1444
+ allowScanning?: boolean | undefined;
1445
+ currencyConfig?: {
1446
+ precision: number;
1447
+ currencyMode: "dynamic" | "fixed";
1448
+ defaultCurrency: string;
1449
+ } | undefined;
1450
+ }>;
1451
+ name: string;
1452
+ active: boolean;
1453
+ isSystem: boolean;
1454
+ abstract: boolean;
1455
+ datasource: string;
1456
+ label?: string | undefined;
1457
+ description?: string | undefined;
1458
+ tags?: string[] | undefined;
1459
+ search?: {
1460
+ fields: string[];
1461
+ displayFields?: string[] | undefined;
1462
+ filters?: string[] | undefined;
1463
+ } | undefined;
1464
+ pluralLabel?: string | undefined;
1465
+ icon?: string | undefined;
1466
+ tableName?: string | undefined;
1467
+ indexes?: {
1468
+ fields: string[];
1469
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
1470
+ name?: string | undefined;
1471
+ unique?: boolean | undefined;
1472
+ }[] | undefined;
1473
+ validations?: any[] | undefined;
1474
+ titleFormat?: string | undefined;
1475
+ compactLayout?: string[] | undefined;
1476
+ enable?: {
1477
+ searchable: boolean;
1478
+ trackHistory: boolean;
1479
+ apiEnabled: boolean;
1480
+ files: boolean;
1481
+ feeds: boolean;
1482
+ activities: boolean;
1483
+ trash: boolean;
1484
+ mru: boolean;
1485
+ clone: boolean;
1486
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
1487
+ } | undefined;
1488
+ }> | undefined;
1489
+ }, {
1490
+ datasource?: Record<string, {
1491
+ name: string;
1492
+ driver: string;
1493
+ config: Record<string, any>;
1494
+ label?: string | undefined;
1495
+ description?: string | undefined;
1496
+ active?: boolean | undefined;
1497
+ capabilities?: {
1498
+ joins?: boolean | undefined;
1499
+ transactions?: boolean | undefined;
1500
+ queryFilters?: boolean | undefined;
1501
+ queryAggregations?: boolean | undefined;
1502
+ querySorting?: boolean | undefined;
1503
+ queryPagination?: boolean | undefined;
1504
+ queryWindowFunctions?: boolean | undefined;
1505
+ querySubqueries?: boolean | undefined;
1506
+ fullTextSearch?: boolean | undefined;
1507
+ readOnly?: boolean | undefined;
1508
+ dynamicSchema?: boolean | undefined;
1509
+ } | undefined;
1510
+ pool?: {
1511
+ min?: number | undefined;
1512
+ max?: number | undefined;
1513
+ idleTimeoutMillis?: number | undefined;
1514
+ connectionTimeoutMillis?: number | undefined;
1515
+ } | undefined;
1516
+ readReplicas?: Record<string, any>[] | undefined;
1517
+ }> | undefined;
1518
+ objects?: Record<string, {
1519
+ fields: Record<string, {
1520
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
1521
+ options?: {
1522
+ value: string;
1523
+ label: string;
1524
+ color?: string | undefined;
1525
+ default?: boolean | undefined;
1526
+ }[] | undefined;
1527
+ required?: boolean | undefined;
1528
+ min?: number | undefined;
1529
+ max?: number | undefined;
1530
+ formula?: string | undefined;
1531
+ label?: string | undefined;
1532
+ precision?: number | undefined;
1533
+ name?: string | undefined;
1534
+ description?: string | undefined;
1535
+ format?: string | undefined;
1536
+ searchable?: boolean | undefined;
1537
+ multiple?: boolean | undefined;
1538
+ unique?: boolean | undefined;
1539
+ defaultValue?: any;
1540
+ maxLength?: number | undefined;
1541
+ minLength?: number | undefined;
1542
+ scale?: number | undefined;
1543
+ reference?: string | undefined;
1544
+ referenceFilters?: string[] | undefined;
1545
+ writeRequiresMasterRead?: boolean | undefined;
1546
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
1547
+ expression?: string | undefined;
1548
+ summaryOperations?: {
1549
+ object: string;
1550
+ function: "count" | "sum" | "avg" | "min" | "max";
1551
+ field: string;
1552
+ } | undefined;
1553
+ language?: string | undefined;
1554
+ theme?: string | undefined;
1555
+ lineNumbers?: boolean | undefined;
1556
+ maxRating?: number | undefined;
1557
+ allowHalf?: boolean | undefined;
1558
+ displayMap?: boolean | undefined;
1559
+ allowGeocoding?: boolean | undefined;
1560
+ addressFormat?: "us" | "uk" | "international" | undefined;
1561
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1562
+ allowAlpha?: boolean | undefined;
1563
+ presetColors?: string[] | undefined;
1564
+ step?: number | undefined;
1565
+ showValue?: boolean | undefined;
1566
+ marks?: Record<string, string> | undefined;
1567
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1568
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1569
+ displayValue?: boolean | undefined;
1570
+ allowScanning?: boolean | undefined;
1571
+ currencyConfig?: {
1572
+ precision?: number | undefined;
1573
+ currencyMode?: "dynamic" | "fixed" | undefined;
1574
+ defaultCurrency?: string | undefined;
1575
+ } | undefined;
1576
+ hidden?: boolean | undefined;
1577
+ readonly?: boolean | undefined;
1578
+ encryption?: boolean | undefined;
1579
+ index?: boolean | undefined;
1580
+ externalId?: boolean | undefined;
1581
+ }>;
1582
+ name: string;
1583
+ label?: string | undefined;
1584
+ description?: string | undefined;
1585
+ active?: boolean | undefined;
1586
+ tags?: string[] | undefined;
1587
+ search?: {
1588
+ fields: string[];
1589
+ displayFields?: string[] | undefined;
1590
+ filters?: string[] | undefined;
1591
+ } | undefined;
1592
+ pluralLabel?: string | undefined;
1593
+ icon?: string | undefined;
1594
+ isSystem?: boolean | undefined;
1595
+ abstract?: boolean | undefined;
1596
+ datasource?: string | undefined;
1597
+ tableName?: string | undefined;
1598
+ indexes?: {
1599
+ fields: string[];
1600
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
1601
+ name?: string | undefined;
1602
+ unique?: boolean | undefined;
1603
+ }[] | undefined;
1604
+ validations?: any[] | undefined;
1605
+ titleFormat?: string | undefined;
1606
+ compactLayout?: string[] | undefined;
1607
+ enable?: {
1608
+ searchable?: boolean | undefined;
1609
+ trackHistory?: boolean | undefined;
1610
+ apiEnabled?: boolean | undefined;
1611
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
1612
+ files?: boolean | undefined;
1613
+ feeds?: boolean | undefined;
1614
+ activities?: boolean | undefined;
1615
+ trash?: boolean | undefined;
1616
+ mru?: boolean | undefined;
1617
+ clone?: boolean | undefined;
1618
+ } | undefined;
1619
+ }> | undefined;
1620
+ }>>;
1621
+ datasources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1622
+ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1623
+ configuration: z.ZodOptional<z.ZodObject<{
1624
+ title: z.ZodOptional<z.ZodString>;
1625
+ properties: z.ZodRecord<z.ZodString, z.ZodObject<{
1626
+ type: z.ZodEnum<["string", "number", "boolean", "array", "object"]>;
1627
+ default: z.ZodOptional<z.ZodAny>;
1628
+ description: z.ZodOptional<z.ZodString>;
1629
+ required: z.ZodOptional<z.ZodBoolean>;
1630
+ secret: z.ZodOptional<z.ZodBoolean>;
1631
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ type: "string" | "number" | "boolean" | "object" | "array";
1634
+ required?: boolean | undefined;
1635
+ default?: any;
1636
+ description?: string | undefined;
1637
+ secret?: boolean | undefined;
1638
+ enum?: string[] | undefined;
1639
+ }, {
1640
+ type: "string" | "number" | "boolean" | "object" | "array";
1641
+ required?: boolean | undefined;
1642
+ default?: any;
1643
+ description?: string | undefined;
1644
+ secret?: boolean | undefined;
1645
+ enum?: string[] | undefined;
1646
+ }>>;
1647
+ }, "strip", z.ZodTypeAny, {
1648
+ properties: Record<string, {
1649
+ type: "string" | "number" | "boolean" | "object" | "array";
1650
+ required?: boolean | undefined;
1651
+ default?: any;
1652
+ description?: string | undefined;
1653
+ secret?: boolean | undefined;
1654
+ enum?: string[] | undefined;
1655
+ }>;
1656
+ title?: string | undefined;
1657
+ }, {
1658
+ properties: Record<string, {
1659
+ type: "string" | "number" | "boolean" | "object" | "array";
1660
+ required?: boolean | undefined;
1661
+ default?: any;
1662
+ description?: string | undefined;
1663
+ secret?: boolean | undefined;
1664
+ enum?: string[] | undefined;
1665
+ }>;
1666
+ title?: string | undefined;
1667
+ }>>;
1668
+ contributes: z.ZodOptional<z.ZodObject<{
1669
+ kinds: z.ZodOptional<z.ZodArray<z.ZodObject<{
1670
+ id: z.ZodString;
1671
+ globs: z.ZodArray<z.ZodString, "many">;
1672
+ description: z.ZodOptional<z.ZodString>;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ id: string;
1675
+ globs: string[];
1676
+ description?: string | undefined;
1677
+ }, {
1678
+ id: string;
1679
+ globs: string[];
1680
+ description?: string | undefined;
1681
+ }>, "many">>;
1682
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1683
+ menus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1684
+ id: z.ZodString;
1685
+ label: z.ZodString;
1686
+ command: z.ZodOptional<z.ZodString>;
1687
+ }, "strip", z.ZodTypeAny, {
1688
+ label: string;
1689
+ id: string;
1690
+ command?: string | undefined;
1691
+ }, {
1692
+ label: string;
1693
+ id: string;
1694
+ command?: string | undefined;
1695
+ }>, "many">>>;
1696
+ themes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1697
+ id: z.ZodString;
1698
+ label: z.ZodString;
1699
+ path: z.ZodString;
1700
+ }, "strip", z.ZodTypeAny, {
1701
+ path: string;
1702
+ label: string;
1703
+ id: string;
1704
+ }, {
1705
+ path: string;
1706
+ label: string;
1707
+ id: string;
1708
+ }>, "many">>;
1709
+ translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1710
+ locale: z.ZodString;
1711
+ path: z.ZodString;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ path: string;
1714
+ locale: string;
1715
+ }, {
1716
+ path: string;
1717
+ locale: string;
1718
+ }>, "many">>;
1719
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1720
+ name: z.ZodString;
1721
+ label: z.ZodOptional<z.ZodString>;
1722
+ description: z.ZodOptional<z.ZodString>;
1723
+ input: z.ZodOptional<z.ZodAny>;
1724
+ output: z.ZodOptional<z.ZodAny>;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ name: string;
1727
+ label?: string | undefined;
1728
+ description?: string | undefined;
1729
+ input?: any;
1730
+ output?: any;
1731
+ }, {
1732
+ name: string;
1733
+ label?: string | undefined;
1734
+ description?: string | undefined;
1735
+ input?: any;
1736
+ output?: any;
1737
+ }>, "many">>;
1738
+ drivers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1739
+ id: z.ZodString;
1740
+ label: z.ZodString;
1741
+ description: z.ZodOptional<z.ZodString>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ label: string;
1744
+ id: string;
1745
+ description?: string | undefined;
1746
+ }, {
1747
+ label: string;
1748
+ id: string;
1749
+ description?: string | undefined;
1750
+ }>, "many">>;
1751
+ fieldTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1752
+ name: z.ZodString;
1753
+ label: z.ZodString;
1754
+ description: z.ZodOptional<z.ZodString>;
1755
+ }, "strip", z.ZodTypeAny, {
1756
+ label: string;
1757
+ name: string;
1758
+ description?: string | undefined;
1759
+ }, {
1760
+ label: string;
1761
+ name: string;
1762
+ description?: string | undefined;
1763
+ }>, "many">>;
1764
+ functions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1765
+ name: z.ZodString;
1766
+ description: z.ZodOptional<z.ZodString>;
1767
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1768
+ returnType: z.ZodOptional<z.ZodString>;
1769
+ }, "strip", z.ZodTypeAny, {
1770
+ name: string;
1771
+ description?: string | undefined;
1772
+ args?: string[] | undefined;
1773
+ returnType?: string | undefined;
1774
+ }, {
1775
+ name: string;
1776
+ description?: string | undefined;
1777
+ args?: string[] | undefined;
1778
+ returnType?: string | undefined;
1779
+ }>, "many">>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ events?: string[] | undefined;
1782
+ actions?: {
1783
+ name: string;
1784
+ label?: string | undefined;
1785
+ description?: string | undefined;
1786
+ input?: any;
1787
+ output?: any;
1788
+ }[] | undefined;
1789
+ kinds?: {
1790
+ id: string;
1791
+ globs: string[];
1792
+ description?: string | undefined;
1793
+ }[] | undefined;
1794
+ menus?: Record<string, {
1795
+ label: string;
1796
+ id: string;
1797
+ command?: string | undefined;
1798
+ }[]> | undefined;
1799
+ themes?: {
1800
+ path: string;
1801
+ label: string;
1802
+ id: string;
1803
+ }[] | undefined;
1804
+ translations?: {
1805
+ path: string;
1806
+ locale: string;
1807
+ }[] | undefined;
1808
+ drivers?: {
1809
+ label: string;
1810
+ id: string;
1811
+ description?: string | undefined;
1812
+ }[] | undefined;
1813
+ fieldTypes?: {
1814
+ label: string;
1815
+ name: string;
1816
+ description?: string | undefined;
1817
+ }[] | undefined;
1818
+ functions?: {
1819
+ name: string;
1820
+ description?: string | undefined;
1821
+ args?: string[] | undefined;
1822
+ returnType?: string | undefined;
1823
+ }[] | undefined;
1824
+ }, {
1825
+ events?: string[] | undefined;
1826
+ actions?: {
1827
+ name: string;
1828
+ label?: string | undefined;
1829
+ description?: string | undefined;
1830
+ input?: any;
1831
+ output?: any;
1832
+ }[] | undefined;
1833
+ kinds?: {
1834
+ id: string;
1835
+ globs: string[];
1836
+ description?: string | undefined;
1837
+ }[] | undefined;
1838
+ menus?: Record<string, {
1839
+ label: string;
1840
+ id: string;
1841
+ command?: string | undefined;
1842
+ }[]> | undefined;
1843
+ themes?: {
1844
+ path: string;
1845
+ label: string;
1846
+ id: string;
1847
+ }[] | undefined;
1848
+ translations?: {
1849
+ path: string;
1850
+ locale: string;
1851
+ }[] | undefined;
1852
+ drivers?: {
1853
+ label: string;
1854
+ id: string;
1855
+ description?: string | undefined;
1856
+ }[] | undefined;
1857
+ fieldTypes?: {
1858
+ label: string;
1859
+ name: string;
1860
+ description?: string | undefined;
1861
+ }[] | undefined;
1862
+ functions?: {
1863
+ name: string;
1864
+ description?: string | undefined;
1865
+ args?: string[] | undefined;
1866
+ returnType?: string | undefined;
1867
+ }[] | undefined;
1868
+ }>>;
1869
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
1870
+ object: z.ZodString;
1871
+ records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">;
1872
+ mode: z.ZodDefault<z.ZodEnum<["upsert", "insert", "ignore"]>>;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ object: string;
1875
+ mode: "insert" | "upsert" | "ignore";
1876
+ records: Record<string, any>[];
1877
+ }, {
1878
+ object: string;
1879
+ records: Record<string, any>[];
1880
+ mode?: "insert" | "upsert" | "ignore" | undefined;
1881
+ }>, "many">>;
1882
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ type: "driver" | "app" | "plugin" | "module";
1885
+ name: string;
1886
+ id: string;
1887
+ version: string;
1888
+ description?: string | undefined;
1889
+ data?: {
1890
+ object: string;
1891
+ mode: "insert" | "upsert" | "ignore";
1892
+ records: Record<string, any>[];
1893
+ }[] | undefined;
1894
+ objects?: string[] | undefined;
1895
+ permissions?: string[] | undefined;
1896
+ definitions?: {
1897
+ datasource?: Record<string, {
1898
+ name: string;
1899
+ active: boolean;
1900
+ driver: string;
1901
+ config: Record<string, any>;
1902
+ label?: string | undefined;
1903
+ description?: string | undefined;
1904
+ capabilities?: {
1905
+ joins: boolean;
1906
+ transactions: boolean;
1907
+ queryFilters: boolean;
1908
+ queryAggregations: boolean;
1909
+ querySorting: boolean;
1910
+ queryPagination: boolean;
1911
+ queryWindowFunctions: boolean;
1912
+ querySubqueries: boolean;
1913
+ fullTextSearch: boolean;
1914
+ readOnly: boolean;
1915
+ dynamicSchema: boolean;
1916
+ } | undefined;
1917
+ pool?: {
1918
+ min: number;
1919
+ max: number;
1920
+ idleTimeoutMillis: number;
1921
+ connectionTimeoutMillis: number;
1922
+ } | undefined;
1923
+ readReplicas?: Record<string, any>[] | undefined;
1924
+ }> | undefined;
1925
+ objects?: Record<string, {
1926
+ fields: Record<string, {
1927
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
1928
+ required: boolean;
1929
+ searchable: boolean;
1930
+ multiple: boolean;
1931
+ unique: boolean;
1932
+ deleteBehavior: "set_null" | "cascade" | "restrict";
1933
+ hidden: boolean;
1934
+ readonly: boolean;
1935
+ encryption: boolean;
1936
+ index: boolean;
1937
+ externalId: boolean;
1938
+ options?: {
1939
+ value: string;
1940
+ label: string;
1941
+ color?: string | undefined;
1942
+ default?: boolean | undefined;
1943
+ }[] | undefined;
1944
+ min?: number | undefined;
1945
+ max?: number | undefined;
1946
+ formula?: string | undefined;
1947
+ label?: string | undefined;
1948
+ precision?: number | undefined;
1949
+ name?: string | undefined;
1950
+ description?: string | undefined;
1951
+ format?: string | undefined;
1952
+ defaultValue?: any;
1953
+ maxLength?: number | undefined;
1954
+ minLength?: number | undefined;
1955
+ scale?: number | undefined;
1956
+ reference?: string | undefined;
1957
+ referenceFilters?: string[] | undefined;
1958
+ writeRequiresMasterRead?: boolean | undefined;
1959
+ expression?: string | undefined;
1960
+ summaryOperations?: {
1961
+ object: string;
1962
+ function: "count" | "sum" | "avg" | "min" | "max";
1963
+ field: string;
1964
+ } | undefined;
1965
+ language?: string | undefined;
1966
+ theme?: string | undefined;
1967
+ lineNumbers?: boolean | undefined;
1968
+ maxRating?: number | undefined;
1969
+ allowHalf?: boolean | undefined;
1970
+ displayMap?: boolean | undefined;
1971
+ allowGeocoding?: boolean | undefined;
1972
+ addressFormat?: "us" | "uk" | "international" | undefined;
1973
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
1974
+ allowAlpha?: boolean | undefined;
1975
+ presetColors?: string[] | undefined;
1976
+ step?: number | undefined;
1977
+ showValue?: boolean | undefined;
1978
+ marks?: Record<string, string> | undefined;
1979
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
1980
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
1981
+ displayValue?: boolean | undefined;
1982
+ allowScanning?: boolean | undefined;
1983
+ currencyConfig?: {
1984
+ precision: number;
1985
+ currencyMode: "dynamic" | "fixed";
1986
+ defaultCurrency: string;
1987
+ } | undefined;
1988
+ }>;
1989
+ name: string;
1990
+ active: boolean;
1991
+ isSystem: boolean;
1992
+ abstract: boolean;
1993
+ datasource: string;
1994
+ label?: string | undefined;
1995
+ description?: string | undefined;
1996
+ tags?: string[] | undefined;
1997
+ search?: {
1998
+ fields: string[];
1999
+ displayFields?: string[] | undefined;
2000
+ filters?: string[] | undefined;
2001
+ } | undefined;
2002
+ pluralLabel?: string | undefined;
2003
+ icon?: string | undefined;
2004
+ tableName?: string | undefined;
2005
+ indexes?: {
2006
+ fields: string[];
2007
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
2008
+ name?: string | undefined;
2009
+ unique?: boolean | undefined;
2010
+ }[] | undefined;
2011
+ validations?: any[] | undefined;
2012
+ titleFormat?: string | undefined;
2013
+ compactLayout?: string[] | undefined;
2014
+ enable?: {
2015
+ searchable: boolean;
2016
+ trackHistory: boolean;
2017
+ apiEnabled: boolean;
2018
+ files: boolean;
2019
+ feeds: boolean;
2020
+ activities: boolean;
2021
+ trash: boolean;
2022
+ mru: boolean;
2023
+ clone: boolean;
2024
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
2025
+ } | undefined;
2026
+ }> | undefined;
2027
+ } | undefined;
2028
+ datasources?: string[] | undefined;
2029
+ dependencies?: Record<string, string> | undefined;
2030
+ configuration?: {
2031
+ properties: Record<string, {
2032
+ type: "string" | "number" | "boolean" | "object" | "array";
2033
+ required?: boolean | undefined;
2034
+ default?: any;
2035
+ description?: string | undefined;
2036
+ secret?: boolean | undefined;
2037
+ enum?: string[] | undefined;
2038
+ }>;
2039
+ title?: string | undefined;
2040
+ } | undefined;
2041
+ contributes?: {
2042
+ events?: string[] | undefined;
2043
+ actions?: {
2044
+ name: string;
2045
+ label?: string | undefined;
2046
+ description?: string | undefined;
2047
+ input?: any;
2048
+ output?: any;
2049
+ }[] | undefined;
2050
+ kinds?: {
2051
+ id: string;
2052
+ globs: string[];
2053
+ description?: string | undefined;
2054
+ }[] | undefined;
2055
+ menus?: Record<string, {
2056
+ label: string;
2057
+ id: string;
2058
+ command?: string | undefined;
2059
+ }[]> | undefined;
2060
+ themes?: {
2061
+ path: string;
2062
+ label: string;
2063
+ id: string;
2064
+ }[] | undefined;
2065
+ translations?: {
2066
+ path: string;
2067
+ locale: string;
2068
+ }[] | undefined;
2069
+ drivers?: {
2070
+ label: string;
2071
+ id: string;
2072
+ description?: string | undefined;
2073
+ }[] | undefined;
2074
+ fieldTypes?: {
2075
+ label: string;
2076
+ name: string;
2077
+ description?: string | undefined;
2078
+ }[] | undefined;
2079
+ functions?: {
2080
+ name: string;
2081
+ description?: string | undefined;
2082
+ args?: string[] | undefined;
2083
+ returnType?: string | undefined;
2084
+ }[] | undefined;
2085
+ } | undefined;
2086
+ extensions?: Record<string, any> | undefined;
2087
+ }, {
2088
+ type: "driver" | "app" | "plugin" | "module";
2089
+ name: string;
2090
+ id: string;
2091
+ version: string;
2092
+ description?: string | undefined;
2093
+ data?: {
2094
+ object: string;
2095
+ records: Record<string, any>[];
2096
+ mode?: "insert" | "upsert" | "ignore" | undefined;
2097
+ }[] | undefined;
2098
+ objects?: string[] | undefined;
2099
+ permissions?: string[] | undefined;
2100
+ definitions?: {
2101
+ datasource?: Record<string, {
2102
+ name: string;
2103
+ driver: string;
2104
+ config: Record<string, any>;
2105
+ label?: string | undefined;
2106
+ description?: string | undefined;
2107
+ active?: boolean | undefined;
2108
+ capabilities?: {
2109
+ joins?: boolean | undefined;
2110
+ transactions?: boolean | undefined;
2111
+ queryFilters?: boolean | undefined;
2112
+ queryAggregations?: boolean | undefined;
2113
+ querySorting?: boolean | undefined;
2114
+ queryPagination?: boolean | undefined;
2115
+ queryWindowFunctions?: boolean | undefined;
2116
+ querySubqueries?: boolean | undefined;
2117
+ fullTextSearch?: boolean | undefined;
2118
+ readOnly?: boolean | undefined;
2119
+ dynamicSchema?: boolean | undefined;
2120
+ } | undefined;
2121
+ pool?: {
2122
+ min?: number | undefined;
2123
+ max?: number | undefined;
2124
+ idleTimeoutMillis?: number | undefined;
2125
+ connectionTimeoutMillis?: number | undefined;
2126
+ } | undefined;
2127
+ readReplicas?: Record<string, any>[] | undefined;
2128
+ }> | undefined;
2129
+ objects?: Record<string, {
2130
+ fields: Record<string, {
2131
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
2132
+ options?: {
2133
+ value: string;
2134
+ label: string;
2135
+ color?: string | undefined;
2136
+ default?: boolean | undefined;
2137
+ }[] | undefined;
2138
+ required?: boolean | undefined;
2139
+ min?: number | undefined;
2140
+ max?: number | undefined;
2141
+ formula?: string | undefined;
2142
+ label?: string | undefined;
2143
+ precision?: number | undefined;
2144
+ name?: string | undefined;
2145
+ description?: string | undefined;
2146
+ format?: string | undefined;
2147
+ searchable?: boolean | undefined;
2148
+ multiple?: boolean | undefined;
2149
+ unique?: boolean | undefined;
2150
+ defaultValue?: any;
2151
+ maxLength?: number | undefined;
2152
+ minLength?: number | undefined;
2153
+ scale?: number | undefined;
2154
+ reference?: string | undefined;
2155
+ referenceFilters?: string[] | undefined;
2156
+ writeRequiresMasterRead?: boolean | undefined;
2157
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2158
+ expression?: string | undefined;
2159
+ summaryOperations?: {
2160
+ object: string;
2161
+ function: "count" | "sum" | "avg" | "min" | "max";
2162
+ field: string;
2163
+ } | undefined;
2164
+ language?: string | undefined;
2165
+ theme?: string | undefined;
2166
+ lineNumbers?: boolean | undefined;
2167
+ maxRating?: number | undefined;
2168
+ allowHalf?: boolean | undefined;
2169
+ displayMap?: boolean | undefined;
2170
+ allowGeocoding?: boolean | undefined;
2171
+ addressFormat?: "us" | "uk" | "international" | undefined;
2172
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
2173
+ allowAlpha?: boolean | undefined;
2174
+ presetColors?: string[] | undefined;
2175
+ step?: number | undefined;
2176
+ showValue?: boolean | undefined;
2177
+ marks?: Record<string, string> | undefined;
2178
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
2179
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
2180
+ displayValue?: boolean | undefined;
2181
+ allowScanning?: boolean | undefined;
2182
+ currencyConfig?: {
2183
+ precision?: number | undefined;
2184
+ currencyMode?: "dynamic" | "fixed" | undefined;
2185
+ defaultCurrency?: string | undefined;
2186
+ } | undefined;
2187
+ hidden?: boolean | undefined;
2188
+ readonly?: boolean | undefined;
2189
+ encryption?: boolean | undefined;
2190
+ index?: boolean | undefined;
2191
+ externalId?: boolean | undefined;
2192
+ }>;
2193
+ name: string;
2194
+ label?: string | undefined;
2195
+ description?: string | undefined;
2196
+ active?: boolean | undefined;
2197
+ tags?: string[] | undefined;
2198
+ search?: {
2199
+ fields: string[];
2200
+ displayFields?: string[] | undefined;
2201
+ filters?: string[] | undefined;
2202
+ } | undefined;
2203
+ pluralLabel?: string | undefined;
2204
+ icon?: string | undefined;
2205
+ isSystem?: boolean | undefined;
2206
+ abstract?: boolean | undefined;
2207
+ datasource?: string | undefined;
2208
+ tableName?: string | undefined;
2209
+ indexes?: {
2210
+ fields: string[];
2211
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
2212
+ name?: string | undefined;
2213
+ unique?: boolean | undefined;
2214
+ }[] | undefined;
2215
+ validations?: any[] | undefined;
2216
+ titleFormat?: string | undefined;
2217
+ compactLayout?: string[] | undefined;
2218
+ enable?: {
2219
+ searchable?: boolean | undefined;
2220
+ trackHistory?: boolean | undefined;
2221
+ apiEnabled?: boolean | undefined;
2222
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
2223
+ files?: boolean | undefined;
2224
+ feeds?: boolean | undefined;
2225
+ activities?: boolean | undefined;
2226
+ trash?: boolean | undefined;
2227
+ mru?: boolean | undefined;
2228
+ clone?: boolean | undefined;
2229
+ } | undefined;
2230
+ }> | undefined;
2231
+ } | undefined;
2232
+ datasources?: string[] | undefined;
2233
+ dependencies?: Record<string, string> | undefined;
2234
+ configuration?: {
2235
+ properties: Record<string, {
2236
+ type: "string" | "number" | "boolean" | "object" | "array";
2237
+ required?: boolean | undefined;
2238
+ default?: any;
2239
+ description?: string | undefined;
2240
+ secret?: boolean | undefined;
2241
+ enum?: string[] | undefined;
2242
+ }>;
2243
+ title?: string | undefined;
2244
+ } | undefined;
2245
+ contributes?: {
2246
+ events?: string[] | undefined;
2247
+ actions?: {
2248
+ name: string;
2249
+ label?: string | undefined;
2250
+ description?: string | undefined;
2251
+ input?: any;
2252
+ output?: any;
2253
+ }[] | undefined;
2254
+ kinds?: {
2255
+ id: string;
2256
+ globs: string[];
2257
+ description?: string | undefined;
2258
+ }[] | undefined;
2259
+ menus?: Record<string, {
2260
+ label: string;
2261
+ id: string;
2262
+ command?: string | undefined;
2263
+ }[]> | undefined;
2264
+ themes?: {
2265
+ path: string;
2266
+ label: string;
2267
+ id: string;
2268
+ }[] | undefined;
2269
+ translations?: {
2270
+ path: string;
2271
+ locale: string;
2272
+ }[] | undefined;
2273
+ drivers?: {
2274
+ label: string;
2275
+ id: string;
2276
+ description?: string | undefined;
2277
+ }[] | undefined;
2278
+ fieldTypes?: {
2279
+ label: string;
2280
+ name: string;
2281
+ description?: string | undefined;
2282
+ }[] | undefined;
2283
+ functions?: {
2284
+ name: string;
2285
+ description?: string | undefined;
2286
+ args?: string[] | undefined;
2287
+ returnType?: string | undefined;
2288
+ }[] | undefined;
2289
+ } | undefined;
2290
+ extensions?: Record<string, any> | undefined;
2291
+ }>>;
2292
+ /**
2293
+ * Manifest URL
2294
+ * Presigned URL to download the manifest if stored externally (e.g. Vercel KV/S3).
2295
+ */
2296
+ manifestUrl: z.ZodOptional<z.ZodString>;
2297
+ /**
2298
+ * Compilation Metadata
2299
+ */
2300
+ buildId: z.ZodString;
2301
+ timestamp: z.ZodString;
2302
+ duration: z.ZodNumber;
2303
+ /**
2304
+ * Analysis
2305
+ */
2306
+ conflicts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2307
+ resourceType: z.ZodEnum<["object", "field", "api", "ui"]>;
2308
+ resourceId: z.ZodString;
2309
+ sources: z.ZodArray<z.ZodString, "many">;
2310
+ resolution: z.ZodString;
2311
+ severity: z.ZodEnum<["info", "warning", "error"]>;
2312
+ }, "strip", z.ZodTypeAny, {
2313
+ severity: "error" | "warning" | "info";
2314
+ resourceType: "object" | "field" | "api" | "ui";
2315
+ resourceId: string;
2316
+ sources: string[];
2317
+ resolution: string;
2318
+ }, {
2319
+ severity: "error" | "warning" | "info";
2320
+ resourceType: "object" | "field" | "api" | "ui";
2321
+ resourceId: string;
2322
+ sources: string[];
2323
+ resolution: string;
2324
+ }>, "many">>;
2325
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2326
+ }, "strip", z.ZodTypeAny, {
2327
+ success: boolean;
2328
+ duration: number;
2329
+ timestamp: string;
2330
+ buildId: string;
2331
+ manifest?: {
2332
+ type: "driver" | "app" | "plugin" | "module";
2333
+ name: string;
2334
+ id: string;
2335
+ version: string;
2336
+ description?: string | undefined;
2337
+ data?: {
2338
+ object: string;
2339
+ mode: "insert" | "upsert" | "ignore";
2340
+ records: Record<string, any>[];
2341
+ }[] | undefined;
2342
+ objects?: string[] | undefined;
2343
+ permissions?: string[] | undefined;
2344
+ definitions?: {
2345
+ datasource?: Record<string, {
2346
+ name: string;
2347
+ active: boolean;
2348
+ driver: string;
2349
+ config: Record<string, any>;
2350
+ label?: string | undefined;
2351
+ description?: string | undefined;
2352
+ capabilities?: {
2353
+ joins: boolean;
2354
+ transactions: boolean;
2355
+ queryFilters: boolean;
2356
+ queryAggregations: boolean;
2357
+ querySorting: boolean;
2358
+ queryPagination: boolean;
2359
+ queryWindowFunctions: boolean;
2360
+ querySubqueries: boolean;
2361
+ fullTextSearch: boolean;
2362
+ readOnly: boolean;
2363
+ dynamicSchema: boolean;
2364
+ } | undefined;
2365
+ pool?: {
2366
+ min: number;
2367
+ max: number;
2368
+ idleTimeoutMillis: number;
2369
+ connectionTimeoutMillis: number;
2370
+ } | undefined;
2371
+ readReplicas?: Record<string, any>[] | undefined;
2372
+ }> | undefined;
2373
+ objects?: Record<string, {
2374
+ fields: Record<string, {
2375
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
2376
+ required: boolean;
2377
+ searchable: boolean;
2378
+ multiple: boolean;
2379
+ unique: boolean;
2380
+ deleteBehavior: "set_null" | "cascade" | "restrict";
2381
+ hidden: boolean;
2382
+ readonly: boolean;
2383
+ encryption: boolean;
2384
+ index: boolean;
2385
+ externalId: boolean;
2386
+ options?: {
2387
+ value: string;
2388
+ label: string;
2389
+ color?: string | undefined;
2390
+ default?: boolean | undefined;
2391
+ }[] | undefined;
2392
+ min?: number | undefined;
2393
+ max?: number | undefined;
2394
+ formula?: string | undefined;
2395
+ label?: string | undefined;
2396
+ precision?: number | undefined;
2397
+ name?: string | undefined;
2398
+ description?: string | undefined;
2399
+ format?: string | undefined;
2400
+ defaultValue?: any;
2401
+ maxLength?: number | undefined;
2402
+ minLength?: number | undefined;
2403
+ scale?: number | undefined;
2404
+ reference?: string | undefined;
2405
+ referenceFilters?: string[] | undefined;
2406
+ writeRequiresMasterRead?: boolean | undefined;
2407
+ expression?: string | undefined;
2408
+ summaryOperations?: {
2409
+ object: string;
2410
+ function: "count" | "sum" | "avg" | "min" | "max";
2411
+ field: string;
2412
+ } | undefined;
2413
+ language?: string | undefined;
2414
+ theme?: string | undefined;
2415
+ lineNumbers?: boolean | undefined;
2416
+ maxRating?: number | undefined;
2417
+ allowHalf?: boolean | undefined;
2418
+ displayMap?: boolean | undefined;
2419
+ allowGeocoding?: boolean | undefined;
2420
+ addressFormat?: "us" | "uk" | "international" | undefined;
2421
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
2422
+ allowAlpha?: boolean | undefined;
2423
+ presetColors?: string[] | undefined;
2424
+ step?: number | undefined;
2425
+ showValue?: boolean | undefined;
2426
+ marks?: Record<string, string> | undefined;
2427
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
2428
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
2429
+ displayValue?: boolean | undefined;
2430
+ allowScanning?: boolean | undefined;
2431
+ currencyConfig?: {
2432
+ precision: number;
2433
+ currencyMode: "dynamic" | "fixed";
2434
+ defaultCurrency: string;
2435
+ } | undefined;
2436
+ }>;
2437
+ name: string;
2438
+ active: boolean;
2439
+ isSystem: boolean;
2440
+ abstract: boolean;
2441
+ datasource: string;
2442
+ label?: string | undefined;
2443
+ description?: string | undefined;
2444
+ tags?: string[] | undefined;
2445
+ search?: {
2446
+ fields: string[];
2447
+ displayFields?: string[] | undefined;
2448
+ filters?: string[] | undefined;
2449
+ } | undefined;
2450
+ pluralLabel?: string | undefined;
2451
+ icon?: string | undefined;
2452
+ tableName?: string | undefined;
2453
+ indexes?: {
2454
+ fields: string[];
2455
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
2456
+ name?: string | undefined;
2457
+ unique?: boolean | undefined;
2458
+ }[] | undefined;
2459
+ validations?: any[] | undefined;
2460
+ titleFormat?: string | undefined;
2461
+ compactLayout?: string[] | undefined;
2462
+ enable?: {
2463
+ searchable: boolean;
2464
+ trackHistory: boolean;
2465
+ apiEnabled: boolean;
2466
+ files: boolean;
2467
+ feeds: boolean;
2468
+ activities: boolean;
2469
+ trash: boolean;
2470
+ mru: boolean;
2471
+ clone: boolean;
2472
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
2473
+ } | undefined;
2474
+ }> | undefined;
2475
+ } | undefined;
2476
+ datasources?: string[] | undefined;
2477
+ dependencies?: Record<string, string> | undefined;
2478
+ configuration?: {
2479
+ properties: Record<string, {
2480
+ type: "string" | "number" | "boolean" | "object" | "array";
2481
+ required?: boolean | undefined;
2482
+ default?: any;
2483
+ description?: string | undefined;
2484
+ secret?: boolean | undefined;
2485
+ enum?: string[] | undefined;
2486
+ }>;
2487
+ title?: string | undefined;
2488
+ } | undefined;
2489
+ contributes?: {
2490
+ events?: string[] | undefined;
2491
+ actions?: {
2492
+ name: string;
2493
+ label?: string | undefined;
2494
+ description?: string | undefined;
2495
+ input?: any;
2496
+ output?: any;
2497
+ }[] | undefined;
2498
+ kinds?: {
2499
+ id: string;
2500
+ globs: string[];
2501
+ description?: string | undefined;
2502
+ }[] | undefined;
2503
+ menus?: Record<string, {
2504
+ label: string;
2505
+ id: string;
2506
+ command?: string | undefined;
2507
+ }[]> | undefined;
2508
+ themes?: {
2509
+ path: string;
2510
+ label: string;
2511
+ id: string;
2512
+ }[] | undefined;
2513
+ translations?: {
2514
+ path: string;
2515
+ locale: string;
2516
+ }[] | undefined;
2517
+ drivers?: {
2518
+ label: string;
2519
+ id: string;
2520
+ description?: string | undefined;
2521
+ }[] | undefined;
2522
+ fieldTypes?: {
2523
+ label: string;
2524
+ name: string;
2525
+ description?: string | undefined;
2526
+ }[] | undefined;
2527
+ functions?: {
2528
+ name: string;
2529
+ description?: string | undefined;
2530
+ args?: string[] | undefined;
2531
+ returnType?: string | undefined;
2532
+ }[] | undefined;
2533
+ } | undefined;
2534
+ extensions?: Record<string, any> | undefined;
2535
+ } | undefined;
2536
+ manifestUrl?: string | undefined;
2537
+ conflicts?: {
2538
+ severity: "error" | "warning" | "info";
2539
+ resourceType: "object" | "field" | "api" | "ui";
2540
+ resourceId: string;
2541
+ sources: string[];
2542
+ resolution: string;
2543
+ }[] | undefined;
2544
+ errors?: string[] | undefined;
2545
+ }, {
2546
+ success: boolean;
2547
+ duration: number;
2548
+ timestamp: string;
2549
+ buildId: string;
2550
+ manifest?: {
2551
+ type: "driver" | "app" | "plugin" | "module";
2552
+ name: string;
2553
+ id: string;
2554
+ version: string;
2555
+ description?: string | undefined;
2556
+ data?: {
2557
+ object: string;
2558
+ records: Record<string, any>[];
2559
+ mode?: "insert" | "upsert" | "ignore" | undefined;
2560
+ }[] | undefined;
2561
+ objects?: string[] | undefined;
2562
+ permissions?: string[] | undefined;
2563
+ definitions?: {
2564
+ datasource?: Record<string, {
2565
+ name: string;
2566
+ driver: string;
2567
+ config: Record<string, any>;
2568
+ label?: string | undefined;
2569
+ description?: string | undefined;
2570
+ active?: boolean | undefined;
2571
+ capabilities?: {
2572
+ joins?: boolean | undefined;
2573
+ transactions?: boolean | undefined;
2574
+ queryFilters?: boolean | undefined;
2575
+ queryAggregations?: boolean | undefined;
2576
+ querySorting?: boolean | undefined;
2577
+ queryPagination?: boolean | undefined;
2578
+ queryWindowFunctions?: boolean | undefined;
2579
+ querySubqueries?: boolean | undefined;
2580
+ fullTextSearch?: boolean | undefined;
2581
+ readOnly?: boolean | undefined;
2582
+ dynamicSchema?: boolean | undefined;
2583
+ } | undefined;
2584
+ pool?: {
2585
+ min?: number | undefined;
2586
+ max?: number | undefined;
2587
+ idleTimeoutMillis?: number | undefined;
2588
+ connectionTimeoutMillis?: number | undefined;
2589
+ } | undefined;
2590
+ readReplicas?: Record<string, any>[] | undefined;
2591
+ }> | undefined;
2592
+ objects?: Record<string, {
2593
+ fields: Record<string, {
2594
+ type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "color" | "rating" | "slider" | "signature" | "qrcode";
2595
+ options?: {
2596
+ value: string;
2597
+ label: string;
2598
+ color?: string | undefined;
2599
+ default?: boolean | undefined;
2600
+ }[] | undefined;
2601
+ required?: boolean | undefined;
2602
+ min?: number | undefined;
2603
+ max?: number | undefined;
2604
+ formula?: string | undefined;
2605
+ label?: string | undefined;
2606
+ precision?: number | undefined;
2607
+ name?: string | undefined;
2608
+ description?: string | undefined;
2609
+ format?: string | undefined;
2610
+ searchable?: boolean | undefined;
2611
+ multiple?: boolean | undefined;
2612
+ unique?: boolean | undefined;
2613
+ defaultValue?: any;
2614
+ maxLength?: number | undefined;
2615
+ minLength?: number | undefined;
2616
+ scale?: number | undefined;
2617
+ reference?: string | undefined;
2618
+ referenceFilters?: string[] | undefined;
2619
+ writeRequiresMasterRead?: boolean | undefined;
2620
+ deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
2621
+ expression?: string | undefined;
2622
+ summaryOperations?: {
2623
+ object: string;
2624
+ function: "count" | "sum" | "avg" | "min" | "max";
2625
+ field: string;
2626
+ } | undefined;
2627
+ language?: string | undefined;
2628
+ theme?: string | undefined;
2629
+ lineNumbers?: boolean | undefined;
2630
+ maxRating?: number | undefined;
2631
+ allowHalf?: boolean | undefined;
2632
+ displayMap?: boolean | undefined;
2633
+ allowGeocoding?: boolean | undefined;
2634
+ addressFormat?: "us" | "uk" | "international" | undefined;
2635
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
2636
+ allowAlpha?: boolean | undefined;
2637
+ presetColors?: string[] | undefined;
2638
+ step?: number | undefined;
2639
+ showValue?: boolean | undefined;
2640
+ marks?: Record<string, string> | undefined;
2641
+ barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
2642
+ qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
2643
+ displayValue?: boolean | undefined;
2644
+ allowScanning?: boolean | undefined;
2645
+ currencyConfig?: {
2646
+ precision?: number | undefined;
2647
+ currencyMode?: "dynamic" | "fixed" | undefined;
2648
+ defaultCurrency?: string | undefined;
2649
+ } | undefined;
2650
+ hidden?: boolean | undefined;
2651
+ readonly?: boolean | undefined;
2652
+ encryption?: boolean | undefined;
2653
+ index?: boolean | undefined;
2654
+ externalId?: boolean | undefined;
2655
+ }>;
2656
+ name: string;
2657
+ label?: string | undefined;
2658
+ description?: string | undefined;
2659
+ active?: boolean | undefined;
2660
+ tags?: string[] | undefined;
2661
+ search?: {
2662
+ fields: string[];
2663
+ displayFields?: string[] | undefined;
2664
+ filters?: string[] | undefined;
2665
+ } | undefined;
2666
+ pluralLabel?: string | undefined;
2667
+ icon?: string | undefined;
2668
+ isSystem?: boolean | undefined;
2669
+ abstract?: boolean | undefined;
2670
+ datasource?: string | undefined;
2671
+ tableName?: string | undefined;
2672
+ indexes?: {
2673
+ fields: string[];
2674
+ type?: "hash" | "btree" | "gin" | "gist" | undefined;
2675
+ name?: string | undefined;
2676
+ unique?: boolean | undefined;
2677
+ }[] | undefined;
2678
+ validations?: any[] | undefined;
2679
+ titleFormat?: string | undefined;
2680
+ compactLayout?: string[] | undefined;
2681
+ enable?: {
2682
+ searchable?: boolean | undefined;
2683
+ trackHistory?: boolean | undefined;
2684
+ apiEnabled?: boolean | undefined;
2685
+ apiMethods?: ("update" | "delete" | "get" | "list" | "create" | "upsert" | "bulk" | "aggregate" | "history" | "search" | "restore" | "purge" | "import" | "export")[] | undefined;
2686
+ files?: boolean | undefined;
2687
+ feeds?: boolean | undefined;
2688
+ activities?: boolean | undefined;
2689
+ trash?: boolean | undefined;
2690
+ mru?: boolean | undefined;
2691
+ clone?: boolean | undefined;
2692
+ } | undefined;
2693
+ }> | undefined;
2694
+ } | undefined;
2695
+ datasources?: string[] | undefined;
2696
+ dependencies?: Record<string, string> | undefined;
2697
+ configuration?: {
2698
+ properties: Record<string, {
2699
+ type: "string" | "number" | "boolean" | "object" | "array";
2700
+ required?: boolean | undefined;
2701
+ default?: any;
2702
+ description?: string | undefined;
2703
+ secret?: boolean | undefined;
2704
+ enum?: string[] | undefined;
2705
+ }>;
2706
+ title?: string | undefined;
2707
+ } | undefined;
2708
+ contributes?: {
2709
+ events?: string[] | undefined;
2710
+ actions?: {
2711
+ name: string;
2712
+ label?: string | undefined;
2713
+ description?: string | undefined;
2714
+ input?: any;
2715
+ output?: any;
2716
+ }[] | undefined;
2717
+ kinds?: {
2718
+ id: string;
2719
+ globs: string[];
2720
+ description?: string | undefined;
2721
+ }[] | undefined;
2722
+ menus?: Record<string, {
2723
+ label: string;
2724
+ id: string;
2725
+ command?: string | undefined;
2726
+ }[]> | undefined;
2727
+ themes?: {
2728
+ path: string;
2729
+ label: string;
2730
+ id: string;
2731
+ }[] | undefined;
2732
+ translations?: {
2733
+ path: string;
2734
+ locale: string;
2735
+ }[] | undefined;
2736
+ drivers?: {
2737
+ label: string;
2738
+ id: string;
2739
+ description?: string | undefined;
2740
+ }[] | undefined;
2741
+ fieldTypes?: {
2742
+ label: string;
2743
+ name: string;
2744
+ description?: string | undefined;
2745
+ }[] | undefined;
2746
+ functions?: {
2747
+ name: string;
2748
+ description?: string | undefined;
2749
+ args?: string[] | undefined;
2750
+ returnType?: string | undefined;
2751
+ }[] | undefined;
2752
+ } | undefined;
2753
+ extensions?: Record<string, any> | undefined;
2754
+ } | undefined;
2755
+ manifestUrl?: string | undefined;
2756
+ conflicts?: {
2757
+ severity: "error" | "warning" | "info";
2758
+ resourceType: "object" | "field" | "api" | "ui";
2759
+ resourceId: string;
2760
+ sources: string[];
2761
+ resolution: string;
2762
+ }[] | undefined;
2763
+ errors?: string[] | undefined;
2764
+ }>;
2765
+ export type BillOfMaterials = z.infer<typeof BillOfMaterialsSchema>;
2766
+ export type ComposerRequest = z.infer<typeof ComposerRequestSchema>;
2767
+ export type ComposerResponse = z.infer<typeof ComposerResponseSchema>;
2768
+ //# sourceMappingURL=composer.zod.d.ts.map