@tinyrack/issuary-server 0.21.0 → 0.22.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 +18 -0
- package/dist/entities/oauth-client.entity.d.ts.map +1 -1
- package/dist/entities/oauth-code.entity.d.ts +18 -0
- package/dist/entities/oauth-code.entity.d.ts.map +1 -1
- package/dist/entities/oauth-device-code.entity.d.ts +18 -0
- package/dist/entities/oauth-device-code.entity.d.ts.map +1 -1
- package/dist/entities/revoked-token.entity.d.ts +18 -0
- package/dist/entities/revoked-token.entity.d.ts.map +1 -1
- package/dist/entities/terms-content.entity.d.ts +9 -0
- package/dist/entities/terms-content.entity.d.ts.map +1 -1
- package/dist/entities/terms.entity.d.ts +9 -0
- package/dist/entities/terms.entity.d.ts.map +1 -1
- package/dist/entities/user-consent.entity.d.ts +18 -0
- package/dist/entities/user-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-terms-consent.entity.d.ts +9 -0
- package/dist/entities/user-terms-consent.entity.d.ts.map +1 -1
- package/dist/entities/user-totp-recovery-code.entity.d.ts +9 -0
- package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -1
- package/dist/entities/user-totp.entity.d.ts +9 -0
- package/dist/entities/user-totp.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.d.ts +9 -0
- package/dist/entities/user.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.js +4 -0
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/entrypoints/app.d.ts +53 -0
- package/dist/entrypoints/app.d.ts.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts +23 -20
- package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -1
- package/dist/entrypoints/database/postgres/compiled-functions.js +134 -104
- package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +23 -20
- package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -1
- package/dist/entrypoints/database/sqlite/compiled-functions.js +134 -104
- package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
- package/dist/lib/config/resolved.d.ts +1 -0
- package/dist/lib/config/resolved.d.ts.map +1 -1
- package/dist/lib/config/security.d.ts +2 -0
- package/dist/lib/config/security.d.ts.map +1 -1
- package/dist/lib/config/security.js +5 -0
- package/dist/lib/config/security.js.map +1 -1
- package/dist/middleware/auth.d.ts +8 -0
- package/dist/middleware/auth.d.ts.map +1 -1
- package/dist/middleware/auth.js +64 -0
- package/dist/middleware/auth.js.map +1 -1
- package/dist/middleware/session.d.ts +9 -0
- package/dist/middleware/session.d.ts.map +1 -1
- package/dist/middleware/session.js +18 -0
- package/dist/middleware/session.js.map +1 -1
- package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.d.ts +6 -0
- package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.d.ts.map +1 -0
- package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.js +11 -0
- package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.js.map +1 -0
- package/dist/migrations/postgres/index.d.ts.map +1 -1
- package/dist/migrations/postgres/index.js +2 -0
- package/dist/migrations/postgres/index.js.map +1 -1
- package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.d.ts +6 -0
- package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.d.ts.map +1 -0
- package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.js +10 -0
- package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.js.map +1 -0
- package/dist/migrations/sqlite/index.d.ts.map +1 -1
- package/dist/migrations/sqlite/index.js +2 -0
- package/dist/migrations/sqlite/index.js.map +1 -1
- package/dist/repositories/oauth-code.repository.d.ts +2 -2
- package/dist/repositories/oauth-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-code.repository.js +7 -3
- package/dist/repositories/oauth-code.repository.js.map +1 -1
- package/dist/repositories/oauth-device-code.repository.d.ts +4 -4
- package/dist/repositories/oauth-device-code.repository.d.ts.map +1 -1
- package/dist/repositories/oauth-device-code.repository.js +18 -6
- package/dist/repositories/oauth-device-code.repository.js.map +1 -1
- package/dist/repositories/user-totp-recovery-code.repository.d.ts +7 -1
- package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -1
- package/dist/repositories/user-totp-recovery-code.repository.js +2 -1
- package/dist/repositories/user-totp-recovery-code.repository.js.map +1 -1
- package/dist/repositories/user-totp.repository.d.ts +9 -0
- package/dist/repositories/user-totp.repository.d.ts.map +1 -1
- package/dist/routes/api/auth/index.d.ts +52 -0
- package/dist/routes/api/auth/index.d.ts.map +1 -1
- package/dist/routes/api/auth/index.js +2 -0
- package/dist/routes/api/auth/index.js.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.d.ts +37 -0
- package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -1
- package/dist/routes/api/auth/passkey/verify/post.js +8 -2
- package/dist/routes/api/auth/passkey/verify/post.js.map +1 -1
- package/dist/routes/api/auth/password/reset-required/post.d.ts +18 -0
- package/dist/routes/api/auth/password/reset-required/post.d.ts.map +1 -0
- package/dist/routes/api/auth/password/reset-required/post.js +39 -0
- package/dist/routes/api/auth/password/reset-required/post.js.map +1 -0
- package/dist/routes/api/index.d.ts +52 -0
- package/dist/routes/api/index.d.ts.map +1 -1
- package/dist/routes/index.d.ts +52 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/oauth/device/get-post.js +5 -5
- package/dist/routes/oauth/device/get-post.js.map +1 -1
- package/dist/schemas/error.d.ts +25 -0
- package/dist/schemas/error.d.ts.map +1 -1
- package/dist/schemas/error.js +1 -0
- package/dist/schemas/error.js.map +1 -1
- package/dist/schemas/response.d.ts +22 -0
- package/dist/schemas/response.d.ts.map +1 -1
- package/dist/schemas/response.js +8 -0
- package/dist/schemas/response.js.map +1 -1
- package/dist/seeders/config.seeder.js +2 -1
- package/dist/seeders/config.seeder.js.map +1 -1
- package/dist/services/container.d.ts +1 -0
- package/dist/services/container.d.ts.map +1 -1
- package/dist/services/container.js +15 -0
- package/dist/services/container.js.map +1 -1
- package/dist/services/legacy-credential-retirement.service.d.ts +20 -0
- package/dist/services/legacy-credential-retirement.service.d.ts.map +1 -0
- package/dist/services/legacy-credential-retirement.service.js +90 -0
- package/dist/services/legacy-credential-retirement.service.js.map +1 -0
- package/dist/services/oauth-client.service.d.ts +1 -0
- package/dist/services/oauth-client.service.d.ts.map +1 -1
- package/dist/services/oauth-client.service.js +17 -2
- package/dist/services/oauth-client.service.js.map +1 -1
- package/dist/services/oauth-connect.service.d.ts.map +1 -1
- package/dist/services/oauth-connect.service.js +4 -0
- package/dist/services/oauth-connect.service.js.map +1 -1
- package/dist/services/oauth-token.service.d.ts.map +1 -1
- package/dist/services/oauth-token.service.js +4 -4
- package/dist/services/oauth-token.service.js.map +1 -1
- package/dist/services/password-auth.service.d.ts.map +1 -1
- package/dist/services/password-auth.service.js +12 -3
- package/dist/services/password-auth.service.js.map +1 -1
- package/dist/services/security.service.d.ts +8 -0
- package/dist/services/security.service.d.ts.map +1 -1
- package/dist/services/security.service.js +85 -22
- package/dist/services/security.service.js.map +1 -1
- package/dist/services/totp.service.js +2 -2
- package/dist/services/totp.service.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/2fa-BgveHSB_.js +2 -0
- package/public/assets/{2fa-B5vLgDXQ.js.map → 2fa-BgveHSB_.js.map} +1 -1
- package/public/assets/2fa-C37MUkye.js +2 -0
- package/public/assets/{2fa-CCOTIHDZ.js.map → 2fa-C37MUkye.js.map} +1 -1
- package/public/assets/2fa-UL_cNRnQ.js +2 -0
- package/public/assets/{2fa-C5vUVgr_.js.map → 2fa-UL_cNRnQ.js.map} +1 -1
- package/public/assets/2fa-kiqzGSz2.js +2 -0
- package/public/assets/{2fa-BqsM_D-X.js.map → 2fa-kiqzGSz2.js.map} +1 -1
- package/public/assets/{DialogHandle-BmtK2pRn.js → DialogHandle-Zvz8SgS0.js} +2 -2
- package/public/assets/{DialogHandle-BmtK2pRn.js.map → DialogHandle-Zvz8SgS0.js.map} +1 -1
- package/public/assets/admin-DbDuu6AI.js +2 -0
- package/public/assets/{admin-BPijkLw-.js.map → admin-DbDuu6AI.js.map} +1 -1
- package/public/assets/admin-users-CwTJdiih.js +2 -0
- package/public/assets/{admin-users-DvPbw1Vq.js.map → admin-users-CwTJdiih.js.map} +1 -1
- package/public/assets/{auth-choice-row-BCGjuedo.js → auth-choice-row-BlSsUI7d.js} +2 -2
- package/public/assets/{auth-choice-row-BCGjuedo.js.map → auth-choice-row-BlSsUI7d.js.map} +1 -1
- package/public/assets/{auth-field-DD8kvl--.js → auth-field-HwxENJnB.js} +2 -2
- package/public/assets/{auth-field-DD8kvl--.js.map → auth-field-HwxENJnB.js.map} +1 -1
- package/public/assets/{auth-layout-VtpryDof.js → auth-layout-CoeqNhTT.js} +2 -2
- package/public/assets/{auth-layout-VtpryDof.js.map → auth-layout-CoeqNhTT.js.map} +1 -1
- package/public/assets/{auth-page-header-CIn2E4zI.js → auth-page-header-CIs08f5Y.js} +2 -2
- package/public/assets/{auth-page-header-CIn2E4zI.js.map → auth-page-header-CIs08f5Y.js.map} +1 -1
- package/public/assets/{authorization-context-banner-SOuBHWIb.js → authorization-context-banner-BbtQmMYH.js} +2 -2
- package/public/assets/{authorization-context-banner-SOuBHWIb.js.map → authorization-context-banner-BbtQmMYH.js.map} +1 -1
- package/public/assets/{avatar-BEQjf2x6.js → avatar-CttWiIv3.js} +2 -2
- package/public/assets/{avatar-BEQjf2x6.js.map → avatar-CttWiIv3.js.map} +1 -1
- package/public/assets/{checkbox-gdHnSFQ-.js → checkbox-CJrRV8S1.js} +2 -2
- package/public/assets/{checkbox-gdHnSFQ-.js.map → checkbox-CJrRV8S1.js.map} +1 -1
- package/public/assets/config-v3-oy_ef.js +2 -0
- package/public/assets/config-v3-oy_ef.js.map +1 -0
- package/public/assets/{consent-BqqFDdsr.js → consent-BIhxtXHx.js} +2 -2
- package/public/assets/{consent-BqqFDdsr.js.map → consent-BIhxtXHx.js.map} +1 -1
- package/public/assets/{consent-CfRbz2R7.js → consent-DRmENn26.js} +2 -2
- package/public/assets/{consent-CfRbz2R7.js.map → consent-DRmENn26.js.map} +1 -1
- package/public/assets/{email-CKKakxPJ.js → email-CVRDeJ78.js} +2 -2
- package/public/assets/{email-CKKakxPJ.js.map → email-CVRDeJ78.js.map} +1 -1
- package/public/assets/email-UL_cNRnQ.js +2 -0
- package/public/assets/{email-C5vUVgr_.js.map → email-UL_cNRnQ.js.map} +1 -1
- package/public/assets/error-2VPY5w8V.js +2 -0
- package/public/assets/{error-BMXxpgfR.js.map → error-2VPY5w8V.js.map} +1 -1
- package/public/assets/{field-Cn4H1CUj.js → field-DDt6F9TZ.js} +2 -2
- package/public/assets/{field-Cn4H1CUj.js.map → field-DDt6F9TZ.js.map} +1 -1
- package/public/assets/forgot-DzDcduho.js +2 -0
- package/public/assets/{forgot-rO9sByfV.js.map → forgot-DzDcduho.js.map} +1 -1
- package/public/assets/forgot-UL_cNRnQ.js +2 -0
- package/public/assets/{forgot-C5vUVgr_.js.map → forgot-UL_cNRnQ.js.map} +1 -1
- package/public/assets/index-gliHKncz.js +11 -0
- package/public/assets/index-gliHKncz.js.map +1 -0
- package/public/assets/{initial-avatar-CtuDUz_W.js → initial-avatar-CZzHAPm3.js} +2 -2
- package/public/assets/{initial-avatar-CtuDUz_W.js.map → initial-avatar-CZzHAPm3.js.map} +1 -1
- package/public/assets/{input-CzQki7k6.js → input-CNRpSR08.js} +2 -2
- package/public/assets/{input-CzQki7k6.js.map → input-CNRpSR08.js.map} +1 -1
- package/public/assets/{labeled-separator-CV7nb0XW.js → labeled-separator-fnKySKv2.js} +2 -2
- package/public/assets/{labeled-separator-CV7nb0XW.js.map → labeled-separator-fnKySKv2.js.map} +1 -1
- package/public/assets/link-BN90emXr.js +2 -0
- package/public/assets/link-BN90emXr.js.map +1 -0
- package/public/assets/lock-keyhole-Cz72xkCn.js +2 -0
- package/public/assets/lock-keyhole-Cz72xkCn.js.map +1 -0
- package/public/assets/login-C6m2qSUt.js +2 -0
- package/public/assets/login-C6m2qSUt.js.map +1 -0
- package/public/assets/login-UL_cNRnQ.js +2 -0
- package/public/assets/login-UL_cNRnQ.js.map +1 -0
- package/public/assets/{logout-B5T52P8u.js → logout-CHdmF_16.js} +2 -2
- package/public/assets/{logout-B5T52P8u.js.map → logout-CHdmF_16.js.map} +1 -1
- package/public/assets/{modal-BDQFucjz.js → modal-sCM_zT82.js} +2 -2
- package/public/assets/{modal-BDQFucjz.js.map → modal-sCM_zT82.js.map} +1 -1
- package/public/assets/{mutationOptions-DyYFUbyn.js → mutationOptions-CrswitPs.js} +2 -2
- package/public/assets/{mutationOptions-DyYFUbyn.js.map → mutationOptions-CrswitPs.js.map} +1 -1
- package/public/assets/passkey-B2Blw47e.js +2 -0
- package/public/assets/{passkey-J1qnYp9A.js.map → passkey-B2Blw47e.js.map} +1 -1
- package/public/assets/passkey-CEx1VZ5R.js +2 -0
- package/public/assets/{passkey-CynCz1Dt.js.map → passkey-CEx1VZ5R.js.map} +1 -1
- package/public/assets/passkey-CU8x9J2w.js +2 -0
- package/public/assets/{passkey-BE9JvJOP.js.map → passkey-CU8x9J2w.js.map} +1 -1
- package/public/assets/passkey-UL_cNRnQ.js +2 -0
- package/public/assets/{passkey-C5vUVgr_.js.map → passkey-UL_cNRnQ.js.map} +1 -1
- package/public/assets/password-BhU_a0cR.js +2 -0
- package/public/assets/password-BhU_a0cR.js.map +1 -0
- package/public/assets/password-UL_cNRnQ.js +2 -0
- package/public/assets/password-UL_cNRnQ.js.map +1 -0
- package/public/assets/password-reset-CIacHnvA.js +2 -0
- package/public/assets/{password-reset-sU5KkBKi.js.map → password-reset-CIacHnvA.js.map} +1 -1
- package/public/assets/{password-strength-BeSOu_Ga.js → password-strength-C0Zkrrct.js} +2 -2
- package/public/assets/{password-strength-BeSOu_Ga.js.map → password-strength-C0Zkrrct.js.map} +1 -1
- package/public/assets/{pin-input-Cc-VkrQ3.js → pin-input-BlD4tPZJ.js} +2 -2
- package/public/assets/{pin-input-Cc-VkrQ3.js.map → pin-input-BlD4tPZJ.js.map} +1 -1
- package/public/assets/{profile-BcjsVYOx.js → profile-D1cEjfs8.js} +2 -2
- package/public/assets/{profile-BcjsVYOx.js.map → profile-D1cEjfs8.js.map} +1 -1
- package/public/assets/{profile-B5NaJfeS.js → profile-D43Yq-6S.js} +2 -2
- package/public/assets/{profile-B5NaJfeS.js.map → profile-D43Yq-6S.js.map} +1 -1
- package/public/assets/recovery-CLExnfYX.js +2 -0
- package/public/assets/{recovery-PnUATiUi.js.map → recovery-CLExnfYX.js.map} +1 -1
- package/public/assets/register-CZUyWXRO.js +2 -0
- package/public/assets/{register-DQXhru0_.js.map → register-CZUyWXRO.js.map} +1 -1
- package/public/assets/register-UL_cNRnQ.js +2 -0
- package/public/assets/{register-C5vUVgr_.js.map → register-UL_cNRnQ.js.map} +1 -1
- package/public/assets/reset-N3RQTYEB.js +2 -0
- package/public/assets/reset-N3RQTYEB.js.map +1 -0
- package/public/assets/reset-UL_cNRnQ.js +2 -0
- package/public/assets/{reset-C5vUVgr_.js.map → reset-UL_cNRnQ.js.map} +1 -1
- package/public/assets/reset-required-Cv5edDS6.js +2 -0
- package/public/assets/reset-required-Cv5edDS6.js.map +1 -0
- package/public/assets/reset-required-UL_cNRnQ.js +2 -0
- package/public/assets/reset-required-UL_cNRnQ.js.map +1 -0
- package/public/assets/{select-DqZynXSt.js → select-CWdSzsVo.js} +2 -2
- package/public/assets/{select-DqZynXSt.js.map → select-CWdSzsVo.js.map} +1 -1
- package/public/assets/select-UL_cNRnQ.js +2 -0
- package/public/assets/{select-C5vUVgr_.js.map → select-UL_cNRnQ.js.map} +1 -1
- package/public/assets/{separator-B0Bvh1he.js → separator-BWGym8uM.js} +2 -2
- package/public/assets/{separator-B0Bvh1he.js.map → separator-BWGym8uM.js.map} +1 -1
- package/public/assets/shell-header-bar-C9AB5lT-.js +2 -0
- package/public/assets/{shell-header-bar-CjG5qvPg.js.map → shell-header-bar-C9AB5lT-.js.map} +1 -1
- package/public/assets/{terms-BHDAgn-H.js → terms-COVFmzyl.js} +2 -2
- package/public/assets/{terms-BHDAgn-H.js.map → terms-COVFmzyl.js.map} +1 -1
- package/public/assets/{terms-B5NaJfeS.js → terms-D43Yq-6S.js} +2 -2
- package/public/assets/{terms-B5NaJfeS.js.map → terms-D43Yq-6S.js.map} +1 -1
- package/public/assets/{terms-checkbox-list-6jteUTIZ.js → terms-checkbox-list-Cw0zB-lO.js} +2 -2
- package/public/assets/{terms-checkbox-list-6jteUTIZ.js.map → terms-checkbox-list-Cw0zB-lO.js.map} +1 -1
- package/public/assets/totp-BFJEXxk0.js +2 -0
- package/public/assets/{totp-CJtfVNEq.js.map → totp-BFJEXxk0.js.map} +1 -1
- package/public/assets/{totp-BNZ904Zm.js → totp-BfCm6IWl.js} +2 -2
- package/public/assets/{totp-BNZ904Zm.js.map → totp-BfCm6IWl.js.map} +1 -1
- package/public/assets/totp-MINhsVxT.js +2 -0
- package/public/assets/{totp-ECvOUcFx.js.map → totp-MINhsVxT.js.map} +1 -1
- package/public/assets/use-totp-setup-C7Zk_2IY.js +3 -0
- package/public/assets/{use-totp-setup-BbS3XcZA.js.map → use-totp-setup-C7Zk_2IY.js.map} +1 -1
- package/public/assets/{useAriaLabelledBy-ByuMi3Ry.js → useAriaLabelledBy-CiOCg6X5.js} +2 -2
- package/public/assets/{useAriaLabelledBy-ByuMi3Ry.js.map → useAriaLabelledBy-CiOCg6X5.js.map} +1 -1
- package/public/assets/{useMutation-BWZ0G4Td.js → useMutation-ZLFeJg75.js} +2 -2
- package/public/assets/{useMutation-BWZ0G4Td.js.map → useMutation-ZLFeJg75.js.map} +1 -1
- package/public/assets/useQuery-BvMz34BW.js +2 -0
- package/public/assets/{useQuery-Ckxjmvtl.js.map → useQuery-BvMz34BW.js.map} +1 -1
- package/public/assets/{users-CmFxrCQT.js → users-COM7u3A-.js} +2 -2
- package/public/assets/{users-CmFxrCQT.js.map → users-COM7u3A-.js.map} +1 -1
- package/public/index.html +4 -3
- package/public/assets/2fa-B5vLgDXQ.js +0 -2
- package/public/assets/2fa-BqsM_D-X.js +0 -2
- package/public/assets/2fa-C5vUVgr_.js +0 -2
- package/public/assets/2fa-CCOTIHDZ.js +0 -2
- package/public/assets/admin-BPijkLw-.js +0 -2
- package/public/assets/admin-users-DvPbw1Vq.js +0 -2
- package/public/assets/config-DTQCUlfZ.js +0 -2
- package/public/assets/config-DTQCUlfZ.js.map +0 -1
- package/public/assets/email-C5vUVgr_.js +0 -2
- package/public/assets/error-BMXxpgfR.js +0 -2
- package/public/assets/forgot-C5vUVgr_.js +0 -2
- package/public/assets/forgot-rO9sByfV.js +0 -2
- package/public/assets/index-CS23Ozt6.js +0 -11
- package/public/assets/index-CS23Ozt6.js.map +0 -1
- package/public/assets/login-C5vUVgr_.js +0 -2
- package/public/assets/login-C5vUVgr_.js.map +0 -1
- package/public/assets/login-nukebli4.js +0 -2
- package/public/assets/login-nukebli4.js.map +0 -1
- package/public/assets/passkey-BE9JvJOP.js +0 -2
- package/public/assets/passkey-C5vUVgr_.js +0 -2
- package/public/assets/passkey-CynCz1Dt.js +0 -2
- package/public/assets/passkey-J1qnYp9A.js +0 -2
- package/public/assets/password-C5vUVgr_.js +0 -2
- package/public/assets/password-C5vUVgr_.js.map +0 -1
- package/public/assets/password-RkUttbhD.js +0 -2
- package/public/assets/password-RkUttbhD.js.map +0 -1
- package/public/assets/password-reset-sU5KkBKi.js +0 -2
- package/public/assets/recovery-PnUATiUi.js +0 -2
- package/public/assets/register-C5vUVgr_.js +0 -2
- package/public/assets/register-DQXhru0_.js +0 -2
- package/public/assets/reset-C5vUVgr_.js +0 -2
- package/public/assets/reset-CQgIa3yf.js +0 -2
- package/public/assets/reset-CQgIa3yf.js.map +0 -1
- package/public/assets/select-C5vUVgr_.js +0 -2
- package/public/assets/shell-header-bar-CjG5qvPg.js +0 -2
- package/public/assets/totp-CJtfVNEq.js +0 -2
- package/public/assets/totp-ECvOUcFx.js +0 -2
- package/public/assets/use-totp-setup-BbS3XcZA.js +0 -3
- package/public/assets/useQuery-Ckxjmvtl.js +0 -2
|
@@ -2307,7 +2307,7 @@ export default {
|
|
|
2307
2307
|
return getPrimaryKeyHash(val_5);
|
|
2308
2308
|
};
|
|
2309
2309
|
},
|
|
2310
|
-
'hydrator-user_7000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError,
|
|
2310
|
+
'hydrator-user_7000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_120, user_passkey_121, user_totp_122, user_totp_recovery_code_123) {
|
|
2311
2311
|
// compiled hydrator for entity UserEntity ( normalized)
|
|
2312
2312
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
2313
2313
|
if (data.sub === null) {
|
|
@@ -2362,6 +2362,12 @@ export default {
|
|
|
2362
2362
|
else if (typeof data.password_hash !== 'undefined') {
|
|
2363
2363
|
entity.password_hash = data.password_hash;
|
|
2364
2364
|
}
|
|
2365
|
+
if (data.password_reset_required === null) {
|
|
2366
|
+
entity.password_reset_required = null;
|
|
2367
|
+
}
|
|
2368
|
+
else if (typeof data.password_reset_required !== 'undefined') {
|
|
2369
|
+
entity.password_reset_required = !!data.password_reset_required;
|
|
2370
|
+
}
|
|
2365
2371
|
if (data.managed_by === null) {
|
|
2366
2372
|
entity.managed_by = null;
|
|
2367
2373
|
}
|
|
@@ -2390,10 +2396,10 @@ export default {
|
|
|
2390
2396
|
}
|
|
2391
2397
|
const createCollectionItem_oauthAccounts = (value, entity) => {
|
|
2392
2398
|
if (isPrimaryKey(value, false))
|
|
2393
|
-
return factory.createReference(
|
|
2399
|
+
return factory.createReference(user_oauth_120, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2394
2400
|
if (value && isEntity(value))
|
|
2395
2401
|
return value;
|
|
2396
|
-
return factory.create(
|
|
2402
|
+
return factory.create(user_oauth_120, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2397
2403
|
};
|
|
2398
2404
|
if (data.oauthAccounts && !Array.isArray(data.oauthAccounts) && typeof data.oauthAccounts === 'object') {
|
|
2399
2405
|
data.oauthAccounts = [data.oauthAccounts];
|
|
@@ -2417,10 +2423,10 @@ export default {
|
|
|
2417
2423
|
}
|
|
2418
2424
|
const createCollectionItem_passkeys = (value, entity) => {
|
|
2419
2425
|
if (isPrimaryKey(value, false))
|
|
2420
|
-
return factory.createReference(
|
|
2426
|
+
return factory.createReference(user_passkey_121, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2421
2427
|
if (value && isEntity(value))
|
|
2422
2428
|
return value;
|
|
2423
|
-
return factory.create(
|
|
2429
|
+
return factory.create(user_passkey_121, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2424
2430
|
};
|
|
2425
2431
|
if (data.passkeys && !Array.isArray(data.passkeys) && typeof data.passkeys === 'object') {
|
|
2426
2432
|
data.passkeys = [data.passkeys];
|
|
@@ -2444,10 +2450,10 @@ export default {
|
|
|
2444
2450
|
}
|
|
2445
2451
|
const createCollectionItem_totps = (value, entity) => {
|
|
2446
2452
|
if (isPrimaryKey(value, false))
|
|
2447
|
-
return factory.createReference(
|
|
2453
|
+
return factory.createReference(user_totp_122, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2448
2454
|
if (value && isEntity(value))
|
|
2449
2455
|
return value;
|
|
2450
|
-
return factory.create(
|
|
2456
|
+
return factory.create(user_totp_122, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2451
2457
|
};
|
|
2452
2458
|
if (data.totps && !Array.isArray(data.totps) && typeof data.totps === 'object') {
|
|
2453
2459
|
data.totps = [data.totps];
|
|
@@ -2471,10 +2477,10 @@ export default {
|
|
|
2471
2477
|
}
|
|
2472
2478
|
const createCollectionItem_totpRecoveryCodes = (value, entity) => {
|
|
2473
2479
|
if (isPrimaryKey(value, false))
|
|
2474
|
-
return factory.createReference(
|
|
2480
|
+
return factory.createReference(user_totp_recovery_code_123, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2475
2481
|
if (value && isEntity(value))
|
|
2476
2482
|
return value;
|
|
2477
|
-
return factory.create(
|
|
2483
|
+
return factory.create(user_totp_recovery_code_123, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2478
2484
|
};
|
|
2479
2485
|
if (data.totpRecoveryCodes && !Array.isArray(data.totpRecoveryCodes) && typeof data.totpRecoveryCodes === 'object') {
|
|
2480
2486
|
data.totpRecoveryCodes = [data.totpRecoveryCodes];
|
|
@@ -2498,7 +2504,7 @@ export default {
|
|
|
2498
2504
|
}
|
|
2499
2505
|
};
|
|
2500
2506
|
},
|
|
2501
|
-
'hydrator-user_7000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError,
|
|
2507
|
+
'hydrator-user_7000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_134, user_passkey_135, user_totp_136, user_totp_recovery_code_137) {
|
|
2502
2508
|
// compiled hydrator for entity UserEntity ( normalized)
|
|
2503
2509
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
2504
2510
|
if (data.sub === null) {
|
|
@@ -2553,6 +2559,12 @@ export default {
|
|
|
2553
2559
|
else if (typeof data.password_hash !== 'undefined') {
|
|
2554
2560
|
entity.password_hash = data.password_hash;
|
|
2555
2561
|
}
|
|
2562
|
+
if (data.password_reset_required === null) {
|
|
2563
|
+
entity.password_reset_required = null;
|
|
2564
|
+
}
|
|
2565
|
+
else if (typeof data.password_reset_required !== 'undefined') {
|
|
2566
|
+
entity.password_reset_required = !!data.password_reset_required;
|
|
2567
|
+
}
|
|
2556
2568
|
if (data.managed_by === null) {
|
|
2557
2569
|
entity.managed_by = null;
|
|
2558
2570
|
}
|
|
@@ -2581,10 +2593,10 @@ export default {
|
|
|
2581
2593
|
}
|
|
2582
2594
|
const createCollectionItem_oauthAccounts = (value, entity) => {
|
|
2583
2595
|
if (isPrimaryKey(value, false))
|
|
2584
|
-
return factory.createReference(
|
|
2596
|
+
return factory.createReference(user_oauth_134, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2585
2597
|
if (value && isEntity(value))
|
|
2586
2598
|
return value;
|
|
2587
|
-
return factory.create(
|
|
2599
|
+
return factory.create(user_oauth_134, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2588
2600
|
};
|
|
2589
2601
|
if (data.oauthAccounts && !Array.isArray(data.oauthAccounts) && typeof data.oauthAccounts === 'object') {
|
|
2590
2602
|
data.oauthAccounts = [data.oauthAccounts];
|
|
@@ -2608,10 +2620,10 @@ export default {
|
|
|
2608
2620
|
}
|
|
2609
2621
|
const createCollectionItem_passkeys = (value, entity) => {
|
|
2610
2622
|
if (isPrimaryKey(value, false))
|
|
2611
|
-
return factory.createReference(
|
|
2623
|
+
return factory.createReference(user_passkey_135, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2612
2624
|
if (value && isEntity(value))
|
|
2613
2625
|
return value;
|
|
2614
|
-
return factory.create(
|
|
2626
|
+
return factory.create(user_passkey_135, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2615
2627
|
};
|
|
2616
2628
|
if (data.passkeys && !Array.isArray(data.passkeys) && typeof data.passkeys === 'object') {
|
|
2617
2629
|
data.passkeys = [data.passkeys];
|
|
@@ -2635,10 +2647,10 @@ export default {
|
|
|
2635
2647
|
}
|
|
2636
2648
|
const createCollectionItem_totps = (value, entity) => {
|
|
2637
2649
|
if (isPrimaryKey(value, false))
|
|
2638
|
-
return factory.createReference(
|
|
2650
|
+
return factory.createReference(user_totp_136, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2639
2651
|
if (value && isEntity(value))
|
|
2640
2652
|
return value;
|
|
2641
|
-
return factory.create(
|
|
2653
|
+
return factory.create(user_totp_136, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2642
2654
|
};
|
|
2643
2655
|
if (data.totps && !Array.isArray(data.totps) && typeof data.totps === 'object') {
|
|
2644
2656
|
data.totps = [data.totps];
|
|
@@ -2662,10 +2674,10 @@ export default {
|
|
|
2662
2674
|
}
|
|
2663
2675
|
const createCollectionItem_totpRecoveryCodes = (value, entity) => {
|
|
2664
2676
|
if (isPrimaryKey(value, false))
|
|
2665
|
-
return factory.createReference(
|
|
2677
|
+
return factory.createReference(user_totp_recovery_code_137, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2666
2678
|
if (value && isEntity(value))
|
|
2667
2679
|
return value;
|
|
2668
|
-
return factory.create(
|
|
2680
|
+
return factory.create(user_totp_recovery_code_137, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
2669
2681
|
};
|
|
2670
2682
|
if (data.totpRecoveryCodes && !Array.isArray(data.totpRecoveryCodes) && typeof data.totpRecoveryCodes === 'object') {
|
|
2671
2683
|
data.totpRecoveryCodes = [data.totpRecoveryCodes];
|
|
@@ -2759,6 +2771,17 @@ export default {
|
|
|
2759
2771
|
else if (last.password_hash !== current.password_hash) {
|
|
2760
2772
|
diff.password_hash = current.password_hash;
|
|
2761
2773
|
}
|
|
2774
|
+
if (current.password_reset_required === null && last.password_reset_required === undefined) {
|
|
2775
|
+
diff.password_reset_required = current.password_reset_required;
|
|
2776
|
+
}
|
|
2777
|
+
else if (current.password_reset_required == null && last.password_reset_required == null) {
|
|
2778
|
+
}
|
|
2779
|
+
else if ((current.password_reset_required != null && last.password_reset_required == null) || (current.password_reset_required == null && last.password_reset_required != null)) {
|
|
2780
|
+
diff.password_reset_required = current.password_reset_required;
|
|
2781
|
+
}
|
|
2782
|
+
else if (!compareBooleans(last.password_reset_required, current.password_reset_required)) {
|
|
2783
|
+
diff.password_reset_required = current.password_reset_required;
|
|
2784
|
+
}
|
|
2762
2785
|
if (current.managed_by === null && last.managed_by === undefined) {
|
|
2763
2786
|
diff.managed_by = current.managed_by;
|
|
2764
2787
|
}
|
|
@@ -2818,6 +2841,9 @@ export default {
|
|
|
2818
2841
|
if (typeof entity.password_hash !== 'undefined') {
|
|
2819
2842
|
ret.password_hash = entity.password_hash;
|
|
2820
2843
|
}
|
|
2844
|
+
if (typeof entity.password_reset_required !== 'undefined') {
|
|
2845
|
+
ret.password_reset_required = entity.password_reset_required;
|
|
2846
|
+
}
|
|
2821
2847
|
if (typeof entity.managed_by !== 'undefined') {
|
|
2822
2848
|
ret.managed_by = entity.managed_by;
|
|
2823
2849
|
}
|
|
@@ -2881,6 +2907,10 @@ export default {
|
|
|
2881
2907
|
ret.password_hash = result.password_hash;
|
|
2882
2908
|
mapped.password_hash = true;
|
|
2883
2909
|
}
|
|
2910
|
+
if (typeof result.password_reset_required !== 'undefined') {
|
|
2911
|
+
ret.password_reset_required = result.password_reset_required == null ? result.password_reset_required : !!result.password_reset_required;
|
|
2912
|
+
mapped.password_reset_required = true;
|
|
2913
|
+
}
|
|
2884
2914
|
if (typeof result.managed_by !== 'undefined') {
|
|
2885
2915
|
ret.managed_by = result.managed_by;
|
|
2886
2916
|
mapped.managed_by = true;
|
|
@@ -2951,7 +2981,7 @@ export default {
|
|
|
2951
2981
|
return '' + entity.sub;
|
|
2952
2982
|
};
|
|
2953
2983
|
},
|
|
2954
|
-
'hydrator-user_consent_13000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
2984
|
+
'hydrator-user_consent_13000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_143, user_144, oauth_client_145, oauth_client_146, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
|
|
2955
2985
|
// compiled hydrator for entity UserConsentEntity ( normalized)
|
|
2956
2986
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
2957
2987
|
if (data.id === null) {
|
|
@@ -2999,10 +3029,10 @@ export default {
|
|
|
2999
3029
|
}
|
|
3000
3030
|
else if (typeof data.user !== 'undefined') {
|
|
3001
3031
|
if (isPrimaryKey(data.user, true)) {
|
|
3002
|
-
entity.user = factory.createReference(
|
|
3032
|
+
entity.user = factory.createReference(user_143, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
3003
3033
|
}
|
|
3004
3034
|
else if (data.user && typeof data.user === 'object') {
|
|
3005
|
-
entity.user = factory.create(
|
|
3035
|
+
entity.user = factory.create(user_144, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
3006
3036
|
}
|
|
3007
3037
|
}
|
|
3008
3038
|
if (data.client === null) {
|
|
@@ -3010,10 +3040,10 @@ export default {
|
|
|
3010
3040
|
}
|
|
3011
3041
|
else if (typeof data.client !== 'undefined') {
|
|
3012
3042
|
if (isPrimaryKey(data.client, true)) {
|
|
3013
|
-
entity.client = factory.createReference(
|
|
3043
|
+
entity.client = factory.createReference(oauth_client_145, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
3014
3044
|
}
|
|
3015
3045
|
else if (data.client && typeof data.client === 'object') {
|
|
3016
|
-
entity.client = factory.create(
|
|
3046
|
+
entity.client = factory.create(oauth_client_146, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
3017
3047
|
}
|
|
3018
3048
|
}
|
|
3019
3049
|
if (data.scopes === null) {
|
|
@@ -3059,7 +3089,7 @@ export default {
|
|
|
3059
3089
|
}
|
|
3060
3090
|
};
|
|
3061
3091
|
},
|
|
3062
|
-
'hydrator-user_consent_13000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
3092
|
+
'hydrator-user_consent_13000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_153, user_154, oauth_client_155, oauth_client_156, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
|
|
3063
3093
|
// compiled hydrator for entity UserConsentEntity ( normalized)
|
|
3064
3094
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
3065
3095
|
if (data.id === null) {
|
|
@@ -3107,10 +3137,10 @@ export default {
|
|
|
3107
3137
|
}
|
|
3108
3138
|
else if (typeof data.user !== 'undefined') {
|
|
3109
3139
|
if (isPrimaryKey(data.user, true)) {
|
|
3110
|
-
entity.user = factory.createReference(
|
|
3140
|
+
entity.user = factory.createReference(user_153, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
3111
3141
|
}
|
|
3112
3142
|
else if (data.user && typeof data.user === 'object') {
|
|
3113
|
-
entity.user = factory.create(
|
|
3143
|
+
entity.user = factory.create(user_154, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
3114
3144
|
}
|
|
3115
3145
|
}
|
|
3116
3146
|
if (data.client === null) {
|
|
@@ -3118,10 +3148,10 @@ export default {
|
|
|
3118
3148
|
}
|
|
3119
3149
|
else if (typeof data.client !== 'undefined') {
|
|
3120
3150
|
if (isPrimaryKey(data.client, true)) {
|
|
3121
|
-
entity.client = factory.createReference(
|
|
3151
|
+
entity.client = factory.createReference(oauth_client_155, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
3122
3152
|
}
|
|
3123
3153
|
else if (data.client && typeof data.client === 'object') {
|
|
3124
|
-
entity.client = factory.create(
|
|
3154
|
+
entity.client = factory.create(oauth_client_156, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
3125
3155
|
}
|
|
3126
3156
|
}
|
|
3127
3157
|
if (data.scopes === null) {
|
|
@@ -3451,7 +3481,7 @@ export default {
|
|
|
3451
3481
|
return getPrimaryKeyHash(val_6);
|
|
3452
3482
|
};
|
|
3453
3483
|
},
|
|
3454
|
-
'hydrator-terms_20000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError,
|
|
3484
|
+
'hydrator-terms_20000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_169, user_terms_consent_170) {
|
|
3455
3485
|
// compiled hydrator for entity TermsEntity ( normalized)
|
|
3456
3486
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
3457
3487
|
if (data.id === null) {
|
|
@@ -3514,10 +3544,10 @@ export default {
|
|
|
3514
3544
|
}
|
|
3515
3545
|
const createCollectionItem_contents = (value, entity) => {
|
|
3516
3546
|
if (isPrimaryKey(value, false))
|
|
3517
|
-
return factory.createReference(
|
|
3547
|
+
return factory.createReference(terms_content_169, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3518
3548
|
if (value && isEntity(value))
|
|
3519
3549
|
return value;
|
|
3520
|
-
return factory.create(
|
|
3550
|
+
return factory.create(terms_content_169, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3521
3551
|
};
|
|
3522
3552
|
if (data.contents && !Array.isArray(data.contents) && typeof data.contents === 'object') {
|
|
3523
3553
|
data.contents = [data.contents];
|
|
@@ -3541,10 +3571,10 @@ export default {
|
|
|
3541
3571
|
}
|
|
3542
3572
|
const createCollectionItem_consents = (value, entity) => {
|
|
3543
3573
|
if (isPrimaryKey(value, false))
|
|
3544
|
-
return factory.createReference(
|
|
3574
|
+
return factory.createReference(user_terms_consent_170, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3545
3575
|
if (value && isEntity(value))
|
|
3546
3576
|
return value;
|
|
3547
|
-
return factory.create(
|
|
3577
|
+
return factory.create(user_terms_consent_170, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3548
3578
|
};
|
|
3549
3579
|
if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
|
|
3550
3580
|
data.consents = [data.consents];
|
|
@@ -3568,7 +3598,7 @@ export default {
|
|
|
3568
3598
|
}
|
|
3569
3599
|
};
|
|
3570
3600
|
},
|
|
3571
|
-
'hydrator-terms_20000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError,
|
|
3601
|
+
'hydrator-terms_20000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_178, user_terms_consent_179) {
|
|
3572
3602
|
// compiled hydrator for entity TermsEntity ( normalized)
|
|
3573
3603
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
3574
3604
|
if (data.id === null) {
|
|
@@ -3631,10 +3661,10 @@ export default {
|
|
|
3631
3661
|
}
|
|
3632
3662
|
const createCollectionItem_contents = (value, entity) => {
|
|
3633
3663
|
if (isPrimaryKey(value, false))
|
|
3634
|
-
return factory.createReference(
|
|
3664
|
+
return factory.createReference(terms_content_178, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3635
3665
|
if (value && isEntity(value))
|
|
3636
3666
|
return value;
|
|
3637
|
-
return factory.create(
|
|
3667
|
+
return factory.create(terms_content_178, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3638
3668
|
};
|
|
3639
3669
|
if (data.contents && !Array.isArray(data.contents) && typeof data.contents === 'object') {
|
|
3640
3670
|
data.contents = [data.contents];
|
|
@@ -3658,10 +3688,10 @@ export default {
|
|
|
3658
3688
|
}
|
|
3659
3689
|
const createCollectionItem_consents = (value, entity) => {
|
|
3660
3690
|
if (isPrimaryKey(value, false))
|
|
3661
|
-
return factory.createReference(
|
|
3691
|
+
return factory.createReference(user_terms_consent_179, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3662
3692
|
if (value && isEntity(value))
|
|
3663
3693
|
return value;
|
|
3664
|
-
return factory.create(
|
|
3694
|
+
return factory.create(user_terms_consent_179, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
3665
3695
|
};
|
|
3666
3696
|
if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
|
|
3667
3697
|
data.consents = [data.consents];
|
|
@@ -3900,7 +3930,7 @@ export default {
|
|
|
3900
3930
|
return '' + entity.id;
|
|
3901
3931
|
};
|
|
3902
3932
|
},
|
|
3903
|
-
'hydrator-terms_content_18000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
3933
|
+
'hydrator-terms_content_18000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_185, terms_186) {
|
|
3904
3934
|
// compiled hydrator for entity TermsContentEntity ( normalized)
|
|
3905
3935
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
3906
3936
|
if (data.id === null) {
|
|
@@ -3948,10 +3978,10 @@ export default {
|
|
|
3948
3978
|
}
|
|
3949
3979
|
else if (typeof data.terms !== 'undefined') {
|
|
3950
3980
|
if (isPrimaryKey(data.terms, true)) {
|
|
3951
|
-
entity.terms = factory.createReference(
|
|
3981
|
+
entity.terms = factory.createReference(terms_185, data.terms, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
3952
3982
|
}
|
|
3953
3983
|
else if (data.terms && typeof data.terms === 'object') {
|
|
3954
|
-
entity.terms = factory.create(
|
|
3984
|
+
entity.terms = factory.create(terms_186, data.terms, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
3955
3985
|
}
|
|
3956
3986
|
}
|
|
3957
3987
|
if (data.lang === null) {
|
|
@@ -3980,7 +4010,7 @@ export default {
|
|
|
3980
4010
|
}
|
|
3981
4011
|
};
|
|
3982
4012
|
},
|
|
3983
|
-
'hydrator-terms_content_18000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
4013
|
+
'hydrator-terms_content_18000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_194, terms_195) {
|
|
3984
4014
|
// compiled hydrator for entity TermsContentEntity ( normalized)
|
|
3985
4015
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
3986
4016
|
if (data.id === null) {
|
|
@@ -4028,10 +4058,10 @@ export default {
|
|
|
4028
4058
|
}
|
|
4029
4059
|
else if (typeof data.terms !== 'undefined') {
|
|
4030
4060
|
if (isPrimaryKey(data.terms, true)) {
|
|
4031
|
-
entity.terms = factory.createReference(
|
|
4061
|
+
entity.terms = factory.createReference(terms_194, data.terms, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
4032
4062
|
}
|
|
4033
4063
|
else if (data.terms && typeof data.terms === 'object') {
|
|
4034
|
-
entity.terms = factory.create(
|
|
4064
|
+
entity.terms = factory.create(terms_195, data.terms, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
4035
4065
|
}
|
|
4036
4066
|
}
|
|
4037
4067
|
if (data.lang === null) {
|
|
@@ -5030,7 +5060,7 @@ export default {
|
|
|
5030
5060
|
return '' + entity.id;
|
|
5031
5061
|
};
|
|
5032
5062
|
},
|
|
5033
|
-
'hydrator-revoked_tokens_12000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
5063
|
+
'hydrator-revoked_tokens_12000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_239, oauth_client_240, user_241, user_242) {
|
|
5034
5064
|
// compiled hydrator for entity RevokedTokenEntity ( normalized)
|
|
5035
5065
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
5036
5066
|
if (data.id === null) {
|
|
@@ -5090,10 +5120,10 @@ export default {
|
|
|
5090
5120
|
}
|
|
5091
5121
|
else if (typeof data.client !== 'undefined') {
|
|
5092
5122
|
if (isPrimaryKey(data.client, true)) {
|
|
5093
|
-
entity.client = factory.createReference(
|
|
5123
|
+
entity.client = factory.createReference(oauth_client_239, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
5094
5124
|
}
|
|
5095
5125
|
else if (data.client && typeof data.client === 'object') {
|
|
5096
|
-
entity.client = factory.create(
|
|
5126
|
+
entity.client = factory.create(oauth_client_240, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
5097
5127
|
}
|
|
5098
5128
|
}
|
|
5099
5129
|
if (data.user === null) {
|
|
@@ -5101,10 +5131,10 @@ export default {
|
|
|
5101
5131
|
}
|
|
5102
5132
|
else if (typeof data.user !== 'undefined') {
|
|
5103
5133
|
if (isPrimaryKey(data.user, true)) {
|
|
5104
|
-
entity.user = factory.createReference(
|
|
5134
|
+
entity.user = factory.createReference(user_241, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
5105
5135
|
}
|
|
5106
5136
|
else if (data.user && typeof data.user === 'object') {
|
|
5107
|
-
entity.user = factory.create(
|
|
5137
|
+
entity.user = factory.create(user_242, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
5108
5138
|
}
|
|
5109
5139
|
}
|
|
5110
5140
|
if (data.expires_at === null) {
|
|
@@ -5137,7 +5167,7 @@ export default {
|
|
|
5137
5167
|
}
|
|
5138
5168
|
};
|
|
5139
5169
|
},
|
|
5140
|
-
'hydrator-revoked_tokens_12000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
5170
|
+
'hydrator-revoked_tokens_12000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_250, oauth_client_251, user_252, user_253) {
|
|
5141
5171
|
// compiled hydrator for entity RevokedTokenEntity ( normalized)
|
|
5142
5172
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
5143
5173
|
if (data.id === null) {
|
|
@@ -5197,10 +5227,10 @@ export default {
|
|
|
5197
5227
|
}
|
|
5198
5228
|
else if (typeof data.client !== 'undefined') {
|
|
5199
5229
|
if (isPrimaryKey(data.client, true)) {
|
|
5200
|
-
entity.client = factory.createReference(
|
|
5230
|
+
entity.client = factory.createReference(oauth_client_250, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
5201
5231
|
}
|
|
5202
5232
|
else if (data.client && typeof data.client === 'object') {
|
|
5203
|
-
entity.client = factory.create(
|
|
5233
|
+
entity.client = factory.create(oauth_client_251, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
5204
5234
|
}
|
|
5205
5235
|
}
|
|
5206
5236
|
if (data.user === null) {
|
|
@@ -5208,10 +5238,10 @@ export default {
|
|
|
5208
5238
|
}
|
|
5209
5239
|
else if (typeof data.user !== 'undefined') {
|
|
5210
5240
|
if (isPrimaryKey(data.user, true)) {
|
|
5211
|
-
entity.user = factory.createReference(
|
|
5241
|
+
entity.user = factory.createReference(user_252, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
5212
5242
|
}
|
|
5213
5243
|
else if (data.user && typeof data.user === 'object') {
|
|
5214
|
-
entity.user = factory.create(
|
|
5244
|
+
entity.user = factory.create(user_253, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
5215
5245
|
}
|
|
5216
5246
|
}
|
|
5217
5247
|
if (data.expires_at === null) {
|
|
@@ -6103,7 +6133,7 @@ export default {
|
|
|
6103
6133
|
return getPrimaryKeyHash(val_9);
|
|
6104
6134
|
};
|
|
6105
6135
|
},
|
|
6106
|
-
'hydrator-password_reset_15000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
6136
|
+
'hydrator-password_reset_15000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_287, user_288) {
|
|
6107
6137
|
// compiled hydrator for entity PasswordResetEntity ( normalized)
|
|
6108
6138
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
6109
6139
|
if (data.id === null) {
|
|
@@ -6151,10 +6181,10 @@ export default {
|
|
|
6151
6181
|
}
|
|
6152
6182
|
else if (typeof data.user !== 'undefined') {
|
|
6153
6183
|
if (isPrimaryKey(data.user, true)) {
|
|
6154
|
-
entity.user = Reference.create(factory.createReference(
|
|
6184
|
+
entity.user = Reference.create(factory.createReference(user_287, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
6155
6185
|
}
|
|
6156
6186
|
else if (data.user && typeof data.user === 'object') {
|
|
6157
|
-
entity.user = Reference.create(factory.create(
|
|
6187
|
+
entity.user = Reference.create(factory.create(user_288, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
6158
6188
|
}
|
|
6159
6189
|
}
|
|
6160
6190
|
if (data.token === null) {
|
|
@@ -6199,7 +6229,7 @@ export default {
|
|
|
6199
6229
|
}
|
|
6200
6230
|
};
|
|
6201
6231
|
},
|
|
6202
|
-
'hydrator-password_reset_15000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
6232
|
+
'hydrator-password_reset_15000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_296, user_297) {
|
|
6203
6233
|
// compiled hydrator for entity PasswordResetEntity ( normalized)
|
|
6204
6234
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
6205
6235
|
if (data.id === null) {
|
|
@@ -6247,10 +6277,10 @@ export default {
|
|
|
6247
6277
|
}
|
|
6248
6278
|
else if (typeof data.user !== 'undefined') {
|
|
6249
6279
|
if (isPrimaryKey(data.user, true)) {
|
|
6250
|
-
entity.user = Reference.create(factory.createReference(
|
|
6280
|
+
entity.user = Reference.create(factory.createReference(user_296, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
6251
6281
|
}
|
|
6252
6282
|
else if (data.user && typeof data.user === 'object') {
|
|
6253
|
-
entity.user = Reference.create(factory.create(
|
|
6283
|
+
entity.user = Reference.create(factory.create(user_297, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
6254
6284
|
}
|
|
6255
6285
|
}
|
|
6256
6286
|
if (data.token === null) {
|
|
@@ -6571,7 +6601,7 @@ export default {
|
|
|
6571
6601
|
return getPrimaryKeyHash(val_10);
|
|
6572
6602
|
};
|
|
6573
6603
|
},
|
|
6574
|
-
'hydrator-oauth_device_code_11000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
6604
|
+
'hydrator-oauth_device_code_11000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_309, oauth_client_310, convertToJSValue_scope, convertToDatabaseValue_scope, user_313, user_314) {
|
|
6575
6605
|
// compiled hydrator for entity OAuthDeviceCodeEntity ( normalized)
|
|
6576
6606
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
6577
6607
|
if (data.id === null) {
|
|
@@ -6631,10 +6661,10 @@ export default {
|
|
|
6631
6661
|
}
|
|
6632
6662
|
else if (typeof data.client !== 'undefined') {
|
|
6633
6663
|
if (isPrimaryKey(data.client, true)) {
|
|
6634
|
-
entity.client = factory.createReference(
|
|
6664
|
+
entity.client = factory.createReference(oauth_client_309, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
6635
6665
|
}
|
|
6636
6666
|
else if (data.client && typeof data.client === 'object') {
|
|
6637
|
-
entity.client = factory.create(
|
|
6667
|
+
entity.client = factory.create(oauth_client_310, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
6638
6668
|
}
|
|
6639
6669
|
}
|
|
6640
6670
|
if (data.scope === null) {
|
|
@@ -6669,10 +6699,10 @@ export default {
|
|
|
6669
6699
|
}
|
|
6670
6700
|
else if (typeof data.authorizedUser !== 'undefined') {
|
|
6671
6701
|
if (isPrimaryKey(data.authorizedUser, true)) {
|
|
6672
|
-
entity.authorizedUser = factory.createReference(
|
|
6702
|
+
entity.authorizedUser = factory.createReference(user_313, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
6673
6703
|
}
|
|
6674
6704
|
else if (data.authorizedUser && typeof data.authorizedUser === 'object') {
|
|
6675
|
-
entity.authorizedUser = factory.create(
|
|
6705
|
+
entity.authorizedUser = factory.create(user_314, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
6676
6706
|
}
|
|
6677
6707
|
}
|
|
6678
6708
|
if (data.authorizedAt === null) {
|
|
@@ -6739,7 +6769,7 @@ export default {
|
|
|
6739
6769
|
}
|
|
6740
6770
|
};
|
|
6741
6771
|
},
|
|
6742
|
-
'hydrator-oauth_device_code_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
6772
|
+
'hydrator-oauth_device_code_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_325, oauth_client_326, convertToJSValue_scope, convertToDatabaseValue_scope, user_329, user_330) {
|
|
6743
6773
|
// compiled hydrator for entity OAuthDeviceCodeEntity ( normalized)
|
|
6744
6774
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
6745
6775
|
if (data.id === null) {
|
|
@@ -6799,10 +6829,10 @@ export default {
|
|
|
6799
6829
|
}
|
|
6800
6830
|
else if (typeof data.client !== 'undefined') {
|
|
6801
6831
|
if (isPrimaryKey(data.client, true)) {
|
|
6802
|
-
entity.client = factory.createReference(
|
|
6832
|
+
entity.client = factory.createReference(oauth_client_325, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
6803
6833
|
}
|
|
6804
6834
|
else if (data.client && typeof data.client === 'object') {
|
|
6805
|
-
entity.client = factory.create(
|
|
6835
|
+
entity.client = factory.create(oauth_client_326, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
6806
6836
|
}
|
|
6807
6837
|
}
|
|
6808
6838
|
if (data.scope === null) {
|
|
@@ -6837,10 +6867,10 @@ export default {
|
|
|
6837
6867
|
}
|
|
6838
6868
|
else if (typeof data.authorizedUser !== 'undefined') {
|
|
6839
6869
|
if (isPrimaryKey(data.authorizedUser, true)) {
|
|
6840
|
-
entity.authorizedUser = factory.createReference(
|
|
6870
|
+
entity.authorizedUser = factory.createReference(user_329, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
6841
6871
|
}
|
|
6842
6872
|
else if (data.authorizedUser && typeof data.authorizedUser === 'object') {
|
|
6843
|
-
entity.authorizedUser = factory.create(
|
|
6873
|
+
entity.authorizedUser = factory.create(user_330, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
6844
6874
|
}
|
|
6845
6875
|
}
|
|
6846
6876
|
if (data.authorizedAt === null) {
|
|
@@ -7332,7 +7362,7 @@ export default {
|
|
|
7332
7362
|
return getPrimaryKeyHash(val_11);
|
|
7333
7363
|
};
|
|
7334
7364
|
},
|
|
7335
|
-
'hydrator-oauth_code_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
7365
|
+
'hydrator-oauth_code_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_342, oauth_client_343, user_344, user_345, convertToJSValue_scope, convertToDatabaseValue_scope) {
|
|
7336
7366
|
// compiled hydrator for entity OAuthCodeEntity ( normalized)
|
|
7337
7367
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
7338
7368
|
if (data.id === null) {
|
|
@@ -7386,10 +7416,10 @@ export default {
|
|
|
7386
7416
|
}
|
|
7387
7417
|
else if (typeof data.client !== 'undefined') {
|
|
7388
7418
|
if (isPrimaryKey(data.client, true)) {
|
|
7389
|
-
entity.client = factory.createReference(
|
|
7419
|
+
entity.client = factory.createReference(oauth_client_342, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
7390
7420
|
}
|
|
7391
7421
|
else if (data.client && typeof data.client === 'object') {
|
|
7392
|
-
entity.client = factory.create(
|
|
7422
|
+
entity.client = factory.create(oauth_client_343, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
7393
7423
|
}
|
|
7394
7424
|
}
|
|
7395
7425
|
if (data.user === null) {
|
|
@@ -7397,10 +7427,10 @@ export default {
|
|
|
7397
7427
|
}
|
|
7398
7428
|
else if (typeof data.user !== 'undefined') {
|
|
7399
7429
|
if (isPrimaryKey(data.user, true)) {
|
|
7400
|
-
entity.user = Reference.create(factory.createReference(
|
|
7430
|
+
entity.user = Reference.create(factory.createReference(user_344, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
7401
7431
|
}
|
|
7402
7432
|
else if (data.user && typeof data.user === 'object') {
|
|
7403
|
-
entity.user = Reference.create(factory.create(
|
|
7433
|
+
entity.user = Reference.create(factory.create(user_345, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
7404
7434
|
}
|
|
7405
7435
|
}
|
|
7406
7436
|
if (data.redirectUri === null) {
|
|
@@ -7476,7 +7506,7 @@ export default {
|
|
|
7476
7506
|
}
|
|
7477
7507
|
};
|
|
7478
7508
|
},
|
|
7479
|
-
'hydrator-oauth_code_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
7509
|
+
'hydrator-oauth_code_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_358, oauth_client_359, user_360, user_361, convertToJSValue_scope, convertToDatabaseValue_scope) {
|
|
7480
7510
|
// compiled hydrator for entity OAuthCodeEntity ( normalized)
|
|
7481
7511
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
7482
7512
|
if (data.id === null) {
|
|
@@ -7530,10 +7560,10 @@ export default {
|
|
|
7530
7560
|
}
|
|
7531
7561
|
else if (typeof data.client !== 'undefined') {
|
|
7532
7562
|
if (isPrimaryKey(data.client, true)) {
|
|
7533
|
-
entity.client = factory.createReference(
|
|
7563
|
+
entity.client = factory.createReference(oauth_client_358, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
|
|
7534
7564
|
}
|
|
7535
7565
|
else if (data.client && typeof data.client === 'object') {
|
|
7536
|
-
entity.client = factory.create(
|
|
7566
|
+
entity.client = factory.create(oauth_client_359, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
|
|
7537
7567
|
}
|
|
7538
7568
|
}
|
|
7539
7569
|
if (data.user === null) {
|
|
@@ -7541,10 +7571,10 @@ export default {
|
|
|
7541
7571
|
}
|
|
7542
7572
|
else if (typeof data.user !== 'undefined') {
|
|
7543
7573
|
if (isPrimaryKey(data.user, true)) {
|
|
7544
|
-
entity.user = Reference.create(factory.createReference(
|
|
7574
|
+
entity.user = Reference.create(factory.createReference(user_360, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
7545
7575
|
}
|
|
7546
7576
|
else if (data.user && typeof data.user === 'object') {
|
|
7547
|
-
entity.user = Reference.create(factory.create(
|
|
7577
|
+
entity.user = Reference.create(factory.create(user_361, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
7548
7578
|
}
|
|
7549
7579
|
}
|
|
7550
7580
|
if (data.redirectUri === null) {
|
|
@@ -8012,7 +8042,7 @@ export default {
|
|
|
8012
8042
|
return getPrimaryKeyHash(val_12);
|
|
8013
8043
|
};
|
|
8014
8044
|
},
|
|
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,
|
|
8045
|
+
'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_388, oauth_device_code_389, user_consent_390, revoked_tokens_391) {
|
|
8016
8046
|
// compiled hydrator for entity OAuthClientEntity ( normalized)
|
|
8017
8047
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
8018
8048
|
if (data.id === null) {
|
|
@@ -8171,10 +8201,10 @@ export default {
|
|
|
8171
8201
|
}
|
|
8172
8202
|
const createCollectionItem_codes = (value, entity) => {
|
|
8173
8203
|
if (isPrimaryKey(value, false))
|
|
8174
|
-
return factory.createReference(
|
|
8204
|
+
return factory.createReference(oauth_code_388, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8175
8205
|
if (value && isEntity(value))
|
|
8176
8206
|
return value;
|
|
8177
|
-
return factory.create(
|
|
8207
|
+
return factory.create(oauth_code_388, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8178
8208
|
};
|
|
8179
8209
|
if (data.codes && !Array.isArray(data.codes) && typeof data.codes === 'object') {
|
|
8180
8210
|
data.codes = [data.codes];
|
|
@@ -8198,10 +8228,10 @@ export default {
|
|
|
8198
8228
|
}
|
|
8199
8229
|
const createCollectionItem_deviceCodes = (value, entity) => {
|
|
8200
8230
|
if (isPrimaryKey(value, false))
|
|
8201
|
-
return factory.createReference(
|
|
8231
|
+
return factory.createReference(oauth_device_code_389, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8202
8232
|
if (value && isEntity(value))
|
|
8203
8233
|
return value;
|
|
8204
|
-
return factory.create(
|
|
8234
|
+
return factory.create(oauth_device_code_389, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8205
8235
|
};
|
|
8206
8236
|
if (data.deviceCodes && !Array.isArray(data.deviceCodes) && typeof data.deviceCodes === 'object') {
|
|
8207
8237
|
data.deviceCodes = [data.deviceCodes];
|
|
@@ -8225,10 +8255,10 @@ export default {
|
|
|
8225
8255
|
}
|
|
8226
8256
|
const createCollectionItem_consents = (value, entity) => {
|
|
8227
8257
|
if (isPrimaryKey(value, false))
|
|
8228
|
-
return factory.createReference(
|
|
8258
|
+
return factory.createReference(user_consent_390, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8229
8259
|
if (value && isEntity(value))
|
|
8230
8260
|
return value;
|
|
8231
|
-
return factory.create(
|
|
8261
|
+
return factory.create(user_consent_390, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8232
8262
|
};
|
|
8233
8263
|
if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
|
|
8234
8264
|
data.consents = [data.consents];
|
|
@@ -8252,10 +8282,10 @@ export default {
|
|
|
8252
8282
|
}
|
|
8253
8283
|
const createCollectionItem_revokedTokens = (value, entity) => {
|
|
8254
8284
|
if (isPrimaryKey(value, false))
|
|
8255
|
-
return factory.createReference(
|
|
8285
|
+
return factory.createReference(revoked_tokens_391, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8256
8286
|
if (value && isEntity(value))
|
|
8257
8287
|
return value;
|
|
8258
|
-
return factory.create(
|
|
8288
|
+
return factory.create(revoked_tokens_391, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8259
8289
|
};
|
|
8260
8290
|
if (data.revokedTokens && !Array.isArray(data.revokedTokens) && typeof data.revokedTokens === 'object') {
|
|
8261
8291
|
data.revokedTokens = [data.revokedTokens];
|
|
@@ -8279,7 +8309,7 @@ export default {
|
|
|
8279
8309
|
}
|
|
8280
8310
|
};
|
|
8281
8311
|
},
|
|
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,
|
|
8312
|
+
'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_408, oauth_device_code_409, user_consent_410, revoked_tokens_411) {
|
|
8283
8313
|
// compiled hydrator for entity OAuthClientEntity ( normalized)
|
|
8284
8314
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
8285
8315
|
if (data.id === null) {
|
|
@@ -8438,10 +8468,10 @@ export default {
|
|
|
8438
8468
|
}
|
|
8439
8469
|
const createCollectionItem_codes = (value, entity) => {
|
|
8440
8470
|
if (isPrimaryKey(value, false))
|
|
8441
|
-
return factory.createReference(
|
|
8471
|
+
return factory.createReference(oauth_code_408, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8442
8472
|
if (value && isEntity(value))
|
|
8443
8473
|
return value;
|
|
8444
|
-
return factory.create(
|
|
8474
|
+
return factory.create(oauth_code_408, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8445
8475
|
};
|
|
8446
8476
|
if (data.codes && !Array.isArray(data.codes) && typeof data.codes === 'object') {
|
|
8447
8477
|
data.codes = [data.codes];
|
|
@@ -8465,10 +8495,10 @@ export default {
|
|
|
8465
8495
|
}
|
|
8466
8496
|
const createCollectionItem_deviceCodes = (value, entity) => {
|
|
8467
8497
|
if (isPrimaryKey(value, false))
|
|
8468
|
-
return factory.createReference(
|
|
8498
|
+
return factory.createReference(oauth_device_code_409, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8469
8499
|
if (value && isEntity(value))
|
|
8470
8500
|
return value;
|
|
8471
|
-
return factory.create(
|
|
8501
|
+
return factory.create(oauth_device_code_409, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8472
8502
|
};
|
|
8473
8503
|
if (data.deviceCodes && !Array.isArray(data.deviceCodes) && typeof data.deviceCodes === 'object') {
|
|
8474
8504
|
data.deviceCodes = [data.deviceCodes];
|
|
@@ -8492,10 +8522,10 @@ export default {
|
|
|
8492
8522
|
}
|
|
8493
8523
|
const createCollectionItem_consents = (value, entity) => {
|
|
8494
8524
|
if (isPrimaryKey(value, false))
|
|
8495
|
-
return factory.createReference(
|
|
8525
|
+
return factory.createReference(user_consent_410, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8496
8526
|
if (value && isEntity(value))
|
|
8497
8527
|
return value;
|
|
8498
|
-
return factory.create(
|
|
8528
|
+
return factory.create(user_consent_410, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8499
8529
|
};
|
|
8500
8530
|
if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
|
|
8501
8531
|
data.consents = [data.consents];
|
|
@@ -8519,10 +8549,10 @@ export default {
|
|
|
8519
8549
|
}
|
|
8520
8550
|
const createCollectionItem_revokedTokens = (value, entity) => {
|
|
8521
8551
|
if (isPrimaryKey(value, false))
|
|
8522
|
-
return factory.createReference(
|
|
8552
|
+
return factory.createReference(revoked_tokens_411, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8523
8553
|
if (value && isEntity(value))
|
|
8524
8554
|
return value;
|
|
8525
|
-
return factory.create(
|
|
8555
|
+
return factory.create(revoked_tokens_411, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
|
|
8526
8556
|
};
|
|
8527
8557
|
if (data.revokedTokens && !Array.isArray(data.revokedTokens) && typeof data.revokedTokens === 'object') {
|
|
8528
8558
|
data.revokedTokens = [data.revokedTokens];
|
|
@@ -9492,7 +9522,7 @@ export default {
|
|
|
9492
9522
|
return '' + entity.kid;
|
|
9493
9523
|
};
|
|
9494
9524
|
},
|
|
9495
|
-
'hydrator-email_verification_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
9525
|
+
'hydrator-email_verification_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_441, user_442) {
|
|
9496
9526
|
// compiled hydrator for entity EmailVerificationEntity ( normalized)
|
|
9497
9527
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
9498
9528
|
if (data.id === null) {
|
|
@@ -9540,10 +9570,10 @@ export default {
|
|
|
9540
9570
|
}
|
|
9541
9571
|
else if (typeof data.user !== 'undefined') {
|
|
9542
9572
|
if (isPrimaryKey(data.user, true)) {
|
|
9543
|
-
entity.user = Reference.create(factory.createReference(
|
|
9573
|
+
entity.user = Reference.create(factory.createReference(user_441, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
9544
9574
|
}
|
|
9545
9575
|
else if (data.user && typeof data.user === 'object') {
|
|
9546
|
-
entity.user = Reference.create(factory.create(
|
|
9576
|
+
entity.user = Reference.create(factory.create(user_442, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
9547
9577
|
}
|
|
9548
9578
|
}
|
|
9549
9579
|
if (data.token === null) {
|
|
@@ -9588,7 +9618,7 @@ export default {
|
|
|
9588
9618
|
}
|
|
9589
9619
|
};
|
|
9590
9620
|
},
|
|
9591
|
-
'hydrator-email_verification_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id,
|
|
9621
|
+
'hydrator-email_verification_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_450, user_451) {
|
|
9592
9622
|
// compiled hydrator for entity EmailVerificationEntity ( normalized)
|
|
9593
9623
|
return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
|
|
9594
9624
|
if (data.id === null) {
|
|
@@ -9636,10 +9666,10 @@ export default {
|
|
|
9636
9666
|
}
|
|
9637
9667
|
else if (typeof data.user !== 'undefined') {
|
|
9638
9668
|
if (isPrimaryKey(data.user, true)) {
|
|
9639
|
-
entity.user = Reference.create(factory.createReference(
|
|
9669
|
+
entity.user = Reference.create(factory.createReference(user_450, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
|
|
9640
9670
|
}
|
|
9641
9671
|
else if (data.user && typeof data.user === 'object') {
|
|
9642
|
-
entity.user = Reference.create(factory.create(
|
|
9672
|
+
entity.user = Reference.create(factory.create(user_451, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
|
|
9643
9673
|
}
|
|
9644
9674
|
}
|
|
9645
9675
|
if (data.token === null) {
|