@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.
- package/README.md +32 -10
- package/dist/ai/agent.zod.d.ts +12 -12
- package/dist/ai/conversation.zod.d.ts +65 -65
- package/dist/ai/cost.zod.d.ts +125 -125
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -1
- package/dist/ai/model-registry.zod.d.ts +94 -94
- package/dist/ai/nlq.zod.d.ts +70 -70
- package/dist/ai/{workflow-automation.zod.d.ts → orchestration.zod.d.ts} +50 -49
- package/dist/ai/orchestration.zod.d.ts.map +1 -0
- package/dist/ai/{workflow-automation.zod.js → orchestration.zod.js} +26 -25
- package/dist/ai/predictive.zod.d.ts +31 -31
- package/dist/ai/rag-pipeline.zod.d.ts +86 -86
- package/dist/api/contract.zod.d.ts +121 -105
- package/dist/api/contract.zod.d.ts.map +1 -1
- package/dist/{system → api}/discovery.zod.d.ts +26 -26
- package/dist/api/discovery.zod.d.ts.map +1 -0
- package/dist/{system → api}/discovery.zod.js +9 -9
- package/dist/{system/api.zod.d.ts → api/endpoint.zod.d.ts} +53 -57
- package/dist/api/endpoint.zod.d.ts.map +1 -0
- package/dist/{system/api.zod.js → api/endpoint.zod.js} +3 -6
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/{system → api}/realtime.zod.d.ts +4 -4
- package/dist/api/realtime.zod.d.ts.map +1 -0
- package/dist/api/router.zod.d.ts +182 -0
- package/dist/api/router.zod.d.ts.map +1 -0
- package/dist/api/router.zod.js +103 -0
- package/dist/{system/auth.zod.d.ts → auth/config.zod.d.ts} +191 -191
- package/dist/auth/config.zod.d.ts.map +1 -0
- package/dist/{system → auth}/identity.zod.d.ts +8 -8
- package/dist/auth/identity.zod.d.ts.map +1 -0
- package/dist/auth/index.d.ts +7 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +22 -0
- package/dist/{system → auth}/organization.zod.d.ts +5 -5
- package/dist/auth/organization.zod.d.ts.map +1 -0
- package/dist/{system → auth}/policy.zod.d.ts +3 -3
- package/dist/auth/policy.zod.d.ts.map +1 -0
- package/dist/{system/auth-protocol.d.ts → auth/protocol.d.ts} +1 -1
- package/dist/auth/protocol.d.ts.map +1 -0
- package/dist/auth/role.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.d.ts +34 -16
- package/dist/automation/flow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.js +6 -1
- package/dist/automation/index.d.ts +4 -0
- package/dist/automation/index.d.ts.map +1 -0
- package/dist/automation/index.js +19 -0
- package/dist/{system → automation}/webhook.zod.d.ts +2 -2
- package/dist/automation/webhook.zod.d.ts.map +1 -0
- package/dist/automation/workflow.zod.d.ts +2045 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/workflow.zod.js +24 -1
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +443 -213
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +29 -1
- package/dist/data/filter.zod.d.ts +167 -30
- package/dist/data/filter.zod.d.ts.map +1 -1
- package/dist/data/filter.zod.js +25 -13
- package/dist/data/hook.zod.d.ts +191 -0
- package/dist/data/hook.zod.d.ts.map +1 -0
- package/dist/data/hook.zod.js +144 -0
- package/dist/data/index.d.ts +4 -17
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +4 -17
- package/dist/data/mapping.zod.d.ts +103 -91
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/object.zod.d.ts +387 -127
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +87 -42
- package/dist/data/query.zod.d.ts +98 -169
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +42 -130
- package/dist/data/validation.zod.d.ts +166 -26
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +38 -16
- package/dist/{system → driver}/datasource.zod.d.ts +42 -8
- package/dist/driver/datasource.zod.d.ts.map +1 -0
- package/dist/{system → driver}/datasource.zod.js +17 -13
- package/dist/driver/driver.zod.d.ts +3392 -0
- package/dist/driver/driver.zod.d.ts.map +1 -0
- package/dist/{system → driver}/driver.zod.js +99 -0
- package/dist/driver/index.d.ts +5 -0
- package/dist/driver/index.d.ts.map +1 -0
- package/dist/driver/index.js +20 -0
- package/dist/driver/mongo.zod.d.ts +107 -0
- package/dist/driver/mongo.zod.d.ts.map +1 -0
- package/dist/driver/mongo.zod.js +80 -0
- package/dist/driver/postgres.zod.d.ts +134 -0
- package/dist/driver/postgres.zod.d.ts.map +1 -0
- package/dist/driver/postgres.zod.js +88 -0
- package/dist/hub/composer.zod.d.ts +2768 -0
- package/dist/hub/composer.zod.d.ts.map +1 -0
- package/dist/hub/composer.zod.js +111 -0
- package/dist/hub/index.d.ts +6 -0
- package/dist/hub/index.d.ts.map +1 -0
- package/dist/hub/index.js +22 -0
- package/dist/{system → hub}/license.zod.d.ts +11 -7
- package/dist/hub/license.zod.d.ts.map +1 -0
- package/dist/{system → hub}/license.zod.js +5 -3
- package/dist/hub/marketplace.zod.d.ts +191 -0
- package/dist/hub/marketplace.zod.d.ts.map +1 -0
- package/dist/hub/marketplace.zod.js +85 -0
- package/dist/hub/space.zod.d.ts +383 -0
- package/dist/hub/space.zod.d.ts.map +1 -0
- package/dist/hub/space.zod.js +103 -0
- package/dist/{system → hub}/tenant.zod.d.ts +73 -47
- package/dist/hub/tenant.zod.d.ts.map +1 -0
- package/dist/{system → hub}/tenant.zod.js +36 -10
- package/dist/index.d.ts +11 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/kernel/context.zod.d.ts +56 -0
- package/dist/kernel/context.zod.d.ts.map +1 -0
- package/dist/kernel/context.zod.js +43 -0
- package/dist/kernel/index.d.ts +12 -0
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/index.js +27 -0
- package/dist/kernel/logger.zod.d.ts +111 -0
- package/dist/kernel/logger.zod.d.ts.map +1 -0
- package/dist/kernel/logger.zod.js +75 -0
- package/dist/kernel/manifest.zod.d.ts +2153 -0
- package/dist/kernel/manifest.zod.d.ts.map +1 -0
- package/dist/{system → kernel}/manifest.zod.js +40 -0
- package/dist/{system → kernel}/plugin.zod.d.ts +598 -318
- package/dist/kernel/plugin.zod.d.ts.map +1 -0
- package/dist/{system → kernel}/plugin.zod.js +13 -0
- package/dist/kernel/scoped-storage.zod.d.ts +81 -0
- package/dist/kernel/scoped-storage.zod.d.ts.map +1 -0
- package/dist/kernel/scoped-storage.zod.js +66 -0
- package/dist/permission/index.d.ts +12 -0
- package/dist/permission/index.d.ts.map +1 -0
- package/dist/permission/index.js +27 -0
- package/dist/{data → permission}/permission.zod.d.ts +34 -3
- package/dist/permission/permission.zod.d.ts.map +1 -0
- package/dist/{data → permission}/permission.zod.js +10 -1
- package/dist/permission/sharing.zod.d.ts +146 -0
- package/dist/permission/sharing.zod.d.ts.map +1 -0
- package/dist/permission/sharing.zod.js +88 -0
- package/dist/permission/territory.zod.d.ts.map +1 -0
- package/dist/system/audit.zod.d.ts +52 -52
- package/dist/system/events.zod.d.ts +17 -17
- package/dist/system/index.d.ts +1 -20
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +3 -20
- package/dist/system/job.zod.d.ts +13 -13
- package/dist/ui/action.zod.d.ts +13 -13
- package/dist/ui/app.zod.d.ts +11 -11
- package/dist/ui/dashboard.zod.d.ts +12 -12
- package/dist/ui/page.zod.d.ts +2 -2
- package/dist/ui/report.zod.d.ts +7 -7
- package/dist/ui/theme.zod.d.ts +42 -42
- package/dist/ui/view.zod.d.ts +55 -55
- package/dist/ui/widget.zod.d.ts +61 -28
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/json-schema/ai/{AIWorkflowAutomation.json → AIOrchestration.json} +5 -5
- package/json-schema/ai/{AIWorkflowExecutionResult.json → AIOrchestrationExecutionResult.json} +2 -2
- package/json-schema/ai/{AIWorkflowTrigger.json → AIOrchestrationTrigger.json} +2 -2
- package/json-schema/ai/{BatchAIWorkflowExecution.json → BatchAIOrchestrationExecution.json} +3 -3
- package/json-schema/{system → api}/ApiEndpoint.json +3 -1
- package/json-schema/{system → api}/ApiRoutes.json +7 -7
- package/json-schema/{system → api}/Discovery.json +7 -7
- package/json-schema/api/ExportRequest.json +402 -438
- package/json-schema/{system → api}/HttpMethod.json +3 -1
- package/json-schema/api/RouteCategory.json +17 -0
- package/json-schema/api/RouteDefinition.json +77 -0
- package/json-schema/api/RouterConfig.json +117 -0
- package/json-schema/{data → automation}/Flow.json +31 -1
- package/json-schema/{data → automation}/FlowEdge.json +9 -0
- package/json-schema/{data/WorkflowRule.json → automation/TimeTrigger.json} +35 -25
- package/json-schema/automation/WorkflowRule.json +1031 -0
- package/json-schema/data/AggregationNode.json +23 -0
- package/json-schema/data/AsyncValidation.json +49 -2
- package/json-schema/data/ComparisonOperator.json +52 -0
- package/json-schema/data/ConditionalValidation.json +693 -46
- package/json-schema/data/CrossFieldValidation.json +33 -2
- package/json-schema/data/CurrencyConfig.json +35 -0
- package/json-schema/data/CurrencyValue.json +26 -0
- package/json-schema/data/CustomValidator.json +37 -10
- package/json-schema/data/Field.json +30 -0
- package/json-schema/data/FieldOperators.json +78 -0
- package/json-schema/data/FieldReference.json +19 -0
- package/json-schema/data/FormatValidation.json +33 -2
- package/json-schema/data/Hook.json +95 -0
- package/json-schema/data/HookContext.json +88 -0
- package/json-schema/data/HookEvent.json +29 -0
- package/json-schema/data/Index.json +10 -0
- package/json-schema/data/JSONValidation.json +85 -0
- package/json-schema/data/JoinNode.json +197 -213
- package/json-schema/data/{TriggerAction.json → JoinStrategy.json} +6 -5
- package/json-schema/data/NormalizedFilter.json +234 -0
- package/json-schema/data/Object.json +1580 -28
- package/json-schema/data/ObjectCapabilities.json +30 -12
- package/json-schema/data/Query.json +246 -262
- package/json-schema/data/RangeOperator.json +26 -0
- package/json-schema/data/ScriptValidation.json +33 -2
- package/json-schema/data/SearchConfig.json +36 -0
- package/json-schema/data/StateMachineValidation.json +33 -2
- package/json-schema/data/UniquenessValidation.json +33 -2
- package/json-schema/data/ValidationRule.json +693 -46
- package/json-schema/{system → driver}/Datasource.json +35 -0
- package/json-schema/{system → driver}/DriverCapabilities.json +10 -0
- package/json-schema/{system → driver}/DriverInterface.json +10 -0
- package/json-schema/{system → driver}/DriverOptions.json +11 -0
- package/json-schema/driver/MongoConfig.json +82 -0
- package/json-schema/driver/PostgresConfig.json +98 -0
- package/json-schema/hub/BillOfMaterials.json +70 -0
- package/json-schema/hub/ComposerRequest.json +86 -0
- package/json-schema/hub/ComposerResponse.json +2645 -0
- package/json-schema/hub/ConflictReport.json +53 -0
- package/json-schema/hub/DependencyRequirement.json +36 -0
- package/json-schema/hub/DeploymentTarget.json +38 -0
- package/json-schema/hub/HubSpace.json +279 -0
- package/json-schema/{system → hub}/License.json +11 -3
- package/json-schema/hub/MarketplacePlugin.json +141 -0
- package/json-schema/hub/PluginAuthor.json +26 -0
- package/json-schema/hub/PluginPricing.json +43 -0
- package/json-schema/hub/SpaceSubscription.json +77 -0
- package/json-schema/hub/SubscriptionStatus.json +16 -0
- package/json-schema/{system → hub}/Tenant.json +3 -5
- package/json-schema/kernel/FileMetadata.json +43 -0
- package/json-schema/kernel/KernelContext.json +62 -0
- package/json-schema/kernel/LogEntry.json +63 -0
- package/json-schema/kernel/LogFormat.json +15 -0
- package/json-schema/kernel/LogLevel.json +17 -0
- package/json-schema/kernel/LoggerConfig.json +70 -0
- package/json-schema/kernel/Manifest.json +2557 -0
- package/json-schema/{system → kernel}/PluginContext.json +8 -1
- package/json-schema/kernel/RuntimeMode.json +16 -0
- package/json-schema/kernel/ScopedStorageConfig.json +54 -0
- package/json-schema/kernel/StorageAdapterType.json +17 -0
- package/json-schema/kernel/StorageScope.json +18 -0
- package/json-schema/permission/CriteriaSharingRule.json +82 -0
- package/json-schema/{data → permission}/OWDModel.json +2 -1
- package/json-schema/{data → permission}/ObjectPermission.json +15 -0
- package/json-schema/permission/OwnerSharingRule.json +102 -0
- package/json-schema/{data → permission}/PermissionSet.json +15 -0
- package/json-schema/permission/ShareRecipientType.json +16 -0
- package/json-schema/{data → permission}/SharingLevel.json +2 -1
- package/json-schema/permission/SharingRule.json +182 -0
- package/json-schema/{data → permission}/SharingRuleType.json +1 -3
- package/json-schema/ui/FieldWidgetProps.json +30 -0
- package/llms.txt +182 -0
- package/package.json +38 -16
- package/prompts/README.md +18 -0
- package/prompts/architecture.md +81 -0
- package/prompts/implement-objectai.md +39 -0
- package/prompts/implement-objectos.md +48 -0
- package/prompts/implement-objectql.md +39 -0
- package/prompts/implement-objectui.md +46 -0
- package/prompts/instructions.md +91 -0
- package/dist/ai/workflow-automation.zod.d.ts.map +0 -1
- package/dist/data/flow.zod.d.ts.map +0 -1
- package/dist/data/permission.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.d.ts +0 -63
- package/dist/data/sharing.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.js +0 -57
- package/dist/data/trigger.zod.d.ts +0 -354
- package/dist/data/trigger.zod.d.ts.map +0 -1
- package/dist/data/trigger.zod.js +0 -195
- package/dist/data/workflow.zod.d.ts +0 -986
- package/dist/data/workflow.zod.d.ts.map +0 -1
- package/dist/system/api.zod.d.ts.map +0 -1
- package/dist/system/auth-protocol.d.ts.map +0 -1
- package/dist/system/auth.zod.d.ts.map +0 -1
- package/dist/system/datasource.zod.d.ts.map +0 -1
- package/dist/system/discovery.zod.d.ts.map +0 -1
- package/dist/system/driver.zod.d.ts +0 -1631
- package/dist/system/driver.zod.d.ts.map +0 -1
- package/dist/system/identity.zod.d.ts.map +0 -1
- package/dist/system/license.zod.d.ts.map +0 -1
- package/dist/system/manifest.zod.d.ts +0 -397
- package/dist/system/manifest.zod.d.ts.map +0 -1
- package/dist/system/organization.zod.d.ts.map +0 -1
- package/dist/system/plugin.zod.d.ts.map +0 -1
- package/dist/system/policy.zod.d.ts.map +0 -1
- package/dist/system/realtime.zod.d.ts.map +0 -1
- package/dist/system/role.zod.d.ts.map +0 -1
- package/dist/system/tenant.zod.d.ts.map +0 -1
- package/dist/system/territory.zod.d.ts.map +0 -1
- package/dist/system/webhook.zod.d.ts.map +0 -1
- package/json-schema/README.md +0 -127
- package/json-schema/data/FieldMapping.json +0 -83
- package/json-schema/data/FilterNode.json +0 -52
- package/json-schema/data/FilterOperator.json +0 -26
- package/json-schema/data/LogicOperator.json +0 -14
- package/json-schema/data/Mapping.json +0 -598
- package/json-schema/data/SharingRule.json +0 -58
- package/json-schema/data/TransformType.json +0 -18
- package/json-schema/data/Trigger.json +0 -73
- package/json-schema/data/TriggerContext.json +0 -61
- package/json-schema/data/TriggerTiming.json +0 -13
- package/json-schema/system/Manifest.json +0 -315
- /package/dist/{system → api}/realtime.zod.js +0 -0
- /package/dist/{system/auth.zod.js → auth/config.zod.js} +0 -0
- /package/dist/{system → auth}/identity.zod.js +0 -0
- /package/dist/{system → auth}/organization.zod.js +0 -0
- /package/dist/{system → auth}/policy.zod.js +0 -0
- /package/dist/{system/auth-protocol.js → auth/protocol.js} +0 -0
- /package/dist/{system → auth}/role.zod.d.ts +0 -0
- /package/dist/{system → auth}/role.zod.js +0 -0
- /package/dist/{system → automation}/webhook.zod.js +0 -0
- /package/dist/{system → permission}/territory.zod.d.ts +0 -0
- /package/dist/{system → permission}/territory.zod.js +0 -0
- /package/json-schema/{system → api}/ApiCapabilities.json +0 -0
- /package/json-schema/{system → api}/ApiMapping.json +0 -0
- /package/json-schema/{system → api}/Presence.json +0 -0
- /package/json-schema/{system → api}/PresenceStatus.json +0 -0
- /package/json-schema/{system → api}/RateLimit.json +0 -0
- /package/json-schema/{system → api}/RealtimeAction.json +0 -0
- /package/json-schema/{system → api}/RealtimeEvent.json +0 -0
- /package/json-schema/{system → api}/RealtimeEventType.json +0 -0
- /package/json-schema/{system → api}/Subscription.json +0 -0
- /package/json-schema/{system → api}/SubscriptionEvent.json +0 -0
- /package/json-schema/{system → api}/TransportProtocol.json +0 -0
- /package/json-schema/{system → auth}/Account.json +0 -0
- /package/json-schema/{system → auth}/AccountLinkingConfig.json +0 -0
- /package/json-schema/{system → auth}/AuditPolicy.json +0 -0
- /package/json-schema/{system → auth}/AuthConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthPluginConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthStrategy.json +0 -0
- /package/json-schema/{system → auth}/CSRFConfig.json +0 -0
- /package/json-schema/{system → auth}/DatabaseAdapter.json +0 -0
- /package/json-schema/{system → auth}/DatabaseMapping.json +0 -0
- /package/json-schema/{system → auth}/EmailPasswordConfig.json +0 -0
- /package/json-schema/{system → auth}/EnterpriseAuthConfig.json +0 -0
- /package/json-schema/{system → auth}/Invitation.json +0 -0
- /package/json-schema/{system → auth}/InvitationStatus.json +0 -0
- /package/json-schema/{system → auth}/LDAPConfig.json +0 -0
- /package/json-schema/{system → auth}/MagicLinkConfig.json +0 -0
- /package/json-schema/{system → auth}/Member.json +0 -0
- /package/json-schema/{system → auth}/NetworkPolicy.json +0 -0
- /package/json-schema/{system → auth}/OAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/OIDCConfig.json +0 -0
- /package/json-schema/{system → auth}/Organization.json +0 -0
- /package/json-schema/{system → auth}/PasskeyConfig.json +0 -0
- /package/json-schema/{system → auth}/PasswordPolicy.json +0 -0
- /package/json-schema/{system → auth}/Policy.json +0 -0
- /package/json-schema/{system → auth}/RateLimitConfig.json +0 -0
- /package/json-schema/{system → auth}/Role.json +0 -0
- /package/json-schema/{system → auth}/SAMLConfig.json +0 -0
- /package/json-schema/{system → auth}/Session.json +0 -0
- /package/json-schema/{system → auth}/SessionConfig.json +0 -0
- /package/json-schema/{system → auth}/SessionPolicy.json +0 -0
- /package/json-schema/{system → auth}/StandardAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/TwoFactorConfig.json +0 -0
- /package/json-schema/{system → auth}/User.json +0 -0
- /package/json-schema/{system → auth}/UserFieldMapping.json +0 -0
- /package/json-schema/{system → auth}/VerificationToken.json +0 -0
- /package/json-schema/{data → automation}/CustomScriptAction.json +0 -0
- /package/json-schema/{data → automation}/EmailAlertAction.json +0 -0
- /package/json-schema/{data → automation}/FieldUpdateAction.json +0 -0
- /package/json-schema/{data → automation}/FlowNode.json +0 -0
- /package/json-schema/{data → automation}/FlowNodeAction.json +0 -0
- /package/json-schema/{data → automation}/FlowVariable.json +0 -0
- /package/json-schema/{data → automation}/HttpCallAction.json +0 -0
- /package/json-schema/{data → automation}/PushNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/SlackMessageAction.json +0 -0
- /package/json-schema/{data → automation}/SmsNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/TaskCreationAction.json +0 -0
- /package/json-schema/{data → automation}/TeamsMessageAction.json +0 -0
- /package/json-schema/{system → automation}/Webhook.json +0 -0
- /package/json-schema/{system → automation}/WebhookReceiver.json +0 -0
- /package/json-schema/{data → automation}/WebhookTriggerAction.json +0 -0
- /package/json-schema/{system → automation}/WebhookTriggerType.json +0 -0
- /package/json-schema/{data → automation}/WorkflowAction.json +0 -0
- /package/json-schema/{data → automation}/WorkflowTriggerType.json +0 -0
- /package/json-schema/{system → driver}/DatasourceCapabilities.json +0 -0
- /package/json-schema/{system → driver}/DriverDefinition.json +0 -0
- /package/json-schema/{system → driver}/DriverType.json +0 -0
- /package/json-schema/{system → hub}/DatabaseLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/Feature.json +0 -0
- /package/json-schema/{system → hub}/LevelIsolationStrategySchema.json +0 -0
- /package/json-schema/{system → hub}/MetricType.json +0 -0
- /package/json-schema/{system → hub}/Plan.json +0 -0
- /package/json-schema/{system → hub}/RowLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationConfig.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationLevel.json +0 -0
- /package/json-schema/{system → hub}/TenantQuota.json +0 -0
- /package/json-schema/{system → hub}/TenantSecurityPolicy.json +0 -0
- /package/json-schema/{system → kernel}/I18nContext.json +0 -0
- /package/json-schema/{system → kernel}/Logger.json +0 -0
- /package/json-schema/{system → kernel}/ObjectQLClient.json +0 -0
- /package/json-schema/{system → kernel}/Plugin.json +0 -0
- /package/json-schema/{system → kernel}/PluginLifecycle.json +0 -0
- /package/json-schema/{system → kernel}/Router.json +0 -0
- /package/json-schema/{system → kernel}/Scheduler.json +0 -0
- /package/json-schema/{system → kernel}/ScopedStorage.json +0 -0
- /package/json-schema/{system → kernel}/SystemAPI.json +0 -0
- /package/json-schema/{data → permission}/FieldPermission.json +0 -0
- /package/json-schema/{system → permission}/Territory.json +0 -0
- /package/json-schema/{system → permission}/TerritoryModel.json +0 -0
- /package/json-schema/{system → permission}/TerritoryType.json +0 -0
|
@@ -110,22 +110,42 @@ export declare const BulkRequestSchema: z.ZodObject<{
|
|
|
110
110
|
export declare const ExportRequestSchema: z.ZodObject<{
|
|
111
111
|
object: z.ZodString;
|
|
112
112
|
fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
113
|
+
where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
114
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
115
|
+
field: z.ZodString;
|
|
116
|
+
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
field: string;
|
|
119
|
+
order: "asc" | "desc";
|
|
120
|
+
}, {
|
|
121
|
+
field: string;
|
|
122
|
+
order?: "asc" | "desc" | undefined;
|
|
123
|
+
}>, "many">>;
|
|
124
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
127
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
113
128
|
aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
114
129
|
function: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct", "array_agg", "string_agg"]>;
|
|
115
130
|
field: z.ZodOptional<z.ZodString>;
|
|
116
131
|
alias: z.ZodString;
|
|
117
132
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
118
134
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
function: "
|
|
135
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
120
136
|
alias: string;
|
|
137
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
121
138
|
field?: string | undefined;
|
|
122
139
|
distinct?: boolean | undefined;
|
|
123
140
|
}, {
|
|
124
|
-
function: "
|
|
141
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
125
142
|
alias: string;
|
|
143
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
126
144
|
field?: string | undefined;
|
|
127
145
|
distinct?: boolean | undefined;
|
|
128
146
|
}>, "many">>;
|
|
147
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
148
|
+
having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
129
149
|
windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
130
150
|
function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
|
|
131
151
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -156,22 +176,22 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
156
176
|
end?: string | undefined;
|
|
157
177
|
}>>;
|
|
158
178
|
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
partitionBy?: string[] | undefined;
|
|
160
179
|
orderBy?: {
|
|
161
180
|
field: string;
|
|
162
181
|
order: "asc" | "desc";
|
|
163
182
|
}[] | undefined;
|
|
183
|
+
partitionBy?: string[] | undefined;
|
|
164
184
|
frame?: {
|
|
165
185
|
type?: "rows" | "range" | undefined;
|
|
166
186
|
start?: string | undefined;
|
|
167
187
|
end?: string | undefined;
|
|
168
188
|
} | undefined;
|
|
169
189
|
}, {
|
|
170
|
-
partitionBy?: string[] | undefined;
|
|
171
190
|
orderBy?: {
|
|
172
191
|
field: string;
|
|
173
192
|
order?: "asc" | "desc" | undefined;
|
|
174
193
|
}[] | undefined;
|
|
194
|
+
partitionBy?: string[] | undefined;
|
|
175
195
|
frame?: {
|
|
176
196
|
type?: "rows" | "range" | undefined;
|
|
177
197
|
start?: string | undefined;
|
|
@@ -179,14 +199,14 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
179
199
|
} | undefined;
|
|
180
200
|
}>;
|
|
181
201
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
function: "
|
|
202
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
183
203
|
alias: string;
|
|
184
204
|
over: {
|
|
185
|
-
partitionBy?: string[] | undefined;
|
|
186
205
|
orderBy?: {
|
|
187
206
|
field: string;
|
|
188
207
|
order: "asc" | "desc";
|
|
189
208
|
}[] | undefined;
|
|
209
|
+
partitionBy?: string[] | undefined;
|
|
190
210
|
frame?: {
|
|
191
211
|
type?: "rows" | "range" | undefined;
|
|
192
212
|
start?: string | undefined;
|
|
@@ -195,14 +215,14 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
195
215
|
};
|
|
196
216
|
field?: string | undefined;
|
|
197
217
|
}, {
|
|
198
|
-
function: "
|
|
218
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
199
219
|
alias: string;
|
|
200
220
|
over: {
|
|
201
|
-
partitionBy?: string[] | undefined;
|
|
202
221
|
orderBy?: {
|
|
203
222
|
field: string;
|
|
204
223
|
order?: "asc" | "desc" | undefined;
|
|
205
224
|
}[] | undefined;
|
|
225
|
+
partitionBy?: string[] | undefined;
|
|
206
226
|
frame?: {
|
|
207
227
|
type?: "rows" | "range" | undefined;
|
|
208
228
|
start?: string | undefined;
|
|
@@ -211,49 +231,41 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
211
231
|
};
|
|
212
232
|
field?: string | undefined;
|
|
213
233
|
}>, "many">>;
|
|
214
|
-
filters: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
215
|
-
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
216
|
-
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
217
|
-
having: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
218
|
-
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
|
-
field: z.ZodString;
|
|
220
|
-
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
221
|
-
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
field: string;
|
|
223
|
-
order: "asc" | "desc";
|
|
224
|
-
}, {
|
|
225
|
-
field: string;
|
|
226
|
-
order?: "asc" | "desc" | undefined;
|
|
227
|
-
}>, "many">>;
|
|
228
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
229
|
-
skip: z.ZodOptional<z.ZodNumber>;
|
|
230
234
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
231
235
|
} & {
|
|
232
236
|
format: z.ZodDefault<z.ZodEnum<["csv", "json", "xlsx"]>>;
|
|
233
237
|
}, "strip", z.ZodTypeAny, {
|
|
234
238
|
object: string;
|
|
235
239
|
format: "json" | "csv" | "xlsx";
|
|
236
|
-
|
|
240
|
+
where?: import("../data").FilterCondition | undefined;
|
|
241
|
+
distinct?: boolean | undefined;
|
|
242
|
+
fields?: any[] | undefined;
|
|
243
|
+
orderBy?: {
|
|
237
244
|
field: string;
|
|
238
245
|
order: "asc" | "desc";
|
|
239
246
|
}[] | undefined;
|
|
240
|
-
|
|
241
|
-
|
|
247
|
+
limit?: number | undefined;
|
|
248
|
+
offset?: number | undefined;
|
|
249
|
+
cursor?: Record<string, any> | undefined;
|
|
250
|
+
joins?: any[] | undefined;
|
|
242
251
|
aggregations?: {
|
|
243
|
-
function: "
|
|
252
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
244
253
|
alias: string;
|
|
254
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
245
255
|
field?: string | undefined;
|
|
246
256
|
distinct?: boolean | undefined;
|
|
247
257
|
}[] | undefined;
|
|
258
|
+
groupBy?: string[] | undefined;
|
|
259
|
+
having?: import("../data").FilterCondition | undefined;
|
|
248
260
|
windowFunctions?: {
|
|
249
|
-
function: "
|
|
261
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
250
262
|
alias: string;
|
|
251
263
|
over: {
|
|
252
|
-
partitionBy?: string[] | undefined;
|
|
253
264
|
orderBy?: {
|
|
254
265
|
field: string;
|
|
255
266
|
order: "asc" | "desc";
|
|
256
267
|
}[] | undefined;
|
|
268
|
+
partitionBy?: string[] | undefined;
|
|
257
269
|
frame?: {
|
|
258
270
|
type?: "rows" | "range" | undefined;
|
|
259
271
|
start?: string | undefined;
|
|
@@ -262,36 +274,37 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
262
274
|
};
|
|
263
275
|
field?: string | undefined;
|
|
264
276
|
}[] | undefined;
|
|
265
|
-
filters?: any;
|
|
266
|
-
joins?: any[] | undefined;
|
|
267
|
-
groupBy?: string[] | undefined;
|
|
268
|
-
having?: any;
|
|
269
|
-
top?: number | undefined;
|
|
270
|
-
skip?: number | undefined;
|
|
271
277
|
}, {
|
|
272
278
|
object: string;
|
|
273
|
-
|
|
279
|
+
where?: import("../data").FilterCondition | undefined;
|
|
280
|
+
distinct?: boolean | undefined;
|
|
281
|
+
fields?: any[] | undefined;
|
|
282
|
+
orderBy?: {
|
|
274
283
|
field: string;
|
|
275
284
|
order?: "asc" | "desc" | undefined;
|
|
276
285
|
}[] | undefined;
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
286
|
+
limit?: number | undefined;
|
|
287
|
+
offset?: number | undefined;
|
|
288
|
+
cursor?: Record<string, any> | undefined;
|
|
289
|
+
joins?: any[] | undefined;
|
|
280
290
|
aggregations?: {
|
|
281
|
-
function: "
|
|
291
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
282
292
|
alias: string;
|
|
293
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
283
294
|
field?: string | undefined;
|
|
284
295
|
distinct?: boolean | undefined;
|
|
285
296
|
}[] | undefined;
|
|
297
|
+
groupBy?: string[] | undefined;
|
|
298
|
+
having?: import("../data").FilterCondition | undefined;
|
|
286
299
|
windowFunctions?: {
|
|
287
|
-
function: "
|
|
300
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
288
301
|
alias: string;
|
|
289
302
|
over: {
|
|
290
|
-
partitionBy?: string[] | undefined;
|
|
291
303
|
orderBy?: {
|
|
292
304
|
field: string;
|
|
293
305
|
order?: "asc" | "desc" | undefined;
|
|
294
306
|
}[] | undefined;
|
|
307
|
+
partitionBy?: string[] | undefined;
|
|
295
308
|
frame?: {
|
|
296
309
|
type?: "rows" | "range" | undefined;
|
|
297
310
|
start?: string | undefined;
|
|
@@ -300,12 +313,7 @@ export declare const ExportRequestSchema: z.ZodObject<{
|
|
|
300
313
|
};
|
|
301
314
|
field?: string | undefined;
|
|
302
315
|
}[] | undefined;
|
|
303
|
-
|
|
304
|
-
joins?: any[] | undefined;
|
|
305
|
-
groupBy?: string[] | undefined;
|
|
306
|
-
having?: any;
|
|
307
|
-
top?: number | undefined;
|
|
308
|
-
skip?: number | undefined;
|
|
316
|
+
format?: "json" | "csv" | "xlsx" | undefined;
|
|
309
317
|
}>;
|
|
310
318
|
/**
|
|
311
319
|
* Single Record Response (Get/Create/Update)
|
|
@@ -414,22 +422,22 @@ export declare const ListRecordResponseSchema: z.ZodObject<{
|
|
|
414
422
|
offset: z.ZodNumber;
|
|
415
423
|
hasMore: z.ZodBoolean;
|
|
416
424
|
}, "strip", z.ZodTypeAny, {
|
|
417
|
-
total: number;
|
|
418
425
|
limit: number;
|
|
419
426
|
offset: number;
|
|
427
|
+
total: number;
|
|
420
428
|
hasMore: boolean;
|
|
421
429
|
}, {
|
|
422
|
-
total: number;
|
|
423
430
|
limit: number;
|
|
424
431
|
offset: number;
|
|
432
|
+
total: number;
|
|
425
433
|
hasMore: boolean;
|
|
426
434
|
}>;
|
|
427
435
|
}, "strip", z.ZodTypeAny, {
|
|
428
436
|
data: Record<string, any>[];
|
|
429
437
|
pagination: {
|
|
430
|
-
total: number;
|
|
431
438
|
limit: number;
|
|
432
439
|
offset: number;
|
|
440
|
+
total: number;
|
|
433
441
|
hasMore: boolean;
|
|
434
442
|
};
|
|
435
443
|
success: boolean;
|
|
@@ -447,9 +455,9 @@ export declare const ListRecordResponseSchema: z.ZodObject<{
|
|
|
447
455
|
}, {
|
|
448
456
|
data: Record<string, any>[];
|
|
449
457
|
pagination: {
|
|
450
|
-
total: number;
|
|
451
458
|
limit: number;
|
|
452
459
|
offset: number;
|
|
460
|
+
total: number;
|
|
453
461
|
hasMore: boolean;
|
|
454
462
|
};
|
|
455
463
|
success: boolean;
|
|
@@ -960,22 +968,42 @@ export declare const ApiContracts: {
|
|
|
960
968
|
input: z.ZodObject<{
|
|
961
969
|
object: z.ZodString;
|
|
962
970
|
fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
971
|
+
where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
972
|
+
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
973
|
+
field: z.ZodString;
|
|
974
|
+
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
975
|
+
}, "strip", z.ZodTypeAny, {
|
|
976
|
+
field: string;
|
|
977
|
+
order: "asc" | "desc";
|
|
978
|
+
}, {
|
|
979
|
+
field: string;
|
|
980
|
+
order?: "asc" | "desc" | undefined;
|
|
981
|
+
}>, "many">>;
|
|
982
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
983
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
984
|
+
cursor: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
985
|
+
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
963
986
|
aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
964
987
|
function: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct", "array_agg", "string_agg"]>;
|
|
965
988
|
field: z.ZodOptional<z.ZodString>;
|
|
966
989
|
alias: z.ZodString;
|
|
967
990
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
+
filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
968
992
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
function: "
|
|
993
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
970
994
|
alias: string;
|
|
995
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
971
996
|
field?: string | undefined;
|
|
972
997
|
distinct?: boolean | undefined;
|
|
973
998
|
}, {
|
|
974
|
-
function: "
|
|
999
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
975
1000
|
alias: string;
|
|
1001
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
976
1002
|
field?: string | undefined;
|
|
977
1003
|
distinct?: boolean | undefined;
|
|
978
1004
|
}>, "many">>;
|
|
1005
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1006
|
+
having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
|
|
979
1007
|
windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
980
1008
|
function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
|
|
981
1009
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -1006,22 +1034,22 @@ export declare const ApiContracts: {
|
|
|
1006
1034
|
end?: string | undefined;
|
|
1007
1035
|
}>>;
|
|
1008
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1009
|
-
partitionBy?: string[] | undefined;
|
|
1010
1037
|
orderBy?: {
|
|
1011
1038
|
field: string;
|
|
1012
1039
|
order: "asc" | "desc";
|
|
1013
1040
|
}[] | undefined;
|
|
1041
|
+
partitionBy?: string[] | undefined;
|
|
1014
1042
|
frame?: {
|
|
1015
1043
|
type?: "rows" | "range" | undefined;
|
|
1016
1044
|
start?: string | undefined;
|
|
1017
1045
|
end?: string | undefined;
|
|
1018
1046
|
} | undefined;
|
|
1019
1047
|
}, {
|
|
1020
|
-
partitionBy?: string[] | undefined;
|
|
1021
1048
|
orderBy?: {
|
|
1022
1049
|
field: string;
|
|
1023
1050
|
order?: "asc" | "desc" | undefined;
|
|
1024
1051
|
}[] | undefined;
|
|
1052
|
+
partitionBy?: string[] | undefined;
|
|
1025
1053
|
frame?: {
|
|
1026
1054
|
type?: "rows" | "range" | undefined;
|
|
1027
1055
|
start?: string | undefined;
|
|
@@ -1029,14 +1057,14 @@ export declare const ApiContracts: {
|
|
|
1029
1057
|
} | undefined;
|
|
1030
1058
|
}>;
|
|
1031
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1032
|
-
function: "
|
|
1060
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1033
1061
|
alias: string;
|
|
1034
1062
|
over: {
|
|
1035
|
-
partitionBy?: string[] | undefined;
|
|
1036
1063
|
orderBy?: {
|
|
1037
1064
|
field: string;
|
|
1038
1065
|
order: "asc" | "desc";
|
|
1039
1066
|
}[] | undefined;
|
|
1067
|
+
partitionBy?: string[] | undefined;
|
|
1040
1068
|
frame?: {
|
|
1041
1069
|
type?: "rows" | "range" | undefined;
|
|
1042
1070
|
start?: string | undefined;
|
|
@@ -1045,14 +1073,14 @@ export declare const ApiContracts: {
|
|
|
1045
1073
|
};
|
|
1046
1074
|
field?: string | undefined;
|
|
1047
1075
|
}, {
|
|
1048
|
-
function: "
|
|
1076
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1049
1077
|
alias: string;
|
|
1050
1078
|
over: {
|
|
1051
|
-
partitionBy?: string[] | undefined;
|
|
1052
1079
|
orderBy?: {
|
|
1053
1080
|
field: string;
|
|
1054
1081
|
order?: "asc" | "desc" | undefined;
|
|
1055
1082
|
}[] | undefined;
|
|
1083
|
+
partitionBy?: string[] | undefined;
|
|
1056
1084
|
frame?: {
|
|
1057
1085
|
type?: "rows" | "range" | undefined;
|
|
1058
1086
|
start?: string | undefined;
|
|
@@ -1061,46 +1089,38 @@ export declare const ApiContracts: {
|
|
|
1061
1089
|
};
|
|
1062
1090
|
field?: string | undefined;
|
|
1063
1091
|
}>, "many">>;
|
|
1064
|
-
filters: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1065
|
-
joins: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
|
|
1066
|
-
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1067
|
-
having: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1068
|
-
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1069
|
-
field: z.ZodString;
|
|
1070
|
-
order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
|
|
1071
|
-
}, "strip", z.ZodTypeAny, {
|
|
1072
|
-
field: string;
|
|
1073
|
-
order: "asc" | "desc";
|
|
1074
|
-
}, {
|
|
1075
|
-
field: string;
|
|
1076
|
-
order?: "asc" | "desc" | undefined;
|
|
1077
|
-
}>, "many">>;
|
|
1078
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
1079
|
-
skip: z.ZodOptional<z.ZodNumber>;
|
|
1080
1092
|
distinct: z.ZodOptional<z.ZodBoolean>;
|
|
1081
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1082
1094
|
object: string;
|
|
1083
|
-
|
|
1095
|
+
where?: import("../data").FilterCondition | undefined;
|
|
1096
|
+
distinct?: boolean | undefined;
|
|
1097
|
+
fields?: any[] | undefined;
|
|
1098
|
+
orderBy?: {
|
|
1084
1099
|
field: string;
|
|
1085
1100
|
order: "asc" | "desc";
|
|
1086
1101
|
}[] | undefined;
|
|
1087
|
-
|
|
1088
|
-
|
|
1102
|
+
limit?: number | undefined;
|
|
1103
|
+
offset?: number | undefined;
|
|
1104
|
+
cursor?: Record<string, any> | undefined;
|
|
1105
|
+
joins?: any[] | undefined;
|
|
1089
1106
|
aggregations?: {
|
|
1090
|
-
function: "
|
|
1107
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
1091
1108
|
alias: string;
|
|
1109
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
1092
1110
|
field?: string | undefined;
|
|
1093
1111
|
distinct?: boolean | undefined;
|
|
1094
1112
|
}[] | undefined;
|
|
1113
|
+
groupBy?: string[] | undefined;
|
|
1114
|
+
having?: import("../data").FilterCondition | undefined;
|
|
1095
1115
|
windowFunctions?: {
|
|
1096
|
-
function: "
|
|
1116
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1097
1117
|
alias: string;
|
|
1098
1118
|
over: {
|
|
1099
|
-
partitionBy?: string[] | undefined;
|
|
1100
1119
|
orderBy?: {
|
|
1101
1120
|
field: string;
|
|
1102
1121
|
order: "asc" | "desc";
|
|
1103
1122
|
}[] | undefined;
|
|
1123
|
+
partitionBy?: string[] | undefined;
|
|
1104
1124
|
frame?: {
|
|
1105
1125
|
type?: "rows" | "range" | undefined;
|
|
1106
1126
|
start?: string | undefined;
|
|
@@ -1109,35 +1129,37 @@ export declare const ApiContracts: {
|
|
|
1109
1129
|
};
|
|
1110
1130
|
field?: string | undefined;
|
|
1111
1131
|
}[] | undefined;
|
|
1112
|
-
filters?: any;
|
|
1113
|
-
joins?: any[] | undefined;
|
|
1114
|
-
groupBy?: string[] | undefined;
|
|
1115
|
-
having?: any;
|
|
1116
|
-
top?: number | undefined;
|
|
1117
|
-
skip?: number | undefined;
|
|
1118
1132
|
}, {
|
|
1119
1133
|
object: string;
|
|
1120
|
-
|
|
1134
|
+
where?: import("../data").FilterCondition | undefined;
|
|
1135
|
+
distinct?: boolean | undefined;
|
|
1136
|
+
fields?: any[] | undefined;
|
|
1137
|
+
orderBy?: {
|
|
1121
1138
|
field: string;
|
|
1122
1139
|
order?: "asc" | "desc" | undefined;
|
|
1123
1140
|
}[] | undefined;
|
|
1124
|
-
|
|
1125
|
-
|
|
1141
|
+
limit?: number | undefined;
|
|
1142
|
+
offset?: number | undefined;
|
|
1143
|
+
cursor?: Record<string, any> | undefined;
|
|
1144
|
+
joins?: any[] | undefined;
|
|
1126
1145
|
aggregations?: {
|
|
1127
|
-
function: "
|
|
1146
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
|
|
1128
1147
|
alias: string;
|
|
1148
|
+
filter?: import("../data").FilterCondition | undefined;
|
|
1129
1149
|
field?: string | undefined;
|
|
1130
1150
|
distinct?: boolean | undefined;
|
|
1131
1151
|
}[] | undefined;
|
|
1152
|
+
groupBy?: string[] | undefined;
|
|
1153
|
+
having?: import("../data").FilterCondition | undefined;
|
|
1132
1154
|
windowFunctions?: {
|
|
1133
|
-
function: "
|
|
1155
|
+
function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
|
|
1134
1156
|
alias: string;
|
|
1135
1157
|
over: {
|
|
1136
|
-
partitionBy?: string[] | undefined;
|
|
1137
1158
|
orderBy?: {
|
|
1138
1159
|
field: string;
|
|
1139
1160
|
order?: "asc" | "desc" | undefined;
|
|
1140
1161
|
}[] | undefined;
|
|
1162
|
+
partitionBy?: string[] | undefined;
|
|
1141
1163
|
frame?: {
|
|
1142
1164
|
type?: "rows" | "range" | undefined;
|
|
1143
1165
|
start?: string | undefined;
|
|
@@ -1146,12 +1168,6 @@ export declare const ApiContracts: {
|
|
|
1146
1168
|
};
|
|
1147
1169
|
field?: string | undefined;
|
|
1148
1170
|
}[] | undefined;
|
|
1149
|
-
filters?: any;
|
|
1150
|
-
joins?: any[] | undefined;
|
|
1151
|
-
groupBy?: string[] | undefined;
|
|
1152
|
-
having?: any;
|
|
1153
|
-
top?: number | undefined;
|
|
1154
|
-
skip?: number | undefined;
|
|
1155
1171
|
}>;
|
|
1156
1172
|
output: z.ZodObject<{
|
|
1157
1173
|
success: z.ZodBoolean;
|
|
@@ -1192,22 +1208,22 @@ export declare const ApiContracts: {
|
|
|
1192
1208
|
offset: z.ZodNumber;
|
|
1193
1209
|
hasMore: z.ZodBoolean;
|
|
1194
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
total: number;
|
|
1196
1211
|
limit: number;
|
|
1197
1212
|
offset: number;
|
|
1213
|
+
total: number;
|
|
1198
1214
|
hasMore: boolean;
|
|
1199
1215
|
}, {
|
|
1200
|
-
total: number;
|
|
1201
1216
|
limit: number;
|
|
1202
1217
|
offset: number;
|
|
1218
|
+
total: number;
|
|
1203
1219
|
hasMore: boolean;
|
|
1204
1220
|
}>;
|
|
1205
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1222
|
data: Record<string, any>[];
|
|
1207
1223
|
pagination: {
|
|
1208
|
-
total: number;
|
|
1209
1224
|
limit: number;
|
|
1210
1225
|
offset: number;
|
|
1226
|
+
total: number;
|
|
1211
1227
|
hasMore: boolean;
|
|
1212
1228
|
};
|
|
1213
1229
|
success: boolean;
|
|
@@ -1225,9 +1241,9 @@ export declare const ApiContracts: {
|
|
|
1225
1241
|
}, {
|
|
1226
1242
|
data: Record<string, any>[];
|
|
1227
1243
|
pagination: {
|
|
1228
|
-
total: number;
|
|
1229
1244
|
limit: number;
|
|
1230
1245
|
offset: number;
|
|
1246
|
+
total: number;
|
|
1231
1247
|
hasMore: boolean;
|
|
1232
1248
|
};
|
|
1233
1249
|
success: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.zod.d.ts","sourceRoot":"","sources":["../../src/api/contract.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,cAAc;;;;;;;;;;;;EAIzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AAMH,eAAO,MAAM,gBAAgB,oCAA6D,CAAC;AAE3F;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"contract.zod.d.ts","sourceRoot":"","sources":["../../src/api/contract.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,cAAc;;;;;;;;;;;;EAIzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AAMH,eAAO,MAAM,gBAAgB,oCAA6D,CAAC;AAE3F;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;EAE9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE9B,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAMH;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC"}
|