@tinyrack/issuary-server 0.30.0 → 0.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/auth-budget.entity.d.ts +20 -0
- package/dist/entities/auth-budget.entity.d.ts.map +1 -0
- package/dist/entities/auth-budget.entity.js +11 -0
- package/dist/entities/auth-budget.entity.js.map +1 -0
- package/dist/entities/browser-session.entity.d.ts +32 -0
- package/dist/entities/browser-session.entity.d.ts.map +1 -0
- package/dist/entities/browser-session.entity.js +12 -0
- package/dist/entities/browser-session.entity.js.map +1 -0
- package/dist/entities/email-verification.entity.d.ts +18 -0
- package/dist/entities/email-verification.entity.d.ts.map +1 -1
- package/dist/entities/email-verification.entity.js +2 -0
- package/dist/entities/email-verification.entity.js.map +1 -1
- package/dist/entities/oauth-client.entity.d.ts +120 -0
- package/dist/entities/oauth-client.entity.d.ts.map +1 -1
- package/dist/entities/oauth-code.entity.d.ts +120 -0
- package/dist/entities/oauth-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-code.entity.js +3 -0
- package/dist/entities/oauth-code.entity.js.map +1 -1
- package/dist/entities/oauth-device-code.entity.d.ts +120 -0
- package/dist/entities/oauth-device-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-device-code.entity.js +3 -0
- package/dist/entities/oauth-device-code.entity.js.map +1 -1
- package/dist/entities/oauth-grant.entity.d.ts +52 -0
- package/dist/entities/oauth-grant.entity.d.ts.map +1 -0
- package/dist/entities/oauth-grant.entity.js +19 -0
- package/dist/entities/oauth-grant.entity.js.map +1 -0
- package/dist/entities/password-reset.entity.d.ts +18 -0
- package/dist/entities/password-reset.entity.d.ts.map +1 -1
- package/dist/entities/password-reset.entity.js +2 -0
- package/dist/entities/password-reset.entity.js.map +1 -1
- package/dist/entities/pending-oauth-registration.entity.d.ts +9 -0
- package/dist/entities/pending-oauth-registration.entity.d.ts.map +1 -1
- package/dist/entities/pending-oauth-registration.entity.js +1 -0
- package/dist/entities/pending-oauth-registration.entity.js.map +1 -1
- package/dist/entities/revoked-token.entity.d.ts +120 -0
- package/dist/entities/revoked-token.entity.d.ts.map +1 -1
- package/dist/entities/terms-content.entity.d.ts +36 -0
- package/dist/entities/terms-content.entity.d.ts.map +1 -1
- package/dist/entities/terms.entity.d.ts +36 -0
- package/dist/entities/terms.entity.d.ts.map +1 -1
- package/dist/entities/user-consent.entity.d.ts +120 -0
- package/dist/entities/user-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-terms-consent.entity.d.ts +36 -0
- package/dist/entities/user-terms-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-totp-recovery-code.entity.d.ts +36 -0
- package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -1
- package/dist/entities/user-totp.entity.d.ts +36 -0
- package/dist/entities/user-totp.entity.d.ts.map +1 -1
- package/dist/entities/user-totp.entity.js +1 -0
- package/dist/entities/user-totp.entity.js.map +1 -1
- package/dist/entities/user.entity.d.ts +36 -0
- package/dist/entities/user.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.js +3 -0
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/entrypoints/app.d.ts +438 -424
- package/dist/entrypoints/app.d.ts.map +1 -1
- package/dist/entrypoints/app.js +78 -6
- package/dist/entrypoints/app.js.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts +326 -200
- package/dist/entrypoints/database/postgres/compiled-functions.js +1849 -518
- package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +326 -200
- package/dist/entrypoints/database/sqlite/compiled-functions.js +1849 -518
- package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/sqlite.d.ts.map +1 -1
- package/dist/entrypoints/database/sqlite/sqlite.js +1 -0
- package/dist/entrypoints/database/sqlite/sqlite.js.map +1 -1
- package/dist/entrypoints/scheduler/database.d.ts +3 -1
- package/dist/entrypoints/scheduler/database.d.ts.map +1 -1
- package/dist/entrypoints/scheduler/database.js +13 -2
- package/dist/entrypoints/scheduler/database.js.map +1 -1
- package/dist/entrypoints/scheduler/distributed-runner.d.ts +4 -0
- package/dist/entrypoints/scheduler/distributed-runner.d.ts.map +1 -1
- package/dist/entrypoints/scheduler/distributed-runner.js +26 -1
- package/dist/entrypoints/scheduler/distributed-runner.js.map +1 -1
- package/dist/lib/config/client.js +1 -1
- package/dist/lib/config/client.js.map +1 -1
- package/dist/lib/config/email.d.ts +1 -0
- package/dist/lib/config/email.d.ts.map +1 -1
- package/dist/lib/config/email.js.map +1 -1
- package/dist/lib/database/entities.d.ts.map +1 -1
- package/dist/lib/database/entities.js +6 -0
- package/dist/lib/database/entities.js.map +1 -1
- package/dist/lib/openapi.d.ts +2 -0
- package/dist/lib/openapi.d.ts.map +1 -1
- package/dist/lib/openapi.js +36 -1
- package/dist/lib/openapi.js.map +1 -1
- package/dist/lib/request-ip.d.ts +4 -0
- package/dist/lib/request-ip.d.ts.map +1 -0
- package/dist/lib/request-ip.js +39 -0
- package/dist/lib/request-ip.js.map +1 -0
- package/dist/middleware/auth-budget.d.ts +3 -0
- package/dist/middleware/auth-budget.d.ts.map +1 -0
- package/dist/middleware/auth-budget.js +80 -0
- package/dist/middleware/auth-budget.js.map +1 -0
- package/dist/middleware/session.d.ts +23 -5
- package/dist/middleware/session.d.ts.map +1 -1
- package/dist/middleware/session.js +152 -12
- package/dist/middleware/session.js.map +1 -1
- package/dist/middleware/strict-input.d.ts +4 -0
- package/dist/middleware/strict-input.d.ts.map +1 -0
- package/dist/middleware/strict-input.js +144 -0
- package/dist/middleware/strict-input.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.js +20 -0
- package/dist/migrations/postgres/Migration20260910120000_api_security.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.js +23 -0
- package/dist/migrations/postgres/Migration20260910160000_security_followup.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.js +28 -0
- package/dist/migrations/postgres/Migration20260910200000_authentication_epoch.js.map +1 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.js +19 -0
- package/dist/migrations/postgres/Migration20260910220000_flow_revocation.js.map +1 -0
- package/dist/migrations/postgres/index.d.ts.map +1 -1
- package/dist/migrations/postgres/index.js +8 -0
- package/dist/migrations/postgres/index.js.map +1 -1
- package/dist/migrations/sqlite/Migration20260910120000_api_security.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260910120000_api_security.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910120000_api_security.js +20 -0
- package/dist/migrations/sqlite/Migration20260910120000_api_security.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.js +23 -0
- package/dist/migrations/sqlite/Migration20260910160000_security_followup.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.d.ts +8 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.js +72 -0
- package/dist/migrations/sqlite/Migration20260910200000_authentication_epoch.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.js +19 -0
- package/dist/migrations/sqlite/Migration20260910220000_flow_revocation.js.map +1 -0
- package/dist/migrations/sqlite/index.d.ts.map +1 -1
- package/dist/migrations/sqlite/index.js +8 -0
- package/dist/migrations/sqlite/index.js.map +1 -1
- package/dist/repositories/email-verification.repository.d.ts +1 -0
- package/dist/repositories/email-verification.repository.d.ts.map +1 -1
- package/dist/repositories/email-verification.repository.js +8 -17
- package/dist/repositories/email-verification.repository.js.map +1 -1
- package/dist/repositories/oauth-code.repository.d.ts +2 -0
- package/dist/repositories/oauth-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-code.repository.js +8 -0
- package/dist/repositories/oauth-code.repository.js.map +1 -1
- package/dist/repositories/oauth-device-code.repository.d.ts +3 -0
- package/dist/repositories/oauth-device-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-device-code.repository.js +64 -29
- package/dist/repositories/oauth-device-code.repository.js.map +1 -1
- package/dist/repositories/password-reset.repository.d.ts +1 -0
- package/dist/repositories/password-reset.repository.d.ts.map +1 -1
- package/dist/repositories/password-reset.repository.js +6 -19
- package/dist/repositories/password-reset.repository.js.map +1 -1
- package/dist/repositories/pending-oauth-registration.repository.d.ts +2 -0
- package/dist/repositories/pending-oauth-registration.repository.d.ts.map +1 -1
- package/dist/repositories/pending-oauth-registration.repository.js +16 -2
- package/dist/repositories/pending-oauth-registration.repository.js.map +1 -1
- package/dist/repositories/terms.repository.d.ts.map +1 -1
- package/dist/repositories/terms.repository.js +1 -0
- package/dist/repositories/terms.repository.js.map +1 -1
- package/dist/repositories/user-consent.repository.d.ts.map +1 -1
- package/dist/repositories/user-consent.repository.js +9 -3
- package/dist/repositories/user-consent.repository.js.map +1 -1
- package/dist/repositories/user-terms-consent.repository.d.ts.map +1 -1
- package/dist/repositories/user-terms-consent.repository.js +2 -0
- package/dist/repositories/user-terms-consent.repository.js.map +1 -1
- package/dist/repositories/user-totp-recovery-code.repository.d.ts +24 -0
- package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -1
- package/dist/repositories/user-totp.repository.d.ts +36 -0
- package/dist/repositories/user-totp.repository.d.ts.map +1 -1
- package/dist/routes/.well-known/openid-configuration/get.d.ts.map +1 -1
- package/dist/routes/.well-known/openid-configuration/get.js +5 -1
- package/dist/routes/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/api/admin/console/index.d.ts.map +1 -1
- package/dist/routes/api/admin/console/index.js +29 -14
- package/dist/routes/api/admin/console/index.js.map +1 -1
- package/dist/routes/api/admin/me/get.js +2 -3
- package/dist/routes/api/admin/me/get.js.map +1 -1
- package/dist/routes/api/admin/users/index.d.ts.map +1 -1
- package/dist/routes/api/admin/users/index.js +59 -52
- package/dist/routes/api/admin/users/index.js.map +1 -1
- package/dist/routes/api/auth/accounts/select.post.d.ts +6 -6
- package/dist/routes/api/auth/email/resend/post.d.ts.map +1 -1
- package/dist/routes/api/auth/email/resend/post.js +3 -24
- package/dist/routes/api/auth/email/resend/post.js.map +1 -1
- package/dist/routes/api/auth/email/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/email/verify/post.js +29 -12
- package/dist/routes/api/auth/email/verify/post.js.map +1 -1
- package/dist/routes/api/auth/login/post.d.ts.map +1 -1
- package/dist/routes/api/auth/login/post.js +4 -3
- package/dist/routes/api/auth/login/post.js.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.js +25 -11
- package/dist/routes/api/auth/passkey/verify/post.js.map +1 -1
- package/dist/routes/api/auth/password/forgot/post.d.ts.map +1 -1
- package/dist/routes/api/auth/password/forgot/post.js +2 -19
- package/dist/routes/api/auth/password/forgot/post.js.map +1 -1
- package/dist/routes/api/auth/register/post.d.ts.map +1 -1
- package/dist/routes/api/auth/register/post.js +4 -3
- package/dist/routes/api/auth/register/post.js.map +1 -1
- package/dist/routes/api/auth/totp/recovery/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/totp/recovery/verify/post.js +7 -5
- package/dist/routes/api/auth/totp/recovery/verify/post.js.map +1 -1
- package/dist/routes/api/auth/totp/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/totp/verify/post.js +7 -5
- package/dist/routes/api/auth/totp/verify/post.js.map +1 -1
- package/dist/routes/api/consent/get.d.ts +3 -0
- package/dist/routes/api/consent/get.d.ts.map +1 -1
- package/dist/routes/api/consent/get.js +26 -4
- package/dist/routes/api/consent/get.js.map +1 -1
- package/dist/routes/api/consent/index.d.ts +3 -0
- package/dist/routes/api/consent/index.d.ts.map +1 -1
- package/dist/routes/api/consent/post.d.ts.map +1 -1
- package/dist/routes/api/consent/post.js +142 -114
- package/dist/routes/api/consent/post.js.map +1 -1
- package/dist/routes/api/docs/get.d.ts.map +1 -1
- package/dist/routes/api/docs/get.js +8 -1
- package/dist/routes/api/docs/get.js.map +1 -1
- package/dist/routes/api/index.d.ts +382 -379
- package/dist/routes/api/index.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/authorize/get.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/authorize/get.js +5 -1
- package/dist/routes/api/oauth/_provider/authorize/get.js.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/get.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/get.js +30 -6
- package/dist/routes/api/oauth/_provider/callback/get.js.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/post.d.ts +9 -9
- package/dist/routes/api/oauth/_provider/callback/post.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/callback/post.js +31 -31
- package/dist/routes/api/oauth/_provider/callback/post.js.map +1 -1
- package/dist/routes/api/oauth/_provider/delete.d.ts.map +1 -1
- package/dist/routes/api/oauth/_provider/delete.js +14 -11
- package/dist/routes/api/oauth/_provider/delete.js.map +1 -1
- package/dist/routes/api/terms/consent/post.d.ts.map +1 -1
- package/dist/routes/api/terms/consent/post.js +59 -43
- package/dist/routes/api/terms/consent/post.js.map +1 -1
- package/dist/routes/api/user/delete.d.ts.map +1 -1
- package/dist/routes/api/user/delete.js +8 -8
- package/dist/routes/api/user/delete.js.map +1 -1
- package/dist/routes/api/user/passkeys/_id/delete.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/_id/delete.js +17 -29
- package/dist/routes/api/user/passkeys/_id/delete.js.map +1 -1
- package/dist/routes/api/user/passkeys/_id/patch.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/_id/patch.js +16 -13
- package/dist/routes/api/user/passkeys/_id/patch.js.map +1 -1
- package/dist/routes/api/user/passkeys/register/verify/post.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/register/verify/post.js +27 -19
- package/dist/routes/api/user/passkeys/register/verify/post.js.map +1 -1
- package/dist/routes/api/user/password/delete.d.ts.map +1 -1
- package/dist/routes/api/user/password/delete.js +13 -10
- package/dist/routes/api/user/password/delete.js.map +1 -1
- package/dist/routes/api/user/password/post.d.ts.map +1 -1
- package/dist/routes/api/user/password/post.js +13 -10
- package/dist/routes/api/user/password/post.js.map +1 -1
- package/dist/routes/api/user/password/put.d.ts.map +1 -1
- package/dist/routes/api/user/password/put.js +13 -10
- package/dist/routes/api/user/password/put.js.map +1 -1
- package/dist/routes/api/user/totp/confirm/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/confirm/post.js +33 -18
- package/dist/routes/api/user/totp/confirm/post.js.map +1 -1
- package/dist/routes/api/user/totp/delete.d.ts.map +1 -1
- package/dist/routes/api/user/totp/delete.js +13 -18
- package/dist/routes/api/user/totp/delete.js.map +1 -1
- package/dist/routes/api/user/totp/recovery/regenerate/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/recovery/regenerate/post.js +13 -10
- package/dist/routes/api/user/totp/recovery/regenerate/post.js.map +1 -1
- package/dist/routes/api/user/totp/setup/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/setup/post.js +13 -8
- package/dist/routes/api/user/totp/setup/post.js.map +1 -1
- package/dist/routes/api/user/totp/verify/post.d.ts.map +1 -1
- package/dist/routes/api/user/totp/verify/post.js +23 -12
- package/dist/routes/api/user/totp/verify/post.js.map +1 -1
- package/dist/routes/index.d.ts +243 -230
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.js +12 -4
- package/dist/routes/oauth/authorize/get.js.map +1 -1
- package/dist/routes/oauth/device/get-post.d.ts +10 -0
- package/dist/routes/oauth/device/get-post.d.ts.map +1 -1
- package/dist/routes/oauth/device/get-post.js +32 -3
- package/dist/routes/oauth/device/get-post.js.map +1 -1
- package/dist/routes/oauth/device-authorization/post.d.ts.map +1 -1
- package/dist/routes/oauth/device-authorization/post.js +13 -7
- package/dist/routes/oauth/device-authorization/post.js.map +1 -1
- package/dist/routes/oauth/end-session/get.d.ts +9 -9
- package/dist/routes/oauth/end-session/get.d.ts.map +1 -1
- package/dist/routes/oauth/end-session/get.js +2 -3
- package/dist/routes/oauth/end-session/get.js.map +1 -1
- package/dist/routes/oauth/index.d.ts +19 -9
- package/dist/routes/oauth/index.d.ts.map +1 -1
- package/dist/routes/oauth/revoke/post.d.ts.map +1 -1
- package/dist/routes/oauth/revoke/post.js +10 -2
- package/dist/routes/oauth/revoke/post.js.map +1 -1
- package/dist/routes/oauth/token/post.d.ts.map +1 -1
- package/dist/routes/oauth/token/post.js +69 -57
- package/dist/routes/oauth/token/post.js.map +1 -1
- package/dist/schemas/error.d.ts +75 -0
- package/dist/schemas/error.d.ts.map +1 -1
- package/dist/schemas/error.js +3 -0
- package/dist/schemas/error.js.map +1 -1
- package/dist/schemas/field.d.ts.map +1 -1
- package/dist/schemas/field.js +3 -0
- package/dist/schemas/field.js.map +1 -1
- package/dist/seeders/config.seeder.d.ts +1 -1
- package/dist/seeders/config.seeder.d.ts.map +1 -1
- package/dist/seeders/config.seeder.js +100 -36
- package/dist/seeders/config.seeder.js.map +1 -1
- package/dist/services/admin-console.service.d.ts.map +1 -1
- package/dist/services/admin-console.service.js +137 -100
- package/dist/services/admin-console.service.js.map +1 -1
- package/dist/services/auth-budget.service.d.ts +6 -0
- package/dist/services/auth-budget.service.d.ts.map +1 -0
- package/dist/services/auth-budget.service.js +30 -0
- package/dist/services/auth-budget.service.js.map +1 -0
- package/dist/services/authentication-epoch.d.ts +5 -0
- package/dist/services/authentication-epoch.d.ts.map +1 -0
- package/dist/services/authentication-epoch.js +22 -0
- package/dist/services/authentication-epoch.js.map +1 -0
- package/dist/services/authorization-browser.service.d.ts +18 -0
- package/dist/services/authorization-browser.service.d.ts.map +1 -0
- package/dist/services/authorization-browser.service.js +28 -0
- package/dist/services/authorization-browser.service.js.map +1 -0
- package/dist/services/browser-security.service.d.ts +14 -0
- package/dist/services/browser-security.service.d.ts.map +1 -0
- package/dist/services/browser-security.service.js +85 -0
- package/dist/services/browser-security.service.js.map +1 -0
- package/dist/services/browser-session.service.d.ts +25 -0
- package/dist/services/browser-session.service.d.ts.map +1 -0
- package/dist/services/browser-session.service.js +102 -0
- package/dist/services/browser-session.service.js.map +1 -0
- package/dist/services/cleanup.service.d.ts +1 -0
- package/dist/services/cleanup.service.d.ts.map +1 -1
- package/dist/services/cleanup.service.js +31 -0
- package/dist/services/cleanup.service.js.map +1 -1
- package/dist/services/client-security.d.ts +641 -0
- package/dist/services/client-security.d.ts.map +1 -0
- package/dist/services/client-security.js +10 -0
- package/dist/services/client-security.js.map +1 -0
- package/dist/services/container.d.ts +2 -0
- package/dist/services/container.d.ts.map +1 -1
- package/dist/services/container.js +7 -3
- package/dist/services/container.js.map +1 -1
- package/dist/services/email.service.d.ts +2 -14
- package/dist/services/email.service.d.ts.map +1 -1
- package/dist/services/email.service.js +35 -29
- package/dist/services/email.service.js.map +1 -1
- package/dist/services/jwt.service.d.ts +1 -0
- package/dist/services/jwt.service.d.ts.map +1 -1
- package/dist/services/jwt.service.js +13 -1
- package/dist/services/jwt.service.js.map +1 -1
- package/dist/services/mail-queue.service.d.ts +24 -0
- package/dist/services/mail-queue.service.d.ts.map +1 -0
- package/dist/services/mail-queue.service.js +223 -0
- package/dist/services/mail-queue.service.js.map +1 -0
- package/dist/services/mikro.service.d.ts.map +1 -1
- package/dist/services/mikro.service.js +2 -0
- package/dist/services/mikro.service.js.map +1 -1
- package/dist/services/oauth-authorize.service.d.ts +6 -1
- package/dist/services/oauth-authorize.service.d.ts.map +1 -1
- package/dist/services/oauth-authorize.service.js +136 -77
- package/dist/services/oauth-authorize.service.js.map +1 -1
- package/dist/services/oauth-browser-security.service.d.ts +7 -0
- package/dist/services/oauth-browser-security.service.d.ts.map +1 -0
- package/dist/services/oauth-browser-security.service.js +67 -0
- package/dist/services/oauth-browser-security.service.js.map +1 -0
- package/dist/services/oauth-client.service.d.ts +24 -1
- package/dist/services/oauth-client.service.d.ts.map +1 -1
- package/dist/services/oauth-client.service.js +52 -13
- package/dist/services/oauth-client.service.js.map +1 -1
- package/dist/services/oauth-connect.service.d.ts +37 -3
- package/dist/services/oauth-connect.service.d.ts.map +1 -1
- package/dist/services/oauth-connect.service.js +236 -212
- package/dist/services/oauth-connect.service.js.map +1 -1
- package/dist/services/oauth-token.service.d.ts +6 -4
- package/dist/services/oauth-token.service.d.ts.map +1 -1
- package/dist/services/oauth-token.service.js +295 -209
- package/dist/services/oauth-token.service.js.map +1 -1
- package/dist/services/passkey.service.d.ts +26 -7
- package/dist/services/passkey.service.d.ts.map +1 -1
- package/dist/services/passkey.service.js +71 -42
- package/dist/services/passkey.service.js.map +1 -1
- package/dist/services/password-auth.service.d.ts +5 -1
- package/dist/services/password-auth.service.d.ts.map +1 -1
- package/dist/services/password-auth.service.js +79 -52
- package/dist/services/password-auth.service.js.map +1 -1
- package/dist/services/password-reset.service.d.ts.map +1 -1
- package/dist/services/password-reset.service.js +34 -15
- package/dist/services/password-reset.service.js.map +1 -1
- package/dist/services/security.service.d.ts +3 -1
- package/dist/services/security.service.d.ts.map +1 -1
- package/dist/services/security.service.js +11 -2
- package/dist/services/security.service.js.map +1 -1
- package/dist/services/terms-policy.service.d.ts +7 -0
- package/dist/services/terms-policy.service.d.ts.map +1 -0
- package/dist/services/terms-policy.service.js +26 -0
- package/dist/services/terms-policy.service.js.map +1 -0
- package/dist/services/terms.service.d.ts.map +1 -1
- package/dist/services/terms.service.js +3 -2
- package/dist/services/terms.service.js.map +1 -1
- package/dist/services/totp.service.d.ts +4 -5
- package/dist/services/totp.service.d.ts.map +1 -1
- package/dist/services/totp.service.js +116 -86
- package/dist/services/totp.service.js.map +1 -1
- package/dist/services/user-consent.service.d.ts +12 -0
- package/dist/services/user-consent.service.d.ts.map +1 -1
- package/dist/services/user-consent.service.js +19 -1
- package/dist/services/user-consent.service.js.map +1 -1
- package/dist/services/user-security.service.d.ts +15 -0
- package/dist/services/user-security.service.d.ts.map +1 -0
- package/dist/services/user-security.service.js +57 -0
- package/dist/services/user-security.service.js.map +1 -0
- package/dist/services/user.service.d.ts +6 -4
- package/dist/services/user.service.d.ts.map +1 -1
- package/dist/services/user.service.js +143 -121
- package/dist/services/user.service.js.map +1 -1
- package/frontend/client/assets/{auth-layout-B4h13HhN.js → auth-layout-sea6nww4.js} +1 -1
- package/frontend/client/assets/{auth-page-header-BVY4zRzF.js → auth-page-header-CV85AJLW.js} +1 -1
- package/frontend/client/assets/document-navigation-FZbb5ldf.js +1 -0
- package/frontend/client/assets/i18n-vfKY-byx.js +1 -0
- package/frontend/client/assets/language-selector-Jso2cQNI.js +1 -0
- package/frontend/client/assets/manifest-90703545.js +1 -0
- package/frontend/client/assets/oauth-search-DebNssaC.js +1 -0
- package/frontend/client/assets/{passkey-CWcdr7Vy.js → passkey-CJhT-7yO.js} +1 -1
- package/frontend/client/assets/{promise-EbDcmV0j.js → promise-BP9iSIs-.js} +1 -1
- package/frontend/client/assets/{root-C2SlHCkE.js → root-BkavuloG.js} +1 -1
- package/frontend/client/assets/{route-3gQ9Nsqa.js → route-B0udr9eT.js} +1 -1
- package/frontend/client/assets/route-B3Uv9aTa.js +1 -0
- package/frontend/client/assets/{route-DSD60oyb.js → route-B6hIfgxz.js} +1 -1
- package/frontend/client/assets/{route-DO38I3ML.js → route-BEWds2g-.js} +1 -1
- package/frontend/client/assets/route-Bm9LsorH.js +1 -0
- package/frontend/client/assets/route-Btv5Y69z.js +1 -0
- package/frontend/client/assets/route-BvyDzziE.js +1 -0
- package/frontend/client/assets/route-C6kG9u7j.js +1 -0
- package/frontend/client/assets/route-C7C3Z0vI.js +1 -0
- package/frontend/client/assets/{route-DQpLeFuG.js → route-CVyefM3x.js} +1 -1
- package/frontend/client/assets/{route-CkpB3-_U.js → route-CXth2Wqz.js} +1 -1
- package/frontend/client/assets/{route-9FLiqn21.js → route-Clxc1C2d.js} +1 -1
- package/frontend/client/assets/route-D0IqOurp.js +1 -0
- package/frontend/client/assets/route-DHmYUnJR.js +1 -0
- package/frontend/client/assets/route-DTjZQ_Fl.js +1 -0
- package/frontend/client/assets/route-D_dTeu1b.js +1 -0
- package/frontend/client/assets/{route-CrswLAAa.js → route-Dj8gVemC.js} +1 -1
- package/frontend/client/assets/{route-BUM2hTU8.js → route-DnhPlHOi.js} +1 -1
- package/frontend/client/assets/route-FY92YQhF.js +1 -0
- package/frontend/client/assets/{route-DH6kQz8L.js → route-PcLpZHbT.js} +1 -1
- package/frontend/client/assets/{route-bKG0wKRh.js → route-qpE7i22X.js} +1 -1
- package/frontend/client/assets/{route-3IIrVTOK.js → route-wK89gmoS.js} +1 -1
- package/frontend/client/assets/security-error-message-CMsTsiWf.js +1 -0
- package/frontend/client/assets/{shell-header-bar-Bg85QIAq.js → shell-header-bar-DRx10tE5.js} +1 -1
- package/frontend/client/assets/{terms-DV0oDTRf.js → terms-Bu9Itxxs.js} +1 -1
- package/frontend/client/assets/{use-totp-setup-D7XZ6Nos.js → use-totp-setup-CoOXWOcT.js} +1 -1
- package/frontend/server/assets/{hydration-Cvbp7-6s.js → hydration-DWMjpNav.js} +1 -1
- package/frontend/server/assets/{root-loader.server-DaTcVcNU.js → root-loader.server-B4OqoLGG.js} +3 -3
- package/frontend/server/assets/{route-runtime.server-CEa264cW.js → route-runtime.server-03_pjVDT.js} +1 -1
- package/frontend/server/assets/{session-QqvIIQ6R.js → session-sJkmzJie.js} +51 -57
- package/frontend/server/index.js +337 -403
- package/package.json +1 -1
- package/frontend/client/assets/authorization-context-banner-az4f8FCY.js +0 -1
- package/frontend/client/assets/document-navigation-Cnp3Alf0.js +0 -1
- package/frontend/client/assets/i18n-CMepi_uj.js +0 -1
- package/frontend/client/assets/language-selector-Chn-k7Pw.js +0 -1
- package/frontend/client/assets/manifest-8c4a603f.js +0 -1
- package/frontend/client/assets/oauth-search-DybZ6VWp.js +0 -1
- package/frontend/client/assets/route-BFU8OK2a.js +0 -1
- package/frontend/client/assets/route-BKI6LDOW.js +0 -1
- package/frontend/client/assets/route-CusK9Y2K.js +0 -1
- package/frontend/client/assets/route-DEVG2czp.js +0 -1
- package/frontend/client/assets/route-DjCJn53Y.js +0 -1
- package/frontend/client/assets/route-E-_SSP-x.js +0 -1
- package/frontend/client/assets/route-J9z_OG4L.js +0 -1
- package/frontend/client/assets/route-LjqDZz5f.js +0 -1
- package/frontend/client/assets/route-N586tYcn.js +0 -1
- package/frontend/client/assets/route-nHjY3_n0.js +0 -1
- package/frontend/client/assets/route-sHm4cfOd.js +0 -1
package/dist/routes/index.d.ts
CHANGED
|
@@ -119,12 +119,9 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
119
119
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
120
120
|
"/end_session": {
|
|
121
121
|
$get: {
|
|
122
|
-
output:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
};
|
|
126
|
-
outputFormat: "json";
|
|
127
|
-
status: 400;
|
|
122
|
+
output: undefined;
|
|
123
|
+
outputFormat: "redirect";
|
|
124
|
+
status: 302;
|
|
128
125
|
input: {
|
|
129
126
|
query: {
|
|
130
127
|
client_id?: string | undefined;
|
|
@@ -134,9 +131,12 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
134
131
|
};
|
|
135
132
|
};
|
|
136
133
|
} | {
|
|
137
|
-
output:
|
|
138
|
-
|
|
139
|
-
|
|
134
|
+
output: {
|
|
135
|
+
error: string;
|
|
136
|
+
error_description: string;
|
|
137
|
+
};
|
|
138
|
+
outputFormat: "json";
|
|
139
|
+
status: 400;
|
|
140
140
|
input: {
|
|
141
141
|
query: {
|
|
142
142
|
client_id?: string | undefined;
|
|
@@ -258,6 +258,16 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
258
258
|
} & {
|
|
259
259
|
"/device": {
|
|
260
260
|
$post: {
|
|
261
|
+
output: undefined;
|
|
262
|
+
outputFormat: "redirect";
|
|
263
|
+
status: 303;
|
|
264
|
+
input: {
|
|
265
|
+
form: {
|
|
266
|
+
user_code: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue;
|
|
267
|
+
decision?: "approve" | "deny" | undefined;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
} | {
|
|
261
271
|
output: {
|
|
262
272
|
status: string;
|
|
263
273
|
client_id: string;
|
|
@@ -305,14 +315,37 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
305
315
|
};
|
|
306
316
|
};
|
|
307
317
|
}, "/">, "/oauth"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
308
|
-
"/
|
|
318
|
+
"/admin/me": {
|
|
319
|
+
$get: {
|
|
320
|
+
output: {
|
|
321
|
+
user: {
|
|
322
|
+
managed_by: "config" | "database";
|
|
323
|
+
sub: string;
|
|
324
|
+
email: string;
|
|
325
|
+
role: "admin" | "user";
|
|
326
|
+
email_verified: boolean;
|
|
327
|
+
email_verification_required: boolean;
|
|
328
|
+
has_password: boolean;
|
|
329
|
+
totp_registered: boolean;
|
|
330
|
+
totp_recovery_codes_missing: boolean;
|
|
331
|
+
second_factor_required: boolean;
|
|
332
|
+
passkey_count: number;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
outputFormat: "json";
|
|
336
|
+
status: 200;
|
|
337
|
+
input: {};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
341
|
+
"/auth/accounts/select": {
|
|
309
342
|
$post: {
|
|
310
343
|
output: {
|
|
311
|
-
|
|
312
|
-
|
|
344
|
+
ok: true;
|
|
345
|
+
active_sub: string;
|
|
313
346
|
};
|
|
314
347
|
outputFormat: "json";
|
|
315
|
-
status:
|
|
348
|
+
status: 200;
|
|
316
349
|
input: {
|
|
317
350
|
json: {
|
|
318
351
|
sub: string;
|
|
@@ -320,10 +353,11 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
320
353
|
};
|
|
321
354
|
} | {
|
|
322
355
|
output: {
|
|
323
|
-
|
|
356
|
+
code: string;
|
|
357
|
+
message: string;
|
|
324
358
|
};
|
|
325
359
|
outputFormat: "json";
|
|
326
|
-
status:
|
|
360
|
+
status: 400;
|
|
327
361
|
input: {
|
|
328
362
|
json: {
|
|
329
363
|
sub: string;
|
|
@@ -332,54 +366,34 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
332
366
|
};
|
|
333
367
|
};
|
|
334
368
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
335
|
-
"/auth/
|
|
369
|
+
"/auth/logout": {
|
|
336
370
|
$post: {
|
|
337
371
|
output: {
|
|
338
|
-
|
|
339
|
-
managed_by: "config" | "database";
|
|
340
|
-
sub: string;
|
|
341
|
-
email: string;
|
|
342
|
-
role: "admin" | "user";
|
|
343
|
-
email_verified: boolean;
|
|
344
|
-
email_verification_required: boolean;
|
|
345
|
-
has_password: boolean;
|
|
346
|
-
totp_registered: boolean;
|
|
347
|
-
totp_recovery_codes_missing: boolean;
|
|
348
|
-
second_factor_required: boolean;
|
|
349
|
-
passkey_count: number;
|
|
350
|
-
};
|
|
372
|
+
ok: true;
|
|
351
373
|
};
|
|
352
374
|
outputFormat: "json";
|
|
353
375
|
status: 200;
|
|
354
|
-
input: {
|
|
355
|
-
json: {
|
|
356
|
-
email: string;
|
|
357
|
-
password: string;
|
|
358
|
-
};
|
|
359
|
-
};
|
|
376
|
+
input: {};
|
|
360
377
|
};
|
|
361
378
|
};
|
|
362
379
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
363
|
-
"/auth/password/
|
|
380
|
+
"/auth/password/reset": {
|
|
364
381
|
$post: {
|
|
365
382
|
output: {
|
|
366
|
-
|
|
383
|
+
message: string;
|
|
367
384
|
};
|
|
368
385
|
outputFormat: "json";
|
|
369
386
|
status: 200;
|
|
370
387
|
input: {
|
|
371
|
-
header: {
|
|
372
|
-
'accept-language'?: string | undefined;
|
|
373
|
-
};
|
|
374
|
-
} & {
|
|
375
388
|
json: {
|
|
376
|
-
|
|
389
|
+
token: string;
|
|
390
|
+
password: string;
|
|
377
391
|
};
|
|
378
392
|
};
|
|
379
393
|
};
|
|
380
394
|
};
|
|
381
395
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
382
|
-
"/auth/totp/
|
|
396
|
+
"/auth/totp/verify": {
|
|
383
397
|
$post: {
|
|
384
398
|
output: {
|
|
385
399
|
user: {
|
|
@@ -406,151 +420,36 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
406
420
|
};
|
|
407
421
|
};
|
|
408
422
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
409
|
-
"/
|
|
423
|
+
"/docs": {
|
|
410
424
|
$get: {
|
|
411
|
-
output: {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
default_language: string;
|
|
415
|
-
fallback_language: string;
|
|
416
|
-
};
|
|
417
|
-
branding: {
|
|
418
|
-
icon_url?: string | undefined;
|
|
419
|
-
logo_url?: string | undefined;
|
|
420
|
-
title: {
|
|
421
|
-
[x: string]: string;
|
|
422
|
-
};
|
|
423
|
-
subtitle: {
|
|
424
|
-
[x: string]: string;
|
|
425
|
-
};
|
|
426
|
-
login_method_description: {
|
|
427
|
-
[x: string]: string;
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
registration: {
|
|
431
|
-
public_registration: boolean;
|
|
432
|
-
email_pattern_filter_enabled: boolean;
|
|
433
|
-
email_verification_required: boolean;
|
|
434
|
-
signup_notice?: {
|
|
435
|
-
[x: string]: string;
|
|
436
|
-
} | undefined;
|
|
437
|
-
};
|
|
438
|
-
database: {
|
|
439
|
-
enabled: boolean;
|
|
440
|
-
};
|
|
441
|
-
email: {
|
|
442
|
-
enabled: boolean;
|
|
443
|
-
};
|
|
444
|
-
admin: {
|
|
445
|
-
enabled: boolean;
|
|
446
|
-
};
|
|
447
|
-
auth: {
|
|
448
|
-
password: {
|
|
449
|
-
enabled: boolean;
|
|
450
|
-
two_factor: {
|
|
451
|
-
enrollment_required: boolean;
|
|
452
|
-
};
|
|
453
|
-
totp: {
|
|
454
|
-
enabled: boolean;
|
|
455
|
-
issuer: string;
|
|
456
|
-
};
|
|
457
|
-
policy: {
|
|
458
|
-
min_length: number;
|
|
459
|
-
max_length: number;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
passkey: {
|
|
463
|
-
enabled: boolean;
|
|
464
|
-
rp_id?: string | undefined;
|
|
465
|
-
origins?: string[] | undefined;
|
|
466
|
-
};
|
|
467
|
-
};
|
|
468
|
-
identity_providers: {
|
|
469
|
-
id: string;
|
|
470
|
-
type: "apple" | "generic_oauth" | "github" | "google";
|
|
471
|
-
display_name: string;
|
|
472
|
-
icon_url?: string | undefined;
|
|
473
|
-
}[];
|
|
474
|
-
account_deletion: {
|
|
475
|
-
enabled: boolean;
|
|
476
|
-
retention: string;
|
|
477
|
-
};
|
|
478
|
-
};
|
|
479
|
-
outputFormat: "json";
|
|
480
|
-
status: 200;
|
|
425
|
+
output: {};
|
|
426
|
+
outputFormat: string;
|
|
427
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
481
428
|
input: {};
|
|
482
429
|
};
|
|
483
430
|
};
|
|
484
431
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
485
|
-
"/
|
|
432
|
+
"/health/ready": {
|
|
486
433
|
$get: {
|
|
487
434
|
output: {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
name: string;
|
|
492
|
-
};
|
|
493
|
-
scopes: {
|
|
494
|
-
name: string;
|
|
495
|
-
description: string;
|
|
496
|
-
}[];
|
|
497
|
-
user: {
|
|
498
|
-
sub: import("@mikro-orm/core").Opt<string>;
|
|
499
|
-
email: string;
|
|
435
|
+
status: 'ok';
|
|
436
|
+
checks: {
|
|
437
|
+
database: 'ok';
|
|
500
438
|
};
|
|
501
439
|
};
|
|
502
440
|
outputFormat: "json";
|
|
503
441
|
status: 200;
|
|
504
|
-
input: {
|
|
505
|
-
|
|
506
|
-
client_id: string | string[];
|
|
507
|
-
scope?: string | undefined;
|
|
508
|
-
};
|
|
509
|
-
};
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
513
|
-
"/consent": {
|
|
514
|
-
$post: {
|
|
442
|
+
input: {};
|
|
443
|
+
} | {
|
|
515
444
|
output: {
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
status: 200;
|
|
520
|
-
input: {
|
|
521
|
-
json: {
|
|
522
|
-
client_id: string;
|
|
523
|
-
redirect_uri: string;
|
|
524
|
-
response_type: string;
|
|
525
|
-
scope?: string | undefined;
|
|
526
|
-
state?: string | undefined;
|
|
527
|
-
nonce?: string | undefined;
|
|
528
|
-
code_challenge?: string | undefined;
|
|
529
|
-
code_challenge_method?: "S256" | "plain" | undefined;
|
|
530
|
-
prompt?: string | undefined;
|
|
531
|
-
max_age?: unknown;
|
|
532
|
-
reauthenticated?: "1" | undefined;
|
|
533
|
-
display?: "page" | "popup" | "touch" | "wap" | undefined;
|
|
534
|
-
response_mode?: "form_post" | "fragment" | "query" | undefined;
|
|
535
|
-
login_hint?: string | undefined;
|
|
536
|
-
ui_locales?: string | undefined;
|
|
537
|
-
id_token_hint?: string | undefined;
|
|
538
|
-
acr_values?: string | undefined;
|
|
539
|
-
account_selected?: unknown;
|
|
540
|
-
account_selection_state?: string | undefined;
|
|
541
|
-
decision: "allow" | "deny";
|
|
445
|
+
status: 'error';
|
|
446
|
+
checks: {
|
|
447
|
+
database: "error";
|
|
542
448
|
};
|
|
543
|
-
|
|
544
|
-
};
|
|
545
|
-
};
|
|
546
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
547
|
-
"/health/live": {
|
|
548
|
-
$get: {
|
|
549
|
-
output: {
|
|
550
|
-
status: 'ok';
|
|
449
|
+
error: string | undefined;
|
|
551
450
|
};
|
|
552
451
|
outputFormat: "json";
|
|
553
|
-
status:
|
|
452
|
+
status: 503;
|
|
554
453
|
input: {};
|
|
555
454
|
};
|
|
556
455
|
};
|
|
@@ -1151,29 +1050,6 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1151
1050
|
};
|
|
1152
1051
|
};
|
|
1153
1052
|
};
|
|
1154
|
-
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1155
|
-
"/admin/me": {
|
|
1156
|
-
$get: {
|
|
1157
|
-
output: {
|
|
1158
|
-
user: {
|
|
1159
|
-
managed_by: "config" | "database";
|
|
1160
|
-
sub: string;
|
|
1161
|
-
email: string;
|
|
1162
|
-
role: "admin" | "user";
|
|
1163
|
-
email_verified: boolean;
|
|
1164
|
-
email_verification_required: boolean;
|
|
1165
|
-
has_password: boolean;
|
|
1166
|
-
totp_registered: boolean;
|
|
1167
|
-
totp_recovery_codes_missing: boolean;
|
|
1168
|
-
second_factor_required: boolean;
|
|
1169
|
-
passkey_count: number;
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
outputFormat: "json";
|
|
1173
|
-
status: 200;
|
|
1174
|
-
input: {};
|
|
1175
|
-
};
|
|
1176
|
-
};
|
|
1177
1053
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1178
1054
|
"/auth/accounts": {
|
|
1179
1055
|
$get: {
|
|
@@ -1200,14 +1076,13 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1200
1076
|
};
|
|
1201
1077
|
};
|
|
1202
1078
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1203
|
-
"/auth/accounts/
|
|
1079
|
+
"/auth/accounts/remove": {
|
|
1204
1080
|
$post: {
|
|
1205
1081
|
output: {
|
|
1206
|
-
|
|
1207
|
-
message: string;
|
|
1082
|
+
ok: true;
|
|
1208
1083
|
};
|
|
1209
1084
|
outputFormat: "json";
|
|
1210
|
-
status:
|
|
1085
|
+
status: 200;
|
|
1211
1086
|
input: {
|
|
1212
1087
|
json: {
|
|
1213
1088
|
sub: string;
|
|
@@ -1215,11 +1090,11 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1215
1090
|
};
|
|
1216
1091
|
} | {
|
|
1217
1092
|
output: {
|
|
1218
|
-
|
|
1219
|
-
|
|
1093
|
+
code: string;
|
|
1094
|
+
message: string;
|
|
1220
1095
|
};
|
|
1221
1096
|
outputFormat: "json";
|
|
1222
|
-
status:
|
|
1097
|
+
status: 400;
|
|
1223
1098
|
input: {
|
|
1224
1099
|
json: {
|
|
1225
1100
|
sub: string;
|
|
@@ -1239,14 +1114,31 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1239
1114
|
};
|
|
1240
1115
|
};
|
|
1241
1116
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1242
|
-
"/auth/
|
|
1117
|
+
"/auth/login": {
|
|
1243
1118
|
$post: {
|
|
1244
1119
|
output: {
|
|
1245
|
-
|
|
1120
|
+
user: {
|
|
1121
|
+
managed_by: "config" | "database";
|
|
1122
|
+
sub: string;
|
|
1123
|
+
email: string;
|
|
1124
|
+
role: "admin" | "user";
|
|
1125
|
+
email_verified: boolean;
|
|
1126
|
+
email_verification_required: boolean;
|
|
1127
|
+
has_password: boolean;
|
|
1128
|
+
totp_registered: boolean;
|
|
1129
|
+
totp_recovery_codes_missing: boolean;
|
|
1130
|
+
second_factor_required: boolean;
|
|
1131
|
+
passkey_count: number;
|
|
1132
|
+
};
|
|
1246
1133
|
};
|
|
1247
1134
|
outputFormat: "json";
|
|
1248
1135
|
status: 200;
|
|
1249
|
-
input: {
|
|
1136
|
+
input: {
|
|
1137
|
+
json: {
|
|
1138
|
+
email: string;
|
|
1139
|
+
password: string;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1250
1142
|
};
|
|
1251
1143
|
};
|
|
1252
1144
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
@@ -1287,17 +1179,20 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1287
1179
|
};
|
|
1288
1180
|
};
|
|
1289
1181
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1290
|
-
"/auth/password/
|
|
1182
|
+
"/auth/password/forgot": {
|
|
1291
1183
|
$post: {
|
|
1292
1184
|
output: {
|
|
1293
|
-
|
|
1185
|
+
ok: true;
|
|
1294
1186
|
};
|
|
1295
1187
|
outputFormat: "json";
|
|
1296
1188
|
status: 200;
|
|
1297
1189
|
input: {
|
|
1190
|
+
header: {
|
|
1191
|
+
'accept-language'?: string | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
} & {
|
|
1298
1194
|
json: {
|
|
1299
|
-
|
|
1300
|
-
password: string;
|
|
1195
|
+
email: string;
|
|
1301
1196
|
};
|
|
1302
1197
|
};
|
|
1303
1198
|
};
|
|
@@ -1349,7 +1244,7 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1349
1244
|
};
|
|
1350
1245
|
};
|
|
1351
1246
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1352
|
-
"/auth/totp/verify": {
|
|
1247
|
+
"/auth/totp/recovery/verify": {
|
|
1353
1248
|
$post: {
|
|
1354
1249
|
output: {
|
|
1355
1250
|
user: {
|
|
@@ -1567,14 +1462,146 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1567
1462
|
};
|
|
1568
1463
|
};
|
|
1569
1464
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1570
|
-
"/
|
|
1465
|
+
"/config": {
|
|
1571
1466
|
$get: {
|
|
1572
|
-
output: {
|
|
1573
|
-
|
|
1574
|
-
|
|
1467
|
+
output: {
|
|
1468
|
+
i18n: {
|
|
1469
|
+
supported_languages: string[];
|
|
1470
|
+
default_language: string;
|
|
1471
|
+
fallback_language: string;
|
|
1472
|
+
};
|
|
1473
|
+
branding: {
|
|
1474
|
+
icon_url?: string | undefined;
|
|
1475
|
+
logo_url?: string | undefined;
|
|
1476
|
+
title: {
|
|
1477
|
+
[x: string]: string;
|
|
1478
|
+
};
|
|
1479
|
+
subtitle: {
|
|
1480
|
+
[x: string]: string;
|
|
1481
|
+
};
|
|
1482
|
+
login_method_description: {
|
|
1483
|
+
[x: string]: string;
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
registration: {
|
|
1487
|
+
public_registration: boolean;
|
|
1488
|
+
email_pattern_filter_enabled: boolean;
|
|
1489
|
+
email_verification_required: boolean;
|
|
1490
|
+
signup_notice?: {
|
|
1491
|
+
[x: string]: string;
|
|
1492
|
+
} | undefined;
|
|
1493
|
+
};
|
|
1494
|
+
database: {
|
|
1495
|
+
enabled: boolean;
|
|
1496
|
+
};
|
|
1497
|
+
email: {
|
|
1498
|
+
enabled: boolean;
|
|
1499
|
+
};
|
|
1500
|
+
admin: {
|
|
1501
|
+
enabled: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
auth: {
|
|
1504
|
+
password: {
|
|
1505
|
+
enabled: boolean;
|
|
1506
|
+
two_factor: {
|
|
1507
|
+
enrollment_required: boolean;
|
|
1508
|
+
};
|
|
1509
|
+
totp: {
|
|
1510
|
+
enabled: boolean;
|
|
1511
|
+
issuer: string;
|
|
1512
|
+
};
|
|
1513
|
+
policy: {
|
|
1514
|
+
min_length: number;
|
|
1515
|
+
max_length: number;
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
passkey: {
|
|
1519
|
+
enabled: boolean;
|
|
1520
|
+
rp_id?: string | undefined;
|
|
1521
|
+
origins?: string[] | undefined;
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
identity_providers: {
|
|
1525
|
+
id: string;
|
|
1526
|
+
type: "apple" | "generic_oauth" | "github" | "google";
|
|
1527
|
+
display_name: string;
|
|
1528
|
+
icon_url?: string | undefined;
|
|
1529
|
+
}[];
|
|
1530
|
+
account_deletion: {
|
|
1531
|
+
enabled: boolean;
|
|
1532
|
+
retention: string;
|
|
1533
|
+
};
|
|
1534
|
+
};
|
|
1535
|
+
outputFormat: "json";
|
|
1536
|
+
status: 200;
|
|
1575
1537
|
input: {};
|
|
1576
1538
|
};
|
|
1577
1539
|
};
|
|
1540
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1541
|
+
"/consent": {
|
|
1542
|
+
$get: {
|
|
1543
|
+
output: {
|
|
1544
|
+
client: {
|
|
1545
|
+
id: string;
|
|
1546
|
+
clientId: string;
|
|
1547
|
+
name: string;
|
|
1548
|
+
};
|
|
1549
|
+
scopes: {
|
|
1550
|
+
name: string;
|
|
1551
|
+
description: string;
|
|
1552
|
+
}[];
|
|
1553
|
+
user: {
|
|
1554
|
+
sub: import("@mikro-orm/core").Opt<string>;
|
|
1555
|
+
email: string;
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
outputFormat: "json";
|
|
1559
|
+
status: 200;
|
|
1560
|
+
input: {
|
|
1561
|
+
query: {
|
|
1562
|
+
client_id: string | string[];
|
|
1563
|
+
redirect_uri: string | string[];
|
|
1564
|
+
response_type: string | string[];
|
|
1565
|
+
prompt?: string | undefined;
|
|
1566
|
+
scope?: string | undefined;
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1572
|
+
"/consent": {
|
|
1573
|
+
$post: {
|
|
1574
|
+
output: {
|
|
1575
|
+
redirect_url: string;
|
|
1576
|
+
};
|
|
1577
|
+
outputFormat: "json";
|
|
1578
|
+
status: 200;
|
|
1579
|
+
input: {
|
|
1580
|
+
json: {
|
|
1581
|
+
client_id: string;
|
|
1582
|
+
redirect_uri: string;
|
|
1583
|
+
response_type: string;
|
|
1584
|
+
scope?: string | undefined;
|
|
1585
|
+
state?: string | undefined;
|
|
1586
|
+
nonce?: string | undefined;
|
|
1587
|
+
code_challenge?: string | undefined;
|
|
1588
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1589
|
+
prompt?: string | undefined;
|
|
1590
|
+
max_age?: unknown;
|
|
1591
|
+
reauthenticated?: "1" | undefined;
|
|
1592
|
+
display?: "page" | "popup" | "touch" | "wap" | undefined;
|
|
1593
|
+
response_mode?: "form_post" | "fragment" | "query" | undefined;
|
|
1594
|
+
login_hint?: string | undefined;
|
|
1595
|
+
ui_locales?: string | undefined;
|
|
1596
|
+
id_token_hint?: string | undefined;
|
|
1597
|
+
acr_values?: string | undefined;
|
|
1598
|
+
account_selected?: unknown;
|
|
1599
|
+
account_selection_state?: string | undefined;
|
|
1600
|
+
decision: "allow" | "deny";
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
};
|
|
1578
1605
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1579
1606
|
"/health": {
|
|
1580
1607
|
$get: {
|
|
@@ -1603,28 +1630,14 @@ export declare const routes: import("hono/hono-base").HonoBase<AppEnv, import("h
|
|
|
1603
1630
|
};
|
|
1604
1631
|
};
|
|
1605
1632
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
1606
|
-
"/health/
|
|
1633
|
+
"/health/live": {
|
|
1607
1634
|
$get: {
|
|
1608
1635
|
output: {
|
|
1609
1636
|
status: 'ok';
|
|
1610
|
-
checks: {
|
|
1611
|
-
database: 'ok';
|
|
1612
|
-
};
|
|
1613
1637
|
};
|
|
1614
1638
|
outputFormat: "json";
|
|
1615
1639
|
status: 200;
|
|
1616
1640
|
input: {};
|
|
1617
|
-
} | {
|
|
1618
|
-
output: {
|
|
1619
|
-
status: 'error';
|
|
1620
|
-
checks: {
|
|
1621
|
-
database: "error";
|
|
1622
|
-
};
|
|
1623
|
-
error: string | undefined;
|
|
1624
|
-
};
|
|
1625
|
-
outputFormat: "json";
|
|
1626
|
-
status: 503;
|
|
1627
|
-
input: {};
|
|
1628
1641
|
};
|
|
1629
1642
|
};
|
|
1630
1643
|
}, "/">, "/"> | import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKhD,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKhD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/routes/oauth/authorize/get.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/routes/oauth/authorize/get.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AActD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiRxB,CAAC"}
|