@carlonicora/nestjs-neo4jsonapi 1.39.0 → 1.40.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/config/base.config.d.ts.map +1 -1
- package/dist/config/base.config.js +9 -0
- package/dist/config/base.config.js.map +1 -1
- package/dist/config/interfaces/base.config.interface.d.ts +2 -0
- package/dist/config/interfaces/base.config.interface.d.ts.map +1 -1
- package/dist/config/interfaces/config.two.factor.interface.d.ts +27 -0
- package/dist/config/interfaces/config.two.factor.interface.d.ts.map +1 -0
- package/dist/config/interfaces/config.two.factor.interface.js +3 -0
- package/dist/config/interfaces/config.two.factor.interface.js.map +1 -0
- package/dist/config/interfaces/index.d.ts +1 -0
- package/dist/config/interfaces/index.d.ts.map +1 -1
- package/dist/config/interfaces/index.js +1 -0
- package/dist/config/interfaces/index.js.map +1 -1
- package/dist/core/jsonapi/services/jsonapi.service.d.ts.map +1 -1
- package/dist/core/jsonapi/services/jsonapi.service.js +3 -1
- package/dist/core/jsonapi/services/jsonapi.service.js.map +1 -1
- package/dist/core/llm/services/vision.llm.service.d.ts.map +1 -1
- package/dist/core/llm/services/vision.llm.service.js +0 -1
- package/dist/core/llm/services/vision.llm.service.js.map +1 -1
- package/dist/core/security/services/security.service.d.ts +27 -0
- package/dist/core/security/services/security.service.d.ts.map +1 -1
- package/dist/core/security/services/security.service.js +37 -0
- package/dist/core/security/services/security.service.js.map +1 -1
- package/dist/foundations/auth/auth.module.d.ts.map +1 -1
- package/dist/foundations/auth/auth.module.js +6 -0
- package/dist/foundations/auth/auth.module.js.map +1 -1
- package/dist/foundations/auth/entities/pending-auth.entity.d.ts +16 -0
- package/dist/foundations/auth/entities/pending-auth.entity.d.ts.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.entity.js +3 -0
- package/dist/foundations/auth/entities/pending-auth.entity.js.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.map.d.ts +6 -0
- package/dist/foundations/auth/entities/pending-auth.map.d.ts.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.map.js +20 -0
- package/dist/foundations/auth/entities/pending-auth.map.js.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.meta.d.ts +3 -0
- package/dist/foundations/auth/entities/pending-auth.meta.d.ts.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.meta.js +10 -0
- package/dist/foundations/auth/entities/pending-auth.meta.js.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.model.d.ts +9 -0
- package/dist/foundations/auth/entities/pending-auth.model.d.ts.map +1 -0
- package/dist/foundations/auth/entities/pending-auth.model.js +19 -0
- package/dist/foundations/auth/entities/pending-auth.model.js.map +1 -0
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.d.ts +18 -0
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.d.ts.map +1 -0
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.js +49 -0
- package/dist/foundations/auth/serialisers/pending-auth.serialiser.js.map +1 -0
- package/dist/foundations/auth/services/auth.service.d.ts +12 -1
- package/dist/foundations/auth/services/auth.service.d.ts.map +1 -1
- package/dist/foundations/auth/services/auth.service.js +60 -6
- package/dist/foundations/auth/services/auth.service.js.map +1 -1
- package/dist/foundations/foundations.modules.d.ts.map +1 -1
- package/dist/foundations/foundations.modules.js +2 -0
- package/dist/foundations/foundations.modules.js.map +1 -1
- package/dist/foundations/index.d.ts +1 -0
- package/dist/foundations/index.d.ts.map +1 -1
- package/dist/foundations/index.js +1 -0
- package/dist/foundations/index.js.map +1 -1
- package/dist/foundations/stripe/services/billing.service.d.ts +3 -4
- package/dist/foundations/stripe/services/billing.service.d.ts.map +1 -1
- package/dist/foundations/stripe/services/billing.service.js +1 -1
- package/dist/foundations/stripe/services/billing.service.js.map +1 -1
- package/dist/foundations/stripe-invoice/services/stripe-invoice-admin.service.d.ts +1 -1
- package/dist/foundations/stripe-invoice/services/stripe-invoice-admin.service.js +1 -1
- package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.d.ts +1 -1
- package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.d.ts.map +1 -1
- package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.js +2 -2
- package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.js.map +1 -1
- package/dist/foundations/stripe-subscription/controllers/stripe-subscription.controller.d.ts.map +1 -1
- package/dist/foundations/stripe-subscription/controllers/stripe-subscription.controller.js +0 -3
- package/dist/foundations/stripe-subscription/controllers/stripe-subscription.controller.js.map +1 -1
- package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.d.ts +1 -1
- package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.d.ts.map +1 -1
- package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.js +1 -3
- package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.js.map +1 -1
- package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.d.ts +1 -1
- package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.d.ts.map +1 -1
- package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.js +1 -5
- package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.js.map +1 -1
- package/dist/foundations/two-factor/controllers/passkey.controller.d.ts +52 -0
- package/dist/foundations/two-factor/controllers/passkey.controller.d.ts.map +1 -0
- package/dist/foundations/two-factor/controllers/passkey.controller.js +155 -0
- package/dist/foundations/two-factor/controllers/passkey.controller.js.map +1 -0
- package/dist/foundations/two-factor/controllers/totp.controller.d.ts +47 -0
- package/dist/foundations/two-factor/controllers/totp.controller.d.ts.map +1 -0
- package/dist/foundations/two-factor/controllers/totp.controller.js +132 -0
- package/dist/foundations/two-factor/controllers/totp.controller.js.map +1 -0
- package/dist/foundations/two-factor/controllers/two-factor.controller.d.ts +124 -0
- package/dist/foundations/two-factor/controllers/two-factor.controller.d.ts.map +1 -0
- package/dist/foundations/two-factor/controllers/two-factor.controller.js +352 -0
- package/dist/foundations/two-factor/controllers/two-factor.controller.js.map +1 -0
- package/dist/foundations/two-factor/dtos/passkey-options.dto.d.ts +42 -0
- package/dist/foundations/two-factor/dtos/passkey-options.dto.d.ts.map +1 -0
- package/dist/foundations/two-factor/dtos/passkey-options.dto.js +77 -0
- package/dist/foundations/two-factor/dtos/passkey-options.dto.js.map +1 -0
- package/dist/foundations/two-factor/dtos/passkey-verify.dto.d.ts +120 -0
- package/dist/foundations/two-factor/dtos/passkey-verify.dto.d.ts.map +1 -0
- package/dist/foundations/two-factor/dtos/passkey-verify.dto.js +226 -0
- package/dist/foundations/two-factor/dtos/passkey-verify.dto.js.map +1 -0
- package/dist/foundations/two-factor/dtos/totp-setup.dto.d.ts +32 -0
- package/dist/foundations/two-factor/dtos/totp-setup.dto.d.ts.map +1 -0
- package/dist/foundations/two-factor/dtos/totp-setup.dto.js +67 -0
- package/dist/foundations/two-factor/dtos/totp-setup.dto.js.map +1 -0
- package/dist/foundations/two-factor/dtos/totp-verify.dto.d.ts +62 -0
- package/dist/foundations/two-factor/dtos/totp-verify.dto.d.ts.map +1 -0
- package/dist/foundations/two-factor/dtos/totp-verify.dto.js +118 -0
- package/dist/foundations/two-factor/dtos/totp-verify.dto.js.map +1 -0
- package/dist/foundations/two-factor/dtos/two-factor-verify.dto.d.ts +83 -0
- package/dist/foundations/two-factor/dtos/two-factor-verify.dto.d.ts.map +1 -0
- package/dist/foundations/two-factor/dtos/two-factor-verify.dto.js +161 -0
- package/dist/foundations/two-factor/dtos/two-factor-verify.dto.js.map +1 -0
- package/dist/foundations/two-factor/entities/backup-code.d.ts +22 -0
- package/dist/foundations/two-factor/entities/backup-code.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/backup-code.js +25 -0
- package/dist/foundations/two-factor/entities/backup-code.js.map +1 -0
- package/dist/foundations/two-factor/entities/backup-code.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/backup-code.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/backup-code.meta.js +10 -0
- package/dist/foundations/two-factor/entities/backup-code.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.d.ts +18 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.js +19 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.js.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.meta.js +10 -0
- package/dist/foundations/two-factor/entities/backup-codes-count.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.d.ts +19 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.js +20 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.js.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.meta.js +10 -0
- package/dist/foundations/two-factor/entities/backup-codes-generation.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.d.ts +19 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.js +20 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.js.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.js +10 -0
- package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.d.ts +19 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.js +20 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.js.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.meta.js +10 -0
- package/dist/foundations/two-factor/entities/passkey-registration-options.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/passkey.d.ts +27 -0
- package/dist/foundations/two-factor/entities/passkey.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/passkey.js +30 -0
- package/dist/foundations/two-factor/entities/passkey.js.map +1 -0
- package/dist/foundations/two-factor/entities/passkey.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/passkey.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/passkey.meta.js +10 -0
- package/dist/foundations/two-factor/entities/passkey.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.d.ts +24 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.js +27 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.js.map +1 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.meta.js +10 -0
- package/dist/foundations/two-factor/entities/pending-two-factor.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.d.ts +24 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.js +27 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.js.map +1 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.meta.js +10 -0
- package/dist/foundations/two-factor/entities/totp-authenticator.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/totp-setup.d.ts +20 -0
- package/dist/foundations/two-factor/entities/totp-setup.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/totp-setup.js +21 -0
- package/dist/foundations/two-factor/entities/totp-setup.js.map +1 -0
- package/dist/foundations/two-factor/entities/totp-setup.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/totp-setup.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/totp-setup.meta.js +10 -0
- package/dist/foundations/two-factor/entities/totp-setup.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.d.ts +21 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.js +22 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.meta.js +10 -0
- package/dist/foundations/two-factor/entities/two-factor-challenge.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-config.d.ts +21 -0
- package/dist/foundations/two-factor/entities/two-factor-config.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-config.js +23 -0
- package/dist/foundations/two-factor/entities/two-factor-config.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-config.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/two-factor-config.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-config.meta.js +10 -0
- package/dist/foundations/two-factor/entities/two-factor-config.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-status.d.ts +25 -0
- package/dist/foundations/two-factor/entities/two-factor-status.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-status.js +22 -0
- package/dist/foundations/two-factor/entities/two-factor-status.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-status.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/two-factor-status.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-status.meta.js +10 -0
- package/dist/foundations/two-factor/entities/two-factor-status.meta.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.d.ts +19 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.js +20 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.js.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.meta.d.ts +3 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.meta.d.ts.map +1 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.meta.js +10 -0
- package/dist/foundations/two-factor/entities/two-factor-verification.meta.js.map +1 -0
- package/dist/foundations/two-factor/guards/pending-auth.guard.d.ts +35 -0
- package/dist/foundations/two-factor/guards/pending-auth.guard.d.ts.map +1 -0
- package/dist/foundations/two-factor/guards/pending-auth.guard.js +70 -0
- package/dist/foundations/two-factor/guards/pending-auth.guard.js.map +1 -0
- package/dist/foundations/two-factor/index.d.ts +47 -0
- package/dist/foundations/two-factor/index.d.ts.map +1 -0
- package/dist/foundations/two-factor/index.js +134 -0
- package/dist/foundations/two-factor/index.js.map +1 -0
- package/dist/foundations/two-factor/repositories/backup-code.repository.d.ts +34 -0
- package/dist/foundations/two-factor/repositories/backup-code.repository.d.ts.map +1 -0
- package/dist/foundations/two-factor/repositories/backup-code.repository.js +107 -0
- package/dist/foundations/two-factor/repositories/backup-code.repository.js.map +1 -0
- package/dist/foundations/two-factor/repositories/passkey.repository.d.ts +51 -0
- package/dist/foundations/two-factor/repositories/passkey.repository.d.ts.map +1 -0
- package/dist/foundations/two-factor/repositories/passkey.repository.js +159 -0
- package/dist/foundations/two-factor/repositories/passkey.repository.js.map +1 -0
- package/dist/foundations/two-factor/repositories/pending-two-factor.repository.d.ts +47 -0
- package/dist/foundations/two-factor/repositories/pending-two-factor.repository.d.ts.map +1 -0
- package/dist/foundations/two-factor/repositories/pending-two-factor.repository.js +159 -0
- package/dist/foundations/two-factor/repositories/pending-two-factor.repository.js.map +1 -0
- package/dist/foundations/two-factor/repositories/totp-authenticator.repository.d.ts +51 -0
- package/dist/foundations/two-factor/repositories/totp-authenticator.repository.d.ts.map +1 -0
- package/dist/foundations/two-factor/repositories/totp-authenticator.repository.js +156 -0
- package/dist/foundations/two-factor/repositories/totp-authenticator.repository.js.map +1 -0
- package/dist/foundations/two-factor/repositories/two-factor-config.repository.d.ts +32 -0
- package/dist/foundations/two-factor/repositories/two-factor-config.repository.d.ts.map +1 -0
- package/dist/foundations/two-factor/repositories/two-factor-config.repository.js +105 -0
- package/dist/foundations/two-factor/repositories/two-factor-config.repository.js.map +1 -0
- package/dist/foundations/two-factor/services/backup-code.service.d.ts +95 -0
- package/dist/foundations/two-factor/services/backup-code.service.d.ts.map +1 -0
- package/dist/foundations/two-factor/services/backup-code.service.js +216 -0
- package/dist/foundations/two-factor/services/backup-code.service.js.map +1 -0
- package/dist/foundations/two-factor/services/index.d.ts +6 -0
- package/dist/foundations/two-factor/services/index.d.ts.map +1 -0
- package/dist/foundations/two-factor/services/index.js +14 -0
- package/dist/foundations/two-factor/services/index.js.map +1 -0
- package/dist/foundations/two-factor/services/passkey.service.d.ts +132 -0
- package/dist/foundations/two-factor/services/passkey.service.d.ts.map +1 -0
- package/dist/foundations/two-factor/services/passkey.service.js +400 -0
- package/dist/foundations/two-factor/services/passkey.service.js.map +1 -0
- package/dist/foundations/two-factor/services/totp-encryption.service.d.ts +42 -0
- package/dist/foundations/two-factor/services/totp-encryption.service.d.ts.map +1 -0
- package/dist/foundations/two-factor/services/totp-encryption.service.js +136 -0
- package/dist/foundations/two-factor/services/totp-encryption.service.js.map +1 -0
- package/dist/foundations/two-factor/services/totp.service.d.ts +132 -0
- package/dist/foundations/two-factor/services/totp.service.d.ts.map +1 -0
- package/dist/foundations/two-factor/services/totp.service.js +324 -0
- package/dist/foundations/two-factor/services/totp.service.js.map +1 -0
- package/dist/foundations/two-factor/services/two-factor.service.d.ts +165 -0
- package/dist/foundations/two-factor/services/two-factor.service.d.ts.map +1 -0
- package/dist/foundations/two-factor/services/two-factor.service.js +468 -0
- package/dist/foundations/two-factor/services/two-factor.service.js.map +1 -0
- package/dist/foundations/two-factor/two-factor.module.d.ts +23 -0
- package/dist/foundations/two-factor/two-factor.module.d.ts.map +1 -0
- package/dist/foundations/two-factor/two-factor.module.js +132 -0
- package/dist/foundations/two-factor/two-factor.module.js.map +1 -0
- package/dist/foundations/user/repositories/user.repository.d.ts +8 -0
- package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -1
- package/dist/foundations/user/repositories/user.repository.js +28 -1
- package/dist/foundations/user/repositories/user.repository.js.map +1 -1
- package/dist/foundations/waitlist/controllers/waitlist.controller.d.ts.map +1 -1
- package/dist/foundations/waitlist/controllers/waitlist.controller.js +0 -4
- package/dist/foundations/waitlist/controllers/waitlist.controller.js.map +1 -1
- package/dist/foundations/waitlist/repositories/waitlist.repository.d.ts.map +1 -1
- package/dist/foundations/waitlist/repositories/waitlist.repository.js +0 -2
- package/dist/foundations/waitlist/repositories/waitlist.repository.js.map +1 -1
- package/dist/foundations/waitlist/services/waitlist.service.d.ts +1 -0
- package/dist/foundations/waitlist/services/waitlist.service.d.ts.map +1 -1
- package/dist/foundations/waitlist/services/waitlist.service.js +6 -7
- package/dist/foundations/waitlist/services/waitlist.service.js.map +1 -1
- package/dist/scripts/generate-module/generator.js +13 -13
- package/dist/scripts/generate-module/generator.js.map +1 -1
- package/dist/scripts/generate-module/index.js +6 -6
- package/dist/scripts/generate-module/index.js.map +1 -1
- package/dist/scripts/generate-module/utils/file-writer.js +2 -2
- package/dist/scripts/generate-module/utils/file-writer.js.map +1 -1
- package/dist/scripts/generate-module/utils/module-registrar.js +7 -7
- package/dist/scripts/generate-module/utils/module-registrar.js.map +1 -1
- package/dist/tools/migrate-entity/index.js +3 -3
- package/dist/tools/migrate-entity/lib/descriptor-generator.js +6 -6
- package/dist/tools/migrate-entity/lib/entity-migrator.js +13 -13
- package/package.json +5 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* Passkey Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Stores WebAuthn passkey data (1:N with User)
|
|
6
|
+
* Relationship: User -[HAS_PASSKEY]-> Passkey
|
|
7
|
+
*/
|
|
8
|
+
export type Passkey = Entity & {
|
|
9
|
+
name: string;
|
|
10
|
+
credentialId: string;
|
|
11
|
+
publicKey: string;
|
|
12
|
+
counter: number;
|
|
13
|
+
transports: string;
|
|
14
|
+
backedUp: boolean;
|
|
15
|
+
lastUsedAt?: Date;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Passkey Entity Descriptor
|
|
19
|
+
*
|
|
20
|
+
* Single source of truth for the Passkey entity configuration.
|
|
21
|
+
* Passkey entries are NOT company-scoped - they're attached to User via relationship.
|
|
22
|
+
*
|
|
23
|
+
* Note: credentialId, publicKey, counter, transports are excluded from JSON:API responses for security.
|
|
24
|
+
*/
|
|
25
|
+
export declare const PasskeyDescriptor: import("../../../common").EntityDescriptor<Passkey, {}>;
|
|
26
|
+
export type PasskeyDescriptorType = typeof PasskeyDescriptor;
|
|
27
|
+
//# sourceMappingURL=passkey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passkey.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,yDAkB5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PasskeyDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const passkey_meta_1 = require("./passkey.meta");
|
|
6
|
+
/**
|
|
7
|
+
* Passkey Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Single source of truth for the Passkey entity configuration.
|
|
10
|
+
* Passkey entries are NOT company-scoped - they're attached to User via relationship.
|
|
11
|
+
*
|
|
12
|
+
* Note: credentialId, publicKey, counter, transports are excluded from JSON:API responses for security.
|
|
13
|
+
*/
|
|
14
|
+
exports.PasskeyDescriptor = (0, common_1.defineEntity)()({
|
|
15
|
+
...passkey_meta_1.passkeyMeta,
|
|
16
|
+
// Passkey entries are NOT company-scoped - they exist attached to User
|
|
17
|
+
isCompanyScoped: false,
|
|
18
|
+
fields: {
|
|
19
|
+
name: { type: "string", required: true },
|
|
20
|
+
// Security-sensitive fields excluded from JSON:API responses
|
|
21
|
+
credentialId: { type: "string", required: true, excludeFromJsonApi: true },
|
|
22
|
+
publicKey: { type: "string", required: true, excludeFromJsonApi: true },
|
|
23
|
+
counter: { type: "number", required: true, excludeFromJsonApi: true },
|
|
24
|
+
transports: { type: "string", required: true, excludeFromJsonApi: true },
|
|
25
|
+
backedUp: { type: "boolean", required: true, default: false },
|
|
26
|
+
lastUsedAt: { type: "datetime" },
|
|
27
|
+
},
|
|
28
|
+
relationships: {},
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=passkey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passkey.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,iDAA6C;AAkB7C;;;;;;;GAOG;AACU,QAAA,iBAAiB,GAAG,IAAA,qBAAY,GAAW,CAAC;IACvD,GAAG,0BAAW;IAEd,uEAAuE;IACvE,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,6DAA6D;QAC7D,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QAC1E,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACvE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACrE,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACxE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE;QAC7D,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passkey.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,WAAW,EAAE,QAKzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.passkeyMeta = void 0;
|
|
4
|
+
exports.passkeyMeta = {
|
|
5
|
+
type: "passkeys",
|
|
6
|
+
endpoint: "passkeys",
|
|
7
|
+
nodeName: "passkey",
|
|
8
|
+
labelName: "Passkey",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=passkey.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"passkey.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAa;IACnC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,SAAS;CACrB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* PendingTwoFactor Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Stores pending 2FA challenge data (1:1 with User, temporary)
|
|
6
|
+
* Relationship: User -[HAS_PENDING_TWO_FACTOR]-> PendingTwoFactor
|
|
7
|
+
*/
|
|
8
|
+
export type PendingTwoFactor = Entity & {
|
|
9
|
+
challenge: string;
|
|
10
|
+
challengeType: string;
|
|
11
|
+
expiration: Date;
|
|
12
|
+
attemptCount: number;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* PendingTwoFactor Entity Descriptor
|
|
16
|
+
*
|
|
17
|
+
* Single source of truth for the PendingTwoFactor entity configuration.
|
|
18
|
+
* PendingTwoFactor entries are NOT company-scoped - they're attached to User via relationship.
|
|
19
|
+
*
|
|
20
|
+
* Note: challenge is excluded from JSON:API responses - internal security data.
|
|
21
|
+
*/
|
|
22
|
+
export declare const PendingTwoFactorDescriptor: import("../../../common").EntityDescriptor<PendingTwoFactor, {}>;
|
|
23
|
+
export type PendingTwoFactorDescriptorType = typeof PendingTwoFactorDescriptor;
|
|
24
|
+
//# sourceMappingURL=pending-two-factor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-two-factor.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,IAAI,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,kEAerC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,OAAO,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PendingTwoFactorDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const pending_two_factor_meta_1 = require("./pending-two-factor.meta");
|
|
6
|
+
/**
|
|
7
|
+
* PendingTwoFactor Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Single source of truth for the PendingTwoFactor entity configuration.
|
|
10
|
+
* PendingTwoFactor entries are NOT company-scoped - they're attached to User via relationship.
|
|
11
|
+
*
|
|
12
|
+
* Note: challenge is excluded from JSON:API responses - internal security data.
|
|
13
|
+
*/
|
|
14
|
+
exports.PendingTwoFactorDescriptor = (0, common_1.defineEntity)()({
|
|
15
|
+
...pending_two_factor_meta_1.pendingTwoFactorMeta,
|
|
16
|
+
// PendingTwoFactor entries are NOT company-scoped - they exist attached to User
|
|
17
|
+
isCompanyScoped: false,
|
|
18
|
+
fields: {
|
|
19
|
+
// challenge is excluded from JSON:API responses - internal security data
|
|
20
|
+
challenge: { type: "string", required: true, excludeFromJsonApi: true },
|
|
21
|
+
challengeType: { type: "string", required: true },
|
|
22
|
+
expiration: { type: "datetime", required: true },
|
|
23
|
+
attemptCount: { type: "number", required: true, default: 0 },
|
|
24
|
+
},
|
|
25
|
+
relationships: {},
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=pending-two-factor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-two-factor.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uEAAiE;AAejE;;;;;;;GAOG;AACU,QAAA,0BAA0B,GAAG,IAAA,qBAAY,GAAoB,CAAC;IACzE,GAAG,8CAAoB;IAEvB,gFAAgF;IAChF,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,yEAAyE;QACzE,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACvE,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACjD,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;QAChD,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;KAC7D;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-two-factor.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,oBAAoB,EAAE,QAKlC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.pendingTwoFactorMeta = void 0;
|
|
4
|
+
exports.pendingTwoFactorMeta = {
|
|
5
|
+
type: "pending-two-factors",
|
|
6
|
+
endpoint: "pending-two-factors",
|
|
7
|
+
nodeName: "pendingtwofactor",
|
|
8
|
+
labelName: "PendingTwoFactor",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=pending-two-factor.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-two-factor.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAa;IAC5C,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,qBAAqB;IAC/B,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,kBAAkB;CAC9B,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* TotpAuthenticator Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Stores TOTP authenticator data (1:N with User)
|
|
6
|
+
* Relationship: User -[HAS_TOTP_AUTHENTICATOR]-> TotpAuthenticator
|
|
7
|
+
*/
|
|
8
|
+
export type TotpAuthenticator = Entity & {
|
|
9
|
+
name: string;
|
|
10
|
+
secret: string;
|
|
11
|
+
verified: boolean;
|
|
12
|
+
lastUsedAt?: Date;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* TotpAuthenticator Entity Descriptor
|
|
16
|
+
*
|
|
17
|
+
* Single source of truth for the TotpAuthenticator entity configuration.
|
|
18
|
+
* TotpAuthenticator entries are NOT company-scoped - they're attached to User via relationship.
|
|
19
|
+
*
|
|
20
|
+
* Note: The 'secret' field is excluded from JSON:API responses for security.
|
|
21
|
+
*/
|
|
22
|
+
export declare const TotpAuthenticatorDescriptor: import("../../../common").EntityDescriptor<TotpAuthenticator, {}>;
|
|
23
|
+
export type TotpAuthenticatorDescriptorType = typeof TotpAuthenticatorDescriptor;
|
|
24
|
+
//# sourceMappingURL=totp-authenticator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-authenticator.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,mEAetC,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,OAAO,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TotpAuthenticatorDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const totp_authenticator_meta_1 = require("./totp-authenticator.meta");
|
|
6
|
+
/**
|
|
7
|
+
* TotpAuthenticator Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Single source of truth for the TotpAuthenticator entity configuration.
|
|
10
|
+
* TotpAuthenticator entries are NOT company-scoped - they're attached to User via relationship.
|
|
11
|
+
*
|
|
12
|
+
* Note: The 'secret' field is excluded from JSON:API responses for security.
|
|
13
|
+
*/
|
|
14
|
+
exports.TotpAuthenticatorDescriptor = (0, common_1.defineEntity)()({
|
|
15
|
+
...totp_authenticator_meta_1.totpAuthenticatorMeta,
|
|
16
|
+
// TotpAuthenticator entries are NOT company-scoped - they exist attached to User
|
|
17
|
+
isCompanyScoped: false,
|
|
18
|
+
fields: {
|
|
19
|
+
name: { type: "string", required: true },
|
|
20
|
+
// Note: 'secret' is intentionally excluded from JSON:API responses - never expose
|
|
21
|
+
secret: { type: "string", required: true, excludeFromJsonApi: true },
|
|
22
|
+
verified: { type: "boolean", required: true, default: false },
|
|
23
|
+
lastUsedAt: { type: "datetime" },
|
|
24
|
+
},
|
|
25
|
+
relationships: {},
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=totp-authenticator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-authenticator.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uEAAkE;AAelE;;;;;;;GAOG;AACU,QAAA,2BAA2B,GAAG,IAAA,qBAAY,GAAqB,CAAC;IAC3E,GAAG,+CAAqB;IAExB,iFAAiF;IACjF,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,kFAAkF;QAClF,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACpE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE;QAC7D,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-authenticator.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,qBAAqB,EAAE,QAKnC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.totpAuthenticatorMeta = void 0;
|
|
4
|
+
exports.totpAuthenticatorMeta = {
|
|
5
|
+
type: "totp-authenticators",
|
|
6
|
+
endpoint: "totp-authenticators",
|
|
7
|
+
nodeName: "totpauthenticator",
|
|
8
|
+
labelName: "TotpAuthenticator",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=totp-authenticator.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-authenticator.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAa;IAC7C,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,qBAAqB;IAC/B,QAAQ,EAAE,mBAAmB;IAC7B,SAAS,EAAE,mBAAmB;CAC/B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* TotpSetup Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Transient response type for TOTP authenticator setup.
|
|
6
|
+
* Not stored in database - used only for JSON:API serialization.
|
|
7
|
+
*/
|
|
8
|
+
export type TotpSetup = Entity & {
|
|
9
|
+
secret: string;
|
|
10
|
+
qrCodeUri: string;
|
|
11
|
+
qrCodeDataUrl: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* TotpSetup Entity Descriptor
|
|
15
|
+
*
|
|
16
|
+
* Used for serializing TOTP setup response to JSON:API format.
|
|
17
|
+
*/
|
|
18
|
+
export declare const TotpSetupDescriptor: import("../../../common").EntityDescriptor<TotpSetup, {}>;
|
|
19
|
+
export type TotpSetupDescriptorType = typeof TotpSetupDescriptor;
|
|
20
|
+
//# sourceMappingURL=totp-setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-setup.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,2DAY9B,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,OAAO,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TotpSetupDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const totp_setup_meta_1 = require("./totp-setup.meta");
|
|
6
|
+
/**
|
|
7
|
+
* TotpSetup Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Used for serializing TOTP setup response to JSON:API format.
|
|
10
|
+
*/
|
|
11
|
+
exports.TotpSetupDescriptor = (0, common_1.defineEntity)()({
|
|
12
|
+
...totp_setup_meta_1.totpSetupMeta,
|
|
13
|
+
isCompanyScoped: false,
|
|
14
|
+
fields: {
|
|
15
|
+
secret: { type: "string", required: true },
|
|
16
|
+
qrCodeUri: { type: "string", required: true },
|
|
17
|
+
qrCodeDataUrl: { type: "string", required: true },
|
|
18
|
+
},
|
|
19
|
+
relationships: {},
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=totp-setup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-setup.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uDAAkD;AAclD;;;;GAIG;AACU,QAAA,mBAAmB,GAAG,IAAA,qBAAY,GAAa,CAAC;IAC3D,GAAG,+BAAa;IAEhB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC1C,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC7C,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KAClD;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-setup.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,aAAa,EAAE,QAK3B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.totpSetupMeta = void 0;
|
|
4
|
+
exports.totpSetupMeta = {
|
|
5
|
+
type: "totp-setup",
|
|
6
|
+
endpoint: "totp-setup",
|
|
7
|
+
nodeName: "totpsetup",
|
|
8
|
+
labelName: "TotpSetup",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=totp-setup.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"totp-setup.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAa;IACrC,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CACvB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* TwoFactorChallenge Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Transient response type for 2FA challenge requests.
|
|
6
|
+
* Not stored in database - used only for JSON:API serialization.
|
|
7
|
+
*/
|
|
8
|
+
export type TwoFactorChallenge = Entity & {
|
|
9
|
+
method: string;
|
|
10
|
+
pendingId: string;
|
|
11
|
+
availableMethods?: string[];
|
|
12
|
+
options?: any;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* TwoFactorChallenge Entity Descriptor
|
|
16
|
+
*
|
|
17
|
+
* Used for serializing 2FA challenge response to JSON:API format.
|
|
18
|
+
*/
|
|
19
|
+
export declare const TwoFactorChallengeDescriptor: import("../../../common").EntityDescriptor<TwoFactorChallenge, {}>;
|
|
20
|
+
export type TwoFactorChallengeDescriptorType = typeof TwoFactorChallengeDescriptor;
|
|
21
|
+
//# sourceMappingURL=two-factor-challenge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-challenge.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,oEAavC,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,OAAO,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TwoFactorChallengeDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const two_factor_challenge_meta_1 = require("./two-factor-challenge.meta");
|
|
6
|
+
/**
|
|
7
|
+
* TwoFactorChallenge Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Used for serializing 2FA challenge response to JSON:API format.
|
|
10
|
+
*/
|
|
11
|
+
exports.TwoFactorChallengeDescriptor = (0, common_1.defineEntity)()({
|
|
12
|
+
...two_factor_challenge_meta_1.twoFactorChallengeMeta,
|
|
13
|
+
isCompanyScoped: false,
|
|
14
|
+
fields: {
|
|
15
|
+
method: { type: "string", required: true },
|
|
16
|
+
pendingId: { type: "string", required: true },
|
|
17
|
+
availableMethods: { type: "string[]" },
|
|
18
|
+
options: { type: "json" },
|
|
19
|
+
},
|
|
20
|
+
relationships: {},
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=two-factor-challenge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-challenge.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,2EAAqE;AAerE;;;;GAIG;AACU,QAAA,4BAA4B,GAAG,IAAA,qBAAY,GAAsB,CAAC;IAC7E,GAAG,kDAAsB;IAEzB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC1C,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC7C,gBAAgB,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;QACtC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;KAC1B;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-challenge.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,sBAAsB,EAAE,QAKpC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.twoFactorChallengeMeta = void 0;
|
|
4
|
+
exports.twoFactorChallengeMeta = {
|
|
5
|
+
type: "two-factor-challenge",
|
|
6
|
+
endpoint: "two-factor-challenge",
|
|
7
|
+
nodeName: "twofactorchallenge",
|
|
8
|
+
labelName: "TwoFactorChallenge",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=two-factor-challenge.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-challenge.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAa;IAC9C,IAAI,EAAE,sBAAsB;IAC5B,QAAQ,EAAE,sBAAsB;IAChC,QAAQ,EAAE,oBAAoB;IAC9B,SAAS,EAAE,oBAAoB;CAChC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* TwoFactorConfig Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Stores user's 2FA enablement status (1:1 with User)
|
|
6
|
+
* Relationship: User -[HAS_TWO_FACTOR_CONFIG]-> TwoFactorConfig
|
|
7
|
+
*/
|
|
8
|
+
export type TwoFactorConfig = Entity & {
|
|
9
|
+
isEnabled: boolean;
|
|
10
|
+
preferredMethod: string;
|
|
11
|
+
backupCodesCount: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* TwoFactorConfig Entity Descriptor
|
|
15
|
+
*
|
|
16
|
+
* Single source of truth for the TwoFactorConfig entity configuration.
|
|
17
|
+
* TwoFactorConfig entries are NOT company-scoped - they're attached to User via relationship.
|
|
18
|
+
*/
|
|
19
|
+
export declare const TwoFactorConfigDescriptor: import("../../../common").EntityDescriptor<TwoFactorConfig, {}>;
|
|
20
|
+
export type TwoFactorConfigDescriptorType = typeof TwoFactorConfigDescriptor;
|
|
21
|
+
//# sourceMappingURL=two-factor-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-config.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,iEAapC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,OAAO,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TwoFactorConfigDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const two_factor_config_meta_1 = require("./two-factor-config.meta");
|
|
6
|
+
/**
|
|
7
|
+
* TwoFactorConfig Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Single source of truth for the TwoFactorConfig entity configuration.
|
|
10
|
+
* TwoFactorConfig entries are NOT company-scoped - they're attached to User via relationship.
|
|
11
|
+
*/
|
|
12
|
+
exports.TwoFactorConfigDescriptor = (0, common_1.defineEntity)()({
|
|
13
|
+
...two_factor_config_meta_1.twoFactorConfigMeta,
|
|
14
|
+
// TwoFactorConfig entries are NOT company-scoped - they exist attached to User
|
|
15
|
+
isCompanyScoped: false,
|
|
16
|
+
fields: {
|
|
17
|
+
isEnabled: { type: "boolean", required: true, default: false },
|
|
18
|
+
preferredMethod: { type: "string", required: true, default: "totp" },
|
|
19
|
+
backupCodesCount: { type: "number", required: true, default: 0 },
|
|
20
|
+
},
|
|
21
|
+
relationships: {},
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=two-factor-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-config.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,qEAA+D;AAc/D;;;;;GAKG;AACU,QAAA,yBAAyB,GAAG,IAAA,qBAAY,GAAmB,CAAC;IACvE,GAAG,4CAAmB;IAEtB,+EAA+E;IAC/E,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE;QAC9D,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE;QACpE,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;KACjE;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-config.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,mBAAmB,EAAE,QAKjC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.twoFactorConfigMeta = void 0;
|
|
4
|
+
exports.twoFactorConfigMeta = {
|
|
5
|
+
type: "two-factor-configs",
|
|
6
|
+
endpoint: "two-factor-configs",
|
|
7
|
+
nodeName: "twofactorconfig",
|
|
8
|
+
labelName: "TwoFactorConfig",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=two-factor-config.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-config.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAa;IAC3C,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,iBAAiB;CAC7B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* TwoFactorStatus Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Transient response type for 2FA status information.
|
|
6
|
+
* Not stored in database - used only for JSON:API serialization.
|
|
7
|
+
*/
|
|
8
|
+
export type TwoFactorStatus = Entity & {
|
|
9
|
+
isEnabled: boolean;
|
|
10
|
+
preferredMethod: string;
|
|
11
|
+
methods: {
|
|
12
|
+
totp: boolean;
|
|
13
|
+
passkey: boolean;
|
|
14
|
+
backup: boolean;
|
|
15
|
+
};
|
|
16
|
+
backupCodesCount: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* TwoFactorStatus Entity Descriptor
|
|
20
|
+
*
|
|
21
|
+
* Used for serializing 2FA status response to JSON:API format.
|
|
22
|
+
*/
|
|
23
|
+
export declare const TwoFactorStatusDescriptor: import("../../../common").EntityDescriptor<TwoFactorStatus, {}>;
|
|
24
|
+
export type TwoFactorStatusDescriptorType = typeof TwoFactorStatusDescriptor;
|
|
25
|
+
//# sourceMappingURL=two-factor-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-status.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,iEAapC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,OAAO,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TwoFactorStatusDescriptor = void 0;
|
|
4
|
+
const common_1 = require("../../../common");
|
|
5
|
+
const two_factor_status_meta_1 = require("./two-factor-status.meta");
|
|
6
|
+
/**
|
|
7
|
+
* TwoFactorStatus Entity Descriptor
|
|
8
|
+
*
|
|
9
|
+
* Used for serializing 2FA status response to JSON:API format.
|
|
10
|
+
*/
|
|
11
|
+
exports.TwoFactorStatusDescriptor = (0, common_1.defineEntity)()({
|
|
12
|
+
...two_factor_status_meta_1.twoFactorStatusMeta,
|
|
13
|
+
isCompanyScoped: false,
|
|
14
|
+
fields: {
|
|
15
|
+
isEnabled: { type: "boolean", required: true },
|
|
16
|
+
preferredMethod: { type: "string", required: true },
|
|
17
|
+
methods: { type: "json", required: true },
|
|
18
|
+
backupCodesCount: { type: "number", required: true },
|
|
19
|
+
},
|
|
20
|
+
relationships: {},
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=two-factor-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-status.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,qEAA+D;AAmB/D;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,IAAA,qBAAY,GAAmB,CAAC;IACvE,GAAG,4CAAmB;IAEtB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC9C,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACnD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;QACzC,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KACrD;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-status.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,mBAAmB,EAAE,QAKjC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.twoFactorStatusMeta = void 0;
|
|
4
|
+
exports.twoFactorStatusMeta = {
|
|
5
|
+
type: "two-factor-status",
|
|
6
|
+
endpoint: "two-factor-status",
|
|
7
|
+
nodeName: "twofactorstatus",
|
|
8
|
+
labelName: "TwoFactorStatus",
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=two-factor-status.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-status.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAa;IAC3C,IAAI,EAAE,mBAAmB;IACzB,QAAQ,EAAE,mBAAmB;IAC7B,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,iBAAiB;CAC7B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Entity } from "../../../common";
|
|
2
|
+
/**
|
|
3
|
+
* TwoFactorVerification Entity Type
|
|
4
|
+
*
|
|
5
|
+
* Transient response type for 2FA verification results.
|
|
6
|
+
* Not stored in database - used only for JSON:API serialization.
|
|
7
|
+
*/
|
|
8
|
+
export type TwoFactorVerification = Entity & {
|
|
9
|
+
success: boolean;
|
|
10
|
+
userId?: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* TwoFactorVerification Entity Descriptor
|
|
14
|
+
*
|
|
15
|
+
* Used for serializing 2FA verification response to JSON:API format.
|
|
16
|
+
*/
|
|
17
|
+
export declare const TwoFactorVerificationDescriptor: import("../../../common").EntityDescriptor<TwoFactorVerification, {}>;
|
|
18
|
+
export type TwoFactorVerificationDescriptorType = typeof TwoFactorVerificationDescriptor;
|
|
19
|
+
//# sourceMappingURL=two-factor-verification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-factor-verification.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-verification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,uEAW1C,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,OAAO,+BAA+B,CAAC"}
|