@objectstack/spec 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -10
- package/dist/ai/agent.zod.d.ts +12 -12
- package/dist/ai/conversation.zod.d.ts +65 -65
- package/dist/ai/cost.zod.d.ts +125 -125
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -1
- package/dist/ai/model-registry.zod.d.ts +94 -94
- package/dist/ai/nlq.zod.d.ts +70 -70
- package/dist/ai/{workflow-automation.zod.d.ts → orchestration.zod.d.ts} +50 -49
- package/dist/ai/orchestration.zod.d.ts.map +1 -0
- package/dist/ai/{workflow-automation.zod.js → orchestration.zod.js} +26 -25
- package/dist/ai/predictive.zod.d.ts +31 -31
- package/dist/ai/rag-pipeline.zod.d.ts +86 -86
- package/dist/api/contract.zod.d.ts +125 -109
- package/dist/api/contract.zod.d.ts.map +1 -1
- package/dist/{system → api}/discovery.zod.d.ts +26 -26
- package/dist/api/discovery.zod.d.ts.map +1 -0
- package/dist/{system → api}/discovery.zod.js +9 -9
- package/dist/{system/api.zod.d.ts → api/endpoint.zod.d.ts} +53 -57
- package/dist/api/endpoint.zod.d.ts.map +1 -0
- package/dist/{system/api.zod.js → api/endpoint.zod.js} +3 -6
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/{system → api}/realtime.zod.d.ts +4 -4
- package/dist/api/realtime.zod.d.ts.map +1 -0
- package/dist/api/router.zod.d.ts +182 -0
- package/dist/api/router.zod.d.ts.map +1 -0
- package/dist/api/router.zod.js +103 -0
- package/dist/{system/auth.zod.d.ts → auth/config.zod.d.ts} +191 -191
- package/dist/auth/config.zod.d.ts.map +1 -0
- package/dist/{system → auth}/identity.zod.d.ts +8 -8
- package/dist/auth/identity.zod.d.ts.map +1 -0
- package/dist/auth/index.d.ts +7 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +22 -0
- package/dist/{system → auth}/organization.zod.d.ts +5 -5
- package/dist/auth/organization.zod.d.ts.map +1 -0
- package/dist/{system → auth}/policy.zod.d.ts +3 -3
- package/dist/auth/policy.zod.d.ts.map +1 -0
- package/dist/{system/auth-protocol.d.ts → auth/protocol.d.ts} +1 -1
- package/dist/auth/protocol.d.ts.map +1 -0
- package/dist/auth/role.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.d.ts +34 -16
- package/dist/automation/flow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.js +6 -1
- package/dist/automation/index.d.ts +4 -0
- package/dist/automation/index.d.ts.map +1 -0
- package/dist/automation/index.js +19 -0
- package/dist/{system → automation}/webhook.zod.d.ts +2 -2
- package/dist/automation/webhook.zod.d.ts.map +1 -0
- package/dist/automation/workflow.zod.d.ts +2045 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/workflow.zod.js +24 -1
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +443 -213
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +29 -1
- package/dist/data/filter.zod.d.ts +167 -30
- package/dist/data/filter.zod.d.ts.map +1 -1
- package/dist/data/filter.zod.js +25 -13
- package/dist/data/hook.zod.d.ts +191 -0
- package/dist/data/hook.zod.d.ts.map +1 -0
- package/dist/data/hook.zod.js +144 -0
- package/dist/data/index.d.ts +4 -17
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +4 -17
- package/dist/data/mapping.zod.d.ts +103 -91
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/object.zod.d.ts +387 -127
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +87 -42
- package/dist/data/query.zod.d.ts +98 -169
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +42 -130
- package/dist/data/validation.zod.d.ts +166 -26
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +38 -16
- package/dist/{system → driver}/datasource.zod.d.ts +42 -8
- package/dist/driver/datasource.zod.d.ts.map +1 -0
- package/dist/{system → driver}/datasource.zod.js +17 -13
- package/dist/driver/driver.zod.d.ts +3392 -0
- package/dist/driver/driver.zod.d.ts.map +1 -0
- package/dist/{system → driver}/driver.zod.js +99 -0
- package/dist/driver/index.d.ts +5 -0
- package/dist/driver/index.d.ts.map +1 -0
- package/dist/driver/index.js +20 -0
- package/dist/driver/mongo.zod.d.ts +107 -0
- package/dist/driver/mongo.zod.d.ts.map +1 -0
- package/dist/driver/mongo.zod.js +80 -0
- package/dist/driver/postgres.zod.d.ts +134 -0
- package/dist/driver/postgres.zod.d.ts.map +1 -0
- package/dist/driver/postgres.zod.js +88 -0
- package/dist/hub/composer.zod.d.ts +2768 -0
- package/dist/hub/composer.zod.d.ts.map +1 -0
- package/dist/hub/composer.zod.js +111 -0
- package/dist/hub/index.d.ts +6 -0
- package/dist/hub/index.d.ts.map +1 -0
- package/dist/hub/index.js +22 -0
- package/dist/{system → hub}/license.zod.d.ts +11 -7
- package/dist/hub/license.zod.d.ts.map +1 -0
- package/dist/{system → hub}/license.zod.js +5 -3
- package/dist/hub/marketplace.zod.d.ts +191 -0
- package/dist/hub/marketplace.zod.d.ts.map +1 -0
- package/dist/hub/marketplace.zod.js +85 -0
- package/dist/hub/space.zod.d.ts +383 -0
- package/dist/hub/space.zod.d.ts.map +1 -0
- package/dist/hub/space.zod.js +103 -0
- package/dist/{system → hub}/tenant.zod.d.ts +73 -47
- package/dist/hub/tenant.zod.d.ts.map +1 -0
- package/dist/{system → hub}/tenant.zod.js +36 -10
- package/dist/index.d.ts +11 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/kernel/context.zod.d.ts +56 -0
- package/dist/kernel/context.zod.d.ts.map +1 -0
- package/dist/kernel/context.zod.js +43 -0
- package/dist/kernel/index.d.ts +12 -0
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/index.js +27 -0
- package/dist/kernel/logger.zod.d.ts +111 -0
- package/dist/kernel/logger.zod.d.ts.map +1 -0
- package/dist/kernel/logger.zod.js +75 -0
- package/dist/kernel/manifest.zod.d.ts +2153 -0
- package/dist/kernel/manifest.zod.d.ts.map +1 -0
- package/dist/{system → kernel}/manifest.zod.js +40 -0
- package/dist/{system → kernel}/plugin.zod.d.ts +598 -318
- package/dist/kernel/plugin.zod.d.ts.map +1 -0
- package/dist/{system → kernel}/plugin.zod.js +13 -0
- package/dist/kernel/scoped-storage.zod.d.ts +81 -0
- package/dist/kernel/scoped-storage.zod.d.ts.map +1 -0
- package/dist/kernel/scoped-storage.zod.js +66 -0
- package/dist/permission/index.d.ts +12 -0
- package/dist/permission/index.d.ts.map +1 -0
- package/dist/permission/index.js +27 -0
- package/dist/{data → permission}/permission.zod.d.ts +34 -3
- package/dist/permission/permission.zod.d.ts.map +1 -0
- package/dist/{data → permission}/permission.zod.js +10 -1
- package/dist/permission/sharing.zod.d.ts +146 -0
- package/dist/permission/sharing.zod.d.ts.map +1 -0
- package/dist/permission/sharing.zod.js +88 -0
- package/dist/permission/territory.zod.d.ts.map +1 -0
- package/dist/system/audit.zod.d.ts +52 -52
- package/dist/system/events.zod.d.ts +17 -17
- package/dist/system/index.d.ts +1 -20
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +3 -20
- package/dist/system/job.zod.d.ts +13 -13
- package/dist/ui/action.zod.d.ts +13 -13
- package/dist/ui/app.zod.d.ts +11 -11
- package/dist/ui/dashboard.zod.d.ts +12 -12
- package/dist/ui/page.zod.d.ts +2 -2
- package/dist/ui/report.zod.d.ts +7 -7
- package/dist/ui/theme.zod.d.ts +42 -42
- package/dist/ui/view.zod.d.ts +2320 -59
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +102 -3
- package/dist/ui/widget.zod.d.ts +61 -28
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/json-schema/ai/{AIWorkflowAutomation.json → AIOrchestration.json} +5 -5
- package/json-schema/ai/{AIWorkflowExecutionResult.json → AIOrchestrationExecutionResult.json} +2 -2
- package/json-schema/ai/{AIWorkflowTrigger.json → AIOrchestrationTrigger.json} +2 -2
- package/json-schema/ai/{BatchAIWorkflowExecution.json → BatchAIOrchestrationExecution.json} +3 -3
- package/json-schema/{system → api}/ApiEndpoint.json +3 -1
- package/json-schema/{system → api}/ApiRoutes.json +7 -7
- package/json-schema/{system → api}/Discovery.json +7 -7
- package/json-schema/api/ExportRequest.json +402 -438
- package/json-schema/api/HttpMethod.json +18 -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/{data → automation}/Flow.json +31 -1
- package/json-schema/{data → automation}/FlowEdge.json +9 -0
- package/json-schema/{data/WorkflowRule.json → automation/TimeTrigger.json} +35 -25
- package/json-schema/automation/WorkflowRule.json +1031 -0
- package/json-schema/data/AggregationNode.json +23 -0
- package/json-schema/data/AsyncValidation.json +49 -2
- package/json-schema/data/ComparisonOperator.json +52 -0
- package/json-schema/data/ConditionalValidation.json +693 -46
- package/json-schema/data/CrossFieldValidation.json +33 -2
- package/json-schema/data/CurrencyConfig.json +35 -0
- package/json-schema/data/CurrencyValue.json +26 -0
- package/json-schema/data/CustomValidator.json +37 -10
- package/json-schema/data/Field.json +30 -0
- package/json-schema/data/FieldOperators.json +78 -0
- package/json-schema/data/FieldReference.json +19 -0
- package/json-schema/data/FormatValidation.json +33 -2
- package/json-schema/data/Hook.json +95 -0
- package/json-schema/data/HookContext.json +88 -0
- package/json-schema/data/HookEvent.json +29 -0
- package/json-schema/data/Index.json +10 -0
- package/json-schema/data/JSONValidation.json +85 -0
- package/json-schema/data/JoinNode.json +197 -213
- package/json-schema/data/{TriggerAction.json → JoinStrategy.json} +6 -5
- package/json-schema/data/NormalizedFilter.json +234 -0
- package/json-schema/data/Object.json +1580 -28
- package/json-schema/data/ObjectCapabilities.json +30 -12
- package/json-schema/data/Query.json +246 -262
- package/json-schema/data/RangeOperator.json +26 -0
- package/json-schema/data/ScriptValidation.json +33 -2
- package/json-schema/data/SearchConfig.json +36 -0
- package/json-schema/data/StateMachineValidation.json +33 -2
- package/json-schema/data/UniquenessValidation.json +33 -2
- package/json-schema/data/ValidationRule.json +693 -46
- package/json-schema/{system → driver}/Datasource.json +35 -0
- package/json-schema/{system → driver}/DriverCapabilities.json +10 -0
- package/json-schema/{system → driver}/DriverInterface.json +10 -0
- package/json-schema/{system → driver}/DriverOptions.json +11 -0
- package/json-schema/driver/MongoConfig.json +82 -0
- package/json-schema/driver/PostgresConfig.json +98 -0
- package/json-schema/hub/BillOfMaterials.json +70 -0
- package/json-schema/hub/ComposerRequest.json +86 -0
- package/json-schema/hub/ComposerResponse.json +2645 -0
- package/json-schema/hub/ConflictReport.json +53 -0
- package/json-schema/hub/DependencyRequirement.json +36 -0
- package/json-schema/hub/DeploymentTarget.json +38 -0
- package/json-schema/hub/HubSpace.json +279 -0
- package/json-schema/{system → hub}/License.json +11 -3
- package/json-schema/hub/MarketplacePlugin.json +141 -0
- package/json-schema/hub/PluginAuthor.json +26 -0
- package/json-schema/hub/PluginPricing.json +43 -0
- package/json-schema/hub/SpaceSubscription.json +77 -0
- package/json-schema/hub/SubscriptionStatus.json +16 -0
- package/json-schema/{system → hub}/Tenant.json +3 -5
- package/json-schema/kernel/FileMetadata.json +43 -0
- package/json-schema/kernel/KernelContext.json +62 -0
- package/json-schema/kernel/LogEntry.json +63 -0
- package/json-schema/kernel/LogFormat.json +15 -0
- package/json-schema/kernel/LogLevel.json +17 -0
- package/json-schema/kernel/LoggerConfig.json +70 -0
- package/json-schema/kernel/Manifest.json +2557 -0
- package/json-schema/{system → kernel}/PluginContext.json +8 -1
- package/json-schema/kernel/RuntimeMode.json +16 -0
- package/json-schema/kernel/ScopedStorageConfig.json +54 -0
- package/json-schema/kernel/StorageAdapterType.json +17 -0
- package/json-schema/kernel/StorageScope.json +18 -0
- package/json-schema/permission/CriteriaSharingRule.json +82 -0
- package/json-schema/{data → permission}/OWDModel.json +2 -1
- package/json-schema/{data → permission}/ObjectPermission.json +15 -0
- package/json-schema/permission/OwnerSharingRule.json +102 -0
- package/json-schema/{data → permission}/PermissionSet.json +15 -0
- package/json-schema/permission/ShareRecipientType.json +16 -0
- package/json-schema/{data → permission}/SharingLevel.json +2 -1
- package/json-schema/permission/SharingRule.json +182 -0
- package/json-schema/{data → permission}/SharingRuleType.json +1 -3
- package/json-schema/ui/FieldWidgetProps.json +30 -0
- package/json-schema/ui/FormField.json +61 -0
- package/json-schema/ui/FormSection.json +60 -1
- package/json-schema/ui/FormView.json +257 -2
- package/json-schema/{system → ui}/HttpMethod.json +2 -2
- package/json-schema/ui/HttpRequest.json +46 -0
- package/json-schema/ui/ListColumn.json +57 -0
- package/json-schema/ui/ListView.json +249 -4
- package/json-schema/ui/PaginationConfig.json +26 -0
- package/json-schema/ui/SelectionConfig.json +22 -0
- package/json-schema/ui/View.json +1012 -12
- package/json-schema/ui/ViewData.json +142 -0
- package/llms.txt +182 -0
- package/package.json +38 -16
- package/prompts/README.md +18 -0
- package/prompts/architecture.md +81 -0
- package/prompts/implement-objectai.md +39 -0
- package/prompts/implement-objectos.md +48 -0
- package/prompts/implement-objectql.md +39 -0
- package/prompts/implement-objectui.md +46 -0
- package/prompts/instructions.md +91 -0
- package/dist/ai/workflow-automation.zod.d.ts.map +0 -1
- package/dist/data/flow.zod.d.ts.map +0 -1
- package/dist/data/permission.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.d.ts +0 -63
- package/dist/data/sharing.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.js +0 -57
- package/dist/data/trigger.zod.d.ts +0 -354
- package/dist/data/trigger.zod.d.ts.map +0 -1
- package/dist/data/trigger.zod.js +0 -195
- package/dist/data/workflow.zod.d.ts +0 -986
- package/dist/data/workflow.zod.d.ts.map +0 -1
- package/dist/system/api.zod.d.ts.map +0 -1
- package/dist/system/auth-protocol.d.ts.map +0 -1
- package/dist/system/auth.zod.d.ts.map +0 -1
- package/dist/system/datasource.zod.d.ts.map +0 -1
- package/dist/system/discovery.zod.d.ts.map +0 -1
- package/dist/system/driver.zod.d.ts +0 -1631
- package/dist/system/driver.zod.d.ts.map +0 -1
- package/dist/system/identity.zod.d.ts.map +0 -1
- package/dist/system/license.zod.d.ts.map +0 -1
- package/dist/system/manifest.zod.d.ts +0 -397
- package/dist/system/manifest.zod.d.ts.map +0 -1
- package/dist/system/organization.zod.d.ts.map +0 -1
- package/dist/system/plugin.zod.d.ts.map +0 -1
- package/dist/system/policy.zod.d.ts.map +0 -1
- package/dist/system/realtime.zod.d.ts.map +0 -1
- package/dist/system/role.zod.d.ts.map +0 -1
- package/dist/system/tenant.zod.d.ts.map +0 -1
- package/dist/system/territory.zod.d.ts.map +0 -1
- package/dist/system/webhook.zod.d.ts.map +0 -1
- package/json-schema/README.md +0 -127
- package/json-schema/data/FieldMapping.json +0 -83
- package/json-schema/data/FilterNode.json +0 -52
- package/json-schema/data/FilterOperator.json +0 -26
- package/json-schema/data/LogicOperator.json +0 -14
- package/json-schema/data/Mapping.json +0 -598
- package/json-schema/data/SharingRule.json +0 -58
- package/json-schema/data/TransformType.json +0 -18
- package/json-schema/data/Trigger.json +0 -73
- package/json-schema/data/TriggerContext.json +0 -61
- package/json-schema/data/TriggerTiming.json +0 -13
- package/json-schema/system/Manifest.json +0 -315
- /package/dist/{system → api}/realtime.zod.js +0 -0
- /package/dist/{system/auth.zod.js → auth/config.zod.js} +0 -0
- /package/dist/{system → auth}/identity.zod.js +0 -0
- /package/dist/{system → auth}/organization.zod.js +0 -0
- /package/dist/{system → auth}/policy.zod.js +0 -0
- /package/dist/{system/auth-protocol.js → auth/protocol.js} +0 -0
- /package/dist/{system → auth}/role.zod.d.ts +0 -0
- /package/dist/{system → auth}/role.zod.js +0 -0
- /package/dist/{system → automation}/webhook.zod.js +0 -0
- /package/dist/{system → permission}/territory.zod.d.ts +0 -0
- /package/dist/{system → permission}/territory.zod.js +0 -0
- /package/json-schema/{system → api}/ApiCapabilities.json +0 -0
- /package/json-schema/{system → api}/ApiMapping.json +0 -0
- /package/json-schema/{system → api}/Presence.json +0 -0
- /package/json-schema/{system → api}/PresenceStatus.json +0 -0
- /package/json-schema/{system → api}/RateLimit.json +0 -0
- /package/json-schema/{system → api}/RealtimeAction.json +0 -0
- /package/json-schema/{system → api}/RealtimeEvent.json +0 -0
- /package/json-schema/{system → api}/RealtimeEventType.json +0 -0
- /package/json-schema/{system → api}/Subscription.json +0 -0
- /package/json-schema/{system → api}/SubscriptionEvent.json +0 -0
- /package/json-schema/{system → api}/TransportProtocol.json +0 -0
- /package/json-schema/{system → auth}/Account.json +0 -0
- /package/json-schema/{system → auth}/AccountLinkingConfig.json +0 -0
- /package/json-schema/{system → auth}/AuditPolicy.json +0 -0
- /package/json-schema/{system → auth}/AuthConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthPluginConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthStrategy.json +0 -0
- /package/json-schema/{system → auth}/CSRFConfig.json +0 -0
- /package/json-schema/{system → auth}/DatabaseAdapter.json +0 -0
- /package/json-schema/{system → auth}/DatabaseMapping.json +0 -0
- /package/json-schema/{system → auth}/EmailPasswordConfig.json +0 -0
- /package/json-schema/{system → auth}/EnterpriseAuthConfig.json +0 -0
- /package/json-schema/{system → auth}/Invitation.json +0 -0
- /package/json-schema/{system → auth}/InvitationStatus.json +0 -0
- /package/json-schema/{system → auth}/LDAPConfig.json +0 -0
- /package/json-schema/{system → auth}/MagicLinkConfig.json +0 -0
- /package/json-schema/{system → auth}/Member.json +0 -0
- /package/json-schema/{system → auth}/NetworkPolicy.json +0 -0
- /package/json-schema/{system → auth}/OAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/OIDCConfig.json +0 -0
- /package/json-schema/{system → auth}/Organization.json +0 -0
- /package/json-schema/{system → auth}/PasskeyConfig.json +0 -0
- /package/json-schema/{system → auth}/PasswordPolicy.json +0 -0
- /package/json-schema/{system → auth}/Policy.json +0 -0
- /package/json-schema/{system → auth}/RateLimitConfig.json +0 -0
- /package/json-schema/{system → auth}/Role.json +0 -0
- /package/json-schema/{system → auth}/SAMLConfig.json +0 -0
- /package/json-schema/{system → auth}/Session.json +0 -0
- /package/json-schema/{system → auth}/SessionConfig.json +0 -0
- /package/json-schema/{system → auth}/SessionPolicy.json +0 -0
- /package/json-schema/{system → auth}/StandardAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/TwoFactorConfig.json +0 -0
- /package/json-schema/{system → auth}/User.json +0 -0
- /package/json-schema/{system → auth}/UserFieldMapping.json +0 -0
- /package/json-schema/{system → auth}/VerificationToken.json +0 -0
- /package/json-schema/{data → automation}/CustomScriptAction.json +0 -0
- /package/json-schema/{data → automation}/EmailAlertAction.json +0 -0
- /package/json-schema/{data → automation}/FieldUpdateAction.json +0 -0
- /package/json-schema/{data → automation}/FlowNode.json +0 -0
- /package/json-schema/{data → automation}/FlowNodeAction.json +0 -0
- /package/json-schema/{data → automation}/FlowVariable.json +0 -0
- /package/json-schema/{data → automation}/HttpCallAction.json +0 -0
- /package/json-schema/{data → automation}/PushNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/SlackMessageAction.json +0 -0
- /package/json-schema/{data → automation}/SmsNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/TaskCreationAction.json +0 -0
- /package/json-schema/{data → automation}/TeamsMessageAction.json +0 -0
- /package/json-schema/{system → automation}/Webhook.json +0 -0
- /package/json-schema/{system → automation}/WebhookReceiver.json +0 -0
- /package/json-schema/{data → automation}/WebhookTriggerAction.json +0 -0
- /package/json-schema/{system → automation}/WebhookTriggerType.json +0 -0
- /package/json-schema/{data → automation}/WorkflowAction.json +0 -0
- /package/json-schema/{data → automation}/WorkflowTriggerType.json +0 -0
- /package/json-schema/{system → driver}/DatasourceCapabilities.json +0 -0
- /package/json-schema/{system → driver}/DriverDefinition.json +0 -0
- /package/json-schema/{system → driver}/DriverType.json +0 -0
- /package/json-schema/{system → hub}/DatabaseLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/Feature.json +0 -0
- /package/json-schema/{system → hub}/LevelIsolationStrategySchema.json +0 -0
- /package/json-schema/{system → hub}/MetricType.json +0 -0
- /package/json-schema/{system → hub}/Plan.json +0 -0
- /package/json-schema/{system → hub}/RowLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationConfig.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationLevel.json +0 -0
- /package/json-schema/{system → hub}/TenantQuota.json +0 -0
- /package/json-schema/{system → hub}/TenantSecurityPolicy.json +0 -0
- /package/json-schema/{system → kernel}/I18nContext.json +0 -0
- /package/json-schema/{system → kernel}/Logger.json +0 -0
- /package/json-schema/{system → kernel}/ObjectQLClient.json +0 -0
- /package/json-schema/{system → kernel}/Plugin.json +0 -0
- /package/json-schema/{system → kernel}/PluginLifecycle.json +0 -0
- /package/json-schema/{system → kernel}/Router.json +0 -0
- /package/json-schema/{system → kernel}/Scheduler.json +0 -0
- /package/json-schema/{system → kernel}/ScopedStorage.json +0 -0
- /package/json-schema/{system → kernel}/SystemAPI.json +0 -0
- /package/json-schema/{data → permission}/FieldPermission.json +0 -0
- /package/json-schema/{system → permission}/Territory.json +0 -0
- /package/json-schema/{system → permission}/TerritoryModel.json +0 -0
- /package/json-schema/{system → permission}/TerritoryType.json +0 -0
|
@@ -84,28 +84,28 @@ export declare const MagicLinkConfigSchema: z.ZodObject<{
|
|
|
84
84
|
link: z.ZodString;
|
|
85
85
|
token: z.ZodString;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
token: string;
|
|
88
87
|
to: string;
|
|
88
|
+
token: string;
|
|
89
89
|
link: string;
|
|
90
90
|
}, {
|
|
91
|
-
token: string;
|
|
92
91
|
to: string;
|
|
92
|
+
token: string;
|
|
93
93
|
link: string;
|
|
94
94
|
}>], z.ZodUnknown>, z.ZodPromise<z.ZodVoid>>>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
enabled: boolean;
|
|
97
97
|
expiryTime: number;
|
|
98
98
|
sendEmail?: ((args_0: {
|
|
99
|
-
token: string;
|
|
100
99
|
to: string;
|
|
100
|
+
token: string;
|
|
101
101
|
link: string;
|
|
102
102
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
enabled?: boolean | undefined;
|
|
105
105
|
expiryTime?: number | undefined;
|
|
106
106
|
sendEmail?: ((args_0: {
|
|
107
|
-
token: string;
|
|
108
107
|
to: string;
|
|
108
|
+
token: string;
|
|
109
109
|
link: string;
|
|
110
110
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
111
111
|
}>;
|
|
@@ -179,14 +179,14 @@ export declare const RateLimitConfigSchema: z.ZodObject<{
|
|
|
179
179
|
skipSuccessfulRequests: z.ZodDefault<z.ZodBoolean>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
enabled: boolean;
|
|
182
|
-
windowMs: number;
|
|
183
182
|
maxAttempts: number;
|
|
183
|
+
windowMs: number;
|
|
184
184
|
blockDuration: number;
|
|
185
185
|
skipSuccessfulRequests: boolean;
|
|
186
186
|
}, {
|
|
187
187
|
enabled?: boolean | undefined;
|
|
188
|
-
windowMs?: number | undefined;
|
|
189
188
|
maxAttempts?: number | undefined;
|
|
189
|
+
windowMs?: number | undefined;
|
|
190
190
|
blockDuration?: number | undefined;
|
|
191
191
|
skipSuccessfulRequests?: boolean | undefined;
|
|
192
192
|
}>;
|
|
@@ -311,18 +311,18 @@ export declare const SAMLConfigSchema: z.ZodObject<{
|
|
|
311
311
|
displayName: z.ZodOptional<z.ZodString>;
|
|
312
312
|
icon: z.ZodOptional<z.ZodString>;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
cert: string;
|
|
314
315
|
enabled: boolean;
|
|
315
316
|
issuer: string;
|
|
316
317
|
entryPoint: string;
|
|
317
|
-
cert: string;
|
|
318
318
|
signatureAlgorithm: "sha256" | "sha512";
|
|
319
319
|
icon?: string | undefined;
|
|
320
320
|
displayName?: string | undefined;
|
|
321
321
|
attributeMapping?: Record<string, string> | undefined;
|
|
322
322
|
}, {
|
|
323
|
+
cert: string;
|
|
323
324
|
issuer: string;
|
|
324
325
|
entryPoint: string;
|
|
325
|
-
cert: string;
|
|
326
326
|
icon?: string | undefined;
|
|
327
327
|
enabled?: boolean | undefined;
|
|
328
328
|
displayName?: string | undefined;
|
|
@@ -409,18 +409,18 @@ export declare const EnterpriseAuthConfigSchema: z.ZodObject<{
|
|
|
409
409
|
displayName: z.ZodOptional<z.ZodString>;
|
|
410
410
|
icon: z.ZodOptional<z.ZodString>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
cert: string;
|
|
412
413
|
enabled: boolean;
|
|
413
414
|
issuer: string;
|
|
414
415
|
entryPoint: string;
|
|
415
|
-
cert: string;
|
|
416
416
|
signatureAlgorithm: "sha256" | "sha512";
|
|
417
417
|
icon?: string | undefined;
|
|
418
418
|
displayName?: string | undefined;
|
|
419
419
|
attributeMapping?: Record<string, string> | undefined;
|
|
420
420
|
}, {
|
|
421
|
+
cert: string;
|
|
421
422
|
issuer: string;
|
|
422
423
|
entryPoint: string;
|
|
423
|
-
cert: string;
|
|
424
424
|
icon?: string | undefined;
|
|
425
425
|
enabled?: boolean | undefined;
|
|
426
426
|
displayName?: string | undefined;
|
|
@@ -470,10 +470,10 @@ export declare const EnterpriseAuthConfigSchema: z.ZodObject<{
|
|
|
470
470
|
attributeMapping?: Record<string, string> | undefined;
|
|
471
471
|
} | undefined;
|
|
472
472
|
saml?: {
|
|
473
|
+
cert: string;
|
|
473
474
|
enabled: boolean;
|
|
474
475
|
issuer: string;
|
|
475
476
|
entryPoint: string;
|
|
476
|
-
cert: string;
|
|
477
477
|
signatureAlgorithm: "sha256" | "sha512";
|
|
478
478
|
icon?: string | undefined;
|
|
479
479
|
displayName?: string | undefined;
|
|
@@ -502,9 +502,9 @@ export declare const EnterpriseAuthConfigSchema: z.ZodObject<{
|
|
|
502
502
|
attributeMapping?: Record<string, string> | undefined;
|
|
503
503
|
} | undefined;
|
|
504
504
|
saml?: {
|
|
505
|
+
cert: string;
|
|
505
506
|
issuer: string;
|
|
506
507
|
entryPoint: string;
|
|
507
|
-
cert: string;
|
|
508
508
|
icon?: string | undefined;
|
|
509
509
|
enabled?: boolean | undefined;
|
|
510
510
|
displayName?: string | undefined;
|
|
@@ -565,13 +565,13 @@ export declare const DatabaseAdapterSchema: z.ZodObject<{
|
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
566
|
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
567
567
|
tablePrefix: string;
|
|
568
|
-
connectionString?: string | undefined;
|
|
569
568
|
schema?: string | undefined;
|
|
569
|
+
connectionString?: string | undefined;
|
|
570
570
|
}, {
|
|
571
571
|
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
572
|
+
schema?: string | undefined;
|
|
572
573
|
connectionString?: string | undefined;
|
|
573
574
|
tablePrefix?: string | undefined;
|
|
574
|
-
schema?: string | undefined;
|
|
575
575
|
}>;
|
|
576
576
|
export type DatabaseAdapter = z.infer<typeof DatabaseAdapterSchema>;
|
|
577
577
|
/**
|
|
@@ -638,8 +638,8 @@ export declare const DatabaseMappingSchema: z.ZodObject<{
|
|
|
638
638
|
user?: Record<string, string> | undefined;
|
|
639
639
|
verificationToken?: Record<string, string> | undefined;
|
|
640
640
|
}, {
|
|
641
|
-
user?: Record<string, string> | undefined;
|
|
642
641
|
session?: Record<string, string> | undefined;
|
|
642
|
+
user?: Record<string, string> | undefined;
|
|
643
643
|
account?: Record<string, string> | undefined;
|
|
644
644
|
verificationToken?: Record<string, string> | undefined;
|
|
645
645
|
}>;
|
|
@@ -759,28 +759,28 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
759
759
|
link: z.ZodString;
|
|
760
760
|
token: z.ZodString;
|
|
761
761
|
}, "strip", z.ZodTypeAny, {
|
|
762
|
-
token: string;
|
|
763
762
|
to: string;
|
|
763
|
+
token: string;
|
|
764
764
|
link: string;
|
|
765
765
|
}, {
|
|
766
|
-
token: string;
|
|
767
766
|
to: string;
|
|
767
|
+
token: string;
|
|
768
768
|
link: string;
|
|
769
769
|
}>], z.ZodUnknown>, z.ZodPromise<z.ZodVoid>>>;
|
|
770
770
|
}, "strip", z.ZodTypeAny, {
|
|
771
771
|
enabled: boolean;
|
|
772
772
|
expiryTime: number;
|
|
773
773
|
sendEmail?: ((args_0: {
|
|
774
|
-
token: string;
|
|
775
774
|
to: string;
|
|
775
|
+
token: string;
|
|
776
776
|
link: string;
|
|
777
777
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
778
778
|
}, {
|
|
779
779
|
enabled?: boolean | undefined;
|
|
780
780
|
expiryTime?: number | undefined;
|
|
781
781
|
sendEmail?: ((args_0: {
|
|
782
|
-
token: string;
|
|
783
782
|
to: string;
|
|
783
|
+
token: string;
|
|
784
784
|
link: string;
|
|
785
785
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
786
786
|
}>>;
|
|
@@ -906,14 +906,14 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
906
906
|
skipSuccessfulRequests: z.ZodDefault<z.ZodBoolean>;
|
|
907
907
|
}, "strip", z.ZodTypeAny, {
|
|
908
908
|
enabled: boolean;
|
|
909
|
-
windowMs: number;
|
|
910
909
|
maxAttempts: number;
|
|
910
|
+
windowMs: number;
|
|
911
911
|
blockDuration: number;
|
|
912
912
|
skipSuccessfulRequests: boolean;
|
|
913
913
|
}, {
|
|
914
914
|
enabled?: boolean | undefined;
|
|
915
|
-
windowMs?: number | undefined;
|
|
916
915
|
maxAttempts?: number | undefined;
|
|
916
|
+
windowMs?: number | undefined;
|
|
917
917
|
blockDuration?: number | undefined;
|
|
918
918
|
skipSuccessfulRequests?: boolean | undefined;
|
|
919
919
|
}>>;
|
|
@@ -1048,18 +1048,18 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1048
1048
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1049
1049
|
icon: z.ZodOptional<z.ZodString>;
|
|
1050
1050
|
}, "strip", z.ZodTypeAny, {
|
|
1051
|
+
cert: string;
|
|
1051
1052
|
enabled: boolean;
|
|
1052
1053
|
issuer: string;
|
|
1053
1054
|
entryPoint: string;
|
|
1054
|
-
cert: string;
|
|
1055
1055
|
signatureAlgorithm: "sha256" | "sha512";
|
|
1056
1056
|
icon?: string | undefined;
|
|
1057
1057
|
displayName?: string | undefined;
|
|
1058
1058
|
attributeMapping?: Record<string, string> | undefined;
|
|
1059
1059
|
}, {
|
|
1060
|
+
cert: string;
|
|
1060
1061
|
issuer: string;
|
|
1061
1062
|
entryPoint: string;
|
|
1062
|
-
cert: string;
|
|
1063
1063
|
icon?: string | undefined;
|
|
1064
1064
|
enabled?: boolean | undefined;
|
|
1065
1065
|
displayName?: string | undefined;
|
|
@@ -1109,10 +1109,10 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1109
1109
|
attributeMapping?: Record<string, string> | undefined;
|
|
1110
1110
|
} | undefined;
|
|
1111
1111
|
saml?: {
|
|
1112
|
+
cert: string;
|
|
1112
1113
|
enabled: boolean;
|
|
1113
1114
|
issuer: string;
|
|
1114
1115
|
entryPoint: string;
|
|
1115
|
-
cert: string;
|
|
1116
1116
|
signatureAlgorithm: "sha256" | "sha512";
|
|
1117
1117
|
icon?: string | undefined;
|
|
1118
1118
|
displayName?: string | undefined;
|
|
@@ -1141,9 +1141,9 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1141
1141
|
attributeMapping?: Record<string, string> | undefined;
|
|
1142
1142
|
} | undefined;
|
|
1143
1143
|
saml?: {
|
|
1144
|
+
cert: string;
|
|
1144
1145
|
issuer: string;
|
|
1145
1146
|
entryPoint: string;
|
|
1146
|
-
cert: string;
|
|
1147
1147
|
icon?: string | undefined;
|
|
1148
1148
|
enabled?: boolean | undefined;
|
|
1149
1149
|
displayName?: string | undefined;
|
|
@@ -1201,13 +1201,13 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1201
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1202
1202
|
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
1203
1203
|
tablePrefix: string;
|
|
1204
|
-
connectionString?: string | undefined;
|
|
1205
1204
|
schema?: string | undefined;
|
|
1205
|
+
connectionString?: string | undefined;
|
|
1206
1206
|
}, {
|
|
1207
1207
|
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
1208
|
+
schema?: string | undefined;
|
|
1208
1209
|
connectionString?: string | undefined;
|
|
1209
1210
|
tablePrefix?: string | undefined;
|
|
1210
|
-
schema?: string | undefined;
|
|
1211
1211
|
}>>;
|
|
1212
1212
|
/**
|
|
1213
1213
|
* Database field mapping configuration
|
|
@@ -1244,8 +1244,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1244
1244
|
user?: Record<string, string> | undefined;
|
|
1245
1245
|
verificationToken?: Record<string, string> | undefined;
|
|
1246
1246
|
}, {
|
|
1247
|
-
user?: Record<string, string> | undefined;
|
|
1248
1247
|
session?: Record<string, string> | undefined;
|
|
1248
|
+
user?: Record<string, string> | undefined;
|
|
1249
1249
|
account?: Record<string, string> | undefined;
|
|
1250
1250
|
verificationToken?: Record<string, string> | undefined;
|
|
1251
1251
|
}>>;
|
|
@@ -1280,11 +1280,11 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1280
1280
|
user: z.ZodAny;
|
|
1281
1281
|
session: z.ZodAny;
|
|
1282
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1283
|
-
user?: any;
|
|
1284
1283
|
session?: any;
|
|
1285
|
-
}, {
|
|
1286
1284
|
user?: any;
|
|
1285
|
+
}, {
|
|
1287
1286
|
session?: any;
|
|
1287
|
+
user?: any;
|
|
1288
1288
|
}>], z.ZodUnknown>, z.ZodPromise<z.ZodVoid>>>;
|
|
1289
1289
|
beforeSignUp: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
1290
1290
|
email: z.ZodString;
|
|
@@ -1322,8 +1322,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1322
1322
|
email: string;
|
|
1323
1323
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1324
1324
|
afterSignIn?: ((args_0: {
|
|
1325
|
-
user?: any;
|
|
1326
1325
|
session?: any;
|
|
1326
|
+
user?: any;
|
|
1327
1327
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1328
1328
|
beforeSignUp?: ((args_0: {
|
|
1329
1329
|
email: string;
|
|
@@ -1343,8 +1343,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1343
1343
|
email: string;
|
|
1344
1344
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1345
1345
|
afterSignIn?: ((args_0: {
|
|
1346
|
-
user?: any;
|
|
1347
1346
|
session?: any;
|
|
1347
|
+
user?: any;
|
|
1348
1348
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1349
1349
|
beforeSignUp?: ((args_0: {
|
|
1350
1350
|
email: string;
|
|
@@ -1432,15 +1432,6 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1432
1432
|
label: string;
|
|
1433
1433
|
name: string;
|
|
1434
1434
|
active: boolean;
|
|
1435
|
-
driver: string;
|
|
1436
|
-
secret: string;
|
|
1437
|
-
rateLimit: {
|
|
1438
|
-
enabled: boolean;
|
|
1439
|
-
windowMs: number;
|
|
1440
|
-
maxAttempts: number;
|
|
1441
|
-
blockDuration: number;
|
|
1442
|
-
skipSuccessfulRequests: boolean;
|
|
1443
|
-
};
|
|
1444
1435
|
session: {
|
|
1445
1436
|
expiresIn: number;
|
|
1446
1437
|
updateAge: number;
|
|
@@ -1451,8 +1442,17 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1451
1442
|
cookieHttpOnly: boolean;
|
|
1452
1443
|
cookieDomain?: string | undefined;
|
|
1453
1444
|
};
|
|
1454
|
-
|
|
1445
|
+
driver: string;
|
|
1446
|
+
secret: string;
|
|
1447
|
+
strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
|
|
1455
1448
|
baseUrl: string;
|
|
1449
|
+
rateLimit: {
|
|
1450
|
+
enabled: boolean;
|
|
1451
|
+
maxAttempts: number;
|
|
1452
|
+
windowMs: number;
|
|
1453
|
+
blockDuration: number;
|
|
1454
|
+
skipSuccessfulRequests: boolean;
|
|
1455
|
+
};
|
|
1456
1456
|
csrf: {
|
|
1457
1457
|
enabled: boolean;
|
|
1458
1458
|
cookieName: string;
|
|
@@ -1479,6 +1479,12 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1479
1479
|
options?: Record<string, any> | undefined;
|
|
1480
1480
|
}[];
|
|
1481
1481
|
allowRegistration: boolean;
|
|
1482
|
+
database?: {
|
|
1483
|
+
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
1484
|
+
tablePrefix: string;
|
|
1485
|
+
schema?: string | undefined;
|
|
1486
|
+
connectionString?: string | undefined;
|
|
1487
|
+
} | undefined;
|
|
1482
1488
|
email?: {
|
|
1483
1489
|
provider: "custom" | "smtp" | "sendgrid" | "mailgun" | "ses" | "resend";
|
|
1484
1490
|
from: string;
|
|
@@ -1517,10 +1523,10 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1517
1523
|
attributeMapping?: Record<string, string> | undefined;
|
|
1518
1524
|
} | undefined;
|
|
1519
1525
|
saml?: {
|
|
1526
|
+
cert: string;
|
|
1520
1527
|
enabled: boolean;
|
|
1521
1528
|
issuer: string;
|
|
1522
1529
|
entryPoint: string;
|
|
1523
|
-
cert: string;
|
|
1524
1530
|
signatureAlgorithm: "sha256" | "sha512";
|
|
1525
1531
|
icon?: string | undefined;
|
|
1526
1532
|
displayName?: string | undefined;
|
|
@@ -1550,8 +1556,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1550
1556
|
enabled: boolean;
|
|
1551
1557
|
expiryTime: number;
|
|
1552
1558
|
sendEmail?: ((args_0: {
|
|
1553
|
-
token: string;
|
|
1554
1559
|
to: string;
|
|
1560
|
+
token: string;
|
|
1555
1561
|
link: string;
|
|
1556
1562
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1557
1563
|
} | undefined;
|
|
@@ -1570,12 +1576,6 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1570
1576
|
defaultRole: string;
|
|
1571
1577
|
creatorRole: string;
|
|
1572
1578
|
} | undefined;
|
|
1573
|
-
database?: {
|
|
1574
|
-
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
1575
|
-
tablePrefix: string;
|
|
1576
|
-
connectionString?: string | undefined;
|
|
1577
|
-
schema?: string | undefined;
|
|
1578
|
-
} | undefined;
|
|
1579
1579
|
mapping?: {
|
|
1580
1580
|
session: Record<string, string>;
|
|
1581
1581
|
account: Record<string, string>;
|
|
@@ -1587,8 +1587,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1587
1587
|
email: string;
|
|
1588
1588
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1589
1589
|
afterSignIn?: ((args_0: {
|
|
1590
|
-
user?: any;
|
|
1591
1590
|
session?: any;
|
|
1591
|
+
user?: any;
|
|
1592
1592
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1593
1593
|
beforeSignUp?: ((args_0: {
|
|
1594
1594
|
email: string;
|
|
@@ -1621,8 +1621,14 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1621
1621
|
label: string;
|
|
1622
1622
|
name: string;
|
|
1623
1623
|
secret: string;
|
|
1624
|
-
strategies: ("
|
|
1624
|
+
strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
|
|
1625
1625
|
baseUrl: string;
|
|
1626
|
+
database?: {
|
|
1627
|
+
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
1628
|
+
schema?: string | undefined;
|
|
1629
|
+
connectionString?: string | undefined;
|
|
1630
|
+
tablePrefix?: string | undefined;
|
|
1631
|
+
} | undefined;
|
|
1626
1632
|
email?: {
|
|
1627
1633
|
provider: "custom" | "smtp" | "sendgrid" | "mailgun" | "ses" | "resend";
|
|
1628
1634
|
from: string;
|
|
@@ -1630,14 +1636,17 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1630
1636
|
fromName?: string | undefined;
|
|
1631
1637
|
} | undefined;
|
|
1632
1638
|
active?: boolean | undefined;
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1639
|
+
session?: {
|
|
1640
|
+
expiresIn?: number | undefined;
|
|
1641
|
+
updateAge?: number | undefined;
|
|
1642
|
+
cookieName?: string | undefined;
|
|
1643
|
+
cookieSecure?: boolean | undefined;
|
|
1644
|
+
cookieSameSite?: "strict" | "none" | "lax" | undefined;
|
|
1645
|
+
cookieDomain?: string | undefined;
|
|
1646
|
+
cookiePath?: string | undefined;
|
|
1647
|
+
cookieHttpOnly?: boolean | undefined;
|
|
1640
1648
|
} | undefined;
|
|
1649
|
+
driver?: string | undefined;
|
|
1641
1650
|
oauth?: {
|
|
1642
1651
|
providers: {
|
|
1643
1652
|
provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
|
|
@@ -1670,9 +1679,9 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1670
1679
|
attributeMapping?: Record<string, string> | undefined;
|
|
1671
1680
|
} | undefined;
|
|
1672
1681
|
saml?: {
|
|
1682
|
+
cert: string;
|
|
1673
1683
|
issuer: string;
|
|
1674
1684
|
entryPoint: string;
|
|
1675
|
-
cert: string;
|
|
1676
1685
|
icon?: string | undefined;
|
|
1677
1686
|
enabled?: boolean | undefined;
|
|
1678
1687
|
displayName?: string | undefined;
|
|
@@ -1691,16 +1700,6 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1691
1700
|
groupSearchBase?: string | undefined;
|
|
1692
1701
|
} | undefined;
|
|
1693
1702
|
} | undefined;
|
|
1694
|
-
session?: {
|
|
1695
|
-
expiresIn?: number | undefined;
|
|
1696
|
-
updateAge?: number | undefined;
|
|
1697
|
-
cookieName?: string | undefined;
|
|
1698
|
-
cookieSecure?: boolean | undefined;
|
|
1699
|
-
cookieSameSite?: "strict" | "none" | "lax" | undefined;
|
|
1700
|
-
cookieDomain?: string | undefined;
|
|
1701
|
-
cookiePath?: string | undefined;
|
|
1702
|
-
cookieHttpOnly?: boolean | undefined;
|
|
1703
|
-
} | undefined;
|
|
1704
1703
|
emailPassword?: {
|
|
1705
1704
|
enabled?: boolean | undefined;
|
|
1706
1705
|
requireEmailVerification?: boolean | undefined;
|
|
@@ -1713,11 +1712,18 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1713
1712
|
enabled?: boolean | undefined;
|
|
1714
1713
|
expiryTime?: number | undefined;
|
|
1715
1714
|
sendEmail?: ((args_0: {
|
|
1716
|
-
token: string;
|
|
1717
1715
|
to: string;
|
|
1716
|
+
token: string;
|
|
1718
1717
|
link: string;
|
|
1719
1718
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1720
1719
|
} | undefined;
|
|
1720
|
+
rateLimit?: {
|
|
1721
|
+
enabled?: boolean | undefined;
|
|
1722
|
+
maxAttempts?: number | undefined;
|
|
1723
|
+
windowMs?: number | undefined;
|
|
1724
|
+
blockDuration?: number | undefined;
|
|
1725
|
+
skipSuccessfulRequests?: boolean | undefined;
|
|
1726
|
+
} | undefined;
|
|
1721
1727
|
csrf?: {
|
|
1722
1728
|
enabled?: boolean | undefined;
|
|
1723
1729
|
cookieName?: string | undefined;
|
|
@@ -1753,15 +1759,9 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1753
1759
|
createdAt?: string | undefined;
|
|
1754
1760
|
updatedAt?: string | undefined;
|
|
1755
1761
|
} | undefined;
|
|
1756
|
-
database?: {
|
|
1757
|
-
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
1758
|
-
connectionString?: string | undefined;
|
|
1759
|
-
tablePrefix?: string | undefined;
|
|
1760
|
-
schema?: string | undefined;
|
|
1761
|
-
} | undefined;
|
|
1762
1762
|
mapping?: {
|
|
1763
|
-
user?: Record<string, string> | undefined;
|
|
1764
1763
|
session?: Record<string, string> | undefined;
|
|
1764
|
+
user?: Record<string, string> | undefined;
|
|
1765
1765
|
account?: Record<string, string> | undefined;
|
|
1766
1766
|
verificationToken?: Record<string, string> | undefined;
|
|
1767
1767
|
} | undefined;
|
|
@@ -1775,8 +1775,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
|
|
|
1775
1775
|
email: string;
|
|
1776
1776
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1777
1777
|
afterSignIn?: ((args_0: {
|
|
1778
|
-
user?: any;
|
|
1779
1778
|
session?: any;
|
|
1779
|
+
user?: any;
|
|
1780
1780
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1781
1781
|
beforeSignUp?: ((args_0: {
|
|
1782
1782
|
email: string;
|
|
@@ -1882,28 +1882,28 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
1882
1882
|
link: z.ZodString;
|
|
1883
1883
|
token: z.ZodString;
|
|
1884
1884
|
}, "strip", z.ZodTypeAny, {
|
|
1885
|
-
token: string;
|
|
1886
1885
|
to: string;
|
|
1886
|
+
token: string;
|
|
1887
1887
|
link: string;
|
|
1888
1888
|
}, {
|
|
1889
|
-
token: string;
|
|
1890
1889
|
to: string;
|
|
1890
|
+
token: string;
|
|
1891
1891
|
link: string;
|
|
1892
1892
|
}>], z.ZodUnknown>, z.ZodPromise<z.ZodVoid>>>;
|
|
1893
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1894
1894
|
enabled: boolean;
|
|
1895
1895
|
expiryTime: number;
|
|
1896
1896
|
sendEmail?: ((args_0: {
|
|
1897
|
-
token: string;
|
|
1898
1897
|
to: string;
|
|
1898
|
+
token: string;
|
|
1899
1899
|
link: string;
|
|
1900
1900
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1901
1901
|
}, {
|
|
1902
1902
|
enabled?: boolean | undefined;
|
|
1903
1903
|
expiryTime?: number | undefined;
|
|
1904
1904
|
sendEmail?: ((args_0: {
|
|
1905
|
-
token: string;
|
|
1906
1905
|
to: string;
|
|
1906
|
+
token: string;
|
|
1907
1907
|
link: string;
|
|
1908
1908
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
1909
1909
|
}>>;
|
|
@@ -2029,14 +2029,14 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2029
2029
|
skipSuccessfulRequests: z.ZodDefault<z.ZodBoolean>;
|
|
2030
2030
|
}, "strip", z.ZodTypeAny, {
|
|
2031
2031
|
enabled: boolean;
|
|
2032
|
-
windowMs: number;
|
|
2033
2032
|
maxAttempts: number;
|
|
2033
|
+
windowMs: number;
|
|
2034
2034
|
blockDuration: number;
|
|
2035
2035
|
skipSuccessfulRequests: boolean;
|
|
2036
2036
|
}, {
|
|
2037
2037
|
enabled?: boolean | undefined;
|
|
2038
|
-
windowMs?: number | undefined;
|
|
2039
2038
|
maxAttempts?: number | undefined;
|
|
2039
|
+
windowMs?: number | undefined;
|
|
2040
2040
|
blockDuration?: number | undefined;
|
|
2041
2041
|
skipSuccessfulRequests?: boolean | undefined;
|
|
2042
2042
|
}>>;
|
|
@@ -2171,18 +2171,18 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2171
2171
|
displayName: z.ZodOptional<z.ZodString>;
|
|
2172
2172
|
icon: z.ZodOptional<z.ZodString>;
|
|
2173
2173
|
}, "strip", z.ZodTypeAny, {
|
|
2174
|
+
cert: string;
|
|
2174
2175
|
enabled: boolean;
|
|
2175
2176
|
issuer: string;
|
|
2176
2177
|
entryPoint: string;
|
|
2177
|
-
cert: string;
|
|
2178
2178
|
signatureAlgorithm: "sha256" | "sha512";
|
|
2179
2179
|
icon?: string | undefined;
|
|
2180
2180
|
displayName?: string | undefined;
|
|
2181
2181
|
attributeMapping?: Record<string, string> | undefined;
|
|
2182
2182
|
}, {
|
|
2183
|
+
cert: string;
|
|
2183
2184
|
issuer: string;
|
|
2184
2185
|
entryPoint: string;
|
|
2185
|
-
cert: string;
|
|
2186
2186
|
icon?: string | undefined;
|
|
2187
2187
|
enabled?: boolean | undefined;
|
|
2188
2188
|
displayName?: string | undefined;
|
|
@@ -2232,10 +2232,10 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2232
2232
|
attributeMapping?: Record<string, string> | undefined;
|
|
2233
2233
|
} | undefined;
|
|
2234
2234
|
saml?: {
|
|
2235
|
+
cert: string;
|
|
2235
2236
|
enabled: boolean;
|
|
2236
2237
|
issuer: string;
|
|
2237
2238
|
entryPoint: string;
|
|
2238
|
-
cert: string;
|
|
2239
2239
|
signatureAlgorithm: "sha256" | "sha512";
|
|
2240
2240
|
icon?: string | undefined;
|
|
2241
2241
|
displayName?: string | undefined;
|
|
@@ -2264,9 +2264,9 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2264
2264
|
attributeMapping?: Record<string, string> | undefined;
|
|
2265
2265
|
} | undefined;
|
|
2266
2266
|
saml?: {
|
|
2267
|
+
cert: string;
|
|
2267
2268
|
issuer: string;
|
|
2268
2269
|
entryPoint: string;
|
|
2269
|
-
cert: string;
|
|
2270
2270
|
icon?: string | undefined;
|
|
2271
2271
|
enabled?: boolean | undefined;
|
|
2272
2272
|
displayName?: string | undefined;
|
|
@@ -2324,13 +2324,13 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2324
2324
|
}, "strip", z.ZodTypeAny, {
|
|
2325
2325
|
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2326
2326
|
tablePrefix: string;
|
|
2327
|
-
connectionString?: string | undefined;
|
|
2328
2327
|
schema?: string | undefined;
|
|
2328
|
+
connectionString?: string | undefined;
|
|
2329
2329
|
}, {
|
|
2330
2330
|
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2331
|
+
schema?: string | undefined;
|
|
2331
2332
|
connectionString?: string | undefined;
|
|
2332
2333
|
tablePrefix?: string | undefined;
|
|
2333
|
-
schema?: string | undefined;
|
|
2334
2334
|
}>>;
|
|
2335
2335
|
/**
|
|
2336
2336
|
* Database field mapping configuration
|
|
@@ -2367,8 +2367,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2367
2367
|
user?: Record<string, string> | undefined;
|
|
2368
2368
|
verificationToken?: Record<string, string> | undefined;
|
|
2369
2369
|
}, {
|
|
2370
|
-
user?: Record<string, string> | undefined;
|
|
2371
2370
|
session?: Record<string, string> | undefined;
|
|
2371
|
+
user?: Record<string, string> | undefined;
|
|
2372
2372
|
account?: Record<string, string> | undefined;
|
|
2373
2373
|
verificationToken?: Record<string, string> | undefined;
|
|
2374
2374
|
}>>;
|
|
@@ -2403,11 +2403,11 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2403
2403
|
user: z.ZodAny;
|
|
2404
2404
|
session: z.ZodAny;
|
|
2405
2405
|
}, "strip", z.ZodTypeAny, {
|
|
2406
|
-
user?: any;
|
|
2407
2406
|
session?: any;
|
|
2408
|
-
}, {
|
|
2409
2407
|
user?: any;
|
|
2408
|
+
}, {
|
|
2410
2409
|
session?: any;
|
|
2410
|
+
user?: any;
|
|
2411
2411
|
}>], z.ZodUnknown>, z.ZodPromise<z.ZodVoid>>>;
|
|
2412
2412
|
beforeSignUp: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
2413
2413
|
email: z.ZodString;
|
|
@@ -2445,8 +2445,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2445
2445
|
email: string;
|
|
2446
2446
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2447
2447
|
afterSignIn?: ((args_0: {
|
|
2448
|
-
user?: any;
|
|
2449
2448
|
session?: any;
|
|
2449
|
+
user?: any;
|
|
2450
2450
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2451
2451
|
beforeSignUp?: ((args_0: {
|
|
2452
2452
|
email: string;
|
|
@@ -2466,8 +2466,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2466
2466
|
email: string;
|
|
2467
2467
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2468
2468
|
afterSignIn?: ((args_0: {
|
|
2469
|
-
user?: any;
|
|
2470
2469
|
session?: any;
|
|
2470
|
+
user?: any;
|
|
2471
2471
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2472
2472
|
beforeSignUp?: ((args_0: {
|
|
2473
2473
|
email: string;
|
|
@@ -2555,15 +2555,6 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2555
2555
|
label: string;
|
|
2556
2556
|
name: string;
|
|
2557
2557
|
active: boolean;
|
|
2558
|
-
driver: string;
|
|
2559
|
-
secret: string;
|
|
2560
|
-
rateLimit: {
|
|
2561
|
-
enabled: boolean;
|
|
2562
|
-
windowMs: number;
|
|
2563
|
-
maxAttempts: number;
|
|
2564
|
-
blockDuration: number;
|
|
2565
|
-
skipSuccessfulRequests: boolean;
|
|
2566
|
-
};
|
|
2567
2558
|
session: {
|
|
2568
2559
|
expiresIn: number;
|
|
2569
2560
|
updateAge: number;
|
|
@@ -2574,8 +2565,17 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2574
2565
|
cookieHttpOnly: boolean;
|
|
2575
2566
|
cookieDomain?: string | undefined;
|
|
2576
2567
|
};
|
|
2577
|
-
|
|
2568
|
+
driver: string;
|
|
2569
|
+
secret: string;
|
|
2570
|
+
strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
|
|
2578
2571
|
baseUrl: string;
|
|
2572
|
+
rateLimit: {
|
|
2573
|
+
enabled: boolean;
|
|
2574
|
+
maxAttempts: number;
|
|
2575
|
+
windowMs: number;
|
|
2576
|
+
blockDuration: number;
|
|
2577
|
+
skipSuccessfulRequests: boolean;
|
|
2578
|
+
};
|
|
2579
2579
|
csrf: {
|
|
2580
2580
|
enabled: boolean;
|
|
2581
2581
|
cookieName: string;
|
|
@@ -2602,6 +2602,12 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2602
2602
|
options?: Record<string, any> | undefined;
|
|
2603
2603
|
}[];
|
|
2604
2604
|
allowRegistration: boolean;
|
|
2605
|
+
database?: {
|
|
2606
|
+
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2607
|
+
tablePrefix: string;
|
|
2608
|
+
schema?: string | undefined;
|
|
2609
|
+
connectionString?: string | undefined;
|
|
2610
|
+
} | undefined;
|
|
2605
2611
|
email?: {
|
|
2606
2612
|
provider: "custom" | "smtp" | "sendgrid" | "mailgun" | "ses" | "resend";
|
|
2607
2613
|
from: string;
|
|
@@ -2640,10 +2646,10 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2640
2646
|
attributeMapping?: Record<string, string> | undefined;
|
|
2641
2647
|
} | undefined;
|
|
2642
2648
|
saml?: {
|
|
2649
|
+
cert: string;
|
|
2643
2650
|
enabled: boolean;
|
|
2644
2651
|
issuer: string;
|
|
2645
2652
|
entryPoint: string;
|
|
2646
|
-
cert: string;
|
|
2647
2653
|
signatureAlgorithm: "sha256" | "sha512";
|
|
2648
2654
|
icon?: string | undefined;
|
|
2649
2655
|
displayName?: string | undefined;
|
|
@@ -2673,8 +2679,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2673
2679
|
enabled: boolean;
|
|
2674
2680
|
expiryTime: number;
|
|
2675
2681
|
sendEmail?: ((args_0: {
|
|
2676
|
-
token: string;
|
|
2677
2682
|
to: string;
|
|
2683
|
+
token: string;
|
|
2678
2684
|
link: string;
|
|
2679
2685
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2680
2686
|
} | undefined;
|
|
@@ -2693,12 +2699,6 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2693
2699
|
defaultRole: string;
|
|
2694
2700
|
creatorRole: string;
|
|
2695
2701
|
} | undefined;
|
|
2696
|
-
database?: {
|
|
2697
|
-
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2698
|
-
tablePrefix: string;
|
|
2699
|
-
connectionString?: string | undefined;
|
|
2700
|
-
schema?: string | undefined;
|
|
2701
|
-
} | undefined;
|
|
2702
2702
|
mapping?: {
|
|
2703
2703
|
session: Record<string, string>;
|
|
2704
2704
|
account: Record<string, string>;
|
|
@@ -2710,8 +2710,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2710
2710
|
email: string;
|
|
2711
2711
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2712
2712
|
afterSignIn?: ((args_0: {
|
|
2713
|
-
user?: any;
|
|
2714
2713
|
session?: any;
|
|
2714
|
+
user?: any;
|
|
2715
2715
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2716
2716
|
beforeSignUp?: ((args_0: {
|
|
2717
2717
|
email: string;
|
|
@@ -2744,8 +2744,14 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2744
2744
|
label: string;
|
|
2745
2745
|
name: string;
|
|
2746
2746
|
secret: string;
|
|
2747
|
-
strategies: ("
|
|
2747
|
+
strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
|
|
2748
2748
|
baseUrl: string;
|
|
2749
|
+
database?: {
|
|
2750
|
+
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2751
|
+
schema?: string | undefined;
|
|
2752
|
+
connectionString?: string | undefined;
|
|
2753
|
+
tablePrefix?: string | undefined;
|
|
2754
|
+
} | undefined;
|
|
2749
2755
|
email?: {
|
|
2750
2756
|
provider: "custom" | "smtp" | "sendgrid" | "mailgun" | "ses" | "resend";
|
|
2751
2757
|
from: string;
|
|
@@ -2753,14 +2759,17 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2753
2759
|
fromName?: string | undefined;
|
|
2754
2760
|
} | undefined;
|
|
2755
2761
|
active?: boolean | undefined;
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2762
|
+
session?: {
|
|
2763
|
+
expiresIn?: number | undefined;
|
|
2764
|
+
updateAge?: number | undefined;
|
|
2765
|
+
cookieName?: string | undefined;
|
|
2766
|
+
cookieSecure?: boolean | undefined;
|
|
2767
|
+
cookieSameSite?: "strict" | "none" | "lax" | undefined;
|
|
2768
|
+
cookieDomain?: string | undefined;
|
|
2769
|
+
cookiePath?: string | undefined;
|
|
2770
|
+
cookieHttpOnly?: boolean | undefined;
|
|
2763
2771
|
} | undefined;
|
|
2772
|
+
driver?: string | undefined;
|
|
2764
2773
|
oauth?: {
|
|
2765
2774
|
providers: {
|
|
2766
2775
|
provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
|
|
@@ -2793,9 +2802,9 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2793
2802
|
attributeMapping?: Record<string, string> | undefined;
|
|
2794
2803
|
} | undefined;
|
|
2795
2804
|
saml?: {
|
|
2805
|
+
cert: string;
|
|
2796
2806
|
issuer: string;
|
|
2797
2807
|
entryPoint: string;
|
|
2798
|
-
cert: string;
|
|
2799
2808
|
icon?: string | undefined;
|
|
2800
2809
|
enabled?: boolean | undefined;
|
|
2801
2810
|
displayName?: string | undefined;
|
|
@@ -2814,16 +2823,6 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2814
2823
|
groupSearchBase?: string | undefined;
|
|
2815
2824
|
} | undefined;
|
|
2816
2825
|
} | undefined;
|
|
2817
|
-
session?: {
|
|
2818
|
-
expiresIn?: number | undefined;
|
|
2819
|
-
updateAge?: number | undefined;
|
|
2820
|
-
cookieName?: string | undefined;
|
|
2821
|
-
cookieSecure?: boolean | undefined;
|
|
2822
|
-
cookieSameSite?: "strict" | "none" | "lax" | undefined;
|
|
2823
|
-
cookieDomain?: string | undefined;
|
|
2824
|
-
cookiePath?: string | undefined;
|
|
2825
|
-
cookieHttpOnly?: boolean | undefined;
|
|
2826
|
-
} | undefined;
|
|
2827
2826
|
emailPassword?: {
|
|
2828
2827
|
enabled?: boolean | undefined;
|
|
2829
2828
|
requireEmailVerification?: boolean | undefined;
|
|
@@ -2836,11 +2835,18 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2836
2835
|
enabled?: boolean | undefined;
|
|
2837
2836
|
expiryTime?: number | undefined;
|
|
2838
2837
|
sendEmail?: ((args_0: {
|
|
2839
|
-
token: string;
|
|
2840
2838
|
to: string;
|
|
2839
|
+
token: string;
|
|
2841
2840
|
link: string;
|
|
2842
2841
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2843
2842
|
} | undefined;
|
|
2843
|
+
rateLimit?: {
|
|
2844
|
+
enabled?: boolean | undefined;
|
|
2845
|
+
maxAttempts?: number | undefined;
|
|
2846
|
+
windowMs?: number | undefined;
|
|
2847
|
+
blockDuration?: number | undefined;
|
|
2848
|
+
skipSuccessfulRequests?: boolean | undefined;
|
|
2849
|
+
} | undefined;
|
|
2844
2850
|
csrf?: {
|
|
2845
2851
|
enabled?: boolean | undefined;
|
|
2846
2852
|
cookieName?: string | undefined;
|
|
@@ -2876,15 +2882,9 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2876
2882
|
createdAt?: string | undefined;
|
|
2877
2883
|
updatedAt?: string | undefined;
|
|
2878
2884
|
} | undefined;
|
|
2879
|
-
database?: {
|
|
2880
|
-
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2881
|
-
connectionString?: string | undefined;
|
|
2882
|
-
tablePrefix?: string | undefined;
|
|
2883
|
-
schema?: string | undefined;
|
|
2884
|
-
} | undefined;
|
|
2885
2885
|
mapping?: {
|
|
2886
|
-
user?: Record<string, string> | undefined;
|
|
2887
2886
|
session?: Record<string, string> | undefined;
|
|
2887
|
+
user?: Record<string, string> | undefined;
|
|
2888
2888
|
account?: Record<string, string> | undefined;
|
|
2889
2889
|
verificationToken?: Record<string, string> | undefined;
|
|
2890
2890
|
} | undefined;
|
|
@@ -2898,8 +2898,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2898
2898
|
email: string;
|
|
2899
2899
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2900
2900
|
afterSignIn?: ((args_0: {
|
|
2901
|
-
user?: any;
|
|
2902
2901
|
session?: any;
|
|
2902
|
+
user?: any;
|
|
2903
2903
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
2904
2904
|
beforeSignUp?: ((args_0: {
|
|
2905
2905
|
email: string;
|
|
@@ -2936,15 +2936,6 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2936
2936
|
label: string;
|
|
2937
2937
|
name: string;
|
|
2938
2938
|
active: boolean;
|
|
2939
|
-
driver: string;
|
|
2940
|
-
secret: string;
|
|
2941
|
-
rateLimit: {
|
|
2942
|
-
enabled: boolean;
|
|
2943
|
-
windowMs: number;
|
|
2944
|
-
maxAttempts: number;
|
|
2945
|
-
blockDuration: number;
|
|
2946
|
-
skipSuccessfulRequests: boolean;
|
|
2947
|
-
};
|
|
2948
2939
|
session: {
|
|
2949
2940
|
expiresIn: number;
|
|
2950
2941
|
updateAge: number;
|
|
@@ -2955,8 +2946,17 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2955
2946
|
cookieHttpOnly: boolean;
|
|
2956
2947
|
cookieDomain?: string | undefined;
|
|
2957
2948
|
};
|
|
2958
|
-
|
|
2949
|
+
driver: string;
|
|
2950
|
+
secret: string;
|
|
2951
|
+
strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
|
|
2959
2952
|
baseUrl: string;
|
|
2953
|
+
rateLimit: {
|
|
2954
|
+
enabled: boolean;
|
|
2955
|
+
maxAttempts: number;
|
|
2956
|
+
windowMs: number;
|
|
2957
|
+
blockDuration: number;
|
|
2958
|
+
skipSuccessfulRequests: boolean;
|
|
2959
|
+
};
|
|
2960
2960
|
csrf: {
|
|
2961
2961
|
enabled: boolean;
|
|
2962
2962
|
cookieName: string;
|
|
@@ -2983,6 +2983,12 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
2983
2983
|
options?: Record<string, any> | undefined;
|
|
2984
2984
|
}[];
|
|
2985
2985
|
allowRegistration: boolean;
|
|
2986
|
+
database?: {
|
|
2987
|
+
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
2988
|
+
tablePrefix: string;
|
|
2989
|
+
schema?: string | undefined;
|
|
2990
|
+
connectionString?: string | undefined;
|
|
2991
|
+
} | undefined;
|
|
2986
2992
|
email?: {
|
|
2987
2993
|
provider: "custom" | "smtp" | "sendgrid" | "mailgun" | "ses" | "resend";
|
|
2988
2994
|
from: string;
|
|
@@ -3021,10 +3027,10 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3021
3027
|
attributeMapping?: Record<string, string> | undefined;
|
|
3022
3028
|
} | undefined;
|
|
3023
3029
|
saml?: {
|
|
3030
|
+
cert: string;
|
|
3024
3031
|
enabled: boolean;
|
|
3025
3032
|
issuer: string;
|
|
3026
3033
|
entryPoint: string;
|
|
3027
|
-
cert: string;
|
|
3028
3034
|
signatureAlgorithm: "sha256" | "sha512";
|
|
3029
3035
|
icon?: string | undefined;
|
|
3030
3036
|
displayName?: string | undefined;
|
|
@@ -3054,8 +3060,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3054
3060
|
enabled: boolean;
|
|
3055
3061
|
expiryTime: number;
|
|
3056
3062
|
sendEmail?: ((args_0: {
|
|
3057
|
-
token: string;
|
|
3058
3063
|
to: string;
|
|
3064
|
+
token: string;
|
|
3059
3065
|
link: string;
|
|
3060
3066
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
3061
3067
|
} | undefined;
|
|
@@ -3074,12 +3080,6 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3074
3080
|
defaultRole: string;
|
|
3075
3081
|
creatorRole: string;
|
|
3076
3082
|
} | undefined;
|
|
3077
|
-
database?: {
|
|
3078
|
-
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
3079
|
-
tablePrefix: string;
|
|
3080
|
-
connectionString?: string | undefined;
|
|
3081
|
-
schema?: string | undefined;
|
|
3082
|
-
} | undefined;
|
|
3083
3083
|
mapping?: {
|
|
3084
3084
|
session: Record<string, string>;
|
|
3085
3085
|
account: Record<string, string>;
|
|
@@ -3091,8 +3091,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3091
3091
|
email: string;
|
|
3092
3092
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
3093
3093
|
afterSignIn?: ((args_0: {
|
|
3094
|
-
user?: any;
|
|
3095
3094
|
session?: any;
|
|
3095
|
+
user?: any;
|
|
3096
3096
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
3097
3097
|
beforeSignUp?: ((args_0: {
|
|
3098
3098
|
email: string;
|
|
@@ -3128,8 +3128,14 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3128
3128
|
label: string;
|
|
3129
3129
|
name: string;
|
|
3130
3130
|
secret: string;
|
|
3131
|
-
strategies: ("
|
|
3131
|
+
strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
|
|
3132
3132
|
baseUrl: string;
|
|
3133
|
+
database?: {
|
|
3134
|
+
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
3135
|
+
schema?: string | undefined;
|
|
3136
|
+
connectionString?: string | undefined;
|
|
3137
|
+
tablePrefix?: string | undefined;
|
|
3138
|
+
} | undefined;
|
|
3133
3139
|
email?: {
|
|
3134
3140
|
provider: "custom" | "smtp" | "sendgrid" | "mailgun" | "ses" | "resend";
|
|
3135
3141
|
from: string;
|
|
@@ -3137,14 +3143,17 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3137
3143
|
fromName?: string | undefined;
|
|
3138
3144
|
} | undefined;
|
|
3139
3145
|
active?: boolean | undefined;
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3146
|
+
session?: {
|
|
3147
|
+
expiresIn?: number | undefined;
|
|
3148
|
+
updateAge?: number | undefined;
|
|
3149
|
+
cookieName?: string | undefined;
|
|
3150
|
+
cookieSecure?: boolean | undefined;
|
|
3151
|
+
cookieSameSite?: "strict" | "none" | "lax" | undefined;
|
|
3152
|
+
cookieDomain?: string | undefined;
|
|
3153
|
+
cookiePath?: string | undefined;
|
|
3154
|
+
cookieHttpOnly?: boolean | undefined;
|
|
3147
3155
|
} | undefined;
|
|
3156
|
+
driver?: string | undefined;
|
|
3148
3157
|
oauth?: {
|
|
3149
3158
|
providers: {
|
|
3150
3159
|
provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
|
|
@@ -3177,9 +3186,9 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3177
3186
|
attributeMapping?: Record<string, string> | undefined;
|
|
3178
3187
|
} | undefined;
|
|
3179
3188
|
saml?: {
|
|
3189
|
+
cert: string;
|
|
3180
3190
|
issuer: string;
|
|
3181
3191
|
entryPoint: string;
|
|
3182
|
-
cert: string;
|
|
3183
3192
|
icon?: string | undefined;
|
|
3184
3193
|
enabled?: boolean | undefined;
|
|
3185
3194
|
displayName?: string | undefined;
|
|
@@ -3198,16 +3207,6 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3198
3207
|
groupSearchBase?: string | undefined;
|
|
3199
3208
|
} | undefined;
|
|
3200
3209
|
} | undefined;
|
|
3201
|
-
session?: {
|
|
3202
|
-
expiresIn?: number | undefined;
|
|
3203
|
-
updateAge?: number | undefined;
|
|
3204
|
-
cookieName?: string | undefined;
|
|
3205
|
-
cookieSecure?: boolean | undefined;
|
|
3206
|
-
cookieSameSite?: "strict" | "none" | "lax" | undefined;
|
|
3207
|
-
cookieDomain?: string | undefined;
|
|
3208
|
-
cookiePath?: string | undefined;
|
|
3209
|
-
cookieHttpOnly?: boolean | undefined;
|
|
3210
|
-
} | undefined;
|
|
3211
3210
|
emailPassword?: {
|
|
3212
3211
|
enabled?: boolean | undefined;
|
|
3213
3212
|
requireEmailVerification?: boolean | undefined;
|
|
@@ -3220,11 +3219,18 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3220
3219
|
enabled?: boolean | undefined;
|
|
3221
3220
|
expiryTime?: number | undefined;
|
|
3222
3221
|
sendEmail?: ((args_0: {
|
|
3223
|
-
token: string;
|
|
3224
3222
|
to: string;
|
|
3223
|
+
token: string;
|
|
3225
3224
|
link: string;
|
|
3226
3225
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
3227
3226
|
} | undefined;
|
|
3227
|
+
rateLimit?: {
|
|
3228
|
+
enabled?: boolean | undefined;
|
|
3229
|
+
maxAttempts?: number | undefined;
|
|
3230
|
+
windowMs?: number | undefined;
|
|
3231
|
+
blockDuration?: number | undefined;
|
|
3232
|
+
skipSuccessfulRequests?: boolean | undefined;
|
|
3233
|
+
} | undefined;
|
|
3228
3234
|
csrf?: {
|
|
3229
3235
|
enabled?: boolean | undefined;
|
|
3230
3236
|
cookieName?: string | undefined;
|
|
@@ -3260,15 +3266,9 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3260
3266
|
createdAt?: string | undefined;
|
|
3261
3267
|
updatedAt?: string | undefined;
|
|
3262
3268
|
} | undefined;
|
|
3263
|
-
database?: {
|
|
3264
|
-
type: "custom" | "prisma" | "drizzle" | "kysely";
|
|
3265
|
-
connectionString?: string | undefined;
|
|
3266
|
-
tablePrefix?: string | undefined;
|
|
3267
|
-
schema?: string | undefined;
|
|
3268
|
-
} | undefined;
|
|
3269
3269
|
mapping?: {
|
|
3270
|
-
user?: Record<string, string> | undefined;
|
|
3271
3270
|
session?: Record<string, string> | undefined;
|
|
3271
|
+
user?: Record<string, string> | undefined;
|
|
3272
3272
|
account?: Record<string, string> | undefined;
|
|
3273
3273
|
verificationToken?: Record<string, string> | undefined;
|
|
3274
3274
|
} | undefined;
|
|
@@ -3282,8 +3282,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3282
3282
|
email: string;
|
|
3283
3283
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
3284
3284
|
afterSignIn?: ((args_0: {
|
|
3285
|
-
user?: any;
|
|
3286
3285
|
session?: any;
|
|
3286
|
+
user?: any;
|
|
3287
3287
|
}, ...args: unknown[]) => Promise<void>) | undefined;
|
|
3288
3288
|
beforeSignUp?: ((args_0: {
|
|
3289
3289
|
email: string;
|
|
@@ -3316,4 +3316,4 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
|
|
|
3316
3316
|
};
|
|
3317
3317
|
}>;
|
|
3318
3318
|
export type StandardAuthProvider = z.infer<typeof StandardAuthProviderSchema>;
|
|
3319
|
-
//# sourceMappingURL=
|
|
3319
|
+
//# sourceMappingURL=config.zod.d.ts.map
|