├── .commitlintrc.json ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── index.d.ts ├── index.js ├── index.ts ├── jest.config.js ├── lib ├── index.ts ├── indicator │ ├── redis-health.indicator.ts │ ├── redis-health.module.ts │ └── redis-health.provider.ts ├── redis.constants.ts ├── redis.core-module.ts ├── redis.decorators.ts ├── redis.interfaces.ts ├── redis.module.spec.ts ├── redis.module.ts └── redis.utils.ts ├── package.json ├── pnpm-lock.yaml ├── publish.sh ├── renovate.json ├── sample ├── cluster │ └── 01-forRoot │ │ ├── e2e │ │ ├── cats │ │ │ └── cats.e2e-spec.ts │ │ └── jest-e2e.json │ │ ├── jest.json │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── src │ │ ├── app.module.ts │ │ ├── cats │ │ │ ├── cats.controller.spec.ts │ │ │ ├── cats.controller.ts │ │ │ ├── cats.module.ts │ │ │ ├── cats.service.ts │ │ │ ├── dto │ │ │ │ └── create-cat.dto.ts │ │ │ └── interfaces │ │ │ │ └── cat.interface.ts │ │ ├── common │ │ │ ├── decorators │ │ │ │ └── roles.decorator.ts │ │ │ ├── filters │ │ │ │ └── http-exception.filter.ts │ │ │ ├── guards │ │ │ │ └── roles.guard.ts │ │ │ ├── interceptors │ │ │ │ ├── exception.interceptor.ts │ │ │ │ └── timeout.interceptor.ts │ │ │ ├── middleware │ │ │ │ └── logger.middleware.ts │ │ │ └── pipes │ │ │ │ ├── parse-int.pipe.ts │ │ │ │ └── validation.pipe.ts │ │ ├── core │ │ │ ├── core.module.ts │ │ │ └── interceptors │ │ │ │ ├── logging.interceptor.ts │ │ │ │ └── transform.interceptor.ts │ │ └── main.ts │ │ ├── tsconfig.build.json │ │ └── tsconfig.json └── single │ └── 01-forRoot │ ├── .gitignore │ ├── e2e │ ├── cats │ │ └── cats.e2e-spec.ts │ └── jest-e2e.json │ ├── jest.json │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ ├── app.controller.ts │ ├── app.module.ts │ ├── cats │ │ ├── cats.controller.spec.ts │ │ ├── cats.controller.ts │ │ ├── cats.module.ts │ │ ├── cats.service.ts │ │ ├── dto │ │ │ └── create-cat.dto.ts │ │ └── interfaces │ │ │ └── cat.interface.ts │ ├── common │ │ ├── decorators │ │ │ └── roles.decorator.ts │ │ ├── filters │ │ │ └── http-exception.filter.ts │ │ ├── guards │ │ │ └── roles.guard.ts │ │ ├── interceptors │ │ │ ├── exception.interceptor.ts │ │ │ └── timeout.interceptor.ts │ │ ├── middleware │ │ │ └── logger.middleware.ts │ │ └── pipes │ │ │ ├── parse-int.pipe.ts │ │ │ └── validation.pipe.ts │ ├── core │ │ ├── core.module.ts │ │ └── interceptors │ │ │ ├── logging.interceptor.ts │ │ │ └── transform.interceptor.ts │ └── main.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── tsconfig.build.json └── tsconfig.json /.commitlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/.commitlintrc.json -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | tests/** -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.10.0 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | tests/generated-definitions/*.ts -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/README.md -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './dist'; -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/index.js -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- 1 | export * from './dist'; 2 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/jest.config.js -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/index.ts -------------------------------------------------------------------------------- /lib/indicator/redis-health.indicator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/indicator/redis-health.indicator.ts -------------------------------------------------------------------------------- /lib/indicator/redis-health.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/indicator/redis-health.module.ts -------------------------------------------------------------------------------- /lib/indicator/redis-health.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/indicator/redis-health.provider.ts -------------------------------------------------------------------------------- /lib/redis.constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.constants.ts -------------------------------------------------------------------------------- /lib/redis.core-module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.core-module.ts -------------------------------------------------------------------------------- /lib/redis.decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.decorators.ts -------------------------------------------------------------------------------- /lib/redis.interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.interfaces.ts -------------------------------------------------------------------------------- /lib/redis.module.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.module.spec.ts -------------------------------------------------------------------------------- /lib/redis.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.module.ts -------------------------------------------------------------------------------- /lib/redis.utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/lib/redis.utils.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /publish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/publish.sh -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/renovate.json -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/e2e/cats/cats.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/e2e/cats/cats.e2e-spec.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/e2e/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/e2e/jest-e2e.json -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/jest.json -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/package-lock.json -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/package.json -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/app.module.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/cats/cats.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/cats/cats.controller.spec.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/cats/cats.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/cats/cats.controller.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/cats/cats.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/cats/cats.module.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/cats/cats.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/cats/cats.service.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/cats/dto/create-cat.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/cats/dto/create-cat.dto.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/cats/interfaces/cat.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/cats/interfaces/cat.interface.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/decorators/roles.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/decorators/roles.decorator.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/filters/http-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/filters/http-exception.filter.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/guards/roles.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/guards/roles.guard.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/interceptors/exception.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/interceptors/exception.interceptor.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/interceptors/timeout.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/interceptors/timeout.interceptor.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/middleware/logger.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/middleware/logger.middleware.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/pipes/parse-int.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/pipes/parse-int.pipe.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/common/pipes/validation.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/common/pipes/validation.pipe.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/core/core.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/core/core.module.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/core/interceptors/logging.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/core/interceptors/logging.interceptor.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/core/interceptors/transform.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/core/interceptors/transform.interceptor.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/src/main.ts -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/tsconfig.build.json -------------------------------------------------------------------------------- /sample/cluster/01-forRoot/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/cluster/01-forRoot/tsconfig.json -------------------------------------------------------------------------------- /sample/single/01-forRoot/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /sample/single/01-forRoot/e2e/cats/cats.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/e2e/cats/cats.e2e-spec.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/e2e/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/e2e/jest-e2e.json -------------------------------------------------------------------------------- /sample/single/01-forRoot/jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/jest.json -------------------------------------------------------------------------------- /sample/single/01-forRoot/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/package.json -------------------------------------------------------------------------------- /sample/single/01-forRoot/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/pnpm-lock.yaml -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/app.controller.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/app.module.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/cats/cats.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/cats/cats.controller.spec.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/cats/cats.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/cats/cats.controller.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/cats/cats.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/cats/cats.module.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/cats/cats.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/cats/cats.service.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/cats/dto/create-cat.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/cats/dto/create-cat.dto.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/cats/interfaces/cat.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/cats/interfaces/cat.interface.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/decorators/roles.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/decorators/roles.decorator.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/filters/http-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/filters/http-exception.filter.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/guards/roles.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/guards/roles.guard.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/interceptors/exception.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/interceptors/exception.interceptor.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/interceptors/timeout.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/interceptors/timeout.interceptor.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/middleware/logger.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/middleware/logger.middleware.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/pipes/parse-int.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/pipes/parse-int.pipe.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/common/pipes/validation.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/common/pipes/validation.pipe.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/core/core.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/core/core.module.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/core/interceptors/logging.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/core/interceptors/logging.interceptor.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/core/interceptors/transform.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/core/interceptors/transform.interceptor.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/src/main.ts -------------------------------------------------------------------------------- /sample/single/01-forRoot/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/tsconfig.build.json -------------------------------------------------------------------------------- /sample/single/01-forRoot/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/sample/single/01-forRoot/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nest-modules/ioredis/HEAD/tsconfig.json --------------------------------------------------------------------------------