├── .editorconfig ├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ └── nodejs.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .idea ├── .gitignore ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── dictionaries │ └── user.xml ├── fastify-decorators.iml ├── icon.png ├── icon_dark.png ├── inspectionProfiles │ └── Project_Default.xml ├── jsLinters │ └── eslint.xml ├── jsonSchemas.xml ├── markdown.xml ├── misc.xml ├── modules.xml ├── prettier.xml ├── runConfigurations │ └── Library_tests.xml └── vcs.xml ├── .lintstagedrc ├── .prettierrc ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── assets └── logo.png ├── docs ├── Bootstrapping.md ├── Controllers.md ├── Migration to v4.md ├── Plugins Development.md ├── Request Handlers.md └── Testing.md ├── eslint.config.mjs ├── examples ├── async-initializer │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── controllers │ │ │ └── index.controller.ts │ │ ├── index.ts │ │ ├── server.ts │ │ └── services │ │ │ ├── MessagesHolder.ts │ │ │ ├── ServiceA.ts │ │ │ └── ServiceB.ts │ ├── test │ │ └── controller.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json ├── aws-lambda │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── PingController.ts │ │ ├── PingService.ts │ │ └── index.ts │ ├── test │ │ └── ping.test.ts │ ├── tsconfig.base.json │ ├── tsconfig.json │ └── tsconfig.spec.json ├── controllers │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── dependency-injection │ │ │ ├── base-endpoints.ts │ │ │ ├── constructor.controller.ts │ │ │ ├── inject.controller.ts │ │ │ ├── injectable-async-service.ts │ │ │ ├── injectable.service.ts │ │ │ └── service-with-request-reply.ts │ │ ├── error-handling │ │ │ ├── error-type.ts │ │ │ ├── stateful.controller.ts │ │ │ └── stateless.controller.ts │ │ ├── hooks │ │ │ ├── stateful.controller.ts │ │ │ └── stateless.controller.ts │ │ ├── index.ts │ │ ├── inheritance │ │ │ ├── abstract │ │ │ │ ├── abstract-parent.ts │ │ │ │ ├── inherited.controller.ts │ │ │ │ └── with-own-methods.controller.ts │ │ │ └── parent │ │ │ │ ├── inherited.controller.ts │ │ │ │ ├── parent.ts │ │ │ │ └── with-own-methods.controller.ts │ │ ├── start.ts │ │ ├── states │ │ │ ├── stateful.controller.ts │ │ │ └── stateless.controller.ts │ │ └── user │ │ │ ├── user-error.ts │ │ │ ├── user.controller.ts │ │ │ └── user.ts │ ├── test │ │ ├── e2e │ │ │ ├── dependency-injection.test.ts │ │ │ ├── error-handling.test.ts │ │ │ ├── hooks.test.ts │ │ │ ├── inheritance.test.ts │ │ │ ├── states.test.ts │ │ │ └── user.test.ts │ │ └── unit │ │ │ ├── dependency-injection.test.ts │ │ │ └── user.controller.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json ├── ecmascript-decorators │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── error-handling │ │ │ ├── error-type.ts │ │ │ ├── stateful.controller.ts │ │ │ └── stateless.controller.ts │ │ ├── hooks │ │ │ ├── stateful.controller.ts │ │ │ └── stateless.controller.ts │ │ ├── index.ts │ │ ├── inheritance │ │ │ ├── abstract │ │ │ │ ├── abstract-parent.ts │ │ │ │ ├── inherited.controller.ts │ │ │ │ └── with-own-methods.controller.ts │ │ │ └── parent │ │ │ │ ├── inherited.controller.ts │ │ │ │ ├── parent.ts │ │ │ │ └── with-own-methods.controller.ts │ │ ├── start.ts │ │ ├── states │ │ │ ├── stateful.controller.ts │ │ │ └── stateless.controller.ts │ │ └── user │ │ │ ├── user-error.ts │ │ │ ├── user.controller.ts │ │ │ └── user.ts │ ├── test │ │ ├── e2e │ │ │ ├── error-handling.test.ts │ │ │ ├── hooks.test.ts │ │ │ ├── inheritance.test.ts │ │ │ ├── states.test.ts │ │ │ └── user.test.ts │ │ └── unit │ │ │ └── user.controller.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json ├── injecting-requests-in-services │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── controllers │ │ │ └── TestController.ts │ │ ├── index.ts │ │ ├── services │ │ │ ├── Nested1Service.ts │ │ │ ├── Nested2Service.ts │ │ │ └── Nested3Service.ts │ │ └── start.ts │ ├── test │ │ └── request-reply-injection.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json ├── request-handlers │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── hooks │ │ │ └── hooked.handler.ts │ │ ├── index.ts │ │ ├── start.ts │ │ └── user │ │ │ ├── create-user.handler.ts │ │ │ ├── delete-user.handler.ts │ │ │ ├── get-user.handler.ts │ │ │ ├── user-error.ts │ │ │ └── user.ts │ ├── test │ │ ├── hooks.test.ts │ │ └── user.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json ├── swagger │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ │ ├── config.ts │ │ ├── index.ts │ │ ├── schemas.ts │ │ ├── start.ts │ │ └── typed.controller.ts │ ├── test │ │ └── typed.controller.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json └── typedi │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── src │ ├── dependency-injection │ │ ├── injectable.service.ts │ │ └── typedi.controller.ts │ ├── index.ts │ └── start.ts │ ├── test │ └── dependency-injection.test.ts │ ├── tsconfig.app.json │ ├── tsconfig.base.json │ └── tsconfig.spec.json ├── jest.examples.config.js ├── lib ├── README.md ├── bootstrap │ ├── bootstrap.spec.ts │ ├── bootstrap.ts │ └── mocks │ │ ├── controllers │ │ ├── broken.mock.ts │ │ └── sample.controller.mock.ts │ │ └── handlers │ │ └── sample.handler.mock.ts ├── constants │ ├── scope.ts │ └── symbols.ts ├── decorators │ ├── controller.ts │ ├── error-handler.ts │ ├── helpers │ │ ├── registrable.ts │ │ ├── swagger-helper.spec.ts │ │ └── swagger-helper.ts │ ├── hook.ts │ ├── interop │ │ ├── class-decorator.ts │ │ ├── class-or-method-decorator.ts │ │ ├── metadata.ts │ │ └── method-decorator.ts │ ├── request-handlers.ts │ └── strategies │ │ ├── controller-type.spec.ts │ │ └── controller-type.ts ├── index.ts ├── interfaces │ ├── bootstrap-config.ts │ ├── error-handler-definition.ts │ ├── hook-definition.ts │ ├── registrable.ts │ ├── request-handler-definition.ts │ └── request-handler.ts ├── jest.config.js ├── package.json ├── plugins │ ├── class-loader.ts │ ├── index.ts │ └── life-cycle.ts ├── polyfills.ts ├── registry │ ├── container.spec.ts │ ├── container.ts │ └── hooks-registry.ts ├── rollup-config.js ├── tsconfig.json ├── tsconfig.lib.json ├── tsconfig.spec.json └── utils │ ├── container-utils.spec.ts │ ├── container-utils.ts │ ├── transform-and-wait.spec.ts │ └── transform-and-wait.ts ├── package.json ├── patch-readme.js ├── plugins ├── simple-di │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── rollup-config.js │ ├── src │ │ ├── decorators │ │ │ ├── destructor.spec.ts │ │ │ ├── destructor.ts │ │ │ ├── helpers │ │ │ │ ├── ensure-service-injection.spec.ts │ │ │ │ ├── ensure-service-injection.ts │ │ │ │ ├── inject-dependencies.spec.ts │ │ │ │ ├── inject-dependencies.ts │ │ │ │ └── patch-methods.ts │ │ │ ├── initializer.spec.ts │ │ │ ├── initializer.ts │ │ │ ├── inject.spec.ts │ │ │ ├── inject.ts │ │ │ ├── service.spec.ts │ │ │ └── service.ts │ │ ├── index.ts │ │ ├── interfaces │ │ │ └── injectable-class.ts │ │ ├── registry │ │ │ ├── _injectables-holder.ts │ │ │ └── injectables-holder.ts │ │ ├── symbols.ts │ │ ├── testing │ │ │ ├── configure-controller-test.spec.ts │ │ │ ├── configure-controller-test.ts │ │ │ ├── configure-service-test.spec.ts │ │ │ ├── configure-service-test.ts │ │ │ ├── fastify-plugins.ts │ │ │ ├── index.ts │ │ │ ├── mocks-manager.spec.ts │ │ │ ├── mocks-manager.ts │ │ │ └── service-mock.ts │ │ └── utils │ │ │ ├── deferred.spec.ts │ │ │ ├── deferred.ts │ │ │ └── dependencies-scope-manager.ts │ ├── testing │ │ ├── index.cjs │ │ ├── index.d.ts │ │ ├── index.js │ │ └── package.json │ ├── tsconfig.base.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json └── typedi │ ├── .gitignore │ ├── .npmrc │ ├── .yarnrc │ ├── README.md │ ├── jest.config.js │ ├── package.json │ ├── rollup-config.js │ ├── src │ ├── index.ts │ ├── use-container.spec.ts │ └── use-container.ts │ ├── tsconfig.base.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── tsconfig.eslint.json ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | lint-staged 2 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/dictionaries/user.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/dictionaries/user.xml -------------------------------------------------------------------------------- /.idea/fastify-decorators.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/fastify-decorators.iml -------------------------------------------------------------------------------- /.idea/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/icon.png -------------------------------------------------------------------------------- /.idea/icon_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/icon_dark.png -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/jsLinters/eslint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/jsLinters/eslint.xml -------------------------------------------------------------------------------- /.idea/jsonSchemas.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/jsonSchemas.xml -------------------------------------------------------------------------------- /.idea/markdown.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/markdown.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/prettier.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/prettier.xml -------------------------------------------------------------------------------- /.idea/runConfigurations/Library_tests.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/runConfigurations/Library_tests.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/SECURITY.md -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/assets/logo.png -------------------------------------------------------------------------------- /docs/Bootstrapping.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/docs/Bootstrapping.md -------------------------------------------------------------------------------- /docs/Controllers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/docs/Controllers.md -------------------------------------------------------------------------------- /docs/Migration to v4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/docs/Migration to v4.md -------------------------------------------------------------------------------- /docs/Plugins Development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/docs/Plugins Development.md -------------------------------------------------------------------------------- /docs/Request Handlers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/docs/Request Handlers.md -------------------------------------------------------------------------------- /docs/Testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/docs/Testing.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /examples/async-initializer/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | tsconfig.app.tsbuildinfo 5 | -------------------------------------------------------------------------------- /examples/async-initializer/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/async-initializer/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/async-initializer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/README.md -------------------------------------------------------------------------------- /examples/async-initializer/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/jest.config.js -------------------------------------------------------------------------------- /examples/async-initializer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/package.json -------------------------------------------------------------------------------- /examples/async-initializer/src/controllers/index.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/src/controllers/index.controller.ts -------------------------------------------------------------------------------- /examples/async-initializer/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/src/index.ts -------------------------------------------------------------------------------- /examples/async-initializer/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/src/server.ts -------------------------------------------------------------------------------- /examples/async-initializer/src/services/MessagesHolder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/src/services/MessagesHolder.ts -------------------------------------------------------------------------------- /examples/async-initializer/src/services/ServiceA.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/src/services/ServiceA.ts -------------------------------------------------------------------------------- /examples/async-initializer/src/services/ServiceB.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/src/services/ServiceB.ts -------------------------------------------------------------------------------- /examples/async-initializer/test/controller.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/test/controller.test.ts -------------------------------------------------------------------------------- /examples/async-initializer/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/tsconfig.app.json -------------------------------------------------------------------------------- /examples/async-initializer/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/tsconfig.base.json -------------------------------------------------------------------------------- /examples/async-initializer/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/async-initializer/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/aws-lambda/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/aws-lambda/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/aws-lambda/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/aws-lambda/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/README.md -------------------------------------------------------------------------------- /examples/aws-lambda/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/jest.config.js -------------------------------------------------------------------------------- /examples/aws-lambda/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/package.json -------------------------------------------------------------------------------- /examples/aws-lambda/src/PingController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/src/PingController.ts -------------------------------------------------------------------------------- /examples/aws-lambda/src/PingService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/src/PingService.ts -------------------------------------------------------------------------------- /examples/aws-lambda/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/src/index.ts -------------------------------------------------------------------------------- /examples/aws-lambda/test/ping.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/test/ping.test.ts -------------------------------------------------------------------------------- /examples/aws-lambda/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/tsconfig.base.json -------------------------------------------------------------------------------- /examples/aws-lambda/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/tsconfig.json -------------------------------------------------------------------------------- /examples/aws-lambda/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/aws-lambda/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/controllers/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/controllers/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/controllers/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/controllers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/README.md -------------------------------------------------------------------------------- /examples/controllers/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/jest.config.js -------------------------------------------------------------------------------- /examples/controllers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/package.json -------------------------------------------------------------------------------- /examples/controllers/src/dependency-injection/base-endpoints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/dependency-injection/base-endpoints.ts -------------------------------------------------------------------------------- /examples/controllers/src/dependency-injection/constructor.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/dependency-injection/constructor.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/dependency-injection/inject.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/dependency-injection/inject.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/dependency-injection/injectable-async-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/dependency-injection/injectable-async-service.ts -------------------------------------------------------------------------------- /examples/controllers/src/dependency-injection/injectable.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/dependency-injection/injectable.service.ts -------------------------------------------------------------------------------- /examples/controllers/src/dependency-injection/service-with-request-reply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/dependency-injection/service-with-request-reply.ts -------------------------------------------------------------------------------- /examples/controllers/src/error-handling/error-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/error-handling/error-type.ts -------------------------------------------------------------------------------- /examples/controllers/src/error-handling/stateful.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/error-handling/stateful.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/error-handling/stateless.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/error-handling/stateless.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/hooks/stateful.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/hooks/stateful.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/hooks/stateless.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/hooks/stateless.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/index.ts -------------------------------------------------------------------------------- /examples/controllers/src/inheritance/abstract/abstract-parent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/inheritance/abstract/abstract-parent.ts -------------------------------------------------------------------------------- /examples/controllers/src/inheritance/abstract/inherited.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/inheritance/abstract/inherited.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/inheritance/abstract/with-own-methods.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/inheritance/abstract/with-own-methods.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/inheritance/parent/inherited.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/inheritance/parent/inherited.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/inheritance/parent/parent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/inheritance/parent/parent.ts -------------------------------------------------------------------------------- /examples/controllers/src/inheritance/parent/with-own-methods.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/inheritance/parent/with-own-methods.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/start.ts -------------------------------------------------------------------------------- /examples/controllers/src/states/stateful.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/states/stateful.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/states/stateless.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/states/stateless.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/user/user-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/user/user-error.ts -------------------------------------------------------------------------------- /examples/controllers/src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/user/user.controller.ts -------------------------------------------------------------------------------- /examples/controllers/src/user/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/src/user/user.ts -------------------------------------------------------------------------------- /examples/controllers/test/e2e/dependency-injection.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/e2e/dependency-injection.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/e2e/error-handling.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/e2e/error-handling.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/e2e/hooks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/e2e/hooks.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/e2e/inheritance.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/e2e/inheritance.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/e2e/states.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/e2e/states.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/e2e/user.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/e2e/user.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/unit/dependency-injection.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/unit/dependency-injection.test.ts -------------------------------------------------------------------------------- /examples/controllers/test/unit/user.controller.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/test/unit/user.controller.test.ts -------------------------------------------------------------------------------- /examples/controllers/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/tsconfig.app.json -------------------------------------------------------------------------------- /examples/controllers/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/tsconfig.base.json -------------------------------------------------------------------------------- /examples/controllers/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/controllers/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/ecmascript-decorators/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/ecmascript-decorators/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/ecmascript-decorators/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/ecmascript-decorators/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/README.md -------------------------------------------------------------------------------- /examples/ecmascript-decorators/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/jest.config.js -------------------------------------------------------------------------------- /examples/ecmascript-decorators/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/package.json -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/error-handling/error-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/error-handling/error-type.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/error-handling/stateful.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/error-handling/stateful.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/error-handling/stateless.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/error-handling/stateless.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/hooks/stateful.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/hooks/stateful.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/hooks/stateless.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/hooks/stateless.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/index.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/inheritance/abstract/abstract-parent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/inheritance/abstract/abstract-parent.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/inheritance/abstract/inherited.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/inheritance/abstract/inherited.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/inheritance/abstract/with-own-methods.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/inheritance/abstract/with-own-methods.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/inheritance/parent/inherited.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/inheritance/parent/inherited.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/inheritance/parent/parent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/inheritance/parent/parent.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/inheritance/parent/with-own-methods.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/inheritance/parent/with-own-methods.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/start.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/states/stateful.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/states/stateful.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/states/stateless.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/states/stateless.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/user/user-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/user/user-error.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/user/user.controller.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/src/user/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/src/user/user.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/test/e2e/error-handling.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/test/e2e/error-handling.test.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/test/e2e/hooks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/test/e2e/hooks.test.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/test/e2e/inheritance.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/test/e2e/inheritance.test.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/test/e2e/states.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/test/e2e/states.test.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/test/e2e/user.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/test/e2e/user.test.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/test/unit/user.controller.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/test/unit/user.controller.test.ts -------------------------------------------------------------------------------- /examples/ecmascript-decorators/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/tsconfig.app.json -------------------------------------------------------------------------------- /examples/ecmascript-decorators/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/tsconfig.base.json -------------------------------------------------------------------------------- /examples/ecmascript-decorators/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/ecmascript-decorators/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/README.md -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/jest.config.js -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/package.json -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/src/controllers/TestController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/src/controllers/TestController.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/src/index.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/src/services/Nested1Service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/src/services/Nested1Service.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/src/services/Nested2Service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/src/services/Nested2Service.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/src/services/Nested3Service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/src/services/Nested3Service.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/src/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/src/start.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/test/request-reply-injection.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/test/request-reply-injection.test.ts -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/tsconfig.app.json -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/tsconfig.base.json -------------------------------------------------------------------------------- /examples/injecting-requests-in-services/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/injecting-requests-in-services/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/request-handlers/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/request-handlers/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/request-handlers/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/request-handlers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/README.md -------------------------------------------------------------------------------- /examples/request-handlers/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/jest.config.js -------------------------------------------------------------------------------- /examples/request-handlers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/package.json -------------------------------------------------------------------------------- /examples/request-handlers/src/hooks/hooked.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/hooks/hooked.handler.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/index.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/start.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/user/create-user.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/user/create-user.handler.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/user/delete-user.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/user/delete-user.handler.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/user/get-user.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/user/get-user.handler.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/user/user-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/user/user-error.ts -------------------------------------------------------------------------------- /examples/request-handlers/src/user/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/src/user/user.ts -------------------------------------------------------------------------------- /examples/request-handlers/test/hooks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/test/hooks.test.ts -------------------------------------------------------------------------------- /examples/request-handlers/test/user.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/test/user.test.ts -------------------------------------------------------------------------------- /examples/request-handlers/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/tsconfig.app.json -------------------------------------------------------------------------------- /examples/request-handlers/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/tsconfig.base.json -------------------------------------------------------------------------------- /examples/request-handlers/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/request-handlers/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/swagger/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/swagger/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/swagger/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/swagger/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/README.md -------------------------------------------------------------------------------- /examples/swagger/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/jest.config.js -------------------------------------------------------------------------------- /examples/swagger/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/package.json -------------------------------------------------------------------------------- /examples/swagger/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/src/config.ts -------------------------------------------------------------------------------- /examples/swagger/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/src/index.ts -------------------------------------------------------------------------------- /examples/swagger/src/schemas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/src/schemas.ts -------------------------------------------------------------------------------- /examples/swagger/src/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/src/start.ts -------------------------------------------------------------------------------- /examples/swagger/src/typed.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/src/typed.controller.ts -------------------------------------------------------------------------------- /examples/swagger/test/typed.controller.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/test/typed.controller.test.ts -------------------------------------------------------------------------------- /examples/swagger/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/tsconfig.app.json -------------------------------------------------------------------------------- /examples/swagger/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/tsconfig.base.json -------------------------------------------------------------------------------- /examples/swagger/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/swagger/tsconfig.spec.json -------------------------------------------------------------------------------- /examples/typedi/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /examples/typedi/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /examples/typedi/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /examples/typedi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/README.md -------------------------------------------------------------------------------- /examples/typedi/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/jest.config.js -------------------------------------------------------------------------------- /examples/typedi/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/package.json -------------------------------------------------------------------------------- /examples/typedi/src/dependency-injection/injectable.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/src/dependency-injection/injectable.service.ts -------------------------------------------------------------------------------- /examples/typedi/src/dependency-injection/typedi.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/src/dependency-injection/typedi.controller.ts -------------------------------------------------------------------------------- /examples/typedi/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/src/index.ts -------------------------------------------------------------------------------- /examples/typedi/src/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/src/start.ts -------------------------------------------------------------------------------- /examples/typedi/test/dependency-injection.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/test/dependency-injection.test.ts -------------------------------------------------------------------------------- /examples/typedi/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/tsconfig.app.json -------------------------------------------------------------------------------- /examples/typedi/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/tsconfig.base.json -------------------------------------------------------------------------------- /examples/typedi/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/examples/typedi/tsconfig.spec.json -------------------------------------------------------------------------------- /jest.examples.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/jest.examples.config.js -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/README.md -------------------------------------------------------------------------------- /lib/bootstrap/bootstrap.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/bootstrap/bootstrap.spec.ts -------------------------------------------------------------------------------- /lib/bootstrap/bootstrap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/bootstrap/bootstrap.ts -------------------------------------------------------------------------------- /lib/bootstrap/mocks/controllers/broken.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/bootstrap/mocks/controllers/broken.mock.ts -------------------------------------------------------------------------------- /lib/bootstrap/mocks/controllers/sample.controller.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/bootstrap/mocks/controllers/sample.controller.mock.ts -------------------------------------------------------------------------------- /lib/bootstrap/mocks/handlers/sample.handler.mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/bootstrap/mocks/handlers/sample.handler.mock.ts -------------------------------------------------------------------------------- /lib/constants/scope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/constants/scope.ts -------------------------------------------------------------------------------- /lib/constants/symbols.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/constants/symbols.ts -------------------------------------------------------------------------------- /lib/decorators/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/controller.ts -------------------------------------------------------------------------------- /lib/decorators/error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/error-handler.ts -------------------------------------------------------------------------------- /lib/decorators/helpers/registrable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/helpers/registrable.ts -------------------------------------------------------------------------------- /lib/decorators/helpers/swagger-helper.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/helpers/swagger-helper.spec.ts -------------------------------------------------------------------------------- /lib/decorators/helpers/swagger-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/helpers/swagger-helper.ts -------------------------------------------------------------------------------- /lib/decorators/hook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/hook.ts -------------------------------------------------------------------------------- /lib/decorators/interop/class-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/interop/class-decorator.ts -------------------------------------------------------------------------------- /lib/decorators/interop/class-or-method-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/interop/class-or-method-decorator.ts -------------------------------------------------------------------------------- /lib/decorators/interop/metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/interop/metadata.ts -------------------------------------------------------------------------------- /lib/decorators/interop/method-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/interop/method-decorator.ts -------------------------------------------------------------------------------- /lib/decorators/request-handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/request-handlers.ts -------------------------------------------------------------------------------- /lib/decorators/strategies/controller-type.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/strategies/controller-type.spec.ts -------------------------------------------------------------------------------- /lib/decorators/strategies/controller-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/decorators/strategies/controller-type.ts -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/index.ts -------------------------------------------------------------------------------- /lib/interfaces/bootstrap-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/interfaces/bootstrap-config.ts -------------------------------------------------------------------------------- /lib/interfaces/error-handler-definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/interfaces/error-handler-definition.ts -------------------------------------------------------------------------------- /lib/interfaces/hook-definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/interfaces/hook-definition.ts -------------------------------------------------------------------------------- /lib/interfaces/registrable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/interfaces/registrable.ts -------------------------------------------------------------------------------- /lib/interfaces/request-handler-definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/interfaces/request-handler-definition.ts -------------------------------------------------------------------------------- /lib/interfaces/request-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/interfaces/request-handler.ts -------------------------------------------------------------------------------- /lib/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/jest.config.js -------------------------------------------------------------------------------- /lib/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/package.json -------------------------------------------------------------------------------- /lib/plugins/class-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/plugins/class-loader.ts -------------------------------------------------------------------------------- /lib/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/plugins/index.ts -------------------------------------------------------------------------------- /lib/plugins/life-cycle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/plugins/life-cycle.ts -------------------------------------------------------------------------------- /lib/polyfills.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/polyfills.ts -------------------------------------------------------------------------------- /lib/registry/container.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/registry/container.spec.ts -------------------------------------------------------------------------------- /lib/registry/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/registry/container.ts -------------------------------------------------------------------------------- /lib/registry/hooks-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/registry/hooks-registry.ts -------------------------------------------------------------------------------- /lib/rollup-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/rollup-config.js -------------------------------------------------------------------------------- /lib/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/tsconfig.json -------------------------------------------------------------------------------- /lib/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/tsconfig.lib.json -------------------------------------------------------------------------------- /lib/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/tsconfig.spec.json -------------------------------------------------------------------------------- /lib/utils/container-utils.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/utils/container-utils.spec.ts -------------------------------------------------------------------------------- /lib/utils/container-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/utils/container-utils.ts -------------------------------------------------------------------------------- /lib/utils/transform-and-wait.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/utils/transform-and-wait.spec.ts -------------------------------------------------------------------------------- /lib/utils/transform-and-wait.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/lib/utils/transform-and-wait.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/package.json -------------------------------------------------------------------------------- /patch-readme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/patch-readme.js -------------------------------------------------------------------------------- /plugins/simple-di/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.tsbuildinfo 3 | -------------------------------------------------------------------------------- /plugins/simple-di/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /plugins/simple-di/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /plugins/simple-di/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/README.md -------------------------------------------------------------------------------- /plugins/simple-di/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/jest.config.js -------------------------------------------------------------------------------- /plugins/simple-di/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/package.json -------------------------------------------------------------------------------- /plugins/simple-di/rollup-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/rollup-config.js -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/destructor.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/destructor.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/destructor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/destructor.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/helpers/ensure-service-injection.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/helpers/ensure-service-injection.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/helpers/ensure-service-injection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/helpers/ensure-service-injection.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/helpers/inject-dependencies.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/helpers/inject-dependencies.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/helpers/inject-dependencies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/helpers/inject-dependencies.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/helpers/patch-methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/helpers/patch-methods.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/initializer.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/initializer.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/initializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/initializer.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/inject.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/inject.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/inject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/inject.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/service.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/decorators/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/decorators/service.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/index.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/interfaces/injectable-class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/interfaces/injectable-class.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/registry/_injectables-holder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/registry/_injectables-holder.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/registry/injectables-holder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/registry/injectables-holder.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/symbols.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/symbols.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/configure-controller-test.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/configure-controller-test.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/configure-controller-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/configure-controller-test.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/configure-service-test.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/configure-service-test.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/configure-service-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/configure-service-test.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/fastify-plugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/fastify-plugins.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/index.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/mocks-manager.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/mocks-manager.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/mocks-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/mocks-manager.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/testing/service-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/testing/service-mock.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/utils/deferred.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/utils/deferred.spec.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/utils/deferred.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/utils/deferred.ts -------------------------------------------------------------------------------- /plugins/simple-di/src/utils/dependencies-scope-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/src/utils/dependencies-scope-manager.ts -------------------------------------------------------------------------------- /plugins/simple-di/testing/index.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/testing/index.cjs -------------------------------------------------------------------------------- /plugins/simple-di/testing/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from '../dist/testing/index.js'; 2 | -------------------------------------------------------------------------------- /plugins/simple-di/testing/index.js: -------------------------------------------------------------------------------- 1 | export * from '../dist/testing/index.js'; 2 | -------------------------------------------------------------------------------- /plugins/simple-di/testing/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/testing/package.json -------------------------------------------------------------------------------- /plugins/simple-di/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/tsconfig.base.json -------------------------------------------------------------------------------- /plugins/simple-di/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/tsconfig.lib.json -------------------------------------------------------------------------------- /plugins/simple-di/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/simple-di/tsconfig.spec.json -------------------------------------------------------------------------------- /plugins/typedi/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.tsbuildinfo 3 | -------------------------------------------------------------------------------- /plugins/typedi/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /plugins/typedi/.yarnrc: -------------------------------------------------------------------------------- 1 | --install.no-lockfile true 2 | -------------------------------------------------------------------------------- /plugins/typedi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/README.md -------------------------------------------------------------------------------- /plugins/typedi/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/jest.config.js -------------------------------------------------------------------------------- /plugins/typedi/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/package.json -------------------------------------------------------------------------------- /plugins/typedi/rollup-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/rollup-config.js -------------------------------------------------------------------------------- /plugins/typedi/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/src/index.ts -------------------------------------------------------------------------------- /plugins/typedi/src/use-container.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/src/use-container.spec.ts -------------------------------------------------------------------------------- /plugins/typedi/src/use-container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/src/use-container.ts -------------------------------------------------------------------------------- /plugins/typedi/tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/tsconfig.base.json -------------------------------------------------------------------------------- /plugins/typedi/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/tsconfig.lib.json -------------------------------------------------------------------------------- /plugins/typedi/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/plugins/typedi/tsconfig.spec.json -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/L2jLiga/fastify-decorators/HEAD/yarn.lock --------------------------------------------------------------------------------