feat: add bulk import endpoint

This commit is contained in:
2025-11-21 16:55:01 +05:30
parent bb51d62bed
commit f1b6f48a51
6 changed files with 148 additions and 0 deletions

24
pnpm-lock.yaml generated
View File

@@ -53,6 +53,9 @@ importers:
fastify-zod:
specifier: ^1.4.0
version: 1.4.0(fastify@5.2.0)
json-2-csv:
specifier: ^5.5.10
version: 5.5.10
lru-cache:
specifier: ^11.0.2
version: 11.0.2
@@ -691,6 +694,10 @@ packages:
supports-color:
optional: true
deeks@3.1.0:
resolution: {integrity: sha512-e7oWH1LzIdv/prMQ7pmlDlaVoL64glqzvNgkgQNgyec9ORPHrT2jaOqMtRyqJuwWjtfb6v+2rk9pmaHj+F137A==}
engines: {node: '>= 16'}
delayed-stream@1.0.0:
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
@@ -699,6 +706,10 @@ packages:
resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
engines: {node: '>= 0.8'}
doc-path@4.1.1:
resolution: {integrity: sha512-h1ErTglQAVv2gCnOpD3sFS6uolDbOKHDU1BZq+Kl3npPqroU3dYL42lUgMfd5UimlwtRgp7C9dLGwqQ5D2HYgQ==}
engines: {node: '>=16'}
dot-case@3.0.4:
resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==}
@@ -855,6 +866,10 @@ packages:
resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
hasBin: true
json-2-csv@5.5.10:
resolution: {integrity: sha512-Dep8wO3Fr5wNjQevO2Z8Y7yeee/nYSGRsi7q6zJDKEVHxXkXT+v21vxHmDX923UzmCXXkSo62HaTz6eTWzFLaw==}
engines: {node: '>= 16'}
json-schema-ref-resolver@1.0.1:
resolution: {integrity: sha512-EJAj1pgHc1hxF6vo2Z3s69fMjO1INq6eGHXZ8Z6wCQeldCuwxGK9Sxf4/cScGn3FZubCVUehfWtcDM/PLteCQw==}
@@ -2371,10 +2386,14 @@ snapshots:
dependencies:
ms: 2.1.3
deeks@3.1.0: {}
delayed-stream@1.0.0: {}
depd@2.0.0: {}
doc-path@4.1.1: {}
dot-case@3.0.4:
dependencies:
no-case: 3.0.4
@@ -2572,6 +2591,11 @@ snapshots:
dependencies:
argparse: 2.0.1
json-2-csv@5.5.10:
dependencies:
deeks: 3.1.0
doc-path: 4.1.1
json-schema-ref-resolver@1.0.1:
dependencies:
fast-deep-equal: 3.1.3