@withwiz/toolkit 0.7.1 → 0.8.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/README.ko.md +235 -0
- package/README.md +57 -26
- package/dist/{chunk-V6YD53NH.js → chunk-23LQJYZN.js} +5 -2
- package/dist/{chunk-ZTRASVGZ.js → chunk-34L7HTM7.js} +1 -1
- package/dist/{chunk-GSUCBWML.js → chunk-3RK3MKAR.js} +5 -2
- package/dist/{chunk-6JXHXIEH.js → chunk-3UIKCS56.js} +2 -2
- package/dist/{chunk-MNYVAEXK.js → chunk-4ROIPF33.js} +16 -3
- package/dist/{chunk-JKSABDFT.js → chunk-4TGPAUJV.js} +4 -4
- package/dist/{chunk-D2KXIKI4.js → chunk-4XPXZNBX.js} +18 -11
- package/dist/{chunk-LG3KM5V3.js → chunk-5I3EQHR4.js} +6 -2
- package/dist/chunk-63EKUOJH.js +72 -0
- package/dist/{chunk-N5VOFGF3.js → chunk-75UDFONR.js} +5 -4
- package/dist/{chunk-GORISA3L.js → chunk-7KIM5MHV.js} +1 -1
- package/dist/{chunk-4L6OSSSG.js → chunk-7S2PCYNT.js} +3 -3
- package/dist/{chunk-2SIBG5BG.js → chunk-7YWUKMZD.js} +7 -0
- package/dist/{chunk-7X2N4VZM.js → chunk-ATBYGPLP.js} +1 -1
- package/dist/{chunk-A74POWYY.js → chunk-B7AJJKOY.js} +1 -1
- package/dist/{chunk-W7PEL3DX.js → chunk-BRBOGLFT.js} +4 -4
- package/dist/{chunk-IOUNOHP7.js → chunk-BRFW2LL2.js} +1 -1
- package/dist/{chunk-I4NT6G2T.js → chunk-DRTJSTEV.js} +2 -2
- package/dist/{chunk-JIYLTMVL.js → chunk-DVCGAI5N.js} +2 -2
- package/dist/{chunk-AV7ELXHG.js → chunk-E5TDIRBJ.js} +2 -2
- package/dist/{chunk-UBASOMP5.js → chunk-HGVPZSWW.js} +18 -13
- package/dist/{chunk-7F5X6F7X.js → chunk-HV6A6Z5R.js} +1 -1
- package/dist/chunk-ILMPKSWS.js +125 -0
- package/dist/{chunk-J5NLAZV2.js → chunk-JHUWZ6YW.js} +2 -2
- package/dist/{chunk-LON5THYQ.js → chunk-KLMKCYIN.js} +1 -1
- package/dist/{chunk-4KJZRI74.js → chunk-KWUOLKDO.js} +1 -1
- package/dist/{chunk-GJO2MPC3.js → chunk-LCYDMYZS.js} +1 -1
- package/dist/{chunk-WIQAPWTY.js → chunk-LL3VWKY4.js} +1 -1
- package/dist/{chunk-IMAFMUZ7.js → chunk-LSS3GJUE.js} +3 -2
- package/dist/{chunk-2PFSRVVD.js → chunk-LWHLB2Y6.js} +84 -18
- package/dist/{chunk-BBE4RXR7.js → chunk-MTZXWVW3.js} +17 -6
- package/dist/{chunk-ORMEWXMH.js → chunk-N3ETBM74.js} +1 -14
- package/dist/{chunk-KYAHURXN.js → chunk-N3TCQ5BF.js} +4 -3
- package/dist/{chunk-G4SNTXJ3.js → chunk-NLV7IEYM.js} +7 -6
- package/dist/{chunk-HX4MPCVV.js → chunk-NTZBMWB6.js} +4 -4
- package/dist/{chunk-JRORMRVN.js → chunk-OII5BXCZ.js} +1 -1
- package/dist/{chunk-RJGYONRO.js → chunk-PRPMEHRE.js} +2 -2
- package/dist/{chunk-KG65BFPK.js → chunk-QAIN3WNN.js} +1 -1
- package/dist/{chunk-JJAIVUVD.js → chunk-R7EFDSPZ.js} +2 -2
- package/dist/{chunk-VJE4HA2C.js → chunk-RWCPRPEP.js} +3 -2
- package/dist/{chunk-B6L5XV7O.js → chunk-SCAFDDJP.js} +11 -11
- package/dist/{chunk-KXYDTC4A.js → chunk-SNFPZD6L.js} +11 -2
- package/dist/{chunk-MWBEE6VI.js → chunk-SXBDP3CK.js} +3 -3
- package/dist/{chunk-B5VRZ2VJ.js → chunk-TNDEYJEL.js} +25 -6
- package/dist/{chunk-GDTZMX3L.js → chunk-TRGFXIEF.js} +1 -1
- package/dist/{chunk-VNDL2E44.js → chunk-U52U5SK7.js} +2 -2
- package/dist/{chunk-54REXMTE.js → chunk-UWOWKOOQ.js} +3 -1
- package/dist/{chunk-4PROUAZ5.js → chunk-V3WZFUY3.js} +7 -7
- package/dist/{chunk-G4LJN4OZ.js → chunk-VH57Y5Z4.js} +1 -1
- package/dist/{chunk-5S7M2AJL.js → chunk-VWAB4PM7.js} +1 -1
- package/dist/{chunk-AQZPGOEZ.js → chunk-VWKZMGPJ.js} +5 -4
- package/dist/{chunk-4K27YLAE.js → chunk-VZ2PQA4U.js} +2 -2
- package/dist/{chunk-ZOWEW4GY.js → chunk-WBHX4MJV.js} +2 -2
- package/dist/{chunk-UMRKMF3E.js → chunk-WXOWI7BJ.js} +2 -2
- package/dist/chunk-XAGPZLRK.js +106 -0
- package/dist/{chunk-VPRTPW7C.js → chunk-XF3WUF3F.js} +2 -2
- package/dist/{chunk-6TRD7ZW4.js → chunk-XKIBJJA3.js} +25 -21
- package/dist/{chunk-ZLYBY3R4.js → chunk-XTGS6JJB.js} +10 -5
- package/dist/{chunk-BFZR62LZ.js → chunk-XXPB4C37.js} +7 -7
- package/dist/{chunk-LUIYCIF7.js → chunk-Y4ME3Q5K.js} +2 -2
- package/dist/{chunk-Q66VOVGN.js → chunk-Y4WPEIKW.js} +1 -1
- package/dist/{chunk-MREY2W7N.js → chunk-Y6CPPBJI.js} +1 -1
- package/dist/{chunk-6TUDUOGC.js → chunk-ZEHNCHIV.js} +2 -2
- package/dist/{chunk-D73ZJQMX.js → chunk-ZZABL54F.js} +13 -0
- package/dist/core/auth/config.d.ts +3 -0
- package/dist/core/auth/config.js +3 -3
- package/dist/core/auth/email/index.d.ts +3 -3
- package/dist/core/auth/email/index.js +3 -3
- package/dist/core/auth/email/sender.d.ts +1 -1
- package/dist/core/auth/email/sender.js +2 -2
- package/dist/core/auth/email/token-generator.d.ts +11 -0
- package/dist/core/auth/email/token-generator.js +2 -2
- package/dist/core/auth/errors/index.js +1 -1
- package/dist/core/auth/index.d.ts +11 -11
- package/dist/core/auth/index.js +27 -19
- package/dist/core/auth/jwt/client.js +3 -2
- package/dist/core/auth/jwt/cookie.d.ts +1 -1
- package/dist/core/auth/jwt/cookie.js +4 -4
- package/dist/core/auth/jwt/index.d.ts +41 -9
- package/dist/core/auth/jwt/index.js +6 -6
- package/dist/core/auth/jwt/types.d.ts +1 -1
- package/dist/core/auth/jwt/types.js +1 -1
- package/dist/core/auth/oauth/index.d.ts +6 -6
- package/dist/core/auth/oauth/index.js +8 -8
- package/dist/core/auth/oauth/providers/github.d.ts +1 -1
- package/dist/core/auth/oauth/providers/github.js +1 -1
- package/dist/core/auth/oauth/providers/google.d.ts +1 -1
- package/dist/core/auth/oauth/providers/google.js +1 -1
- package/dist/core/auth/oauth/providers/index.d.ts +5 -5
- package/dist/core/auth/oauth/providers/index.js +7 -7
- package/dist/core/auth/oauth/providers/kakao.d.ts +1 -1
- package/dist/core/auth/oauth/providers/kakao.js +1 -1
- package/dist/core/auth/oauth/providers/meta.d.ts +1 -1
- package/dist/core/auth/oauth/providers/meta.js +1 -1
- package/dist/core/auth/oauth/providers/microsoft.d.ts +1 -1
- package/dist/core/auth/oauth/providers/microsoft.js +1 -1
- package/dist/core/auth/oauth/state-cookie.js +1 -1
- package/dist/core/auth/password/client-helper.d.ts +9 -9
- package/dist/core/auth/password/client-helper.js +5 -3
- package/dist/core/auth/password/hasher.d.ts +83 -0
- package/dist/core/auth/password/hasher.js +14 -0
- package/dist/core/auth/password/index.d.ts +8 -6
- package/dist/core/auth/password/index.js +11 -2
- package/dist/core/auth/services/email-verification.service.d.ts +1 -1
- package/dist/core/auth/services/email-verification.service.js +3 -3
- package/dist/core/auth/services/index.d.ts +13 -12
- package/dist/core/auth/services/index.js +16 -16
- package/dist/core/auth/services/login.service.d.ts +15 -1
- package/dist/core/auth/services/login.service.js +6 -6
- package/dist/core/auth/services/oauth-callback.service.d.ts +7 -1
- package/dist/core/auth/services/oauth-callback.service.js +6 -6
- package/dist/core/auth/services/password-reset.service.d.ts +1 -1
- package/dist/core/auth/services/password-reset.service.js +3 -3
- package/dist/core/auth/services/refresh-token-store.d.ts +39 -0
- package/dist/core/auth/services/register.service.d.ts +1 -1
- package/dist/core/auth/services/register.service.js +3 -3
- package/dist/core/auth/services/token-refresh.service.d.ts +27 -1
- package/dist/core/auth/services/token-refresh.service.js +6 -6
- package/dist/core/auth/token-delivery.d.ts +47 -0
- package/dist/core/auth/token-delivery.js +14 -0
- package/dist/core/auth/types/index.d.ts +38 -4
- package/dist/core/auth/types/index.js +1 -1
- package/dist/core/cache/cache-config.js +4 -4
- package/dist/core/cache/cache-defaults.js +1 -1
- package/dist/core/cache/cache-env.d.ts +3 -3
- package/dist/core/cache/cache-env.js +3 -3
- package/dist/core/cache/cache-factory.d.ts +6 -6
- package/dist/core/cache/cache-factory.js +11 -11
- package/dist/core/cache/cache-invalidation.d.ts +4 -4
- package/dist/core/cache/cache-invalidation.js +12 -12
- package/dist/core/cache/cache-redis.js +5 -5
- package/dist/core/cache/cache-types.js +1 -1
- package/dist/core/cache/cache-wrapper.d.ts +1 -1
- package/dist/core/cache/cache-wrapper.js +12 -12
- package/dist/core/cache/cache.d.ts +2 -2
- package/dist/core/cache/cache.js +17 -17
- package/dist/core/cache/config.js +2 -2
- package/dist/core/cache/hybrid-cache-manager.d.ts +1 -1
- package/dist/core/cache/hybrid-cache-manager.js +7 -7
- package/dist/core/cache/index.d.ts +15 -15
- package/dist/core/cache/index.js +17 -17
- package/dist/core/cache/inmemory-cache-manager.d.ts +1 -1
- package/dist/core/cache/inmemory-cache-manager.js +3 -3
- package/dist/core/cache/noop-cache-manager.d.ts +1 -1
- package/dist/core/cache/noop-cache-manager.js +5 -5
- package/dist/core/cache/redis-cache-manager.d.ts +2 -2
- package/dist/core/cache/redis-cache-manager.js +6 -6
- package/dist/core/config/common.js +1 -1
- package/dist/core/config/errors.js +1 -1
- package/dist/core/config/registry.d.ts +7 -7
- package/dist/core/config/registry.js +1 -1
- package/dist/core/config/warn.js +1 -1
- package/dist/core/constants/error-codes.js +1 -1
- package/dist/core/constants/index.d.ts +5 -5
- package/dist/core/constants/index.js +4 -2
- package/dist/core/constants/messages.js +1 -1
- package/dist/core/constants/pagination.js +1 -1
- package/dist/core/constants/security.d.ts +15 -0
- package/dist/core/constants/security.js +4 -2
- package/dist/core/constants/validation.js +1 -1
- package/dist/core/cors/index.js +1 -1
- package/dist/core/error/app-error.d.ts +2 -2
- package/dist/core/error/app-error.js +1 -1
- package/dist/core/error/extract-error-info.js +1 -1
- package/dist/core/error/friendly-messages-v2.d.ts +3 -3
- package/dist/core/error/friendly-messages-v2.js +4 -4
- package/dist/core/error/friendly-messages.js +1 -1
- package/dist/core/error/index.d.ts +6 -6
- package/dist/core/error/index.js +4 -4
- package/dist/core/error/messages/en.d.ts +1 -1
- package/dist/core/error/messages/en.js +1 -1
- package/dist/core/error/messages/index.d.ts +2 -2
- package/dist/core/error/messages/index.js +3 -3
- package/dist/core/error/messages/ko.d.ts +1 -1
- package/dist/core/error/messages/ko.js +1 -1
- package/dist/core/geolocation/batch-processor.d.ts +1 -1
- package/dist/core/geolocation/batch-processor.js +3 -3
- package/dist/core/geolocation/config.js +1 -1
- package/dist/core/geolocation/index.d.ts +5 -5
- package/dist/core/geolocation/index.js +3 -3
- package/dist/core/geolocation/providers/base-provider.d.ts +2 -2
- package/dist/core/geolocation/providers/base-provider.js +1 -1
- package/dist/core/geolocation/providers/index.d.ts +6 -6
- package/dist/core/geolocation/providers/index.js +1 -1
- package/dist/core/geolocation/providers/ip-api-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/ip-api-provider.js +1 -1
- package/dist/core/geolocation/providers/ipapi-co-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/ipapi-co-provider.js +1 -1
- package/dist/core/geolocation/providers/ipgeolocation-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/ipgeolocation-provider.js +1 -1
- package/dist/core/geolocation/providers/maxmind-provider.d.ts +3 -3
- package/dist/core/geolocation/providers/maxmind-provider.js +1 -1
- package/dist/core/logger/config.js +1 -1
- package/dist/core/logger/logger.js +2 -2
- package/dist/core/storage/config.js +1 -1
- package/dist/core/storage/r2-storage.js +1 -1
- package/dist/core/system/cpu.d.ts +1 -1
- package/dist/core/system/cpu.js +4 -4
- package/dist/core/system/disk.d.ts +1 -1
- package/dist/core/system/disk.js +4 -4
- package/dist/core/system/environment.d.ts +1 -1
- package/dist/core/system/environment.js +7 -7
- package/dist/core/system/health-check.d.ts +2 -2
- package/dist/core/system/health-check.js +5 -5
- package/dist/core/system/index.d.ts +7 -7
- package/dist/core/system/index.js +14 -14
- package/dist/core/system/memory.d.ts +1 -1
- package/dist/core/system/memory.js +4 -4
- package/dist/core/system/network.d.ts +1 -1
- package/dist/core/system/network.js +4 -4
- package/dist/core/system/utils.js +3 -3
- package/dist/core/types/geoip.d.ts +1 -1
- package/dist/core/types/qr-code.js +1 -1
- package/dist/core/utils/error-message-formatter.js +1 -1
- package/dist/core/utils/format-number.js +1 -1
- package/dist/core/utils/index.d.ts +3 -3
- package/dist/core/utils/index.js +2 -2
- package/dist/core/utils/input-validation.js +52 -16
- package/dist/core/utils/ip-utils.js +1 -1
- package/dist/core/utils/optimistic-lock.js +1 -1
- package/dist/core/utils/sanitizer.js +2 -2
- package/dist/core/utils/short-code-generator.js +1 -1
- package/dist/core/utils/timezone.js +121 -14
- package/dist/core/utils/type-guards.js +1 -1
- package/dist/core/utils/url-normalizer.js +1 -1
- package/dist/core/validators/index.d.ts +1 -1
- package/dist/core/validators/index.js +2 -2
- package/dist/core/validators/password-validator.d.ts +3 -3
- package/dist/core/validators/password-validator.js +2 -2
- package/dist/initialize.d.ts +10 -10
- package/dist/initialize.js +8 -8
- package/dist/next/auth-handlers/forgot-password.handler.d.ts +1 -1
- package/dist/next/auth-handlers/forgot-password.handler.js +4 -4
- package/dist/next/auth-handlers/index.d.ts +11 -11
- package/dist/next/auth-handlers/index.js +29 -28
- package/dist/next/auth-handlers/login.handler.d.ts +1 -1
- package/dist/next/auth-handlers/login.handler.js +7 -6
- package/dist/next/auth-handlers/logout.handler.d.ts +1 -1
- package/dist/next/auth-handlers/logout.handler.js +5 -5
- package/dist/next/auth-handlers/me.handler.d.ts +1 -1
- package/dist/next/auth-handlers/me.handler.js +7 -6
- package/dist/next/auth-handlers/oauth-authorize.handler.d.ts +1 -1
- package/dist/next/auth-handlers/oauth-authorize.handler.js +5 -5
- package/dist/next/auth-handlers/oauth-callback.handler.d.ts +1 -1
- package/dist/next/auth-handlers/oauth-callback.handler.js +10 -10
- package/dist/next/auth-handlers/refresh.handler.d.ts +1 -1
- package/dist/next/auth-handlers/refresh.handler.js +8 -7
- package/dist/next/auth-handlers/register.handler.d.ts +1 -1
- package/dist/next/auth-handlers/register.handler.js +4 -4
- package/dist/next/auth-handlers/reset-password.handler.d.ts +1 -1
- package/dist/next/auth-handlers/reset-password.handler.js +4 -4
- package/dist/next/auth-handlers/verify-email.handler.d.ts +1 -1
- package/dist/next/auth-handlers/verify-email.handler.js +4 -4
- package/dist/next/auth-types/handler-types.d.ts +5 -1
- package/dist/next/auth-types/handler-types.js +13 -1
- package/dist/next/auth-types/index.d.ts +1 -1
- package/dist/next/auth-types/index.js +13 -1
- package/dist/next/error/error-handler.js +3 -3
- package/dist/next/error/index.d.ts +3 -3
- package/dist/next/error/index.js +6 -6
- package/dist/next/error/locale-detector.d.ts +1 -1
- package/dist/next/error/locale-detector.js +1 -1
- package/dist/next/middleware/auth.d.ts +3 -3
- package/dist/next/middleware/auth.js +8 -7
- package/dist/next/middleware/cors.d.ts +2 -2
- package/dist/next/middleware/cors.js +3 -3
- package/dist/next/middleware/error-handler.d.ts +1 -1
- package/dist/next/middleware/error-handler.js +6 -6
- package/dist/next/middleware/index.d.ts +11 -11
- package/dist/next/middleware/index.js +18 -17
- package/dist/next/middleware/init-request.d.ts +1 -1
- package/dist/next/middleware/init-request.js +1 -1
- package/dist/next/middleware/middleware-chain.d.ts +1 -1
- package/dist/next/middleware/middleware-chain.js +3 -3
- package/dist/next/middleware/rate-limit.d.ts +2 -2
- package/dist/next/middleware/rate-limit.js +3 -3
- package/dist/next/middleware/response-logger.d.ts +1 -1
- package/dist/next/middleware/response-logger.js +3 -3
- package/dist/next/middleware/security.d.ts +1 -1
- package/dist/next/middleware/security.js +3 -3
- package/dist/next/middleware/types.d.ts +6 -3
- package/dist/next/middleware/wrappers.d.ts +2 -2
- package/dist/next/middleware/wrappers.js +18 -17
- package/dist/next/utils/api-helpers.d.ts +6 -2
- package/dist/next/utils/api-helpers.js +3 -2
- package/dist/next/utils/cors.js +2 -2
- package/dist/next/utils/csv-export-format.js +1 -1
- package/dist/next/utils/csv-export.js +3 -3
- package/dist/next/utils/error-processor.d.ts +1 -1
- package/dist/next/utils/error-processor.js +3 -3
- package/dist/next/utils/index.d.ts +5 -5
- package/dist/next/utils/index.js +16 -15
- package/dist/prisma/auth-adapter/index.d.ts +1 -1
- package/dist/prisma/auth-adapter/index.js +1 -1
- package/package.json +94 -51
- package/dist/chunk-2P4N4OK2.js +0 -150
- package/dist/chunk-4IQWQSEV.js +0 -27
- package/dist/chunk-4K76HG4V.js +0 -34
- package/dist/chunk-7EXSMZ2O.js +0 -29
- package/dist/chunk-7VXRBTRF.js +0 -110
- package/dist/chunk-ARXUKGZI.js +0 -58
- package/dist/chunk-B5OH43PR.js +0 -31
- package/dist/chunk-BW4QO7T6.js +0 -56
- package/dist/chunk-EK4TL7VW.js +0 -22
- package/dist/chunk-ERKJJDY6.js +0 -117
- package/dist/chunk-G4GT4X3J.js +0 -240
- package/dist/chunk-GPOSTBDQ.js +0 -193
- package/dist/chunk-IRUFNC4L.js +0 -26
- package/dist/chunk-J2MAXMIP.js +0 -105
- package/dist/chunk-MFMQO6IS.js +0 -127
- package/dist/chunk-PBQGXOVX.js +0 -31
- package/dist/chunk-STMAKLLG.js +0 -24
- package/dist/chunk-WP233RH2.js +0 -80
- package/dist/chunk-WWOYFWFB.js +0 -137
- package/dist/chunk-X7FGBUA4.js +0 -117
- package/dist/chunk-YSPIFSDI.js +0 -136
- package/dist/chunk-ZCLKRGZ4.js +0 -81
- package/dist/react/components/ui/Alert.d.ts +0 -12
- package/dist/react/components/ui/Alert.js +0 -10
- package/dist/react/components/ui/Badge.d.ts +0 -7
- package/dist/react/components/ui/Badge.js +0 -8
- package/dist/react/components/ui/Button.d.ts +0 -7
- package/dist/react/components/ui/Button.js +0 -8
- package/dist/react/components/ui/DataTable.d.ts +0 -8
- package/dist/react/components/ui/DataTable.js +0 -22
- package/dist/react/components/ui/DomainDisplay.d.ts +0 -12
- package/dist/react/components/ui/DomainDisplay.js +0 -31
- package/dist/react/components/ui/Input.d.ts +0 -5
- package/dist/react/components/ui/Input.js +0 -8
- package/dist/react/components/ui/Label.d.ts +0 -5
- package/dist/react/components/ui/Label.js +0 -8
- package/dist/react/components/ui/Pagination.d.ts +0 -42
- package/dist/react/components/ui/Pagination.js +0 -20
- package/dist/react/components/ui/Select.d.ts +0 -15
- package/dist/react/components/ui/Select.js +0 -27
- package/dist/react/components/ui/Skeleton.d.ts +0 -6
- package/dist/react/components/ui/Skeleton.js +0 -8
- package/dist/react/components/ui/TimezoneDisplay.d.ts +0 -22
- package/dist/react/components/ui/TimezoneDisplay.js +0 -83
- package/dist/react/components/ui/Tooltip.d.ts +0 -21
- package/dist/react/components/ui/Tooltip.js +0 -94
- package/dist/react/components/ui/data-table/DataTable.d.ts +0 -2
- package/dist/react/components/ui/data-table/DataTable.js +0 -22
- package/dist/react/components/ui/data-table/DataTableBody.d.ts +0 -19
- package/dist/react/components/ui/data-table/DataTableBody.js +0 -10
- package/dist/react/components/ui/data-table/DataTableBulkActions.d.ts +0 -17
- package/dist/react/components/ui/data-table/DataTableBulkActions.js +0 -12
- package/dist/react/components/ui/data-table/DataTableFilters.d.ts +0 -15
- package/dist/react/components/ui/data-table/DataTableFilters.js +0 -13
- package/dist/react/components/ui/data-table/DataTablePagination.d.ts +0 -10
- package/dist/react/components/ui/data-table/DataTablePagination.js +0 -11
- package/dist/react/components/ui/data-table/DataTableSearch.d.ts +0 -24
- package/dist/react/components/ui/data-table/DataTableSearch.js +0 -12
- package/dist/react/components/ui/data-table/index.d.ts +0 -13
- package/dist/react/components/ui/data-table/index.js +0 -42
- package/dist/react/components/ui/data-table/types.d.ts +0 -120
- package/dist/react/components/ui/data-table/types.js +0 -9
- package/dist/react/components/ui/loading-bar.d.ts +0 -20
- package/dist/react/components/ui/loading-bar.js +0 -15
- package/dist/react/error/error-display.d.ts +0 -48
- package/dist/react/error/error-display.js +0 -30
- package/dist/react/error/index.d.ts +0 -6
- package/dist/react/error/index.js +0 -30
- package/dist/react/hooks/useDataTable.d.ts +0 -96
- package/dist/react/hooks/useDataTable.js +0 -151
- package/dist/react/hooks/useDebounce.d.ts +0 -7
- package/dist/react/hooks/useDebounce.js +0 -7
- package/dist/react/hooks/useExitIntent.d.ts +0 -35
- package/dist/react/hooks/useExitIntent.js +0 -72
- package/dist/react/hooks/useTimezone.d.ts +0 -19
- package/dist/react/hooks/useTimezone.js +0 -11
- package/dist/react/utils/client-utils.d.ts +0 -3
- package/dist/react/utils/client-utils.js +0 -9
- package/dist/react/utils/qr-code.d.ts +0 -16
- package/dist/react/utils/qr-code.js +0 -215
- package/dist/{chunk-7PEVOMBO.js → chunk-AOWUPAPS.js} +0 -0
- package/dist/{chunk-UQ3Z3ZAF.js → chunk-ER6LSA4M.js} +6 -6
- package/dist/{chunk-7WG7XPXC.js → chunk-KKZCNF6U.js} +3 -3
- /package/dist/{chunk-M22Z2NO6.js → core/auth/services/refresh-token-store.js} +0 -0
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
PasswordValidator,
|
|
4
4
|
defaultPasswordSchema,
|
|
5
5
|
strongPasswordSchema
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-SNFPZD6L.js";
|
|
7
|
+
import "../../chunk-N3ETBM74.js";
|
|
8
8
|
export {
|
|
9
9
|
PasswordStrength,
|
|
10
10
|
PasswordValidator,
|
|
@@ -66,7 +66,7 @@ export declare class PasswordValidator {
|
|
|
66
66
|
/**
|
|
67
67
|
* Zod 스키마 생성
|
|
68
68
|
*/
|
|
69
|
-
static createZodSchema(options?: Partial<IPasswordValidationOptions>): z.
|
|
69
|
+
static createZodSchema(options?: Partial<IPasswordValidationOptions>): z.ZodType<string>;
|
|
70
70
|
/**
|
|
71
71
|
* 비밀번호 확인 검증
|
|
72
72
|
*/
|
|
@@ -79,8 +79,8 @@ export declare class PasswordValidator {
|
|
|
79
79
|
/**
|
|
80
80
|
* 기본 비밀번호 스키마
|
|
81
81
|
*/
|
|
82
|
-
export declare const defaultPasswordSchema: z.
|
|
82
|
+
export declare const defaultPasswordSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
83
83
|
/**
|
|
84
84
|
* 강화된 비밀번호 스키마
|
|
85
85
|
*/
|
|
86
|
-
export declare const strongPasswordSchema: z.
|
|
86
|
+
export declare const strongPasswordSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
PasswordValidator,
|
|
4
4
|
defaultPasswordSchema,
|
|
5
5
|
strongPasswordSchema
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-SNFPZD6L.js";
|
|
7
|
+
import "../../chunk-N3ETBM74.js";
|
|
8
8
|
export {
|
|
9
9
|
PasswordStrength,
|
|
10
10
|
PasswordValidator,
|
package/dist/initialize.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { CommonConfig } from '
|
|
2
|
-
import type { AuthConfig } from '
|
|
3
|
-
import type { LoggerConfig } from '
|
|
4
|
-
import type { CacheConfigInput } from '
|
|
5
|
-
import type { StorageConfig } from '
|
|
6
|
-
import type { GeolocationConfig } from '
|
|
7
|
-
import type { CorsConfig } from '
|
|
8
|
-
import type { ConfigRegistry } from '
|
|
1
|
+
import type { CommonConfig } from '@withwiz/toolkit/core/config/common';
|
|
2
|
+
import type { AuthConfig } from '@withwiz/toolkit/core/auth/config';
|
|
3
|
+
import type { LoggerConfig } from '@withwiz/toolkit/core/logger/config';
|
|
4
|
+
import type { CacheConfigInput } from '@withwiz/toolkit/core/cache/config';
|
|
5
|
+
import type { StorageConfig } from '@withwiz/toolkit/core/storage/config';
|
|
6
|
+
import type { GeolocationConfig } from '@withwiz/toolkit/core/geolocation/config';
|
|
7
|
+
import type { CorsConfig } from '@withwiz/toolkit/core/cors';
|
|
8
|
+
import type { ConfigRegistry } from '@withwiz/toolkit/core/config/registry';
|
|
9
9
|
export interface ToolkitConfig {
|
|
10
10
|
nodeEnv?: CommonConfig['nodeEnv'];
|
|
11
11
|
auth?: AuthConfig;
|
|
@@ -17,5 +17,5 @@ export interface ToolkitConfig {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function initialize(toolkitConfig: ToolkitConfig): ConfigRegistry;
|
|
19
19
|
export type { AuthConfig, LoggerConfig, CacheConfigInput as CacheConfig, StorageConfig, GeolocationConfig, CorsConfig, };
|
|
20
|
-
export { config, resetConfig } from '
|
|
21
|
-
export type { ConfigRegistry } from '
|
|
20
|
+
export { config, resetConfig } from '@withwiz/toolkit/core/config/registry';
|
|
21
|
+
export type { ConfigRegistry } from '@withwiz/toolkit/core/config/registry';
|
package/dist/initialize.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
initializeStorage
|
|
3
|
+
} from "./chunk-C5CBJC6V.js";
|
|
4
4
|
import {
|
|
5
5
|
initializeCors
|
|
6
6
|
} from "./chunk-7ZO5UNTJ.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
initializeGeolocation
|
|
9
|
+
} from "./chunk-CRJUFA73.js";
|
|
10
10
|
import {
|
|
11
11
|
config,
|
|
12
12
|
resetConfig
|
|
13
13
|
} from "./chunk-2D3YM34R.js";
|
|
14
14
|
import {
|
|
15
15
|
initializeAuth
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-N3TCQ5BF.js";
|
|
17
|
+
import "./chunk-7YWUKMZD.js";
|
|
18
18
|
import {
|
|
19
19
|
initializeLogger
|
|
20
20
|
} from "./chunk-IKZB26SK.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
} from "./chunk-PX535BHW.js";
|
|
24
24
|
import {
|
|
25
25
|
initializeCache
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7KIM5MHV.js";
|
|
27
27
|
import "./chunk-6J2EJVND.js";
|
|
28
28
|
import "./chunk-F3R3UYBF.js";
|
|
29
29
|
import "./chunk-ERFD6YAW.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-N3ETBM74.js";
|
|
31
31
|
|
|
32
32
|
// src/initialize.ts
|
|
33
33
|
function initialize(toolkitConfig) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createForgotPasswordHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createForgotPasswordHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-KLMKCYIN.js";
|
|
4
|
+
import "../../chunk-75UDFONR.js";
|
|
5
|
+
import "../../chunk-ZZABL54F.js";
|
|
6
6
|
import "../../chunk-GH3U4WRE.js";
|
|
7
7
|
import "../../chunk-5GWGARXI.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-N3ETBM74.js";
|
|
9
9
|
export {
|
|
10
10
|
createForgotPasswordHandler
|
|
11
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export interface AuthRouteHandlers {
|
|
4
4
|
login: (req: NextRequest) => Promise<Response>;
|
|
5
5
|
register: (req: NextRequest) => Promise<Response>;
|
|
@@ -13,13 +13,13 @@ export interface AuthRouteHandlers {
|
|
|
13
13
|
verifyEmail: (req: NextRequest) => Promise<Response>;
|
|
14
14
|
}
|
|
15
15
|
export declare function createAuthHandlers(options: AuthHandlerOptions): AuthRouteHandlers;
|
|
16
|
-
export { createLoginHandler } from '
|
|
17
|
-
export { createRegisterHandler } from '
|
|
18
|
-
export { createLogoutHandler } from '
|
|
19
|
-
export { createRefreshHandler } from '
|
|
20
|
-
export { createMeHandler } from '
|
|
21
|
-
export { createOAuthAuthorizeHandler } from '
|
|
22
|
-
export { createOAuthCallbackHandler } from '
|
|
23
|
-
export { createForgotPasswordHandler } from '
|
|
24
|
-
export { createResetPasswordHandler } from '
|
|
25
|
-
export { createVerifyEmailHandler } from '
|
|
16
|
+
export { createLoginHandler } from '@withwiz/toolkit/next/auth-handlers/login.handler';
|
|
17
|
+
export { createRegisterHandler } from '@withwiz/toolkit/next/auth-handlers/register.handler';
|
|
18
|
+
export { createLogoutHandler } from '@withwiz/toolkit/next/auth-handlers/logout.handler';
|
|
19
|
+
export { createRefreshHandler } from '@withwiz/toolkit/next/auth-handlers/refresh.handler';
|
|
20
|
+
export { createMeHandler } from '@withwiz/toolkit/next/auth-handlers/me.handler';
|
|
21
|
+
export { createOAuthAuthorizeHandler } from '@withwiz/toolkit/next/auth-handlers/oauth-authorize.handler';
|
|
22
|
+
export { createOAuthCallbackHandler } from '@withwiz/toolkit/next/auth-handlers/oauth-callback.handler';
|
|
23
|
+
export { createForgotPasswordHandler } from '@withwiz/toolkit/next/auth-handlers/forgot-password.handler';
|
|
24
|
+
export { createResetPasswordHandler } from '@withwiz/toolkit/next/auth-handlers/reset-password.handler';
|
|
25
|
+
export { createVerifyEmailHandler } from '@withwiz/toolkit/next/auth-handlers/verify-email.handler';
|
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createRegisterHandler
|
|
3
|
-
} from "../../chunk-VJE4HA2C.js";
|
|
4
|
-
import "../../chunk-LUIYCIF7.js";
|
|
5
1
|
import {
|
|
6
2
|
createResetPasswordHandler
|
|
7
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-LSS3GJUE.js";
|
|
8
4
|
import {
|
|
9
5
|
createVerifyEmailHandler
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import {
|
|
13
|
-
createForgotPasswordHandler
|
|
14
|
-
} from "../../chunk-LON5THYQ.js";
|
|
15
|
-
import "../../chunk-N5VOFGF3.js";
|
|
6
|
+
} from "../../chunk-B7AJJKOY.js";
|
|
7
|
+
import "../../chunk-VWKZMGPJ.js";
|
|
16
8
|
import {
|
|
17
9
|
createLoginHandler
|
|
18
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-4XPXZNBX.js";
|
|
19
11
|
import {
|
|
20
12
|
createLogoutHandler
|
|
21
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-LL3VWKY4.js";
|
|
22
14
|
import {
|
|
23
15
|
createMeHandler
|
|
24
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-XTGS6JJB.js";
|
|
25
17
|
import {
|
|
26
18
|
createOAuthAuthorizeHandler
|
|
27
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-OII5BXCZ.js";
|
|
28
20
|
import {
|
|
29
21
|
createOAuthCallbackHandler
|
|
30
|
-
} from "../../chunk-
|
|
31
|
-
import "../../chunk-
|
|
22
|
+
} from "../../chunk-NLV7IEYM.js";
|
|
23
|
+
import "../../chunk-MTZXWVW3.js";
|
|
32
24
|
import {
|
|
33
25
|
createRefreshHandler
|
|
34
|
-
} from "../../chunk-
|
|
35
|
-
import "../../chunk-
|
|
36
|
-
import
|
|
37
|
-
|
|
26
|
+
} from "../../chunk-HGVPZSWW.js";
|
|
27
|
+
import "../../chunk-XAGPZLRK.js";
|
|
28
|
+
import {
|
|
29
|
+
createRegisterHandler
|
|
30
|
+
} from "../../chunk-RWCPRPEP.js";
|
|
31
|
+
import "../../chunk-Y4ME3Q5K.js";
|
|
32
|
+
import {
|
|
33
|
+
createForgotPasswordHandler
|
|
34
|
+
} from "../../chunk-KLMKCYIN.js";
|
|
35
|
+
import "../../chunk-75UDFONR.js";
|
|
36
|
+
import "../../chunk-ER6LSA4M.js";
|
|
38
37
|
import "../../chunk-CDALZTPN.js";
|
|
39
|
-
import "../../chunk-65HVR74O.js";
|
|
40
|
-
import "../../chunk-33RIHX7O.js";
|
|
41
38
|
import "../../chunk-GSSHHVHF.js";
|
|
42
39
|
import "../../chunk-HIZ7USIF.js";
|
|
43
40
|
import "../../chunk-GF3DKZIW.js";
|
|
41
|
+
import "../../chunk-65HVR74O.js";
|
|
42
|
+
import "../../chunk-33RIHX7O.js";
|
|
44
43
|
import "../../chunk-JLRMET4V.js";
|
|
44
|
+
import "../../chunk-LWHLB2Y6.js";
|
|
45
|
+
import "../../chunk-ZZABL54F.js";
|
|
45
46
|
import "../../chunk-GH3U4WRE.js";
|
|
46
|
-
import "../../chunk-2PFSRVVD.js";
|
|
47
|
-
import "../../chunk-RJGYONRO.js";
|
|
48
47
|
import "../../chunk-5GWGARXI.js";
|
|
49
|
-
import "../../chunk-
|
|
50
|
-
import "../../chunk-
|
|
48
|
+
import "../../chunk-63EKUOJH.js";
|
|
49
|
+
import "../../chunk-PRPMEHRE.js";
|
|
50
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
51
|
+
import "../../chunk-7YWUKMZD.js";
|
|
51
52
|
import "../../chunk-6J2EJVND.js";
|
|
52
53
|
import "../../chunk-F3R3UYBF.js";
|
|
53
|
-
import "../../chunk-
|
|
54
|
+
import "../../chunk-N3ETBM74.js";
|
|
54
55
|
|
|
55
56
|
// src/next/auth-handlers/index.ts
|
|
56
57
|
function createAuthHandlers(options) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createLoginHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLoginHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-RJGYONRO.js";
|
|
3
|
+
} from "../../chunk-4XPXZNBX.js";
|
|
4
|
+
import "../../chunk-LWHLB2Y6.js";
|
|
6
5
|
import "../../chunk-5GWGARXI.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-63EKUOJH.js";
|
|
7
|
+
import "../../chunk-PRPMEHRE.js";
|
|
8
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
9
|
+
import "../../chunk-7YWUKMZD.js";
|
|
9
10
|
import "../../chunk-6J2EJVND.js";
|
|
10
11
|
import "../../chunk-F3R3UYBF.js";
|
|
11
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-N3ETBM74.js";
|
|
12
13
|
export {
|
|
13
14
|
createLoginHandler
|
|
14
15
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createLogoutHandler(_options: AuthHandlerOptions): (_request: NextRequest) => Promise<Response>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogoutHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-LL3VWKY4.js";
|
|
4
|
+
import "../../chunk-PRPMEHRE.js";
|
|
5
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
6
|
+
import "../../chunk-7YWUKMZD.js";
|
|
7
7
|
import "../../chunk-6J2EJVND.js";
|
|
8
8
|
import "../../chunk-F3R3UYBF.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-N3ETBM74.js";
|
|
10
10
|
export {
|
|
11
11
|
createLogoutHandler
|
|
12
12
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createMeHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMeHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-RJGYONRO.js";
|
|
3
|
+
} from "../../chunk-XTGS6JJB.js";
|
|
4
|
+
import "../../chunk-LWHLB2Y6.js";
|
|
6
5
|
import "../../chunk-5GWGARXI.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-63EKUOJH.js";
|
|
7
|
+
import "../../chunk-PRPMEHRE.js";
|
|
8
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
9
|
+
import "../../chunk-7YWUKMZD.js";
|
|
9
10
|
import "../../chunk-6J2EJVND.js";
|
|
10
11
|
import "../../chunk-F3R3UYBF.js";
|
|
11
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-N3ETBM74.js";
|
|
12
13
|
export {
|
|
13
14
|
createMeHandler
|
|
14
15
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createOAuthAuthorizeHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOAuthAuthorizeHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-OII5BXCZ.js";
|
|
4
|
+
import "../../chunk-ER6LSA4M.js";
|
|
5
5
|
import "../../chunk-CDALZTPN.js";
|
|
6
|
-
import "../../chunk-65HVR74O.js";
|
|
7
|
-
import "../../chunk-33RIHX7O.js";
|
|
8
6
|
import "../../chunk-GSSHHVHF.js";
|
|
9
7
|
import "../../chunk-HIZ7USIF.js";
|
|
10
8
|
import "../../chunk-GF3DKZIW.js";
|
|
9
|
+
import "../../chunk-65HVR74O.js";
|
|
10
|
+
import "../../chunk-33RIHX7O.js";
|
|
11
11
|
import "../../chunk-JLRMET4V.js";
|
|
12
12
|
import "../../chunk-GH3U4WRE.js";
|
|
13
13
|
import "../../chunk-5GWGARXI.js";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-N3ETBM74.js";
|
|
15
15
|
export {
|
|
16
16
|
createOAuthAuthorizeHandler
|
|
17
17
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createOAuthCallbackHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOAuthCallbackHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-NLV7IEYM.js";
|
|
4
|
+
import "../../chunk-MTZXWVW3.js";
|
|
5
|
+
import "../../chunk-ER6LSA4M.js";
|
|
6
6
|
import "../../chunk-CDALZTPN.js";
|
|
7
|
-
import "../../chunk-65HVR74O.js";
|
|
8
|
-
import "../../chunk-33RIHX7O.js";
|
|
9
7
|
import "../../chunk-GSSHHVHF.js";
|
|
10
8
|
import "../../chunk-HIZ7USIF.js";
|
|
11
9
|
import "../../chunk-GF3DKZIW.js";
|
|
10
|
+
import "../../chunk-65HVR74O.js";
|
|
11
|
+
import "../../chunk-33RIHX7O.js";
|
|
12
12
|
import "../../chunk-JLRMET4V.js";
|
|
13
|
+
import "../../chunk-LWHLB2Y6.js";
|
|
13
14
|
import "../../chunk-GH3U4WRE.js";
|
|
14
|
-
import "../../chunk-2PFSRVVD.js";
|
|
15
|
-
import "../../chunk-RJGYONRO.js";
|
|
16
15
|
import "../../chunk-5GWGARXI.js";
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-PRPMEHRE.js";
|
|
17
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
18
|
+
import "../../chunk-7YWUKMZD.js";
|
|
19
19
|
import "../../chunk-6J2EJVND.js";
|
|
20
20
|
import "../../chunk-F3R3UYBF.js";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-N3ETBM74.js";
|
|
22
22
|
export {
|
|
23
23
|
createOAuthCallbackHandler
|
|
24
24
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createRefreshHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRefreshHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-RJGYONRO.js";
|
|
3
|
+
} from "../../chunk-HGVPZSWW.js";
|
|
4
|
+
import "../../chunk-XAGPZLRK.js";
|
|
5
|
+
import "../../chunk-LWHLB2Y6.js";
|
|
7
6
|
import "../../chunk-5GWGARXI.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-63EKUOJH.js";
|
|
8
|
+
import "../../chunk-PRPMEHRE.js";
|
|
9
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
10
|
+
import "../../chunk-7YWUKMZD.js";
|
|
10
11
|
import "../../chunk-6J2EJVND.js";
|
|
11
12
|
import "../../chunk-F3R3UYBF.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-N3ETBM74.js";
|
|
13
14
|
export {
|
|
14
15
|
createRefreshHandler
|
|
15
16
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createRegisterHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRegisterHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-RWCPRPEP.js";
|
|
4
|
+
import "../../chunk-Y4ME3Q5K.js";
|
|
5
|
+
import "../../chunk-ZZABL54F.js";
|
|
6
6
|
import "../../chunk-GH3U4WRE.js";
|
|
7
7
|
import "../../chunk-5GWGARXI.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-N3ETBM74.js";
|
|
9
9
|
export {
|
|
10
10
|
createRegisterHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createResetPasswordHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createResetPasswordHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-LSS3GJUE.js";
|
|
4
|
+
import "../../chunk-75UDFONR.js";
|
|
5
|
+
import "../../chunk-ZZABL54F.js";
|
|
6
6
|
import "../../chunk-GH3U4WRE.js";
|
|
7
7
|
import "../../chunk-5GWGARXI.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-N3ETBM74.js";
|
|
9
9
|
export {
|
|
10
10
|
createResetPasswordHandler
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { AuthHandlerOptions } from '
|
|
2
|
+
import type { AuthHandlerOptions } from '@withwiz/toolkit/next/auth-types/handler-types';
|
|
3
3
|
export declare function createVerifyEmailHandler(options: AuthHandlerOptions): (request: NextRequest) => Promise<Response>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createVerifyEmailHandler
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-B7AJJKOY.js";
|
|
4
|
+
import "../../chunk-VWKZMGPJ.js";
|
|
5
|
+
import "../../chunk-ZZABL54F.js";
|
|
6
6
|
import "../../chunk-GH3U4WRE.js";
|
|
7
7
|
import "../../chunk-5GWGARXI.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-N3ETBM74.js";
|
|
9
9
|
export {
|
|
10
10
|
createVerifyEmailHandler
|
|
11
11
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { NextRequest } from 'next/server';
|
|
2
|
-
import type { BaseUser, OAuthProviderName, UserRepository, OAuthAccountRepository, EmailTokenRepository, EmailSender, Logger } from '@withwiz/core/auth/types';
|
|
2
|
+
import type { BaseUser, OAuthProviderName, UserRepository, OAuthAccountRepository, EmailTokenRepository, EmailSender, Logger } from '@withwiz/toolkit/core/auth/types';
|
|
3
|
+
import type { TokenDelivery } from '@withwiz/toolkit/core/auth/config';
|
|
3
4
|
export interface AuthHandlerDependencies {
|
|
4
5
|
userRepository: UserRepository;
|
|
5
6
|
oauthAccountRepository: OAuthAccountRepository;
|
|
@@ -61,8 +62,11 @@ export interface AuthHandlerOptions {
|
|
|
61
62
|
sameSite?: 'lax' | 'strict' | 'none';
|
|
62
63
|
domain?: string;
|
|
63
64
|
};
|
|
65
|
+
/** 토큰 전달 모드. 미지정 시 전역 AuthConfig → 'hybrid' 순으로 해석 */
|
|
66
|
+
tokenDelivery?: TokenDelivery;
|
|
64
67
|
}
|
|
65
68
|
export interface AuthHandlerResult {
|
|
66
69
|
GET: (req: NextRequest) => Promise<Response>;
|
|
67
70
|
POST: (req: NextRequest) => Promise<Response>;
|
|
68
71
|
}
|
|
72
|
+
export { resolveTokenDelivery } from '@withwiz/toolkit/core/auth/token-delivery';
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-AOWUPAPS.js";
|
|
2
|
+
import {
|
|
3
|
+
resolveTokenDelivery
|
|
4
|
+
} from "../../chunk-63EKUOJH.js";
|
|
5
|
+
import "../../chunk-PRPMEHRE.js";
|
|
6
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
7
|
+
import "../../chunk-7YWUKMZD.js";
|
|
8
|
+
import "../../chunk-6J2EJVND.js";
|
|
9
|
+
import "../../chunk-F3R3UYBF.js";
|
|
10
|
+
import "../../chunk-N3ETBM74.js";
|
|
11
|
+
export {
|
|
12
|
+
resolveTokenDelivery
|
|
13
|
+
};
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-AOWUPAPS.js";
|
|
2
|
+
import {
|
|
3
|
+
resolveTokenDelivery
|
|
4
|
+
} from "../../chunk-63EKUOJH.js";
|
|
5
|
+
import "../../chunk-PRPMEHRE.js";
|
|
6
|
+
import "../../chunk-N3TCQ5BF.js";
|
|
7
|
+
import "../../chunk-7YWUKMZD.js";
|
|
8
|
+
import "../../chunk-6J2EJVND.js";
|
|
9
|
+
import "../../chunk-F3R3UYBF.js";
|
|
10
|
+
import "../../chunk-N3ETBM74.js";
|
|
11
|
+
export {
|
|
12
|
+
resolveTokenDelivery
|
|
13
|
+
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
error_handler_default,
|
|
6
6
|
processError,
|
|
7
7
|
withErrorHandler
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-R7EFDSPZ.js";
|
|
9
9
|
import "../../chunk-ATAQRXTH.js";
|
|
10
10
|
import "../../chunk-XQIAXMRY.js";
|
|
11
11
|
import "../../chunk-5GWGARXI.js";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-QAIN3WNN.js";
|
|
13
13
|
import "../../chunk-IKZB26SK.js";
|
|
14
14
|
import "../../chunk-6J2EJVND.js";
|
|
15
15
|
import "../../chunk-F3R3UYBF.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-N3ETBM74.js";
|
|
17
17
|
export {
|
|
18
18
|
AUTH_ERROR_CODE_MAP,
|
|
19
19
|
ErrorResponse,
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* NextResponse/NextRequest 변환, ErrorBoundary(next/link), 로케일 감지.
|
|
5
5
|
* 프레임워크 독립 항목은 @withwiz/toolkit/core/error 참조.
|
|
6
6
|
*/
|
|
7
|
-
export * from "
|
|
8
|
-
export { LocaleDetector } from "
|
|
9
|
-
export * from "
|
|
7
|
+
export * from "@withwiz/toolkit/next/error/error-handler";
|
|
8
|
+
export { LocaleDetector } from "@withwiz/toolkit/next/error/locale-detector";
|
|
9
|
+
export * from "@withwiz/toolkit/next/error/ErrorBoundary";
|