├── .commitlintrc.json ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── pull-request.yaml │ └── release.yaml ├── .gitignore ├── .huskyrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .releaserc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── lib ├── filters │ ├── index.ts │ ├── response.exception-filter.spec.ts │ └── response.exception-filter.ts ├── index.ts ├── interfaces │ ├── error-info.interface.ts │ ├── index.ts │ ├── response-error.interface.ts │ ├── response-filter-config.interface.ts │ ├── response-payload.interface.ts │ └── responses-payload.interface.ts ├── test │ └── __mocks__ │ │ └── common.mocks.ts └── types │ ├── index.ts │ ├── response-error.type.ts │ ├── response-payload.type.ts │ └── responses-payload.type.ts ├── package.json ├── tsconfig.build.json └── tsconfig.json /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@commitlint/config-conventional"] 3 | } 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/pull-request.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.github/workflows/pull-request.yaml -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.gitignore -------------------------------------------------------------------------------- /.huskyrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.huskyrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v14.17.1 -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.prettierrc -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/.releaserc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/README.md -------------------------------------------------------------------------------- /lib/filters/index.ts: -------------------------------------------------------------------------------- 1 | export * from './response.exception-filter' 2 | -------------------------------------------------------------------------------- /lib/filters/response.exception-filter.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/filters/response.exception-filter.spec.ts -------------------------------------------------------------------------------- /lib/filters/response.exception-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/filters/response.exception-filter.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/index.ts -------------------------------------------------------------------------------- /lib/interfaces/error-info.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/interfaces/error-info.interface.ts -------------------------------------------------------------------------------- /lib/interfaces/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/interfaces/index.ts -------------------------------------------------------------------------------- /lib/interfaces/response-error.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/interfaces/response-error.interface.ts -------------------------------------------------------------------------------- /lib/interfaces/response-filter-config.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/interfaces/response-filter-config.interface.ts -------------------------------------------------------------------------------- /lib/interfaces/response-payload.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/interfaces/response-payload.interface.ts -------------------------------------------------------------------------------- /lib/interfaces/responses-payload.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/interfaces/responses-payload.interface.ts -------------------------------------------------------------------------------- /lib/test/__mocks__/common.mocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/test/__mocks__/common.mocks.ts -------------------------------------------------------------------------------- /lib/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/types/index.ts -------------------------------------------------------------------------------- /lib/types/response-error.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/types/response-error.type.ts -------------------------------------------------------------------------------- /lib/types/response-payload.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/types/response-payload.type.ts -------------------------------------------------------------------------------- /lib/types/responses-payload.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/lib/types/responses-payload.type.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/package.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/temarusanov/nestjs-response-structure/HEAD/tsconfig.json --------------------------------------------------------------------------------