├── .eslintignore ├── .eslintrc ├── .github └── workflows │ ├── build.yaml │ └── publish.yaml ├── .gitignore ├── .prettierrc ├── README.md ├── examples ├── app-module.ts ├── app.ts ├── index.ts └── upload │ ├── upload-controller.ts │ └── upload-module.ts ├── nodemon.json ├── package.json ├── src ├── crypto │ └── index.ts ├── decorators │ ├── index.ts │ ├── uploaded-file-decorator.ts │ └── uploaded-files-decorator.ts ├── fs │ └── index.ts ├── index.ts ├── interceptors │ ├── any-files-interceptor.ts │ ├── file-fields-interceptor.ts │ ├── file-interceptor.ts │ ├── files-interceptor.ts │ └── index.ts ├── multipart │ ├── exceptions.ts │ ├── file.ts │ ├── filter.ts │ ├── handlers │ │ ├── any-files.ts │ │ ├── file-fields.ts │ │ ├── index.ts │ │ ├── multiple-files.ts │ │ └── single-file.ts │ ├── index.ts │ ├── options.ts │ └── request.ts ├── storage │ ├── disk-storage.ts │ ├── index.ts │ ├── memory-storage.ts │ └── storage.ts └── stream │ └── index.ts ├── tsconfig.examples.json ├── tsconfig.json ├── tsconfig.lib.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/README.md -------------------------------------------------------------------------------- /examples/app-module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/examples/app-module.ts -------------------------------------------------------------------------------- /examples/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/examples/app.ts -------------------------------------------------------------------------------- /examples/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/examples/index.ts -------------------------------------------------------------------------------- /examples/upload/upload-controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/examples/upload/upload-controller.ts -------------------------------------------------------------------------------- /examples/upload/upload-module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/examples/upload/upload-module.ts -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/package.json -------------------------------------------------------------------------------- /src/crypto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/crypto/index.ts -------------------------------------------------------------------------------- /src/decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/decorators/index.ts -------------------------------------------------------------------------------- /src/decorators/uploaded-file-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/decorators/uploaded-file-decorator.ts -------------------------------------------------------------------------------- /src/decorators/uploaded-files-decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/decorators/uploaded-files-decorator.ts -------------------------------------------------------------------------------- /src/fs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/fs/index.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interceptors/any-files-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/interceptors/any-files-interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/file-fields-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/interceptors/file-fields-interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/file-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/interceptors/file-interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/files-interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/interceptors/files-interceptor.ts -------------------------------------------------------------------------------- /src/interceptors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/interceptors/index.ts -------------------------------------------------------------------------------- /src/multipart/exceptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/exceptions.ts -------------------------------------------------------------------------------- /src/multipart/file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/file.ts -------------------------------------------------------------------------------- /src/multipart/filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/filter.ts -------------------------------------------------------------------------------- /src/multipart/handlers/any-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/handlers/any-files.ts -------------------------------------------------------------------------------- /src/multipart/handlers/file-fields.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/handlers/file-fields.ts -------------------------------------------------------------------------------- /src/multipart/handlers/index.ts: -------------------------------------------------------------------------------- 1 | export { UploadField } from "./file-fields"; 2 | -------------------------------------------------------------------------------- /src/multipart/handlers/multiple-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/handlers/multiple-files.ts -------------------------------------------------------------------------------- /src/multipart/handlers/single-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/handlers/single-file.ts -------------------------------------------------------------------------------- /src/multipart/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/index.ts -------------------------------------------------------------------------------- /src/multipart/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/options.ts -------------------------------------------------------------------------------- /src/multipart/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/multipart/request.ts -------------------------------------------------------------------------------- /src/storage/disk-storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/storage/disk-storage.ts -------------------------------------------------------------------------------- /src/storage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/storage/index.ts -------------------------------------------------------------------------------- /src/storage/memory-storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/storage/memory-storage.ts -------------------------------------------------------------------------------- /src/storage/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/storage/storage.ts -------------------------------------------------------------------------------- /src/stream/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/src/stream/index.ts -------------------------------------------------------------------------------- /tsconfig.examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/tsconfig.examples.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/tsconfig.lib.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Blazity/nest-file-fastify/HEAD/yarn.lock --------------------------------------------------------------------------------