@tinyrack/tinyauth-server 0.5.0 → 0.6.0
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/oauth-client.entity.d.ts +36 -0
- package/dist/entities/oauth-client.entity.d.ts.map +1 -1
- package/dist/entities/oauth-client.entity.js +4 -0
- package/dist/entities/oauth-client.entity.js.map +1 -1
- package/dist/entities/oauth-code.entity.d.ts +36 -0
- package/dist/entities/oauth-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-device-code.entity.d.ts +36 -0
- package/dist/entities/oauth-device-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-device-code.entity.js +12 -0
- package/dist/entities/oauth-device-code.entity.js.map +1 -1
- package/dist/entities/revoked-token.entity.d.ts +36 -0
- package/dist/entities/revoked-token.entity.d.ts.map +1 -1
- package/dist/entities/user-consent.entity.d.ts +36 -0
- package/dist/entities/user-consent.entity.d.ts.map +1 -1
- package/dist/entrypoints/app.d.ts +326 -16
- package/dist/entrypoints/app.d.ts.map +1 -1
- package/dist/entrypoints/app.js +33 -7
- package/dist/entrypoints/app.js.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts +19 -7
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.js +213 -39
- package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +19 -7
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.js +213 -39
- package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
- package/dist/lib/config/admin.d.ts +9 -0
- package/dist/lib/config/admin.d.ts.map +1 -0
- package/dist/lib/config/admin.js +13 -0
- package/dist/lib/config/admin.js.map +1 -0
- package/dist/lib/config/auth.d.ts +85 -0
- package/dist/lib/config/auth.d.ts.map +1 -1
- package/dist/lib/config/auth.js +61 -0
- package/dist/lib/config/auth.js.map +1 -1
- package/dist/lib/config/client.d.ts +22 -0
- package/dist/lib/config/client.d.ts.map +1 -1
- package/dist/lib/config/client.js +18 -0
- package/dist/lib/config/client.js.map +1 -1
- package/dist/lib/config/index.d.ts +2 -0
- package/dist/lib/config/index.d.ts.map +1 -1
- package/dist/lib/config/index.js +1 -0
- package/dist/lib/config/index.js.map +1 -1
- package/dist/lib/config/resolved.d.ts +41 -0
- package/dist/lib/config/resolved.d.ts.map +1 -1
- package/dist/lib/config/resolved.js +2 -0
- package/dist/lib/config/resolved.js.map +1 -1
- package/dist/lib/config/server.d.ts.map +1 -1
- package/dist/lib/config/server.js +12 -0
- package/dist/lib/config/server.js.map +1 -1
- package/dist/lib/swagger-tags.d.ts +1 -0
- package/dist/lib/swagger-tags.d.ts.map +1 -1
- package/dist/lib/swagger-tags.js +1 -0
- package/dist/lib/swagger-tags.js.map +1 -1
- package/dist/middleware/auth.d.ts +3 -0
- package/dist/middleware/auth.d.ts.map +1 -1
- package/dist/middleware/auth.js +26 -0
- package/dist/middleware/auth.js.map +1 -1
- package/dist/middleware/session.d.ts +33 -1
- package/dist/middleware/session.d.ts.map +1 -1
- package/dist/middleware/session.js +84 -3
- package/dist/middleware/session.js.map +1 -1
- package/dist/migrations/postgres/Migration20260620025358_add_oauth_client_skip_consent.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260620025358_add_oauth_client_skip_consent.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260620025358_add_oauth_client_skip_consent.js +11 -0
- package/dist/migrations/postgres/Migration20260620025358_add_oauth_client_skip_consent.js.map +1 -0
- package/dist/migrations/postgres/Migration20260624190500_add_oauth_device_denied_at.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260624190500_add_oauth_device_denied_at.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260624190500_add_oauth_device_denied_at.js +11 -0
- package/dist/migrations/postgres/Migration20260624190500_add_oauth_device_denied_at.js.map +1 -0
- package/dist/migrations/postgres/Migration20260624223000_add_oauth_device_poll_state.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260624223000_add_oauth_device_poll_state.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260624223000_add_oauth_device_poll_state.js +14 -0
- package/dist/migrations/postgres/Migration20260624223000_add_oauth_device_poll_state.js.map +1 -0
- package/dist/migrations/postgres/index.d.ts.map +1 -1
- package/dist/migrations/postgres/index.js +6 -0
- package/dist/migrations/postgres/index.js.map +1 -1
- package/dist/migrations/sqlite/Migration20260620025358_add_oauth_client_skip_consent.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260620025358_add_oauth_client_skip_consent.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260620025358_add_oauth_client_skip_consent.js +10 -0
- package/dist/migrations/sqlite/Migration20260620025358_add_oauth_client_skip_consent.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260624190500_add_oauth_device_denied_at.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260624190500_add_oauth_device_denied_at.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260624190500_add_oauth_device_denied_at.js +10 -0
- package/dist/migrations/sqlite/Migration20260624190500_add_oauth_device_denied_at.js.map +1 -0
- package/dist/migrations/sqlite/Migration20260624223000_add_oauth_device_poll_state.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260624223000_add_oauth_device_poll_state.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260624223000_add_oauth_device_poll_state.js +12 -0
- package/dist/migrations/sqlite/Migration20260624223000_add_oauth_device_poll_state.js.map +1 -0
- package/dist/migrations/sqlite/index.d.ts.map +1 -1
- package/dist/migrations/sqlite/index.js +6 -0
- package/dist/migrations/sqlite/index.js.map +1 -1
- package/dist/repositories/oauth-device-code.repository.d.ts +4 -0
- package/dist/repositories/oauth-device-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-device-code.repository.js +19 -0
- package/dist/repositories/oauth-device-code.repository.js.map +1 -1
- package/dist/repositories/user.repository.d.ts +4 -2
- package/dist/repositories/user.repository.d.ts.map +1 -1
- package/dist/repositories/user.repository.js +11 -7
- package/dist/repositories/user.repository.js.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 +4 -0
- package/dist/routes/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/api/admin/index.d.ts +185 -0
- package/dist/routes/api/admin/index.d.ts.map +1 -0
- package/dist/routes/api/admin/index.js +13 -0
- package/dist/routes/api/admin/index.js.map +1 -0
- package/dist/routes/api/admin/me/get.d.ts +26 -0
- package/dist/routes/api/admin/me/get.d.ts.map +1 -0
- package/dist/routes/api/admin/me/get.js +29 -0
- package/dist/routes/api/admin/me/get.js.map +1 -0
- package/dist/routes/api/admin/users/index.d.ts +162 -0
- package/dist/routes/api/admin/users/index.d.ts.map +1 -0
- package/dist/routes/api/admin/users/index.js +166 -0
- package/dist/routes/api/admin/users/index.js.map +1 -0
- package/dist/routes/api/auth/accounts/get.d.ts +28 -0
- package/dist/routes/api/auth/accounts/get.d.ts.map +1 -0
- package/dist/routes/api/auth/accounts/get.js +47 -0
- package/dist/routes/api/auth/accounts/get.js.map +1 -0
- package/dist/routes/api/auth/accounts/remove.post.d.ts +30 -0
- package/dist/routes/api/auth/accounts/remove.post.d.ts.map +1 -0
- package/dist/routes/api/auth/accounts/remove.post.js +30 -0
- package/dist/routes/api/auth/accounts/remove.post.js.map +1 -0
- package/dist/routes/api/auth/accounts/select.post.d.ts +31 -0
- package/dist/routes/api/auth/accounts/select.post.d.ts.map +1 -0
- package/dist/routes/api/auth/accounts/select.post.js +26 -0
- package/dist/routes/api/auth/accounts/select.post.js.map +1 -0
- package/dist/routes/api/auth/email/verify/post.d.ts +1 -0
- package/dist/routes/api/auth/email/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/index.d.ts +86 -0
- package/dist/routes/api/auth/index.d.ts.map +1 -1
- package/dist/routes/api/auth/index.js +6 -0
- package/dist/routes/api/auth/index.js.map +1 -1
- package/dist/routes/api/auth/login/post.d.ts +1 -0
- package/dist/routes/api/auth/login/post.d.ts.map +1 -1
- package/dist/routes/api/auth/login/post.js +15 -16
- package/dist/routes/api/auth/login/post.js.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.d.ts +1 -0
- package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/register/post.d.ts +1 -0
- package/dist/routes/api/auth/register/post.d.ts.map +1 -1
- package/dist/routes/api/auth/totp/recovery/verify/post.d.ts +1 -0
- package/dist/routes/api/auth/totp/recovery/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/totp/verify/post.d.ts +1 -0
- package/dist/routes/api/auth/totp/verify/post.d.ts.map +1 -1
- package/dist/routes/api/config/get.d.ts +3 -0
- package/dist/routes/api/config/get.d.ts.map +1 -1
- package/dist/routes/api/config/get.js +7 -1
- package/dist/routes/api/config/get.js.map +1 -1
- package/dist/routes/api/config/index.d.ts +3 -0
- package/dist/routes/api/config/index.d.ts.map +1 -1
- package/dist/routes/api/consent/index.d.ts +10 -0
- package/dist/routes/api/consent/index.d.ts.map +1 -1
- package/dist/routes/api/consent/post.d.ts +10 -0
- package/dist/routes/api/consent/post.d.ts.map +1 -1
- package/dist/routes/api/consent/post.js +52 -1
- package/dist/routes/api/consent/post.js.map +1 -1
- package/dist/routes/api/index.d.ts +310 -26
- package/dist/routes/api/index.d.ts.map +1 -1
- package/dist/routes/api/index.js +2 -0
- package/dist/routes/api/index.js.map +1 -1
- package/dist/routes/api/user/index.d.ts +3 -0
- package/dist/routes/api/user/index.d.ts.map +1 -1
- package/dist/routes/api/user/passkeys/register/verify/post.d.ts +1 -0
- package/dist/routes/api/user/passkeys/register/verify/post.d.ts.map +1 -1
- package/dist/routes/api/user/session/get.d.ts +1 -0
- package/dist/routes/api/user/session/get.d.ts.map +1 -1
- package/dist/routes/api/user/totp/confirm/post.d.ts +1 -0
- package/dist/routes/api/user/totp/confirm/post.d.ts.map +1 -1
- package/dist/routes/index.d.ts +303 -16
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts.map +1 -1
- package/dist/routes/oauth/.well-known/openid-configuration/get.js +1 -0
- package/dist/routes/oauth/.well-known/openid-configuration/get.js.map +1 -1
- package/dist/routes/oauth/authorize/get.d.ts +2 -0
- package/dist/routes/oauth/authorize/get.d.ts.map +1 -1
- package/dist/routes/oauth/authorize/get.js +12 -1
- package/dist/routes/oauth/authorize/get.js.map +1 -1
- package/dist/routes/oauth/client-auth.js +1 -1
- package/dist/routes/oauth/client-auth.js.map +1 -1
- package/dist/routes/oauth/cors.d.ts.map +1 -1
- package/dist/routes/oauth/cors.js +8 -3
- package/dist/routes/oauth/cors.js.map +1 -1
- package/dist/routes/oauth/device/get-post.d.ts +2 -1
- package/dist/routes/oauth/device/get-post.d.ts.map +1 -1
- package/dist/routes/oauth/device/get-post.js +15 -9
- 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 +2 -0
- package/dist/routes/oauth/device-authorization/post.js.map +1 -1
- package/dist/routes/oauth/end-session/get.d.ts.map +1 -1
- package/dist/routes/oauth/end-session/get.js +17 -8
- package/dist/routes/oauth/end-session/get.js.map +1 -1
- package/dist/routes/oauth/index.d.ts +5 -2
- 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 +2 -0
- package/dist/routes/oauth/revoke/post.js.map +1 -1
- package/dist/routes/oauth/token/post.d.ts +1 -1
- package/dist/routes/oauth/token/post.d.ts.map +1 -1
- package/dist/routes/oauth/token/post.js +10 -6
- package/dist/routes/oauth/token/post.js.map +1 -1
- package/dist/routes/oauth/userinfo/get.d.ts.map +1 -1
- package/dist/routes/oauth/userinfo/get.js +12 -6
- package/dist/routes/oauth/userinfo/get.js.map +1 -1
- package/dist/schemas/error.d.ts +56 -6
- package/dist/schemas/error.d.ts.map +1 -1
- package/dist/schemas/error.js +4 -2
- package/dist/schemas/error.js.map +1 -1
- package/dist/schemas/field.d.ts +1 -4
- package/dist/schemas/field.d.ts.map +1 -1
- package/dist/schemas/field.js +3 -1
- package/dist/schemas/field.js.map +1 -1
- package/dist/schemas/response.d.ts +97 -0
- package/dist/schemas/response.d.ts.map +1 -1
- package/dist/schemas/response.js +32 -0
- package/dist/schemas/response.js.map +1 -1
- package/dist/seeders/config.seeder.js +1 -0
- package/dist/seeders/config.seeder.js.map +1 -1
- package/dist/services/account-selection.service.d.ts +39 -0
- package/dist/services/account-selection.service.d.ts.map +1 -0
- package/dist/services/account-selection.service.js +77 -0
- package/dist/services/account-selection.service.js.map +1 -0
- package/dist/services/container.d.ts +23 -0
- package/dist/services/container.d.ts.map +1 -1
- package/dist/services/jwt.service.js +3 -3
- package/dist/services/jwt.service.js.map +1 -1
- package/dist/services/oauth-authorize.service.d.ts +24 -1
- package/dist/services/oauth-authorize.service.d.ts.map +1 -1
- package/dist/services/oauth-authorize.service.js +233 -8
- package/dist/services/oauth-authorize.service.js.map +1 -1
- package/dist/services/oauth-client.service.d.ts.map +1 -1
- package/dist/services/oauth-client.service.js +1 -0
- package/dist/services/oauth-client.service.js.map +1 -1
- package/dist/services/oauth-token.service.d.ts +2 -3
- package/dist/services/oauth-token.service.d.ts.map +1 -1
- package/dist/services/oauth-token.service.js +18 -10
- package/dist/services/oauth-token.service.js.map +1 -1
- package/dist/services/user-consent.service.d.ts +1 -0
- package/dist/services/user-consent.service.d.ts.map +1 -1
- package/dist/services/user-consent.service.js +4 -1
- package/dist/services/user-consent.service.js.map +1 -1
- package/dist/services/user.service.d.ts +28 -1
- package/dist/services/user.service.d.ts.map +1 -1
- package/dist/services/user.service.js +104 -0
- package/dist/services/user.service.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/2fa-BoyBKrjD.js +2 -0
- package/public/assets/2fa-BoyBKrjD.js.map +1 -0
- package/public/assets/2fa-DfWvDjDW.js +2 -0
- package/public/assets/2fa-DfWvDjDW.js.map +1 -0
- package/public/assets/2fa-IkQlgUP0.js +2 -0
- package/public/assets/2fa-IkQlgUP0.js.map +1 -0
- package/public/assets/2fa-SSKfXB7c.js +2 -0
- package/public/assets/2fa-SSKfXB7c.js.map +1 -0
- package/public/assets/CheckCircle.es-MnJIACCe.js +2 -0
- package/public/assets/CheckCircle.es-MnJIACCe.js.map +1 -0
- package/public/assets/EnvelopeSimple.es-BZ7u3LYh.js +2 -0
- package/public/assets/EnvelopeSimple.es-BZ7u3LYh.js.map +1 -0
- package/public/assets/Fingerprint.es-CW755VWD.js +2 -0
- package/public/assets/Fingerprint.es-CW755VWD.js.map +1 -0
- package/public/assets/IconBase.es-d5KP98Ac.js +2 -0
- package/public/assets/IconBase.es-d5KP98Ac.js.map +1 -0
- package/public/assets/Key.es-l5aSxw0I.js +2 -0
- package/public/assets/Key.es-l5aSxw0I.js.map +1 -0
- package/public/assets/Link.es-B-IJS4Q5.js +2 -0
- package/public/assets/Link.es-B-IJS4Q5.js.map +1 -0
- package/public/assets/Lock.es-Cb_uwQly.js +2 -0
- package/public/assets/Lock.es-Cb_uwQly.js.map +1 -0
- package/public/assets/ShieldCheck.es-CscPsYbC.js +2 -0
- package/public/assets/ShieldCheck.es-CscPsYbC.js.map +1 -0
- package/public/assets/Trash.es-BepW9BwV.js +2 -0
- package/public/assets/Trash.es-BepW9BwV.js.map +1 -0
- package/public/assets/Warning.es-BPpZIJYZ.js +2 -0
- package/public/assets/Warning.es-BPpZIJYZ.js.map +1 -0
- package/public/assets/X.es-IwdB4hWT.js +2 -0
- package/public/assets/X.es-IwdB4hWT.js.map +1 -0
- package/public/assets/admin-D2CMlWzS.js +2 -0
- package/public/assets/admin-D2CMlWzS.js.map +1 -0
- package/public/assets/admin-users-CTAQJl7w.js +2 -0
- package/public/assets/admin-users-CTAQJl7w.js.map +1 -0
- package/public/assets/alert-CSXqgDVi.js +2 -0
- package/public/assets/alert-CSXqgDVi.js.map +1 -0
- package/public/assets/consent-C5Qo0iLd.js +2 -0
- package/public/assets/consent-C5Qo0iLd.js.map +1 -0
- package/public/assets/consent-DwuWkp63.js +2 -0
- package/public/assets/consent-DwuWkp63.js.map +1 -0
- package/public/assets/email-CIttZRBe.js +2 -0
- package/public/assets/email-CIttZRBe.js.map +1 -0
- package/public/assets/email-SSKfXB7c.js +2 -0
- package/public/assets/email-SSKfXB7c.js.map +1 -0
- package/public/assets/error-D60wkdWN.js +2 -0
- package/public/assets/error-D60wkdWN.js.map +1 -0
- package/public/assets/footer-link-Ib1Hd-fr.js +2 -0
- package/public/assets/footer-link-Ib1Hd-fr.js.map +1 -0
- package/public/assets/forgot-SSKfXB7c.js +2 -0
- package/public/assets/forgot-SSKfXB7c.js.map +1 -0
- package/public/assets/forgot-x-UDyHXT.js +2 -0
- package/public/assets/forgot-x-UDyHXT.js.map +1 -0
- package/public/assets/icon-input-8iU7PNzd.js +2 -0
- package/public/assets/icon-input-8iU7PNzd.js.map +1 -0
- package/public/assets/index-CsT6OVnP.js +11 -0
- package/public/assets/index-CsT6OVnP.js.map +1 -0
- package/public/assets/index-D6-1JDnX.css +2 -0
- package/public/assets/login-DhbnCudI.js +2 -0
- package/public/assets/login-DhbnCudI.js.map +1 -0
- package/public/assets/login-SSKfXB7c.js +2 -0
- package/public/assets/login-SSKfXB7c.js.map +1 -0
- package/public/assets/modal-BjnpKlXn.js +2 -0
- package/public/assets/modal-BjnpKlXn.js.map +1 -0
- package/public/assets/mutationOptions-Dfvzj6n2.js +2 -0
- package/public/assets/mutationOptions-Dfvzj6n2.js.map +1 -0
- package/public/assets/page-header-BYMFSGfT.js +2 -0
- package/public/assets/page-header-BYMFSGfT.js.map +1 -0
- package/public/assets/page-layout-C475gs09.js +2 -0
- package/public/assets/page-layout-C475gs09.js.map +1 -0
- package/public/assets/passkey-BdISbWr7.js +2 -0
- package/public/assets/passkey-BdISbWr7.js.map +1 -0
- package/public/assets/passkey-Bv7zPLAZ.js +2 -0
- package/public/assets/passkey-Bv7zPLAZ.js.map +1 -0
- package/public/assets/passkey-e6uvApHa.js +2 -0
- package/public/assets/passkey-e6uvApHa.js.map +1 -0
- package/public/assets/password-CkeV4qxb.js +2 -0
- package/public/assets/password-CkeV4qxb.js.map +1 -0
- package/public/assets/password-SSKfXB7c.js +2 -0
- package/public/assets/password-SSKfXB7c.js.map +1 -0
- package/public/assets/password-reset-XZJTgJi3.js +2 -0
- package/public/assets/password-reset-XZJTgJi3.js.map +1 -0
- package/public/assets/pin-input-BM1UizHr.js +2 -0
- package/public/assets/pin-input-BM1UizHr.js.map +1 -0
- package/public/assets/profile-D2cuVYgE.js +2 -0
- package/public/assets/profile-D2cuVYgE.js.map +1 -0
- package/public/assets/profile-TKdT20x5.js +2 -0
- package/public/assets/profile-TKdT20x5.js.map +1 -0
- package/public/assets/promise-OpBtq8tG.js +2 -0
- package/public/assets/promise-OpBtq8tG.js.map +1 -0
- package/public/assets/recovery-DM8h2gbb.js +2 -0
- package/public/assets/recovery-DM8h2gbb.js.map +1 -0
- package/public/assets/register-SSKfXB7c.js +2 -0
- package/public/assets/register-SSKfXB7c.js.map +1 -0
- package/public/assets/register-vWW_43cD.js +2 -0
- package/public/assets/register-vWW_43cD.js.map +1 -0
- package/public/assets/reset-CgACYrdp.js +2 -0
- package/public/assets/reset-CgACYrdp.js.map +1 -0
- package/public/assets/reset-SSKfXB7c.js +2 -0
- package/public/assets/reset-SSKfXB7c.js.map +1 -0
- package/public/assets/routes-CAIeH5mq.js +2 -0
- package/public/assets/routes-CAIeH5mq.js.map +1 -0
- package/public/assets/select-BCP5fwfB.js +2 -0
- package/public/assets/select-BCP5fwfB.js.map +1 -0
- package/public/assets/select-SSKfXB7c.js +2 -0
- package/public/assets/select-SSKfXB7c.js.map +1 -0
- package/public/assets/standard-schema-o4V-s4uY.js +2 -0
- package/public/assets/standard-schema-o4V-s4uY.js.map +1 -0
- package/public/assets/submit-button-Xx6DwLyh.js +2 -0
- package/public/assets/submit-button-Xx6DwLyh.js.map +1 -0
- package/public/assets/terms-DPWrbYY2.js +2 -0
- package/public/assets/terms-DPWrbYY2.js.map +1 -0
- package/public/assets/terms-TKdT20x5.js +2 -0
- package/public/assets/terms-TKdT20x5.js.map +1 -0
- package/public/assets/terms-checkbox-list-CdrbHxiF.js +2 -0
- package/public/assets/terms-checkbox-list-CdrbHxiF.js.map +1 -0
- package/public/assets/totp-CKZ6N1NS.js +2 -0
- package/public/assets/totp-CKZ6N1NS.js.map +1 -0
- package/public/assets/totp-D-PVOsGQ.js +2 -0
- package/public/assets/totp-D-PVOsGQ.js.map +1 -0
- package/public/assets/totp-NlqqRp4a.js +2 -0
- package/public/assets/totp-NlqqRp4a.js.map +1 -0
- package/public/assets/use-theme-cVUDAjtt.js +2 -0
- package/public/assets/use-theme-cVUDAjtt.js.map +1 -0
- package/public/assets/use-totp-setup-BH75uEbE.js +3 -0
- package/public/assets/use-totp-setup-BH75uEbE.js.map +1 -0
- package/public/assets/useMutation-DVMopbtG.js +2 -0
- package/public/assets/useMutation-DVMopbtG.js.map +1 -0
- package/public/assets/users-B7ofdp72.js +2 -0
- package/public/assets/users-B7ofdp72.js.map +1 -0
- package/public/assets/zod-BItJDQBQ.js +66 -0
- package/public/assets/zod-BItJDQBQ.js.map +1 -0
- package/public/index.html +6 -2
- package/public/assets/index-5_9rzim1.css +0 -2
- package/public/assets/index-BTGeW26-.js +0 -75
- package/public/assets/index-BTGeW26-.js.map +0 -1
|
@@ -6689,6 +6689,40 @@ export default {
|
|
|
6689
6689
|
entity.authorizedAt = new Date(data.authorizedAt + 'Z');
|
|
6690
6690
|
}
|
|
6691
6691
|
}
|
|
6692
|
+
if (data.deniedAt === null) {
|
|
6693
|
+
entity.deniedAt = null;
|
|
6694
|
+
}
|
|
6695
|
+
else if (typeof data.deniedAt !== 'undefined') {
|
|
6696
|
+
if (data.deniedAt instanceof Date) {
|
|
6697
|
+
entity.deniedAt = data.deniedAt;
|
|
6698
|
+
}
|
|
6699
|
+
else if (typeof data.deniedAt === 'number' || data.deniedAt.includes('+') || data.deniedAt.lastIndexOf('-') > 10 || data.deniedAt.endsWith('Z')) {
|
|
6700
|
+
entity.deniedAt = new Date(data.deniedAt);
|
|
6701
|
+
}
|
|
6702
|
+
else {
|
|
6703
|
+
entity.deniedAt = new Date(data.deniedAt + 'Z');
|
|
6704
|
+
}
|
|
6705
|
+
}
|
|
6706
|
+
if (data.lastPolledAt === null) {
|
|
6707
|
+
entity.lastPolledAt = null;
|
|
6708
|
+
}
|
|
6709
|
+
else if (typeof data.lastPolledAt !== 'undefined') {
|
|
6710
|
+
if (data.lastPolledAt instanceof Date) {
|
|
6711
|
+
entity.lastPolledAt = data.lastPolledAt;
|
|
6712
|
+
}
|
|
6713
|
+
else if (typeof data.lastPolledAt === 'number' || data.lastPolledAt.includes('+') || data.lastPolledAt.lastIndexOf('-') > 10 || data.lastPolledAt.endsWith('Z')) {
|
|
6714
|
+
entity.lastPolledAt = new Date(data.lastPolledAt);
|
|
6715
|
+
}
|
|
6716
|
+
else {
|
|
6717
|
+
entity.lastPolledAt = new Date(data.lastPolledAt + 'Z');
|
|
6718
|
+
}
|
|
6719
|
+
}
|
|
6720
|
+
if (data.pollIntervalSeconds === null) {
|
|
6721
|
+
entity.pollIntervalSeconds = null;
|
|
6722
|
+
}
|
|
6723
|
+
else if (typeof data.pollIntervalSeconds !== 'undefined') {
|
|
6724
|
+
entity.pollIntervalSeconds = data.pollIntervalSeconds;
|
|
6725
|
+
}
|
|
6692
6726
|
if (data.consumedAt === null) {
|
|
6693
6727
|
entity.consumedAt = null;
|
|
6694
6728
|
}
|
|
@@ -6705,7 +6739,7 @@ export default {
|
|
|
6705
6739
|
}
|
|
6706
6740
|
};
|
|
6707
6741
|
},
|
|
6708
|
-
'hydrator-oauth_device_code_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
6742
|
+
'hydrator-oauth_device_code_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_323, oauth_client_324, convertToJSValue_scope, convertToDatabaseValue_scope, user_327, user_328) {
|
|
6709
6743
|
// compiled hydrator for entity OAuthDeviceCodeEntity ( normalized)
|
|
6710
6744
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
6711
6745
|
if (data.id === null) {
|
|
@@ -6765,10 +6799,10 @@ export default {
|
|
|
6765
6799
|
}
|
|
6766
6800
|
else if (typeof data.client !== 'undefined') {
|
|
6767
6801
|
if (isPrimaryKey(data.client, true)) {
|
|
6768
|
-
entity.client = factory.createReference(
|
|
6802
|
+
entity.client = factory.createReference(oauth_client_323, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
6769
6803
|
}
|
|
6770
6804
|
else if (data.client && typeof data.client === 'object') {
|
|
6771
|
-
entity.client = factory.create(
|
|
6805
|
+
entity.client = factory.create(oauth_client_324, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
6772
6806
|
}
|
|
6773
6807
|
}
|
|
6774
6808
|
if (data.scope === null) {
|
|
@@ -6803,10 +6837,10 @@ export default {
|
|
|
6803
6837
|
}
|
|
6804
6838
|
else if (typeof data.authorizedUser !== 'undefined') {
|
|
6805
6839
|
if (isPrimaryKey(data.authorizedUser, true)) {
|
|
6806
|
-
entity.authorizedUser = factory.createReference(
|
|
6840
|
+
entity.authorizedUser = factory.createReference(user_327, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
6807
6841
|
}
|
|
6808
6842
|
else if (data.authorizedUser && typeof data.authorizedUser === 'object') {
|
|
6809
|
-
entity.authorizedUser = factory.create(
|
|
6843
|
+
entity.authorizedUser = factory.create(user_328, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
6810
6844
|
}
|
|
6811
6845
|
}
|
|
6812
6846
|
if (data.authorizedAt === null) {
|
|
@@ -6823,6 +6857,40 @@ export default {
|
|
|
6823
6857
|
entity.authorizedAt = new Date(data.authorizedAt + 'Z');
|
|
6824
6858
|
}
|
|
6825
6859
|
}
|
|
6860
|
+
if (data.deniedAt === null) {
|
|
6861
|
+
entity.deniedAt = null;
|
|
6862
|
+
}
|
|
6863
|
+
else if (typeof data.deniedAt !== 'undefined') {
|
|
6864
|
+
if (data.deniedAt instanceof Date) {
|
|
6865
|
+
entity.deniedAt = data.deniedAt;
|
|
6866
|
+
}
|
|
6867
|
+
else if (typeof data.deniedAt === 'number' || data.deniedAt.includes('+') || data.deniedAt.lastIndexOf('-') > 10 || data.deniedAt.endsWith('Z')) {
|
|
6868
|
+
entity.deniedAt = new Date(data.deniedAt);
|
|
6869
|
+
}
|
|
6870
|
+
else {
|
|
6871
|
+
entity.deniedAt = new Date(data.deniedAt + 'Z');
|
|
6872
|
+
}
|
|
6873
|
+
}
|
|
6874
|
+
if (data.lastPolledAt === null) {
|
|
6875
|
+
entity.lastPolledAt = null;
|
|
6876
|
+
}
|
|
6877
|
+
else if (typeof data.lastPolledAt !== 'undefined') {
|
|
6878
|
+
if (data.lastPolledAt instanceof Date) {
|
|
6879
|
+
entity.lastPolledAt = data.lastPolledAt;
|
|
6880
|
+
}
|
|
6881
|
+
else if (typeof data.lastPolledAt === 'number' || data.lastPolledAt.includes('+') || data.lastPolledAt.lastIndexOf('-') > 10 || data.lastPolledAt.endsWith('Z')) {
|
|
6882
|
+
entity.lastPolledAt = new Date(data.lastPolledAt);
|
|
6883
|
+
}
|
|
6884
|
+
else {
|
|
6885
|
+
entity.lastPolledAt = new Date(data.lastPolledAt + 'Z');
|
|
6886
|
+
}
|
|
6887
|
+
}
|
|
6888
|
+
if (data.pollIntervalSeconds === null) {
|
|
6889
|
+
entity.pollIntervalSeconds = null;
|
|
6890
|
+
}
|
|
6891
|
+
else if (typeof data.pollIntervalSeconds !== 'undefined') {
|
|
6892
|
+
entity.pollIntervalSeconds = data.pollIntervalSeconds;
|
|
6893
|
+
}
|
|
6826
6894
|
if (data.consumedAt === null) {
|
|
6827
6895
|
entity.consumedAt = null;
|
|
6828
6896
|
}
|
|
@@ -6953,6 +7021,39 @@ export default {
|
|
|
6953
7021
|
else if (last.authorizedAt.valueOf() !== current.authorizedAt.valueOf()) {
|
|
6954
7022
|
diff.authorizedAt = current.authorizedAt;
|
|
6955
7023
|
}
|
|
7024
|
+
if (current.deniedAt === null && last.deniedAt === undefined) {
|
|
7025
|
+
diff.deniedAt = current.deniedAt;
|
|
7026
|
+
}
|
|
7027
|
+
else if (current.deniedAt == null && last.deniedAt == null) {
|
|
7028
|
+
}
|
|
7029
|
+
else if ((current.deniedAt != null && last.deniedAt == null) || (current.deniedAt == null && last.deniedAt != null)) {
|
|
7030
|
+
diff.deniedAt = current.deniedAt;
|
|
7031
|
+
}
|
|
7032
|
+
else if (last.deniedAt.valueOf() !== current.deniedAt.valueOf()) {
|
|
7033
|
+
diff.deniedAt = current.deniedAt;
|
|
7034
|
+
}
|
|
7035
|
+
if (current.lastPolledAt === null && last.lastPolledAt === undefined) {
|
|
7036
|
+
diff.lastPolledAt = current.lastPolledAt;
|
|
7037
|
+
}
|
|
7038
|
+
else if (current.lastPolledAt == null && last.lastPolledAt == null) {
|
|
7039
|
+
}
|
|
7040
|
+
else if ((current.lastPolledAt != null && last.lastPolledAt == null) || (current.lastPolledAt == null && last.lastPolledAt != null)) {
|
|
7041
|
+
diff.lastPolledAt = current.lastPolledAt;
|
|
7042
|
+
}
|
|
7043
|
+
else if (last.lastPolledAt.valueOf() !== current.lastPolledAt.valueOf()) {
|
|
7044
|
+
diff.lastPolledAt = current.lastPolledAt;
|
|
7045
|
+
}
|
|
7046
|
+
if (current.pollIntervalSeconds === null && last.pollIntervalSeconds === undefined) {
|
|
7047
|
+
diff.pollIntervalSeconds = current.pollIntervalSeconds;
|
|
7048
|
+
}
|
|
7049
|
+
else if (current.pollIntervalSeconds == null && last.pollIntervalSeconds == null) {
|
|
7050
|
+
}
|
|
7051
|
+
else if ((current.pollIntervalSeconds != null && last.pollIntervalSeconds == null) || (current.pollIntervalSeconds == null && last.pollIntervalSeconds != null)) {
|
|
7052
|
+
diff.pollIntervalSeconds = current.pollIntervalSeconds;
|
|
7053
|
+
}
|
|
7054
|
+
else if (!equals(last.pollIntervalSeconds, current.pollIntervalSeconds)) {
|
|
7055
|
+
diff.pollIntervalSeconds = current.pollIntervalSeconds;
|
|
7056
|
+
}
|
|
6956
7057
|
if (current.consumedAt === null && last.consumedAt === undefined) {
|
|
6957
7058
|
diff.consumedAt = current.consumedAt;
|
|
6958
7059
|
}
|
|
@@ -7018,6 +7119,15 @@ export default {
|
|
|
7018
7119
|
if (typeof entity.authorizedAt !== 'undefined') {
|
|
7019
7120
|
ret.authorizedAt = clone(processDateProperty(entity.authorizedAt));
|
|
7020
7121
|
}
|
|
7122
|
+
if (typeof entity.deniedAt !== 'undefined') {
|
|
7123
|
+
ret.deniedAt = clone(processDateProperty(entity.deniedAt));
|
|
7124
|
+
}
|
|
7125
|
+
if (typeof entity.lastPolledAt !== 'undefined') {
|
|
7126
|
+
ret.lastPolledAt = clone(processDateProperty(entity.lastPolledAt));
|
|
7127
|
+
}
|
|
7128
|
+
if (typeof entity.pollIntervalSeconds !== 'undefined') {
|
|
7129
|
+
ret.pollIntervalSeconds = clone(entity.pollIntervalSeconds);
|
|
7130
|
+
}
|
|
7021
7131
|
if (typeof entity.consumedAt !== 'undefined') {
|
|
7022
7132
|
ret.consumedAt = clone(processDateProperty(entity.consumedAt));
|
|
7023
7133
|
}
|
|
@@ -7113,6 +7223,40 @@ export default {
|
|
|
7113
7223
|
}
|
|
7114
7224
|
mapped.authorized_at = true;
|
|
7115
7225
|
}
|
|
7226
|
+
if (typeof result.denied_at !== 'undefined') {
|
|
7227
|
+
if (result.denied_at == null || result.denied_at instanceof Date) {
|
|
7228
|
+
ret.deniedAt = result.denied_at;
|
|
7229
|
+
}
|
|
7230
|
+
else if (typeof result.denied_at === 'bigint') {
|
|
7231
|
+
ret.deniedAt = parseDate(Number(result.denied_at));
|
|
7232
|
+
}
|
|
7233
|
+
else if (typeof result.denied_at === 'number' || result.denied_at.includes('+') || result.denied_at.lastIndexOf('-') > 10 || result.denied_at.endsWith('Z')) {
|
|
7234
|
+
ret.deniedAt = parseDate(result.denied_at);
|
|
7235
|
+
}
|
|
7236
|
+
else {
|
|
7237
|
+
ret.deniedAt = parseDate(result.denied_at + 'Z');
|
|
7238
|
+
}
|
|
7239
|
+
mapped.denied_at = true;
|
|
7240
|
+
}
|
|
7241
|
+
if (typeof result.last_polled_at !== 'undefined') {
|
|
7242
|
+
if (result.last_polled_at == null || result.last_polled_at instanceof Date) {
|
|
7243
|
+
ret.lastPolledAt = result.last_polled_at;
|
|
7244
|
+
}
|
|
7245
|
+
else if (typeof result.last_polled_at === 'bigint') {
|
|
7246
|
+
ret.lastPolledAt = parseDate(Number(result.last_polled_at));
|
|
7247
|
+
}
|
|
7248
|
+
else if (typeof result.last_polled_at === 'number' || result.last_polled_at.includes('+') || result.last_polled_at.lastIndexOf('-') > 10 || result.last_polled_at.endsWith('Z')) {
|
|
7249
|
+
ret.lastPolledAt = parseDate(result.last_polled_at);
|
|
7250
|
+
}
|
|
7251
|
+
else {
|
|
7252
|
+
ret.lastPolledAt = parseDate(result.last_polled_at + 'Z');
|
|
7253
|
+
}
|
|
7254
|
+
mapped.last_polled_at = true;
|
|
7255
|
+
}
|
|
7256
|
+
if (typeof result.poll_interval_seconds !== 'undefined') {
|
|
7257
|
+
ret.pollIntervalSeconds = result.poll_interval_seconds;
|
|
7258
|
+
mapped.poll_interval_seconds = true;
|
|
7259
|
+
}
|
|
7116
7260
|
if (typeof result.consumed_at !== 'undefined') {
|
|
7117
7261
|
if (result.consumed_at == null || result.consumed_at instanceof Date) {
|
|
7118
7262
|
ret.consumedAt = result.consumed_at;
|
|
@@ -7188,7 +7332,7 @@ export default {
|
|
|
7188
7332
|
return getPrimaryKeyHash(val_11);
|
|
7189
7333
|
};
|
|
7190
7334
|
},
|
|
7191
|
-
'hydrator-oauth_code_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
7335
|
+
'hydrator-oauth_code_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_340, oauth_client_341, user_342, user_343, convertToJSValue_scope, convertToDatabaseValue_scope) {
|
|
7192
7336
|
// compiled hydrator for entity OAuthCodeEntity ( normalized)
|
|
7193
7337
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
7194
7338
|
if (data.id === null) {
|
|
@@ -7242,10 +7386,10 @@ export default {
|
|
|
7242
7386
|
}
|
|
7243
7387
|
else if (typeof data.client !== 'undefined') {
|
|
7244
7388
|
if (isPrimaryKey(data.client, true)) {
|
|
7245
|
-
entity.client = factory.createReference(
|
|
7389
|
+
entity.client = factory.createReference(oauth_client_340, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
7246
7390
|
}
|
|
7247
7391
|
else if (data.client && typeof data.client === 'object') {
|
|
7248
|
-
entity.client = factory.create(
|
|
7392
|
+
entity.client = factory.create(oauth_client_341, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
7249
7393
|
}
|
|
7250
7394
|
}
|
|
7251
7395
|
if (data.user === null) {
|
|
@@ -7253,10 +7397,10 @@ export default {
|
|
|
7253
7397
|
}
|
|
7254
7398
|
else if (typeof data.user !== 'undefined') {
|
|
7255
7399
|
if (isPrimaryKey(data.user, true)) {
|
|
7256
|
-
entity.user = Reference.create(factory.createReference(
|
|
7400
|
+
entity.user = Reference.create(factory.createReference(user_342, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
7257
7401
|
}
|
|
7258
7402
|
else if (data.user && typeof data.user === 'object') {
|
|
7259
|
-
entity.user = Reference.create(factory.create(
|
|
7403
|
+
entity.user = Reference.create(factory.create(user_343, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
7260
7404
|
}
|
|
7261
7405
|
}
|
|
7262
7406
|
if (data.redirectUri === null) {
|
|
@@ -7332,7 +7476,7 @@ export default {
|
|
|
7332
7476
|
}
|
|
7333
7477
|
};
|
|
7334
7478
|
},
|
|
7335
|
-
'hydrator-oauth_code_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
7479
|
+
'hydrator-oauth_code_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_356, oauth_client_357, user_358, user_359, convertToJSValue_scope, convertToDatabaseValue_scope) {
|
|
7336
7480
|
// compiled hydrator for entity OAuthCodeEntity ( normalized)
|
|
7337
7481
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
7338
7482
|
if (data.id === null) {
|
|
@@ -7386,10 +7530,10 @@ export default {
|
|
|
7386
7530
|
}
|
|
7387
7531
|
else if (typeof data.client !== 'undefined') {
|
|
7388
7532
|
if (isPrimaryKey(data.client, true)) {
|
|
7389
|
-
entity.client = factory.createReference(
|
|
7533
|
+
entity.client = factory.createReference(oauth_client_356, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
7390
7534
|
}
|
|
7391
7535
|
else if (data.client && typeof data.client === 'object') {
|
|
7392
|
-
entity.client = factory.create(
|
|
7536
|
+
entity.client = factory.create(oauth_client_357, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
7393
7537
|
}
|
|
7394
7538
|
}
|
|
7395
7539
|
if (data.user === null) {
|
|
@@ -7397,10 +7541,10 @@ export default {
|
|
|
7397
7541
|
}
|
|
7398
7542
|
else if (typeof data.user !== 'undefined') {
|
|
7399
7543
|
if (isPrimaryKey(data.user, true)) {
|
|
7400
|
-
entity.user = Reference.create(factory.createReference(
|
|
7544
|
+
entity.user = Reference.create(factory.createReference(user_358, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
7401
7545
|
}
|
|
7402
7546
|
else if (data.user && typeof data.user === 'object') {
|
|
7403
|
-
entity.user = Reference.create(factory.create(
|
|
7547
|
+
entity.user = Reference.create(factory.create(user_359, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
7404
7548
|
}
|
|
7405
7549
|
}
|
|
7406
7550
|
if (data.redirectUri === null) {
|
|
@@ -7868,7 +8012,7 @@ export default {
|
|
|
7868
8012
|
return getPrimaryKeyHash(val_12);
|
|
7869
8013
|
};
|
|
7870
8014
|
},
|
|
7871
|
-
'hydrator-oauth_client_14000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins,
|
|
8015
|
+
'hydrator-oauth_client_14000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins, oauth_code_386, oauth_device_code_387, user_consent_388, revoked_tokens_389) {
|
|
7872
8016
|
// compiled hydrator for entity OAuthClientEntity ( normalized)
|
|
7873
8017
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
7874
8018
|
if (data.id === null) {
|
|
@@ -8007,6 +8151,12 @@ export default {
|
|
|
8007
8151
|
else if (typeof data.enabled !== 'undefined') {
|
|
8008
8152
|
entity.enabled = !!data.enabled;
|
|
8009
8153
|
}
|
|
8154
|
+
if (data.skipConsent === null) {
|
|
8155
|
+
entity.skipConsent = null;
|
|
8156
|
+
}
|
|
8157
|
+
else if (typeof data.skipConsent !== 'undefined') {
|
|
8158
|
+
entity.skipConsent = !!data.skipConsent;
|
|
8159
|
+
}
|
|
8010
8160
|
if (data.managed_by === null) {
|
|
8011
8161
|
entity.managed_by = null;
|
|
8012
8162
|
}
|
|
@@ -8021,10 +8171,10 @@ export default {
|
|
|
8021
8171
|
}
|
|
8022
8172
|
const createCollectionItem_codes = (value, entity) => {
|
|
8023
8173
|
if (isPrimaryKey(value, false))
|
|
8024
|
-
return factory.createReference(
|
|
8174
|
+
return factory.createReference(oauth_code_386, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8025
8175
|
if (value && isEntity(value))
|
|
8026
8176
|
return value;
|
|
8027
|
-
return factory.create(
|
|
8177
|
+
return factory.create(oauth_code_386, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8028
8178
|
};
|
|
8029
8179
|
if (data.codes && !Array.isArray(data.codes) && typeof data.codes === 'object') {
|
|
8030
8180
|
data.codes = [data.codes];
|
|
@@ -8048,10 +8198,10 @@ export default {
|
|
|
8048
8198
|
}
|
|
8049
8199
|
const createCollectionItem_deviceCodes = (value, entity) => {
|
|
8050
8200
|
if (isPrimaryKey(value, false))
|
|
8051
|
-
return factory.createReference(
|
|
8201
|
+
return factory.createReference(oauth_device_code_387, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8052
8202
|
if (value && isEntity(value))
|
|
8053
8203
|
return value;
|
|
8054
|
-
return factory.create(
|
|
8204
|
+
return factory.create(oauth_device_code_387, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8055
8205
|
};
|
|
8056
8206
|
if (data.deviceCodes && !Array.isArray(data.deviceCodes) && typeof data.deviceCodes === 'object') {
|
|
8057
8207
|
data.deviceCodes = [data.deviceCodes];
|
|
@@ -8075,10 +8225,10 @@ export default {
|
|
|
8075
8225
|
}
|
|
8076
8226
|
const createCollectionItem_consents = (value, entity) => {
|
|
8077
8227
|
if (isPrimaryKey(value, false))
|
|
8078
|
-
return factory.createReference(
|
|
8228
|
+
return factory.createReference(user_consent_388, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8079
8229
|
if (value && isEntity(value))
|
|
8080
8230
|
return value;
|
|
8081
|
-
return factory.create(
|
|
8231
|
+
return factory.create(user_consent_388, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8082
8232
|
};
|
|
8083
8233
|
if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
|
|
8084
8234
|
data.consents = [data.consents];
|
|
@@ -8102,10 +8252,10 @@ export default {
|
|
|
8102
8252
|
}
|
|
8103
8253
|
const createCollectionItem_revokedTokens = (value, entity) => {
|
|
8104
8254
|
if (isPrimaryKey(value, false))
|
|
8105
|
-
return factory.createReference(
|
|
8255
|
+
return factory.createReference(revoked_tokens_389, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8106
8256
|
if (value && isEntity(value))
|
|
8107
8257
|
return value;
|
|
8108
|
-
return factory.create(
|
|
8258
|
+
return factory.create(revoked_tokens_389, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8109
8259
|
};
|
|
8110
8260
|
if (data.revokedTokens && !Array.isArray(data.revokedTokens) && typeof data.revokedTokens === 'object') {
|
|
8111
8261
|
data.revokedTokens = [data.revokedTokens];
|
|
@@ -8129,7 +8279,7 @@ export default {
|
|
|
8129
8279
|
}
|
|
8130
8280
|
};
|
|
8131
8281
|
},
|
|
8132
|
-
'hydrator-oauth_client_14000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins,
|
|
8282
|
+
'hydrator-oauth_client_14000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins, oauth_code_406, oauth_device_code_407, user_consent_408, revoked_tokens_409) {
|
|
8133
8283
|
// compiled hydrator for entity OAuthClientEntity ( normalized)
|
|
8134
8284
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
8135
8285
|
if (data.id === null) {
|
|
@@ -8268,6 +8418,12 @@ export default {
|
|
|
8268
8418
|
else if (typeof data.enabled !== 'undefined') {
|
|
8269
8419
|
entity.enabled = !!data.enabled;
|
|
8270
8420
|
}
|
|
8421
|
+
if (data.skipConsent === null) {
|
|
8422
|
+
entity.skipConsent = null;
|
|
8423
|
+
}
|
|
8424
|
+
else if (typeof data.skipConsent !== 'undefined') {
|
|
8425
|
+
entity.skipConsent = !!data.skipConsent;
|
|
8426
|
+
}
|
|
8271
8427
|
if (data.managed_by === null) {
|
|
8272
8428
|
entity.managed_by = null;
|
|
8273
8429
|
}
|
|
@@ -8282,10 +8438,10 @@ export default {
|
|
|
8282
8438
|
}
|
|
8283
8439
|
const createCollectionItem_codes = (value, entity) => {
|
|
8284
8440
|
if (isPrimaryKey(value, false))
|
|
8285
|
-
return factory.createReference(
|
|
8441
|
+
return factory.createReference(oauth_code_406, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8286
8442
|
if (value && isEntity(value))
|
|
8287
8443
|
return value;
|
|
8288
|
-
return factory.create(
|
|
8444
|
+
return factory.create(oauth_code_406, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8289
8445
|
};
|
|
8290
8446
|
if (data.codes && !Array.isArray(data.codes) && typeof data.codes === 'object') {
|
|
8291
8447
|
data.codes = [data.codes];
|
|
@@ -8309,10 +8465,10 @@ export default {
|
|
|
8309
8465
|
}
|
|
8310
8466
|
const createCollectionItem_deviceCodes = (value, entity) => {
|
|
8311
8467
|
if (isPrimaryKey(value, false))
|
|
8312
|
-
return factory.createReference(
|
|
8468
|
+
return factory.createReference(oauth_device_code_407, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8313
8469
|
if (value && isEntity(value))
|
|
8314
8470
|
return value;
|
|
8315
|
-
return factory.create(
|
|
8471
|
+
return factory.create(oauth_device_code_407, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8316
8472
|
};
|
|
8317
8473
|
if (data.deviceCodes && !Array.isArray(data.deviceCodes) && typeof data.deviceCodes === 'object') {
|
|
8318
8474
|
data.deviceCodes = [data.deviceCodes];
|
|
@@ -8336,10 +8492,10 @@ export default {
|
|
|
8336
8492
|
}
|
|
8337
8493
|
const createCollectionItem_consents = (value, entity) => {
|
|
8338
8494
|
if (isPrimaryKey(value, false))
|
|
8339
|
-
return factory.createReference(
|
|
8495
|
+
return factory.createReference(user_consent_408, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8340
8496
|
if (value && isEntity(value))
|
|
8341
8497
|
return value;
|
|
8342
|
-
return factory.create(
|
|
8498
|
+
return factory.create(user_consent_408, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8343
8499
|
};
|
|
8344
8500
|
if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
|
|
8345
8501
|
data.consents = [data.consents];
|
|
@@ -8363,10 +8519,10 @@ export default {
|
|
|
8363
8519
|
}
|
|
8364
8520
|
const createCollectionItem_revokedTokens = (value, entity) => {
|
|
8365
8521
|
if (isPrimaryKey(value, false))
|
|
8366
|
-
return factory.createReference(
|
|
8522
|
+
return factory.createReference(revoked_tokens_409, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8367
8523
|
if (value && isEntity(value))
|
|
8368
8524
|
return value;
|
|
8369
|
-
return factory.create(
|
|
8525
|
+
return factory.create(revoked_tokens_409, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8370
8526
|
};
|
|
8371
8527
|
if (data.revokedTokens && !Array.isArray(data.revokedTokens) && typeof data.revokedTokens === 'object') {
|
|
8372
8528
|
data.revokedTokens = [data.revokedTokens];
|
|
@@ -8537,6 +8693,17 @@ export default {
|
|
|
8537
8693
|
else if (!compareBooleans(last.enabled, current.enabled)) {
|
|
8538
8694
|
diff.enabled = current.enabled;
|
|
8539
8695
|
}
|
|
8696
|
+
if (current.skipConsent === null && last.skipConsent === undefined) {
|
|
8697
|
+
diff.skipConsent = current.skipConsent;
|
|
8698
|
+
}
|
|
8699
|
+
else if (current.skipConsent == null && last.skipConsent == null) {
|
|
8700
|
+
}
|
|
8701
|
+
else if ((current.skipConsent != null && last.skipConsent == null) || (current.skipConsent == null && last.skipConsent != null)) {
|
|
8702
|
+
diff.skipConsent = current.skipConsent;
|
|
8703
|
+
}
|
|
8704
|
+
else if (!compareBooleans(last.skipConsent, current.skipConsent)) {
|
|
8705
|
+
diff.skipConsent = current.skipConsent;
|
|
8706
|
+
}
|
|
8540
8707
|
if (current.managed_by === null && last.managed_by === undefined) {
|
|
8541
8708
|
diff.managed_by = current.managed_by;
|
|
8542
8709
|
}
|
|
@@ -8606,6 +8773,9 @@ export default {
|
|
|
8606
8773
|
if (typeof entity.enabled !== 'undefined') {
|
|
8607
8774
|
ret.enabled = entity.enabled;
|
|
8608
8775
|
}
|
|
8776
|
+
if (typeof entity.skipConsent !== 'undefined') {
|
|
8777
|
+
ret.skipConsent = entity.skipConsent;
|
|
8778
|
+
}
|
|
8609
8779
|
if (typeof entity.managed_by !== 'undefined') {
|
|
8610
8780
|
ret.managed_by = entity.managed_by;
|
|
8611
8781
|
}
|
|
@@ -8694,6 +8864,10 @@ export default {
|
|
|
8694
8864
|
ret.enabled = result.enabled == null ? result.enabled : !!result.enabled;
|
|
8695
8865
|
mapped.enabled = true;
|
|
8696
8866
|
}
|
|
8867
|
+
if (typeof result.skip_consent !== 'undefined') {
|
|
8868
|
+
ret.skipConsent = result.skip_consent == null ? result.skip_consent : !!result.skip_consent;
|
|
8869
|
+
mapped.skip_consent = true;
|
|
8870
|
+
}
|
|
8697
8871
|
if (typeof result.managed_by !== 'undefined') {
|
|
8698
8872
|
ret.managed_by = result.managed_by;
|
|
8699
8873
|
mapped.managed_by = true;
|
|
@@ -9318,7 +9492,7 @@ export default {
|
|
|
9318
9492
|
return '' + entity.kid;
|
|
9319
9493
|
};
|
|
9320
9494
|
},
|
|
9321
|
-
'hydrator-email_verification_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
9495
|
+
'hydrator-email_verification_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_439, user_440) {
|
|
9322
9496
|
// compiled hydrator for entity EmailVerificationEntity ( normalized)
|
|
9323
9497
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
9324
9498
|
if (data.id === null) {
|
|
@@ -9366,10 +9540,10 @@ export default {
|
|
|
9366
9540
|
}
|
|
9367
9541
|
else if (typeof data.user !== 'undefined') {
|
|
9368
9542
|
if (isPrimaryKey(data.user, true)) {
|
|
9369
|
-
entity.user = Reference.create(factory.createReference(
|
|
9543
|
+
entity.user = Reference.create(factory.createReference(user_439, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
9370
9544
|
}
|
|
9371
9545
|
else if (data.user && typeof data.user === 'object') {
|
|
9372
|
-
entity.user = Reference.create(factory.create(
|
|
9546
|
+
entity.user = Reference.create(factory.create(user_440, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
9373
9547
|
}
|
|
9374
9548
|
}
|
|
9375
9549
|
if (data.token === null) {
|
|
@@ -9414,7 +9588,7 @@ export default {
|
|
|
9414
9588
|
}
|
|
9415
9589
|
};
|
|
9416
9590
|
},
|
|
9417
|
-
'hydrator-email_verification_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
9591
|
+
'hydrator-email_verification_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_448, user_449) {
|
|
9418
9592
|
// compiled hydrator for entity EmailVerificationEntity ( normalized)
|
|
9419
9593
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
9420
9594
|
if (data.id === null) {
|
|
@@ -9462,10 +9636,10 @@ export default {
|
|
|
9462
9636
|
}
|
|
9463
9637
|
else if (typeof data.user !== 'undefined') {
|
|
9464
9638
|
if (isPrimaryKey(data.user, true)) {
|
|
9465
|
-
entity.user = Reference.create(factory.createReference(
|
|
9639
|
+
entity.user = Reference.create(factory.createReference(user_448, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
9466
9640
|
}
|
|
9467
9641
|
else if (data.user && typeof data.user === 'object') {
|
|
9468
|
-
entity.user = Reference.create(factory.create(
|
|
9642
|
+
entity.user = Reference.create(factory.create(user_449, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
9469
9643
|
}
|
|
9470
9644
|
}
|
|
9471
9645
|
if (data.token === null) {
|