@withwiz/toolkit 0.7.1 → 0.9.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 +226 -0
- package/README.md +66 -44
- package/dist/{chunk-V6YD53NH.js → chunk-23LQJYZN.js} +5 -2
- package/dist/chunk-2JUFL4KX.js +41 -0
- 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-MWBEE6VI.js → chunk-4EXZ2SDV.js} +5 -5
- 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-6A5JHOBB.js +134 -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-BTYH4MHU.js +118 -0
- package/dist/{chunk-I4NT6G2T.js → chunk-DRTJSTEV.js} +2 -2
- package/dist/{chunk-JIYLTMVL.js → chunk-DVCGAI5N.js} +2 -2
- package/dist/chunk-E4TKORMQ.js +59 -0
- 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-HX4MPCVV.js → chunk-NTZBMWB6.js} +4 -4
- 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-B5VRZ2VJ.js → chunk-TNDEYJEL.js} +25 -6
- package/dist/{chunk-GDTZMX3L.js → chunk-TRGFXIEF.js} +1 -1
- package/dist/{chunk-JRORMRVN.js → chunk-U2TGXJ3A.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-VQJY52YF.js +139 -0
- 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-G4SNTXJ3.js → chunk-WSHRBK6Y.js} +7 -6
- 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/adapters/sql/dialect.d.ts +21 -0
- package/dist/core/auth/adapters/sql/dialect.js +11 -0
- package/dist/core/auth/adapters/sql/email-token-repository.d.ts +17 -0
- package/dist/core/auth/adapters/sql/email-token-repository.js +9 -0
- package/dist/core/auth/adapters/sql/index.d.ts +7 -0
- package/dist/core/auth/adapters/sql/index.js +27 -0
- package/dist/core/auth/adapters/sql/oauth-account-repository.d.ts +18 -0
- package/dist/core/auth/adapters/sql/oauth-account-repository.js +9 -0
- package/dist/core/auth/adapters/sql/types.d.ts +73 -0
- package/dist/core/auth/adapters/sql/types.js +7 -0
- package/dist/core/auth/adapters/sql/user-repository.d.ts +20 -0
- package/dist/core/auth/adapters/sql/user-repository.js +9 -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 +23 -15
- 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 +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 +10 -8
- 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 +7 -7
- 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 +5 -5
- 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 +17 -17
- 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 +9 -9
- 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 +7 -7
- 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 +32 -31
- 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 +3 -3
- 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 +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 +19 -18
- 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 +28 -27
- package/dist/prisma/auth-adapter/index.d.ts +1 -1
- package/dist/prisma/auth-adapter/index.js +1 -1
- package/package.json +96 -52
- 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-VDRLJU6C.js → chunk-E2HYIONP.js} +3 -3
- package/dist/{chunk-7WG7XPXC.js → chunk-KKZCNF6U.js} +3 -3
- package/dist/{chunk-UQ3Z3ZAF.js → chunk-P7WHMKN5.js} +3 -3
- /package/dist/{chunk-M22Z2NO6.js → core/auth/services/refresh-token-store.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { CacheBackendType } from '@withwiz/core/types/env';
|
|
2
|
-
import { RedisCacheManager } from '
|
|
3
|
-
import { NoopCacheManager } from '
|
|
4
|
-
import { InMemoryCacheManager } from '
|
|
5
|
-
import { HybridCacheManager } from '
|
|
6
|
-
export { isRedisGloballyDisabled, getRedisGlobalStatus } from '
|
|
1
|
+
import type { CacheBackendType } from '@withwiz/toolkit/core/types/env';
|
|
2
|
+
import { RedisCacheManager } from '@withwiz/toolkit/core/cache/redis-cache-manager';
|
|
3
|
+
import { NoopCacheManager } from '@withwiz/toolkit/core/cache/noop-cache-manager';
|
|
4
|
+
import { InMemoryCacheManager } from '@withwiz/toolkit/core/cache/inmemory-cache-manager';
|
|
5
|
+
import { HybridCacheManager } from '@withwiz/toolkit/core/cache/hybrid-cache-manager';
|
|
6
|
+
export { isRedisGloballyDisabled, getRedisGlobalStatus } from '@withwiz/toolkit/core/cache/cache-redis';
|
|
7
7
|
/**
|
|
8
8
|
* 효과적인 캐시 백엔드 결정
|
|
9
9
|
*
|
|
@@ -3,26 +3,26 @@ import {
|
|
|
3
3
|
geoCache,
|
|
4
4
|
getCacheManager,
|
|
5
5
|
getEffectiveCacheBackend
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-SCAFDDJP.js";
|
|
7
|
+
import "../../chunk-XF3WUF3F.js";
|
|
8
|
+
import "../../chunk-4TGPAUJV.js";
|
|
9
|
+
import "../../chunk-XXPB4C37.js";
|
|
10
|
+
import "../../chunk-JHUWZ6YW.js";
|
|
10
11
|
import {
|
|
11
12
|
getRedisGlobalStatus,
|
|
12
13
|
isRedisGloballyDisabled
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-KG65BFPK.js";
|
|
14
|
+
} from "../../chunk-ZEHNCHIV.js";
|
|
15
|
+
import "../../chunk-QAIN3WNN.js";
|
|
16
16
|
import "../../chunk-O4L6RI5S.js";
|
|
17
17
|
import "../../chunk-IKZB26SK.js";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-Y6CPPBJI.js";
|
|
19
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
20
20
|
import "../../chunk-PX535BHW.js";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-7KIM5MHV.js";
|
|
22
22
|
import "../../chunk-6J2EJVND.js";
|
|
23
23
|
import "../../chunk-F3R3UYBF.js";
|
|
24
24
|
import "../../chunk-ERFD6YAW.js";
|
|
25
|
-
import "../../chunk-
|
|
25
|
+
import "../../chunk-N3ETBM74.js";
|
|
26
26
|
export {
|
|
27
27
|
cache,
|
|
28
28
|
geoCache,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RedisCacheManager, HybridCacheManager, InMemoryCacheManager, NoopCacheManager } from "
|
|
1
|
+
import type { RedisCacheManager, HybridCacheManager, InMemoryCacheManager, NoopCacheManager } from "@withwiz/toolkit/core/cache";
|
|
2
2
|
type CacheManager = RedisCacheManager | HybridCacheManager | InMemoryCacheManager | NoopCacheManager;
|
|
3
3
|
/**
|
|
4
4
|
* 범용 캐시 무효화 헬퍼 함수들
|
|
@@ -53,7 +53,7 @@ export declare const invalidateCache: {
|
|
|
53
53
|
* @example
|
|
54
54
|
* ```typescript
|
|
55
55
|
* import { getCacheManager } from '@withwiz/cache';
|
|
56
|
-
* import { deleteFromCache } from '@withwiz/core/cache/cache-invalidation';
|
|
56
|
+
* import { deleteFromCache } from '@withwiz/toolkit/core/cache/cache-invalidation';
|
|
57
57
|
*
|
|
58
58
|
* const myCache = getCacheManager('my-prefix');
|
|
59
59
|
* await deleteFromCache(myCache, 'my-key');
|
|
@@ -66,7 +66,7 @@ export declare function deleteFromCache(cacheManager: CacheManager, key: string)
|
|
|
66
66
|
* @example
|
|
67
67
|
* ```typescript
|
|
68
68
|
* import { getCacheManager } from '@withwiz/cache';
|
|
69
|
-
* import { deletePatternFromCache } from '@withwiz/core/cache/cache-invalidation';
|
|
69
|
+
* import { deletePatternFromCache } from '@withwiz/toolkit/core/cache/cache-invalidation';
|
|
70
70
|
*
|
|
71
71
|
* const myCache = getCacheManager('my-prefix');
|
|
72
72
|
* await deletePatternFromCache(myCache, 'user:*');
|
|
@@ -79,7 +79,7 @@ export declare function deletePatternFromCache(cacheManager: CacheManager, patte
|
|
|
79
79
|
* @example
|
|
80
80
|
* ```typescript
|
|
81
81
|
* import { getCacheManager } from '@withwiz/cache';
|
|
82
|
-
* import { deletePatternFromMultipleCaches } from '@withwiz/core/cache/cache-invalidation';
|
|
82
|
+
* import { deletePatternFromMultipleCaches } from '@withwiz/toolkit/core/cache/cache-invalidation';
|
|
83
83
|
*
|
|
84
84
|
* const cache1 = getCacheManager('prefix1');
|
|
85
85
|
* const cache2 = getCacheManager('prefix2');
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
deletePatternFromCache,
|
|
4
4
|
deletePatternFromMultipleCaches,
|
|
5
5
|
invalidateCache
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-VH57Y5Z4.js";
|
|
7
|
+
import "../../chunk-SCAFDDJP.js";
|
|
8
|
+
import "../../chunk-XF3WUF3F.js";
|
|
9
|
+
import "../../chunk-4TGPAUJV.js";
|
|
10
|
+
import "../../chunk-XXPB4C37.js";
|
|
11
|
+
import "../../chunk-JHUWZ6YW.js";
|
|
12
|
+
import "../../chunk-ZEHNCHIV.js";
|
|
13
|
+
import "../../chunk-QAIN3WNN.js";
|
|
14
14
|
import "../../chunk-O4L6RI5S.js";
|
|
15
15
|
import "../../chunk-IKZB26SK.js";
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-Y6CPPBJI.js";
|
|
17
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
18
18
|
import "../../chunk-PX535BHW.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-7KIM5MHV.js";
|
|
20
20
|
import "../../chunk-6J2EJVND.js";
|
|
21
21
|
import "../../chunk-F3R3UYBF.js";
|
|
22
22
|
import "../../chunk-ERFD6YAW.js";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-N3ETBM74.js";
|
|
24
24
|
export {
|
|
25
25
|
deleteFromCache,
|
|
26
26
|
deletePatternFromCache,
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
logRedisInitialization,
|
|
8
8
|
notifyRedisError,
|
|
9
9
|
resetRedisGlobalState
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-ZEHNCHIV.js";
|
|
11
|
+
import "../../chunk-QAIN3WNN.js";
|
|
12
12
|
import "../../chunk-IKZB26SK.js";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
14
14
|
import "../../chunk-PX535BHW.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-7KIM5MHV.js";
|
|
16
16
|
import "../../chunk-6J2EJVND.js";
|
|
17
17
|
import "../../chunk-F3R3UYBF.js";
|
|
18
18
|
import "../../chunk-ERFD6YAW.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-N3ETBM74.js";
|
|
20
20
|
export {
|
|
21
21
|
checkRedisConnection,
|
|
22
22
|
getRedisClient,
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
cacheMetrics,
|
|
3
3
|
getCacheBackendLabel,
|
|
4
4
|
withCache
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-NTZBMWB6.js";
|
|
6
|
+
import "../../chunk-SCAFDDJP.js";
|
|
7
|
+
import "../../chunk-XF3WUF3F.js";
|
|
8
|
+
import "../../chunk-4TGPAUJV.js";
|
|
9
|
+
import "../../chunk-XXPB4C37.js";
|
|
10
|
+
import "../../chunk-JHUWZ6YW.js";
|
|
11
|
+
import "../../chunk-ZEHNCHIV.js";
|
|
12
|
+
import "../../chunk-QAIN3WNN.js";
|
|
13
13
|
import "../../chunk-O4L6RI5S.js";
|
|
14
14
|
import "../../chunk-IKZB26SK.js";
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-Y6CPPBJI.js";
|
|
16
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
17
17
|
import "../../chunk-PX535BHW.js";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-7KIM5MHV.js";
|
|
19
19
|
import "../../chunk-6J2EJVND.js";
|
|
20
20
|
import "../../chunk-F3R3UYBF.js";
|
|
21
21
|
import "../../chunk-ERFD6YAW.js";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-N3ETBM74.js";
|
|
23
23
|
export {
|
|
24
24
|
cacheMetrics,
|
|
25
25
|
getCacheBackendLabel,
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* // 기존 방식 (계속 동작)
|
|
9
|
-
* import { cache, withCache } from '@withwiz/core/cache/cache';
|
|
9
|
+
* import { cache, withCache } from '@withwiz/toolkit/core/cache/cache';
|
|
10
10
|
*
|
|
11
11
|
* // 신규 권장 방식
|
|
12
12
|
* import { cache, withCache } from '@withwiz/cache';
|
|
13
13
|
*/
|
|
14
|
-
export * from '
|
|
14
|
+
export * from '@withwiz/toolkit/core/cache';
|
package/dist/core/cache/cache.js
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
import "../../chunk-HH4ZKZHD.js";
|
|
2
|
+
import {
|
|
3
|
+
invalidateCache
|
|
4
|
+
} from "../../chunk-VH57Y5Z4.js";
|
|
2
5
|
import {
|
|
3
6
|
cacheMetrics,
|
|
4
7
|
withCache
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import {
|
|
7
|
-
invalidateCache
|
|
8
|
-
} from "../../chunk-G4LJN4OZ.js";
|
|
8
|
+
} from "../../chunk-NTZBMWB6.js";
|
|
9
9
|
import {
|
|
10
10
|
cache,
|
|
11
11
|
geoCache,
|
|
12
12
|
getCacheManager,
|
|
13
13
|
getEffectiveCacheBackend
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-SCAFDDJP.js";
|
|
15
15
|
import {
|
|
16
16
|
NoopCacheManager
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-XF3WUF3F.js";
|
|
18
18
|
import {
|
|
19
19
|
RedisCacheManager
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-4TGPAUJV.js";
|
|
21
21
|
import {
|
|
22
22
|
HybridCacheManager
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-XXPB4C37.js";
|
|
24
|
+
import {
|
|
25
|
+
InMemoryCacheManager
|
|
26
|
+
} from "../../chunk-JHUWZ6YW.js";
|
|
24
27
|
import {
|
|
25
28
|
checkRedisConnection,
|
|
26
29
|
getRedisClient,
|
|
@@ -30,30 +33,27 @@ import {
|
|
|
30
33
|
logRedisInitialization,
|
|
31
34
|
notifyRedisError,
|
|
32
35
|
resetRedisGlobalState
|
|
33
|
-
} from "../../chunk-
|
|
34
|
-
import
|
|
35
|
-
InMemoryCacheManager
|
|
36
|
-
} from "../../chunk-J5NLAZV2.js";
|
|
37
|
-
import "../../chunk-KG65BFPK.js";
|
|
36
|
+
} from "../../chunk-ZEHNCHIV.js";
|
|
37
|
+
import "../../chunk-QAIN3WNN.js";
|
|
38
38
|
import "../../chunk-O4L6RI5S.js";
|
|
39
39
|
import "../../chunk-IKZB26SK.js";
|
|
40
40
|
import {
|
|
41
41
|
getCacheConfig,
|
|
42
42
|
getCacheTTL
|
|
43
|
-
} from "../../chunk-
|
|
43
|
+
} from "../../chunk-Y6CPPBJI.js";
|
|
44
44
|
import {
|
|
45
45
|
getConfig,
|
|
46
46
|
getENV,
|
|
47
47
|
getEnv,
|
|
48
48
|
isCacheEnabled,
|
|
49
49
|
validateRedisEnvironment
|
|
50
|
-
} from "../../chunk-
|
|
50
|
+
} from "../../chunk-HV6A6Z5R.js";
|
|
51
51
|
import "../../chunk-PX535BHW.js";
|
|
52
52
|
import {
|
|
53
53
|
getResolvedCacheConfig,
|
|
54
54
|
initializeCache,
|
|
55
55
|
resetCache
|
|
56
|
-
} from "../../chunk-
|
|
56
|
+
} from "../../chunk-7KIM5MHV.js";
|
|
57
57
|
import "../../chunk-6J2EJVND.js";
|
|
58
58
|
import "../../chunk-F3R3UYBF.js";
|
|
59
59
|
import {
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
THIRTY_DAYS,
|
|
71
71
|
THIRTY_MINUTES
|
|
72
72
|
} from "../../chunk-ERFD6YAW.js";
|
|
73
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-N3ETBM74.js";
|
|
74
74
|
export {
|
|
75
75
|
CACHE_DURATION_DEFAULTS,
|
|
76
76
|
CACHE_ENV_VARS,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
initializeCache,
|
|
4
4
|
isCacheConfigInitialized,
|
|
5
5
|
resetCache
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-7KIM5MHV.js";
|
|
7
7
|
import "../../chunk-F3R3UYBF.js";
|
|
8
8
|
import "../../chunk-ERFD6YAW.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-N3ETBM74.js";
|
|
10
10
|
export {
|
|
11
11
|
getResolvedCacheConfig,
|
|
12
12
|
initializeCache,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* - 백엔드 모드에 따른 동적 전환
|
|
8
8
|
* - 전역 Redis 에러 상태와 연동
|
|
9
9
|
*/
|
|
10
|
-
import type { CacheBackendType, HybridCacheMetrics, HybridConnectionStatus, IUnifiedCacheManager, InMemoryCacheConfig } from '
|
|
10
|
+
import type { CacheBackendType, HybridCacheMetrics, HybridConnectionStatus, IUnifiedCacheManager, InMemoryCacheConfig } from '@withwiz/toolkit/core/cache/cache-types';
|
|
11
11
|
/**
|
|
12
12
|
* Redis 캐시 매니저 인터페이스 (RedisCacheManager와 호환)
|
|
13
13
|
*/
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HybridCacheManager
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-XXPB4C37.js";
|
|
4
|
+
import "../../chunk-JHUWZ6YW.js";
|
|
5
|
+
import "../../chunk-ZEHNCHIV.js";
|
|
6
|
+
import "../../chunk-QAIN3WNN.js";
|
|
7
7
|
import "../../chunk-O4L6RI5S.js";
|
|
8
8
|
import "../../chunk-IKZB26SK.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
10
10
|
import "../../chunk-PX535BHW.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-7KIM5MHV.js";
|
|
12
12
|
import "../../chunk-6J2EJVND.js";
|
|
13
13
|
import "../../chunk-F3R3UYBF.js";
|
|
14
14
|
import "../../chunk-ERFD6YAW.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-N3ETBM74.js";
|
|
16
16
|
export {
|
|
17
17
|
HybridCacheManager
|
|
18
18
|
};
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
* 캐시 모듈의 통합 진입점
|
|
5
5
|
* - 모든 캐시 관련 기능을 re-export
|
|
6
6
|
*/
|
|
7
|
-
export { isCacheEnabled, getEnv, getENV, getConfig, validateRedisEnvironment, } from '
|
|
8
|
-
export { initializeCache, getResolvedCacheConfig, resetCache } from '
|
|
9
|
-
export { checkRedisConnection, isRedisAvailableNow, getRedisClient, logRedisInitialization, isRedisGloballyDisabled, notifyRedisError, resetRedisGlobalState, getRedisGlobalStatus, } from '
|
|
10
|
-
export type { CacheMetrics, RedisConnectionStatus } from '
|
|
11
|
-
export { getCacheConfig, getCacheTTL } from '
|
|
12
|
-
export type { CacheOptions } from '
|
|
13
|
-
export { INMEMORY_CACHE_DEFAULTS, CACHE_TTL_DEFAULTS, CACHE_DURATION_DEFAULTS, CACHE_ENV_VARS, ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES, ONE_HOUR, ONE_DAY, THIRTY_DAYS, } from '
|
|
14
|
-
export { RedisCacheManager } from '
|
|
15
|
-
export { NoopCacheManager } from '
|
|
16
|
-
export { getCacheManager, getEffectiveCacheBackend, cache, geoCache, } from '
|
|
17
|
-
export { invalidateCache } from '
|
|
18
|
-
export { withCache, cacheMetrics } from '
|
|
19
|
-
export { InMemoryCacheManager } from '
|
|
20
|
-
export { HybridCacheManager } from '
|
|
21
|
-
export type { InMemoryCacheConfig, CacheBackendType, HybridCacheMetrics, CacheEntry, InMemoryCacheMetrics, InMemoryCacheStats, HybridCacheConfig, HybridConnectionStatus, IUnifiedCacheManager, } from '
|
|
7
|
+
export { isCacheEnabled, getEnv, getENV, getConfig, validateRedisEnvironment, } from '@withwiz/toolkit/core/cache/cache-env';
|
|
8
|
+
export { initializeCache, getResolvedCacheConfig, resetCache } from '@withwiz/toolkit/core/cache/config';
|
|
9
|
+
export { checkRedisConnection, isRedisAvailableNow, getRedisClient, logRedisInitialization, isRedisGloballyDisabled, notifyRedisError, resetRedisGlobalState, getRedisGlobalStatus, } from '@withwiz/toolkit/core/cache/cache-redis';
|
|
10
|
+
export type { CacheMetrics, RedisConnectionStatus } from '@withwiz/toolkit/core/cache/cache-redis';
|
|
11
|
+
export { getCacheConfig, getCacheTTL } from '@withwiz/toolkit/core/cache/cache-config';
|
|
12
|
+
export type { CacheOptions } from '@withwiz/toolkit/core/cache/cache-config';
|
|
13
|
+
export { INMEMORY_CACHE_DEFAULTS, CACHE_TTL_DEFAULTS, CACHE_DURATION_DEFAULTS, CACHE_ENV_VARS, ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES, ONE_HOUR, ONE_DAY, THIRTY_DAYS, } from '@withwiz/toolkit/core/cache/cache-defaults';
|
|
14
|
+
export { RedisCacheManager } from '@withwiz/toolkit/core/cache/redis-cache-manager';
|
|
15
|
+
export { NoopCacheManager } from '@withwiz/toolkit/core/cache/noop-cache-manager';
|
|
16
|
+
export { getCacheManager, getEffectiveCacheBackend, cache, geoCache, } from '@withwiz/toolkit/core/cache/cache-factory';
|
|
17
|
+
export { invalidateCache } from '@withwiz/toolkit/core/cache/cache-invalidation';
|
|
18
|
+
export { withCache, cacheMetrics } from '@withwiz/toolkit/core/cache/cache-wrapper';
|
|
19
|
+
export { InMemoryCacheManager } from '@withwiz/toolkit/core/cache/inmemory-cache-manager';
|
|
20
|
+
export { HybridCacheManager } from '@withwiz/toolkit/core/cache/hybrid-cache-manager';
|
|
21
|
+
export type { InMemoryCacheConfig, CacheBackendType, HybridCacheMetrics, CacheEntry, InMemoryCacheMetrics, InMemoryCacheStats, HybridCacheConfig, HybridConnectionStatus, IUnifiedCacheManager, } from '@withwiz/toolkit/core/cache/cache-types';
|
package/dist/core/cache/index.js
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
import "../../chunk-HH4ZKZHD.js";
|
|
2
|
+
import {
|
|
3
|
+
invalidateCache
|
|
4
|
+
} from "../../chunk-VH57Y5Z4.js";
|
|
2
5
|
import {
|
|
3
6
|
cacheMetrics,
|
|
4
7
|
withCache
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import {
|
|
7
|
-
invalidateCache
|
|
8
|
-
} from "../../chunk-G4LJN4OZ.js";
|
|
8
|
+
} from "../../chunk-NTZBMWB6.js";
|
|
9
9
|
import {
|
|
10
10
|
cache,
|
|
11
11
|
geoCache,
|
|
12
12
|
getCacheManager,
|
|
13
13
|
getEffectiveCacheBackend
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-SCAFDDJP.js";
|
|
15
15
|
import {
|
|
16
16
|
NoopCacheManager
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-XF3WUF3F.js";
|
|
18
18
|
import {
|
|
19
19
|
RedisCacheManager
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-4TGPAUJV.js";
|
|
21
21
|
import {
|
|
22
22
|
HybridCacheManager
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-XXPB4C37.js";
|
|
24
|
+
import {
|
|
25
|
+
InMemoryCacheManager
|
|
26
|
+
} from "../../chunk-JHUWZ6YW.js";
|
|
24
27
|
import {
|
|
25
28
|
checkRedisConnection,
|
|
26
29
|
getRedisClient,
|
|
@@ -30,30 +33,27 @@ import {
|
|
|
30
33
|
logRedisInitialization,
|
|
31
34
|
notifyRedisError,
|
|
32
35
|
resetRedisGlobalState
|
|
33
|
-
} from "../../chunk-
|
|
34
|
-
import
|
|
35
|
-
InMemoryCacheManager
|
|
36
|
-
} from "../../chunk-J5NLAZV2.js";
|
|
37
|
-
import "../../chunk-KG65BFPK.js";
|
|
36
|
+
} from "../../chunk-ZEHNCHIV.js";
|
|
37
|
+
import "../../chunk-QAIN3WNN.js";
|
|
38
38
|
import "../../chunk-O4L6RI5S.js";
|
|
39
39
|
import "../../chunk-IKZB26SK.js";
|
|
40
40
|
import {
|
|
41
41
|
getCacheConfig,
|
|
42
42
|
getCacheTTL
|
|
43
|
-
} from "../../chunk-
|
|
43
|
+
} from "../../chunk-Y6CPPBJI.js";
|
|
44
44
|
import {
|
|
45
45
|
getConfig,
|
|
46
46
|
getENV,
|
|
47
47
|
getEnv,
|
|
48
48
|
isCacheEnabled,
|
|
49
49
|
validateRedisEnvironment
|
|
50
|
-
} from "../../chunk-
|
|
50
|
+
} from "../../chunk-HV6A6Z5R.js";
|
|
51
51
|
import "../../chunk-PX535BHW.js";
|
|
52
52
|
import {
|
|
53
53
|
getResolvedCacheConfig,
|
|
54
54
|
initializeCache,
|
|
55
55
|
resetCache
|
|
56
|
-
} from "../../chunk-
|
|
56
|
+
} from "../../chunk-7KIM5MHV.js";
|
|
57
57
|
import "../../chunk-6J2EJVND.js";
|
|
58
58
|
import "../../chunk-F3R3UYBF.js";
|
|
59
59
|
import {
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
THIRTY_DAYS,
|
|
71
71
|
THIRTY_MINUTES
|
|
72
72
|
} from "../../chunk-ERFD6YAW.js";
|
|
73
|
-
import "../../chunk-
|
|
73
|
+
import "../../chunk-N3ETBM74.js";
|
|
74
74
|
export {
|
|
75
75
|
CACHE_DURATION_DEFAULTS,
|
|
76
76
|
CACHE_ENV_VARS,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - TTL (Time To Live): 만료 시간 기반 항목 제거
|
|
7
7
|
* - 메모리 제한: 최대 항목 수 및 메모리 크기 제한
|
|
8
8
|
*/
|
|
9
|
-
import type { InMemoryCacheConfig, InMemoryCacheMetrics, InMemoryCacheStats, IUnifiedCacheManager } from '
|
|
9
|
+
import type { InMemoryCacheConfig, InMemoryCacheMetrics, InMemoryCacheStats, IUnifiedCacheManager } from '@withwiz/toolkit/core/cache/cache-types';
|
|
10
10
|
/**
|
|
11
11
|
* 인메모리 캐시 매니저 클래스
|
|
12
12
|
* RedisCacheManager와 동일한 인터페이스를 구현하여 호환성 보장
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InMemoryCacheManager
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-JHUWZ6YW.js";
|
|
4
|
+
import "../../chunk-QAIN3WNN.js";
|
|
5
5
|
import "../../chunk-O4L6RI5S.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
|
InMemoryCacheManager
|
|
12
12
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NoopCacheManager
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-XF3WUF3F.js";
|
|
4
|
+
import "../../chunk-Y6CPPBJI.js";
|
|
5
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
6
6
|
import "../../chunk-PX535BHW.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-7KIM5MHV.js";
|
|
8
8
|
import "../../chunk-6J2EJVND.js";
|
|
9
9
|
import "../../chunk-F3R3UYBF.js";
|
|
10
10
|
import "../../chunk-ERFD6YAW.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-N3ETBM74.js";
|
|
12
12
|
export {
|
|
13
13
|
NoopCacheManager
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CacheMetrics, RedisConnectionStatus } from "
|
|
2
|
-
import type { IUnifiedCacheManager } from "
|
|
1
|
+
import { CacheMetrics, RedisConnectionStatus } from "@withwiz/toolkit/core/cache/cache-redis";
|
|
2
|
+
import type { IUnifiedCacheManager } from "@withwiz/toolkit/core/cache/cache-types";
|
|
3
3
|
export declare class RedisCacheManager implements IUnifiedCacheManager {
|
|
4
4
|
private prefix;
|
|
5
5
|
private metrics;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RedisCacheManager
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-4TGPAUJV.js";
|
|
4
|
+
import "../../chunk-ZEHNCHIV.js";
|
|
5
|
+
import "../../chunk-QAIN3WNN.js";
|
|
6
6
|
import "../../chunk-IKZB26SK.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-HV6A6Z5R.js";
|
|
8
8
|
import "../../chunk-PX535BHW.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-7KIM5MHV.js";
|
|
10
10
|
import "../../chunk-6J2EJVND.js";
|
|
11
11
|
import "../../chunk-F3R3UYBF.js";
|
|
12
12
|
import "../../chunk-ERFD6YAW.js";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-N3ETBM74.js";
|
|
14
14
|
export {
|
|
15
15
|
RedisCacheManager
|
|
16
16
|
};
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* 모든 모듈 설정을 단일 객체 `globalThis.__withwiz_config`에 저장.
|
|
5
5
|
* `config.auth`와 `getAuthConfig()` 모두 같은 객체를 반환한다.
|
|
6
6
|
*/
|
|
7
|
-
import type { ResolvedCommonConfig } from '
|
|
8
|
-
import type { ResolvedAuthConfig } from '
|
|
9
|
-
import type { ResolvedLoggerConfig } from '
|
|
10
|
-
import type { ResolvedCacheConfig } from '
|
|
11
|
-
import type { ResolvedStorageConfig } from '
|
|
12
|
-
import type { ResolvedGeolocationConfig } from '
|
|
13
|
-
import type { ResolvedCorsConfig } from '
|
|
7
|
+
import type { ResolvedCommonConfig } from '@withwiz/toolkit/core/config/common';
|
|
8
|
+
import type { ResolvedAuthConfig } from '@withwiz/toolkit/core/auth/config';
|
|
9
|
+
import type { ResolvedLoggerConfig } from '@withwiz/toolkit/core/logger/config';
|
|
10
|
+
import type { ResolvedCacheConfig } from '@withwiz/toolkit/core/cache/config';
|
|
11
|
+
import type { ResolvedStorageConfig } from '@withwiz/toolkit/core/storage/config';
|
|
12
|
+
import type { ResolvedGeolocationConfig } from '@withwiz/toolkit/core/geolocation/config';
|
|
13
|
+
import type { ResolvedCorsConfig } from '@withwiz/toolkit/core/cors';
|
|
14
14
|
export interface ConfigRegistry {
|
|
15
15
|
common: ResolvedCommonConfig;
|
|
16
16
|
auth: ResolvedAuthConfig;
|
package/dist/core/config/warn.js
CHANGED