@objectstack/spec 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) hide show
  1. package/README.md +127 -5
  2. package/dist/ai/conversation.zod.d.ts +1059 -0
  3. package/dist/ai/conversation.zod.d.ts.map +1 -0
  4. package/dist/ai/conversation.zod.js +248 -0
  5. package/dist/ai/cost.zod.d.ts +2025 -0
  6. package/dist/ai/cost.zod.d.ts.map +1 -0
  7. package/dist/ai/cost.zod.js +324 -0
  8. package/dist/ai/index.d.ts +22 -0
  9. package/dist/ai/index.d.ts.map +1 -0
  10. package/dist/ai/index.js +37 -0
  11. package/dist/ai/model-registry.zod.d.ts +1389 -0
  12. package/dist/ai/model-registry.zod.d.ts.map +1 -0
  13. package/dist/ai/model-registry.zod.js +164 -0
  14. package/dist/ai/nlq.zod.d.ts +1126 -0
  15. package/dist/ai/nlq.zod.d.ts.map +1 -0
  16. package/dist/ai/nlq.zod.js +246 -0
  17. package/dist/ai/predictive.zod.d.ts +838 -0
  18. package/dist/ai/predictive.zod.d.ts.map +1 -0
  19. package/dist/ai/predictive.zod.js +244 -0
  20. package/dist/ai/rag-pipeline.zod.d.ts +1034 -0
  21. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -0
  22. package/dist/ai/rag-pipeline.zod.js +244 -0
  23. package/dist/ai/workflow-automation.zod.d.ts +590 -0
  24. package/dist/ai/workflow-automation.zod.d.ts.map +1 -0
  25. package/dist/ai/workflow-automation.zod.js +197 -0
  26. package/dist/api/contract.zod.d.ts +22 -22
  27. package/dist/api/index.d.ts +9 -0
  28. package/dist/api/index.d.ts.map +1 -0
  29. package/dist/api/index.js +24 -0
  30. package/dist/data/field.zod.d.ts +409 -4
  31. package/dist/data/field.zod.d.ts.map +1 -1
  32. package/dist/data/field.zod.js +28 -2
  33. package/dist/data/index.d.ts +21 -0
  34. package/dist/data/index.d.ts.map +1 -0
  35. package/dist/data/index.js +36 -0
  36. package/dist/data/mapping.zod.d.ts +6 -6
  37. package/dist/data/object.zod.d.ts +80 -10
  38. package/dist/data/object.zod.d.ts.map +1 -1
  39. package/dist/data/query.zod.d.ts +386 -3
  40. package/dist/data/query.zod.d.ts.map +1 -1
  41. package/dist/data/query.zod.js +386 -3
  42. package/dist/data/validation.zod.d.ts +349 -0
  43. package/dist/data/validation.zod.d.ts.map +1 -1
  44. package/dist/data/validation.zod.js +395 -0
  45. package/dist/data/workflow.zod.d.ts +809 -18
  46. package/dist/data/workflow.zod.d.ts.map +1 -1
  47. package/dist/data/workflow.zod.js +115 -7
  48. package/dist/index.d.ts +36 -41
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +64 -49
  51. package/dist/system/api.zod.d.ts +4 -4
  52. package/dist/system/audit.zod.d.ts +1172 -0
  53. package/dist/system/audit.zod.d.ts.map +1 -0
  54. package/dist/system/audit.zod.js +596 -0
  55. package/dist/system/auth-protocol.d.ts +175 -0
  56. package/dist/system/auth-protocol.d.ts.map +1 -0
  57. package/dist/system/auth-protocol.js +60 -0
  58. package/dist/system/auth.zod.d.ts +1089 -57
  59. package/dist/system/auth.zod.d.ts.map +1 -1
  60. package/dist/system/auth.zod.js +135 -1
  61. package/dist/system/driver.zod.d.ts +4 -4
  62. package/dist/system/events.zod.d.ts +177 -0
  63. package/dist/system/events.zod.d.ts.map +1 -0
  64. package/dist/system/events.zod.js +51 -0
  65. package/dist/system/identity.zod.d.ts +234 -180
  66. package/dist/system/identity.zod.d.ts.map +1 -1
  67. package/dist/system/identity.zod.js +168 -51
  68. package/dist/system/index.d.ts +33 -0
  69. package/dist/system/index.d.ts.map +1 -0
  70. package/dist/system/index.js +48 -0
  71. package/dist/system/job.zod.d.ts +237 -0
  72. package/dist/system/job.zod.d.ts.map +1 -0
  73. package/dist/system/job.zod.js +82 -0
  74. package/dist/system/organization.zod.d.ts +179 -0
  75. package/dist/system/organization.zod.d.ts.map +1 -0
  76. package/dist/system/organization.zod.js +129 -0
  77. package/dist/system/realtime.zod.d.ts +135 -0
  78. package/dist/system/realtime.zod.d.ts.map +1 -0
  79. package/dist/system/realtime.zod.js +83 -0
  80. package/dist/system/tenant.zod.d.ts +1151 -0
  81. package/dist/system/tenant.zod.d.ts.map +1 -0
  82. package/dist/system/tenant.zod.js +498 -0
  83. package/dist/system/webhook.zod.d.ts +2 -2
  84. package/dist/ui/action.zod.d.ts +10 -10
  85. package/dist/ui/index.d.ts +17 -0
  86. package/dist/ui/index.d.ts.map +1 -0
  87. package/dist/ui/index.js +32 -0
  88. package/dist/ui/theme.zod.d.ts +18 -18
  89. package/dist/ui/widget.zod.d.ts +40 -5
  90. package/dist/ui/widget.zod.d.ts.map +1 -1
  91. package/json-schema/README.md +127 -0
  92. package/json-schema/ai/AITask.json +123 -0
  93. package/json-schema/ai/AITaskType.json +21 -0
  94. package/json-schema/ai/AIWorkflowAutomation.json +379 -0
  95. package/json-schema/ai/AIWorkflowExecutionResult.json +105 -0
  96. package/json-schema/ai/AIWorkflowTrigger.json +18 -0
  97. package/json-schema/ai/BatchAIWorkflowExecution.json +48 -0
  98. package/json-schema/ai/BillingPeriod.json +18 -0
  99. package/json-schema/ai/BudgetLimit.json +111 -0
  100. package/json-schema/ai/BudgetStatus.json +91 -0
  101. package/json-schema/ai/BudgetType.json +17 -0
  102. package/json-schema/ai/ChunkingStrategy.json +133 -0
  103. package/json-schema/ai/ConversationAnalytics.json +86 -0
  104. package/json-schema/ai/ConversationContext.json +48 -0
  105. package/json-schema/ai/ConversationMessage.json +209 -0
  106. package/json-schema/ai/ConversationSession.json +458 -0
  107. package/json-schema/ai/ConversationSummary.json +73 -0
  108. package/json-schema/ai/CostAlert.json +107 -0
  109. package/json-schema/ai/CostAlertType.json +16 -0
  110. package/json-schema/ai/CostAnalytics.json +589 -0
  111. package/json-schema/ai/CostBreakdownDimension.json +20 -0
  112. package/json-schema/ai/CostBreakdownEntry.json +60 -0
  113. package/json-schema/ai/CostEntry.json +106 -0
  114. package/json-schema/ai/CostMetricType.json +17 -0
  115. package/json-schema/ai/CostOptimizationRecommendation.json +100 -0
  116. package/json-schema/ai/CostQueryFilters.json +112 -0
  117. package/json-schema/ai/CostReport.json +964 -0
  118. package/json-schema/ai/DocumentChunk.json +97 -0
  119. package/json-schema/ai/DocumentLoaderConfig.json +69 -0
  120. package/json-schema/ai/DocumentMetadata.json +61 -0
  121. package/json-schema/ai/EmbeddingModel.json +57 -0
  122. package/json-schema/ai/Entity.json +55 -0
  123. package/json-schema/ai/EvaluationMetrics.json +64 -0
  124. package/json-schema/ai/FieldSynonymConfig.json +39 -0
  125. package/json-schema/ai/FunctionCall.json +28 -0
  126. package/json-schema/ai/Hyperparameters.json +80 -0
  127. package/json-schema/ai/MessageContent.json +46 -0
  128. package/json-schema/ai/MessageContentType.json +16 -0
  129. package/json-schema/ai/MessagePruningEvent.json +92 -0
  130. package/json-schema/ai/MessageRole.json +16 -0
  131. package/json-schema/ai/ModelCapability.json +47 -0
  132. package/json-schema/ai/ModelConfig.json +181 -0
  133. package/json-schema/ai/ModelDrift.json +73 -0
  134. package/json-schema/ai/ModelFeature.json +71 -0
  135. package/json-schema/ai/ModelLimits.json +45 -0
  136. package/json-schema/ai/ModelPricing.json +28 -0
  137. package/json-schema/ai/ModelProvider.json +19 -0
  138. package/json-schema/ai/ModelRegistry.json +427 -0
  139. package/json-schema/ai/ModelRegistryEntry.json +239 -0
  140. package/json-schema/ai/ModelSelectionCriteria.json +50 -0
  141. package/json-schema/ai/NLQAnalytics.json +106 -0
  142. package/json-schema/ai/NLQFieldMapping.json +40 -0
  143. package/json-schema/ai/NLQModelConfig.json +78 -0
  144. package/json-schema/ai/NLQParseResult.json +252 -0
  145. package/json-schema/ai/NLQRequest.json +110 -0
  146. package/json-schema/ai/NLQResponse.json +288 -0
  147. package/json-schema/ai/NLQTrainingExample.json +120 -0
  148. package/json-schema/ai/PostProcessingAction.json +41 -0
  149. package/json-schema/ai/PredictionRequest.json +39 -0
  150. package/json-schema/ai/PredictionResult.json +82 -0
  151. package/json-schema/ai/PredictiveModel.json +445 -0
  152. package/json-schema/ai/PredictiveModelType.json +18 -0
  153. package/json-schema/ai/PromptTemplate.json +163 -0
  154. package/json-schema/ai/PromptVariable.json +56 -0
  155. package/json-schema/ai/QueryContext.json +72 -0
  156. package/json-schema/ai/QueryIntent.json +21 -0
  157. package/json-schema/ai/QueryTemplate.json +81 -0
  158. package/json-schema/ai/RAGPipelineConfig.json +552 -0
  159. package/json-schema/ai/RAGPipelineStatus.json +66 -0
  160. package/json-schema/ai/RAGQueryRequest.json +64 -0
  161. package/json-schema/ai/RAGQueryResponse.json +108 -0
  162. package/json-schema/ai/RerankingConfig.json +34 -0
  163. package/json-schema/ai/RetrievalStrategy.json +121 -0
  164. package/json-schema/ai/Timeframe.json +68 -0
  165. package/json-schema/ai/TokenBudgetConfig.json +92 -0
  166. package/json-schema/ai/TokenBudgetStrategy.json +16 -0
  167. package/json-schema/ai/TokenUsageStats.json +66 -0
  168. package/json-schema/ai/ToolCall.json +49 -0
  169. package/json-schema/ai/TrainingConfig.json +88 -0
  170. package/json-schema/ai/VectorStoreConfig.json +82 -0
  171. package/json-schema/ai/VectorStoreProvider.json +21 -0
  172. package/json-schema/ai/WorkflowFieldCondition.json +33 -0
  173. package/json-schema/ai/WorkflowSchedule.json +51 -0
  174. package/json-schema/data/CustomScriptAction.json +49 -0
  175. package/json-schema/{Field.json → data/Field.json} +50 -1
  176. package/json-schema/{FieldType.json → data/FieldType.json} +4 -1
  177. package/json-schema/data/HttpCallAction.json +81 -0
  178. package/json-schema/{Object.json → data/Object.json} +50 -1
  179. package/json-schema/data/PushNotificationAction.json +59 -0
  180. package/json-schema/data/SlackMessageAction.json +45 -0
  181. package/json-schema/data/SmsNotificationAction.json +50 -0
  182. package/json-schema/data/TaskCreationAction.json +59 -0
  183. package/json-schema/data/TeamsMessageAction.json +45 -0
  184. package/json-schema/data/WebhookTriggerAction.json +58 -0
  185. package/json-schema/data/WorkflowAction.json +465 -0
  186. package/json-schema/data/WorkflowRule.json +509 -0
  187. package/json-schema/system/Account.json +87 -0
  188. package/json-schema/system/AuditConfig.json +587 -0
  189. package/json-schema/system/AuditEvent.json +232 -0
  190. package/json-schema/system/AuditEventActor.json +48 -0
  191. package/json-schema/system/AuditEventChange.json +25 -0
  192. package/json-schema/system/AuditEventFilter.json +127 -0
  193. package/json-schema/system/AuditEventSeverity.json +19 -0
  194. package/json-schema/system/AuditEventTarget.json +33 -0
  195. package/json-schema/system/AuditEventType.json +53 -0
  196. package/json-schema/system/AuditRetentionPolicy.json +73 -0
  197. package/json-schema/system/AuditStorageConfig.json +60 -0
  198. package/json-schema/{AuthConfig.json → system/AuthConfig.json} +235 -0
  199. package/json-schema/system/CronSchedule.json +29 -0
  200. package/json-schema/system/DatabaseLevelIsolationStrategy.json +139 -0
  201. package/json-schema/system/DatabaseMapping.json +48 -0
  202. package/json-schema/system/EnterpriseAuthConfig.json +172 -0
  203. package/json-schema/system/Event.json +52 -0
  204. package/json-schema/system/EventHandler.json +29 -0
  205. package/json-schema/system/EventMetadata.json +33 -0
  206. package/json-schema/system/EventPersistence.json +25 -0
  207. package/json-schema/system/EventRoute.json +27 -0
  208. package/json-schema/system/IntervalSchedule.json +25 -0
  209. package/json-schema/system/Invitation.json +69 -0
  210. package/json-schema/system/InvitationStatus.json +15 -0
  211. package/json-schema/system/Job.json +127 -0
  212. package/json-schema/system/JobExecution.json +49 -0
  213. package/json-schema/system/JobExecutionStatus.json +15 -0
  214. package/json-schema/{LDAPConfig.json → system/LDAPConfig.json} +22 -5
  215. package/json-schema/system/LevelIsolationStrategySchema.json +93 -0
  216. package/json-schema/system/Member.json +46 -0
  217. package/json-schema/{OIDCConfig.json → system/OIDCConfig.json} +18 -3
  218. package/json-schema/system/OnceSchedule.json +25 -0
  219. package/json-schema/system/Organization.json +52 -0
  220. package/json-schema/system/Presence.json +40 -0
  221. package/json-schema/system/PresenceStatus.json +14 -0
  222. package/json-schema/system/RealtimeAction.json +14 -0
  223. package/json-schema/system/RealtimeEvent.json +51 -0
  224. package/json-schema/system/RealtimeEventType.json +15 -0
  225. package/json-schema/system/RetryPolicy.json +30 -0
  226. package/json-schema/system/RowLevelIsolationStrategy.json +74 -0
  227. package/json-schema/{SAMLConfig.json → system/SAMLConfig.json} +17 -3
  228. package/json-schema/system/Schedule.json +71 -0
  229. package/json-schema/system/Session.json +63 -0
  230. package/json-schema/{StandardAuthProvider.json → system/StandardAuthProvider.json} +235 -0
  231. package/json-schema/system/Subscription.json +65 -0
  232. package/json-schema/system/SubscriptionEvent.json +32 -0
  233. package/json-schema/system/SuspiciousActivityRule.json +175 -0
  234. package/json-schema/system/Tenant.json +61 -0
  235. package/json-schema/system/TenantIsolationConfig.json +298 -0
  236. package/json-schema/system/TenantIsolationLevel.json +14 -0
  237. package/json-schema/system/TenantQuota.json +27 -0
  238. package/json-schema/system/TenantSecurityPolicy.json +115 -0
  239. package/json-schema/system/TransportProtocol.json +14 -0
  240. package/json-schema/system/User.json +51 -0
  241. package/json-schema/system/VerificationToken.json +36 -0
  242. package/json-schema/{Action.json → ui/Action.json} +4 -1
  243. package/json-schema/{ActionParam.json → ui/ActionParam.json} +4 -1
  244. package/json-schema/{FieldWidgetProps.json → ui/FieldWidgetProps.json} +50 -1
  245. package/package.json +38 -12
  246. package/json-schema/AuthProtocol.json +0 -17
  247. package/json-schema/AuthProvider.json +0 -171
  248. package/json-schema/AuthenticationConfig.json +0 -601
  249. package/json-schema/AuthenticationProvider.json +0 -617
  250. package/json-schema/MenuItem.json +0 -28
  251. package/json-schema/WorkflowAction.json +0 -84
  252. package/json-schema/WorkflowRule.json +0 -128
  253. /package/json-schema/{AIKnowledge.json → ai/AIKnowledge.json} +0 -0
  254. /package/json-schema/{AIModelConfig.json → ai/AIModelConfig.json} +0 -0
  255. /package/json-schema/{AITool.json → ai/AITool.json} +0 -0
  256. /package/json-schema/{Agent.json → ai/Agent.json} +0 -0
  257. /package/json-schema/{ApiError.json → api/ApiError.json} +0 -0
  258. /package/json-schema/{BaseResponse.json → api/BaseResponse.json} +0 -0
  259. /package/json-schema/{BulkRequest.json → api/BulkRequest.json} +0 -0
  260. /package/json-schema/{BulkResponse.json → api/BulkResponse.json} +0 -0
  261. /package/json-schema/{CreateRequest.json → api/CreateRequest.json} +0 -0
  262. /package/json-schema/{DeleteResponse.json → api/DeleteResponse.json} +0 -0
  263. /package/json-schema/{ExportRequest.json → api/ExportRequest.json} +0 -0
  264. /package/json-schema/{ListRecordResponse.json → api/ListRecordResponse.json} +0 -0
  265. /package/json-schema/{ModificationResult.json → api/ModificationResult.json} +0 -0
  266. /package/json-schema/{RecordData.json → api/RecordData.json} +0 -0
  267. /package/json-schema/{SingleRecordResponse.json → api/SingleRecordResponse.json} +0 -0
  268. /package/json-schema/{UpdateRequest.json → api/UpdateRequest.json} +0 -0
  269. /package/json-schema/{Address.json → data/Address.json} +0 -0
  270. /package/json-schema/{AggregationFunction.json → data/AggregationFunction.json} +0 -0
  271. /package/json-schema/{AggregationNode.json → data/AggregationNode.json} +0 -0
  272. /package/json-schema/{AsyncValidation.json → data/AsyncValidation.json} +0 -0
  273. /package/json-schema/{ComparisonOperator.json → data/ComparisonOperator.json} +0 -0
  274. /package/json-schema/{ConditionalValidation.json → data/ConditionalValidation.json} +0 -0
  275. /package/json-schema/{CrossFieldValidation.json → data/CrossFieldValidation.json} +0 -0
  276. /package/json-schema/{CustomValidator.json → data/CustomValidator.json} +0 -0
  277. /package/json-schema/{Dataset.json → data/Dataset.json} +0 -0
  278. /package/json-schema/{DatasetMode.json → data/DatasetMode.json} +0 -0
  279. /package/json-schema/{EmailAlertAction.json → data/EmailAlertAction.json} +0 -0
  280. /package/json-schema/{EqualityOperator.json → data/EqualityOperator.json} +0 -0
  281. /package/json-schema/{FieldMapping.json → data/FieldMapping.json} +0 -0
  282. /package/json-schema/{FieldNode.json → data/FieldNode.json} +0 -0
  283. /package/json-schema/{FieldOperators.json → data/FieldOperators.json} +0 -0
  284. /package/json-schema/{FieldPermission.json → data/FieldPermission.json} +0 -0
  285. /package/json-schema/{FieldUpdateAction.json → data/FieldUpdateAction.json} +0 -0
  286. /package/json-schema/{FilterCondition.json → data/FilterCondition.json} +0 -0
  287. /package/json-schema/{FilterNode.json → data/FilterNode.json} +0 -0
  288. /package/json-schema/{FilterOperator.json → data/FilterOperator.json} +0 -0
  289. /package/json-schema/{Flow.json → data/Flow.json} +0 -0
  290. /package/json-schema/{FlowEdge.json → data/FlowEdge.json} +0 -0
  291. /package/json-schema/{FlowNode.json → data/FlowNode.json} +0 -0
  292. /package/json-schema/{FlowNodeAction.json → data/FlowNodeAction.json} +0 -0
  293. /package/json-schema/{FlowVariable.json → data/FlowVariable.json} +0 -0
  294. /package/json-schema/{FormatValidation.json → data/FormatValidation.json} +0 -0
  295. /package/json-schema/{Index.json → data/Index.json} +0 -0
  296. /package/json-schema/{JoinNode.json → data/JoinNode.json} +0 -0
  297. /package/json-schema/{JoinType.json → data/JoinType.json} +0 -0
  298. /package/json-schema/{LocationCoordinates.json → data/LocationCoordinates.json} +0 -0
  299. /package/json-schema/{LogicOperator.json → data/LogicOperator.json} +0 -0
  300. /package/json-schema/{Mapping.json → data/Mapping.json} +0 -0
  301. /package/json-schema/{NormalizedFilter.json → data/NormalizedFilter.json} +0 -0
  302. /package/json-schema/{OWDModel.json → data/OWDModel.json} +0 -0
  303. /package/json-schema/{ObjectCapabilities.json → data/ObjectCapabilities.json} +0 -0
  304. /package/json-schema/{ObjectPermission.json → data/ObjectPermission.json} +0 -0
  305. /package/json-schema/{PermissionSet.json → data/PermissionSet.json} +0 -0
  306. /package/json-schema/{Query.json → data/Query.json} +0 -0
  307. /package/json-schema/{QueryFilter.json → data/QueryFilter.json} +0 -0
  308. /package/json-schema/{RangeOperator.json → data/RangeOperator.json} +0 -0
  309. /package/json-schema/{ScriptValidation.json → data/ScriptValidation.json} +0 -0
  310. /package/json-schema/{SelectOption.json → data/SelectOption.json} +0 -0
  311. /package/json-schema/{SetOperator.json → data/SetOperator.json} +0 -0
  312. /package/json-schema/{SharingLevel.json → data/SharingLevel.json} +0 -0
  313. /package/json-schema/{SharingRule.json → data/SharingRule.json} +0 -0
  314. /package/json-schema/{SharingRuleType.json → data/SharingRuleType.json} +0 -0
  315. /package/json-schema/{SortNode.json → data/SortNode.json} +0 -0
  316. /package/json-schema/{SpecialOperator.json → data/SpecialOperator.json} +0 -0
  317. /package/json-schema/{StateMachineValidation.json → data/StateMachineValidation.json} +0 -0
  318. /package/json-schema/{StringOperator.json → data/StringOperator.json} +0 -0
  319. /package/json-schema/{TransformType.json → data/TransformType.json} +0 -0
  320. /package/json-schema/{Trigger.json → data/Trigger.json} +0 -0
  321. /package/json-schema/{TriggerAction.json → data/TriggerAction.json} +0 -0
  322. /package/json-schema/{TriggerContext.json → data/TriggerContext.json} +0 -0
  323. /package/json-schema/{TriggerTiming.json → data/TriggerTiming.json} +0 -0
  324. /package/json-schema/{UniquenessValidation.json → data/UniquenessValidation.json} +0 -0
  325. /package/json-schema/{ValidationRule.json → data/ValidationRule.json} +0 -0
  326. /package/json-schema/{WindowFunction.json → data/WindowFunction.json} +0 -0
  327. /package/json-schema/{WindowFunctionNode.json → data/WindowFunctionNode.json} +0 -0
  328. /package/json-schema/{WindowSpec.json → data/WindowSpec.json} +0 -0
  329. /package/json-schema/{WorkflowTriggerType.json → data/WorkflowTriggerType.json} +0 -0
  330. /package/json-schema/{AccountLinkingConfig.json → system/AccountLinkingConfig.json} +0 -0
  331. /package/json-schema/{ApiCapabilities.json → system/ApiCapabilities.json} +0 -0
  332. /package/json-schema/{ApiEndpoint.json → system/ApiEndpoint.json} +0 -0
  333. /package/json-schema/{ApiMapping.json → system/ApiMapping.json} +0 -0
  334. /package/json-schema/{ApiRoutes.json → system/ApiRoutes.json} +0 -0
  335. /package/json-schema/{AuditPolicy.json → system/AuditPolicy.json} +0 -0
  336. /package/json-schema/{AuthPluginConfig.json → system/AuthPluginConfig.json} +0 -0
  337. /package/json-schema/{AuthStrategy.json → system/AuthStrategy.json} +0 -0
  338. /package/json-schema/{CSRFConfig.json → system/CSRFConfig.json} +0 -0
  339. /package/json-schema/{DatabaseAdapter.json → system/DatabaseAdapter.json} +0 -0
  340. /package/json-schema/{Datasource.json → system/Datasource.json} +0 -0
  341. /package/json-schema/{DatasourceCapabilities.json → system/DatasourceCapabilities.json} +0 -0
  342. /package/json-schema/{Discovery.json → system/Discovery.json} +0 -0
  343. /package/json-schema/{DriverCapabilities.json → system/DriverCapabilities.json} +0 -0
  344. /package/json-schema/{DriverDefinition.json → system/DriverDefinition.json} +0 -0
  345. /package/json-schema/{DriverInterface.json → system/DriverInterface.json} +0 -0
  346. /package/json-schema/{DriverOptions.json → system/DriverOptions.json} +0 -0
  347. /package/json-schema/{DriverType.json → system/DriverType.json} +0 -0
  348. /package/json-schema/{EmailPasswordConfig.json → system/EmailPasswordConfig.json} +0 -0
  349. /package/json-schema/{Feature.json → system/Feature.json} +0 -0
  350. /package/json-schema/{HttpMethod.json → system/HttpMethod.json} +0 -0
  351. /package/json-schema/{I18nContext.json → system/I18nContext.json} +0 -0
  352. /package/json-schema/{License.json → system/License.json} +0 -0
  353. /package/json-schema/{Locale.json → system/Locale.json} +0 -0
  354. /package/json-schema/{Logger.json → system/Logger.json} +0 -0
  355. /package/json-schema/{MagicLinkConfig.json → system/MagicLinkConfig.json} +0 -0
  356. /package/json-schema/{Manifest.json → system/Manifest.json} +0 -0
  357. /package/json-schema/{MetricType.json → system/MetricType.json} +0 -0
  358. /package/json-schema/{NetworkPolicy.json → system/NetworkPolicy.json} +0 -0
  359. /package/json-schema/{OAuthProvider.json → system/OAuthProvider.json} +0 -0
  360. /package/json-schema/{ObjectQLClient.json → system/ObjectQLClient.json} +0 -0
  361. /package/json-schema/{PasskeyConfig.json → system/PasskeyConfig.json} +0 -0
  362. /package/json-schema/{PasswordPolicy.json → system/PasswordPolicy.json} +0 -0
  363. /package/json-schema/{Plan.json → system/Plan.json} +0 -0
  364. /package/json-schema/{Plugin.json → system/Plugin.json} +0 -0
  365. /package/json-schema/{PluginContext.json → system/PluginContext.json} +0 -0
  366. /package/json-schema/{PluginLifecycle.json → system/PluginLifecycle.json} +0 -0
  367. /package/json-schema/{Policy.json → system/Policy.json} +0 -0
  368. /package/json-schema/{RateLimit.json → system/RateLimit.json} +0 -0
  369. /package/json-schema/{RateLimitConfig.json → system/RateLimitConfig.json} +0 -0
  370. /package/json-schema/{Role.json → system/Role.json} +0 -0
  371. /package/json-schema/{Router.json → system/Router.json} +0 -0
  372. /package/json-schema/{Scheduler.json → system/Scheduler.json} +0 -0
  373. /package/json-schema/{ScopedStorage.json → system/ScopedStorage.json} +0 -0
  374. /package/json-schema/{SessionConfig.json → system/SessionConfig.json} +0 -0
  375. /package/json-schema/{SessionPolicy.json → system/SessionPolicy.json} +0 -0
  376. /package/json-schema/{SystemAPI.json → system/SystemAPI.json} +0 -0
  377. /package/json-schema/{Territory.json → system/Territory.json} +0 -0
  378. /package/json-schema/{TerritoryModel.json → system/TerritoryModel.json} +0 -0
  379. /package/json-schema/{TerritoryType.json → system/TerritoryType.json} +0 -0
  380. /package/json-schema/{TranslationBundle.json → system/TranslationBundle.json} +0 -0
  381. /package/json-schema/{TranslationData.json → system/TranslationData.json} +0 -0
  382. /package/json-schema/{TwoFactorConfig.json → system/TwoFactorConfig.json} +0 -0
  383. /package/json-schema/{UserFieldMapping.json → system/UserFieldMapping.json} +0 -0
  384. /package/json-schema/{Webhook.json → system/Webhook.json} +0 -0
  385. /package/json-schema/{WebhookReceiver.json → system/WebhookReceiver.json} +0 -0
  386. /package/json-schema/{WebhookTriggerType.json → system/WebhookTriggerType.json} +0 -0
  387. /package/json-schema/{Animation.json → ui/Animation.json} +0 -0
  388. /package/json-schema/{App.json → ui/App.json} +0 -0
  389. /package/json-schema/{AppBranding.json → ui/AppBranding.json} +0 -0
  390. /package/json-schema/{BorderRadius.json → ui/BorderRadius.json} +0 -0
  391. /package/json-schema/{Breakpoints.json → ui/Breakpoints.json} +0 -0
  392. /package/json-schema/{CalendarConfig.json → ui/CalendarConfig.json} +0 -0
  393. /package/json-schema/{ChartType.json → ui/ChartType.json} +0 -0
  394. /package/json-schema/{ColorPalette.json → ui/ColorPalette.json} +0 -0
  395. /package/json-schema/{Dashboard.json → ui/Dashboard.json} +0 -0
  396. /package/json-schema/{DashboardNavItem.json → ui/DashboardNavItem.json} +0 -0
  397. /package/json-schema/{DashboardWidget.json → ui/DashboardWidget.json} +0 -0
  398. /package/json-schema/{FormSection.json → ui/FormSection.json} +0 -0
  399. /package/json-schema/{FormView.json → ui/FormView.json} +0 -0
  400. /package/json-schema/{GanttConfig.json → ui/GanttConfig.json} +0 -0
  401. /package/json-schema/{GroupNavItem.json → ui/GroupNavItem.json} +0 -0
  402. /package/json-schema/{KanbanConfig.json → ui/KanbanConfig.json} +0 -0
  403. /package/json-schema/{ListView.json → ui/ListView.json} +0 -0
  404. /package/json-schema/{NavigationItem.json → ui/NavigationItem.json} +0 -0
  405. /package/json-schema/{ObjectNavItem.json → ui/ObjectNavItem.json} +0 -0
  406. /package/json-schema/{Page.json → ui/Page.json} +0 -0
  407. /package/json-schema/{PageComponent.json → ui/PageComponent.json} +0 -0
  408. /package/json-schema/{PageNavItem.json → ui/PageNavItem.json} +0 -0
  409. /package/json-schema/{PageRegion.json → ui/PageRegion.json} +0 -0
  410. /package/json-schema/{Report.json → ui/Report.json} +0 -0
  411. /package/json-schema/{ReportChart.json → ui/ReportChart.json} +0 -0
  412. /package/json-schema/{ReportColumn.json → ui/ReportColumn.json} +0 -0
  413. /package/json-schema/{ReportGrouping.json → ui/ReportGrouping.json} +0 -0
  414. /package/json-schema/{ReportType.json → ui/ReportType.json} +0 -0
  415. /package/json-schema/{Shadow.json → ui/Shadow.json} +0 -0
  416. /package/json-schema/{Spacing.json → ui/Spacing.json} +0 -0
  417. /package/json-schema/{Theme.json → ui/Theme.json} +0 -0
  418. /package/json-schema/{ThemeMode.json → ui/ThemeMode.json} +0 -0
  419. /package/json-schema/{Typography.json → ui/Typography.json} +0 -0
  420. /package/json-schema/{UrlNavItem.json → ui/UrlNavItem.json} +0 -0
  421. /package/json-schema/{View.json → ui/View.json} +0 -0
  422. /package/json-schema/{ZIndex.json → ui/ZIndex.json} +0 -0
@@ -34,12 +34,74 @@ export declare const SortNodeSchema: z.ZodObject<{
34
34
  }>;
35
35
  /**
36
36
  * Aggregation Function Enum
37
- * Standard aggregation functions.
37
+ * Standard aggregation functions for data analysis.
38
+ *
39
+ * Supported Functions:
40
+ * - **count**: Count rows (SQL: COUNT(*) or COUNT(field))
41
+ * - **sum**: Sum numeric values (SQL: SUM(field))
42
+ * - **avg**: Average numeric values (SQL: AVG(field))
43
+ * - **min**: Minimum value (SQL: MIN(field))
44
+ * - **max**: Maximum value (SQL: MAX(field))
45
+ * - **count_distinct**: Count unique values (SQL: COUNT(DISTINCT field))
46
+ * - **array_agg**: Aggregate values into array (SQL: ARRAY_AGG(field))
47
+ * - **string_agg**: Concatenate values (SQL: STRING_AGG(field, delimiter))
48
+ *
49
+ * Performance Considerations:
50
+ * - COUNT(*) is typically faster than COUNT(field) as it doesn't check for nulls
51
+ * - COUNT DISTINCT may require additional memory for tracking unique values
52
+ * - Window aggregates (with OVER clause) can be more efficient than subqueries
53
+ * - Large GROUP BY operations benefit from proper indexing on grouped fields
54
+ *
55
+ * @example
56
+ * // SQL: SELECT region, SUM(amount) FROM sales GROUP BY region
57
+ * {
58
+ * object: 'sales',
59
+ * fields: ['region'],
60
+ * aggregations: [
61
+ * { function: 'sum', field: 'amount', alias: 'total_sales' }
62
+ * ],
63
+ * groupBy: ['region']
64
+ * }
65
+ *
66
+ * @example
67
+ * // Salesforce SOQL: SELECT COUNT(Id) FROM Account
68
+ * {
69
+ * object: 'account',
70
+ * aggregations: [
71
+ * { function: 'count', alias: 'total_accounts' }
72
+ * ]
73
+ * }
38
74
  */
39
75
  export declare const AggregationFunction: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct", "array_agg", "string_agg"]>;
40
76
  /**
41
77
  * Aggregation Node
42
- * Represents aggregated field with function.
78
+ * Represents an aggregated field with function.
79
+ *
80
+ * Aggregations summarize data across groups of rows (GROUP BY).
81
+ * Used with `groupBy` to create analytical queries.
82
+ *
83
+ * @example
84
+ * // SQL: SELECT customer_id, COUNT(*), SUM(amount) FROM orders GROUP BY customer_id
85
+ * {
86
+ * object: 'order',
87
+ * fields: ['customer_id'],
88
+ * aggregations: [
89
+ * { function: 'count', alias: 'order_count' },
90
+ * { function: 'sum', field: 'amount', alias: 'total_amount' }
91
+ * ],
92
+ * groupBy: ['customer_id']
93
+ * }
94
+ *
95
+ * @example
96
+ * // Salesforce SOQL: SELECT LeadSource, COUNT(Id) FROM Lead GROUP BY LeadSource
97
+ * {
98
+ * object: 'lead',
99
+ * fields: ['lead_source'],
100
+ * aggregations: [
101
+ * { function: 'count', alias: 'lead_count' }
102
+ * ],
103
+ * groupBy: ['lead_source']
104
+ * }
43
105
  */
44
106
  export declare const AggregationNodeSchema: z.ZodObject<{
45
107
  function: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct", "array_agg", "string_agg"]>;
@@ -59,20 +121,202 @@ export declare const AggregationNodeSchema: z.ZodObject<{
59
121
  }>;
60
122
  /**
61
123
  * Join Type Enum
124
+ * Standard SQL join types for combining tables.
125
+ *
126
+ * Join Types:
127
+ * - **inner**: Returns only matching rows from both tables (SQL: INNER JOIN)
128
+ * - **left**: Returns all rows from left table, matching rows from right (SQL: LEFT JOIN)
129
+ * - **right**: Returns all rows from right table, matching rows from left (SQL: RIGHT JOIN)
130
+ * - **full**: Returns all rows from both tables (SQL: FULL OUTER JOIN)
131
+ *
132
+ * @example
133
+ * // SQL: SELECT * FROM orders INNER JOIN customers ON orders.customer_id = customers.id
134
+ * {
135
+ * object: 'order',
136
+ * joins: [
137
+ * {
138
+ * type: 'inner',
139
+ * object: 'customer',
140
+ * on: ['order.customer_id', '=', 'customer.id']
141
+ * }
142
+ * ]
143
+ * }
144
+ *
145
+ * @example
146
+ * // Salesforce SOQL-style: Find all customers and their orders (if any)
147
+ * {
148
+ * object: 'customer',
149
+ * joins: [
150
+ * {
151
+ * type: 'left',
152
+ * object: 'order',
153
+ * on: ['customer.id', '=', 'order.customer_id']
154
+ * }
155
+ * ]
156
+ * }
62
157
  */
63
158
  export declare const JoinType: z.ZodEnum<["inner", "left", "right", "full"]>;
64
159
  /**
65
160
  * Join Node
66
- * Represents table joins.
161
+ * Represents table joins for combining data from multiple objects.
162
+ *
163
+ * Joins connect related data across multiple tables using ON conditions.
164
+ * Supports both direct object joins and subquery joins.
165
+ *
166
+ * @example
167
+ * // SQL: SELECT o.*, c.name FROM orders o INNER JOIN customers c ON o.customer_id = c.id
168
+ * {
169
+ * object: 'order',
170
+ * fields: ['id', 'amount'],
171
+ * joins: [
172
+ * {
173
+ * type: 'inner',
174
+ * object: 'customer',
175
+ * alias: 'c',
176
+ * on: ['order.customer_id', '=', 'c.id']
177
+ * }
178
+ * ]
179
+ * }
180
+ *
181
+ * @example
182
+ * // SQL: Multi-table join
183
+ * // SELECT * FROM orders o
184
+ * // INNER JOIN customers c ON o.customer_id = c.id
185
+ * // LEFT JOIN shipments s ON o.id = s.order_id
186
+ * {
187
+ * object: 'order',
188
+ * joins: [
189
+ * {
190
+ * type: 'inner',
191
+ * object: 'customer',
192
+ * alias: 'c',
193
+ * on: ['order.customer_id', '=', 'c.id']
194
+ * },
195
+ * {
196
+ * type: 'left',
197
+ * object: 'shipment',
198
+ * alias: 's',
199
+ * on: ['order.id', '=', 's.order_id']
200
+ * }
201
+ * ]
202
+ * }
203
+ *
204
+ * @example
205
+ * // Salesforce SOQL: SELECT Name, (SELECT LastName FROM Contacts) FROM Account
206
+ * {
207
+ * object: 'account',
208
+ * fields: ['name'],
209
+ * joins: [
210
+ * {
211
+ * type: 'left',
212
+ * object: 'contact',
213
+ * on: ['account.id', '=', 'contact.account_id']
214
+ * }
215
+ * ]
216
+ * }
217
+ *
218
+ * @example
219
+ * // Subquery Join: Join with a filtered/aggregated dataset
220
+ * {
221
+ * object: 'customer',
222
+ * joins: [
223
+ * {
224
+ * type: 'left',
225
+ * object: 'order',
226
+ * alias: 'high_value_orders',
227
+ * on: ['customer.id', '=', 'high_value_orders.customer_id'],
228
+ * subquery: {
229
+ * object: 'order',
230
+ * fields: ['customer_id', 'total'],
231
+ * filters: ['total', '>', 1000]
232
+ * }
233
+ * }
234
+ * ]
235
+ * }
67
236
  */
68
237
  export declare const JoinNodeSchema: z.ZodType<any>;
69
238
  /**
70
239
  * Window Function Enum
240
+ * Advanced analytical functions for row-based calculations.
241
+ *
242
+ * Window Functions:
243
+ * - **row_number**: Sequential number within partition (SQL: ROW_NUMBER() OVER (...))
244
+ * - **rank**: Rank with gaps for ties (SQL: RANK() OVER (...))
245
+ * - **dense_rank**: Rank without gaps (SQL: DENSE_RANK() OVER (...))
246
+ * - **percent_rank**: Relative rank as percentage (SQL: PERCENT_RANK() OVER (...))
247
+ * - **lag**: Access previous row value (SQL: LAG(field) OVER (...))
248
+ * - **lead**: Access next row value (SQL: LEAD(field) OVER (...))
249
+ * - **first_value**: First value in window (SQL: FIRST_VALUE(field) OVER (...))
250
+ * - **last_value**: Last value in window (SQL: LAST_VALUE(field) OVER (...))
251
+ * - **sum/avg/count/min/max**: Aggregates over window (SQL: SUM(field) OVER (...))
252
+ *
253
+ * @example
254
+ * // SQL: SELECT *, ROW_NUMBER() OVER (PARTITION BY customer_id ORDER BY amount DESC) as rank
255
+ * // FROM orders
256
+ * {
257
+ * object: 'order',
258
+ * fields: ['id', 'customer_id', 'amount'],
259
+ * windowFunctions: [
260
+ * {
261
+ * function: 'row_number',
262
+ * alias: 'rank',
263
+ * over: {
264
+ * partitionBy: ['customer_id'],
265
+ * orderBy: [{ field: 'amount', order: 'desc' }]
266
+ * }
267
+ * }
268
+ * ]
269
+ * }
270
+ *
271
+ * @example
272
+ * // SQL: Running total with SUM() OVER (...)
273
+ * {
274
+ * object: 'transaction',
275
+ * fields: ['date', 'amount'],
276
+ * windowFunctions: [
277
+ * {
278
+ * function: 'sum',
279
+ * field: 'amount',
280
+ * alias: 'running_total',
281
+ * over: {
282
+ * orderBy: [{ field: 'date', order: 'asc' }],
283
+ * frame: {
284
+ * type: 'rows',
285
+ * start: 'UNBOUNDED PRECEDING',
286
+ * end: 'CURRENT ROW'
287
+ * }
288
+ * }
289
+ * }
290
+ * ]
291
+ * }
71
292
  */
72
293
  export declare const WindowFunction: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
73
294
  /**
74
295
  * Window Specification
75
296
  * Defines PARTITION BY and ORDER BY for window functions.
297
+ *
298
+ * Window specifications control how window functions compute values:
299
+ * - **partitionBy**: Divide rows into groups (like GROUP BY but without collapsing rows)
300
+ * - **orderBy**: Define order for ranking and offset functions
301
+ * - **frame**: Specify which rows to include in aggregate calculations
302
+ *
303
+ * @example
304
+ * // Partition by department, order by salary
305
+ * {
306
+ * partitionBy: ['department'],
307
+ * orderBy: [{ field: 'salary', order: 'desc' }]
308
+ * }
309
+ *
310
+ * @example
311
+ * // Moving average with frame specification
312
+ * {
313
+ * orderBy: [{ field: 'date', order: 'asc' }],
314
+ * frame: {
315
+ * type: 'rows',
316
+ * start: '6 PRECEDING',
317
+ * end: 'CURRENT ROW'
318
+ * }
319
+ * }
76
320
  */
77
321
  export declare const WindowSpecSchema: z.ZodObject<{
78
322
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -125,6 +369,45 @@ export declare const WindowSpecSchema: z.ZodObject<{
125
369
  /**
126
370
  * Window Function Node
127
371
  * Represents window function with OVER clause.
372
+ *
373
+ * Window functions perform calculations across a set of rows related to the current row,
374
+ * without collapsing the result set (unlike GROUP BY aggregations).
375
+ *
376
+ * @example
377
+ * // SQL: Top 3 products per category
378
+ * // SELECT *, ROW_NUMBER() OVER (PARTITION BY category ORDER BY sales DESC) as rank
379
+ * // FROM products
380
+ * {
381
+ * object: 'product',
382
+ * fields: ['name', 'category', 'sales'],
383
+ * windowFunctions: [
384
+ * {
385
+ * function: 'row_number',
386
+ * alias: 'category_rank',
387
+ * over: {
388
+ * partitionBy: ['category'],
389
+ * orderBy: [{ field: 'sales', order: 'desc' }]
390
+ * }
391
+ * }
392
+ * ]
393
+ * }
394
+ *
395
+ * @example
396
+ * // SQL: Year-over-year comparison with LAG
397
+ * {
398
+ * object: 'monthly_sales',
399
+ * fields: ['month', 'revenue'],
400
+ * windowFunctions: [
401
+ * {
402
+ * function: 'lag',
403
+ * field: 'revenue',
404
+ * alias: 'prev_year_revenue',
405
+ * over: {
406
+ * orderBy: [{ field: 'month', order: 'asc' }]
407
+ * }
408
+ * }
409
+ * ]
410
+ * }
128
411
  */
129
412
  export declare const WindowFunctionNodeSchema: z.ZodObject<{
130
413
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
@@ -219,6 +502,106 @@ export declare const FieldNodeSchema: z.ZodType<any>;
219
502
  /**
220
503
  * Query AST Schema
221
504
  * The universal data retrieval contract defined in `ast-structure.mdx`.
505
+ *
506
+ * This schema represents ObjectQL - a universal query language that abstracts
507
+ * SQL, NoSQL, and SaaS APIs into a single unified interface.
508
+ *
509
+ * Key Features:
510
+ * - **Filtering**: WHERE clauses with nested logic
511
+ * - **Aggregations**: GROUP BY with COUNT, SUM, AVG, MIN, MAX
512
+ * - **Joins**: INNER, LEFT, RIGHT, FULL OUTER joins
513
+ * - **Window Functions**: ROW_NUMBER, RANK, LAG, LEAD, running totals
514
+ * - **Subqueries**: Nested queries in joins and filters
515
+ * - **Sorting & Pagination**: ORDER BY, LIMIT, OFFSET
516
+ *
517
+ * @example
518
+ * // Simple query: SELECT name, email FROM account WHERE status = 'active'
519
+ * {
520
+ * object: 'account',
521
+ * fields: ['name', 'email'],
522
+ * filters: ['status', '=', 'active']
523
+ * }
524
+ *
525
+ * @example
526
+ * // Aggregation: SELECT region, SUM(amount) as total FROM sales GROUP BY region HAVING total > 10000
527
+ * {
528
+ * object: 'sales',
529
+ * fields: ['region'],
530
+ * aggregations: [
531
+ * { function: 'sum', field: 'amount', alias: 'total' }
532
+ * ],
533
+ * groupBy: ['region'],
534
+ * having: ['total', '>', 10000]
535
+ * }
536
+ *
537
+ * @example
538
+ * // Join: SELECT o.*, c.name FROM orders o INNER JOIN customers c ON o.customer_id = c.id
539
+ * {
540
+ * object: 'order',
541
+ * fields: ['id', 'amount'],
542
+ * joins: [
543
+ * {
544
+ * type: 'inner',
545
+ * object: 'customer',
546
+ * alias: 'c',
547
+ * on: ['order.customer_id', '=', 'c.id']
548
+ * }
549
+ * ]
550
+ * }
551
+ *
552
+ * @example
553
+ * // Window Function: Top 5 orders per customer
554
+ * {
555
+ * object: 'order',
556
+ * fields: ['customer_id', 'amount', 'created_at'],
557
+ * windowFunctions: [
558
+ * {
559
+ * function: 'row_number',
560
+ * alias: 'customer_order_rank',
561
+ * over: {
562
+ * partitionBy: ['customer_id'],
563
+ * orderBy: [{ field: 'amount', order: 'desc' }]
564
+ * }
565
+ * }
566
+ * ]
567
+ * }
568
+ *
569
+ * @example
570
+ * // Complex: Customer lifetime value with rankings
571
+ * {
572
+ * object: 'customer',
573
+ * fields: ['id', 'name'],
574
+ * joins: [
575
+ * {
576
+ * type: 'left',
577
+ * object: 'order',
578
+ * alias: 'o',
579
+ * on: ['customer.id', '=', 'o.customer_id']
580
+ * }
581
+ * ],
582
+ * aggregations: [
583
+ * { function: 'count', field: 'o.id', alias: 'order_count' },
584
+ * { function: 'sum', field: 'o.amount', alias: 'lifetime_value' }
585
+ * ],
586
+ * groupBy: ['customer.id', 'customer.name'],
587
+ * having: ['order_count', '>', 0],
588
+ * sort: [{ field: 'lifetime_value', order: 'desc' }],
589
+ * top: 100
590
+ * }
591
+ *
592
+ * @example
593
+ * // Salesforce SOQL: SELECT Name, (SELECT LastName FROM Contacts) FROM Account
594
+ * {
595
+ * object: 'account',
596
+ * fields: ['name'],
597
+ * joins: [
598
+ * {
599
+ * type: 'left',
600
+ * object: 'contact',
601
+ * on: ['account.id', '=', 'contact.account_id']
602
+ * }
603
+ * ]
604
+ * }
222
605
  */
223
606
  export declare const QuerySchema: z.ZodObject<{
224
607
  /** Target Entity */
@@ -1 +1 @@
1
- {"version":3,"file":"query.zod.d.ts","sourceRoot":"","sources":["../../src/data/query.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,cAAc,iJAMzB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,iCAA+B,CAAC;AAE1D;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAQ3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,mBAAmB,+FAG9B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,QAAQ,+CAA6C,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAQzC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,kJAIzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAS1C,CAAC;AAE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