@objectstack/spec 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/conversation.zod.d.ts +1059 -0
- package/dist/ai/conversation.zod.d.ts.map +1 -0
- package/dist/ai/conversation.zod.js +248 -0
- package/dist/ai/cost.zod.d.ts +2025 -0
- package/dist/ai/cost.zod.d.ts.map +1 -0
- package/dist/ai/cost.zod.js +324 -0
- package/dist/ai/index.d.ts +8 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +8 -0
- package/dist/ai/model-registry.zod.d.ts +53 -53
- package/dist/ai/nlq.zod.d.ts +24 -24
- package/dist/ai/predictive.zod.d.ts +838 -0
- package/dist/ai/predictive.zod.d.ts.map +1 -0
- package/dist/ai/predictive.zod.js +244 -0
- package/dist/ai/rag-pipeline.zod.d.ts +22 -22
- package/dist/ai/workflow-automation.zod.d.ts +590 -0
- package/dist/ai/workflow-automation.zod.d.ts.map +1 -0
- package/dist/ai/workflow-automation.zod.js +197 -0
- package/dist/api/contract.zod.d.ts +22 -22
- package/dist/data/field.zod.d.ts +409 -4
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +28 -2
- package/dist/data/mapping.zod.d.ts +6 -6
- package/dist/data/object.zod.d.ts +80 -10
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/workflow.zod.d.ts +809 -18
- package/dist/data/workflow.zod.d.ts.map +1 -1
- package/dist/data/workflow.zod.js +115 -7
- package/dist/system/api.zod.d.ts +4 -4
- package/dist/system/audit.zod.d.ts +1172 -0
- package/dist/system/audit.zod.d.ts.map +1 -0
- package/dist/system/audit.zod.js +596 -0
- package/dist/system/auth.zod.d.ts +8 -8
- package/dist/system/driver.zod.d.ts +4 -4
- package/dist/system/events.zod.d.ts +177 -0
- package/dist/system/events.zod.d.ts.map +1 -0
- package/dist/system/events.zod.js +51 -0
- package/dist/system/identity.zod.d.ts +4 -4
- package/dist/system/index.d.ts +5 -0
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +5 -0
- package/dist/system/job.zod.d.ts +237 -0
- package/dist/system/job.zod.d.ts.map +1 -0
- package/dist/system/job.zod.js +82 -0
- package/dist/system/manifest.zod.d.ts +10 -10
- package/dist/system/realtime.zod.d.ts +135 -0
- package/dist/system/realtime.zod.d.ts.map +1 -0
- package/dist/system/realtime.zod.js +83 -0
- package/dist/system/tenant.zod.d.ts +1151 -0
- package/dist/system/tenant.zod.d.ts.map +1 -0
- package/dist/system/tenant.zod.js +498 -0
- package/dist/system/webhook.zod.d.ts +2 -2
- package/dist/ui/action.zod.d.ts +8 -8
- package/dist/ui/theme.zod.d.ts +12 -12
- package/dist/ui/widget.zod.d.ts +40 -5
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/json-schema/README.md +127 -0
- package/json-schema/ai/AITask.json +123 -0
- package/json-schema/ai/AITaskType.json +21 -0
- package/json-schema/ai/AIWorkflowAutomation.json +379 -0
- package/json-schema/ai/AIWorkflowExecutionResult.json +105 -0
- package/json-schema/ai/AIWorkflowTrigger.json +18 -0
- package/json-schema/ai/BatchAIWorkflowExecution.json +48 -0
- package/json-schema/ai/BillingPeriod.json +18 -0
- package/json-schema/ai/BudgetLimit.json +111 -0
- package/json-schema/ai/BudgetStatus.json +91 -0
- package/json-schema/ai/BudgetType.json +17 -0
- package/json-schema/ai/ConversationAnalytics.json +86 -0
- package/json-schema/ai/ConversationContext.json +48 -0
- package/json-schema/ai/ConversationMessage.json +209 -0
- package/json-schema/ai/ConversationSession.json +458 -0
- package/json-schema/ai/ConversationSummary.json +73 -0
- package/json-schema/ai/CostAlert.json +107 -0
- package/json-schema/ai/CostAlertType.json +16 -0
- package/json-schema/ai/CostAnalytics.json +589 -0
- package/json-schema/ai/CostBreakdownDimension.json +20 -0
- package/json-schema/ai/CostBreakdownEntry.json +60 -0
- package/json-schema/ai/CostEntry.json +106 -0
- package/json-schema/ai/CostMetricType.json +17 -0
- package/json-schema/ai/CostOptimizationRecommendation.json +100 -0
- package/json-schema/ai/CostQueryFilters.json +112 -0
- package/json-schema/ai/CostReport.json +964 -0
- package/json-schema/ai/EvaluationMetrics.json +64 -0
- package/json-schema/ai/FunctionCall.json +28 -0
- package/json-schema/ai/Hyperparameters.json +80 -0
- package/json-schema/ai/MessageContent.json +46 -0
- package/json-schema/ai/MessageContentType.json +16 -0
- package/json-schema/ai/MessagePruningEvent.json +92 -0
- package/json-schema/ai/MessageRole.json +16 -0
- package/json-schema/ai/ModelDrift.json +73 -0
- package/json-schema/ai/ModelFeature.json +71 -0
- package/json-schema/ai/PostProcessingAction.json +41 -0
- package/json-schema/ai/PredictionRequest.json +39 -0
- package/json-schema/ai/PredictionResult.json +82 -0
- package/json-schema/ai/PredictiveModel.json +445 -0
- package/json-schema/ai/PredictiveModelType.json +18 -0
- package/json-schema/ai/TokenBudgetConfig.json +92 -0
- package/json-schema/ai/TokenBudgetStrategy.json +16 -0
- package/json-schema/ai/TokenUsageStats.json +66 -0
- package/json-schema/ai/ToolCall.json +49 -0
- package/json-schema/ai/TrainingConfig.json +88 -0
- package/json-schema/ai/WorkflowFieldCondition.json +33 -0
- package/json-schema/ai/WorkflowSchedule.json +51 -0
- package/json-schema/data/CustomScriptAction.json +49 -0
- package/json-schema/{Field.json → data/Field.json} +50 -1
- package/json-schema/{FieldType.json → data/FieldType.json} +4 -1
- package/json-schema/data/HttpCallAction.json +81 -0
- package/json-schema/{Object.json → data/Object.json} +50 -1
- package/json-schema/data/PushNotificationAction.json +59 -0
- package/json-schema/data/SlackMessageAction.json +45 -0
- package/json-schema/data/SmsNotificationAction.json +50 -0
- package/json-schema/data/TaskCreationAction.json +59 -0
- package/json-schema/data/TeamsMessageAction.json +45 -0
- package/json-schema/data/WebhookTriggerAction.json +58 -0
- package/json-schema/data/WorkflowAction.json +465 -0
- package/json-schema/data/WorkflowRule.json +509 -0
- package/json-schema/system/AuditConfig.json +587 -0
- package/json-schema/system/AuditEvent.json +232 -0
- package/json-schema/system/AuditEventActor.json +48 -0
- package/json-schema/system/AuditEventChange.json +25 -0
- package/json-schema/system/AuditEventFilter.json +127 -0
- package/json-schema/system/AuditEventSeverity.json +19 -0
- package/json-schema/system/AuditEventTarget.json +33 -0
- package/json-schema/system/AuditEventType.json +53 -0
- package/json-schema/system/AuditRetentionPolicy.json +73 -0
- package/json-schema/system/AuditStorageConfig.json +60 -0
- package/json-schema/system/CronSchedule.json +29 -0
- package/json-schema/system/DatabaseLevelIsolationStrategy.json +139 -0
- package/json-schema/system/Event.json +52 -0
- package/json-schema/system/EventHandler.json +29 -0
- package/json-schema/system/EventMetadata.json +33 -0
- package/json-schema/system/EventPersistence.json +25 -0
- package/json-schema/system/EventRoute.json +27 -0
- package/json-schema/system/IntervalSchedule.json +25 -0
- package/json-schema/system/Job.json +127 -0
- package/json-schema/system/JobExecution.json +49 -0
- package/json-schema/system/JobExecutionStatus.json +15 -0
- package/json-schema/system/LevelIsolationStrategySchema.json +93 -0
- package/json-schema/system/OnceSchedule.json +25 -0
- package/json-schema/system/Presence.json +40 -0
- package/json-schema/system/PresenceStatus.json +14 -0
- package/json-schema/system/RealtimeAction.json +14 -0
- package/json-schema/system/RealtimeEvent.json +51 -0
- package/json-schema/system/RealtimeEventType.json +15 -0
- package/json-schema/system/RetryPolicy.json +30 -0
- package/json-schema/system/RowLevelIsolationStrategy.json +74 -0
- package/json-schema/system/Schedule.json +71 -0
- package/json-schema/system/Subscription.json +65 -0
- package/json-schema/system/SubscriptionEvent.json +32 -0
- package/json-schema/system/SuspiciousActivityRule.json +175 -0
- package/json-schema/system/Tenant.json +61 -0
- package/json-schema/system/TenantIsolationConfig.json +298 -0
- package/json-schema/system/TenantIsolationLevel.json +14 -0
- package/json-schema/system/TenantQuota.json +27 -0
- package/json-schema/system/TenantSecurityPolicy.json +115 -0
- package/json-schema/system/TransportProtocol.json +14 -0
- package/json-schema/{Action.json → ui/Action.json} +4 -1
- package/json-schema/{ActionParam.json → ui/ActionParam.json} +4 -1
- package/json-schema/{FieldWidgetProps.json → ui/FieldWidgetProps.json} +50 -1
- package/package.json +12 -12
- package/json-schema/AuthenticationConfig.json +0 -601
- package/json-schema/AuthenticationProvider.json +0 -617
- package/json-schema/MenuItem.json +0 -28
- package/json-schema/WorkflowAction.json +0 -84
- package/json-schema/WorkflowRule.json +0 -128
- /package/json-schema/{AIKnowledge.json → ai/AIKnowledge.json} +0 -0
- /package/json-schema/{AIModelConfig.json → ai/AIModelConfig.json} +0 -0
- /package/json-schema/{AITool.json → ai/AITool.json} +0 -0
- /package/json-schema/{Agent.json → ai/Agent.json} +0 -0
- /package/json-schema/{ChunkingStrategy.json → ai/ChunkingStrategy.json} +0 -0
- /package/json-schema/{DocumentChunk.json → ai/DocumentChunk.json} +0 -0
- /package/json-schema/{DocumentLoaderConfig.json → ai/DocumentLoaderConfig.json} +0 -0
- /package/json-schema/{DocumentMetadata.json → ai/DocumentMetadata.json} +0 -0
- /package/json-schema/{EmbeddingModel.json → ai/EmbeddingModel.json} +0 -0
- /package/json-schema/{Entity.json → ai/Entity.json} +0 -0
- /package/json-schema/{FieldSynonymConfig.json → ai/FieldSynonymConfig.json} +0 -0
- /package/json-schema/{ModelCapability.json → ai/ModelCapability.json} +0 -0
- /package/json-schema/{ModelConfig.json → ai/ModelConfig.json} +0 -0
- /package/json-schema/{ModelLimits.json → ai/ModelLimits.json} +0 -0
- /package/json-schema/{ModelPricing.json → ai/ModelPricing.json} +0 -0
- /package/json-schema/{ModelProvider.json → ai/ModelProvider.json} +0 -0
- /package/json-schema/{ModelRegistry.json → ai/ModelRegistry.json} +0 -0
- /package/json-schema/{ModelRegistryEntry.json → ai/ModelRegistryEntry.json} +0 -0
- /package/json-schema/{ModelSelectionCriteria.json → ai/ModelSelectionCriteria.json} +0 -0
- /package/json-schema/{NLQAnalytics.json → ai/NLQAnalytics.json} +0 -0
- /package/json-schema/{NLQFieldMapping.json → ai/NLQFieldMapping.json} +0 -0
- /package/json-schema/{NLQModelConfig.json → ai/NLQModelConfig.json} +0 -0
- /package/json-schema/{NLQParseResult.json → ai/NLQParseResult.json} +0 -0
- /package/json-schema/{NLQRequest.json → ai/NLQRequest.json} +0 -0
- /package/json-schema/{NLQResponse.json → ai/NLQResponse.json} +0 -0
- /package/json-schema/{NLQTrainingExample.json → ai/NLQTrainingExample.json} +0 -0
- /package/json-schema/{PromptTemplate.json → ai/PromptTemplate.json} +0 -0
- /package/json-schema/{PromptVariable.json → ai/PromptVariable.json} +0 -0
- /package/json-schema/{QueryContext.json → ai/QueryContext.json} +0 -0
- /package/json-schema/{QueryIntent.json → ai/QueryIntent.json} +0 -0
- /package/json-schema/{QueryTemplate.json → ai/QueryTemplate.json} +0 -0
- /package/json-schema/{RAGPipelineConfig.json → ai/RAGPipelineConfig.json} +0 -0
- /package/json-schema/{RAGPipelineStatus.json → ai/RAGPipelineStatus.json} +0 -0
- /package/json-schema/{RAGQueryRequest.json → ai/RAGQueryRequest.json} +0 -0
- /package/json-schema/{RAGQueryResponse.json → ai/RAGQueryResponse.json} +0 -0
- /package/json-schema/{RerankingConfig.json → ai/RerankingConfig.json} +0 -0
- /package/json-schema/{RetrievalStrategy.json → ai/RetrievalStrategy.json} +0 -0
- /package/json-schema/{Timeframe.json → ai/Timeframe.json} +0 -0
- /package/json-schema/{VectorStoreConfig.json → ai/VectorStoreConfig.json} +0 -0
- /package/json-schema/{VectorStoreProvider.json → ai/VectorStoreProvider.json} +0 -0
- /package/json-schema/{ApiError.json → api/ApiError.json} +0 -0
- /package/json-schema/{BaseResponse.json → api/BaseResponse.json} +0 -0
- /package/json-schema/{BulkRequest.json → api/BulkRequest.json} +0 -0
- /package/json-schema/{BulkResponse.json → api/BulkResponse.json} +0 -0
- /package/json-schema/{CreateRequest.json → api/CreateRequest.json} +0 -0
- /package/json-schema/{DeleteResponse.json → api/DeleteResponse.json} +0 -0
- /package/json-schema/{ExportRequest.json → api/ExportRequest.json} +0 -0
- /package/json-schema/{ListRecordResponse.json → api/ListRecordResponse.json} +0 -0
- /package/json-schema/{ModificationResult.json → api/ModificationResult.json} +0 -0
- /package/json-schema/{RecordData.json → api/RecordData.json} +0 -0
- /package/json-schema/{SingleRecordResponse.json → api/SingleRecordResponse.json} +0 -0
- /package/json-schema/{UpdateRequest.json → api/UpdateRequest.json} +0 -0
- /package/json-schema/{Address.json → data/Address.json} +0 -0
- /package/json-schema/{AggregationFunction.json → data/AggregationFunction.json} +0 -0
- /package/json-schema/{AggregationNode.json → data/AggregationNode.json} +0 -0
- /package/json-schema/{AsyncValidation.json → data/AsyncValidation.json} +0 -0
- /package/json-schema/{ComparisonOperator.json → data/ComparisonOperator.json} +0 -0
- /package/json-schema/{ConditionalValidation.json → data/ConditionalValidation.json} +0 -0
- /package/json-schema/{CrossFieldValidation.json → data/CrossFieldValidation.json} +0 -0
- /package/json-schema/{CustomValidator.json → data/CustomValidator.json} +0 -0
- /package/json-schema/{Dataset.json → data/Dataset.json} +0 -0
- /package/json-schema/{DatasetMode.json → data/DatasetMode.json} +0 -0
- /package/json-schema/{EmailAlertAction.json → data/EmailAlertAction.json} +0 -0
- /package/json-schema/{EqualityOperator.json → data/EqualityOperator.json} +0 -0
- /package/json-schema/{FieldMapping.json → data/FieldMapping.json} +0 -0
- /package/json-schema/{FieldNode.json → data/FieldNode.json} +0 -0
- /package/json-schema/{FieldOperators.json → data/FieldOperators.json} +0 -0
- /package/json-schema/{FieldPermission.json → data/FieldPermission.json} +0 -0
- /package/json-schema/{FieldUpdateAction.json → data/FieldUpdateAction.json} +0 -0
- /package/json-schema/{FilterCondition.json → data/FilterCondition.json} +0 -0
- /package/json-schema/{FilterNode.json → data/FilterNode.json} +0 -0
- /package/json-schema/{FilterOperator.json → data/FilterOperator.json} +0 -0
- /package/json-schema/{Flow.json → data/Flow.json} +0 -0
- /package/json-schema/{FlowEdge.json → data/FlowEdge.json} +0 -0
- /package/json-schema/{FlowNode.json → data/FlowNode.json} +0 -0
- /package/json-schema/{FlowNodeAction.json → data/FlowNodeAction.json} +0 -0
- /package/json-schema/{FlowVariable.json → data/FlowVariable.json} +0 -0
- /package/json-schema/{FormatValidation.json → data/FormatValidation.json} +0 -0
- /package/json-schema/{Index.json → data/Index.json} +0 -0
- /package/json-schema/{JoinNode.json → data/JoinNode.json} +0 -0
- /package/json-schema/{JoinType.json → data/JoinType.json} +0 -0
- /package/json-schema/{LocationCoordinates.json → data/LocationCoordinates.json} +0 -0
- /package/json-schema/{LogicOperator.json → data/LogicOperator.json} +0 -0
- /package/json-schema/{Mapping.json → data/Mapping.json} +0 -0
- /package/json-schema/{NormalizedFilter.json → data/NormalizedFilter.json} +0 -0
- /package/json-schema/{OWDModel.json → data/OWDModel.json} +0 -0
- /package/json-schema/{ObjectCapabilities.json → data/ObjectCapabilities.json} +0 -0
- /package/json-schema/{ObjectPermission.json → data/ObjectPermission.json} +0 -0
- /package/json-schema/{PermissionSet.json → data/PermissionSet.json} +0 -0
- /package/json-schema/{Query.json → data/Query.json} +0 -0
- /package/json-schema/{QueryFilter.json → data/QueryFilter.json} +0 -0
- /package/json-schema/{RangeOperator.json → data/RangeOperator.json} +0 -0
- /package/json-schema/{ScriptValidation.json → data/ScriptValidation.json} +0 -0
- /package/json-schema/{SelectOption.json → data/SelectOption.json} +0 -0
- /package/json-schema/{SetOperator.json → data/SetOperator.json} +0 -0
- /package/json-schema/{SharingLevel.json → data/SharingLevel.json} +0 -0
- /package/json-schema/{SharingRule.json → data/SharingRule.json} +0 -0
- /package/json-schema/{SharingRuleType.json → data/SharingRuleType.json} +0 -0
- /package/json-schema/{SortNode.json → data/SortNode.json} +0 -0
- /package/json-schema/{SpecialOperator.json → data/SpecialOperator.json} +0 -0
- /package/json-schema/{StateMachineValidation.json → data/StateMachineValidation.json} +0 -0
- /package/json-schema/{StringOperator.json → data/StringOperator.json} +0 -0
- /package/json-schema/{TransformType.json → data/TransformType.json} +0 -0
- /package/json-schema/{Trigger.json → data/Trigger.json} +0 -0
- /package/json-schema/{TriggerAction.json → data/TriggerAction.json} +0 -0
- /package/json-schema/{TriggerContext.json → data/TriggerContext.json} +0 -0
- /package/json-schema/{TriggerTiming.json → data/TriggerTiming.json} +0 -0
- /package/json-schema/{UniquenessValidation.json → data/UniquenessValidation.json} +0 -0
- /package/json-schema/{ValidationRule.json → data/ValidationRule.json} +0 -0
- /package/json-schema/{WindowFunction.json → data/WindowFunction.json} +0 -0
- /package/json-schema/{WindowFunctionNode.json → data/WindowFunctionNode.json} +0 -0
- /package/json-schema/{WindowSpec.json → data/WindowSpec.json} +0 -0
- /package/json-schema/{WorkflowTriggerType.json → data/WorkflowTriggerType.json} +0 -0
- /package/json-schema/{Account.json → system/Account.json} +0 -0
- /package/json-schema/{AccountLinkingConfig.json → system/AccountLinkingConfig.json} +0 -0
- /package/json-schema/{ApiCapabilities.json → system/ApiCapabilities.json} +0 -0
- /package/json-schema/{ApiEndpoint.json → system/ApiEndpoint.json} +0 -0
- /package/json-schema/{ApiMapping.json → system/ApiMapping.json} +0 -0
- /package/json-schema/{ApiRoutes.json → system/ApiRoutes.json} +0 -0
- /package/json-schema/{AuditPolicy.json → system/AuditPolicy.json} +0 -0
- /package/json-schema/{AuthConfig.json → system/AuthConfig.json} +0 -0
- /package/json-schema/{AuthPluginConfig.json → system/AuthPluginConfig.json} +0 -0
- /package/json-schema/{AuthStrategy.json → system/AuthStrategy.json} +0 -0
- /package/json-schema/{CSRFConfig.json → system/CSRFConfig.json} +0 -0
- /package/json-schema/{DatabaseAdapter.json → system/DatabaseAdapter.json} +0 -0
- /package/json-schema/{DatabaseMapping.json → system/DatabaseMapping.json} +0 -0
- /package/json-schema/{Datasource.json → system/Datasource.json} +0 -0
- /package/json-schema/{DatasourceCapabilities.json → system/DatasourceCapabilities.json} +0 -0
- /package/json-schema/{Discovery.json → system/Discovery.json} +0 -0
- /package/json-schema/{DriverCapabilities.json → system/DriverCapabilities.json} +0 -0
- /package/json-schema/{DriverDefinition.json → system/DriverDefinition.json} +0 -0
- /package/json-schema/{DriverInterface.json → system/DriverInterface.json} +0 -0
- /package/json-schema/{DriverOptions.json → system/DriverOptions.json} +0 -0
- /package/json-schema/{DriverType.json → system/DriverType.json} +0 -0
- /package/json-schema/{EmailPasswordConfig.json → system/EmailPasswordConfig.json} +0 -0
- /package/json-schema/{EnterpriseAuthConfig.json → system/EnterpriseAuthConfig.json} +0 -0
- /package/json-schema/{Feature.json → system/Feature.json} +0 -0
- /package/json-schema/{HttpMethod.json → system/HttpMethod.json} +0 -0
- /package/json-schema/{I18nContext.json → system/I18nContext.json} +0 -0
- /package/json-schema/{Invitation.json → system/Invitation.json} +0 -0
- /package/json-schema/{InvitationStatus.json → system/InvitationStatus.json} +0 -0
- /package/json-schema/{LDAPConfig.json → system/LDAPConfig.json} +0 -0
- /package/json-schema/{License.json → system/License.json} +0 -0
- /package/json-schema/{Locale.json → system/Locale.json} +0 -0
- /package/json-schema/{Logger.json → system/Logger.json} +0 -0
- /package/json-schema/{MagicLinkConfig.json → system/MagicLinkConfig.json} +0 -0
- /package/json-schema/{Manifest.json → system/Manifest.json} +0 -0
- /package/json-schema/{Member.json → system/Member.json} +0 -0
- /package/json-schema/{MetricType.json → system/MetricType.json} +0 -0
- /package/json-schema/{NetworkPolicy.json → system/NetworkPolicy.json} +0 -0
- /package/json-schema/{OAuthProvider.json → system/OAuthProvider.json} +0 -0
- /package/json-schema/{OIDCConfig.json → system/OIDCConfig.json} +0 -0
- /package/json-schema/{ObjectQLClient.json → system/ObjectQLClient.json} +0 -0
- /package/json-schema/{Organization.json → system/Organization.json} +0 -0
- /package/json-schema/{PasskeyConfig.json → system/PasskeyConfig.json} +0 -0
- /package/json-schema/{PasswordPolicy.json → system/PasswordPolicy.json} +0 -0
- /package/json-schema/{Plan.json → system/Plan.json} +0 -0
- /package/json-schema/{Plugin.json → system/Plugin.json} +0 -0
- /package/json-schema/{PluginContext.json → system/PluginContext.json} +0 -0
- /package/json-schema/{PluginLifecycle.json → system/PluginLifecycle.json} +0 -0
- /package/json-schema/{Policy.json → system/Policy.json} +0 -0
- /package/json-schema/{RateLimit.json → system/RateLimit.json} +0 -0
- /package/json-schema/{RateLimitConfig.json → system/RateLimitConfig.json} +0 -0
- /package/json-schema/{Role.json → system/Role.json} +0 -0
- /package/json-schema/{Router.json → system/Router.json} +0 -0
- /package/json-schema/{SAMLConfig.json → system/SAMLConfig.json} +0 -0
- /package/json-schema/{Scheduler.json → system/Scheduler.json} +0 -0
- /package/json-schema/{ScopedStorage.json → system/ScopedStorage.json} +0 -0
- /package/json-schema/{Session.json → system/Session.json} +0 -0
- /package/json-schema/{SessionConfig.json → system/SessionConfig.json} +0 -0
- /package/json-schema/{SessionPolicy.json → system/SessionPolicy.json} +0 -0
- /package/json-schema/{StandardAuthProvider.json → system/StandardAuthProvider.json} +0 -0
- /package/json-schema/{SystemAPI.json → system/SystemAPI.json} +0 -0
- /package/json-schema/{Territory.json → system/Territory.json} +0 -0
- /package/json-schema/{TerritoryModel.json → system/TerritoryModel.json} +0 -0
- /package/json-schema/{TerritoryType.json → system/TerritoryType.json} +0 -0
- /package/json-schema/{TranslationBundle.json → system/TranslationBundle.json} +0 -0
- /package/json-schema/{TranslationData.json → system/TranslationData.json} +0 -0
- /package/json-schema/{TwoFactorConfig.json → system/TwoFactorConfig.json} +0 -0
- /package/json-schema/{User.json → system/User.json} +0 -0
- /package/json-schema/{UserFieldMapping.json → system/UserFieldMapping.json} +0 -0
- /package/json-schema/{VerificationToken.json → system/VerificationToken.json} +0 -0
- /package/json-schema/{Webhook.json → system/Webhook.json} +0 -0
- /package/json-schema/{WebhookReceiver.json → system/WebhookReceiver.json} +0 -0
- /package/json-schema/{WebhookTriggerType.json → system/WebhookTriggerType.json} +0 -0
- /package/json-schema/{Animation.json → ui/Animation.json} +0 -0
- /package/json-schema/{App.json → ui/App.json} +0 -0
- /package/json-schema/{AppBranding.json → ui/AppBranding.json} +0 -0
- /package/json-schema/{BorderRadius.json → ui/BorderRadius.json} +0 -0
- /package/json-schema/{Breakpoints.json → ui/Breakpoints.json} +0 -0
- /package/json-schema/{CalendarConfig.json → ui/CalendarConfig.json} +0 -0
- /package/json-schema/{ChartType.json → ui/ChartType.json} +0 -0
- /package/json-schema/{ColorPalette.json → ui/ColorPalette.json} +0 -0
- /package/json-schema/{Dashboard.json → ui/Dashboard.json} +0 -0
- /package/json-schema/{DashboardNavItem.json → ui/DashboardNavItem.json} +0 -0
- /package/json-schema/{DashboardWidget.json → ui/DashboardWidget.json} +0 -0
- /package/json-schema/{FormSection.json → ui/FormSection.json} +0 -0
- /package/json-schema/{FormView.json → ui/FormView.json} +0 -0
- /package/json-schema/{GanttConfig.json → ui/GanttConfig.json} +0 -0
- /package/json-schema/{GroupNavItem.json → ui/GroupNavItem.json} +0 -0
- /package/json-schema/{KanbanConfig.json → ui/KanbanConfig.json} +0 -0
- /package/json-schema/{ListView.json → ui/ListView.json} +0 -0
- /package/json-schema/{NavigationItem.json → ui/NavigationItem.json} +0 -0
- /package/json-schema/{ObjectNavItem.json → ui/ObjectNavItem.json} +0 -0
- /package/json-schema/{Page.json → ui/Page.json} +0 -0
- /package/json-schema/{PageComponent.json → ui/PageComponent.json} +0 -0
- /package/json-schema/{PageNavItem.json → ui/PageNavItem.json} +0 -0
- /package/json-schema/{PageRegion.json → ui/PageRegion.json} +0 -0
- /package/json-schema/{Report.json → ui/Report.json} +0 -0
- /package/json-schema/{ReportChart.json → ui/ReportChart.json} +0 -0
- /package/json-schema/{ReportColumn.json → ui/ReportColumn.json} +0 -0
- /package/json-schema/{ReportGrouping.json → ui/ReportGrouping.json} +0 -0
- /package/json-schema/{ReportType.json → ui/ReportType.json} +0 -0
- /package/json-schema/{Shadow.json → ui/Shadow.json} +0 -0
- /package/json-schema/{Spacing.json → ui/Spacing.json} +0 -0
- /package/json-schema/{Theme.json → ui/Theme.json} +0 -0
- /package/json-schema/{ThemeMode.json → ui/ThemeMode.json} +0 -0
- /package/json-schema/{Typography.json → ui/Typography.json} +0 -0
- /package/json-schema/{UrlNavItem.json → ui/UrlNavItem.json} +0 -0
- /package/json-schema/{View.json → ui/View.json} +0 -0
- /package/json-schema/{ZIndex.json → ui/ZIndex.json} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.zod.d.ts","sourceRoot":"","sources":["../../src/data/field.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"field.zod.d.ts","sourceRoot":"","sources":["../../src/data/field.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,SAAS,oXA6BpB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAKpC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW;IACtB,eAAe;;;;;;IAOf,2BAA2B;;;;;;IAO3B,8BAA8B;;;IAI9B,yBAAyB;;;;;IAMzB,wBAAwB;;;;;;;;;;;;;;;;;IAGxB,0BAA0B;;;;;IAM1B,kBAAkB;;;;;;;;;;;;;;;;IASlB,yCAAyC;;;;;;;;;;;;;;;;;;;IAmCzC,4BAA4B;;;;IAK5B,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGf,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAKX,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAKT,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAKX,MAAM,WAAU,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAM5B,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAKN,MAAM,WAAc,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAM9B,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAKb,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAKV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAKL,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAC"}
|
package/dist/data/field.zod.js
CHANGED
|
@@ -25,12 +25,15 @@ exports.FieldType = zod_1.z.enum([
|
|
|
25
25
|
// Calculated / System
|
|
26
26
|
'formula', 'summary', 'autonumber',
|
|
27
27
|
// Enhanced Types
|
|
28
|
-
'location', // GPS coordinates
|
|
28
|
+
'location', // GPS coordinates (aka geolocation)
|
|
29
|
+
'geolocation', // Alternative name for location field
|
|
29
30
|
'address', // Structured address
|
|
30
31
|
'code', // Code with syntax highlighting
|
|
31
32
|
'color', // Color picker
|
|
32
33
|
'rating', // Star rating
|
|
33
|
-
'
|
|
34
|
+
'slider', // Numeric slider
|
|
35
|
+
'signature', // Digital signature
|
|
36
|
+
'qrcode', // QR code / Barcode
|
|
34
37
|
]);
|
|
35
38
|
/**
|
|
36
39
|
* Select Option Schema
|
|
@@ -120,6 +123,17 @@ exports.FieldSchema = zod_1.z.object({
|
|
|
120
123
|
colorFormat: zod_1.z.enum(['hex', 'rgb', 'rgba', 'hsl']).optional().describe('Color value format'),
|
|
121
124
|
allowAlpha: zod_1.z.boolean().optional().describe('Allow transparency/alpha channel'),
|
|
122
125
|
presetColors: zod_1.z.array(zod_1.z.string()).optional().describe('Preset color options'),
|
|
126
|
+
// Slider field config
|
|
127
|
+
step: zod_1.z.number().optional().describe('Step increment for slider (default: 1)'),
|
|
128
|
+
showValue: zod_1.z.boolean().optional().describe('Display current value on slider'),
|
|
129
|
+
marks: zod_1.z.record(zod_1.z.string()).optional().describe('Custom marks/labels at specific values (e.g., {0: "Low", 50: "Medium", 100: "High"})'),
|
|
130
|
+
// QR Code / Barcode field config
|
|
131
|
+
// Note: qrErrorCorrection is only applicable when barcodeFormat='qr'
|
|
132
|
+
// Runtime validation should enforce this constraint
|
|
133
|
+
barcodeFormat: zod_1.z.enum(['qr', 'ean13', 'ean8', 'code128', 'code39', 'upca', 'upce']).optional().describe('Barcode format type'),
|
|
134
|
+
qrErrorCorrection: zod_1.z.enum(['L', 'M', 'Q', 'H']).optional().describe('QR code error correction level (L=7%, M=15%, Q=25%, H=30%). Only applicable when barcodeFormat is "qr"'),
|
|
135
|
+
displayValue: zod_1.z.boolean().optional().describe('Display human-readable value below barcode/QR code'),
|
|
136
|
+
allowScanning: zod_1.z.boolean().optional().describe('Enable camera scanning for barcode/QR code input'),
|
|
123
137
|
/** Security & Visibility */
|
|
124
138
|
hidden: zod_1.z.boolean().default(false).describe('Hidden from default UI'),
|
|
125
139
|
readonly: zod_1.z.boolean().default(false).describe('Read-only in UI'),
|
|
@@ -219,4 +233,16 @@ exports.Field = {
|
|
|
219
233
|
type: 'signature',
|
|
220
234
|
...config
|
|
221
235
|
}),
|
|
236
|
+
slider: (config = {}) => ({
|
|
237
|
+
type: 'slider',
|
|
238
|
+
...config
|
|
239
|
+
}),
|
|
240
|
+
qrcode: (config = {}) => ({
|
|
241
|
+
type: 'qrcode',
|
|
242
|
+
...config
|
|
243
|
+
}),
|
|
244
|
+
geolocation: (config = {}) => ({
|
|
245
|
+
type: 'geolocation',
|
|
246
|
+
...config
|
|
247
|
+
}),
|
|
222
248
|
};
|
|
@@ -43,7 +43,7 @@ export declare const FieldMappingSchema: z.ZodObject<{
|
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
source: string | string[];
|
|
45
45
|
target: string | string[];
|
|
46
|
-
transform: "lookup" | "join" | "map" | "none" | "
|
|
46
|
+
transform: "lookup" | "join" | "map" | "none" | "javascript" | "constant" | "split";
|
|
47
47
|
params?: {
|
|
48
48
|
object?: string | undefined;
|
|
49
49
|
value?: any;
|
|
@@ -65,7 +65,7 @@ export declare const FieldMappingSchema: z.ZodObject<{
|
|
|
65
65
|
valueMap?: Record<string, any> | undefined;
|
|
66
66
|
separator?: string | undefined;
|
|
67
67
|
} | undefined;
|
|
68
|
-
transform?: "lookup" | "join" | "map" | "none" | "
|
|
68
|
+
transform?: "lookup" | "join" | "map" | "none" | "javascript" | "constant" | "split" | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
/**
|
|
71
71
|
* ETL Mapping Schema
|
|
@@ -115,7 +115,7 @@ export declare const MappingSchema: z.ZodObject<{
|
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
source: string | string[];
|
|
117
117
|
target: string | string[];
|
|
118
|
-
transform: "lookup" | "join" | "map" | "none" | "
|
|
118
|
+
transform: "lookup" | "join" | "map" | "none" | "javascript" | "constant" | "split";
|
|
119
119
|
params?: {
|
|
120
120
|
object?: string | undefined;
|
|
121
121
|
value?: any;
|
|
@@ -137,7 +137,7 @@ export declare const MappingSchema: z.ZodObject<{
|
|
|
137
137
|
valueMap?: Record<string, any> | undefined;
|
|
138
138
|
separator?: string | undefined;
|
|
139
139
|
} | undefined;
|
|
140
|
-
transform?: "lookup" | "join" | "map" | "none" | "
|
|
140
|
+
transform?: "lookup" | "join" | "map" | "none" | "javascript" | "constant" | "split" | undefined;
|
|
141
141
|
}>, "many">;
|
|
142
142
|
/** Upsert Logic */
|
|
143
143
|
mode: z.ZodDefault<z.ZodEnum<["insert", "update", "upsert"]>>;
|
|
@@ -350,7 +350,7 @@ export declare const MappingSchema: z.ZodObject<{
|
|
|
350
350
|
fieldMapping: {
|
|
351
351
|
source: string | string[];
|
|
352
352
|
target: string | string[];
|
|
353
|
-
transform: "lookup" | "join" | "map" | "none" | "
|
|
353
|
+
transform: "lookup" | "join" | "map" | "none" | "javascript" | "constant" | "split";
|
|
354
354
|
params?: {
|
|
355
355
|
object?: string | undefined;
|
|
356
356
|
value?: any;
|
|
@@ -418,7 +418,7 @@ export declare const MappingSchema: z.ZodObject<{
|
|
|
418
418
|
valueMap?: Record<string, any> | undefined;
|
|
419
419
|
separator?: string | undefined;
|
|
420
420
|
} | undefined;
|
|
421
|
-
transform?: "lookup" | "join" | "map" | "none" | "
|
|
421
|
+
transform?: "lookup" | "join" | "map" | "none" | "javascript" | "constant" | "split" | undefined;
|
|
422
422
|
}[];
|
|
423
423
|
label?: string | undefined;
|
|
424
424
|
mode?: "update" | "upsert" | "insert" | undefined;
|
|
@@ -76,7 +76,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
76
76
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
77
77
|
name: z.ZodOptional<z.ZodString>;
|
|
78
78
|
label: z.ZodOptional<z.ZodString>;
|
|
79
|
-
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "address", "code", "color", "rating", "signature"]>;
|
|
79
|
+
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "geolocation", "address", "code", "color", "rating", "slider", "signature", "qrcode"]>;
|
|
80
80
|
description: z.ZodOptional<z.ZodString>;
|
|
81
81
|
format: z.ZodOptional<z.ZodString>;
|
|
82
82
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -136,13 +136,20 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
136
136
|
colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
|
|
137
137
|
allowAlpha: z.ZodOptional<z.ZodBoolean>;
|
|
138
138
|
presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
showValue: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
+
marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
|
+
barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
|
|
143
|
+
qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
|
|
144
|
+
displayValue: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
allowScanning: z.ZodOptional<z.ZodBoolean>;
|
|
139
146
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
140
147
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
141
148
|
encryption: z.ZodDefault<z.ZodBoolean>;
|
|
142
149
|
index: z.ZodDefault<z.ZodBoolean>;
|
|
143
150
|
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
144
151
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
152
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
146
153
|
required: boolean;
|
|
147
154
|
searchable: boolean;
|
|
148
155
|
multiple: boolean;
|
|
@@ -191,8 +198,15 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
191
198
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
192
199
|
allowAlpha?: boolean | undefined;
|
|
193
200
|
presetColors?: string[] | undefined;
|
|
201
|
+
step?: number | undefined;
|
|
202
|
+
showValue?: boolean | undefined;
|
|
203
|
+
marks?: Record<string, string> | undefined;
|
|
204
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
205
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
206
|
+
displayValue?: boolean | undefined;
|
|
207
|
+
allowScanning?: boolean | undefined;
|
|
194
208
|
}, {
|
|
195
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
209
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
196
210
|
formula?: string | undefined;
|
|
197
211
|
options?: {
|
|
198
212
|
value: string;
|
|
@@ -236,6 +250,13 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
236
250
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
237
251
|
allowAlpha?: boolean | undefined;
|
|
238
252
|
presetColors?: string[] | undefined;
|
|
253
|
+
step?: number | undefined;
|
|
254
|
+
showValue?: boolean | undefined;
|
|
255
|
+
marks?: Record<string, string> | undefined;
|
|
256
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
257
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
258
|
+
displayValue?: boolean | undefined;
|
|
259
|
+
allowScanning?: boolean | undefined;
|
|
239
260
|
hidden?: boolean | undefined;
|
|
240
261
|
readonly?: boolean | undefined;
|
|
241
262
|
encryption?: boolean | undefined;
|
|
@@ -298,7 +319,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
298
319
|
}, "strip", z.ZodTypeAny, {
|
|
299
320
|
name: string;
|
|
300
321
|
fields: Record<string, {
|
|
301
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
322
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
302
323
|
required: boolean;
|
|
303
324
|
searchable: boolean;
|
|
304
325
|
multiple: boolean;
|
|
@@ -347,6 +368,13 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
347
368
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
348
369
|
allowAlpha?: boolean | undefined;
|
|
349
370
|
presetColors?: string[] | undefined;
|
|
371
|
+
step?: number | undefined;
|
|
372
|
+
showValue?: boolean | undefined;
|
|
373
|
+
marks?: Record<string, string> | undefined;
|
|
374
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
375
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
376
|
+
displayValue?: boolean | undefined;
|
|
377
|
+
allowScanning?: boolean | undefined;
|
|
350
378
|
}>;
|
|
351
379
|
datasource: string;
|
|
352
380
|
isSystem: boolean;
|
|
@@ -373,7 +401,7 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
373
401
|
}, {
|
|
374
402
|
name: string;
|
|
375
403
|
fields: Record<string, {
|
|
376
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
404
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
377
405
|
formula?: string | undefined;
|
|
378
406
|
options?: {
|
|
379
407
|
value: string;
|
|
@@ -417,6 +445,13 @@ declare const ObjectSchemaBase: z.ZodObject<{
|
|
|
417
445
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
418
446
|
allowAlpha?: boolean | undefined;
|
|
419
447
|
presetColors?: string[] | undefined;
|
|
448
|
+
step?: number | undefined;
|
|
449
|
+
showValue?: boolean | undefined;
|
|
450
|
+
marks?: Record<string, string> | undefined;
|
|
451
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
452
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
453
|
+
displayValue?: boolean | undefined;
|
|
454
|
+
allowScanning?: boolean | undefined;
|
|
420
455
|
hidden?: boolean | undefined;
|
|
421
456
|
readonly?: boolean | undefined;
|
|
422
457
|
encryption?: boolean | undefined;
|
|
@@ -467,7 +502,7 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
467
502
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
468
503
|
name: z.ZodOptional<z.ZodString>;
|
|
469
504
|
label: z.ZodOptional<z.ZodString>;
|
|
470
|
-
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "address", "code", "color", "rating", "signature"]>;
|
|
505
|
+
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "select", "lookup", "master_detail", "image", "file", "avatar", "formula", "summary", "autonumber", "location", "geolocation", "address", "code", "color", "rating", "slider", "signature", "qrcode"]>;
|
|
471
506
|
description: z.ZodOptional<z.ZodString>;
|
|
472
507
|
format: z.ZodOptional<z.ZodString>;
|
|
473
508
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -527,13 +562,20 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
527
562
|
colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl"]>>;
|
|
528
563
|
allowAlpha: z.ZodOptional<z.ZodBoolean>;
|
|
529
564
|
presetColors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
565
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
566
|
+
showValue: z.ZodOptional<z.ZodBoolean>;
|
|
567
|
+
marks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
568
|
+
barcodeFormat: z.ZodOptional<z.ZodEnum<["qr", "ean13", "ean8", "code128", "code39", "upca", "upce"]>>;
|
|
569
|
+
qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
|
|
570
|
+
displayValue: z.ZodOptional<z.ZodBoolean>;
|
|
571
|
+
allowScanning: z.ZodOptional<z.ZodBoolean>;
|
|
530
572
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
531
573
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
532
574
|
encryption: z.ZodDefault<z.ZodBoolean>;
|
|
533
575
|
index: z.ZodDefault<z.ZodBoolean>;
|
|
534
576
|
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
535
577
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
578
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
537
579
|
required: boolean;
|
|
538
580
|
searchable: boolean;
|
|
539
581
|
multiple: boolean;
|
|
@@ -582,8 +624,15 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
582
624
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
583
625
|
allowAlpha?: boolean | undefined;
|
|
584
626
|
presetColors?: string[] | undefined;
|
|
627
|
+
step?: number | undefined;
|
|
628
|
+
showValue?: boolean | undefined;
|
|
629
|
+
marks?: Record<string, string> | undefined;
|
|
630
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
631
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
632
|
+
displayValue?: boolean | undefined;
|
|
633
|
+
allowScanning?: boolean | undefined;
|
|
585
634
|
}, {
|
|
586
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
635
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
587
636
|
formula?: string | undefined;
|
|
588
637
|
options?: {
|
|
589
638
|
value: string;
|
|
@@ -627,6 +676,13 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
627
676
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
628
677
|
allowAlpha?: boolean | undefined;
|
|
629
678
|
presetColors?: string[] | undefined;
|
|
679
|
+
step?: number | undefined;
|
|
680
|
+
showValue?: boolean | undefined;
|
|
681
|
+
marks?: Record<string, string> | undefined;
|
|
682
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
683
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
684
|
+
displayValue?: boolean | undefined;
|
|
685
|
+
allowScanning?: boolean | undefined;
|
|
630
686
|
hidden?: boolean | undefined;
|
|
631
687
|
readonly?: boolean | undefined;
|
|
632
688
|
encryption?: boolean | undefined;
|
|
@@ -689,7 +745,7 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
689
745
|
}, "strip", z.ZodTypeAny, {
|
|
690
746
|
name: string;
|
|
691
747
|
fields: Record<string, {
|
|
692
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
748
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
693
749
|
required: boolean;
|
|
694
750
|
searchable: boolean;
|
|
695
751
|
multiple: boolean;
|
|
@@ -738,6 +794,13 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
738
794
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
739
795
|
allowAlpha?: boolean | undefined;
|
|
740
796
|
presetColors?: string[] | undefined;
|
|
797
|
+
step?: number | undefined;
|
|
798
|
+
showValue?: boolean | undefined;
|
|
799
|
+
marks?: Record<string, string> | undefined;
|
|
800
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
801
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
802
|
+
displayValue?: boolean | undefined;
|
|
803
|
+
allowScanning?: boolean | undefined;
|
|
741
804
|
}>;
|
|
742
805
|
datasource: string;
|
|
743
806
|
isSystem: boolean;
|
|
@@ -764,7 +827,7 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
764
827
|
}, {
|
|
765
828
|
name: string;
|
|
766
829
|
fields: Record<string, {
|
|
767
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "signature";
|
|
830
|
+
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "date" | "datetime" | "time" | "select" | "lookup" | "master_detail" | "image" | "file" | "avatar" | "formula" | "summary" | "autonumber" | "location" | "geolocation" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode";
|
|
768
831
|
formula?: string | undefined;
|
|
769
832
|
options?: {
|
|
770
833
|
value: string;
|
|
@@ -808,6 +871,13 @@ export declare const ObjectSchema: z.ZodObject<{
|
|
|
808
871
|
colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
809
872
|
allowAlpha?: boolean | undefined;
|
|
810
873
|
presetColors?: string[] | undefined;
|
|
874
|
+
step?: number | undefined;
|
|
875
|
+
showValue?: boolean | undefined;
|
|
876
|
+
marks?: Record<string, string> | undefined;
|
|
877
|
+
barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
878
|
+
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
879
|
+
displayValue?: boolean | undefined;
|
|
880
|
+
allowScanning?: boolean | undefined;
|
|
811
881
|
hidden?: boolean | undefined;
|
|
812
882
|
readonly?: boolean | undefined;
|
|
813
883
|
encryption?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object.zod.d.ts","sourceRoot":"","sources":["../../src/data/object.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CA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