@withwiz/toolkit 0.7.0 → 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-DUIQUAHR.js → chunk-4TGPAUJV.js} +4 -4
- package/dist/{chunk-P4CZVRSG.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-T4643SEW.js → chunk-7KIM5MHV.js} +4 -4
- package/dist/{chunk-TF5RJ5Q2.js → chunk-7S2PCYNT.js} +5 -5
- 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-HKW4JA45.js → chunk-BRBOGLFT.js} +10 -10
- package/dist/{chunk-ZFNIHVVA.js → chunk-BRFW2LL2.js} +5 -5
- package/dist/{chunk-I4NT6G2T.js → chunk-DRTJSTEV.js} +2 -2
- package/dist/{chunk-H5KYXSYZ.js → chunk-DVCGAI5N.js} +2 -12
- package/dist/{chunk-AV7ELXHG.js → chunk-E5TDIRBJ.js} +2 -2
- package/dist/{chunk-Q5ERE4M3.js → chunk-HGVPZSWW.js} +18 -13
- package/dist/{chunk-2QVDB6UO.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-UP3VFIVQ.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-UKPMQBU2.js → chunk-N3TCQ5BF.js} +6 -5
- package/dist/{chunk-TMTN7H46.js → chunk-NLV7IEYM.js} +7 -6
- package/dist/{chunk-P2VPYAJZ.js → chunk-NTZBMWB6.js} +6 -6
- package/dist/{chunk-ZVGEGDYF.js → chunk-OII5BXCZ.js} +1 -1
- package/dist/{chunk-2JGSS4RM.js → chunk-PRPMEHRE.js} +2 -2
- package/dist/{chunk-KG65BFPK.js → chunk-QAIN3WNN.js} +1 -1
- package/dist/{chunk-2MYD2BFJ.js → chunk-R7EFDSPZ.js} +7 -7
- package/dist/{chunk-VJE4HA2C.js → chunk-RWCPRPEP.js} +3 -2
- package/dist/{chunk-4YDBQZ5M.js → chunk-SCAFDDJP.js} +14 -14
- package/dist/{chunk-KXYDTC4A.js → chunk-SNFPZD6L.js} +11 -2
- package/dist/{chunk-BL6QHL5L.js → chunk-SXBDP3CK.js} +3 -3
- package/dist/{chunk-B5VRZ2VJ.js → chunk-TNDEYJEL.js} +25 -6
- package/dist/{chunk-Q4XDPK5B.js → chunk-TRGFXIEF.js} +3 -3
- package/dist/{chunk-VNDL2E44.js → chunk-U52U5SK7.js} +2 -2
- package/dist/{chunk-3KYSGBVF.js → chunk-UWOWKOOQ.js} +5 -3
- package/dist/{chunk-TQ3XHHZK.js → chunk-V3WZFUY3.js} +9 -9
- package/dist/{chunk-5BBVV2EX.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-AWIORJAI.js → chunk-XF3WUF3F.js} +2 -2
- package/dist/{chunk-M5ZYAQBB.js → chunk-XKIBJJA3.js} +28 -24
- package/dist/{chunk-ZLYBY3R4.js → chunk-XTGS6JJB.js} +10 -5
- package/dist/{chunk-KCDJIW2F.js → chunk-XXPB4C37.js} +5 -5
- package/dist/{chunk-LUIYCIF7.js → chunk-Y4ME3Q5K.js} +2 -2
- package/dist/{chunk-Q66VOVGN.js → chunk-Y4WPEIKW.js} +1 -1
- package/dist/{chunk-TUA5XW5Z.js → chunk-Y6CPPBJI.js} +1 -1
- package/dist/{chunk-PRWWB4QY.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 +24 -16
- 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 +5 -5
- 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 +4 -4
- 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 +5 -5
- 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 +4 -4
- package/dist/core/cache/cache-factory.d.ts +6 -6
- package/dist/core/cache/cache-factory.js +12 -12
- package/dist/core/cache/cache-invalidation.d.ts +4 -4
- package/dist/core/cache/cache-invalidation.js +13 -13
- package/dist/core/cache/cache-redis.js +6 -6
- 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 +13 -13
- package/dist/core/cache/cache.d.ts +2 -2
- package/dist/core/cache/cache.js +25 -25
- package/dist/core/cache/config.js +3 -3
- package/dist/core/cache/hybrid-cache-manager.d.ts +1 -1
- package/dist/core/cache/hybrid-cache-manager.js +8 -8
- package/dist/core/cache/index.d.ts +15 -15
- package/dist/core/cache/index.js +25 -25
- 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 +6 -6
- package/dist/core/cache/redis-cache-manager.d.ts +2 -2
- package/dist/core/cache/redis-cache-manager.js +7 -7
- 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 +17 -15
- 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 +7 -7
- 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 +2 -2
- 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 +8 -8
- package/dist/core/system/health-check.d.ts +2 -2
- package/dist/core/system/health-check.js +6 -6
- package/dist/core/system/index.d.ts +7 -7
- package/dist/core/system/index.js +16 -16
- 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 +9 -9
- 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 +28 -27
- 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 +4 -4
- package/dist/next/auth-handlers/oauth-callback.handler.d.ts +1 -1
- package/dist/next/auth-handlers/oauth-callback.handler.js +9 -9
- 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 +5 -5
- package/dist/next/error/index.d.ts +3 -3
- package/dist/next/error/index.js +9 -9
- 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 +10 -9
- 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 +9 -9
- package/dist/next/middleware/index.d.ts +11 -11
- package/dist/next/middleware/index.js +23 -22
- 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 +4 -4
- 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 +21 -20
- 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.d.ts +11 -0
- package/dist/next/utils/csv-export-format.js +15 -0
- package/dist/next/utils/csv-export.d.ts +0 -2
- 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 +4 -4
- package/dist/next/utils/index.d.ts +5 -5
- package/dist/next/utils/index.js +21 -20
- package/dist/prisma/auth-adapter/index.d.ts +1 -1
- package/dist/prisma/auth-adapter/index.js +1 -1
- package/package.json +95 -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-C6WH7RF5.js +0 -117
- package/dist/chunk-EK4TL7VW.js +0 -22
- 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-NIWVKN6A.js +0 -81
- package/dist/chunk-OO2XOASJ.js +0 -240
- 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/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-V3GEYUBG.js → chunk-ER6LSA4M.js} +3 -3
- package/dist/{chunk-7WG7XPXC.js → chunk-KKZCNF6U.js} +3 -3
- /package/dist/{chunk-M22Z2NO6.js → core/auth/services/refresh-token-store.js} +0 -0
package/dist/core/config/warn.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* 범용 상수 모듈
|
|
5
5
|
* 프로젝트 독립적인 상수들을 제공합니다.
|
|
6
6
|
*/
|
|
7
|
-
export * from '
|
|
8
|
-
export * from '
|
|
9
|
-
export * from '
|
|
10
|
-
export * from '
|
|
11
|
-
export * from '
|
|
7
|
+
export * from '@withwiz/toolkit/core/constants/error-codes';
|
|
8
|
+
export * from '@withwiz/toolkit/core/constants/pagination';
|
|
9
|
+
export * from '@withwiz/toolkit/core/constants/security';
|
|
10
|
+
export * from '@withwiz/toolkit/core/constants/validation';
|
|
11
|
+
export * from '@withwiz/toolkit/core/constants/messages';
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GENERIC_CONFIRM_MESSAGES,
|
|
3
|
+
GENERIC_ERROR_MESSAGES,
|
|
4
|
+
GENERIC_INFO_MESSAGES,
|
|
5
|
+
GENERIC_SUCCESS_MESSAGES
|
|
6
|
+
} from "../../chunk-THUQVCTI.js";
|
|
7
|
+
import {
|
|
8
|
+
DATE_RANGE,
|
|
9
|
+
FILTER_OPTIONS,
|
|
10
|
+
PAGE_SIZES,
|
|
11
|
+
PAGINATION,
|
|
12
|
+
SORT_OPTIONS
|
|
13
|
+
} from "../../chunk-TN75NAPU.js";
|
|
1
14
|
import {
|
|
2
15
|
DATE,
|
|
3
16
|
FILE_UPLOAD,
|
|
@@ -21,19 +34,6 @@ import {
|
|
|
21
34
|
getHttpStatus,
|
|
22
35
|
getLogLevel
|
|
23
36
|
} from "../../chunk-XQIAXMRY.js";
|
|
24
|
-
import {
|
|
25
|
-
GENERIC_CONFIRM_MESSAGES,
|
|
26
|
-
GENERIC_ERROR_MESSAGES,
|
|
27
|
-
GENERIC_INFO_MESSAGES,
|
|
28
|
-
GENERIC_SUCCESS_MESSAGES
|
|
29
|
-
} from "../../chunk-THUQVCTI.js";
|
|
30
|
-
import {
|
|
31
|
-
DATE_RANGE,
|
|
32
|
-
FILTER_OPTIONS,
|
|
33
|
-
PAGE_SIZES,
|
|
34
|
-
PAGINATION,
|
|
35
|
-
SORT_OPTIONS
|
|
36
|
-
} from "../../chunk-TN75NAPU.js";
|
|
37
37
|
import {
|
|
38
38
|
CSRF,
|
|
39
39
|
EMAIL_VERIFICATION,
|
|
@@ -41,10 +41,11 @@ import {
|
|
|
41
41
|
MAGIC_LINK,
|
|
42
42
|
OAUTH,
|
|
43
43
|
PASSWORD_RESET,
|
|
44
|
+
ROLE_DEFAULTS,
|
|
44
45
|
SECURITY_HEADERS,
|
|
45
46
|
SESSION
|
|
46
|
-
} from "../../chunk-
|
|
47
|
-
import "../../chunk-
|
|
47
|
+
} from "../../chunk-7YWUKMZD.js";
|
|
48
|
+
import "../../chunk-N3ETBM74.js";
|
|
48
49
|
export {
|
|
49
50
|
CSRF,
|
|
50
51
|
DATE,
|
|
@@ -66,6 +67,7 @@ export {
|
|
|
66
67
|
PAGINATION,
|
|
67
68
|
PASSWORD,
|
|
68
69
|
PASSWORD_RESET,
|
|
70
|
+
ROLE_DEFAULTS,
|
|
69
71
|
SECURITY_HEADERS,
|
|
70
72
|
SESSION,
|
|
71
73
|
SORT_OPTIONS,
|
|
@@ -12,6 +12,21 @@ export declare const JWT_DEFAULTS: {
|
|
|
12
12
|
/** 토큰 타입 */
|
|
13
13
|
readonly TOKEN_TYPE: "Bearer";
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* 역할 관련 기본값의 단일 소스.
|
|
17
|
+
*
|
|
18
|
+
* toolkit 은 고정 role 어휘를 **소유하지 않는다** — 이 값들은 소비자가 role 을
|
|
19
|
+
* 명시하지 않았을 때의 *기본값*일 뿐이다. 자체 어휘(`PATIENT`/`DOCTOR` 등)를
|
|
20
|
+
* 쓰는 소비자는 항상 role 을 세팅하므로 `DEFAULT_ROLE` 은 발화하지 않으며,
|
|
21
|
+
* `adminMiddleware`/`requireAdmin` 대신 `createRoleMiddleware(MyRole.ADMIN)` 처럼
|
|
22
|
+
* 자체 역할을 직접 넘기면 된다.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ROLE_DEFAULTS: {
|
|
25
|
+
/** role 미지정/누락 시 적용되는 기본 역할. */
|
|
26
|
+
readonly DEFAULT_ROLE: "USER";
|
|
27
|
+
/** `adminMiddleware`·`requireAdmin` 의 기본 관리자 역할 이름. */
|
|
28
|
+
readonly ADMIN_ROLE: "ADMIN";
|
|
29
|
+
};
|
|
15
30
|
export declare const EMAIL_VERIFICATION: {
|
|
16
31
|
/** 토큰 만료 시간 (시간 단위) */
|
|
17
32
|
readonly TOKEN_EXPIRES_HOURS: 24;
|
|
@@ -5,10 +5,11 @@ import {
|
|
|
5
5
|
MAGIC_LINK,
|
|
6
6
|
OAUTH,
|
|
7
7
|
PASSWORD_RESET,
|
|
8
|
+
ROLE_DEFAULTS,
|
|
8
9
|
SECURITY_HEADERS,
|
|
9
10
|
SESSION
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-7YWUKMZD.js";
|
|
12
|
+
import "../../chunk-N3ETBM74.js";
|
|
12
13
|
export {
|
|
13
14
|
CSRF,
|
|
14
15
|
EMAIL_VERIFICATION,
|
|
@@ -16,6 +17,7 @@ export {
|
|
|
16
17
|
MAGIC_LINK,
|
|
17
18
|
OAUTH,
|
|
18
19
|
PASSWORD_RESET,
|
|
20
|
+
ROLE_DEFAULTS,
|
|
19
21
|
SECURITY_HEADERS,
|
|
20
22
|
SESSION
|
|
21
23
|
};
|
package/dist/core/cors/index.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*
|
|
8
8
|
* 사용자 친화적 메시지 제공 (에러 코드는 별도 필드로 제공)
|
|
9
9
|
*/
|
|
10
|
-
import { getErrorCategory } from "@withwiz/core/constants/error-codes";
|
|
11
|
-
import type { ErrorCodeKey, IErrorCodeInfo } from "@withwiz/core/constants/error-codes";
|
|
10
|
+
import { getErrorCategory } from "@withwiz/toolkit/core/constants/error-codes";
|
|
11
|
+
import type { ErrorCodeKey, IErrorCodeInfo } from "@withwiz/toolkit/core/constants/error-codes";
|
|
12
12
|
/**
|
|
13
13
|
* 에러 상세 정보 인터페이스
|
|
14
14
|
*/
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* 이 파일은 기존 friendly-messages.ts를 대체하며,
|
|
6
6
|
* messages/ 폴더의 다중 언어 시스템을 활용합니다.
|
|
7
7
|
*/
|
|
8
|
-
import { type IErrorMessage, type TLocale } from '
|
|
8
|
+
import { type IErrorMessage, type TLocale } from '@withwiz/toolkit/core/error/messages';
|
|
9
9
|
/**
|
|
10
|
-
* @deprecated Use IErrorMessage from '
|
|
10
|
+
* @deprecated Use IErrorMessage from '@withwiz/toolkit/core/error/messages' instead
|
|
11
11
|
*/
|
|
12
12
|
export interface IFriendlyMessage extends IErrorMessage {
|
|
13
13
|
}
|
|
@@ -43,4 +43,4 @@ export declare function getErrorDisplayInfo(code: number, locale?: TLocale): IEr
|
|
|
43
43
|
* @returns 포맷된 에러 메시지
|
|
44
44
|
*/
|
|
45
45
|
export declare function formatFriendlyError(code: number, locale?: TLocale): string;
|
|
46
|
-
export type { IErrorMessage, TLocale } from '
|
|
46
|
+
export type { IErrorMessage, TLocale } from '@withwiz/toolkit/core/error/messages';
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
formatFriendlyError,
|
|
3
3
|
getErrorDisplayInfo,
|
|
4
4
|
getFriendlyMessage
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-AMZWDLJ4.js";
|
|
5
|
+
} from "../../chunk-VWAB4PM7.js";
|
|
6
|
+
import "../../chunk-KKZCNF6U.js";
|
|
8
7
|
import "../../chunk-VUYS3SU7.js";
|
|
8
|
+
import "../../chunk-AMZWDLJ4.js";
|
|
9
9
|
import "../../chunk-XQIAXMRY.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-N3ETBM74.js";
|
|
11
11
|
export {
|
|
12
12
|
formatFriendlyError,
|
|
13
13
|
getErrorDisplayInfo,
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* 프레임워크 독립적인 에러 클래스/코드/메시지.
|
|
5
5
|
* Next.js 의존 항목은 @withwiz/toolkit/next/error,
|
|
6
|
-
* React 의존 항목은 @withwiz/
|
|
6
|
+
* React 의존 항목은 @withwiz/ui/react/error 참조.
|
|
7
7
|
*/
|
|
8
|
-
export * from "@withwiz/core/constants/error-codes";
|
|
9
|
-
export * from "
|
|
10
|
-
export * from "
|
|
11
|
-
export * from "
|
|
12
|
-
export { getFriendlyMessage, getErrorDisplayInfo, formatFriendlyError, type IFriendlyMessage, type IErrorDisplay, } from "
|
|
8
|
+
export * from "@withwiz/toolkit/core/constants/error-codes";
|
|
9
|
+
export * from "@withwiz/toolkit/core/error/messages";
|
|
10
|
+
export * from "@withwiz/toolkit/core/error/app-error";
|
|
11
|
+
export * from "@withwiz/toolkit/core/error/extract-error-info";
|
|
12
|
+
export { getFriendlyMessage, getErrorDisplayInfo, formatFriendlyError, type IFriendlyMessage, type IErrorDisplay, } from "@withwiz/toolkit/core/error/friendly-messages-v2";
|
package/dist/core/error/index.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AppError
|
|
3
|
-
} from "../../chunk-ATAQRXTH.js";
|
|
4
1
|
import {
|
|
5
2
|
extractErrorInfo
|
|
6
3
|
} from "../../chunk-6HQ5JHL4.js";
|
|
@@ -8,16 +5,19 @@ import {
|
|
|
8
5
|
formatFriendlyError,
|
|
9
6
|
getErrorDisplayInfo,
|
|
10
7
|
getFriendlyMessage
|
|
11
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-VWAB4PM7.js";
|
|
12
9
|
import {
|
|
13
10
|
getAllMessages,
|
|
14
11
|
getErrorMessage,
|
|
15
12
|
hasMessage,
|
|
16
13
|
isLocaleSupported,
|
|
17
14
|
supportedLocales
|
|
18
|
-
} from "../../chunk-
|
|
19
|
-
import "../../chunk-AMZWDLJ4.js";
|
|
15
|
+
} from "../../chunk-KKZCNF6U.js";
|
|
20
16
|
import "../../chunk-VUYS3SU7.js";
|
|
17
|
+
import "../../chunk-AMZWDLJ4.js";
|
|
18
|
+
import {
|
|
19
|
+
AppError
|
|
20
|
+
} from "../../chunk-ATAQRXTH.js";
|
|
21
21
|
import {
|
|
22
22
|
ERROR_CODES,
|
|
23
23
|
HTTP_STATUS,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
getHttpStatus,
|
|
33
33
|
getLogLevel
|
|
34
34
|
} from "../../chunk-XQIAXMRY.js";
|
|
35
|
-
import "../../chunk-
|
|
35
|
+
import "../../chunk-N3ETBM74.js";
|
|
36
36
|
export {
|
|
37
37
|
AppError,
|
|
38
38
|
ERROR_CODES,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 메시지 레지스트리
|
|
3
3
|
* 에러 코드에 대한 다중 언어 메시지 제공
|
|
4
4
|
*/
|
|
5
|
-
import type { IErrorMessage, TLocale, TErrorMessages } from '
|
|
5
|
+
import type { IErrorMessage, TLocale, TErrorMessages } from '@withwiz/toolkit/core/error/messages/types';
|
|
6
6
|
/**
|
|
7
7
|
* 에러 코드에 해당하는 메시지 가져오기
|
|
8
8
|
*
|
|
@@ -37,4 +37,4 @@ export declare const supportedLocales: TLocale[];
|
|
|
37
37
|
* @returns 지원 여부
|
|
38
38
|
*/
|
|
39
39
|
export declare function isLocaleSupported(locale: string): locale is TLocale;
|
|
40
|
-
export type { IErrorMessage, TLocale, TErrorMessages, IDefaultMessages } from '
|
|
40
|
+
export type { IErrorMessage, TLocale, TErrorMessages, IDefaultMessages } from '@withwiz/toolkit/core/error/messages/types';
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
hasMessage,
|
|
5
5
|
isLocaleSupported,
|
|
6
6
|
supportedLocales
|
|
7
|
-
} from "../../../chunk-
|
|
8
|
-
import "../../../chunk-AMZWDLJ4.js";
|
|
7
|
+
} from "../../../chunk-KKZCNF6U.js";
|
|
9
8
|
import "../../../chunk-VUYS3SU7.js";
|
|
10
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-AMZWDLJ4.js";
|
|
10
|
+
import "../../../chunk-N3ETBM74.js";
|
|
11
11
|
export {
|
|
12
12
|
getAllMessages,
|
|
13
13
|
getErrorMessage,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BatchProcessor,
|
|
3
3
|
createBatchProcessor
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-VZ2PQA4U.js";
|
|
5
|
+
import "../../chunk-QAIN3WNN.js";
|
|
6
6
|
import "../../chunk-IKZB26SK.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
|
BatchProcessor,
|
|
12
12
|
createBatchProcessor
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* 프로젝트 독립적인 GeoIP 유틸리티
|
|
5
5
|
* - 순수 Provider 구현
|
|
6
6
|
* - 범용 배치 처리기
|
|
7
|
-
* - IP 유틸리티는 @withwiz/core/utils/ip-utils 에서 import
|
|
7
|
+
* - IP 유틸리티는 @withwiz/toolkit/core/utils/ip-utils 에서 import
|
|
8
8
|
*
|
|
9
9
|
* 프로젝트 종속적인 서비스는 <your-project>/services/geoip 를 사용하세요.
|
|
10
10
|
*/
|
|
11
|
-
export { BaseGeoIPProvider, truncateString, IPApiProvider, IPApiCoProvider, IPGeolocationProvider, MaxMindProvider, GeoIPProviderFactory, } from '
|
|
12
|
-
export { BatchProcessor, createBatchProcessor } from '
|
|
13
|
-
export type { IGeoIPConfig, IGeoIPService, IGeoIPProvider, IGeoIPApiResponse, IBatchProcessorConfig, IBatchProcessResult, IGeographyAnalytics, IGeoIPStats, IGeoIPError, IGeoIPCacheEntry, IGeoIPPreset, } from '@withwiz/core/types/geoip';
|
|
14
|
-
export type { IGeoLocationData, IGeoIPResponse, IDatabaseService, ICacheService, } from '@withwiz/core/types/database';
|
|
11
|
+
export { BaseGeoIPProvider, truncateString, IPApiProvider, IPApiCoProvider, IPGeolocationProvider, MaxMindProvider, GeoIPProviderFactory, } from '@withwiz/toolkit/core/geolocation/providers';
|
|
12
|
+
export { BatchProcessor, createBatchProcessor } from '@withwiz/toolkit/core/geolocation/batch-processor';
|
|
13
|
+
export type { IGeoIPConfig, IGeoIPService, IGeoIPProvider, IGeoIPApiResponse, IBatchProcessorConfig, IBatchProcessResult, IGeographyAnalytics, IGeoIPStats, IGeoIPError, IGeoIPCacheEntry, IGeoIPPreset, } from '@withwiz/toolkit/core/types/geoip';
|
|
14
|
+
export type { IGeoLocationData, IGeoIPResponse, IDatabaseService, ICacheService, } from '@withwiz/toolkit/core/types/database';
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
BatchProcessor,
|
|
22
22
|
createBatchProcessor
|
|
23
|
-
} from "../../chunk-
|
|
24
|
-
import "../../chunk-KG65BFPK.js";
|
|
23
|
+
} from "../../chunk-VZ2PQA4U.js";
|
|
25
24
|
import "../../chunk-CRJUFA73.js";
|
|
25
|
+
import "../../chunk-QAIN3WNN.js";
|
|
26
26
|
import "../../chunk-IKZB26SK.js";
|
|
27
27
|
import "../../chunk-6J2EJVND.js";
|
|
28
28
|
import "../../chunk-F3R3UYBF.js";
|
|
29
|
-
import "../../chunk-
|
|
29
|
+
import "../../chunk-N3ETBM74.js";
|
|
30
30
|
export {
|
|
31
31
|
BaseGeoIPProvider,
|
|
32
32
|
BatchProcessor,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* - 외부 의존성 없음 (Prisma, CacheKeys 등)
|
|
6
6
|
* - 순수 HTTP 클라이언트
|
|
7
7
|
*/
|
|
8
|
-
import type { IGeoIPProvider, IGeoIPApiResponse } from '@withwiz/core/types/geoip';
|
|
9
|
-
import type { IGeoLocationData } from '@withwiz/core/types/database';
|
|
8
|
+
import type { IGeoIPProvider, IGeoIPApiResponse } from '@withwiz/toolkit/core/types/geoip';
|
|
9
|
+
import type { IGeoLocationData } from '@withwiz/toolkit/core/types/database';
|
|
10
10
|
/**
|
|
11
11
|
* 문자열 길이를 제한하는 유틸리티 함수
|
|
12
12
|
*/
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* - 순수 HTTP 클라이언트
|
|
6
6
|
* - 외부 의존성 없음
|
|
7
7
|
*/
|
|
8
|
-
import type { IGeoIPProvider } from '@withwiz/core/types/geoip';
|
|
9
|
-
export { BaseGeoIPProvider, truncateString } from '
|
|
10
|
-
export { IPApiProvider } from '
|
|
11
|
-
export { IPApiCoProvider } from '
|
|
12
|
-
export { IPGeolocationProvider } from '
|
|
13
|
-
export { MaxMindProvider } from '
|
|
8
|
+
import type { IGeoIPProvider } from '@withwiz/toolkit/core/types/geoip';
|
|
9
|
+
export { BaseGeoIPProvider, truncateString } from '@withwiz/toolkit/core/geolocation/providers/base-provider';
|
|
10
|
+
export { IPApiProvider } from '@withwiz/toolkit/core/geolocation/providers/ip-api-provider';
|
|
11
|
+
export { IPApiCoProvider } from '@withwiz/toolkit/core/geolocation/providers/ipapi-co-provider';
|
|
12
|
+
export { IPGeolocationProvider } from '@withwiz/toolkit/core/geolocation/providers/ipgeolocation-provider';
|
|
13
|
+
export { MaxMindProvider } from '@withwiz/toolkit/core/geolocation/providers/maxmind-provider';
|
|
14
14
|
/**
|
|
15
15
|
* GeoIP 제공자 팩토리
|
|
16
16
|
* 제공자들을 관리하고 적절한 제공자를 선택
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import "../../../chunk-CRJUFA73.js";
|
|
21
21
|
import "../../../chunk-6J2EJVND.js";
|
|
22
22
|
import "../../../chunk-F3R3UYBF.js";
|
|
23
|
-
import "../../../chunk-
|
|
23
|
+
import "../../../chunk-N3ETBM74.js";
|
|
24
24
|
export {
|
|
25
25
|
BaseGeoIPProvider,
|
|
26
26
|
GeoIPProviderFactory,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* - 프로젝트 독립적
|
|
6
6
|
* - HTTP 전용 (무료 플랜)
|
|
7
7
|
*/
|
|
8
|
-
import type { IGeoIPApiResponse } from '@withwiz/core/types/geoip';
|
|
9
|
-
import type { IGeoLocationData } from '@withwiz/core/types/database';
|
|
10
|
-
import { BaseGeoIPProvider } from '
|
|
8
|
+
import type { IGeoIPApiResponse } from '@withwiz/toolkit/core/types/geoip';
|
|
9
|
+
import type { IGeoLocationData } from '@withwiz/toolkit/core/types/database';
|
|
10
|
+
import { BaseGeoIPProvider } from '@withwiz/toolkit/core/geolocation/providers/base-provider';
|
|
11
11
|
export declare class IPApiProvider extends BaseGeoIPProvider {
|
|
12
12
|
name: string;
|
|
13
13
|
protected rateLimit: number;
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* - 프로젝트 독립적
|
|
6
6
|
* - HTTPS 지원
|
|
7
7
|
*/
|
|
8
|
-
import type { IGeoIPApiResponse } from '@withwiz/core/types/geoip';
|
|
9
|
-
import type { IGeoLocationData } from '@withwiz/core/types/database';
|
|
10
|
-
import { BaseGeoIPProvider } from '
|
|
8
|
+
import type { IGeoIPApiResponse } from '@withwiz/toolkit/core/types/geoip';
|
|
9
|
+
import type { IGeoLocationData } from '@withwiz/toolkit/core/types/database';
|
|
10
|
+
import { BaseGeoIPProvider } from '@withwiz/toolkit/core/geolocation/providers/base-provider';
|
|
11
11
|
export declare class IPApiCoProvider extends BaseGeoIPProvider {
|
|
12
12
|
name: string;
|
|
13
13
|
protected rateLimit: number;
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* - 프로젝트 독립적
|
|
6
6
|
* - API 키 필요
|
|
7
7
|
*/
|
|
8
|
-
import type { IGeoIPApiResponse } from '@withwiz/core/types/geoip';
|
|
9
|
-
import type { IGeoLocationData } from '@withwiz/core/types/database';
|
|
10
|
-
import { BaseGeoIPProvider } from '
|
|
8
|
+
import type { IGeoIPApiResponse } from '@withwiz/toolkit/core/types/geoip';
|
|
9
|
+
import type { IGeoLocationData } from '@withwiz/toolkit/core/types/database';
|
|
10
|
+
import { BaseGeoIPProvider } from '@withwiz/toolkit/core/geolocation/providers/base-provider';
|
|
11
11
|
export declare class IPGeolocationProvider extends BaseGeoIPProvider {
|
|
12
12
|
name: string;
|
|
13
13
|
protected rateLimit: number;
|
|
@@ -5,7 +5,7 @@ import "../../../chunk-CCNZFZW6.js";
|
|
|
5
5
|
import "../../../chunk-CRJUFA73.js";
|
|
6
6
|
import "../../../chunk-6J2EJVND.js";
|
|
7
7
|
import "../../../chunk-F3R3UYBF.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-N3ETBM74.js";
|
|
9
9
|
export {
|
|
10
10
|
IPGeolocationProvider
|
|
11
11
|
};
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* - 프로젝트 독립적
|
|
6
6
|
* - 로컬 데이터베이스 사용 (현재 미구현)
|
|
7
7
|
*/
|
|
8
|
-
import type { IGeoIPApiResponse } from '@withwiz/core/types/geoip';
|
|
9
|
-
import type { IGeoLocationData } from '@withwiz/core/types/database';
|
|
10
|
-
import { BaseGeoIPProvider } from '
|
|
8
|
+
import type { IGeoIPApiResponse } from '@withwiz/toolkit/core/types/geoip';
|
|
9
|
+
import type { IGeoLocationData } from '@withwiz/toolkit/core/types/database';
|
|
10
|
+
import { BaseGeoIPProvider } from '@withwiz/toolkit/core/geolocation/providers/base-provider';
|
|
11
11
|
export declare class MaxMindProvider extends BaseGeoIPProvider {
|
|
12
12
|
name: string;
|
|
13
13
|
protected rateLimit: number;
|
|
@@ -5,7 +5,7 @@ import "../../../chunk-CCNZFZW6.js";
|
|
|
5
5
|
import "../../../chunk-CRJUFA73.js";
|
|
6
6
|
import "../../../chunk-6J2EJVND.js";
|
|
7
7
|
import "../../../chunk-F3R3UYBF.js";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-N3ETBM74.js";
|
|
9
9
|
export {
|
|
10
10
|
MaxMindProvider
|
|
11
11
|
};
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
logError,
|
|
6
6
|
logInfo,
|
|
7
7
|
logger
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-QAIN3WNN.js";
|
|
9
9
|
import "../../chunk-IKZB26SK.js";
|
|
10
10
|
import "../../chunk-6J2EJVND.js";
|
|
11
11
|
import "../../chunk-F3R3UYBF.js";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-N3ETBM74.js";
|
|
13
13
|
export {
|
|
14
14
|
logApiRequest,
|
|
15
15
|
logApiResponse,
|