@objectstack/spec 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -10
- package/dist/ai/agent.zod.d.ts +12 -12
- package/dist/ai/conversation.zod.d.ts +54 -54
- package/dist/ai/cost.zod.d.ts +135 -135
- 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 +91 -91
- package/dist/ai/nlq.zod.d.ts +72 -72
- package/dist/ai/{workflow-automation.zod.d.ts → orchestration.zod.d.ts} +51 -50
- 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 +27 -27
- package/dist/ai/rag-pipeline.zod.d.ts +102 -102
- package/dist/api/contract.zod.d.ts +213 -197
- 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 +6 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +6 -0
- package/dist/api/odata.zod.d.ts +482 -0
- package/dist/api/odata.zod.d.ts.map +1 -0
- package/dist/api/odata.zod.js +401 -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} +199 -199
- 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 +8 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +23 -0
- package/dist/{system → auth}/organization.zod.d.ts +7 -7
- 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/{system → auth}/role.zod.d.ts +14 -0
- package/dist/auth/role.zod.d.ts.map +1 -0
- package/dist/{system → auth}/role.zod.js +16 -1
- package/dist/auth/scim.zod.d.ts +2732 -0
- package/dist/auth/scim.zod.d.ts.map +1 -0
- package/dist/auth/scim.zod.js +811 -0
- package/dist/automation/approval.zod.d.ts +643 -0
- package/dist/automation/approval.zod.d.ts.map +1 -0
- package/dist/automation/approval.zod.js +84 -0
- package/dist/automation/connector.zod.d.ts +1284 -0
- package/dist/automation/connector.zod.d.ts.map +1 -0
- package/dist/automation/connector.zod.js +500 -0
- package/dist/automation/etl.zod.d.ts +623 -0
- package/dist/automation/etl.zod.d.ts.map +1 -0
- package/dist/automation/etl.zod.js +359 -0
- package/dist/{data → automation}/flow.zod.d.ts +40 -22
- 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 +8 -0
- package/dist/automation/index.d.ts.map +1 -0
- package/dist/automation/index.js +23 -0
- package/dist/automation/sync.zod.d.ts +854 -0
- package/dist/automation/sync.zod.d.ts.map +1 -0
- package/dist/automation/sync.zod.js +444 -0
- package/dist/{system → automation}/webhook.zod.d.ts +26 -3
- package/dist/automation/webhook.zod.d.ts.map +1 -0
- package/dist/{system → automation}/webhook.zod.js +27 -3
- package/dist/automation/workflow.zod.d.ts +2059 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/workflow.zod.js +40 -2
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +779 -219
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +128 -16
- 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 +117 -93
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/mapping.zod.js +16 -3
- package/dist/data/object.zod.d.ts +485 -131
- 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/hub/composer.zod.d.ts +871 -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 +13 -9
- 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 +15 -5
- package/dist/permission/index.d.ts +14 -0
- package/dist/permission/index.d.ts.map +1 -0
- package/dist/permission/index.js +29 -0
- package/dist/{data → permission}/permission.zod.d.ts +48 -3
- package/dist/permission/permission.zod.d.ts.map +1 -0
- package/dist/{data → permission}/permission.zod.js +26 -2
- package/dist/permission/rls.zod.d.ts +605 -0
- package/dist/permission/rls.zod.d.ts.map +1 -0
- package/dist/permission/rls.zod.js +615 -0
- 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/{system → permission}/territory.zod.d.ts +13 -0
- package/dist/permission/territory.zod.d.ts.map +1 -0
- package/dist/{system → permission}/territory.zod.js +15 -1
- package/dist/shared/identifiers.zod.d.ts +87 -0
- package/dist/shared/identifiers.zod.d.ts.map +1 -0
- package/dist/shared/identifiers.zod.js +101 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +21 -0
- package/dist/stack.zod.d.ts +19869 -0
- package/dist/stack.zod.d.ts.map +1 -0
- package/dist/stack.zod.js +248 -0
- package/dist/system/audit.zod.d.ts +58 -58
- package/dist/system/context.zod.d.ts +56 -0
- package/dist/system/context.zod.d.ts.map +1 -0
- package/dist/system/context.zod.js +43 -0
- package/dist/system/datasource.zod.d.ts +40 -6
- package/dist/system/datasource.zod.d.ts.map +1 -1
- package/dist/system/datasource.zod.js +17 -13
- package/dist/system/driver/mongo.zod.d.ts +107 -0
- package/dist/system/driver/mongo.zod.d.ts.map +1 -0
- package/dist/system/driver/mongo.zod.js +80 -0
- package/dist/system/driver/postgres.zod.d.ts +134 -0
- package/dist/system/driver/postgres.zod.d.ts.map +1 -0
- package/dist/system/driver/postgres.zod.js +88 -0
- package/dist/system/driver.zod.d.ts +2249 -488
- package/dist/system/driver.zod.d.ts.map +1 -1
- package/dist/system/driver.zod.js +99 -0
- package/dist/system/events.zod.d.ts +8 -5
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +5 -1
- package/dist/system/feature.zod.d.ts +131 -0
- package/dist/system/feature.zod.d.ts.map +1 -0
- package/dist/system/feature.zod.js +45 -0
- package/dist/system/index.d.ts +11 -20
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +15 -20
- package/dist/system/job.zod.d.ts +5 -5
- package/dist/system/logger.zod.d.ts +111 -0
- package/dist/system/logger.zod.d.ts.map +1 -0
- package/dist/system/logger.zod.js +75 -0
- package/dist/system/manifest.zod.d.ts +136 -18
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +28 -0
- package/dist/system/plugin.zod.d.ts +598 -318
- package/dist/system/plugin.zod.d.ts.map +1 -1
- package/dist/system/plugin.zod.js +13 -0
- package/dist/system/scoped-storage.zod.d.ts +81 -0
- package/dist/system/scoped-storage.zod.d.ts.map +1 -0
- package/dist/system/scoped-storage.zod.js +66 -0
- package/dist/ui/action.zod.d.ts +42 -17
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/action.zod.js +30 -1
- package/dist/ui/app.zod.d.ts +26 -11
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +32 -4
- package/dist/ui/block.zod.d.ts +265 -0
- package/dist/ui/block.zod.d.ts.map +1 -0
- package/dist/ui/block.zod.js +90 -0
- package/dist/ui/component.zod.d.ts +265 -0
- package/dist/ui/component.zod.d.ts.map +1 -0
- package/dist/ui/component.zod.js +90 -0
- package/dist/ui/dashboard.zod.d.ts +15 -15
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +18 -8
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +1 -0
- package/dist/ui/page.zod.d.ts +23 -5
- package/dist/ui/page.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.js +37 -4
- package/dist/ui/report.zod.d.ts +12 -12
- package/dist/ui/theme.zod.d.ts +42 -42
- package/dist/ui/view.zod.d.ts +302 -290
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +32 -3
- package/dist/ui/widget.zod.d.ts +730 -29
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/dist/ui/widget.zod.js +294 -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/ODataError.json +65 -0
- package/json-schema/api/ODataFilterFunction.json +39 -0
- package/json-schema/api/ODataFilterOperator.json +24 -0
- package/json-schema/api/ODataMetadata.json +115 -0
- package/json-schema/api/ODataQuery.json +89 -0
- package/json-schema/api/ODataResponse.json +37 -0
- 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/{system → auth}/Role.json +3 -2
- package/json-schema/auth/SCIMAddress.json +50 -0
- package/json-schema/auth/SCIMEmail.json +38 -0
- package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
- package/json-schema/auth/SCIMError.json +52 -0
- package/json-schema/auth/SCIMGroup.json +102 -0
- package/json-schema/auth/SCIMGroupReference.json +36 -0
- package/json-schema/auth/SCIMListResponse.json +606 -0
- package/json-schema/auth/SCIMMemberReference.json +36 -0
- package/json-schema/auth/SCIMMeta.json +35 -0
- package/json-schema/auth/SCIMName.json +36 -0
- package/json-schema/auth/SCIMPatchOperation.json +31 -0
- package/json-schema/auth/SCIMPatchRequest.json +56 -0
- package/json-schema/auth/SCIMPhoneNumber.json +40 -0
- package/json-schema/auth/SCIMUser.json +462 -0
- package/json-schema/automation/ApprovalAction.json +35 -0
- package/json-schema/automation/ApprovalActionType.json +15 -0
- package/json-schema/automation/ApprovalProcess.json +326 -0
- package/json-schema/automation/ApprovalStep.json +147 -0
- package/json-schema/automation/ApproverType.json +16 -0
- package/json-schema/automation/AuthField.json +73 -0
- package/json-schema/automation/Authentication.json +159 -0
- package/json-schema/automation/AuthenticationType.json +18 -0
- package/json-schema/automation/ConflictResolution.json +16 -0
- package/json-schema/automation/Connector.json +440 -0
- package/json-schema/automation/ConnectorCategory.json +26 -0
- package/json-schema/automation/ConnectorInstance.json +69 -0
- package/json-schema/automation/ConnectorOperation.json +117 -0
- package/json-schema/automation/ConnectorTrigger.json +54 -0
- package/json-schema/automation/DataDestinationConfig.json +89 -0
- package/json-schema/automation/DataSourceConfig.json +34 -0
- package/json-schema/automation/DataSyncConfig.json +355 -0
- package/json-schema/automation/ETLDestination.json +57 -0
- package/json-schema/automation/ETLEndpointType.json +19 -0
- package/json-schema/automation/ETLPipeline.json +252 -0
- package/json-schema/automation/ETLPipelineRun.json +107 -0
- package/json-schema/automation/ETLRunStatus.json +17 -0
- package/json-schema/automation/ETLSource.json +60 -0
- package/json-schema/{data/LogicOperator.json → automation/ETLSyncMode.json} +5 -5
- package/json-schema/automation/ETLTransformation.json +46 -0
- package/json-schema/automation/ETLTransformationType.json +21 -0
- package/json-schema/automation/FieldMapping.json +36 -0
- package/json-schema/{data → automation}/Flow.json +31 -1
- package/json-schema/{data → automation}/FlowEdge.json +9 -0
- package/json-schema/automation/OAuth2Config.json +43 -0
- package/json-schema/automation/OperationParameter.json +59 -0
- package/json-schema/automation/OperationType.json +17 -0
- package/json-schema/automation/SyncDirection.json +14 -0
- package/json-schema/automation/SyncExecutionResult.json +135 -0
- package/json-schema/automation/SyncExecutionStatus.json +17 -0
- package/json-schema/{data/TriggerTiming.json → automation/SyncMode.json} +5 -4
- package/json-schema/{data/WorkflowRule.json → automation/TimeTrigger.json} +35 -25
- package/json-schema/{system → automation}/Webhook.json +3 -1
- package/json-schema/{system → automation}/WebhookReceiver.json +3 -1
- package/json-schema/automation/WorkflowRule.json +1032 -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 +92 -4
- package/json-schema/data/FieldOperators.json +78 -0
- package/json-schema/data/FieldReference.json +19 -0
- package/json-schema/data/FieldType.json +12 -2
- 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/JoinStrategy.json +15 -0
- package/json-schema/data/NormalizedFilter.json +234 -0
- package/json-schema/data/Object.json +1642 -32
- 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/SelectOption.json +4 -2
- 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/data/VectorConfig.json +51 -0
- package/json-schema/hub/BillOfMaterials.json +70 -0
- package/json-schema/hub/ComposerRequest.json +86 -0
- package/json-schema/hub/ComposerResponse.json +483 -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/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 +18 -1
- package/json-schema/permission/RLSConfig.json +59 -0
- package/json-schema/permission/RLSEvaluationResult.json +40 -0
- package/json-schema/{data/TriggerAction.json → permission/RLSOperation.json} +5 -3
- package/json-schema/permission/RLSUserContext.json +51 -0
- package/json-schema/permission/RowLevelSecurityPolicy.json +77 -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/{system → permission}/Territory.json +3 -1
- package/json-schema/shared/EventName.json +12 -0
- package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
- package/json-schema/shared/SystemIdentifier.json +12 -0
- package/json-schema/system/Datasource.json +35 -0
- package/json-schema/system/DriverCapabilities.json +10 -0
- package/json-schema/system/DriverInterface.json +10 -0
- package/json-schema/system/DriverOptions.json +11 -0
- package/json-schema/system/Event.json +3 -2
- package/json-schema/system/FeatureFlag.json +87 -0
- package/json-schema/system/FeatureStrategy.json +16 -0
- package/json-schema/system/FileMetadata.json +43 -0
- package/json-schema/system/KernelContext.json +62 -0
- package/json-schema/system/LogEntry.json +63 -0
- package/json-schema/system/LogFormat.json +15 -0
- package/json-schema/system/LogLevel.json +17 -0
- package/json-schema/system/LoggerConfig.json +70 -0
- package/json-schema/system/Manifest.json +80 -0
- package/json-schema/system/MongoConfig.json +82 -0
- package/json-schema/system/PluginContext.json +8 -1
- package/json-schema/system/PostgresConfig.json +98 -0
- package/json-schema/system/RuntimeMode.json +16 -0
- package/json-schema/system/ScopedStorageConfig.json +54 -0
- package/json-schema/system/StorageAdapterType.json +17 -0
- package/json-schema/system/StorageScope.json +18 -0
- package/json-schema/ui/Action.json +25 -4
- package/json-schema/ui/ActionParam.json +12 -2
- package/json-schema/ui/App.json +18 -7
- package/json-schema/ui/ChartType.json +9 -1
- package/json-schema/ui/Dashboard.json +9 -1
- package/json-schema/ui/DashboardNavItem.json +3 -1
- package/json-schema/ui/DashboardWidget.json +9 -1
- package/json-schema/ui/FieldWidgetProps.json +92 -4
- package/json-schema/ui/FormView.json +4 -1
- package/json-schema/ui/GroupNavItem.json +3 -1
- package/json-schema/ui/ListView.json +7 -1
- package/json-schema/ui/NavigationItem.json +15 -5
- package/json-schema/ui/ObjectNavItem.json +3 -1
- package/json-schema/ui/Page.json +36 -4
- package/json-schema/ui/PageCardProps.json +32 -0
- package/json-schema/ui/PageComponent.json +33 -3
- package/json-schema/ui/PageComponentType.json +32 -0
- package/json-schema/ui/PageHeaderProps.json +39 -0
- package/json-schema/ui/PageNavItem.json +3 -1
- package/json-schema/ui/PageRegion.json +33 -3
- package/json-schema/ui/PageTabsProps.json +55 -0
- package/json-schema/ui/RecordDetailsProps.json +37 -0
- package/json-schema/ui/RecordHighlightsProps.json +24 -0
- package/json-schema/ui/RecordRelatedListProps.json +39 -0
- package/json-schema/ui/UrlNavItem.json +3 -1
- package/json-schema/ui/View.json +22 -4
- package/json-schema/ui/WidgetEvent.json +42 -0
- package/json-schema/ui/WidgetLifecycle.json +40 -0
- package/json-schema/ui/WidgetManifest.json +262 -0
- package/json-schema/ui/WidgetProperty.json +58 -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/create-new-project.md +85 -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/discovery.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/organization.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/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/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/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}/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/{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 → 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/{data → permission}/FieldPermission.json +0 -0
- /package/json-schema/{system → permission}/TerritoryModel.json +0 -0
- /package/json-schema/{system → permission}/TerritoryType.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.zod.d.ts","sourceRoot":"","sources":["../src/stack.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkCxB;;;;;;;;;GASG;AACH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B;IACtC,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBtC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ObjectStackCapabilitiesSchema = exports.ObjectOSCapabilitiesSchema = exports.ObjectUICapabilitiesSchema = exports.ObjectQLCapabilitiesSchema = exports.defineStack = exports.ObjectStackSchema = exports.ObjectStackDefinitionSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const manifest_zod_1 = require("./system/manifest.zod");
|
|
6
|
+
const datasource_zod_1 = require("./system/datasource.zod");
|
|
7
|
+
const translation_zod_1 = require("./system/translation.zod");
|
|
8
|
+
// Data Protocol
|
|
9
|
+
const object_zod_1 = require("./data/object.zod");
|
|
10
|
+
// UI Protocol
|
|
11
|
+
const app_zod_1 = require("./ui/app.zod");
|
|
12
|
+
const view_zod_1 = require("./ui/view.zod");
|
|
13
|
+
const page_zod_1 = require("./ui/page.zod");
|
|
14
|
+
const dashboard_zod_1 = require("./ui/dashboard.zod");
|
|
15
|
+
const report_zod_1 = require("./ui/report.zod");
|
|
16
|
+
const action_zod_1 = require("./ui/action.zod");
|
|
17
|
+
const theme_zod_1 = require("./ui/theme.zod");
|
|
18
|
+
// Automation Protocol
|
|
19
|
+
const approval_zod_1 = require("./automation/approval.zod");
|
|
20
|
+
const workflow_zod_1 = require("./automation/workflow.zod");
|
|
21
|
+
const flow_zod_1 = require("./automation/flow.zod");
|
|
22
|
+
// Security Protocol
|
|
23
|
+
const role_zod_1 = require("./auth/role.zod");
|
|
24
|
+
const permission_zod_1 = require("./permission/permission.zod");
|
|
25
|
+
const endpoint_zod_1 = require("./api/endpoint.zod");
|
|
26
|
+
const discovery_zod_1 = require("./api/discovery.zod");
|
|
27
|
+
const feature_zod_1 = require("./system/feature.zod");
|
|
28
|
+
// AI Protocol
|
|
29
|
+
const agent_zod_1 = require("./ai/agent.zod");
|
|
30
|
+
/**
|
|
31
|
+
* ObjectStack Ecosystem Definition
|
|
32
|
+
*
|
|
33
|
+
* This schema represents the "Full Stack" definition of a project or environment.
|
|
34
|
+
* It is used for:
|
|
35
|
+
* 1. Project Export/Import (YAML/JSON dumps)
|
|
36
|
+
* 2. IDE Validation (IntelliSense)
|
|
37
|
+
* 3. Runtime Bootstrapping (In-memory loading)
|
|
38
|
+
* 4. Platform Reflection (API & Capabilities Discovery)
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* 1. DEFINITION PROTOCOL (Static)
|
|
42
|
+
* ----------------------------------------------------------------------
|
|
43
|
+
* Describes the "Blueprint" or "Source Code" of an ObjectStack Plugin/Project.
|
|
44
|
+
* This represents the complete declarative state of the application.
|
|
45
|
+
*
|
|
46
|
+
* Usage:
|
|
47
|
+
* - Developers write this in files locally.
|
|
48
|
+
* - AI Agents generate this to create apps.
|
|
49
|
+
* - CI Tools deploy this to the server.
|
|
50
|
+
*/
|
|
51
|
+
exports.ObjectStackDefinitionSchema = zod_1.z.object({
|
|
52
|
+
/** System Configuration */
|
|
53
|
+
manifest: manifest_zod_1.ManifestSchema.describe('Project Package Configuration'),
|
|
54
|
+
datasources: zod_1.z.array(datasource_zod_1.DatasourceSchema).optional().describe('External Data Connections'),
|
|
55
|
+
translations: zod_1.z.array(translation_zod_1.TranslationBundleSchema).optional().describe('I18n Translation Bundles'),
|
|
56
|
+
/**
|
|
57
|
+
* ObjectQL: Data Layer
|
|
58
|
+
* All business objects and entities.
|
|
59
|
+
*/
|
|
60
|
+
objects: zod_1.z.array(object_zod_1.ObjectSchema).optional().describe('Business Objects definition'),
|
|
61
|
+
/**
|
|
62
|
+
* ObjectUI: User Interface Layer
|
|
63
|
+
* Apps, Menus, Pages, and Visualizations.
|
|
64
|
+
*/
|
|
65
|
+
apps: zod_1.z.array(app_zod_1.AppSchema).optional().describe('Applications'),
|
|
66
|
+
views: zod_1.z.array(view_zod_1.ViewSchema).optional().describe('List Views'),
|
|
67
|
+
pages: zod_1.z.array(page_zod_1.PageSchema).optional().describe('Custom Pages'),
|
|
68
|
+
dashboards: zod_1.z.array(dashboard_zod_1.DashboardSchema).optional().describe('Dashboards'),
|
|
69
|
+
reports: zod_1.z.array(report_zod_1.ReportSchema).optional().describe('Analytics Reports'),
|
|
70
|
+
actions: zod_1.z.array(action_zod_1.ActionSchema).optional().describe('Global and Object Actions'),
|
|
71
|
+
themes: zod_1.z.array(theme_zod_1.ThemeSchema).optional().describe('UI Themes'),
|
|
72
|
+
/**
|
|
73
|
+
* ObjectFlow: Automation Layer
|
|
74
|
+
* Business logic, approvals, and workflows.
|
|
75
|
+
*/
|
|
76
|
+
workflows: zod_1.z.array(workflow_zod_1.WorkflowRuleSchema).optional().describe('Event-driven workflows'),
|
|
77
|
+
approvals: zod_1.z.array(approval_zod_1.ApprovalProcessSchema).optional().describe('Approval processes'),
|
|
78
|
+
flows: zod_1.z.array(flow_zod_1.FlowSchema).optional().describe('Screen Flows'),
|
|
79
|
+
/**
|
|
80
|
+
* ObjectGuard: Security Layer
|
|
81
|
+
*/
|
|
82
|
+
roles: zod_1.z.array(role_zod_1.RoleSchema).optional().describe('User Roles hierarchy'),
|
|
83
|
+
permissions: zod_1.z.array(permission_zod_1.PermissionSetSchema).optional().describe('Permission Sets and Profiles'),
|
|
84
|
+
/**
|
|
85
|
+
* ObjectAI: Artificial Intelligence Layer
|
|
86
|
+
*/
|
|
87
|
+
agents: zod_1.z.array(agent_zod_1.AgentSchema).optional().describe('AI Agents and Assistants'),
|
|
88
|
+
});
|
|
89
|
+
// Alias for backward compatibility
|
|
90
|
+
exports.ObjectStackSchema = exports.ObjectStackDefinitionSchema;
|
|
91
|
+
/**
|
|
92
|
+
* Type-safe helper to define a project configuration.
|
|
93
|
+
* Uses input type to allow optional fields with defaults.
|
|
94
|
+
*/
|
|
95
|
+
const defineStack = (config) => config;
|
|
96
|
+
exports.defineStack = defineStack;
|
|
97
|
+
/**
|
|
98
|
+
* 2. RUNTIME CAPABILITIES PROTOCOL (Dynamic)
|
|
99
|
+
* ----------------------------------------------------------------------
|
|
100
|
+
* Describes what the ObjectOS Platform *is* and *can do*.
|
|
101
|
+
* AI Agents read this to understand:
|
|
102
|
+
* - What APIs are available?
|
|
103
|
+
* - What features are enabled?
|
|
104
|
+
* - What limits exist?
|
|
105
|
+
*
|
|
106
|
+
* The capabilities are organized by subsystem for clarity:
|
|
107
|
+
* - ObjectQL: Data Layer capabilities
|
|
108
|
+
* - ObjectUI: User Interface Layer capabilities
|
|
109
|
+
* - ObjectOS: System Layer capabilities
|
|
110
|
+
*/
|
|
111
|
+
/**
|
|
112
|
+
* ObjectQL Capabilities Schema
|
|
113
|
+
*
|
|
114
|
+
* Defines capabilities related to the Data Layer:
|
|
115
|
+
* - Query operations and advanced SQL features
|
|
116
|
+
* - Data validation and business logic
|
|
117
|
+
* - Database driver support
|
|
118
|
+
* - AI/ML data features
|
|
119
|
+
*/
|
|
120
|
+
exports.ObjectQLCapabilitiesSchema = zod_1.z.object({
|
|
121
|
+
/** Query Capabilities */
|
|
122
|
+
queryFilters: zod_1.z.boolean().default(true).describe('Supports WHERE clause filtering'),
|
|
123
|
+
queryAggregations: zod_1.z.boolean().default(true).describe('Supports GROUP BY and aggregation functions'),
|
|
124
|
+
querySorting: zod_1.z.boolean().default(true).describe('Supports ORDER BY sorting'),
|
|
125
|
+
queryPagination: zod_1.z.boolean().default(true).describe('Supports LIMIT/OFFSET pagination'),
|
|
126
|
+
queryWindowFunctions: zod_1.z.boolean().default(false).describe('Supports window functions with OVER clause'),
|
|
127
|
+
querySubqueries: zod_1.z.boolean().default(false).describe('Supports subqueries'),
|
|
128
|
+
queryDistinct: zod_1.z.boolean().default(true).describe('Supports SELECT DISTINCT'),
|
|
129
|
+
queryHaving: zod_1.z.boolean().default(false).describe('Supports HAVING clause for aggregations'),
|
|
130
|
+
queryJoins: zod_1.z.boolean().default(false).describe('Supports SQL-style joins'),
|
|
131
|
+
/** Advanced Data Features */
|
|
132
|
+
fullTextSearch: zod_1.z.boolean().default(false).describe('Supports full-text search'),
|
|
133
|
+
vectorSearch: zod_1.z.boolean().default(false).describe('Supports vector embeddings and similarity search for AI/RAG'),
|
|
134
|
+
geoSpatial: zod_1.z.boolean().default(false).describe('Supports geospatial queries and location fields'),
|
|
135
|
+
/** Field Type Support */
|
|
136
|
+
jsonFields: zod_1.z.boolean().default(true).describe('Supports JSON field types'),
|
|
137
|
+
arrayFields: zod_1.z.boolean().default(false).describe('Supports array field types'),
|
|
138
|
+
/** Data Validation & Logic */
|
|
139
|
+
validationRules: zod_1.z.boolean().default(true).describe('Supports validation rules'),
|
|
140
|
+
workflows: zod_1.z.boolean().default(true).describe('Supports workflow automation'),
|
|
141
|
+
triggers: zod_1.z.boolean().default(true).describe('Supports database triggers'),
|
|
142
|
+
formulas: zod_1.z.boolean().default(true).describe('Supports formula fields'),
|
|
143
|
+
/** Transaction & Performance */
|
|
144
|
+
transactions: zod_1.z.boolean().default(true).describe('Supports database transactions'),
|
|
145
|
+
bulkOperations: zod_1.z.boolean().default(true).describe('Supports bulk create/update/delete'),
|
|
146
|
+
/** Driver Support */
|
|
147
|
+
supportedDrivers: zod_1.z.array(zod_1.z.string()).optional().describe('Available database drivers (e.g., postgresql, mongodb, excel)'),
|
|
148
|
+
});
|
|
149
|
+
/**
|
|
150
|
+
* ObjectUI Capabilities Schema
|
|
151
|
+
*
|
|
152
|
+
* Defines capabilities related to the UI Layer:
|
|
153
|
+
* - View rendering (List, Form, Calendar, etc.)
|
|
154
|
+
* - Dashboard and reporting
|
|
155
|
+
* - Theming and customization
|
|
156
|
+
* - UI actions and interactions
|
|
157
|
+
*/
|
|
158
|
+
exports.ObjectUICapabilitiesSchema = zod_1.z.object({
|
|
159
|
+
/** View Types */
|
|
160
|
+
listView: zod_1.z.boolean().default(true).describe('Supports list/grid views'),
|
|
161
|
+
formView: zod_1.z.boolean().default(true).describe('Supports form views'),
|
|
162
|
+
kanbanView: zod_1.z.boolean().default(false).describe('Supports kanban board views'),
|
|
163
|
+
calendarView: zod_1.z.boolean().default(false).describe('Supports calendar views'),
|
|
164
|
+
ganttView: zod_1.z.boolean().default(false).describe('Supports Gantt chart views'),
|
|
165
|
+
/** Analytics & Reporting */
|
|
166
|
+
dashboards: zod_1.z.boolean().default(true).describe('Supports dashboard creation'),
|
|
167
|
+
reports: zod_1.z.boolean().default(true).describe('Supports report generation'),
|
|
168
|
+
charts: zod_1.z.boolean().default(true).describe('Supports chart widgets'),
|
|
169
|
+
/** Customization */
|
|
170
|
+
customPages: zod_1.z.boolean().default(true).describe('Supports custom page creation'),
|
|
171
|
+
customThemes: zod_1.z.boolean().default(false).describe('Supports custom theme creation'),
|
|
172
|
+
customComponents: zod_1.z.boolean().default(false).describe('Supports custom UI components/widgets'),
|
|
173
|
+
/** Actions & Interactions */
|
|
174
|
+
customActions: zod_1.z.boolean().default(true).describe('Supports custom button actions'),
|
|
175
|
+
screenFlows: zod_1.z.boolean().default(false).describe('Supports interactive screen flows'),
|
|
176
|
+
/** Responsive & Accessibility */
|
|
177
|
+
mobileOptimized: zod_1.z.boolean().default(false).describe('UI optimized for mobile devices'),
|
|
178
|
+
accessibility: zod_1.z.boolean().default(false).describe('WCAG accessibility support'),
|
|
179
|
+
});
|
|
180
|
+
/**
|
|
181
|
+
* ObjectOS Capabilities Schema
|
|
182
|
+
*
|
|
183
|
+
* Defines capabilities related to the System Layer:
|
|
184
|
+
* - Runtime environment and platform features
|
|
185
|
+
* - API and integration capabilities
|
|
186
|
+
* - Security and multi-tenancy
|
|
187
|
+
* - System services (events, jobs, audit)
|
|
188
|
+
*/
|
|
189
|
+
exports.ObjectOSCapabilitiesSchema = zod_1.z.object({
|
|
190
|
+
/** System Identity */
|
|
191
|
+
version: zod_1.z.string().describe('ObjectOS Kernel Version'),
|
|
192
|
+
environment: zod_1.z.enum(['development', 'test', 'staging', 'production']),
|
|
193
|
+
/** API Surface */
|
|
194
|
+
restApi: zod_1.z.boolean().default(true).describe('REST API available'),
|
|
195
|
+
graphqlApi: zod_1.z.boolean().default(false).describe('GraphQL API available'),
|
|
196
|
+
odataApi: zod_1.z.boolean().default(false).describe('OData API available'),
|
|
197
|
+
/** Real-time & Events */
|
|
198
|
+
websockets: zod_1.z.boolean().default(false).describe('WebSocket support for real-time updates'),
|
|
199
|
+
serverSentEvents: zod_1.z.boolean().default(false).describe('Server-Sent Events support'),
|
|
200
|
+
eventBus: zod_1.z.boolean().default(false).describe('Internal event bus for pub/sub'),
|
|
201
|
+
/** Integration */
|
|
202
|
+
webhooks: zod_1.z.boolean().default(true).describe('Outbound webhook support'),
|
|
203
|
+
apiContracts: zod_1.z.boolean().default(false).describe('API contract definitions'),
|
|
204
|
+
/** Security & Access Control */
|
|
205
|
+
authentication: zod_1.z.boolean().default(true).describe('Authentication system'),
|
|
206
|
+
rbac: zod_1.z.boolean().default(true).describe('Role-Based Access Control'),
|
|
207
|
+
fieldLevelSecurity: zod_1.z.boolean().default(false).describe('Field-level permissions'),
|
|
208
|
+
rowLevelSecurity: zod_1.z.boolean().default(false).describe('Row-level security/sharing rules'),
|
|
209
|
+
/** Multi-tenancy */
|
|
210
|
+
multiTenant: zod_1.z.boolean().default(false).describe('Multi-tenant architecture support'),
|
|
211
|
+
/** Platform Services */
|
|
212
|
+
backgroundJobs: zod_1.z.boolean().default(false).describe('Background job scheduling'),
|
|
213
|
+
auditLogging: zod_1.z.boolean().default(false).describe('Audit trail logging'),
|
|
214
|
+
fileStorage: zod_1.z.boolean().default(true).describe('File upload and storage'),
|
|
215
|
+
/** Internationalization */
|
|
216
|
+
i18n: zod_1.z.boolean().default(true).describe('Internationalization support'),
|
|
217
|
+
/** Plugin System */
|
|
218
|
+
pluginSystem: zod_1.z.boolean().default(false).describe('Plugin/extension system'),
|
|
219
|
+
/** Active Features & Flags */
|
|
220
|
+
features: zod_1.z.array(feature_zod_1.FeatureFlagSchema).optional().describe('Active Feature Flags'),
|
|
221
|
+
/** Available APIs */
|
|
222
|
+
apis: zod_1.z.array(endpoint_zod_1.ApiEndpointSchema).optional().describe('Available System & Business APIs'),
|
|
223
|
+
network: discovery_zod_1.ApiCapabilitiesSchema.optional().describe('Network Capabilities (GraphQL, WS, etc.)'),
|
|
224
|
+
/** Introspection */
|
|
225
|
+
systemObjects: zod_1.z.array(zod_1.z.string()).optional().describe('List of globally available System Objects'),
|
|
226
|
+
/** Constraints (for AI Generation) */
|
|
227
|
+
limits: zod_1.z.object({
|
|
228
|
+
maxObjects: zod_1.z.number().optional(),
|
|
229
|
+
maxFieldsPerObject: zod_1.z.number().optional(),
|
|
230
|
+
maxRecordsPerQuery: zod_1.z.number().optional(),
|
|
231
|
+
apiRateLimit: zod_1.z.number().optional(),
|
|
232
|
+
fileUploadSizeLimit: zod_1.z.number().optional().describe('Max file size in bytes'),
|
|
233
|
+
}).optional()
|
|
234
|
+
});
|
|
235
|
+
/**
|
|
236
|
+
* Unified ObjectStack Capabilities Schema
|
|
237
|
+
*
|
|
238
|
+
* Complete capability descriptor for an ObjectStack instance.
|
|
239
|
+
* Organized by architectural layer for clarity and maintainability.
|
|
240
|
+
*/
|
|
241
|
+
exports.ObjectStackCapabilitiesSchema = zod_1.z.object({
|
|
242
|
+
/** Data Layer Capabilities (ObjectQL) */
|
|
243
|
+
data: exports.ObjectQLCapabilitiesSchema.describe('Data Layer capabilities'),
|
|
244
|
+
/** User Interface Layer Capabilities (ObjectUI) */
|
|
245
|
+
ui: exports.ObjectUICapabilitiesSchema.describe('UI Layer capabilities'),
|
|
246
|
+
/** System/Runtime Layer Capabilities (ObjectOS) */
|
|
247
|
+
system: exports.ObjectOSCapabilitiesSchema.describe('System/Runtime Layer capabilities'),
|
|
248
|
+
});
|