@effect-auth/core 0.1.0-alpha.15 → 0.1.0-alpha.18
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/LICENSE +21 -0
- package/README.md +332 -131
- package/dist/AbuseProtection.d.ts +100 -0
- package/dist/AbuseProtection.d.ts.map +1 -0
- package/dist/AbuseProtection.js +71 -0
- package/dist/AbuseProtection.js.map +1 -0
- package/dist/AccessGrant.d.ts +344 -0
- package/dist/AccessGrant.d.ts.map +1 -0
- package/dist/AccessGrant.js +687 -0
- package/dist/AccessGrant.js.map +1 -0
- package/dist/ApiKey.d.ts +2 -14
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +36 -27
- package/dist/ApiKey.js.map +1 -1
- package/dist/Assurance.d.ts +415 -0
- package/dist/Assurance.d.ts.map +1 -0
- package/dist/Assurance.js +764 -0
- package/dist/Assurance.js.map +1 -0
- package/dist/AtomicPlanExecutor.d.ts +28 -0
- package/dist/AtomicPlanExecutor.d.ts.map +1 -0
- package/dist/AtomicPlanExecutor.js +5 -0
- package/dist/AtomicPlanExecutor.js.map +1 -0
- package/dist/AuditLog.d.ts +2314 -52
- package/dist/AuditLog.d.ts.map +1 -1
- package/dist/AuditLog.js +511 -33
- package/dist/AuditLog.js.map +1 -1
- package/dist/AuthConfig.d.ts.map +1 -1
- package/dist/AuthConfig.js.map +1 -1
- package/dist/AuthFlow.d.ts +326 -220
- package/dist/AuthFlow.d.ts.map +1 -1
- package/dist/AuthFlow.js +611 -263
- package/dist/AuthFlow.js.map +1 -1
- package/dist/AuthKernel.d.ts +1 -1
- package/dist/AuthRateLimit.d.ts +96 -0
- package/dist/AuthRateLimit.d.ts.map +1 -0
- package/dist/AuthRateLimit.js +212 -0
- package/dist/AuthRateLimit.js.map +1 -0
- package/dist/Challenge.d.ts +0 -3
- package/dist/Challenge.d.ts.map +1 -1
- package/dist/Challenge.js +1 -4
- package/dist/Challenge.js.map +1 -1
- package/dist/Client.d.ts +205 -10
- package/dist/Client.d.ts.map +1 -1
- package/dist/Client.js +397 -16
- package/dist/Client.js.map +1 -1
- package/dist/CloudflareTurnstile.d.ts +28 -0
- package/dist/CloudflareTurnstile.d.ts.map +1 -0
- package/dist/CloudflareTurnstile.js +205 -0
- package/dist/CloudflareTurnstile.js.map +1 -0
- package/dist/Crypto.d.ts +0 -3
- package/dist/Crypto.d.ts.map +1 -1
- package/dist/Crypto.js +5 -7
- package/dist/Crypto.js.map +1 -1
- package/dist/DelegatedAccessStorageMigrations.d.ts +7 -0
- package/dist/DelegatedAccessStorageMigrations.d.ts.map +1 -0
- package/dist/DelegatedAccessStorageMigrations.js +159 -0
- package/dist/DelegatedAccessStorageMigrations.js.map +1 -0
- package/dist/DisposableEmailDomains.d.ts +19 -0
- package/dist/DisposableEmailDomains.d.ts.map +1 -0
- package/dist/DisposableEmailDomains.js +85 -0
- package/dist/DisposableEmailDomains.js.map +1 -0
- package/dist/DomainVerification.d.ts +0 -9
- package/dist/DomainVerification.d.ts.map +1 -1
- package/dist/DomainVerification.js +36 -22
- package/dist/DomainVerification.js.map +1 -1
- package/dist/DrizzleBunSqliteStorage.d.ts +18 -0
- package/dist/DrizzleBunSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleBunSqliteStorage.js +11 -0
- package/dist/DrizzleBunSqliteStorage.js.map +1 -0
- package/dist/DrizzleD1SqliteStorage.d.ts +28 -0
- package/dist/DrizzleD1SqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleD1SqliteStorage.js +10 -0
- package/dist/DrizzleD1SqliteStorage.js.map +1 -0
- package/dist/DrizzleDurableObjectSqliteStorage.d.ts +19 -0
- package/dist/DrizzleDurableObjectSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleDurableObjectSqliteStorage.js +14 -0
- package/dist/DrizzleDurableObjectSqliteStorage.js.map +1 -0
- package/dist/DrizzleEffectSqliteStorage.d.ts +31 -0
- package/dist/DrizzleEffectSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleEffectSqliteStorage.js +108 -0
- package/dist/DrizzleEffectSqliteStorage.js.map +1 -0
- package/dist/DrizzleNodeSqliteStorage.d.ts +18 -0
- package/dist/DrizzleNodeSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleNodeSqliteStorage.js +11 -0
- package/dist/DrizzleNodeSqliteStorage.js.map +1 -0
- package/dist/DrizzleWasmSqliteStorage.d.ts +23 -0
- package/dist/DrizzleWasmSqliteStorage.d.ts.map +1 -0
- package/dist/DrizzleWasmSqliteStorage.js +15 -0
- package/dist/DrizzleWasmSqliteStorage.js.map +1 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.d.ts +34 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.d.ts.map +1 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.js +499 -0
- package/dist/EffectQbPostgresDelegatedAccessStorage.js.map +1 -0
- package/dist/EffectQbPostgresStorage.d.ts +171 -0
- package/dist/EffectQbPostgresStorage.d.ts.map +1 -0
- package/dist/EffectQbPostgresStorage.js +4280 -0
- package/dist/EffectQbPostgresStorage.js.map +1 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.d.ts +112 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.d.ts.map +1 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.js +602 -0
- package/dist/EffectQbSqliteDelegatedAccessStorage.js.map +1 -0
- package/dist/EffectQbSqliteStorage.d.ts +184 -27
- package/dist/EffectQbSqliteStorage.d.ts.map +1 -1
- package/dist/EffectQbSqliteStorage.js +1729 -135
- package/dist/EffectQbSqliteStorage.js.map +1 -1
- package/dist/EmailAuth.d.ts +65 -0
- package/dist/EmailAuth.d.ts.map +1 -0
- package/dist/EmailAuth.js +171 -0
- package/dist/EmailAuth.js.map +1 -0
- package/dist/EmailIdentityAuth.d.ts +30 -0
- package/dist/EmailIdentityAuth.d.ts.map +1 -0
- package/dist/EmailIdentityAuth.js +142 -0
- package/dist/EmailIdentityAuth.js.map +1 -0
- package/dist/EmailOtp.d.ts +10 -11
- package/dist/EmailOtp.d.ts.map +1 -1
- package/dist/EmailOtp.js +44 -81
- package/dist/EmailOtp.js.map +1 -1
- package/dist/EmailRisk.d.ts +48 -0
- package/dist/EmailRisk.d.ts.map +1 -0
- package/dist/EmailRisk.js +33 -0
- package/dist/EmailRisk.js.map +1 -0
- package/dist/EmailVerification.d.ts +10 -16
- package/dist/EmailVerification.d.ts.map +1 -1
- package/dist/EmailVerification.js +85 -42
- package/dist/EmailVerification.js.map +1 -1
- package/dist/Guard.d.ts +11 -0
- package/dist/Guard.d.ts.map +1 -0
- package/dist/Guard.js +11 -0
- package/dist/Guard.js.map +1 -0
- package/dist/HibpPwnedPasswords.d.ts +56 -0
- package/dist/HibpPwnedPasswords.d.ts.map +1 -0
- package/dist/HibpPwnedPasswords.js +232 -0
- package/dist/HibpPwnedPasswords.js.map +1 -0
- package/dist/HttpApi/AdminPermissionDefinition.d.ts +4 -0
- package/dist/HttpApi/AdminPermissionDefinition.d.ts.map +1 -0
- package/dist/HttpApi/AdminPermissionDefinition.js +4 -0
- package/dist/HttpApi/AdminPermissionDefinition.js.map +1 -0
- package/dist/HttpApi/AdminSecurityTimeline.d.ts +4 -0
- package/dist/HttpApi/AdminSecurityTimeline.d.ts.map +1 -0
- package/dist/HttpApi/AdminSecurityTimeline.js +4 -0
- package/dist/HttpApi/AdminSecurityTimeline.js.map +1 -0
- package/dist/HttpApi/AdminSession.d.ts +4 -0
- package/dist/HttpApi/AdminSession.d.ts.map +1 -0
- package/dist/HttpApi/AdminSession.js +4 -0
- package/dist/HttpApi/AdminSession.js.map +1 -0
- package/dist/HttpApi/AdminTrustedDevice.d.ts +4 -0
- package/dist/HttpApi/AdminTrustedDevice.d.ts.map +1 -0
- package/dist/HttpApi/AdminTrustedDevice.js +4 -0
- package/dist/HttpApi/AdminTrustedDevice.js.map +1 -0
- package/dist/HttpApi/Api.d.ts +1172 -1172
- package/dist/HttpApi/Api.d.ts.map +1 -1
- package/dist/HttpApi/Api.js +2160 -896
- package/dist/HttpApi/Api.js.map +1 -1
- package/dist/HttpApi/ApiKey.d.ts +4 -0
- package/dist/HttpApi/ApiKey.d.ts.map +1 -0
- package/dist/HttpApi/ApiKey.js +4 -0
- package/dist/HttpApi/ApiKey.js.map +1 -0
- package/dist/HttpApi/Audit.d.ts +6 -0
- package/dist/HttpApi/Audit.d.ts.map +1 -0
- package/dist/HttpApi/Audit.js +10 -0
- package/dist/HttpApi/Audit.js.map +1 -0
- package/dist/HttpApi/ClientApi.d.ts +917 -0
- package/dist/HttpApi/ClientApi.d.ts.map +1 -0
- package/dist/HttpApi/ClientApi.js +101 -0
- package/dist/HttpApi/ClientApi.js.map +1 -0
- package/dist/HttpApi/EmailAuth.d.ts +6 -0
- package/dist/HttpApi/EmailAuth.d.ts.map +1 -0
- package/dist/HttpApi/EmailAuth.js +6 -0
- package/dist/HttpApi/EmailAuth.js.map +1 -0
- package/dist/HttpApi/EmailGuards.d.ts +115 -0
- package/dist/HttpApi/EmailGuards.d.ts.map +1 -0
- package/dist/HttpApi/EmailGuards.js +191 -0
- package/dist/HttpApi/EmailGuards.js.map +1 -0
- package/dist/HttpApi/EmailOtp.d.ts +6 -0
- package/dist/HttpApi/EmailOtp.d.ts.map +1 -0
- package/dist/HttpApi/EmailOtp.js +6 -0
- package/dist/HttpApi/EmailOtp.js.map +1 -0
- package/dist/HttpApi/EmailVerification.d.ts +6 -0
- package/dist/HttpApi/EmailVerification.d.ts.map +1 -0
- package/dist/HttpApi/EmailVerification.js +6 -0
- package/dist/HttpApi/EmailVerification.js.map +1 -0
- package/dist/HttpApi/Endpoints.d.ts +629 -301
- package/dist/HttpApi/Endpoints.d.ts.map +1 -1
- package/dist/HttpApi/Endpoints.js +178 -120
- package/dist/HttpApi/Endpoints.js.map +1 -1
- package/dist/HttpApi/Errors.d.ts +26 -7
- package/dist/HttpApi/Errors.d.ts.map +1 -1
- package/dist/HttpApi/Errors.js +26 -4
- package/dist/HttpApi/Errors.js.map +1 -1
- package/dist/HttpApi/Identity.d.ts +6 -0
- package/dist/HttpApi/Identity.d.ts.map +1 -0
- package/dist/HttpApi/Identity.js +6 -0
- package/dist/HttpApi/Identity.js.map +1 -0
- package/dist/HttpApi/IdentityGuards.d.ts +31 -0
- package/dist/HttpApi/IdentityGuards.d.ts.map +1 -0
- package/dist/HttpApi/IdentityGuards.js +33 -0
- package/dist/HttpApi/IdentityGuards.js.map +1 -0
- package/dist/HttpApi/Jwt.d.ts +4 -0
- package/dist/HttpApi/Jwt.d.ts.map +1 -0
- package/dist/HttpApi/Jwt.js +4 -0
- package/dist/HttpApi/Jwt.js.map +1 -0
- package/dist/HttpApi/JwtDiscovery.d.ts +4 -0
- package/dist/HttpApi/JwtDiscovery.d.ts.map +1 -0
- package/dist/HttpApi/JwtDiscovery.js +4 -0
- package/dist/HttpApi/JwtDiscovery.js.map +1 -0
- package/dist/HttpApi/LoginApproval.d.ts +5 -0
- package/dist/HttpApi/LoginApproval.d.ts.map +1 -0
- package/dist/HttpApi/LoginApproval.js +5 -0
- package/dist/HttpApi/LoginApproval.js.map +1 -0
- package/dist/HttpApi/LoginNotification.d.ts +5 -0
- package/dist/HttpApi/LoginNotification.d.ts.map +1 -0
- package/dist/HttpApi/LoginNotification.js +5 -0
- package/dist/HttpApi/LoginNotification.js.map +1 -0
- package/dist/HttpApi/MagicLink.d.ts +6 -0
- package/dist/HttpApi/MagicLink.d.ts.map +1 -0
- package/dist/HttpApi/MagicLink.js +6 -0
- package/dist/HttpApi/MagicLink.js.map +1 -0
- package/dist/HttpApi/Mfa.d.ts +5 -0
- package/dist/HttpApi/Mfa.d.ts.map +1 -0
- package/dist/HttpApi/Mfa.js +5 -0
- package/dist/HttpApi/Mfa.js.map +1 -0
- package/dist/HttpApi/Middleware.d.ts +14 -0
- package/dist/HttpApi/Middleware.d.ts.map +1 -0
- package/dist/HttpApi/Middleware.js +5 -0
- package/dist/HttpApi/Middleware.js.map +1 -0
- package/dist/HttpApi/OAuth.d.ts +4 -0
- package/dist/HttpApi/OAuth.d.ts.map +1 -0
- package/dist/HttpApi/OAuth.js +4 -0
- package/dist/HttpApi/OAuth.js.map +1 -0
- package/dist/HttpApi/OAuthProviderAuthorization.d.ts +4 -0
- package/dist/HttpApi/OAuthProviderAuthorization.d.ts.map +1 -0
- package/dist/HttpApi/OAuthProviderAuthorization.js +4 -0
- package/dist/HttpApi/OAuthProviderAuthorization.js.map +1 -0
- package/dist/HttpApi/OAuthToken.d.ts +4 -0
- package/dist/HttpApi/OAuthToken.d.ts.map +1 -0
- package/dist/HttpApi/OAuthToken.js +4 -0
- package/dist/HttpApi/OAuthToken.js.map +1 -0
- package/dist/HttpApi/OidcDiscovery.d.ts +4 -0
- package/dist/HttpApi/OidcDiscovery.d.ts.map +1 -0
- package/dist/HttpApi/OidcDiscovery.js +4 -0
- package/dist/HttpApi/OidcDiscovery.js.map +1 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.d.ts +28 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.d.ts.map +1 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.js +5 -0
- package/dist/HttpApi/Operations/AdminPermissionDefinition.js.map +1 -0
- package/dist/HttpApi/Operations/AdminSession.d.ts +16 -0
- package/dist/HttpApi/Operations/AdminSession.d.ts.map +1 -0
- package/dist/HttpApi/Operations/AdminSession.js +5 -0
- package/dist/HttpApi/Operations/AdminSession.js.map +1 -0
- package/dist/HttpApi/Operations/ApiKey.d.ts +16 -0
- package/dist/HttpApi/Operations/ApiKey.d.ts.map +1 -0
- package/dist/HttpApi/Operations/ApiKey.js +5 -0
- package/dist/HttpApi/Operations/ApiKey.js.map +1 -0
- package/dist/HttpApi/Operations/Discovery.d.ts +19 -0
- package/dist/HttpApi/Operations/Discovery.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Discovery.js +7 -0
- package/dist/HttpApi/Operations/Discovery.js.map +1 -0
- package/dist/HttpApi/Operations/EmailAuth.d.ts +12 -0
- package/dist/HttpApi/Operations/EmailAuth.d.ts.map +1 -0
- package/dist/HttpApi/Operations/EmailAuth.js +5 -0
- package/dist/HttpApi/Operations/EmailAuth.js.map +1 -0
- package/dist/HttpApi/Operations/EmailOtp.d.ts +14 -0
- package/dist/HttpApi/Operations/EmailOtp.d.ts.map +1 -0
- package/dist/HttpApi/Operations/EmailOtp.js +5 -0
- package/dist/HttpApi/Operations/EmailOtp.js.map +1 -0
- package/dist/HttpApi/Operations/EmailVerification.d.ts +14 -0
- package/dist/HttpApi/Operations/EmailVerification.d.ts.map +1 -0
- package/dist/HttpApi/Operations/EmailVerification.js +5 -0
- package/dist/HttpApi/Operations/EmailVerification.js.map +1 -0
- package/dist/HttpApi/Operations/HttpOperation.d.ts +4 -0
- package/dist/HttpApi/Operations/HttpOperation.d.ts.map +1 -0
- package/dist/HttpApi/Operations/HttpOperation.js +2 -0
- package/dist/HttpApi/Operations/HttpOperation.js.map +1 -0
- package/dist/HttpApi/Operations/Identity.d.ts +22 -0
- package/dist/HttpApi/Operations/Identity.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Identity.js +5 -0
- package/dist/HttpApi/Operations/Identity.js.map +1 -0
- package/dist/HttpApi/Operations/Jwt.d.ts +14 -0
- package/dist/HttpApi/Operations/Jwt.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Jwt.js +5 -0
- package/dist/HttpApi/Operations/Jwt.js.map +1 -0
- package/dist/HttpApi/Operations/LoginApproval.d.ts +16 -0
- package/dist/HttpApi/Operations/LoginApproval.d.ts.map +1 -0
- package/dist/HttpApi/Operations/LoginApproval.js +5 -0
- package/dist/HttpApi/Operations/LoginApproval.js.map +1 -0
- package/dist/HttpApi/Operations/MagicLink.d.ts +14 -0
- package/dist/HttpApi/Operations/MagicLink.d.ts.map +1 -0
- package/dist/HttpApi/Operations/MagicLink.js +5 -0
- package/dist/HttpApi/Operations/MagicLink.js.map +1 -0
- package/dist/HttpApi/Operations/Mfa.d.ts +24 -0
- package/dist/HttpApi/Operations/Mfa.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Mfa.js +5 -0
- package/dist/HttpApi/Operations/Mfa.js.map +1 -0
- package/dist/HttpApi/Operations/OAuth.d.ts +20 -0
- package/dist/HttpApi/Operations/OAuth.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuth.js +5 -0
- package/dist/HttpApi/Operations/OAuth.js.map +1 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.d.ts +12 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.js +5 -0
- package/dist/HttpApi/Operations/OAuthProviderAuthorization.js.map +1 -0
- package/dist/HttpApi/Operations/OAuthToken.d.ts +16 -0
- package/dist/HttpApi/Operations/OAuthToken.d.ts.map +1 -0
- package/dist/HttpApi/Operations/OAuthToken.js +5 -0
- package/dist/HttpApi/Operations/OAuthToken.js.map +1 -0
- package/dist/HttpApi/Operations/Passkey.d.ts +22 -0
- package/dist/HttpApi/Operations/Passkey.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Passkey.js +5 -0
- package/dist/HttpApi/Operations/Passkey.js.map +1 -0
- package/dist/HttpApi/Operations/Password.d.ts +22 -0
- package/dist/HttpApi/Operations/Password.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Password.js +5 -0
- package/dist/HttpApi/Operations/Password.js.map +1 -0
- package/dist/HttpApi/Operations/RecoveryCodes.d.ts +20 -0
- package/dist/HttpApi/Operations/RecoveryCodes.d.ts.map +1 -0
- package/dist/HttpApi/Operations/RecoveryCodes.js +5 -0
- package/dist/HttpApi/Operations/RecoveryCodes.js.map +1 -0
- package/dist/HttpApi/Operations/RefreshToken.d.ts +12 -0
- package/dist/HttpApi/Operations/RefreshToken.d.ts.map +1 -0
- package/dist/HttpApi/Operations/RefreshToken.js +5 -0
- package/dist/HttpApi/Operations/RefreshToken.js.map +1 -0
- package/dist/HttpApi/Operations/Security.d.ts +12 -0
- package/dist/HttpApi/Operations/Security.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Security.js +5 -0
- package/dist/HttpApi/Operations/Security.js.map +1 -0
- package/dist/HttpApi/Operations/SecurityTimeline.d.ts +19 -0
- package/dist/HttpApi/Operations/SecurityTimeline.d.ts.map +1 -0
- package/dist/HttpApi/Operations/SecurityTimeline.js +7 -0
- package/dist/HttpApi/Operations/SecurityTimeline.js.map +1 -0
- package/dist/HttpApi/Operations/Session.d.ts +22 -0
- package/dist/HttpApi/Operations/Session.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Session.js +5 -0
- package/dist/HttpApi/Operations/Session.js.map +1 -0
- package/dist/HttpApi/Operations/StepUp.d.ts +22 -0
- package/dist/HttpApi/Operations/StepUp.d.ts.map +1 -0
- package/dist/HttpApi/Operations/StepUp.js +5 -0
- package/dist/HttpApi/Operations/StepUp.js.map +1 -0
- package/dist/HttpApi/Operations/Totp.d.ts +20 -0
- package/dist/HttpApi/Operations/Totp.d.ts.map +1 -0
- package/dist/HttpApi/Operations/Totp.js +5 -0
- package/dist/HttpApi/Operations/Totp.js.map +1 -0
- package/dist/HttpApi/Operations/TrustedDevice.d.ts +23 -0
- package/dist/HttpApi/Operations/TrustedDevice.d.ts.map +1 -0
- package/dist/HttpApi/Operations/TrustedDevice.js +7 -0
- package/dist/HttpApi/Operations/TrustedDevice.js.map +1 -0
- package/dist/HttpApi/Operations/index.d.ts +27 -0
- package/dist/HttpApi/Operations/index.d.ts.map +1 -0
- package/dist/HttpApi/Operations/index.js +27 -0
- package/dist/HttpApi/Operations/index.js.map +1 -0
- package/dist/HttpApi/Passkey.d.ts +5 -0
- package/dist/HttpApi/Passkey.d.ts.map +1 -0
- package/dist/HttpApi/Passkey.js +5 -0
- package/dist/HttpApi/Passkey.js.map +1 -0
- package/dist/HttpApi/Password.d.ts +220 -0
- package/dist/HttpApi/Password.d.ts.map +1 -0
- package/dist/HttpApi/Password.js +237 -0
- package/dist/HttpApi/Password.js.map +1 -0
- package/dist/HttpApi/PasswordContract.d.ts +307 -0
- package/dist/HttpApi/PasswordContract.d.ts.map +1 -0
- package/dist/HttpApi/PasswordContract.js +63 -0
- package/dist/HttpApi/PasswordContract.js.map +1 -0
- package/dist/HttpApi/PasswordGuards.d.ts +82 -0
- package/dist/HttpApi/PasswordGuards.d.ts.map +1 -0
- package/dist/HttpApi/PasswordGuards.js +179 -0
- package/dist/HttpApi/PasswordGuards.js.map +1 -0
- package/dist/HttpApi/RecoveryCodes.d.ts +5 -0
- package/dist/HttpApi/RecoveryCodes.d.ts.map +1 -0
- package/dist/HttpApi/RecoveryCodes.js +5 -0
- package/dist/HttpApi/RecoveryCodes.js.map +1 -0
- package/dist/HttpApi/RefreshToken.d.ts +4 -0
- package/dist/HttpApi/RefreshToken.d.ts.map +1 -0
- package/dist/HttpApi/RefreshToken.js +4 -0
- package/dist/HttpApi/RefreshToken.js.map +1 -0
- package/dist/HttpApi/RequestGuards.d.ts +42 -0
- package/dist/HttpApi/RequestGuards.d.ts.map +1 -0
- package/dist/HttpApi/RequestGuards.js +194 -0
- package/dist/HttpApi/RequestGuards.js.map +1 -0
- package/dist/HttpApi/Schemas.d.ts +361 -84
- package/dist/HttpApi/Schemas.d.ts.map +1 -1
- package/dist/HttpApi/Schemas.js +190 -27
- package/dist/HttpApi/Schemas.js.map +1 -1
- package/dist/HttpApi/Security.d.ts +12 -93
- package/dist/HttpApi/Security.d.ts.map +1 -1
- package/dist/HttpApi/Security.js +65 -356
- package/dist/HttpApi/Security.js.map +1 -1
- package/dist/HttpApi/SecurityTimeline.d.ts +4 -0
- package/dist/HttpApi/SecurityTimeline.d.ts.map +1 -0
- package/dist/HttpApi/SecurityTimeline.js +4 -0
- package/dist/HttpApi/SecurityTimeline.js.map +1 -0
- package/dist/HttpApi/Session.d.ts +5 -0
- package/dist/HttpApi/Session.d.ts.map +1 -0
- package/dist/HttpApi/Session.js +5 -0
- package/dist/HttpApi/Session.js.map +1 -0
- package/dist/HttpApi/SessionGuards.d.ts +15 -0
- package/dist/HttpApi/SessionGuards.d.ts.map +1 -0
- package/dist/HttpApi/SessionGuards.js +37 -0
- package/dist/HttpApi/SessionGuards.js.map +1 -0
- package/dist/HttpApi/StepUp.d.ts +5 -0
- package/dist/HttpApi/StepUp.d.ts.map +1 -0
- package/dist/HttpApi/StepUp.js +5 -0
- package/dist/HttpApi/StepUp.js.map +1 -0
- package/dist/HttpApi/Totp.d.ts +5 -0
- package/dist/HttpApi/Totp.d.ts.map +1 -0
- package/dist/HttpApi/Totp.js +5 -0
- package/dist/HttpApi/Totp.js.map +1 -0
- package/dist/HttpApi/Transport.d.ts +4 -6
- package/dist/HttpApi/Transport.d.ts.map +1 -1
- package/dist/HttpApi/Transport.js +62 -36
- package/dist/HttpApi/Transport.js.map +1 -1
- package/dist/HttpApi/TrustedDevice.d.ts +4 -0
- package/dist/HttpApi/TrustedDevice.d.ts.map +1 -0
- package/dist/HttpApi/TrustedDevice.js +4 -0
- package/dist/HttpApi/TrustedDevice.js.map +1 -0
- package/dist/HttpApi/index.d.ts +9 -3
- package/dist/HttpApi/index.d.ts.map +1 -1
- package/dist/HttpApi/index.js +8 -2
- package/dist/HttpApi/index.js.map +1 -1
- package/dist/Identity.d.ts +138 -0
- package/dist/Identity.d.ts.map +1 -0
- package/dist/Identity.js +105 -0
- package/dist/Identity.js.map +1 -0
- package/dist/IdentityManagement.d.ts +189 -0
- package/dist/IdentityManagement.d.ts.map +1 -0
- package/dist/IdentityManagement.js +317 -0
- package/dist/IdentityManagement.js.map +1 -0
- package/dist/IncidentAction.d.ts +1 -4
- package/dist/IncidentAction.d.ts.map +1 -1
- package/dist/IncidentAction.js +15 -9
- package/dist/IncidentAction.js.map +1 -1
- package/dist/Internal.d.ts +2 -0
- package/dist/Internal.d.ts.map +1 -1
- package/dist/Internal.js +30 -0
- package/dist/Internal.js.map +1 -1
- package/dist/Invitation.d.ts +362 -0
- package/dist/Invitation.d.ts.map +1 -0
- package/dist/Invitation.js +633 -0
- package/dist/Invitation.js.map +1 -0
- package/dist/IpQualityScore.d.ts +38 -0
- package/dist/IpQualityScore.d.ts.map +1 -0
- package/dist/IpQualityScore.js +215 -0
- package/dist/IpQualityScore.js.map +1 -0
- package/dist/Jwt.d.ts +9 -30
- package/dist/Jwt.d.ts.map +1 -1
- package/dist/Jwt.js +72 -60
- package/dist/Jwt.js.map +1 -1
- package/dist/LoginApproval.d.ts +16 -31
- package/dist/LoginApproval.d.ts.map +1 -1
- package/dist/LoginApproval.js +47 -41
- package/dist/LoginApproval.js.map +1 -1
- package/dist/LoginNotification.d.ts +8 -12
- package/dist/LoginNotification.d.ts.map +1 -1
- package/dist/LoginNotification.js +30 -17
- package/dist/LoginNotification.js.map +1 -1
- package/dist/LoginRisk.d.ts +11 -13
- package/dist/LoginRisk.d.ts.map +1 -1
- package/dist/LoginRisk.js +66 -26
- package/dist/LoginRisk.js.map +1 -1
- package/dist/LoginRiskEnrichment.d.ts +145 -0
- package/dist/LoginRiskEnrichment.d.ts.map +1 -0
- package/dist/LoginRiskEnrichment.js +220 -0
- package/dist/LoginRiskEnrichment.js.map +1 -0
- package/dist/MachineAuth.d.ts.map +1 -1
- package/dist/MachineAuth.js.map +1 -1
- package/dist/MagicLink.d.ts +9 -8
- package/dist/MagicLink.d.ts.map +1 -1
- package/dist/MagicLink.js +40 -73
- package/dist/MagicLink.js.map +1 -1
- package/dist/Mailer.d.ts +20 -13
- package/dist/Mailer.d.ts.map +1 -1
- package/dist/Mailer.js +10 -12
- package/dist/Mailer.js.map +1 -1
- package/dist/OAuth.d.ts +100 -103
- package/dist/OAuth.d.ts.map +1 -1
- package/dist/OAuth.js +404 -217
- package/dist/OAuth.js.map +1 -1
- package/dist/Passkey.d.ts +17 -19
- package/dist/Passkey.d.ts.map +1 -1
- package/dist/Passkey.js +86 -39
- package/dist/Passkey.js.map +1 -1
- package/dist/PasskeyBrowser.d.ts +39 -0
- package/dist/PasskeyBrowser.d.ts.map +1 -0
- package/dist/PasskeyBrowser.js +206 -0
- package/dist/PasskeyBrowser.js.map +1 -0
- package/dist/PasskeySimpleWebAuthn.d.ts.map +1 -1
- package/dist/PasskeySimpleWebAuthn.js +19 -7
- package/dist/PasskeySimpleWebAuthn.js.map +1 -1
- package/dist/Password.d.ts +71 -37
- package/dist/Password.d.ts.map +1 -1
- package/dist/Password.js +296 -82
- package/dist/Password.js.map +1 -1
- package/dist/PasswordRisk.d.ts +63 -0
- package/dist/PasswordRisk.d.ts.map +1 -0
- package/dist/PasswordRisk.js +37 -0
- package/dist/PasswordRisk.js.map +1 -0
- package/dist/Permission.d.ts +308 -0
- package/dist/Permission.d.ts.map +1 -0
- package/dist/Permission.js +827 -0
- package/dist/Permission.js.map +1 -0
- package/dist/Policy.d.ts +31 -18
- package/dist/Policy.d.ts.map +1 -1
- package/dist/Policy.js +58 -14
- package/dist/Policy.js.map +1 -1
- package/dist/PostgresDelegatedAccessStorageMigrations.d.ts +7 -0
- package/dist/PostgresDelegatedAccessStorageMigrations.d.ts.map +1 -0
- package/dist/PostgresDelegatedAccessStorageMigrations.js +119 -0
- package/dist/PostgresDelegatedAccessStorageMigrations.js.map +1 -0
- package/dist/PostgresStorageMigrations.d.ts +15 -0
- package/dist/PostgresStorageMigrations.d.ts.map +1 -0
- package/dist/PostgresStorageMigrations.js +620 -0
- package/dist/PostgresStorageMigrations.js.map +1 -0
- package/dist/Privacy.d.ts +0 -3
- package/dist/Privacy.d.ts.map +1 -1
- package/dist/Privacy.js +2 -5
- package/dist/Privacy.js.map +1 -1
- package/dist/RateLimiter.d.ts +0 -3
- package/dist/RateLimiter.d.ts.map +1 -1
- package/dist/RateLimiter.js +1 -4
- package/dist/RateLimiter.js.map +1 -1
- package/dist/RecoveryCode.d.ts +84 -12
- package/dist/RecoveryCode.d.ts.map +1 -1
- package/dist/RecoveryCode.js +273 -75
- package/dist/RecoveryCode.js.map +1 -1
- package/dist/RecoveryPolicy.d.ts +81 -0
- package/dist/RecoveryPolicy.d.ts.map +1 -0
- package/dist/RecoveryPolicy.js +119 -0
- package/dist/RecoveryPolicy.js.map +1 -0
- package/dist/RefreshToken.d.ts +1 -10
- package/dist/RefreshToken.d.ts.map +1 -1
- package/dist/RefreshToken.js +31 -22
- package/dist/RefreshToken.js.map +1 -1
- package/dist/Retention.d.ts.map +1 -1
- package/dist/Retention.js.map +1 -1
- package/dist/SecurityTimeline.d.ts +1 -4
- package/dist/SecurityTimeline.d.ts.map +1 -1
- package/dist/SecurityTimeline.js +110 -17
- package/dist/SecurityTimeline.js.map +1 -1
- package/dist/Sessions.d.ts +124 -29
- package/dist/Sessions.d.ts.map +1 -1
- package/dist/Sessions.js +626 -94
- package/dist/Sessions.js.map +1 -1
- package/dist/StepUp.d.ts +132 -11
- package/dist/StepUp.d.ts.map +1 -1
- package/dist/StepUp.js +387 -19
- package/dist/StepUp.js.map +1 -1
- package/dist/Storage.d.ts +89 -23
- package/dist/Storage.d.ts.map +1 -1
- package/dist/Storage.js +10 -12
- package/dist/Storage.js.map +1 -1
- package/dist/StorageMigrations.d.ts +6 -1
- package/dist/StorageMigrations.d.ts.map +1 -1
- package/dist/StorageMigrations.js +224 -0
- package/dist/StorageMigrations.js.map +1 -1
- package/dist/StorageSchemaGenerator.d.ts +486 -0
- package/dist/StorageSchemaGenerator.d.ts.map +1 -0
- package/dist/StorageSchemaGenerator.js +1022 -0
- package/dist/StorageSchemaGenerator.js.map +1 -0
- package/dist/StrongFactor.d.ts +64 -0
- package/dist/StrongFactor.d.ts.map +1 -0
- package/dist/StrongFactor.js +100 -0
- package/dist/StrongFactor.js.map +1 -0
- package/dist/Testing.d.ts +1 -1
- package/dist/Testing.js +2 -2
- package/dist/Testing.js.map +1 -1
- package/dist/Totp.d.ts +88 -13
- package/dist/Totp.d.ts.map +1 -1
- package/dist/Totp.js +194 -36
- package/dist/Totp.js.map +1 -1
- package/dist/TrustedDevice.d.ts +0 -9
- package/dist/TrustedDevice.d.ts.map +1 -1
- package/dist/TrustedDevice.js +15 -17
- package/dist/TrustedDevice.js.map +1 -1
- package/dist/WaitUntil.d.ts +0 -3
- package/dist/WaitUntil.d.ts.map +1 -1
- package/dist/WaitUntil.js +1 -4
- package/dist/WaitUntil.js.map +1 -1
- package/dist/Webhook.d.ts +42 -12
- package/dist/Webhook.d.ts.map +1 -1
- package/dist/Webhook.js +165 -26
- package/dist/Webhook.js.map +1 -1
- package/dist/alchemy/cloudflare/Email.d.ts +4 -4
- package/dist/alchemy/cloudflare/Email.d.ts.map +1 -1
- package/dist/alchemy/cloudflare/Email.js +10 -5
- package/dist/alchemy/cloudflare/Email.js.map +1 -1
- package/dist/alchemy/cloudflare/RateLimitDurableObject.d.ts +4 -4
- package/dist/alchemy/cloudflare/RateLimitDurableObject.d.ts.map +1 -1
- package/dist/alchemy/cloudflare/RateLimitDurableObject.js +5 -4
- package/dist/alchemy/cloudflare/RateLimitDurableObject.js.map +1 -1
- package/dist/cloudflare/Email.d.ts.map +1 -1
- package/dist/cloudflare/Email.js +1 -1
- package/dist/cloudflare/Email.js.map +1 -1
- package/dist/cloudflare/RateLimitDurableObject.d.ts +6 -5
- package/dist/cloudflare/RateLimitDurableObject.d.ts.map +1 -1
- package/dist/cloudflare/RateLimitDurableObject.js.map +1 -1
- package/dist/cloudflare/RequestMetadata.d.ts +49 -0
- package/dist/cloudflare/RequestMetadata.d.ts.map +1 -0
- package/dist/cloudflare/RequestMetadata.js +71 -0
- package/dist/cloudflare/RequestMetadata.js.map +1 -0
- package/dist/index.d.ts +0 -35
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -35
- package/dist/index.js.map +1 -1
- package/dist/internal/AuthFlowFinalizer.d.ts +31 -0
- package/dist/internal/AuthFlowFinalizer.d.ts.map +1 -0
- package/dist/internal/AuthFlowFinalizer.js +182 -0
- package/dist/internal/AuthFlowFinalizer.js.map +1 -0
- package/dist/internal/RateLimitDurableObject.d.ts.map +1 -1
- package/dist/internal/RateLimitDurableObject.js +3 -0
- package/dist/internal/RateLimitDurableObject.js.map +1 -1
- package/migrations/0001_auth_storage.sql +1 -0
- package/migrations/0006_auth_totp_factor.sql +1 -0
- package/migrations/0024_auth_permission.sql +39 -0
- package/migrations/0025_auth_permission_definition.sql +19 -0
- package/migrations/0026_auth_user_identity.sql +59 -0
- package/migrations/0027_auth_audit_log_storage_order.sql +46 -0
- package/migrations/0028_auth_oauth_client_secret_key.sql +39 -0
- package/migrations/delegated-access/0001_auth_delegated_access.sql +152 -0
- package/migrations/postgres/0001_auth_core.sql +77 -0
- package/migrations/postgres/0002_auth_security_oauth.sql +65 -0
- package/migrations/postgres/0003_auth_credentials_tokens.sql +43 -0
- package/migrations/postgres/0004_auth_security_history.sql +103 -0
- package/migrations/postgres/0005_auth_webhooks.sql +29 -0
- package/migrations/postgres/0006_auth_domain_timeline.sql +50 -0
- package/migrations/postgres/0007_auth_oauth_clients.sql +85 -0
- package/migrations/postgres/0008_auth_oauth_tokens.sql +63 -0
- package/migrations/postgres/0009_auth_permissions.sql +66 -0
- package/migrations/postgres/delegated-access/0001_auth_delegated_access.sql +112 -0
- package/package.json +309 -2
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
export declare const storageSchemaGeneratorApiVersion: "effect-auth.storage-schema-generator/v1";
|
|
2
|
+
export declare const storageSchemaGeneratorVersion: "1.1.0";
|
|
3
|
+
export declare const storageSchemaVersion: "0009_auth_permissions";
|
|
4
|
+
export declare const supportedStorageDatabases: readonly ["postgres"];
|
|
5
|
+
export declare const supportedStorageAdapters: readonly ["effect-qb", "drizzle"];
|
|
6
|
+
export declare const supportedStorageGeneratorModes: readonly ["fresh"];
|
|
7
|
+
export type StorageDatabase = (typeof supportedStorageDatabases)[number];
|
|
8
|
+
export type StorageAdapter = (typeof supportedStorageAdapters)[number];
|
|
9
|
+
export type StorageGeneratorMode = (typeof supportedStorageGeneratorModes)[number];
|
|
10
|
+
export declare const storageModuleCatalog: readonly [{
|
|
11
|
+
readonly id: "core";
|
|
12
|
+
readonly description: "Users and login identities.";
|
|
13
|
+
readonly dependencies: readonly [];
|
|
14
|
+
readonly tables: readonly ["auth_user", "auth_user_identity"];
|
|
15
|
+
}, {
|
|
16
|
+
readonly id: "credentials";
|
|
17
|
+
readonly description: "Password and other typed credentials.";
|
|
18
|
+
readonly dependencies: readonly ["core"];
|
|
19
|
+
readonly tables: readonly ["auth_credential"];
|
|
20
|
+
}, {
|
|
21
|
+
readonly id: "sessions";
|
|
22
|
+
readonly description: "Authenticated sessions.";
|
|
23
|
+
readonly dependencies: readonly ["core"];
|
|
24
|
+
readonly tables: readonly ["auth_session"];
|
|
25
|
+
}, {
|
|
26
|
+
readonly id: "verification";
|
|
27
|
+
readonly description: "Short-lived verification challenges.";
|
|
28
|
+
readonly dependencies: readonly ["core"];
|
|
29
|
+
readonly tables: readonly ["auth_verification"];
|
|
30
|
+
}, {
|
|
31
|
+
readonly id: "totp";
|
|
32
|
+
readonly description: "TOTP factors.";
|
|
33
|
+
readonly dependencies: readonly ["core"];
|
|
34
|
+
readonly tables: readonly ["auth_totp_factor"];
|
|
35
|
+
}, {
|
|
36
|
+
readonly id: "recovery-codes";
|
|
37
|
+
readonly description: "MFA recovery codes.";
|
|
38
|
+
readonly dependencies: readonly ["core"];
|
|
39
|
+
readonly tables: readonly ["auth_recovery_code"];
|
|
40
|
+
}, {
|
|
41
|
+
readonly id: "refresh-tokens";
|
|
42
|
+
readonly description: "Rotating refresh-token families.";
|
|
43
|
+
readonly dependencies: readonly ["core"];
|
|
44
|
+
readonly tables: readonly ["auth_refresh_token"];
|
|
45
|
+
}, {
|
|
46
|
+
readonly id: "oauth-accounts";
|
|
47
|
+
readonly description: "External OAuth account links.";
|
|
48
|
+
readonly dependencies: readonly ["core"];
|
|
49
|
+
readonly tables: readonly ["auth_oauth_account"];
|
|
50
|
+
}, {
|
|
51
|
+
readonly id: "passkeys";
|
|
52
|
+
readonly description: "WebAuthn passkey credentials.";
|
|
53
|
+
readonly dependencies: readonly ["core"];
|
|
54
|
+
readonly tables: readonly ["auth_passkey_credential"];
|
|
55
|
+
}, {
|
|
56
|
+
readonly id: "api-keys";
|
|
57
|
+
readonly description: "User API keys.";
|
|
58
|
+
readonly dependencies: readonly ["core"];
|
|
59
|
+
readonly tables: readonly ["auth_api_key"];
|
|
60
|
+
}, {
|
|
61
|
+
readonly id: "jwt";
|
|
62
|
+
readonly description: "JWT revocations.";
|
|
63
|
+
readonly dependencies: readonly [];
|
|
64
|
+
readonly tables: readonly ["auth_jwt_revocation"];
|
|
65
|
+
}, {
|
|
66
|
+
readonly id: "audit-log";
|
|
67
|
+
readonly description: "Append-only authentication audit events.";
|
|
68
|
+
readonly dependencies: readonly ["core"];
|
|
69
|
+
readonly tables: readonly ["auth_audit_log"];
|
|
70
|
+
}, {
|
|
71
|
+
readonly id: "login-approval";
|
|
72
|
+
readonly description: "Out-of-band login approval reviews.";
|
|
73
|
+
readonly dependencies: readonly ["core", "verification"];
|
|
74
|
+
readonly tables: readonly ["auth_login_approval_review"];
|
|
75
|
+
}, {
|
|
76
|
+
readonly id: "login-risk";
|
|
77
|
+
readonly description: "Login risk history.";
|
|
78
|
+
readonly dependencies: readonly ["core"];
|
|
79
|
+
readonly tables: readonly ["auth_login_risk_history"];
|
|
80
|
+
}, {
|
|
81
|
+
readonly id: "trusted-devices";
|
|
82
|
+
readonly description: "Trusted-device tokens.";
|
|
83
|
+
readonly dependencies: readonly ["core"];
|
|
84
|
+
readonly tables: readonly ["auth_trusted_device"];
|
|
85
|
+
}, {
|
|
86
|
+
readonly id: "webhooks";
|
|
87
|
+
readonly description: "Webhook delivery and replay state.";
|
|
88
|
+
readonly dependencies: readonly [];
|
|
89
|
+
readonly tables: readonly ["auth_webhook_outbox", "auth_webhook_replay"];
|
|
90
|
+
}, {
|
|
91
|
+
readonly id: "domain-verification";
|
|
92
|
+
readonly description: "Domain ownership proofs.";
|
|
93
|
+
readonly dependencies: readonly [];
|
|
94
|
+
readonly tables: readonly ["auth_domain_verification"];
|
|
95
|
+
}, {
|
|
96
|
+
readonly id: "security-timeline";
|
|
97
|
+
readonly description: "User security timeline entries.";
|
|
98
|
+
readonly dependencies: readonly ["core"];
|
|
99
|
+
readonly tables: readonly ["auth_security_timeline"];
|
|
100
|
+
}, {
|
|
101
|
+
readonly id: "oauth-provider";
|
|
102
|
+
readonly description: "OAuth authorization-server clients, grants, and tokens.";
|
|
103
|
+
readonly dependencies: readonly ["core", "verification"];
|
|
104
|
+
readonly tables: readonly ["auth_oauth_client", "auth_oauth_consent", "auth_oauth_authorization_code", "auth_oauth_client_secret", "auth_oauth_provider_mode_token"];
|
|
105
|
+
}, {
|
|
106
|
+
readonly id: "oauth-token-vault";
|
|
107
|
+
readonly description: "Encrypted upstream OAuth provider tokens.";
|
|
108
|
+
readonly dependencies: readonly ["oauth-accounts"];
|
|
109
|
+
readonly tables: readonly ["auth_oauth_provider_token_vault"];
|
|
110
|
+
}, {
|
|
111
|
+
readonly id: "permissions";
|
|
112
|
+
readonly description: "Permission, role, and grant definitions.";
|
|
113
|
+
readonly dependencies: readonly [];
|
|
114
|
+
readonly tables: readonly ["auth_permission_definition", "auth_role_definition", "auth_permission_grant", "auth_role_grant", "auth_role_permission"];
|
|
115
|
+
}];
|
|
116
|
+
export type StorageModuleId = (typeof storageModuleCatalog)[number]["id"];
|
|
117
|
+
export type StorageTableId = (typeof storageModuleCatalog)[number]["tables"][number];
|
|
118
|
+
export declare const storageFeatureCatalog: readonly [{
|
|
119
|
+
readonly id: "password";
|
|
120
|
+
readonly description: "Password authentication.";
|
|
121
|
+
readonly modules: readonly ["credentials", "sessions", "verification"];
|
|
122
|
+
}, {
|
|
123
|
+
readonly id: "email-verification";
|
|
124
|
+
readonly description: "Email ownership verification.";
|
|
125
|
+
readonly modules: readonly ["verification"];
|
|
126
|
+
}, {
|
|
127
|
+
readonly id: "email-otp";
|
|
128
|
+
readonly description: "Email one-time passwords.";
|
|
129
|
+
readonly modules: readonly ["sessions", "verification"];
|
|
130
|
+
}, {
|
|
131
|
+
readonly id: "magic-link";
|
|
132
|
+
readonly description: "Email magic links.";
|
|
133
|
+
readonly modules: readonly ["sessions", "verification"];
|
|
134
|
+
}, {
|
|
135
|
+
readonly id: "sessions";
|
|
136
|
+
readonly description: "Cookie or token-backed sessions.";
|
|
137
|
+
readonly modules: readonly ["sessions"];
|
|
138
|
+
}, {
|
|
139
|
+
readonly id: "login-approval";
|
|
140
|
+
readonly description: "Out-of-band login approvals.";
|
|
141
|
+
readonly modules: readonly ["sessions", "login-approval"];
|
|
142
|
+
}, {
|
|
143
|
+
readonly id: "trusted-devices";
|
|
144
|
+
readonly description: "Trusted-device recognition.";
|
|
145
|
+
readonly modules: readonly ["trusted-devices"];
|
|
146
|
+
}, {
|
|
147
|
+
readonly id: "passkeys";
|
|
148
|
+
readonly description: "Passkey authentication.";
|
|
149
|
+
readonly modules: readonly ["sessions", "verification", "passkeys"];
|
|
150
|
+
}, {
|
|
151
|
+
readonly id: "totp";
|
|
152
|
+
readonly description: "TOTP multi-factor authentication.";
|
|
153
|
+
readonly modules: readonly ["sessions", "verification", "totp"];
|
|
154
|
+
}, {
|
|
155
|
+
readonly id: "recovery-codes";
|
|
156
|
+
readonly description: "MFA recovery codes.";
|
|
157
|
+
readonly modules: readonly ["sessions", "verification", "recovery-codes"];
|
|
158
|
+
}, {
|
|
159
|
+
readonly id: "api-keys";
|
|
160
|
+
readonly description: "User API keys.";
|
|
161
|
+
readonly modules: readonly ["api-keys"];
|
|
162
|
+
}, {
|
|
163
|
+
readonly id: "refresh-tokens";
|
|
164
|
+
readonly description: "Refresh-token rotation.";
|
|
165
|
+
readonly modules: readonly ["refresh-tokens"];
|
|
166
|
+
}, {
|
|
167
|
+
readonly id: "jwt";
|
|
168
|
+
readonly description: "JWT revocation.";
|
|
169
|
+
readonly modules: readonly ["jwt"];
|
|
170
|
+
}, {
|
|
171
|
+
readonly id: "oauth";
|
|
172
|
+
readonly description: "OAuth client login and account linking.";
|
|
173
|
+
readonly modules: readonly ["sessions", "verification", "oauth-accounts"];
|
|
174
|
+
}, {
|
|
175
|
+
readonly id: "oauth-provider";
|
|
176
|
+
readonly description: "OAuth authorization-server mode.";
|
|
177
|
+
readonly modules: readonly ["sessions", "oauth-provider"];
|
|
178
|
+
}, {
|
|
179
|
+
readonly id: "oauth-token-vault";
|
|
180
|
+
readonly description: "Encrypted upstream provider-token storage.";
|
|
181
|
+
readonly modules: readonly ["oauth-token-vault"];
|
|
182
|
+
}, {
|
|
183
|
+
readonly id: "audit-log";
|
|
184
|
+
readonly description: "Authentication audit logging.";
|
|
185
|
+
readonly modules: readonly ["audit-log"];
|
|
186
|
+
}, {
|
|
187
|
+
readonly id: "login-risk";
|
|
188
|
+
readonly description: "Login risk history.";
|
|
189
|
+
readonly modules: readonly ["login-risk"];
|
|
190
|
+
}, {
|
|
191
|
+
readonly id: "security-timeline";
|
|
192
|
+
readonly description: "User security timelines.";
|
|
193
|
+
readonly modules: readonly ["security-timeline"];
|
|
194
|
+
}, {
|
|
195
|
+
readonly id: "webhooks";
|
|
196
|
+
readonly description: "Reliable webhook delivery.";
|
|
197
|
+
readonly modules: readonly ["webhooks"];
|
|
198
|
+
}, {
|
|
199
|
+
readonly id: "domain-verification";
|
|
200
|
+
readonly description: "Domain ownership verification.";
|
|
201
|
+
readonly modules: readonly ["domain-verification"];
|
|
202
|
+
}, {
|
|
203
|
+
readonly id: "permissions";
|
|
204
|
+
readonly description: "Roles and permissions.";
|
|
205
|
+
readonly modules: readonly ["permissions"];
|
|
206
|
+
}];
|
|
207
|
+
export type StorageFeatureId = (typeof storageFeatureCatalog)[number]["id"];
|
|
208
|
+
export declare const storageSchemaGeneratorCatalog: {
|
|
209
|
+
readonly apiVersion: "effect-auth.storage-schema-generator/v1";
|
|
210
|
+
readonly generatorVersion: "1.1.0";
|
|
211
|
+
readonly schemaVersion: "0009_auth_permissions";
|
|
212
|
+
readonly databases: readonly ["postgres"];
|
|
213
|
+
readonly adapters: readonly ["effect-qb", "drizzle"];
|
|
214
|
+
readonly adapterOutputs: {
|
|
215
|
+
readonly "effect-qb": readonly ["migration-sql"];
|
|
216
|
+
readonly drizzle: readonly ["migration-sql", "drizzle-schema"];
|
|
217
|
+
};
|
|
218
|
+
readonly modes: readonly ["fresh"];
|
|
219
|
+
readonly outputKinds: readonly ["migration-sql", "drizzle-schema"];
|
|
220
|
+
readonly sqlLayouts: readonly ["single", "module"];
|
|
221
|
+
readonly drizzleLayouts: readonly ["single", "module", "table"];
|
|
222
|
+
readonly features: readonly [{
|
|
223
|
+
readonly id: "password";
|
|
224
|
+
readonly description: "Password authentication.";
|
|
225
|
+
readonly modules: readonly ["credentials", "sessions", "verification"];
|
|
226
|
+
}, {
|
|
227
|
+
readonly id: "email-verification";
|
|
228
|
+
readonly description: "Email ownership verification.";
|
|
229
|
+
readonly modules: readonly ["verification"];
|
|
230
|
+
}, {
|
|
231
|
+
readonly id: "email-otp";
|
|
232
|
+
readonly description: "Email one-time passwords.";
|
|
233
|
+
readonly modules: readonly ["sessions", "verification"];
|
|
234
|
+
}, {
|
|
235
|
+
readonly id: "magic-link";
|
|
236
|
+
readonly description: "Email magic links.";
|
|
237
|
+
readonly modules: readonly ["sessions", "verification"];
|
|
238
|
+
}, {
|
|
239
|
+
readonly id: "sessions";
|
|
240
|
+
readonly description: "Cookie or token-backed sessions.";
|
|
241
|
+
readonly modules: readonly ["sessions"];
|
|
242
|
+
}, {
|
|
243
|
+
readonly id: "login-approval";
|
|
244
|
+
readonly description: "Out-of-band login approvals.";
|
|
245
|
+
readonly modules: readonly ["sessions", "login-approval"];
|
|
246
|
+
}, {
|
|
247
|
+
readonly id: "trusted-devices";
|
|
248
|
+
readonly description: "Trusted-device recognition.";
|
|
249
|
+
readonly modules: readonly ["trusted-devices"];
|
|
250
|
+
}, {
|
|
251
|
+
readonly id: "passkeys";
|
|
252
|
+
readonly description: "Passkey authentication.";
|
|
253
|
+
readonly modules: readonly ["sessions", "verification", "passkeys"];
|
|
254
|
+
}, {
|
|
255
|
+
readonly id: "totp";
|
|
256
|
+
readonly description: "TOTP multi-factor authentication.";
|
|
257
|
+
readonly modules: readonly ["sessions", "verification", "totp"];
|
|
258
|
+
}, {
|
|
259
|
+
readonly id: "recovery-codes";
|
|
260
|
+
readonly description: "MFA recovery codes.";
|
|
261
|
+
readonly modules: readonly ["sessions", "verification", "recovery-codes"];
|
|
262
|
+
}, {
|
|
263
|
+
readonly id: "api-keys";
|
|
264
|
+
readonly description: "User API keys.";
|
|
265
|
+
readonly modules: readonly ["api-keys"];
|
|
266
|
+
}, {
|
|
267
|
+
readonly id: "refresh-tokens";
|
|
268
|
+
readonly description: "Refresh-token rotation.";
|
|
269
|
+
readonly modules: readonly ["refresh-tokens"];
|
|
270
|
+
}, {
|
|
271
|
+
readonly id: "jwt";
|
|
272
|
+
readonly description: "JWT revocation.";
|
|
273
|
+
readonly modules: readonly ["jwt"];
|
|
274
|
+
}, {
|
|
275
|
+
readonly id: "oauth";
|
|
276
|
+
readonly description: "OAuth client login and account linking.";
|
|
277
|
+
readonly modules: readonly ["sessions", "verification", "oauth-accounts"];
|
|
278
|
+
}, {
|
|
279
|
+
readonly id: "oauth-provider";
|
|
280
|
+
readonly description: "OAuth authorization-server mode.";
|
|
281
|
+
readonly modules: readonly ["sessions", "oauth-provider"];
|
|
282
|
+
}, {
|
|
283
|
+
readonly id: "oauth-token-vault";
|
|
284
|
+
readonly description: "Encrypted upstream provider-token storage.";
|
|
285
|
+
readonly modules: readonly ["oauth-token-vault"];
|
|
286
|
+
}, {
|
|
287
|
+
readonly id: "audit-log";
|
|
288
|
+
readonly description: "Authentication audit logging.";
|
|
289
|
+
readonly modules: readonly ["audit-log"];
|
|
290
|
+
}, {
|
|
291
|
+
readonly id: "login-risk";
|
|
292
|
+
readonly description: "Login risk history.";
|
|
293
|
+
readonly modules: readonly ["login-risk"];
|
|
294
|
+
}, {
|
|
295
|
+
readonly id: "security-timeline";
|
|
296
|
+
readonly description: "User security timelines.";
|
|
297
|
+
readonly modules: readonly ["security-timeline"];
|
|
298
|
+
}, {
|
|
299
|
+
readonly id: "webhooks";
|
|
300
|
+
readonly description: "Reliable webhook delivery.";
|
|
301
|
+
readonly modules: readonly ["webhooks"];
|
|
302
|
+
}, {
|
|
303
|
+
readonly id: "domain-verification";
|
|
304
|
+
readonly description: "Domain ownership verification.";
|
|
305
|
+
readonly modules: readonly ["domain-verification"];
|
|
306
|
+
}, {
|
|
307
|
+
readonly id: "permissions";
|
|
308
|
+
readonly description: "Roles and permissions.";
|
|
309
|
+
readonly modules: readonly ["permissions"];
|
|
310
|
+
}];
|
|
311
|
+
readonly modules: readonly [{
|
|
312
|
+
readonly id: "core";
|
|
313
|
+
readonly description: "Users and login identities.";
|
|
314
|
+
readonly dependencies: readonly [];
|
|
315
|
+
readonly tables: readonly ["auth_user", "auth_user_identity"];
|
|
316
|
+
}, {
|
|
317
|
+
readonly id: "credentials";
|
|
318
|
+
readonly description: "Password and other typed credentials.";
|
|
319
|
+
readonly dependencies: readonly ["core"];
|
|
320
|
+
readonly tables: readonly ["auth_credential"];
|
|
321
|
+
}, {
|
|
322
|
+
readonly id: "sessions";
|
|
323
|
+
readonly description: "Authenticated sessions.";
|
|
324
|
+
readonly dependencies: readonly ["core"];
|
|
325
|
+
readonly tables: readonly ["auth_session"];
|
|
326
|
+
}, {
|
|
327
|
+
readonly id: "verification";
|
|
328
|
+
readonly description: "Short-lived verification challenges.";
|
|
329
|
+
readonly dependencies: readonly ["core"];
|
|
330
|
+
readonly tables: readonly ["auth_verification"];
|
|
331
|
+
}, {
|
|
332
|
+
readonly id: "totp";
|
|
333
|
+
readonly description: "TOTP factors.";
|
|
334
|
+
readonly dependencies: readonly ["core"];
|
|
335
|
+
readonly tables: readonly ["auth_totp_factor"];
|
|
336
|
+
}, {
|
|
337
|
+
readonly id: "recovery-codes";
|
|
338
|
+
readonly description: "MFA recovery codes.";
|
|
339
|
+
readonly dependencies: readonly ["core"];
|
|
340
|
+
readonly tables: readonly ["auth_recovery_code"];
|
|
341
|
+
}, {
|
|
342
|
+
readonly id: "refresh-tokens";
|
|
343
|
+
readonly description: "Rotating refresh-token families.";
|
|
344
|
+
readonly dependencies: readonly ["core"];
|
|
345
|
+
readonly tables: readonly ["auth_refresh_token"];
|
|
346
|
+
}, {
|
|
347
|
+
readonly id: "oauth-accounts";
|
|
348
|
+
readonly description: "External OAuth account links.";
|
|
349
|
+
readonly dependencies: readonly ["core"];
|
|
350
|
+
readonly tables: readonly ["auth_oauth_account"];
|
|
351
|
+
}, {
|
|
352
|
+
readonly id: "passkeys";
|
|
353
|
+
readonly description: "WebAuthn passkey credentials.";
|
|
354
|
+
readonly dependencies: readonly ["core"];
|
|
355
|
+
readonly tables: readonly ["auth_passkey_credential"];
|
|
356
|
+
}, {
|
|
357
|
+
readonly id: "api-keys";
|
|
358
|
+
readonly description: "User API keys.";
|
|
359
|
+
readonly dependencies: readonly ["core"];
|
|
360
|
+
readonly tables: readonly ["auth_api_key"];
|
|
361
|
+
}, {
|
|
362
|
+
readonly id: "jwt";
|
|
363
|
+
readonly description: "JWT revocations.";
|
|
364
|
+
readonly dependencies: readonly [];
|
|
365
|
+
readonly tables: readonly ["auth_jwt_revocation"];
|
|
366
|
+
}, {
|
|
367
|
+
readonly id: "audit-log";
|
|
368
|
+
readonly description: "Append-only authentication audit events.";
|
|
369
|
+
readonly dependencies: readonly ["core"];
|
|
370
|
+
readonly tables: readonly ["auth_audit_log"];
|
|
371
|
+
}, {
|
|
372
|
+
readonly id: "login-approval";
|
|
373
|
+
readonly description: "Out-of-band login approval reviews.";
|
|
374
|
+
readonly dependencies: readonly ["core", "verification"];
|
|
375
|
+
readonly tables: readonly ["auth_login_approval_review"];
|
|
376
|
+
}, {
|
|
377
|
+
readonly id: "login-risk";
|
|
378
|
+
readonly description: "Login risk history.";
|
|
379
|
+
readonly dependencies: readonly ["core"];
|
|
380
|
+
readonly tables: readonly ["auth_login_risk_history"];
|
|
381
|
+
}, {
|
|
382
|
+
readonly id: "trusted-devices";
|
|
383
|
+
readonly description: "Trusted-device tokens.";
|
|
384
|
+
readonly dependencies: readonly ["core"];
|
|
385
|
+
readonly tables: readonly ["auth_trusted_device"];
|
|
386
|
+
}, {
|
|
387
|
+
readonly id: "webhooks";
|
|
388
|
+
readonly description: "Webhook delivery and replay state.";
|
|
389
|
+
readonly dependencies: readonly [];
|
|
390
|
+
readonly tables: readonly ["auth_webhook_outbox", "auth_webhook_replay"];
|
|
391
|
+
}, {
|
|
392
|
+
readonly id: "domain-verification";
|
|
393
|
+
readonly description: "Domain ownership proofs.";
|
|
394
|
+
readonly dependencies: readonly [];
|
|
395
|
+
readonly tables: readonly ["auth_domain_verification"];
|
|
396
|
+
}, {
|
|
397
|
+
readonly id: "security-timeline";
|
|
398
|
+
readonly description: "User security timeline entries.";
|
|
399
|
+
readonly dependencies: readonly ["core"];
|
|
400
|
+
readonly tables: readonly ["auth_security_timeline"];
|
|
401
|
+
}, {
|
|
402
|
+
readonly id: "oauth-provider";
|
|
403
|
+
readonly description: "OAuth authorization-server clients, grants, and tokens.";
|
|
404
|
+
readonly dependencies: readonly ["core", "verification"];
|
|
405
|
+
readonly tables: readonly ["auth_oauth_client", "auth_oauth_consent", "auth_oauth_authorization_code", "auth_oauth_client_secret", "auth_oauth_provider_mode_token"];
|
|
406
|
+
}, {
|
|
407
|
+
readonly id: "oauth-token-vault";
|
|
408
|
+
readonly description: "Encrypted upstream OAuth provider tokens.";
|
|
409
|
+
readonly dependencies: readonly ["oauth-accounts"];
|
|
410
|
+
readonly tables: readonly ["auth_oauth_provider_token_vault"];
|
|
411
|
+
}, {
|
|
412
|
+
readonly id: "permissions";
|
|
413
|
+
readonly description: "Permission, role, and grant definitions.";
|
|
414
|
+
readonly dependencies: readonly [];
|
|
415
|
+
readonly tables: readonly ["auth_permission_definition", "auth_role_definition", "auth_permission_grant", "auth_role_grant", "auth_role_permission"];
|
|
416
|
+
}];
|
|
417
|
+
};
|
|
418
|
+
export type StorageArtifactOutput = {
|
|
419
|
+
readonly kind: "migration-sql";
|
|
420
|
+
readonly layout: "single" | "module";
|
|
421
|
+
} | {
|
|
422
|
+
readonly kind: "drizzle-schema";
|
|
423
|
+
readonly layout: "single" | "module" | "table";
|
|
424
|
+
readonly includeRelations?: boolean;
|
|
425
|
+
};
|
|
426
|
+
export interface GenerateStorageArtifactsRequest {
|
|
427
|
+
readonly database: StorageDatabase;
|
|
428
|
+
readonly adapter: StorageAdapter;
|
|
429
|
+
readonly mode?: StorageGeneratorMode;
|
|
430
|
+
readonly features: readonly StorageFeatureId[];
|
|
431
|
+
readonly outputs: readonly StorageArtifactOutput[];
|
|
432
|
+
}
|
|
433
|
+
export interface NormalizedGenerateStorageArtifactsRequest {
|
|
434
|
+
readonly database: StorageDatabase;
|
|
435
|
+
readonly adapter: StorageAdapter;
|
|
436
|
+
readonly mode: StorageGeneratorMode;
|
|
437
|
+
readonly features: readonly StorageFeatureId[];
|
|
438
|
+
readonly outputs: readonly ({
|
|
439
|
+
readonly kind: "migration-sql";
|
|
440
|
+
readonly layout: "single" | "module";
|
|
441
|
+
} | {
|
|
442
|
+
readonly kind: "drizzle-schema";
|
|
443
|
+
readonly layout: "single" | "module" | "table";
|
|
444
|
+
readonly includeRelations: boolean;
|
|
445
|
+
})[];
|
|
446
|
+
}
|
|
447
|
+
export interface ResolvedStorageSelection {
|
|
448
|
+
readonly features: readonly StorageFeatureId[];
|
|
449
|
+
readonly modules: readonly StorageModuleId[];
|
|
450
|
+
readonly tables: readonly StorageTableId[];
|
|
451
|
+
readonly impliedModules: readonly StorageModuleId[];
|
|
452
|
+
}
|
|
453
|
+
export interface GeneratedStorageFile {
|
|
454
|
+
readonly path: string;
|
|
455
|
+
readonly mediaType: "application/sql" | "text/typescript";
|
|
456
|
+
readonly content: string;
|
|
457
|
+
}
|
|
458
|
+
export interface GeneratedStorageArtifacts {
|
|
459
|
+
readonly apiVersion: typeof storageSchemaGeneratorApiVersion;
|
|
460
|
+
readonly generatorVersion: typeof storageSchemaGeneratorVersion;
|
|
461
|
+
readonly schemaVersion: typeof storageSchemaVersion;
|
|
462
|
+
readonly fingerprint: string;
|
|
463
|
+
readonly request: NormalizedGenerateStorageArtifactsRequest;
|
|
464
|
+
readonly resolved: ResolvedStorageSelection;
|
|
465
|
+
readonly files: readonly GeneratedStorageFile[];
|
|
466
|
+
readonly warnings: readonly string[];
|
|
467
|
+
}
|
|
468
|
+
export type StorageSchemaGeneratorErrorCode = "INVALID_REQUEST" | "UNSUPPORTED_DATABASE" | "UNSUPPORTED_ADAPTER" | "UNSUPPORTED_OUTPUT_FOR_ADAPTER" | "UNSUPPORTED_MODE" | "UNKNOWN_FEATURE" | "INVALID_OUTPUT" | "DUPLICATE_OUTPUT";
|
|
469
|
+
export declare class StorageSchemaGeneratorError extends Error {
|
|
470
|
+
readonly name = "StorageSchemaGeneratorError";
|
|
471
|
+
readonly code: StorageSchemaGeneratorErrorCode;
|
|
472
|
+
readonly path: string;
|
|
473
|
+
readonly suggestions: readonly string[];
|
|
474
|
+
constructor(code: StorageSchemaGeneratorErrorCode, path: string, message: string, suggestions?: readonly string[]);
|
|
475
|
+
toJSON(): {
|
|
476
|
+
readonly name: string;
|
|
477
|
+
readonly code: StorageSchemaGeneratorErrorCode;
|
|
478
|
+
readonly path: string;
|
|
479
|
+
readonly message: string;
|
|
480
|
+
readonly suggestions: readonly string[];
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
export declare const resolveStorageFeatures: (features: readonly StorageFeatureId[]) => ResolvedStorageSelection;
|
|
484
|
+
export declare const parseStorageSchemaGeneratorRequest: (request: unknown) => NormalizedGenerateStorageArtifactsRequest;
|
|
485
|
+
export declare const generateStorageArtifacts: (request: GenerateStorageArtifactsRequest) => GeneratedStorageArtifacts;
|
|
486
|
+
//# sourceMappingURL=StorageSchemaGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageSchemaGenerator.d.ts","sourceRoot":"","sources":["../src/StorageSchemaGenerator.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC,EAC3C,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