├── .github └── workflows │ └── publish.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .lintstagedrc.json ├── .npmrc ├── README.md ├── cspell.json ├── eslint.config.js ├── lib ├── constants │ ├── cls-translation-namespace.constant.ts │ ├── cls-translation.constant.ts │ ├── index.ts │ └── language-key.constant.ts ├── helpers │ ├── index.ts │ └── translation.helper.ts ├── index.ts ├── interfaces │ ├── cls-resolver.interface.ts │ └── index.ts ├── middlewares │ └── translation.middleware.ts ├── resolves │ ├── custom-i18n-resolver.ts │ ├── index.ts │ └── request.resolver.ts ├── services │ └── translation.service.ts ├── translation.module.ts └── types │ ├── cls.type.ts │ ├── index.ts │ ├── language-key-map.type.ts │ ├── language-key.type.ts │ └── translation-options.type.ts ├── package.json ├── prettier.config.js ├── renovate.json └── tsconfig.json /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/.npmrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/README.md -------------------------------------------------------------------------------- /cspell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/cspell.json -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@hodfords/nestjs-eslint-config'); -------------------------------------------------------------------------------- /lib/constants/cls-translation-namespace.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/constants/cls-translation-namespace.constant.ts -------------------------------------------------------------------------------- /lib/constants/cls-translation.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/constants/cls-translation.constant.ts -------------------------------------------------------------------------------- /lib/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/constants/index.ts -------------------------------------------------------------------------------- /lib/constants/language-key.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/constants/language-key.constant.ts -------------------------------------------------------------------------------- /lib/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './translation.helper'; 2 | -------------------------------------------------------------------------------- /lib/helpers/translation.helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/helpers/translation.helper.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/index.ts -------------------------------------------------------------------------------- /lib/interfaces/cls-resolver.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/interfaces/cls-resolver.interface.ts -------------------------------------------------------------------------------- /lib/interfaces/index.ts: -------------------------------------------------------------------------------- 1 | export * from './cls-resolver.interface'; 2 | -------------------------------------------------------------------------------- /lib/middlewares/translation.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/middlewares/translation.middleware.ts -------------------------------------------------------------------------------- /lib/resolves/custom-i18n-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/resolves/custom-i18n-resolver.ts -------------------------------------------------------------------------------- /lib/resolves/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/resolves/index.ts -------------------------------------------------------------------------------- /lib/resolves/request.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/resolves/request.resolver.ts -------------------------------------------------------------------------------- /lib/services/translation.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/services/translation.service.ts -------------------------------------------------------------------------------- /lib/translation.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/translation.module.ts -------------------------------------------------------------------------------- /lib/types/cls.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/types/cls.type.ts -------------------------------------------------------------------------------- /lib/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/types/index.ts -------------------------------------------------------------------------------- /lib/types/language-key-map.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/types/language-key-map.type.ts -------------------------------------------------------------------------------- /lib/types/language-key.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/types/language-key.type.ts -------------------------------------------------------------------------------- /lib/types/translation-options.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/lib/types/translation-options.type.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@hodfords/nestjs-prettier-config'); 2 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/renovate.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hodfords-solutions/nestjs-cls-translation/HEAD/tsconfig.json --------------------------------------------------------------------------------