@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
package/dist/data/field.zod.d.ts
CHANGED
|
@@ -2,10 +2,25 @@ import { z } from 'zod';
|
|
|
2
2
|
/**
|
|
3
3
|
* Field Type Enum
|
|
4
4
|
*/
|
|
5
|
-
export declare const FieldType: 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", "
|
|
5
|
+
export declare const FieldType: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "toggle", "select", "multiselect", "radio", "checkboxes", "lookup", "master_detail", "tree", "image", "file", "avatar", "video", "audio", "formula", "summary", "autonumber", "location", "address", "code", "json", "color", "rating", "slider", "signature", "qrcode", "progress", "tags", "vector"]>;
|
|
6
6
|
export type FieldType = z.infer<typeof FieldType>;
|
|
7
7
|
/**
|
|
8
8
|
* Select Option Schema
|
|
9
|
+
*
|
|
10
|
+
* Defines option values for select/picklist fields.
|
|
11
|
+
*
|
|
12
|
+
* **CRITICAL RULE**: The `value` field is a machine identifier that gets stored in the database.
|
|
13
|
+
* It MUST be lowercase to avoid case-sensitivity issues in queries and comparisons.
|
|
14
|
+
*
|
|
15
|
+
* @example Good
|
|
16
|
+
* { label: 'New', value: 'new' }
|
|
17
|
+
* { label: 'In Progress', value: 'in_progress' }
|
|
18
|
+
* { label: 'Closed Won', value: 'closed_won' }
|
|
19
|
+
*
|
|
20
|
+
* @example Bad (will be rejected)
|
|
21
|
+
* { label: 'New', value: 'New' } // uppercase
|
|
22
|
+
* { label: 'In Progress', value: 'In Progress' } // spaces and uppercase
|
|
23
|
+
* { label: 'Closed Won', value: 'Closed_Won' } // mixed case
|
|
9
24
|
*/
|
|
10
25
|
export declare const SelectOptionSchema: z.ZodObject<{
|
|
11
26
|
label: z.ZodString;
|
|
@@ -43,6 +58,46 @@ export declare const LocationCoordinatesSchema: z.ZodObject<{
|
|
|
43
58
|
altitude?: number | undefined;
|
|
44
59
|
accuracy?: number | undefined;
|
|
45
60
|
}>;
|
|
61
|
+
/**
|
|
62
|
+
* Currency Configuration Schema
|
|
63
|
+
* Configuration for currency field type supporting multi-currency
|
|
64
|
+
*
|
|
65
|
+
* Note: Currency codes are validated by length only (3 characters) to support:
|
|
66
|
+
* - Standard ISO 4217 codes (USD, EUR, CNY, etc.)
|
|
67
|
+
* - Cryptocurrency codes (BTC, ETH, etc.)
|
|
68
|
+
* - Custom business-specific codes
|
|
69
|
+
* Stricter validation can be implemented at the application layer based on business requirements.
|
|
70
|
+
*/
|
|
71
|
+
export declare const CurrencyConfigSchema: z.ZodObject<{
|
|
72
|
+
precision: z.ZodDefault<z.ZodNumber>;
|
|
73
|
+
currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
|
|
74
|
+
defaultCurrency: z.ZodDefault<z.ZodString>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
precision: number;
|
|
77
|
+
currencyMode: "dynamic" | "fixed";
|
|
78
|
+
defaultCurrency: string;
|
|
79
|
+
}, {
|
|
80
|
+
precision?: number | undefined;
|
|
81
|
+
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
82
|
+
defaultCurrency?: string | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* Currency Value Schema
|
|
86
|
+
* Runtime value structure for currency fields
|
|
87
|
+
*
|
|
88
|
+
* Note: Currency codes are validated by length only (3 characters) to support flexibility.
|
|
89
|
+
* See CurrencyConfigSchema for details on currency code validation strategy.
|
|
90
|
+
*/
|
|
91
|
+
export declare const CurrencyValueSchema: z.ZodObject<{
|
|
92
|
+
value: z.ZodNumber;
|
|
93
|
+
currency: z.ZodString;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
value: number;
|
|
96
|
+
currency: string;
|
|
97
|
+
}, {
|
|
98
|
+
value: number;
|
|
99
|
+
currency: string;
|
|
100
|
+
}>;
|
|
46
101
|
/**
|
|
47
102
|
* Address Schema
|
|
48
103
|
* Structured address for address field type
|
|
@@ -72,6 +127,49 @@ export declare const AddressSchema: z.ZodObject<{
|
|
|
72
127
|
countryCode?: string | undefined;
|
|
73
128
|
formatted?: string | undefined;
|
|
74
129
|
}>;
|
|
130
|
+
/**
|
|
131
|
+
* Vector Configuration Schema
|
|
132
|
+
* Configuration for vector field type supporting AI/ML embeddings
|
|
133
|
+
*
|
|
134
|
+
* Vector fields store numerical embeddings for semantic search, similarity matching,
|
|
135
|
+
* and Retrieval-Augmented Generation (RAG) workflows.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* // Text embeddings for semantic search
|
|
139
|
+
* {
|
|
140
|
+
* dimensions: 1536, // OpenAI text-embedding-ada-002
|
|
141
|
+
* distanceMetric: 'cosine',
|
|
142
|
+
* indexed: true
|
|
143
|
+
* }
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* // Image embeddings with normalization
|
|
147
|
+
* {
|
|
148
|
+
* dimensions: 512, // ResNet-50
|
|
149
|
+
* distanceMetric: 'euclidean',
|
|
150
|
+
* normalized: true,
|
|
151
|
+
* indexed: true
|
|
152
|
+
* }
|
|
153
|
+
*/
|
|
154
|
+
export declare const VectorConfigSchema: z.ZodObject<{
|
|
155
|
+
dimensions: z.ZodNumber;
|
|
156
|
+
distanceMetric: z.ZodDefault<z.ZodEnum<["cosine", "euclidean", "dotProduct", "manhattan"]>>;
|
|
157
|
+
normalized: z.ZodDefault<z.ZodBoolean>;
|
|
158
|
+
indexed: z.ZodDefault<z.ZodBoolean>;
|
|
159
|
+
indexType: z.ZodOptional<z.ZodEnum<["hnsw", "ivfflat", "flat"]>>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
dimensions: number;
|
|
162
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
163
|
+
normalized: boolean;
|
|
164
|
+
indexed: boolean;
|
|
165
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
dimensions: number;
|
|
168
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
169
|
+
normalized?: boolean | undefined;
|
|
170
|
+
indexed?: boolean | undefined;
|
|
171
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
172
|
+
}>;
|
|
75
173
|
/**
|
|
76
174
|
* Field Schema - Best Practice Enterprise Pattern
|
|
77
175
|
*/
|
|
@@ -79,7 +177,7 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
79
177
|
/** Identity */
|
|
80
178
|
name: z.ZodOptional<z.ZodString>;
|
|
81
179
|
label: z.ZodOptional<z.ZodString>;
|
|
82
|
-
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", "
|
|
180
|
+
type: z.ZodEnum<["text", "textarea", "email", "url", "phone", "password", "markdown", "html", "richtext", "number", "currency", "percent", "date", "datetime", "time", "boolean", "toggle", "select", "multiselect", "radio", "checkboxes", "lookup", "master_detail", "tree", "image", "file", "avatar", "video", "audio", "formula", "summary", "autonumber", "location", "address", "code", "json", "color", "rating", "slider", "signature", "qrcode", "progress", "tags", "vector"]>;
|
|
83
181
|
description: z.ZodOptional<z.ZodString>;
|
|
84
182
|
format: z.ZodOptional<z.ZodString>;
|
|
85
183
|
/** Database Constraints */
|
|
@@ -127,11 +225,11 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
127
225
|
function: z.ZodEnum<["count", "sum", "min", "max", "avg"]>;
|
|
128
226
|
}, "strip", z.ZodTypeAny, {
|
|
129
227
|
object: string;
|
|
130
|
-
function: "
|
|
228
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
131
229
|
field: string;
|
|
132
230
|
}, {
|
|
133
231
|
object: string;
|
|
134
|
-
function: "
|
|
232
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
135
233
|
field: string;
|
|
136
234
|
}>>;
|
|
137
235
|
/** Enhanced Field Type Configurations */
|
|
@@ -153,6 +251,38 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
153
251
|
qrErrorCorrection: z.ZodOptional<z.ZodEnum<["L", "M", "Q", "H"]>>;
|
|
154
252
|
displayValue: z.ZodOptional<z.ZodBoolean>;
|
|
155
253
|
allowScanning: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
currencyConfig: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
precision: z.ZodDefault<z.ZodNumber>;
|
|
256
|
+
currencyMode: z.ZodDefault<z.ZodEnum<["dynamic", "fixed"]>>;
|
|
257
|
+
defaultCurrency: z.ZodDefault<z.ZodString>;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
precision: number;
|
|
260
|
+
currencyMode: "dynamic" | "fixed";
|
|
261
|
+
defaultCurrency: string;
|
|
262
|
+
}, {
|
|
263
|
+
precision?: number | undefined;
|
|
264
|
+
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
265
|
+
defaultCurrency?: string | undefined;
|
|
266
|
+
}>>;
|
|
267
|
+
vectorConfig: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
dimensions: z.ZodNumber;
|
|
269
|
+
distanceMetric: z.ZodDefault<z.ZodEnum<["cosine", "euclidean", "dotProduct", "manhattan"]>>;
|
|
270
|
+
normalized: z.ZodDefault<z.ZodBoolean>;
|
|
271
|
+
indexed: z.ZodDefault<z.ZodBoolean>;
|
|
272
|
+
indexType: z.ZodOptional<z.ZodEnum<["hnsw", "ivfflat", "flat"]>>;
|
|
273
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
dimensions: number;
|
|
275
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
276
|
+
normalized: boolean;
|
|
277
|
+
indexed: boolean;
|
|
278
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
279
|
+
}, {
|
|
280
|
+
dimensions: number;
|
|
281
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
282
|
+
normalized?: boolean | undefined;
|
|
283
|
+
indexed?: boolean | undefined;
|
|
284
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
285
|
+
}>>;
|
|
156
286
|
/** Security & Visibility */
|
|
157
287
|
hidden: z.ZodDefault<z.ZodBoolean>;
|
|
158
288
|
readonly: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -161,7 +291,7 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
161
291
|
index: z.ZodDefault<z.ZodBoolean>;
|
|
162
292
|
externalId: z.ZodDefault<z.ZodBoolean>;
|
|
163
293
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "
|
|
294
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
165
295
|
required: boolean;
|
|
166
296
|
searchable: boolean;
|
|
167
297
|
multiple: boolean;
|
|
@@ -172,31 +302,31 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
172
302
|
encryption: boolean;
|
|
173
303
|
index: boolean;
|
|
174
304
|
externalId: boolean;
|
|
175
|
-
formula?: string | undefined;
|
|
176
305
|
options?: {
|
|
177
306
|
value: string;
|
|
178
307
|
label: string;
|
|
179
308
|
color?: string | undefined;
|
|
180
309
|
default?: boolean | undefined;
|
|
181
310
|
}[] | undefined;
|
|
311
|
+
min?: number | undefined;
|
|
312
|
+
max?: number | undefined;
|
|
313
|
+
formula?: string | undefined;
|
|
182
314
|
label?: string | undefined;
|
|
315
|
+
precision?: number | undefined;
|
|
183
316
|
name?: string | undefined;
|
|
184
317
|
description?: string | undefined;
|
|
185
318
|
format?: string | undefined;
|
|
186
319
|
defaultValue?: any;
|
|
187
320
|
maxLength?: number | undefined;
|
|
188
321
|
minLength?: number | undefined;
|
|
189
|
-
precision?: number | undefined;
|
|
190
322
|
scale?: number | undefined;
|
|
191
|
-
min?: number | undefined;
|
|
192
|
-
max?: number | undefined;
|
|
193
323
|
reference?: string | undefined;
|
|
194
324
|
referenceFilters?: string[] | undefined;
|
|
195
325
|
writeRequiresMasterRead?: boolean | undefined;
|
|
196
326
|
expression?: string | undefined;
|
|
197
327
|
summaryOperations?: {
|
|
198
328
|
object: string;
|
|
199
|
-
function: "
|
|
329
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
200
330
|
field: string;
|
|
201
331
|
} | undefined;
|
|
202
332
|
language?: string | undefined;
|
|
@@ -217,30 +347,42 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
217
347
|
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
218
348
|
displayValue?: boolean | undefined;
|
|
219
349
|
allowScanning?: boolean | undefined;
|
|
350
|
+
currencyConfig?: {
|
|
351
|
+
precision: number;
|
|
352
|
+
currencyMode: "dynamic" | "fixed";
|
|
353
|
+
defaultCurrency: string;
|
|
354
|
+
} | undefined;
|
|
355
|
+
vectorConfig?: {
|
|
356
|
+
dimensions: number;
|
|
357
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
358
|
+
normalized: boolean;
|
|
359
|
+
indexed: boolean;
|
|
360
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
361
|
+
} | undefined;
|
|
220
362
|
}, {
|
|
221
|
-
type: "number" | "boolean" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "
|
|
222
|
-
formula?: string | undefined;
|
|
363
|
+
type: "number" | "boolean" | "code" | "date" | "text" | "textarea" | "email" | "url" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "file" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
223
364
|
options?: {
|
|
224
365
|
value: string;
|
|
225
366
|
label: string;
|
|
226
367
|
color?: string | undefined;
|
|
227
368
|
default?: boolean | undefined;
|
|
228
369
|
}[] | undefined;
|
|
370
|
+
required?: boolean | undefined;
|
|
371
|
+
min?: number | undefined;
|
|
372
|
+
max?: number | undefined;
|
|
373
|
+
formula?: string | undefined;
|
|
229
374
|
label?: string | undefined;
|
|
375
|
+
precision?: number | undefined;
|
|
230
376
|
name?: string | undefined;
|
|
231
377
|
description?: string | undefined;
|
|
232
378
|
format?: string | undefined;
|
|
233
|
-
required?: boolean | undefined;
|
|
234
379
|
searchable?: boolean | undefined;
|
|
235
380
|
multiple?: boolean | undefined;
|
|
236
381
|
unique?: boolean | undefined;
|
|
237
382
|
defaultValue?: any;
|
|
238
383
|
maxLength?: number | undefined;
|
|
239
384
|
minLength?: number | undefined;
|
|
240
|
-
precision?: number | undefined;
|
|
241
385
|
scale?: number | undefined;
|
|
242
|
-
min?: number | undefined;
|
|
243
|
-
max?: number | undefined;
|
|
244
386
|
reference?: string | undefined;
|
|
245
387
|
referenceFilters?: string[] | undefined;
|
|
246
388
|
writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -248,7 +390,7 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
248
390
|
expression?: string | undefined;
|
|
249
391
|
summaryOperations?: {
|
|
250
392
|
object: string;
|
|
251
|
-
function: "
|
|
393
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
252
394
|
field: string;
|
|
253
395
|
} | undefined;
|
|
254
396
|
language?: string | undefined;
|
|
@@ -269,6 +411,18 @@ export declare const FieldSchema: z.ZodObject<{
|
|
|
269
411
|
qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
270
412
|
displayValue?: boolean | undefined;
|
|
271
413
|
allowScanning?: boolean | undefined;
|
|
414
|
+
currencyConfig?: {
|
|
415
|
+
precision?: number | undefined;
|
|
416
|
+
currencyMode?: "dynamic" | "fixed" | undefined;
|
|
417
|
+
defaultCurrency?: string | undefined;
|
|
418
|
+
} | undefined;
|
|
419
|
+
vectorConfig?: {
|
|
420
|
+
dimensions: number;
|
|
421
|
+
distanceMetric?: "cosine" | "euclidean" | "dotProduct" | "manhattan" | undefined;
|
|
422
|
+
normalized?: boolean | undefined;
|
|
423
|
+
indexed?: boolean | undefined;
|
|
424
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
425
|
+
} | undefined;
|
|
272
426
|
hidden?: boolean | undefined;
|
|
273
427
|
readonly?: boolean | undefined;
|
|
274
428
|
encryption?: boolean | undefined;
|
|
@@ -279,34 +433,37 @@ export type Field = z.infer<typeof FieldSchema>;
|
|
|
279
433
|
export type SelectOption = z.infer<typeof SelectOptionSchema>;
|
|
280
434
|
export type LocationCoordinates = z.infer<typeof LocationCoordinatesSchema>;
|
|
281
435
|
export type Address = z.infer<typeof AddressSchema>;
|
|
436
|
+
export type CurrencyConfig = z.infer<typeof CurrencyConfigSchema>;
|
|
437
|
+
export type CurrencyValue = z.infer<typeof CurrencyValueSchema>;
|
|
438
|
+
export type VectorConfig = z.infer<typeof VectorConfigSchema>;
|
|
282
439
|
/**
|
|
283
440
|
* Field Factory Helper
|
|
284
441
|
*/
|
|
285
442
|
export type FieldInput = Omit<Partial<Field>, 'type'>;
|
|
286
443
|
export declare const Field: {
|
|
287
444
|
text: (config?: FieldInput) => {
|
|
288
|
-
readonly formula?: string | undefined;
|
|
289
445
|
readonly options?: {
|
|
290
446
|
value: string;
|
|
291
447
|
label: string;
|
|
292
448
|
color?: string | undefined;
|
|
293
449
|
default?: boolean | undefined;
|
|
294
450
|
}[] | undefined;
|
|
451
|
+
readonly required?: boolean | undefined;
|
|
452
|
+
readonly min?: number | undefined;
|
|
453
|
+
readonly max?: number | undefined;
|
|
454
|
+
readonly formula?: string | undefined;
|
|
295
455
|
readonly label?: string | undefined;
|
|
456
|
+
readonly precision?: number | undefined;
|
|
296
457
|
readonly name?: string | undefined;
|
|
297
458
|
readonly description?: string | undefined;
|
|
298
459
|
readonly format?: string | undefined;
|
|
299
|
-
readonly required?: boolean | undefined;
|
|
300
460
|
readonly searchable?: boolean | undefined;
|
|
301
461
|
readonly multiple?: boolean | undefined;
|
|
302
462
|
readonly unique?: boolean | undefined;
|
|
303
463
|
readonly defaultValue?: any;
|
|
304
464
|
readonly maxLength?: number | undefined;
|
|
305
465
|
readonly minLength?: number | undefined;
|
|
306
|
-
readonly precision?: number | undefined;
|
|
307
466
|
readonly scale?: number | undefined;
|
|
308
|
-
readonly min?: number | undefined;
|
|
309
|
-
readonly max?: number | undefined;
|
|
310
467
|
readonly reference?: string | undefined;
|
|
311
468
|
readonly referenceFilters?: string[] | undefined;
|
|
312
469
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -314,7 +471,7 @@ export declare const Field: {
|
|
|
314
471
|
readonly expression?: string | undefined;
|
|
315
472
|
readonly summaryOperations?: {
|
|
316
473
|
object: string;
|
|
317
|
-
function: "
|
|
474
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
318
475
|
field: string;
|
|
319
476
|
} | undefined;
|
|
320
477
|
readonly language?: string | undefined;
|
|
@@ -335,6 +492,18 @@ export declare const Field: {
|
|
|
335
492
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
336
493
|
readonly displayValue?: boolean | undefined;
|
|
337
494
|
readonly allowScanning?: boolean | undefined;
|
|
495
|
+
readonly currencyConfig?: {
|
|
496
|
+
precision: number;
|
|
497
|
+
currencyMode: "dynamic" | "fixed";
|
|
498
|
+
defaultCurrency: string;
|
|
499
|
+
} | undefined;
|
|
500
|
+
readonly vectorConfig?: {
|
|
501
|
+
dimensions: number;
|
|
502
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
503
|
+
normalized: boolean;
|
|
504
|
+
indexed: boolean;
|
|
505
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
506
|
+
} | undefined;
|
|
338
507
|
readonly hidden?: boolean | undefined;
|
|
339
508
|
readonly readonly?: boolean | undefined;
|
|
340
509
|
readonly encryption?: boolean | undefined;
|
|
@@ -343,28 +512,28 @@ export declare const Field: {
|
|
|
343
512
|
readonly type: "text";
|
|
344
513
|
};
|
|
345
514
|
textarea: (config?: FieldInput) => {
|
|
346
|
-
readonly formula?: string | undefined;
|
|
347
515
|
readonly options?: {
|
|
348
516
|
value: string;
|
|
349
517
|
label: string;
|
|
350
518
|
color?: string | undefined;
|
|
351
519
|
default?: boolean | undefined;
|
|
352
520
|
}[] | undefined;
|
|
521
|
+
readonly required?: boolean | undefined;
|
|
522
|
+
readonly min?: number | undefined;
|
|
523
|
+
readonly max?: number | undefined;
|
|
524
|
+
readonly formula?: string | undefined;
|
|
353
525
|
readonly label?: string | undefined;
|
|
526
|
+
readonly precision?: number | undefined;
|
|
354
527
|
readonly name?: string | undefined;
|
|
355
528
|
readonly description?: string | undefined;
|
|
356
529
|
readonly format?: string | undefined;
|
|
357
|
-
readonly required?: boolean | undefined;
|
|
358
530
|
readonly searchable?: boolean | undefined;
|
|
359
531
|
readonly multiple?: boolean | undefined;
|
|
360
532
|
readonly unique?: boolean | undefined;
|
|
361
533
|
readonly defaultValue?: any;
|
|
362
534
|
readonly maxLength?: number | undefined;
|
|
363
535
|
readonly minLength?: number | undefined;
|
|
364
|
-
readonly precision?: number | undefined;
|
|
365
536
|
readonly scale?: number | undefined;
|
|
366
|
-
readonly min?: number | undefined;
|
|
367
|
-
readonly max?: number | undefined;
|
|
368
537
|
readonly reference?: string | undefined;
|
|
369
538
|
readonly referenceFilters?: string[] | undefined;
|
|
370
539
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -372,7 +541,7 @@ export declare const Field: {
|
|
|
372
541
|
readonly expression?: string | undefined;
|
|
373
542
|
readonly summaryOperations?: {
|
|
374
543
|
object: string;
|
|
375
|
-
function: "
|
|
544
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
376
545
|
field: string;
|
|
377
546
|
} | undefined;
|
|
378
547
|
readonly language?: string | undefined;
|
|
@@ -393,6 +562,18 @@ export declare const Field: {
|
|
|
393
562
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
394
563
|
readonly displayValue?: boolean | undefined;
|
|
395
564
|
readonly allowScanning?: boolean | undefined;
|
|
565
|
+
readonly currencyConfig?: {
|
|
566
|
+
precision: number;
|
|
567
|
+
currencyMode: "dynamic" | "fixed";
|
|
568
|
+
defaultCurrency: string;
|
|
569
|
+
} | undefined;
|
|
570
|
+
readonly vectorConfig?: {
|
|
571
|
+
dimensions: number;
|
|
572
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
573
|
+
normalized: boolean;
|
|
574
|
+
indexed: boolean;
|
|
575
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
576
|
+
} | undefined;
|
|
396
577
|
readonly hidden?: boolean | undefined;
|
|
397
578
|
readonly readonly?: boolean | undefined;
|
|
398
579
|
readonly encryption?: boolean | undefined;
|
|
@@ -401,28 +582,28 @@ export declare const Field: {
|
|
|
401
582
|
readonly type: "textarea";
|
|
402
583
|
};
|
|
403
584
|
number: (config?: FieldInput) => {
|
|
404
|
-
readonly formula?: string | undefined;
|
|
405
585
|
readonly options?: {
|
|
406
586
|
value: string;
|
|
407
587
|
label: string;
|
|
408
588
|
color?: string | undefined;
|
|
409
589
|
default?: boolean | undefined;
|
|
410
590
|
}[] | undefined;
|
|
591
|
+
readonly required?: boolean | undefined;
|
|
592
|
+
readonly min?: number | undefined;
|
|
593
|
+
readonly max?: number | undefined;
|
|
594
|
+
readonly formula?: string | undefined;
|
|
411
595
|
readonly label?: string | undefined;
|
|
596
|
+
readonly precision?: number | undefined;
|
|
412
597
|
readonly name?: string | undefined;
|
|
413
598
|
readonly description?: string | undefined;
|
|
414
599
|
readonly format?: string | undefined;
|
|
415
|
-
readonly required?: boolean | undefined;
|
|
416
600
|
readonly searchable?: boolean | undefined;
|
|
417
601
|
readonly multiple?: boolean | undefined;
|
|
418
602
|
readonly unique?: boolean | undefined;
|
|
419
603
|
readonly defaultValue?: any;
|
|
420
604
|
readonly maxLength?: number | undefined;
|
|
421
605
|
readonly minLength?: number | undefined;
|
|
422
|
-
readonly precision?: number | undefined;
|
|
423
606
|
readonly scale?: number | undefined;
|
|
424
|
-
readonly min?: number | undefined;
|
|
425
|
-
readonly max?: number | undefined;
|
|
426
607
|
readonly reference?: string | undefined;
|
|
427
608
|
readonly referenceFilters?: string[] | undefined;
|
|
428
609
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -430,7 +611,7 @@ export declare const Field: {
|
|
|
430
611
|
readonly expression?: string | undefined;
|
|
431
612
|
readonly summaryOperations?: {
|
|
432
613
|
object: string;
|
|
433
|
-
function: "
|
|
614
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
434
615
|
field: string;
|
|
435
616
|
} | undefined;
|
|
436
617
|
readonly language?: string | undefined;
|
|
@@ -451,6 +632,18 @@ export declare const Field: {
|
|
|
451
632
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
452
633
|
readonly displayValue?: boolean | undefined;
|
|
453
634
|
readonly allowScanning?: boolean | undefined;
|
|
635
|
+
readonly currencyConfig?: {
|
|
636
|
+
precision: number;
|
|
637
|
+
currencyMode: "dynamic" | "fixed";
|
|
638
|
+
defaultCurrency: string;
|
|
639
|
+
} | undefined;
|
|
640
|
+
readonly vectorConfig?: {
|
|
641
|
+
dimensions: number;
|
|
642
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
643
|
+
normalized: boolean;
|
|
644
|
+
indexed: boolean;
|
|
645
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
646
|
+
} | undefined;
|
|
454
647
|
readonly hidden?: boolean | undefined;
|
|
455
648
|
readonly readonly?: boolean | undefined;
|
|
456
649
|
readonly encryption?: boolean | undefined;
|
|
@@ -459,28 +652,28 @@ export declare const Field: {
|
|
|
459
652
|
readonly type: "number";
|
|
460
653
|
};
|
|
461
654
|
boolean: (config?: FieldInput) => {
|
|
462
|
-
readonly formula?: string | undefined;
|
|
463
655
|
readonly options?: {
|
|
464
656
|
value: string;
|
|
465
657
|
label: string;
|
|
466
658
|
color?: string | undefined;
|
|
467
659
|
default?: boolean | undefined;
|
|
468
660
|
}[] | undefined;
|
|
661
|
+
readonly required?: boolean | undefined;
|
|
662
|
+
readonly min?: number | undefined;
|
|
663
|
+
readonly max?: number | undefined;
|
|
664
|
+
readonly formula?: string | undefined;
|
|
469
665
|
readonly label?: string | undefined;
|
|
666
|
+
readonly precision?: number | undefined;
|
|
470
667
|
readonly name?: string | undefined;
|
|
471
668
|
readonly description?: string | undefined;
|
|
472
669
|
readonly format?: string | undefined;
|
|
473
|
-
readonly required?: boolean | undefined;
|
|
474
670
|
readonly searchable?: boolean | undefined;
|
|
475
671
|
readonly multiple?: boolean | undefined;
|
|
476
672
|
readonly unique?: boolean | undefined;
|
|
477
673
|
readonly defaultValue?: any;
|
|
478
674
|
readonly maxLength?: number | undefined;
|
|
479
675
|
readonly minLength?: number | undefined;
|
|
480
|
-
readonly precision?: number | undefined;
|
|
481
676
|
readonly scale?: number | undefined;
|
|
482
|
-
readonly min?: number | undefined;
|
|
483
|
-
readonly max?: number | undefined;
|
|
484
677
|
readonly reference?: string | undefined;
|
|
485
678
|
readonly referenceFilters?: string[] | undefined;
|
|
486
679
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -488,7 +681,7 @@ export declare const Field: {
|
|
|
488
681
|
readonly expression?: string | undefined;
|
|
489
682
|
readonly summaryOperations?: {
|
|
490
683
|
object: string;
|
|
491
|
-
function: "
|
|
684
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
492
685
|
field: string;
|
|
493
686
|
} | undefined;
|
|
494
687
|
readonly language?: string | undefined;
|
|
@@ -509,6 +702,18 @@ export declare const Field: {
|
|
|
509
702
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
510
703
|
readonly displayValue?: boolean | undefined;
|
|
511
704
|
readonly allowScanning?: boolean | undefined;
|
|
705
|
+
readonly currencyConfig?: {
|
|
706
|
+
precision: number;
|
|
707
|
+
currencyMode: "dynamic" | "fixed";
|
|
708
|
+
defaultCurrency: string;
|
|
709
|
+
} | undefined;
|
|
710
|
+
readonly vectorConfig?: {
|
|
711
|
+
dimensions: number;
|
|
712
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
713
|
+
normalized: boolean;
|
|
714
|
+
indexed: boolean;
|
|
715
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
716
|
+
} | undefined;
|
|
512
717
|
readonly hidden?: boolean | undefined;
|
|
513
718
|
readonly readonly?: boolean | undefined;
|
|
514
719
|
readonly encryption?: boolean | undefined;
|
|
@@ -517,28 +722,28 @@ export declare const Field: {
|
|
|
517
722
|
readonly type: "boolean";
|
|
518
723
|
};
|
|
519
724
|
date: (config?: FieldInput) => {
|
|
520
|
-
readonly formula?: string | undefined;
|
|
521
725
|
readonly options?: {
|
|
522
726
|
value: string;
|
|
523
727
|
label: string;
|
|
524
728
|
color?: string | undefined;
|
|
525
729
|
default?: boolean | undefined;
|
|
526
730
|
}[] | undefined;
|
|
731
|
+
readonly required?: boolean | undefined;
|
|
732
|
+
readonly min?: number | undefined;
|
|
733
|
+
readonly max?: number | undefined;
|
|
734
|
+
readonly formula?: string | undefined;
|
|
527
735
|
readonly label?: string | undefined;
|
|
736
|
+
readonly precision?: number | undefined;
|
|
528
737
|
readonly name?: string | undefined;
|
|
529
738
|
readonly description?: string | undefined;
|
|
530
739
|
readonly format?: string | undefined;
|
|
531
|
-
readonly required?: boolean | undefined;
|
|
532
740
|
readonly searchable?: boolean | undefined;
|
|
533
741
|
readonly multiple?: boolean | undefined;
|
|
534
742
|
readonly unique?: boolean | undefined;
|
|
535
743
|
readonly defaultValue?: any;
|
|
536
744
|
readonly maxLength?: number | undefined;
|
|
537
745
|
readonly minLength?: number | undefined;
|
|
538
|
-
readonly precision?: number | undefined;
|
|
539
746
|
readonly scale?: number | undefined;
|
|
540
|
-
readonly min?: number | undefined;
|
|
541
|
-
readonly max?: number | undefined;
|
|
542
747
|
readonly reference?: string | undefined;
|
|
543
748
|
readonly referenceFilters?: string[] | undefined;
|
|
544
749
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -546,7 +751,7 @@ export declare const Field: {
|
|
|
546
751
|
readonly expression?: string | undefined;
|
|
547
752
|
readonly summaryOperations?: {
|
|
548
753
|
object: string;
|
|
549
|
-
function: "
|
|
754
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
550
755
|
field: string;
|
|
551
756
|
} | undefined;
|
|
552
757
|
readonly language?: string | undefined;
|
|
@@ -567,6 +772,18 @@ export declare const Field: {
|
|
|
567
772
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
568
773
|
readonly displayValue?: boolean | undefined;
|
|
569
774
|
readonly allowScanning?: boolean | undefined;
|
|
775
|
+
readonly currencyConfig?: {
|
|
776
|
+
precision: number;
|
|
777
|
+
currencyMode: "dynamic" | "fixed";
|
|
778
|
+
defaultCurrency: string;
|
|
779
|
+
} | undefined;
|
|
780
|
+
readonly vectorConfig?: {
|
|
781
|
+
dimensions: number;
|
|
782
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
783
|
+
normalized: boolean;
|
|
784
|
+
indexed: boolean;
|
|
785
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
786
|
+
} | undefined;
|
|
570
787
|
readonly hidden?: boolean | undefined;
|
|
571
788
|
readonly readonly?: boolean | undefined;
|
|
572
789
|
readonly encryption?: boolean | undefined;
|
|
@@ -575,28 +792,28 @@ export declare const Field: {
|
|
|
575
792
|
readonly type: "date";
|
|
576
793
|
};
|
|
577
794
|
datetime: (config?: FieldInput) => {
|
|
578
|
-
readonly formula?: string | undefined;
|
|
579
795
|
readonly options?: {
|
|
580
796
|
value: string;
|
|
581
797
|
label: string;
|
|
582
798
|
color?: string | undefined;
|
|
583
799
|
default?: boolean | undefined;
|
|
584
800
|
}[] | undefined;
|
|
801
|
+
readonly required?: boolean | undefined;
|
|
802
|
+
readonly min?: number | undefined;
|
|
803
|
+
readonly max?: number | undefined;
|
|
804
|
+
readonly formula?: string | undefined;
|
|
585
805
|
readonly label?: string | undefined;
|
|
806
|
+
readonly precision?: number | undefined;
|
|
586
807
|
readonly name?: string | undefined;
|
|
587
808
|
readonly description?: string | undefined;
|
|
588
809
|
readonly format?: string | undefined;
|
|
589
|
-
readonly required?: boolean | undefined;
|
|
590
810
|
readonly searchable?: boolean | undefined;
|
|
591
811
|
readonly multiple?: boolean | undefined;
|
|
592
812
|
readonly unique?: boolean | undefined;
|
|
593
813
|
readonly defaultValue?: any;
|
|
594
814
|
readonly maxLength?: number | undefined;
|
|
595
815
|
readonly minLength?: number | undefined;
|
|
596
|
-
readonly precision?: number | undefined;
|
|
597
816
|
readonly scale?: number | undefined;
|
|
598
|
-
readonly min?: number | undefined;
|
|
599
|
-
readonly max?: number | undefined;
|
|
600
817
|
readonly reference?: string | undefined;
|
|
601
818
|
readonly referenceFilters?: string[] | undefined;
|
|
602
819
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -604,7 +821,7 @@ export declare const Field: {
|
|
|
604
821
|
readonly expression?: string | undefined;
|
|
605
822
|
readonly summaryOperations?: {
|
|
606
823
|
object: string;
|
|
607
|
-
function: "
|
|
824
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
608
825
|
field: string;
|
|
609
826
|
} | undefined;
|
|
610
827
|
readonly language?: string | undefined;
|
|
@@ -625,6 +842,18 @@ export declare const Field: {
|
|
|
625
842
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
626
843
|
readonly displayValue?: boolean | undefined;
|
|
627
844
|
readonly allowScanning?: boolean | undefined;
|
|
845
|
+
readonly currencyConfig?: {
|
|
846
|
+
precision: number;
|
|
847
|
+
currencyMode: "dynamic" | "fixed";
|
|
848
|
+
defaultCurrency: string;
|
|
849
|
+
} | undefined;
|
|
850
|
+
readonly vectorConfig?: {
|
|
851
|
+
dimensions: number;
|
|
852
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
853
|
+
normalized: boolean;
|
|
854
|
+
indexed: boolean;
|
|
855
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
856
|
+
} | undefined;
|
|
628
857
|
readonly hidden?: boolean | undefined;
|
|
629
858
|
readonly readonly?: boolean | undefined;
|
|
630
859
|
readonly encryption?: boolean | undefined;
|
|
@@ -633,28 +862,28 @@ export declare const Field: {
|
|
|
633
862
|
readonly type: "datetime";
|
|
634
863
|
};
|
|
635
864
|
currency: (config?: FieldInput) => {
|
|
636
|
-
readonly formula?: string | undefined;
|
|
637
865
|
readonly options?: {
|
|
638
866
|
value: string;
|
|
639
867
|
label: string;
|
|
640
868
|
color?: string | undefined;
|
|
641
869
|
default?: boolean | undefined;
|
|
642
870
|
}[] | undefined;
|
|
871
|
+
readonly required?: boolean | undefined;
|
|
872
|
+
readonly min?: number | undefined;
|
|
873
|
+
readonly max?: number | undefined;
|
|
874
|
+
readonly formula?: string | undefined;
|
|
643
875
|
readonly label?: string | undefined;
|
|
876
|
+
readonly precision?: number | undefined;
|
|
644
877
|
readonly name?: string | undefined;
|
|
645
878
|
readonly description?: string | undefined;
|
|
646
879
|
readonly format?: string | undefined;
|
|
647
|
-
readonly required?: boolean | undefined;
|
|
648
880
|
readonly searchable?: boolean | undefined;
|
|
649
881
|
readonly multiple?: boolean | undefined;
|
|
650
882
|
readonly unique?: boolean | undefined;
|
|
651
883
|
readonly defaultValue?: any;
|
|
652
884
|
readonly maxLength?: number | undefined;
|
|
653
885
|
readonly minLength?: number | undefined;
|
|
654
|
-
readonly precision?: number | undefined;
|
|
655
886
|
readonly scale?: number | undefined;
|
|
656
|
-
readonly min?: number | undefined;
|
|
657
|
-
readonly max?: number | undefined;
|
|
658
887
|
readonly reference?: string | undefined;
|
|
659
888
|
readonly referenceFilters?: string[] | undefined;
|
|
660
889
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -662,7 +891,7 @@ export declare const Field: {
|
|
|
662
891
|
readonly expression?: string | undefined;
|
|
663
892
|
readonly summaryOperations?: {
|
|
664
893
|
object: string;
|
|
665
|
-
function: "
|
|
894
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
666
895
|
field: string;
|
|
667
896
|
} | undefined;
|
|
668
897
|
readonly language?: string | undefined;
|
|
@@ -683,6 +912,18 @@ export declare const Field: {
|
|
|
683
912
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
684
913
|
readonly displayValue?: boolean | undefined;
|
|
685
914
|
readonly allowScanning?: boolean | undefined;
|
|
915
|
+
readonly currencyConfig?: {
|
|
916
|
+
precision: number;
|
|
917
|
+
currencyMode: "dynamic" | "fixed";
|
|
918
|
+
defaultCurrency: string;
|
|
919
|
+
} | undefined;
|
|
920
|
+
readonly vectorConfig?: {
|
|
921
|
+
dimensions: number;
|
|
922
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
923
|
+
normalized: boolean;
|
|
924
|
+
indexed: boolean;
|
|
925
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
926
|
+
} | undefined;
|
|
686
927
|
readonly hidden?: boolean | undefined;
|
|
687
928
|
readonly readonly?: boolean | undefined;
|
|
688
929
|
readonly encryption?: boolean | undefined;
|
|
@@ -691,28 +932,28 @@ export declare const Field: {
|
|
|
691
932
|
readonly type: "currency";
|
|
692
933
|
};
|
|
693
934
|
percent: (config?: FieldInput) => {
|
|
694
|
-
readonly formula?: string | undefined;
|
|
695
935
|
readonly options?: {
|
|
696
936
|
value: string;
|
|
697
937
|
label: string;
|
|
698
938
|
color?: string | undefined;
|
|
699
939
|
default?: boolean | undefined;
|
|
700
940
|
}[] | undefined;
|
|
941
|
+
readonly required?: boolean | undefined;
|
|
942
|
+
readonly min?: number | undefined;
|
|
943
|
+
readonly max?: number | undefined;
|
|
944
|
+
readonly formula?: string | undefined;
|
|
701
945
|
readonly label?: string | undefined;
|
|
946
|
+
readonly precision?: number | undefined;
|
|
702
947
|
readonly name?: string | undefined;
|
|
703
948
|
readonly description?: string | undefined;
|
|
704
949
|
readonly format?: string | undefined;
|
|
705
|
-
readonly required?: boolean | undefined;
|
|
706
950
|
readonly searchable?: boolean | undefined;
|
|
707
951
|
readonly multiple?: boolean | undefined;
|
|
708
952
|
readonly unique?: boolean | undefined;
|
|
709
953
|
readonly defaultValue?: any;
|
|
710
954
|
readonly maxLength?: number | undefined;
|
|
711
955
|
readonly minLength?: number | undefined;
|
|
712
|
-
readonly precision?: number | undefined;
|
|
713
956
|
readonly scale?: number | undefined;
|
|
714
|
-
readonly min?: number | undefined;
|
|
715
|
-
readonly max?: number | undefined;
|
|
716
957
|
readonly reference?: string | undefined;
|
|
717
958
|
readonly referenceFilters?: string[] | undefined;
|
|
718
959
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -720,7 +961,7 @@ export declare const Field: {
|
|
|
720
961
|
readonly expression?: string | undefined;
|
|
721
962
|
readonly summaryOperations?: {
|
|
722
963
|
object: string;
|
|
723
|
-
function: "
|
|
964
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
724
965
|
field: string;
|
|
725
966
|
} | undefined;
|
|
726
967
|
readonly language?: string | undefined;
|
|
@@ -741,6 +982,18 @@ export declare const Field: {
|
|
|
741
982
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
742
983
|
readonly displayValue?: boolean | undefined;
|
|
743
984
|
readonly allowScanning?: boolean | undefined;
|
|
985
|
+
readonly currencyConfig?: {
|
|
986
|
+
precision: number;
|
|
987
|
+
currencyMode: "dynamic" | "fixed";
|
|
988
|
+
defaultCurrency: string;
|
|
989
|
+
} | undefined;
|
|
990
|
+
readonly vectorConfig?: {
|
|
991
|
+
dimensions: number;
|
|
992
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
993
|
+
normalized: boolean;
|
|
994
|
+
indexed: boolean;
|
|
995
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
996
|
+
} | undefined;
|
|
744
997
|
readonly hidden?: boolean | undefined;
|
|
745
998
|
readonly readonly?: boolean | undefined;
|
|
746
999
|
readonly encryption?: boolean | undefined;
|
|
@@ -749,28 +1002,28 @@ export declare const Field: {
|
|
|
749
1002
|
readonly type: "percent";
|
|
750
1003
|
};
|
|
751
1004
|
url: (config?: FieldInput) => {
|
|
752
|
-
readonly formula?: string | undefined;
|
|
753
1005
|
readonly options?: {
|
|
754
1006
|
value: string;
|
|
755
1007
|
label: string;
|
|
756
1008
|
color?: string | undefined;
|
|
757
1009
|
default?: boolean | undefined;
|
|
758
1010
|
}[] | undefined;
|
|
1011
|
+
readonly required?: boolean | undefined;
|
|
1012
|
+
readonly min?: number | undefined;
|
|
1013
|
+
readonly max?: number | undefined;
|
|
1014
|
+
readonly formula?: string | undefined;
|
|
759
1015
|
readonly label?: string | undefined;
|
|
1016
|
+
readonly precision?: number | undefined;
|
|
760
1017
|
readonly name?: string | undefined;
|
|
761
1018
|
readonly description?: string | undefined;
|
|
762
1019
|
readonly format?: string | undefined;
|
|
763
|
-
readonly required?: boolean | undefined;
|
|
764
1020
|
readonly searchable?: boolean | undefined;
|
|
765
1021
|
readonly multiple?: boolean | undefined;
|
|
766
1022
|
readonly unique?: boolean | undefined;
|
|
767
1023
|
readonly defaultValue?: any;
|
|
768
1024
|
readonly maxLength?: number | undefined;
|
|
769
1025
|
readonly minLength?: number | undefined;
|
|
770
|
-
readonly precision?: number | undefined;
|
|
771
1026
|
readonly scale?: number | undefined;
|
|
772
|
-
readonly min?: number | undefined;
|
|
773
|
-
readonly max?: number | undefined;
|
|
774
1027
|
readonly reference?: string | undefined;
|
|
775
1028
|
readonly referenceFilters?: string[] | undefined;
|
|
776
1029
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -778,7 +1031,7 @@ export declare const Field: {
|
|
|
778
1031
|
readonly expression?: string | undefined;
|
|
779
1032
|
readonly summaryOperations?: {
|
|
780
1033
|
object: string;
|
|
781
|
-
function: "
|
|
1034
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
782
1035
|
field: string;
|
|
783
1036
|
} | undefined;
|
|
784
1037
|
readonly language?: string | undefined;
|
|
@@ -799,6 +1052,18 @@ export declare const Field: {
|
|
|
799
1052
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
800
1053
|
readonly displayValue?: boolean | undefined;
|
|
801
1054
|
readonly allowScanning?: boolean | undefined;
|
|
1055
|
+
readonly currencyConfig?: {
|
|
1056
|
+
precision: number;
|
|
1057
|
+
currencyMode: "dynamic" | "fixed";
|
|
1058
|
+
defaultCurrency: string;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
readonly vectorConfig?: {
|
|
1061
|
+
dimensions: number;
|
|
1062
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1063
|
+
normalized: boolean;
|
|
1064
|
+
indexed: boolean;
|
|
1065
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1066
|
+
} | undefined;
|
|
802
1067
|
readonly hidden?: boolean | undefined;
|
|
803
1068
|
readonly readonly?: boolean | undefined;
|
|
804
1069
|
readonly encryption?: boolean | undefined;
|
|
@@ -807,28 +1072,28 @@ export declare const Field: {
|
|
|
807
1072
|
readonly type: "url";
|
|
808
1073
|
};
|
|
809
1074
|
email: (config?: FieldInput) => {
|
|
810
|
-
readonly formula?: string | undefined;
|
|
811
1075
|
readonly options?: {
|
|
812
1076
|
value: string;
|
|
813
1077
|
label: string;
|
|
814
1078
|
color?: string | undefined;
|
|
815
1079
|
default?: boolean | undefined;
|
|
816
1080
|
}[] | undefined;
|
|
1081
|
+
readonly required?: boolean | undefined;
|
|
1082
|
+
readonly min?: number | undefined;
|
|
1083
|
+
readonly max?: number | undefined;
|
|
1084
|
+
readonly formula?: string | undefined;
|
|
817
1085
|
readonly label?: string | undefined;
|
|
1086
|
+
readonly precision?: number | undefined;
|
|
818
1087
|
readonly name?: string | undefined;
|
|
819
1088
|
readonly description?: string | undefined;
|
|
820
1089
|
readonly format?: string | undefined;
|
|
821
|
-
readonly required?: boolean | undefined;
|
|
822
1090
|
readonly searchable?: boolean | undefined;
|
|
823
1091
|
readonly multiple?: boolean | undefined;
|
|
824
1092
|
readonly unique?: boolean | undefined;
|
|
825
1093
|
readonly defaultValue?: any;
|
|
826
1094
|
readonly maxLength?: number | undefined;
|
|
827
1095
|
readonly minLength?: number | undefined;
|
|
828
|
-
readonly precision?: number | undefined;
|
|
829
1096
|
readonly scale?: number | undefined;
|
|
830
|
-
readonly min?: number | undefined;
|
|
831
|
-
readonly max?: number | undefined;
|
|
832
1097
|
readonly reference?: string | undefined;
|
|
833
1098
|
readonly referenceFilters?: string[] | undefined;
|
|
834
1099
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -836,7 +1101,7 @@ export declare const Field: {
|
|
|
836
1101
|
readonly expression?: string | undefined;
|
|
837
1102
|
readonly summaryOperations?: {
|
|
838
1103
|
object: string;
|
|
839
|
-
function: "
|
|
1104
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
840
1105
|
field: string;
|
|
841
1106
|
} | undefined;
|
|
842
1107
|
readonly language?: string | undefined;
|
|
@@ -857,6 +1122,18 @@ export declare const Field: {
|
|
|
857
1122
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
858
1123
|
readonly displayValue?: boolean | undefined;
|
|
859
1124
|
readonly allowScanning?: boolean | undefined;
|
|
1125
|
+
readonly currencyConfig?: {
|
|
1126
|
+
precision: number;
|
|
1127
|
+
currencyMode: "dynamic" | "fixed";
|
|
1128
|
+
defaultCurrency: string;
|
|
1129
|
+
} | undefined;
|
|
1130
|
+
readonly vectorConfig?: {
|
|
1131
|
+
dimensions: number;
|
|
1132
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1133
|
+
normalized: boolean;
|
|
1134
|
+
indexed: boolean;
|
|
1135
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1136
|
+
} | undefined;
|
|
860
1137
|
readonly hidden?: boolean | undefined;
|
|
861
1138
|
readonly readonly?: boolean | undefined;
|
|
862
1139
|
readonly encryption?: boolean | undefined;
|
|
@@ -865,28 +1142,28 @@ export declare const Field: {
|
|
|
865
1142
|
readonly type: "email";
|
|
866
1143
|
};
|
|
867
1144
|
phone: (config?: FieldInput) => {
|
|
868
|
-
readonly formula?: string | undefined;
|
|
869
1145
|
readonly options?: {
|
|
870
1146
|
value: string;
|
|
871
1147
|
label: string;
|
|
872
1148
|
color?: string | undefined;
|
|
873
1149
|
default?: boolean | undefined;
|
|
874
1150
|
}[] | undefined;
|
|
1151
|
+
readonly required?: boolean | undefined;
|
|
1152
|
+
readonly min?: number | undefined;
|
|
1153
|
+
readonly max?: number | undefined;
|
|
1154
|
+
readonly formula?: string | undefined;
|
|
875
1155
|
readonly label?: string | undefined;
|
|
1156
|
+
readonly precision?: number | undefined;
|
|
876
1157
|
readonly name?: string | undefined;
|
|
877
1158
|
readonly description?: string | undefined;
|
|
878
1159
|
readonly format?: string | undefined;
|
|
879
|
-
readonly required?: boolean | undefined;
|
|
880
1160
|
readonly searchable?: boolean | undefined;
|
|
881
1161
|
readonly multiple?: boolean | undefined;
|
|
882
1162
|
readonly unique?: boolean | undefined;
|
|
883
1163
|
readonly defaultValue?: any;
|
|
884
1164
|
readonly maxLength?: number | undefined;
|
|
885
1165
|
readonly minLength?: number | undefined;
|
|
886
|
-
readonly precision?: number | undefined;
|
|
887
1166
|
readonly scale?: number | undefined;
|
|
888
|
-
readonly min?: number | undefined;
|
|
889
|
-
readonly max?: number | undefined;
|
|
890
1167
|
readonly reference?: string | undefined;
|
|
891
1168
|
readonly referenceFilters?: string[] | undefined;
|
|
892
1169
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -894,7 +1171,7 @@ export declare const Field: {
|
|
|
894
1171
|
readonly expression?: string | undefined;
|
|
895
1172
|
readonly summaryOperations?: {
|
|
896
1173
|
object: string;
|
|
897
|
-
function: "
|
|
1174
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
898
1175
|
field: string;
|
|
899
1176
|
} | undefined;
|
|
900
1177
|
readonly language?: string | undefined;
|
|
@@ -915,6 +1192,18 @@ export declare const Field: {
|
|
|
915
1192
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
916
1193
|
readonly displayValue?: boolean | undefined;
|
|
917
1194
|
readonly allowScanning?: boolean | undefined;
|
|
1195
|
+
readonly currencyConfig?: {
|
|
1196
|
+
precision: number;
|
|
1197
|
+
currencyMode: "dynamic" | "fixed";
|
|
1198
|
+
defaultCurrency: string;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
readonly vectorConfig?: {
|
|
1201
|
+
dimensions: number;
|
|
1202
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1203
|
+
normalized: boolean;
|
|
1204
|
+
indexed: boolean;
|
|
1205
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1206
|
+
} | undefined;
|
|
918
1207
|
readonly hidden?: boolean | undefined;
|
|
919
1208
|
readonly readonly?: boolean | undefined;
|
|
920
1209
|
readonly encryption?: boolean | undefined;
|
|
@@ -923,28 +1212,28 @@ export declare const Field: {
|
|
|
923
1212
|
readonly type: "phone";
|
|
924
1213
|
};
|
|
925
1214
|
image: (config?: FieldInput) => {
|
|
926
|
-
readonly formula?: string | undefined;
|
|
927
1215
|
readonly options?: {
|
|
928
1216
|
value: string;
|
|
929
1217
|
label: string;
|
|
930
1218
|
color?: string | undefined;
|
|
931
1219
|
default?: boolean | undefined;
|
|
932
1220
|
}[] | undefined;
|
|
1221
|
+
readonly required?: boolean | undefined;
|
|
1222
|
+
readonly min?: number | undefined;
|
|
1223
|
+
readonly max?: number | undefined;
|
|
1224
|
+
readonly formula?: string | undefined;
|
|
933
1225
|
readonly label?: string | undefined;
|
|
1226
|
+
readonly precision?: number | undefined;
|
|
934
1227
|
readonly name?: string | undefined;
|
|
935
1228
|
readonly description?: string | undefined;
|
|
936
1229
|
readonly format?: string | undefined;
|
|
937
|
-
readonly required?: boolean | undefined;
|
|
938
1230
|
readonly searchable?: boolean | undefined;
|
|
939
1231
|
readonly multiple?: boolean | undefined;
|
|
940
1232
|
readonly unique?: boolean | undefined;
|
|
941
1233
|
readonly defaultValue?: any;
|
|
942
1234
|
readonly maxLength?: number | undefined;
|
|
943
1235
|
readonly minLength?: number | undefined;
|
|
944
|
-
readonly precision?: number | undefined;
|
|
945
1236
|
readonly scale?: number | undefined;
|
|
946
|
-
readonly min?: number | undefined;
|
|
947
|
-
readonly max?: number | undefined;
|
|
948
1237
|
readonly reference?: string | undefined;
|
|
949
1238
|
readonly referenceFilters?: string[] | undefined;
|
|
950
1239
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -952,7 +1241,7 @@ export declare const Field: {
|
|
|
952
1241
|
readonly expression?: string | undefined;
|
|
953
1242
|
readonly summaryOperations?: {
|
|
954
1243
|
object: string;
|
|
955
|
-
function: "
|
|
1244
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
956
1245
|
field: string;
|
|
957
1246
|
} | undefined;
|
|
958
1247
|
readonly language?: string | undefined;
|
|
@@ -973,6 +1262,18 @@ export declare const Field: {
|
|
|
973
1262
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
974
1263
|
readonly displayValue?: boolean | undefined;
|
|
975
1264
|
readonly allowScanning?: boolean | undefined;
|
|
1265
|
+
readonly currencyConfig?: {
|
|
1266
|
+
precision: number;
|
|
1267
|
+
currencyMode: "dynamic" | "fixed";
|
|
1268
|
+
defaultCurrency: string;
|
|
1269
|
+
} | undefined;
|
|
1270
|
+
readonly vectorConfig?: {
|
|
1271
|
+
dimensions: number;
|
|
1272
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1273
|
+
normalized: boolean;
|
|
1274
|
+
indexed: boolean;
|
|
1275
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1276
|
+
} | undefined;
|
|
976
1277
|
readonly hidden?: boolean | undefined;
|
|
977
1278
|
readonly readonly?: boolean | undefined;
|
|
978
1279
|
readonly encryption?: boolean | undefined;
|
|
@@ -981,28 +1282,28 @@ export declare const Field: {
|
|
|
981
1282
|
readonly type: "image";
|
|
982
1283
|
};
|
|
983
1284
|
file: (config?: FieldInput) => {
|
|
984
|
-
readonly formula?: string | undefined;
|
|
985
1285
|
readonly options?: {
|
|
986
1286
|
value: string;
|
|
987
1287
|
label: string;
|
|
988
1288
|
color?: string | undefined;
|
|
989
1289
|
default?: boolean | undefined;
|
|
990
1290
|
}[] | undefined;
|
|
1291
|
+
readonly required?: boolean | undefined;
|
|
1292
|
+
readonly min?: number | undefined;
|
|
1293
|
+
readonly max?: number | undefined;
|
|
1294
|
+
readonly formula?: string | undefined;
|
|
991
1295
|
readonly label?: string | undefined;
|
|
1296
|
+
readonly precision?: number | undefined;
|
|
992
1297
|
readonly name?: string | undefined;
|
|
993
1298
|
readonly description?: string | undefined;
|
|
994
1299
|
readonly format?: string | undefined;
|
|
995
|
-
readonly required?: boolean | undefined;
|
|
996
1300
|
readonly searchable?: boolean | undefined;
|
|
997
1301
|
readonly multiple?: boolean | undefined;
|
|
998
1302
|
readonly unique?: boolean | undefined;
|
|
999
1303
|
readonly defaultValue?: any;
|
|
1000
1304
|
readonly maxLength?: number | undefined;
|
|
1001
1305
|
readonly minLength?: number | undefined;
|
|
1002
|
-
readonly precision?: number | undefined;
|
|
1003
1306
|
readonly scale?: number | undefined;
|
|
1004
|
-
readonly min?: number | undefined;
|
|
1005
|
-
readonly max?: number | undefined;
|
|
1006
1307
|
readonly reference?: string | undefined;
|
|
1007
1308
|
readonly referenceFilters?: string[] | undefined;
|
|
1008
1309
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1010,7 +1311,7 @@ export declare const Field: {
|
|
|
1010
1311
|
readonly expression?: string | undefined;
|
|
1011
1312
|
readonly summaryOperations?: {
|
|
1012
1313
|
object: string;
|
|
1013
|
-
function: "
|
|
1314
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1014
1315
|
field: string;
|
|
1015
1316
|
} | undefined;
|
|
1016
1317
|
readonly language?: string | undefined;
|
|
@@ -1031,6 +1332,18 @@ export declare const Field: {
|
|
|
1031
1332
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1032
1333
|
readonly displayValue?: boolean | undefined;
|
|
1033
1334
|
readonly allowScanning?: boolean | undefined;
|
|
1335
|
+
readonly currencyConfig?: {
|
|
1336
|
+
precision: number;
|
|
1337
|
+
currencyMode: "dynamic" | "fixed";
|
|
1338
|
+
defaultCurrency: string;
|
|
1339
|
+
} | undefined;
|
|
1340
|
+
readonly vectorConfig?: {
|
|
1341
|
+
dimensions: number;
|
|
1342
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1343
|
+
normalized: boolean;
|
|
1344
|
+
indexed: boolean;
|
|
1345
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1346
|
+
} | undefined;
|
|
1034
1347
|
readonly hidden?: boolean | undefined;
|
|
1035
1348
|
readonly readonly?: boolean | undefined;
|
|
1036
1349
|
readonly encryption?: boolean | undefined;
|
|
@@ -1039,28 +1352,28 @@ export declare const Field: {
|
|
|
1039
1352
|
readonly type: "file";
|
|
1040
1353
|
};
|
|
1041
1354
|
avatar: (config?: FieldInput) => {
|
|
1042
|
-
readonly formula?: string | undefined;
|
|
1043
1355
|
readonly options?: {
|
|
1044
1356
|
value: string;
|
|
1045
1357
|
label: string;
|
|
1046
1358
|
color?: string | undefined;
|
|
1047
1359
|
default?: boolean | undefined;
|
|
1048
1360
|
}[] | undefined;
|
|
1361
|
+
readonly required?: boolean | undefined;
|
|
1362
|
+
readonly min?: number | undefined;
|
|
1363
|
+
readonly max?: number | undefined;
|
|
1364
|
+
readonly formula?: string | undefined;
|
|
1049
1365
|
readonly label?: string | undefined;
|
|
1366
|
+
readonly precision?: number | undefined;
|
|
1050
1367
|
readonly name?: string | undefined;
|
|
1051
1368
|
readonly description?: string | undefined;
|
|
1052
1369
|
readonly format?: string | undefined;
|
|
1053
|
-
readonly required?: boolean | undefined;
|
|
1054
1370
|
readonly searchable?: boolean | undefined;
|
|
1055
1371
|
readonly multiple?: boolean | undefined;
|
|
1056
1372
|
readonly unique?: boolean | undefined;
|
|
1057
1373
|
readonly defaultValue?: any;
|
|
1058
1374
|
readonly maxLength?: number | undefined;
|
|
1059
1375
|
readonly minLength?: number | undefined;
|
|
1060
|
-
readonly precision?: number | undefined;
|
|
1061
1376
|
readonly scale?: number | undefined;
|
|
1062
|
-
readonly min?: number | undefined;
|
|
1063
|
-
readonly max?: number | undefined;
|
|
1064
1377
|
readonly reference?: string | undefined;
|
|
1065
1378
|
readonly referenceFilters?: string[] | undefined;
|
|
1066
1379
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1068,7 +1381,7 @@ export declare const Field: {
|
|
|
1068
1381
|
readonly expression?: string | undefined;
|
|
1069
1382
|
readonly summaryOperations?: {
|
|
1070
1383
|
object: string;
|
|
1071
|
-
function: "
|
|
1384
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1072
1385
|
field: string;
|
|
1073
1386
|
} | undefined;
|
|
1074
1387
|
readonly language?: string | undefined;
|
|
@@ -1089,6 +1402,18 @@ export declare const Field: {
|
|
|
1089
1402
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1090
1403
|
readonly displayValue?: boolean | undefined;
|
|
1091
1404
|
readonly allowScanning?: boolean | undefined;
|
|
1405
|
+
readonly currencyConfig?: {
|
|
1406
|
+
precision: number;
|
|
1407
|
+
currencyMode: "dynamic" | "fixed";
|
|
1408
|
+
defaultCurrency: string;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
readonly vectorConfig?: {
|
|
1411
|
+
dimensions: number;
|
|
1412
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1413
|
+
normalized: boolean;
|
|
1414
|
+
indexed: boolean;
|
|
1415
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1416
|
+
} | undefined;
|
|
1092
1417
|
readonly hidden?: boolean | undefined;
|
|
1093
1418
|
readonly readonly?: boolean | undefined;
|
|
1094
1419
|
readonly encryption?: boolean | undefined;
|
|
@@ -1097,28 +1422,28 @@ export declare const Field: {
|
|
|
1097
1422
|
readonly type: "avatar";
|
|
1098
1423
|
};
|
|
1099
1424
|
formula: (config?: FieldInput) => {
|
|
1100
|
-
readonly formula?: string | undefined;
|
|
1101
1425
|
readonly options?: {
|
|
1102
1426
|
value: string;
|
|
1103
1427
|
label: string;
|
|
1104
1428
|
color?: string | undefined;
|
|
1105
1429
|
default?: boolean | undefined;
|
|
1106
1430
|
}[] | undefined;
|
|
1431
|
+
readonly required?: boolean | undefined;
|
|
1432
|
+
readonly min?: number | undefined;
|
|
1433
|
+
readonly max?: number | undefined;
|
|
1434
|
+
readonly formula?: string | undefined;
|
|
1107
1435
|
readonly label?: string | undefined;
|
|
1436
|
+
readonly precision?: number | undefined;
|
|
1108
1437
|
readonly name?: string | undefined;
|
|
1109
1438
|
readonly description?: string | undefined;
|
|
1110
1439
|
readonly format?: string | undefined;
|
|
1111
|
-
readonly required?: boolean | undefined;
|
|
1112
1440
|
readonly searchable?: boolean | undefined;
|
|
1113
1441
|
readonly multiple?: boolean | undefined;
|
|
1114
1442
|
readonly unique?: boolean | undefined;
|
|
1115
1443
|
readonly defaultValue?: any;
|
|
1116
1444
|
readonly maxLength?: number | undefined;
|
|
1117
1445
|
readonly minLength?: number | undefined;
|
|
1118
|
-
readonly precision?: number | undefined;
|
|
1119
1446
|
readonly scale?: number | undefined;
|
|
1120
|
-
readonly min?: number | undefined;
|
|
1121
|
-
readonly max?: number | undefined;
|
|
1122
1447
|
readonly reference?: string | undefined;
|
|
1123
1448
|
readonly referenceFilters?: string[] | undefined;
|
|
1124
1449
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1126,7 +1451,7 @@ export declare const Field: {
|
|
|
1126
1451
|
readonly expression?: string | undefined;
|
|
1127
1452
|
readonly summaryOperations?: {
|
|
1128
1453
|
object: string;
|
|
1129
|
-
function: "
|
|
1454
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1130
1455
|
field: string;
|
|
1131
1456
|
} | undefined;
|
|
1132
1457
|
readonly language?: string | undefined;
|
|
@@ -1147,6 +1472,18 @@ export declare const Field: {
|
|
|
1147
1472
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1148
1473
|
readonly displayValue?: boolean | undefined;
|
|
1149
1474
|
readonly allowScanning?: boolean | undefined;
|
|
1475
|
+
readonly currencyConfig?: {
|
|
1476
|
+
precision: number;
|
|
1477
|
+
currencyMode: "dynamic" | "fixed";
|
|
1478
|
+
defaultCurrency: string;
|
|
1479
|
+
} | undefined;
|
|
1480
|
+
readonly vectorConfig?: {
|
|
1481
|
+
dimensions: number;
|
|
1482
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1483
|
+
normalized: boolean;
|
|
1484
|
+
indexed: boolean;
|
|
1485
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1486
|
+
} | undefined;
|
|
1150
1487
|
readonly hidden?: boolean | undefined;
|
|
1151
1488
|
readonly readonly?: boolean | undefined;
|
|
1152
1489
|
readonly encryption?: boolean | undefined;
|
|
@@ -1155,28 +1492,28 @@ export declare const Field: {
|
|
|
1155
1492
|
readonly type: "formula";
|
|
1156
1493
|
};
|
|
1157
1494
|
summary: (config?: FieldInput) => {
|
|
1158
|
-
readonly formula?: string | undefined;
|
|
1159
1495
|
readonly options?: {
|
|
1160
1496
|
value: string;
|
|
1161
1497
|
label: string;
|
|
1162
1498
|
color?: string | undefined;
|
|
1163
1499
|
default?: boolean | undefined;
|
|
1164
1500
|
}[] | undefined;
|
|
1501
|
+
readonly required?: boolean | undefined;
|
|
1502
|
+
readonly min?: number | undefined;
|
|
1503
|
+
readonly max?: number | undefined;
|
|
1504
|
+
readonly formula?: string | undefined;
|
|
1165
1505
|
readonly label?: string | undefined;
|
|
1506
|
+
readonly precision?: number | undefined;
|
|
1166
1507
|
readonly name?: string | undefined;
|
|
1167
1508
|
readonly description?: string | undefined;
|
|
1168
1509
|
readonly format?: string | undefined;
|
|
1169
|
-
readonly required?: boolean | undefined;
|
|
1170
1510
|
readonly searchable?: boolean | undefined;
|
|
1171
1511
|
readonly multiple?: boolean | undefined;
|
|
1172
1512
|
readonly unique?: boolean | undefined;
|
|
1173
1513
|
readonly defaultValue?: any;
|
|
1174
1514
|
readonly maxLength?: number | undefined;
|
|
1175
1515
|
readonly minLength?: number | undefined;
|
|
1176
|
-
readonly precision?: number | undefined;
|
|
1177
1516
|
readonly scale?: number | undefined;
|
|
1178
|
-
readonly min?: number | undefined;
|
|
1179
|
-
readonly max?: number | undefined;
|
|
1180
1517
|
readonly reference?: string | undefined;
|
|
1181
1518
|
readonly referenceFilters?: string[] | undefined;
|
|
1182
1519
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1184,7 +1521,7 @@ export declare const Field: {
|
|
|
1184
1521
|
readonly expression?: string | undefined;
|
|
1185
1522
|
readonly summaryOperations?: {
|
|
1186
1523
|
object: string;
|
|
1187
|
-
function: "
|
|
1524
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1188
1525
|
field: string;
|
|
1189
1526
|
} | undefined;
|
|
1190
1527
|
readonly language?: string | undefined;
|
|
@@ -1205,6 +1542,18 @@ export declare const Field: {
|
|
|
1205
1542
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1206
1543
|
readonly displayValue?: boolean | undefined;
|
|
1207
1544
|
readonly allowScanning?: boolean | undefined;
|
|
1545
|
+
readonly currencyConfig?: {
|
|
1546
|
+
precision: number;
|
|
1547
|
+
currencyMode: "dynamic" | "fixed";
|
|
1548
|
+
defaultCurrency: string;
|
|
1549
|
+
} | undefined;
|
|
1550
|
+
readonly vectorConfig?: {
|
|
1551
|
+
dimensions: number;
|
|
1552
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1553
|
+
normalized: boolean;
|
|
1554
|
+
indexed: boolean;
|
|
1555
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1556
|
+
} | undefined;
|
|
1208
1557
|
readonly hidden?: boolean | undefined;
|
|
1209
1558
|
readonly readonly?: boolean | undefined;
|
|
1210
1559
|
readonly encryption?: boolean | undefined;
|
|
@@ -1213,28 +1562,28 @@ export declare const Field: {
|
|
|
1213
1562
|
readonly type: "summary";
|
|
1214
1563
|
};
|
|
1215
1564
|
autonumber: (config?: FieldInput) => {
|
|
1216
|
-
readonly formula?: string | undefined;
|
|
1217
1565
|
readonly options?: {
|
|
1218
1566
|
value: string;
|
|
1219
1567
|
label: string;
|
|
1220
1568
|
color?: string | undefined;
|
|
1221
1569
|
default?: boolean | undefined;
|
|
1222
1570
|
}[] | undefined;
|
|
1571
|
+
readonly required?: boolean | undefined;
|
|
1572
|
+
readonly min?: number | undefined;
|
|
1573
|
+
readonly max?: number | undefined;
|
|
1574
|
+
readonly formula?: string | undefined;
|
|
1223
1575
|
readonly label?: string | undefined;
|
|
1576
|
+
readonly precision?: number | undefined;
|
|
1224
1577
|
readonly name?: string | undefined;
|
|
1225
1578
|
readonly description?: string | undefined;
|
|
1226
1579
|
readonly format?: string | undefined;
|
|
1227
|
-
readonly required?: boolean | undefined;
|
|
1228
1580
|
readonly searchable?: boolean | undefined;
|
|
1229
1581
|
readonly multiple?: boolean | undefined;
|
|
1230
1582
|
readonly unique?: boolean | undefined;
|
|
1231
1583
|
readonly defaultValue?: any;
|
|
1232
1584
|
readonly maxLength?: number | undefined;
|
|
1233
1585
|
readonly minLength?: number | undefined;
|
|
1234
|
-
readonly precision?: number | undefined;
|
|
1235
1586
|
readonly scale?: number | undefined;
|
|
1236
|
-
readonly min?: number | undefined;
|
|
1237
|
-
readonly max?: number | undefined;
|
|
1238
1587
|
readonly reference?: string | undefined;
|
|
1239
1588
|
readonly referenceFilters?: string[] | undefined;
|
|
1240
1589
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1242,7 +1591,7 @@ export declare const Field: {
|
|
|
1242
1591
|
readonly expression?: string | undefined;
|
|
1243
1592
|
readonly summaryOperations?: {
|
|
1244
1593
|
object: string;
|
|
1245
|
-
function: "
|
|
1594
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1246
1595
|
field: string;
|
|
1247
1596
|
} | undefined;
|
|
1248
1597
|
readonly language?: string | undefined;
|
|
@@ -1263,6 +1612,18 @@ export declare const Field: {
|
|
|
1263
1612
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1264
1613
|
readonly displayValue?: boolean | undefined;
|
|
1265
1614
|
readonly allowScanning?: boolean | undefined;
|
|
1615
|
+
readonly currencyConfig?: {
|
|
1616
|
+
precision: number;
|
|
1617
|
+
currencyMode: "dynamic" | "fixed";
|
|
1618
|
+
defaultCurrency: string;
|
|
1619
|
+
} | undefined;
|
|
1620
|
+
readonly vectorConfig?: {
|
|
1621
|
+
dimensions: number;
|
|
1622
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1623
|
+
normalized: boolean;
|
|
1624
|
+
indexed: boolean;
|
|
1625
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1626
|
+
} | undefined;
|
|
1266
1627
|
readonly hidden?: boolean | undefined;
|
|
1267
1628
|
readonly readonly?: boolean | undefined;
|
|
1268
1629
|
readonly encryption?: boolean | undefined;
|
|
@@ -1271,28 +1632,28 @@ export declare const Field: {
|
|
|
1271
1632
|
readonly type: "autonumber";
|
|
1272
1633
|
};
|
|
1273
1634
|
markdown: (config?: FieldInput) => {
|
|
1274
|
-
readonly formula?: string | undefined;
|
|
1275
1635
|
readonly options?: {
|
|
1276
1636
|
value: string;
|
|
1277
1637
|
label: string;
|
|
1278
1638
|
color?: string | undefined;
|
|
1279
1639
|
default?: boolean | undefined;
|
|
1280
1640
|
}[] | undefined;
|
|
1641
|
+
readonly required?: boolean | undefined;
|
|
1642
|
+
readonly min?: number | undefined;
|
|
1643
|
+
readonly max?: number | undefined;
|
|
1644
|
+
readonly formula?: string | undefined;
|
|
1281
1645
|
readonly label?: string | undefined;
|
|
1646
|
+
readonly precision?: number | undefined;
|
|
1282
1647
|
readonly name?: string | undefined;
|
|
1283
1648
|
readonly description?: string | undefined;
|
|
1284
1649
|
readonly format?: string | undefined;
|
|
1285
|
-
readonly required?: boolean | undefined;
|
|
1286
1650
|
readonly searchable?: boolean | undefined;
|
|
1287
1651
|
readonly multiple?: boolean | undefined;
|
|
1288
1652
|
readonly unique?: boolean | undefined;
|
|
1289
1653
|
readonly defaultValue?: any;
|
|
1290
1654
|
readonly maxLength?: number | undefined;
|
|
1291
1655
|
readonly minLength?: number | undefined;
|
|
1292
|
-
readonly precision?: number | undefined;
|
|
1293
1656
|
readonly scale?: number | undefined;
|
|
1294
|
-
readonly min?: number | undefined;
|
|
1295
|
-
readonly max?: number | undefined;
|
|
1296
1657
|
readonly reference?: string | undefined;
|
|
1297
1658
|
readonly referenceFilters?: string[] | undefined;
|
|
1298
1659
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1300,7 +1661,7 @@ export declare const Field: {
|
|
|
1300
1661
|
readonly expression?: string | undefined;
|
|
1301
1662
|
readonly summaryOperations?: {
|
|
1302
1663
|
object: string;
|
|
1303
|
-
function: "
|
|
1664
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1304
1665
|
field: string;
|
|
1305
1666
|
} | undefined;
|
|
1306
1667
|
readonly language?: string | undefined;
|
|
@@ -1321,6 +1682,18 @@ export declare const Field: {
|
|
|
1321
1682
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1322
1683
|
readonly displayValue?: boolean | undefined;
|
|
1323
1684
|
readonly allowScanning?: boolean | undefined;
|
|
1685
|
+
readonly currencyConfig?: {
|
|
1686
|
+
precision: number;
|
|
1687
|
+
currencyMode: "dynamic" | "fixed";
|
|
1688
|
+
defaultCurrency: string;
|
|
1689
|
+
} | undefined;
|
|
1690
|
+
readonly vectorConfig?: {
|
|
1691
|
+
dimensions: number;
|
|
1692
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1693
|
+
normalized: boolean;
|
|
1694
|
+
indexed: boolean;
|
|
1695
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1696
|
+
} | undefined;
|
|
1324
1697
|
readonly hidden?: boolean | undefined;
|
|
1325
1698
|
readonly readonly?: boolean | undefined;
|
|
1326
1699
|
readonly encryption?: boolean | undefined;
|
|
@@ -1329,28 +1702,28 @@ export declare const Field: {
|
|
|
1329
1702
|
readonly type: "markdown";
|
|
1330
1703
|
};
|
|
1331
1704
|
html: (config?: FieldInput) => {
|
|
1332
|
-
readonly formula?: string | undefined;
|
|
1333
1705
|
readonly options?: {
|
|
1334
1706
|
value: string;
|
|
1335
1707
|
label: string;
|
|
1336
1708
|
color?: string | undefined;
|
|
1337
1709
|
default?: boolean | undefined;
|
|
1338
1710
|
}[] | undefined;
|
|
1711
|
+
readonly required?: boolean | undefined;
|
|
1712
|
+
readonly min?: number | undefined;
|
|
1713
|
+
readonly max?: number | undefined;
|
|
1714
|
+
readonly formula?: string | undefined;
|
|
1339
1715
|
readonly label?: string | undefined;
|
|
1716
|
+
readonly precision?: number | undefined;
|
|
1340
1717
|
readonly name?: string | undefined;
|
|
1341
1718
|
readonly description?: string | undefined;
|
|
1342
1719
|
readonly format?: string | undefined;
|
|
1343
|
-
readonly required?: boolean | undefined;
|
|
1344
1720
|
readonly searchable?: boolean | undefined;
|
|
1345
1721
|
readonly multiple?: boolean | undefined;
|
|
1346
1722
|
readonly unique?: boolean | undefined;
|
|
1347
1723
|
readonly defaultValue?: any;
|
|
1348
1724
|
readonly maxLength?: number | undefined;
|
|
1349
1725
|
readonly minLength?: number | undefined;
|
|
1350
|
-
readonly precision?: number | undefined;
|
|
1351
1726
|
readonly scale?: number | undefined;
|
|
1352
|
-
readonly min?: number | undefined;
|
|
1353
|
-
readonly max?: number | undefined;
|
|
1354
1727
|
readonly reference?: string | undefined;
|
|
1355
1728
|
readonly referenceFilters?: string[] | undefined;
|
|
1356
1729
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1358,7 +1731,7 @@ export declare const Field: {
|
|
|
1358
1731
|
readonly expression?: string | undefined;
|
|
1359
1732
|
readonly summaryOperations?: {
|
|
1360
1733
|
object: string;
|
|
1361
|
-
function: "
|
|
1734
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1362
1735
|
field: string;
|
|
1363
1736
|
} | undefined;
|
|
1364
1737
|
readonly language?: string | undefined;
|
|
@@ -1379,6 +1752,18 @@ export declare const Field: {
|
|
|
1379
1752
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1380
1753
|
readonly displayValue?: boolean | undefined;
|
|
1381
1754
|
readonly allowScanning?: boolean | undefined;
|
|
1755
|
+
readonly currencyConfig?: {
|
|
1756
|
+
precision: number;
|
|
1757
|
+
currencyMode: "dynamic" | "fixed";
|
|
1758
|
+
defaultCurrency: string;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
readonly vectorConfig?: {
|
|
1761
|
+
dimensions: number;
|
|
1762
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1763
|
+
normalized: boolean;
|
|
1764
|
+
indexed: boolean;
|
|
1765
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1766
|
+
} | undefined;
|
|
1382
1767
|
readonly hidden?: boolean | undefined;
|
|
1383
1768
|
readonly readonly?: boolean | undefined;
|
|
1384
1769
|
readonly encryption?: boolean | undefined;
|
|
@@ -1387,28 +1772,28 @@ export declare const Field: {
|
|
|
1387
1772
|
readonly type: "html";
|
|
1388
1773
|
};
|
|
1389
1774
|
password: (config?: FieldInput) => {
|
|
1390
|
-
readonly formula?: string | undefined;
|
|
1391
1775
|
readonly options?: {
|
|
1392
1776
|
value: string;
|
|
1393
1777
|
label: string;
|
|
1394
1778
|
color?: string | undefined;
|
|
1395
1779
|
default?: boolean | undefined;
|
|
1396
1780
|
}[] | undefined;
|
|
1781
|
+
readonly required?: boolean | undefined;
|
|
1782
|
+
readonly min?: number | undefined;
|
|
1783
|
+
readonly max?: number | undefined;
|
|
1784
|
+
readonly formula?: string | undefined;
|
|
1397
1785
|
readonly label?: string | undefined;
|
|
1786
|
+
readonly precision?: number | undefined;
|
|
1398
1787
|
readonly name?: string | undefined;
|
|
1399
1788
|
readonly description?: string | undefined;
|
|
1400
1789
|
readonly format?: string | undefined;
|
|
1401
|
-
readonly required?: boolean | undefined;
|
|
1402
1790
|
readonly searchable?: boolean | undefined;
|
|
1403
1791
|
readonly multiple?: boolean | undefined;
|
|
1404
1792
|
readonly unique?: boolean | undefined;
|
|
1405
1793
|
readonly defaultValue?: any;
|
|
1406
1794
|
readonly maxLength?: number | undefined;
|
|
1407
1795
|
readonly minLength?: number | undefined;
|
|
1408
|
-
readonly precision?: number | undefined;
|
|
1409
1796
|
readonly scale?: number | undefined;
|
|
1410
|
-
readonly min?: number | undefined;
|
|
1411
|
-
readonly max?: number | undefined;
|
|
1412
1797
|
readonly reference?: string | undefined;
|
|
1413
1798
|
readonly referenceFilters?: string[] | undefined;
|
|
1414
1799
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1416,7 +1801,7 @@ export declare const Field: {
|
|
|
1416
1801
|
readonly expression?: string | undefined;
|
|
1417
1802
|
readonly summaryOperations?: {
|
|
1418
1803
|
object: string;
|
|
1419
|
-
function: "
|
|
1804
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1420
1805
|
field: string;
|
|
1421
1806
|
} | undefined;
|
|
1422
1807
|
readonly language?: string | undefined;
|
|
@@ -1437,6 +1822,18 @@ export declare const Field: {
|
|
|
1437
1822
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1438
1823
|
readonly displayValue?: boolean | undefined;
|
|
1439
1824
|
readonly allowScanning?: boolean | undefined;
|
|
1825
|
+
readonly currencyConfig?: {
|
|
1826
|
+
precision: number;
|
|
1827
|
+
currencyMode: "dynamic" | "fixed";
|
|
1828
|
+
defaultCurrency: string;
|
|
1829
|
+
} | undefined;
|
|
1830
|
+
readonly vectorConfig?: {
|
|
1831
|
+
dimensions: number;
|
|
1832
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1833
|
+
normalized: boolean;
|
|
1834
|
+
indexed: boolean;
|
|
1835
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1836
|
+
} | undefined;
|
|
1440
1837
|
readonly hidden?: boolean | undefined;
|
|
1441
1838
|
readonly readonly?: boolean | undefined;
|
|
1442
1839
|
readonly encryption?: boolean | undefined;
|
|
@@ -1447,37 +1844,44 @@ export declare const Field: {
|
|
|
1447
1844
|
/**
|
|
1448
1845
|
* Select field helper with backward-compatible API
|
|
1449
1846
|
*
|
|
1450
|
-
*
|
|
1847
|
+
* Automatically converts option values to lowercase to enforce naming conventions.
|
|
1848
|
+
*
|
|
1849
|
+
* @example Old API (array first) - auto-converts to lowercase
|
|
1451
1850
|
* Field.select(['High', 'Low'], { label: 'Priority' })
|
|
1851
|
+
* // Results in: [{ label: 'High', value: 'high' }, { label: 'Low', value: 'low' }]
|
|
1452
1852
|
*
|
|
1453
|
-
* @example New API (config object)
|
|
1853
|
+
* @example New API (config object) - enforces lowercase
|
|
1454
1854
|
* Field.select({ options: [{label: 'High', value: 'high'}], label: 'Priority' })
|
|
1855
|
+
*
|
|
1856
|
+
* @example Multi-word values - converts to snake_case
|
|
1857
|
+
* Field.select(['In Progress', 'Closed Won'], { label: 'Status' })
|
|
1858
|
+
* // Results in: [{ label: 'In Progress', value: 'in_progress' }, { label: 'Closed Won', value: 'closed_won' }]
|
|
1455
1859
|
*/
|
|
1456
1860
|
select: (optionsOrConfig: SelectOption[] | string[] | (FieldInput & {
|
|
1457
1861
|
options: SelectOption[] | string[];
|
|
1458
1862
|
}), config?: FieldInput) => {
|
|
1459
|
-
readonly formula?: string | undefined;
|
|
1460
1863
|
options: {
|
|
1461
1864
|
value: string;
|
|
1462
1865
|
label: string;
|
|
1463
1866
|
color?: string | undefined;
|
|
1464
1867
|
default?: boolean | undefined;
|
|
1465
1868
|
}[];
|
|
1869
|
+
readonly required?: boolean | undefined;
|
|
1870
|
+
readonly min?: number | undefined;
|
|
1871
|
+
readonly max?: number | undefined;
|
|
1872
|
+
readonly formula?: string | undefined;
|
|
1466
1873
|
readonly label?: string | undefined;
|
|
1874
|
+
readonly precision?: number | undefined;
|
|
1467
1875
|
readonly name?: string | undefined;
|
|
1468
1876
|
readonly description?: string | undefined;
|
|
1469
1877
|
readonly format?: string | undefined;
|
|
1470
|
-
readonly required?: boolean | undefined;
|
|
1471
1878
|
readonly searchable?: boolean | undefined;
|
|
1472
1879
|
readonly multiple?: boolean | undefined;
|
|
1473
1880
|
readonly unique?: boolean | undefined;
|
|
1474
1881
|
readonly defaultValue?: any;
|
|
1475
1882
|
readonly maxLength?: number | undefined;
|
|
1476
1883
|
readonly minLength?: number | undefined;
|
|
1477
|
-
readonly precision?: number | undefined;
|
|
1478
1884
|
readonly scale?: number | undefined;
|
|
1479
|
-
readonly min?: number | undefined;
|
|
1480
|
-
readonly max?: number | undefined;
|
|
1481
1885
|
readonly reference?: string | undefined;
|
|
1482
1886
|
readonly referenceFilters?: string[] | undefined;
|
|
1483
1887
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1485,7 +1889,7 @@ export declare const Field: {
|
|
|
1485
1889
|
readonly expression?: string | undefined;
|
|
1486
1890
|
readonly summaryOperations?: {
|
|
1487
1891
|
object: string;
|
|
1488
|
-
function: "
|
|
1892
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1489
1893
|
field: string;
|
|
1490
1894
|
} | undefined;
|
|
1491
1895
|
readonly language?: string | undefined;
|
|
@@ -1506,6 +1910,18 @@ export declare const Field: {
|
|
|
1506
1910
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1507
1911
|
readonly displayValue?: boolean | undefined;
|
|
1508
1912
|
readonly allowScanning?: boolean | undefined;
|
|
1913
|
+
readonly currencyConfig?: {
|
|
1914
|
+
precision: number;
|
|
1915
|
+
currencyMode: "dynamic" | "fixed";
|
|
1916
|
+
defaultCurrency: string;
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
readonly vectorConfig?: {
|
|
1919
|
+
dimensions: number;
|
|
1920
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1921
|
+
normalized: boolean;
|
|
1922
|
+
indexed: boolean;
|
|
1923
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1924
|
+
} | undefined;
|
|
1509
1925
|
readonly hidden?: boolean | undefined;
|
|
1510
1926
|
readonly readonly?: boolean | undefined;
|
|
1511
1927
|
readonly encryption?: boolean | undefined;
|
|
@@ -1514,28 +1930,28 @@ export declare const Field: {
|
|
|
1514
1930
|
readonly type: "select";
|
|
1515
1931
|
};
|
|
1516
1932
|
lookup: (reference: string, config?: FieldInput) => {
|
|
1517
|
-
readonly formula?: string | undefined;
|
|
1518
1933
|
readonly options?: {
|
|
1519
1934
|
value: string;
|
|
1520
1935
|
label: string;
|
|
1521
1936
|
color?: string | undefined;
|
|
1522
1937
|
default?: boolean | undefined;
|
|
1523
1938
|
}[] | undefined;
|
|
1939
|
+
readonly required?: boolean | undefined;
|
|
1940
|
+
readonly min?: number | undefined;
|
|
1941
|
+
readonly max?: number | undefined;
|
|
1942
|
+
readonly formula?: string | undefined;
|
|
1524
1943
|
readonly label?: string | undefined;
|
|
1944
|
+
readonly precision?: number | undefined;
|
|
1525
1945
|
readonly name?: string | undefined;
|
|
1526
1946
|
readonly description?: string | undefined;
|
|
1527
1947
|
readonly format?: string | undefined;
|
|
1528
|
-
readonly required?: boolean | undefined;
|
|
1529
1948
|
readonly searchable?: boolean | undefined;
|
|
1530
1949
|
readonly multiple?: boolean | undefined;
|
|
1531
1950
|
readonly unique?: boolean | undefined;
|
|
1532
1951
|
readonly defaultValue?: any;
|
|
1533
1952
|
readonly maxLength?: number | undefined;
|
|
1534
1953
|
readonly minLength?: number | undefined;
|
|
1535
|
-
readonly precision?: number | undefined;
|
|
1536
1954
|
readonly scale?: number | undefined;
|
|
1537
|
-
readonly min?: number | undefined;
|
|
1538
|
-
readonly max?: number | undefined;
|
|
1539
1955
|
reference: string;
|
|
1540
1956
|
readonly referenceFilters?: string[] | undefined;
|
|
1541
1957
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1543,7 +1959,7 @@ export declare const Field: {
|
|
|
1543
1959
|
readonly expression?: string | undefined;
|
|
1544
1960
|
readonly summaryOperations?: {
|
|
1545
1961
|
object: string;
|
|
1546
|
-
function: "
|
|
1962
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1547
1963
|
field: string;
|
|
1548
1964
|
} | undefined;
|
|
1549
1965
|
readonly language?: string | undefined;
|
|
@@ -1564,6 +1980,18 @@ export declare const Field: {
|
|
|
1564
1980
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1565
1981
|
readonly displayValue?: boolean | undefined;
|
|
1566
1982
|
readonly allowScanning?: boolean | undefined;
|
|
1983
|
+
readonly currencyConfig?: {
|
|
1984
|
+
precision: number;
|
|
1985
|
+
currencyMode: "dynamic" | "fixed";
|
|
1986
|
+
defaultCurrency: string;
|
|
1987
|
+
} | undefined;
|
|
1988
|
+
readonly vectorConfig?: {
|
|
1989
|
+
dimensions: number;
|
|
1990
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1991
|
+
normalized: boolean;
|
|
1992
|
+
indexed: boolean;
|
|
1993
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
1994
|
+
} | undefined;
|
|
1567
1995
|
readonly hidden?: boolean | undefined;
|
|
1568
1996
|
readonly readonly?: boolean | undefined;
|
|
1569
1997
|
readonly encryption?: boolean | undefined;
|
|
@@ -1572,28 +2000,28 @@ export declare const Field: {
|
|
|
1572
2000
|
readonly type: "lookup";
|
|
1573
2001
|
};
|
|
1574
2002
|
masterDetail: (reference: string, config?: FieldInput) => {
|
|
1575
|
-
readonly formula?: string | undefined;
|
|
1576
2003
|
readonly options?: {
|
|
1577
2004
|
value: string;
|
|
1578
2005
|
label: string;
|
|
1579
2006
|
color?: string | undefined;
|
|
1580
2007
|
default?: boolean | undefined;
|
|
1581
2008
|
}[] | undefined;
|
|
2009
|
+
readonly required?: boolean | undefined;
|
|
2010
|
+
readonly min?: number | undefined;
|
|
2011
|
+
readonly max?: number | undefined;
|
|
2012
|
+
readonly formula?: string | undefined;
|
|
1582
2013
|
readonly label?: string | undefined;
|
|
2014
|
+
readonly precision?: number | undefined;
|
|
1583
2015
|
readonly name?: string | undefined;
|
|
1584
2016
|
readonly description?: string | undefined;
|
|
1585
2017
|
readonly format?: string | undefined;
|
|
1586
|
-
readonly required?: boolean | undefined;
|
|
1587
2018
|
readonly searchable?: boolean | undefined;
|
|
1588
2019
|
readonly multiple?: boolean | undefined;
|
|
1589
2020
|
readonly unique?: boolean | undefined;
|
|
1590
2021
|
readonly defaultValue?: any;
|
|
1591
2022
|
readonly maxLength?: number | undefined;
|
|
1592
2023
|
readonly minLength?: number | undefined;
|
|
1593
|
-
readonly precision?: number | undefined;
|
|
1594
2024
|
readonly scale?: number | undefined;
|
|
1595
|
-
readonly min?: number | undefined;
|
|
1596
|
-
readonly max?: number | undefined;
|
|
1597
2025
|
reference: string;
|
|
1598
2026
|
readonly referenceFilters?: string[] | undefined;
|
|
1599
2027
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1601,7 +2029,7 @@ export declare const Field: {
|
|
|
1601
2029
|
readonly expression?: string | undefined;
|
|
1602
2030
|
readonly summaryOperations?: {
|
|
1603
2031
|
object: string;
|
|
1604
|
-
function: "
|
|
2032
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1605
2033
|
field: string;
|
|
1606
2034
|
} | undefined;
|
|
1607
2035
|
readonly language?: string | undefined;
|
|
@@ -1622,6 +2050,18 @@ export declare const Field: {
|
|
|
1622
2050
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1623
2051
|
readonly displayValue?: boolean | undefined;
|
|
1624
2052
|
readonly allowScanning?: boolean | undefined;
|
|
2053
|
+
readonly currencyConfig?: {
|
|
2054
|
+
precision: number;
|
|
2055
|
+
currencyMode: "dynamic" | "fixed";
|
|
2056
|
+
defaultCurrency: string;
|
|
2057
|
+
} | undefined;
|
|
2058
|
+
readonly vectorConfig?: {
|
|
2059
|
+
dimensions: number;
|
|
2060
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2061
|
+
normalized: boolean;
|
|
2062
|
+
indexed: boolean;
|
|
2063
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2064
|
+
} | undefined;
|
|
1625
2065
|
readonly hidden?: boolean | undefined;
|
|
1626
2066
|
readonly readonly?: boolean | undefined;
|
|
1627
2067
|
readonly encryption?: boolean | undefined;
|
|
@@ -1630,28 +2070,28 @@ export declare const Field: {
|
|
|
1630
2070
|
readonly type: "master_detail";
|
|
1631
2071
|
};
|
|
1632
2072
|
location: (config?: FieldInput) => {
|
|
1633
|
-
readonly formula?: string | undefined;
|
|
1634
2073
|
readonly options?: {
|
|
1635
2074
|
value: string;
|
|
1636
2075
|
label: string;
|
|
1637
2076
|
color?: string | undefined;
|
|
1638
2077
|
default?: boolean | undefined;
|
|
1639
2078
|
}[] | undefined;
|
|
2079
|
+
readonly required?: boolean | undefined;
|
|
2080
|
+
readonly min?: number | undefined;
|
|
2081
|
+
readonly max?: number | undefined;
|
|
2082
|
+
readonly formula?: string | undefined;
|
|
1640
2083
|
readonly label?: string | undefined;
|
|
2084
|
+
readonly precision?: number | undefined;
|
|
1641
2085
|
readonly name?: string | undefined;
|
|
1642
2086
|
readonly description?: string | undefined;
|
|
1643
2087
|
readonly format?: string | undefined;
|
|
1644
|
-
readonly required?: boolean | undefined;
|
|
1645
2088
|
readonly searchable?: boolean | undefined;
|
|
1646
2089
|
readonly multiple?: boolean | undefined;
|
|
1647
2090
|
readonly unique?: boolean | undefined;
|
|
1648
2091
|
readonly defaultValue?: any;
|
|
1649
2092
|
readonly maxLength?: number | undefined;
|
|
1650
2093
|
readonly minLength?: number | undefined;
|
|
1651
|
-
readonly precision?: number | undefined;
|
|
1652
2094
|
readonly scale?: number | undefined;
|
|
1653
|
-
readonly min?: number | undefined;
|
|
1654
|
-
readonly max?: number | undefined;
|
|
1655
2095
|
readonly reference?: string | undefined;
|
|
1656
2096
|
readonly referenceFilters?: string[] | undefined;
|
|
1657
2097
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1659,7 +2099,7 @@ export declare const Field: {
|
|
|
1659
2099
|
readonly expression?: string | undefined;
|
|
1660
2100
|
readonly summaryOperations?: {
|
|
1661
2101
|
object: string;
|
|
1662
|
-
function: "
|
|
2102
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1663
2103
|
field: string;
|
|
1664
2104
|
} | undefined;
|
|
1665
2105
|
readonly language?: string | undefined;
|
|
@@ -1680,6 +2120,18 @@ export declare const Field: {
|
|
|
1680
2120
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1681
2121
|
readonly displayValue?: boolean | undefined;
|
|
1682
2122
|
readonly allowScanning?: boolean | undefined;
|
|
2123
|
+
readonly currencyConfig?: {
|
|
2124
|
+
precision: number;
|
|
2125
|
+
currencyMode: "dynamic" | "fixed";
|
|
2126
|
+
defaultCurrency: string;
|
|
2127
|
+
} | undefined;
|
|
2128
|
+
readonly vectorConfig?: {
|
|
2129
|
+
dimensions: number;
|
|
2130
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2131
|
+
normalized: boolean;
|
|
2132
|
+
indexed: boolean;
|
|
2133
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2134
|
+
} | undefined;
|
|
1683
2135
|
readonly hidden?: boolean | undefined;
|
|
1684
2136
|
readonly readonly?: boolean | undefined;
|
|
1685
2137
|
readonly encryption?: boolean | undefined;
|
|
@@ -1688,28 +2140,28 @@ export declare const Field: {
|
|
|
1688
2140
|
readonly type: "location";
|
|
1689
2141
|
};
|
|
1690
2142
|
address: (config?: FieldInput) => {
|
|
1691
|
-
readonly formula?: string | undefined;
|
|
1692
2143
|
readonly options?: {
|
|
1693
2144
|
value: string;
|
|
1694
2145
|
label: string;
|
|
1695
2146
|
color?: string | undefined;
|
|
1696
2147
|
default?: boolean | undefined;
|
|
1697
2148
|
}[] | undefined;
|
|
2149
|
+
readonly required?: boolean | undefined;
|
|
2150
|
+
readonly min?: number | undefined;
|
|
2151
|
+
readonly max?: number | undefined;
|
|
2152
|
+
readonly formula?: string | undefined;
|
|
1698
2153
|
readonly label?: string | undefined;
|
|
2154
|
+
readonly precision?: number | undefined;
|
|
1699
2155
|
readonly name?: string | undefined;
|
|
1700
2156
|
readonly description?: string | undefined;
|
|
1701
2157
|
readonly format?: string | undefined;
|
|
1702
|
-
readonly required?: boolean | undefined;
|
|
1703
2158
|
readonly searchable?: boolean | undefined;
|
|
1704
2159
|
readonly multiple?: boolean | undefined;
|
|
1705
2160
|
readonly unique?: boolean | undefined;
|
|
1706
2161
|
readonly defaultValue?: any;
|
|
1707
2162
|
readonly maxLength?: number | undefined;
|
|
1708
2163
|
readonly minLength?: number | undefined;
|
|
1709
|
-
readonly precision?: number | undefined;
|
|
1710
2164
|
readonly scale?: number | undefined;
|
|
1711
|
-
readonly min?: number | undefined;
|
|
1712
|
-
readonly max?: number | undefined;
|
|
1713
2165
|
readonly reference?: string | undefined;
|
|
1714
2166
|
readonly referenceFilters?: string[] | undefined;
|
|
1715
2167
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1717,7 +2169,7 @@ export declare const Field: {
|
|
|
1717
2169
|
readonly expression?: string | undefined;
|
|
1718
2170
|
readonly summaryOperations?: {
|
|
1719
2171
|
object: string;
|
|
1720
|
-
function: "
|
|
2172
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1721
2173
|
field: string;
|
|
1722
2174
|
} | undefined;
|
|
1723
2175
|
readonly language?: string | undefined;
|
|
@@ -1738,6 +2190,18 @@ export declare const Field: {
|
|
|
1738
2190
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1739
2191
|
readonly displayValue?: boolean | undefined;
|
|
1740
2192
|
readonly allowScanning?: boolean | undefined;
|
|
2193
|
+
readonly currencyConfig?: {
|
|
2194
|
+
precision: number;
|
|
2195
|
+
currencyMode: "dynamic" | "fixed";
|
|
2196
|
+
defaultCurrency: string;
|
|
2197
|
+
} | undefined;
|
|
2198
|
+
readonly vectorConfig?: {
|
|
2199
|
+
dimensions: number;
|
|
2200
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2201
|
+
normalized: boolean;
|
|
2202
|
+
indexed: boolean;
|
|
2203
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2204
|
+
} | undefined;
|
|
1741
2205
|
readonly hidden?: boolean | undefined;
|
|
1742
2206
|
readonly readonly?: boolean | undefined;
|
|
1743
2207
|
readonly encryption?: boolean | undefined;
|
|
@@ -1746,28 +2210,28 @@ export declare const Field: {
|
|
|
1746
2210
|
readonly type: "address";
|
|
1747
2211
|
};
|
|
1748
2212
|
richtext: (config?: FieldInput) => {
|
|
1749
|
-
readonly formula?: string | undefined;
|
|
1750
2213
|
readonly options?: {
|
|
1751
2214
|
value: string;
|
|
1752
2215
|
label: string;
|
|
1753
2216
|
color?: string | undefined;
|
|
1754
2217
|
default?: boolean | undefined;
|
|
1755
2218
|
}[] | undefined;
|
|
2219
|
+
readonly required?: boolean | undefined;
|
|
2220
|
+
readonly min?: number | undefined;
|
|
2221
|
+
readonly max?: number | undefined;
|
|
2222
|
+
readonly formula?: string | undefined;
|
|
1756
2223
|
readonly label?: string | undefined;
|
|
2224
|
+
readonly precision?: number | undefined;
|
|
1757
2225
|
readonly name?: string | undefined;
|
|
1758
2226
|
readonly description?: string | undefined;
|
|
1759
2227
|
readonly format?: string | undefined;
|
|
1760
|
-
readonly required?: boolean | undefined;
|
|
1761
2228
|
readonly searchable?: boolean | undefined;
|
|
1762
2229
|
readonly multiple?: boolean | undefined;
|
|
1763
2230
|
readonly unique?: boolean | undefined;
|
|
1764
2231
|
readonly defaultValue?: any;
|
|
1765
2232
|
readonly maxLength?: number | undefined;
|
|
1766
2233
|
readonly minLength?: number | undefined;
|
|
1767
|
-
readonly precision?: number | undefined;
|
|
1768
2234
|
readonly scale?: number | undefined;
|
|
1769
|
-
readonly min?: number | undefined;
|
|
1770
|
-
readonly max?: number | undefined;
|
|
1771
2235
|
readonly reference?: string | undefined;
|
|
1772
2236
|
readonly referenceFilters?: string[] | undefined;
|
|
1773
2237
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1775,7 +2239,7 @@ export declare const Field: {
|
|
|
1775
2239
|
readonly expression?: string | undefined;
|
|
1776
2240
|
readonly summaryOperations?: {
|
|
1777
2241
|
object: string;
|
|
1778
|
-
function: "
|
|
2242
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1779
2243
|
field: string;
|
|
1780
2244
|
} | undefined;
|
|
1781
2245
|
readonly language?: string | undefined;
|
|
@@ -1796,6 +2260,18 @@ export declare const Field: {
|
|
|
1796
2260
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1797
2261
|
readonly displayValue?: boolean | undefined;
|
|
1798
2262
|
readonly allowScanning?: boolean | undefined;
|
|
2263
|
+
readonly currencyConfig?: {
|
|
2264
|
+
precision: number;
|
|
2265
|
+
currencyMode: "dynamic" | "fixed";
|
|
2266
|
+
defaultCurrency: string;
|
|
2267
|
+
} | undefined;
|
|
2268
|
+
readonly vectorConfig?: {
|
|
2269
|
+
dimensions: number;
|
|
2270
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2271
|
+
normalized: boolean;
|
|
2272
|
+
indexed: boolean;
|
|
2273
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2274
|
+
} | undefined;
|
|
1799
2275
|
readonly hidden?: boolean | undefined;
|
|
1800
2276
|
readonly readonly?: boolean | undefined;
|
|
1801
2277
|
readonly encryption?: boolean | undefined;
|
|
@@ -1804,28 +2280,28 @@ export declare const Field: {
|
|
|
1804
2280
|
readonly type: "richtext";
|
|
1805
2281
|
};
|
|
1806
2282
|
code: (language?: string, config?: FieldInput) => {
|
|
1807
|
-
readonly formula?: string | undefined;
|
|
1808
2283
|
readonly options?: {
|
|
1809
2284
|
value: string;
|
|
1810
2285
|
label: string;
|
|
1811
2286
|
color?: string | undefined;
|
|
1812
2287
|
default?: boolean | undefined;
|
|
1813
2288
|
}[] | undefined;
|
|
2289
|
+
readonly required?: boolean | undefined;
|
|
2290
|
+
readonly min?: number | undefined;
|
|
2291
|
+
readonly max?: number | undefined;
|
|
2292
|
+
readonly formula?: string | undefined;
|
|
1814
2293
|
readonly label?: string | undefined;
|
|
2294
|
+
readonly precision?: number | undefined;
|
|
1815
2295
|
readonly name?: string | undefined;
|
|
1816
2296
|
readonly description?: string | undefined;
|
|
1817
2297
|
readonly format?: string | undefined;
|
|
1818
|
-
readonly required?: boolean | undefined;
|
|
1819
2298
|
readonly searchable?: boolean | undefined;
|
|
1820
2299
|
readonly multiple?: boolean | undefined;
|
|
1821
2300
|
readonly unique?: boolean | undefined;
|
|
1822
2301
|
readonly defaultValue?: any;
|
|
1823
2302
|
readonly maxLength?: number | undefined;
|
|
1824
2303
|
readonly minLength?: number | undefined;
|
|
1825
|
-
readonly precision?: number | undefined;
|
|
1826
2304
|
readonly scale?: number | undefined;
|
|
1827
|
-
readonly min?: number | undefined;
|
|
1828
|
-
readonly max?: number | undefined;
|
|
1829
2305
|
readonly reference?: string | undefined;
|
|
1830
2306
|
readonly referenceFilters?: string[] | undefined;
|
|
1831
2307
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1833,7 +2309,7 @@ export declare const Field: {
|
|
|
1833
2309
|
readonly expression?: string | undefined;
|
|
1834
2310
|
readonly summaryOperations?: {
|
|
1835
2311
|
object: string;
|
|
1836
|
-
function: "
|
|
2312
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1837
2313
|
field: string;
|
|
1838
2314
|
} | undefined;
|
|
1839
2315
|
language: string | undefined;
|
|
@@ -1854,6 +2330,18 @@ export declare const Field: {
|
|
|
1854
2330
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1855
2331
|
readonly displayValue?: boolean | undefined;
|
|
1856
2332
|
readonly allowScanning?: boolean | undefined;
|
|
2333
|
+
readonly currencyConfig?: {
|
|
2334
|
+
precision: number;
|
|
2335
|
+
currencyMode: "dynamic" | "fixed";
|
|
2336
|
+
defaultCurrency: string;
|
|
2337
|
+
} | undefined;
|
|
2338
|
+
readonly vectorConfig?: {
|
|
2339
|
+
dimensions: number;
|
|
2340
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2341
|
+
normalized: boolean;
|
|
2342
|
+
indexed: boolean;
|
|
2343
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2344
|
+
} | undefined;
|
|
1857
2345
|
readonly hidden?: boolean | undefined;
|
|
1858
2346
|
readonly readonly?: boolean | undefined;
|
|
1859
2347
|
readonly encryption?: boolean | undefined;
|
|
@@ -1862,28 +2350,28 @@ export declare const Field: {
|
|
|
1862
2350
|
readonly type: "code";
|
|
1863
2351
|
};
|
|
1864
2352
|
color: (config?: FieldInput) => {
|
|
1865
|
-
readonly formula?: string | undefined;
|
|
1866
2353
|
readonly options?: {
|
|
1867
2354
|
value: string;
|
|
1868
2355
|
label: string;
|
|
1869
2356
|
color?: string | undefined;
|
|
1870
2357
|
default?: boolean | undefined;
|
|
1871
2358
|
}[] | undefined;
|
|
2359
|
+
readonly required?: boolean | undefined;
|
|
2360
|
+
readonly min?: number | undefined;
|
|
2361
|
+
readonly max?: number | undefined;
|
|
2362
|
+
readonly formula?: string | undefined;
|
|
1872
2363
|
readonly label?: string | undefined;
|
|
2364
|
+
readonly precision?: number | undefined;
|
|
1873
2365
|
readonly name?: string | undefined;
|
|
1874
2366
|
readonly description?: string | undefined;
|
|
1875
2367
|
readonly format?: string | undefined;
|
|
1876
|
-
readonly required?: boolean | undefined;
|
|
1877
2368
|
readonly searchable?: boolean | undefined;
|
|
1878
2369
|
readonly multiple?: boolean | undefined;
|
|
1879
2370
|
readonly unique?: boolean | undefined;
|
|
1880
2371
|
readonly defaultValue?: any;
|
|
1881
2372
|
readonly maxLength?: number | undefined;
|
|
1882
2373
|
readonly minLength?: number | undefined;
|
|
1883
|
-
readonly precision?: number | undefined;
|
|
1884
2374
|
readonly scale?: number | undefined;
|
|
1885
|
-
readonly min?: number | undefined;
|
|
1886
|
-
readonly max?: number | undefined;
|
|
1887
2375
|
readonly reference?: string | undefined;
|
|
1888
2376
|
readonly referenceFilters?: string[] | undefined;
|
|
1889
2377
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1891,7 +2379,7 @@ export declare const Field: {
|
|
|
1891
2379
|
readonly expression?: string | undefined;
|
|
1892
2380
|
readonly summaryOperations?: {
|
|
1893
2381
|
object: string;
|
|
1894
|
-
function: "
|
|
2382
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1895
2383
|
field: string;
|
|
1896
2384
|
} | undefined;
|
|
1897
2385
|
readonly language?: string | undefined;
|
|
@@ -1912,6 +2400,18 @@ export declare const Field: {
|
|
|
1912
2400
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1913
2401
|
readonly displayValue?: boolean | undefined;
|
|
1914
2402
|
readonly allowScanning?: boolean | undefined;
|
|
2403
|
+
readonly currencyConfig?: {
|
|
2404
|
+
precision: number;
|
|
2405
|
+
currencyMode: "dynamic" | "fixed";
|
|
2406
|
+
defaultCurrency: string;
|
|
2407
|
+
} | undefined;
|
|
2408
|
+
readonly vectorConfig?: {
|
|
2409
|
+
dimensions: number;
|
|
2410
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2411
|
+
normalized: boolean;
|
|
2412
|
+
indexed: boolean;
|
|
2413
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2414
|
+
} | undefined;
|
|
1915
2415
|
readonly hidden?: boolean | undefined;
|
|
1916
2416
|
readonly readonly?: boolean | undefined;
|
|
1917
2417
|
readonly encryption?: boolean | undefined;
|
|
@@ -1920,28 +2420,28 @@ export declare const Field: {
|
|
|
1920
2420
|
readonly type: "color";
|
|
1921
2421
|
};
|
|
1922
2422
|
rating: (maxRating?: number, config?: FieldInput) => {
|
|
1923
|
-
readonly formula?: string | undefined;
|
|
1924
2423
|
readonly options?: {
|
|
1925
2424
|
value: string;
|
|
1926
2425
|
label: string;
|
|
1927
2426
|
color?: string | undefined;
|
|
1928
2427
|
default?: boolean | undefined;
|
|
1929
2428
|
}[] | undefined;
|
|
2429
|
+
readonly required?: boolean | undefined;
|
|
2430
|
+
readonly min?: number | undefined;
|
|
2431
|
+
readonly max?: number | undefined;
|
|
2432
|
+
readonly formula?: string | undefined;
|
|
1930
2433
|
readonly label?: string | undefined;
|
|
2434
|
+
readonly precision?: number | undefined;
|
|
1931
2435
|
readonly name?: string | undefined;
|
|
1932
2436
|
readonly description?: string | undefined;
|
|
1933
2437
|
readonly format?: string | undefined;
|
|
1934
|
-
readonly required?: boolean | undefined;
|
|
1935
2438
|
readonly searchable?: boolean | undefined;
|
|
1936
2439
|
readonly multiple?: boolean | undefined;
|
|
1937
2440
|
readonly unique?: boolean | undefined;
|
|
1938
2441
|
readonly defaultValue?: any;
|
|
1939
2442
|
readonly maxLength?: number | undefined;
|
|
1940
2443
|
readonly minLength?: number | undefined;
|
|
1941
|
-
readonly precision?: number | undefined;
|
|
1942
2444
|
readonly scale?: number | undefined;
|
|
1943
|
-
readonly min?: number | undefined;
|
|
1944
|
-
readonly max?: number | undefined;
|
|
1945
2445
|
readonly reference?: string | undefined;
|
|
1946
2446
|
readonly referenceFilters?: string[] | undefined;
|
|
1947
2447
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -1949,7 +2449,7 @@ export declare const Field: {
|
|
|
1949
2449
|
readonly expression?: string | undefined;
|
|
1950
2450
|
readonly summaryOperations?: {
|
|
1951
2451
|
object: string;
|
|
1952
|
-
function: "
|
|
2452
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1953
2453
|
field: string;
|
|
1954
2454
|
} | undefined;
|
|
1955
2455
|
readonly language?: string | undefined;
|
|
@@ -1970,6 +2470,18 @@ export declare const Field: {
|
|
|
1970
2470
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1971
2471
|
readonly displayValue?: boolean | undefined;
|
|
1972
2472
|
readonly allowScanning?: boolean | undefined;
|
|
2473
|
+
readonly currencyConfig?: {
|
|
2474
|
+
precision: number;
|
|
2475
|
+
currencyMode: "dynamic" | "fixed";
|
|
2476
|
+
defaultCurrency: string;
|
|
2477
|
+
} | undefined;
|
|
2478
|
+
readonly vectorConfig?: {
|
|
2479
|
+
dimensions: number;
|
|
2480
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2481
|
+
normalized: boolean;
|
|
2482
|
+
indexed: boolean;
|
|
2483
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2484
|
+
} | undefined;
|
|
1973
2485
|
readonly hidden?: boolean | undefined;
|
|
1974
2486
|
readonly readonly?: boolean | undefined;
|
|
1975
2487
|
readonly encryption?: boolean | undefined;
|
|
@@ -1978,28 +2490,28 @@ export declare const Field: {
|
|
|
1978
2490
|
readonly type: "rating";
|
|
1979
2491
|
};
|
|
1980
2492
|
signature: (config?: FieldInput) => {
|
|
1981
|
-
readonly formula?: string | undefined;
|
|
1982
2493
|
readonly options?: {
|
|
1983
2494
|
value: string;
|
|
1984
2495
|
label: string;
|
|
1985
2496
|
color?: string | undefined;
|
|
1986
2497
|
default?: boolean | undefined;
|
|
1987
2498
|
}[] | undefined;
|
|
2499
|
+
readonly required?: boolean | undefined;
|
|
2500
|
+
readonly min?: number | undefined;
|
|
2501
|
+
readonly max?: number | undefined;
|
|
2502
|
+
readonly formula?: string | undefined;
|
|
1988
2503
|
readonly label?: string | undefined;
|
|
2504
|
+
readonly precision?: number | undefined;
|
|
1989
2505
|
readonly name?: string | undefined;
|
|
1990
2506
|
readonly description?: string | undefined;
|
|
1991
2507
|
readonly format?: string | undefined;
|
|
1992
|
-
readonly required?: boolean | undefined;
|
|
1993
2508
|
readonly searchable?: boolean | undefined;
|
|
1994
2509
|
readonly multiple?: boolean | undefined;
|
|
1995
2510
|
readonly unique?: boolean | undefined;
|
|
1996
2511
|
readonly defaultValue?: any;
|
|
1997
2512
|
readonly maxLength?: number | undefined;
|
|
1998
2513
|
readonly minLength?: number | undefined;
|
|
1999
|
-
readonly precision?: number | undefined;
|
|
2000
2514
|
readonly scale?: number | undefined;
|
|
2001
|
-
readonly min?: number | undefined;
|
|
2002
|
-
readonly max?: number | undefined;
|
|
2003
2515
|
readonly reference?: string | undefined;
|
|
2004
2516
|
readonly referenceFilters?: string[] | undefined;
|
|
2005
2517
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -2007,7 +2519,7 @@ export declare const Field: {
|
|
|
2007
2519
|
readonly expression?: string | undefined;
|
|
2008
2520
|
readonly summaryOperations?: {
|
|
2009
2521
|
object: string;
|
|
2010
|
-
function: "
|
|
2522
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2011
2523
|
field: string;
|
|
2012
2524
|
} | undefined;
|
|
2013
2525
|
readonly language?: string | undefined;
|
|
@@ -2028,6 +2540,18 @@ export declare const Field: {
|
|
|
2028
2540
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2029
2541
|
readonly displayValue?: boolean | undefined;
|
|
2030
2542
|
readonly allowScanning?: boolean | undefined;
|
|
2543
|
+
readonly currencyConfig?: {
|
|
2544
|
+
precision: number;
|
|
2545
|
+
currencyMode: "dynamic" | "fixed";
|
|
2546
|
+
defaultCurrency: string;
|
|
2547
|
+
} | undefined;
|
|
2548
|
+
readonly vectorConfig?: {
|
|
2549
|
+
dimensions: number;
|
|
2550
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2551
|
+
normalized: boolean;
|
|
2552
|
+
indexed: boolean;
|
|
2553
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2554
|
+
} | undefined;
|
|
2031
2555
|
readonly hidden?: boolean | undefined;
|
|
2032
2556
|
readonly readonly?: boolean | undefined;
|
|
2033
2557
|
readonly encryption?: boolean | undefined;
|
|
@@ -2036,28 +2560,28 @@ export declare const Field: {
|
|
|
2036
2560
|
readonly type: "signature";
|
|
2037
2561
|
};
|
|
2038
2562
|
slider: (config?: FieldInput) => {
|
|
2039
|
-
readonly formula?: string | undefined;
|
|
2040
2563
|
readonly options?: {
|
|
2041
2564
|
value: string;
|
|
2042
2565
|
label: string;
|
|
2043
2566
|
color?: string | undefined;
|
|
2044
2567
|
default?: boolean | undefined;
|
|
2045
2568
|
}[] | undefined;
|
|
2569
|
+
readonly required?: boolean | undefined;
|
|
2570
|
+
readonly min?: number | undefined;
|
|
2571
|
+
readonly max?: number | undefined;
|
|
2572
|
+
readonly formula?: string | undefined;
|
|
2046
2573
|
readonly label?: string | undefined;
|
|
2574
|
+
readonly precision?: number | undefined;
|
|
2047
2575
|
readonly name?: string | undefined;
|
|
2048
2576
|
readonly description?: string | undefined;
|
|
2049
2577
|
readonly format?: string | undefined;
|
|
2050
|
-
readonly required?: boolean | undefined;
|
|
2051
2578
|
readonly searchable?: boolean | undefined;
|
|
2052
2579
|
readonly multiple?: boolean | undefined;
|
|
2053
2580
|
readonly unique?: boolean | undefined;
|
|
2054
2581
|
readonly defaultValue?: any;
|
|
2055
2582
|
readonly maxLength?: number | undefined;
|
|
2056
2583
|
readonly minLength?: number | undefined;
|
|
2057
|
-
readonly precision?: number | undefined;
|
|
2058
2584
|
readonly scale?: number | undefined;
|
|
2059
|
-
readonly min?: number | undefined;
|
|
2060
|
-
readonly max?: number | undefined;
|
|
2061
2585
|
readonly reference?: string | undefined;
|
|
2062
2586
|
readonly referenceFilters?: string[] | undefined;
|
|
2063
2587
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -2065,7 +2589,7 @@ export declare const Field: {
|
|
|
2065
2589
|
readonly expression?: string | undefined;
|
|
2066
2590
|
readonly summaryOperations?: {
|
|
2067
2591
|
object: string;
|
|
2068
|
-
function: "
|
|
2592
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2069
2593
|
field: string;
|
|
2070
2594
|
} | undefined;
|
|
2071
2595
|
readonly language?: string | undefined;
|
|
@@ -2086,6 +2610,18 @@ export declare const Field: {
|
|
|
2086
2610
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2087
2611
|
readonly displayValue?: boolean | undefined;
|
|
2088
2612
|
readonly allowScanning?: boolean | undefined;
|
|
2613
|
+
readonly currencyConfig?: {
|
|
2614
|
+
precision: number;
|
|
2615
|
+
currencyMode: "dynamic" | "fixed";
|
|
2616
|
+
defaultCurrency: string;
|
|
2617
|
+
} | undefined;
|
|
2618
|
+
readonly vectorConfig?: {
|
|
2619
|
+
dimensions: number;
|
|
2620
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2621
|
+
normalized: boolean;
|
|
2622
|
+
indexed: boolean;
|
|
2623
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2624
|
+
} | undefined;
|
|
2089
2625
|
readonly hidden?: boolean | undefined;
|
|
2090
2626
|
readonly readonly?: boolean | undefined;
|
|
2091
2627
|
readonly encryption?: boolean | undefined;
|
|
@@ -2094,28 +2630,28 @@ export declare const Field: {
|
|
|
2094
2630
|
readonly type: "slider";
|
|
2095
2631
|
};
|
|
2096
2632
|
qrcode: (config?: FieldInput) => {
|
|
2097
|
-
readonly formula?: string | undefined;
|
|
2098
2633
|
readonly options?: {
|
|
2099
2634
|
value: string;
|
|
2100
2635
|
label: string;
|
|
2101
2636
|
color?: string | undefined;
|
|
2102
2637
|
default?: boolean | undefined;
|
|
2103
2638
|
}[] | undefined;
|
|
2639
|
+
readonly required?: boolean | undefined;
|
|
2640
|
+
readonly min?: number | undefined;
|
|
2641
|
+
readonly max?: number | undefined;
|
|
2642
|
+
readonly formula?: string | undefined;
|
|
2104
2643
|
readonly label?: string | undefined;
|
|
2644
|
+
readonly precision?: number | undefined;
|
|
2105
2645
|
readonly name?: string | undefined;
|
|
2106
2646
|
readonly description?: string | undefined;
|
|
2107
2647
|
readonly format?: string | undefined;
|
|
2108
|
-
readonly required?: boolean | undefined;
|
|
2109
2648
|
readonly searchable?: boolean | undefined;
|
|
2110
2649
|
readonly multiple?: boolean | undefined;
|
|
2111
2650
|
readonly unique?: boolean | undefined;
|
|
2112
2651
|
readonly defaultValue?: any;
|
|
2113
2652
|
readonly maxLength?: number | undefined;
|
|
2114
2653
|
readonly minLength?: number | undefined;
|
|
2115
|
-
readonly precision?: number | undefined;
|
|
2116
2654
|
readonly scale?: number | undefined;
|
|
2117
|
-
readonly min?: number | undefined;
|
|
2118
|
-
readonly max?: number | undefined;
|
|
2119
2655
|
readonly reference?: string | undefined;
|
|
2120
2656
|
readonly referenceFilters?: string[] | undefined;
|
|
2121
2657
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -2123,7 +2659,7 @@ export declare const Field: {
|
|
|
2123
2659
|
readonly expression?: string | undefined;
|
|
2124
2660
|
readonly summaryOperations?: {
|
|
2125
2661
|
object: string;
|
|
2126
|
-
function: "
|
|
2662
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2127
2663
|
field: string;
|
|
2128
2664
|
} | undefined;
|
|
2129
2665
|
readonly language?: string | undefined;
|
|
@@ -2144,6 +2680,18 @@ export declare const Field: {
|
|
|
2144
2680
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2145
2681
|
readonly displayValue?: boolean | undefined;
|
|
2146
2682
|
readonly allowScanning?: boolean | undefined;
|
|
2683
|
+
readonly currencyConfig?: {
|
|
2684
|
+
precision: number;
|
|
2685
|
+
currencyMode: "dynamic" | "fixed";
|
|
2686
|
+
defaultCurrency: string;
|
|
2687
|
+
} | undefined;
|
|
2688
|
+
readonly vectorConfig?: {
|
|
2689
|
+
dimensions: number;
|
|
2690
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2691
|
+
normalized: boolean;
|
|
2692
|
+
indexed: boolean;
|
|
2693
|
+
indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2694
|
+
} | undefined;
|
|
2147
2695
|
readonly hidden?: boolean | undefined;
|
|
2148
2696
|
readonly readonly?: boolean | undefined;
|
|
2149
2697
|
readonly encryption?: boolean | undefined;
|
|
@@ -2151,29 +2699,29 @@ export declare const Field: {
|
|
|
2151
2699
|
readonly externalId?: boolean | undefined;
|
|
2152
2700
|
readonly type: "qrcode";
|
|
2153
2701
|
};
|
|
2154
|
-
|
|
2155
|
-
readonly formula?: string | undefined;
|
|
2702
|
+
vector: (dimensions: number, config?: FieldInput) => {
|
|
2156
2703
|
readonly options?: {
|
|
2157
2704
|
value: string;
|
|
2158
2705
|
label: string;
|
|
2159
2706
|
color?: string | undefined;
|
|
2160
2707
|
default?: boolean | undefined;
|
|
2161
2708
|
}[] | undefined;
|
|
2709
|
+
readonly required?: boolean | undefined;
|
|
2710
|
+
readonly min?: number | undefined;
|
|
2711
|
+
readonly max?: number | undefined;
|
|
2712
|
+
readonly formula?: string | undefined;
|
|
2162
2713
|
readonly label?: string | undefined;
|
|
2714
|
+
readonly precision?: number | undefined;
|
|
2163
2715
|
readonly name?: string | undefined;
|
|
2164
2716
|
readonly description?: string | undefined;
|
|
2165
2717
|
readonly format?: string | undefined;
|
|
2166
|
-
readonly required?: boolean | undefined;
|
|
2167
2718
|
readonly searchable?: boolean | undefined;
|
|
2168
2719
|
readonly multiple?: boolean | undefined;
|
|
2169
2720
|
readonly unique?: boolean | undefined;
|
|
2170
2721
|
readonly defaultValue?: any;
|
|
2171
2722
|
readonly maxLength?: number | undefined;
|
|
2172
2723
|
readonly minLength?: number | undefined;
|
|
2173
|
-
readonly precision?: number | undefined;
|
|
2174
2724
|
readonly scale?: number | undefined;
|
|
2175
|
-
readonly min?: number | undefined;
|
|
2176
|
-
readonly max?: number | undefined;
|
|
2177
2725
|
readonly reference?: string | undefined;
|
|
2178
2726
|
readonly referenceFilters?: string[] | undefined;
|
|
2179
2727
|
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
@@ -2181,7 +2729,7 @@ export declare const Field: {
|
|
|
2181
2729
|
readonly expression?: string | undefined;
|
|
2182
2730
|
readonly summaryOperations?: {
|
|
2183
2731
|
object: string;
|
|
2184
|
-
function: "
|
|
2732
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2185
2733
|
field: string;
|
|
2186
2734
|
} | undefined;
|
|
2187
2735
|
readonly language?: string | undefined;
|
|
@@ -2202,12 +2750,24 @@ export declare const Field: {
|
|
|
2202
2750
|
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2203
2751
|
readonly displayValue?: boolean | undefined;
|
|
2204
2752
|
readonly allowScanning?: boolean | undefined;
|
|
2753
|
+
readonly currencyConfig?: {
|
|
2754
|
+
precision: number;
|
|
2755
|
+
currencyMode: "dynamic" | "fixed";
|
|
2756
|
+
defaultCurrency: string;
|
|
2757
|
+
} | undefined;
|
|
2758
|
+
vectorConfig: {
|
|
2759
|
+
dimensions: number;
|
|
2760
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2761
|
+
normalized: boolean;
|
|
2762
|
+
indexed: boolean;
|
|
2763
|
+
readonly indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
|
|
2764
|
+
};
|
|
2205
2765
|
readonly hidden?: boolean | undefined;
|
|
2206
2766
|
readonly readonly?: boolean | undefined;
|
|
2207
2767
|
readonly encryption?: boolean | undefined;
|
|
2208
2768
|
readonly index?: boolean | undefined;
|
|
2209
2769
|
readonly externalId?: boolean | undefined;
|
|
2210
|
-
readonly type: "
|
|
2770
|
+
readonly type: "vector";
|
|
2211
2771
|
};
|
|
2212
2772
|
};
|
|
2213
2773
|
//# sourceMappingURL=field.zod.d.ts.map
|