Update ESLint configuration, Dockerfile, and package dependencies; add GitHub Actions workflow for code quality checks

- Changed ESLint parser options to use 'module' as source type.
- Updated Dockerfile to remove force flag from npm install command.
- Upgraded 'mime' package from version 3.0.0 to 4.0.0 in package.json.
- Added '@types/mime' as a development dependency.
- Updated TypeScript configuration to use 'CommonJS' module format.
- Introduced a new GitHub Actions workflow for checking code quality, including linting and build checks.
This commit is contained in:
Davidson Gomes 2025-01-09 17:04:33 -03:00
parent d598c4ed0b
commit 616ae0a7eb
6 changed files with 226 additions and 182 deletions

View File

@ -3,7 +3,7 @@ module.exports = {
parserOptions: { parserOptions: {
project: 'tsconfig.json', project: 'tsconfig.json',
tsconfigRootDir: __dirname, tsconfigRootDir: __dirname,
sourceType: 'commonjs', sourceType: 'module',
warnOnUnsupportedTypeScriptVersion: false, warnOnUnsupportedTypeScriptVersion: false,
EXPERIMENTAL_useSourceOfProjectReferenceRedirect: true, EXPERIMENTAL_useSourceOfProjectReferenceRedirect: true,
}, },

View File

@ -0,0 +1,28 @@
name: Check Code Quality
on: [pull_request]
jobs:
check-lint-and-build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 20.x
- name: Install packages
run: npm install
- name: Check linting
run: npm run lint:check
- name: Check build
run: npm run db:generate
- name: Check build
run: npm run build

View File

@ -11,7 +11,7 @@ WORKDIR /evolution
COPY ./package.json ./tsconfig.json ./ COPY ./package.json ./tsconfig.json ./
RUN npm install -f RUN npm install
COPY ./src ./src COPY ./src ./src
COPY ./public ./public COPY ./public ./public

368
package-lock.json generated
View File

@ -38,7 +38,7 @@
"link-preview-js": "^3.0.13", "link-preview-js": "^3.0.13",
"long": "^5.2.3", "long": "^5.2.3",
"mediainfo.js": "^0.3.4", "mediainfo.js": "^0.3.4",
"mime": "^3.0.0", "mime": "^4.0.0",
"minio": "^8.0.3", "minio": "^8.0.3",
"multer": "^1.4.5-lts.1", "multer": "^1.4.5-lts.1",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
@ -60,6 +60,7 @@
"@types/cors": "^2.8.17", "@types/cors": "^2.8.17",
"@types/express": "^4.17.18", "@types/express": "^4.17.18",
"@types/json-schema": "^7.0.15", "@types/json-schema": "^7.0.15",
"@types/mime": "^4.0.0",
"@types/node": "^22.10.5", "@types/node": "^22.10.5",
"@types/node-cron": "^3.0.11", "@types/node-cron": "^3.0.11",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",
@ -3097,11 +3098,11 @@
} }
}, },
"node_modules/@smithy/abort-controller": { "node_modules/@smithy/abort-controller": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.0.1.tgz",
"integrity": "sha512-xFNL1ZfluscKiVI0qlPEnu7pL1UgNNIzQdjTPkaO7JCJtIkbArPYNtqbxohuNaQdksJ01Tn1wLbDA5oIp62P8w==", "integrity": "sha512-fiUIYgIgRjMWznk6iLJz35K2YxSLHzLBA/RC6lBrKfQ8fHbPfvk7Pk9UvpKoHgJjI18MnbPuEju53zcVy6KF1g==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3109,14 +3110,14 @@
} }
}, },
"node_modules/@smithy/config-resolver": { "node_modules/@smithy/config-resolver": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.0.1.tgz",
"integrity": "sha512-29pIDlUY/a9+ChJPAarPiD9cU8fBtBh0wFnmnhj7j5AhgMzc+uyXdfzmziH6xx2jzw54waSP3HfnFkTANZuPYA==", "integrity": "sha512-Igfg8lKu3dRVkTSEm98QpZUvKEOa71jDX4vKRcvJVyRc3UgN3j7vFMf0s7xLQhYmKa8kyJGQgUJDOV5V3neVlQ==",
"dependencies": { "dependencies": {
"@smithy/node-config-provider": "^4.0.0", "@smithy/node-config-provider": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-config-provider": "^4.0.0", "@smithy/util-config-provider": "^4.0.0",
"@smithy/util-middleware": "^4.0.0", "@smithy/util-middleware": "^4.0.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3124,16 +3125,16 @@
} }
}, },
"node_modules/@smithy/core": { "node_modules/@smithy/core": {
"version": "3.0.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.1.0.tgz",
"integrity": "sha512-pKaas7RWvPljJ8uByCeBa10rtbVJCy4N/Fr7OSPxFezcyG0SQuXWnESZqzXj7m2+A+kPzG6fKyP4wrKidl2Ikg==", "integrity": "sha512-swFv0wQiK7TGHeuAp6lfF5Kw1dHWsTrCuc+yh4Kh05gEShjsE2RUxHucEerR9ih9JITNtaHcSpUThn5Y/vDw0A==",
"dependencies": { "dependencies": {
"@smithy/middleware-serde": "^4.0.0", "@smithy/middleware-serde": "^4.0.1",
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-body-length-browser": "^4.0.0", "@smithy/util-body-length-browser": "^4.0.0",
"@smithy/util-middleware": "^4.0.0", "@smithy/util-middleware": "^4.0.1",
"@smithy/util-stream": "^4.0.0", "@smithy/util-stream": "^4.0.1",
"@smithy/util-utf8": "^4.0.0", "@smithy/util-utf8": "^4.0.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
@ -3142,14 +3143,14 @@
} }
}, },
"node_modules/@smithy/credential-provider-imds": { "node_modules/@smithy/credential-provider-imds": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.0.1.tgz",
"integrity": "sha512-+hTShyZHiq2AVFOxJja3k6O17DKU6TaZbwr2y1OH5HQtUw2a+7O3mMR+10LVmc39ef72SAj+uFX0IW9rJGaLQQ==", "integrity": "sha512-l/qdInaDq1Zpznpmev/+52QomsJNZ3JkTl5yrTl02V6NBgJOQ4LY0SFw/8zsMwj3tLe8vqiIuwF6nxaEwgf6mg==",
"dependencies": { "dependencies": {
"@smithy/node-config-provider": "^4.0.0", "@smithy/node-config-provider": "^4.0.1",
"@smithy/property-provider": "^4.0.0", "@smithy/property-provider": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/url-parser": "^4.0.0", "@smithy/url-parser": "^4.0.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3157,13 +3158,13 @@
} }
}, },
"node_modules/@smithy/fetch-http-handler": { "node_modules/@smithy/fetch-http-handler": {
"version": "5.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.0.1.tgz",
"integrity": "sha512-jUEq+4056uqsDLRqQb1fm48rrSMBYcBxVvODfiP37ORcV5n9xWJQsINWcIffyYxWTM5K0Y/GOfhSQGDtWpAPpQ==", "integrity": "sha512-3aS+fP28urrMW2KTjb6z9iFow6jO8n3MFfineGbndvzGZit3taZhKWtTorf+Gp5RpFDDafeHlhfsGlDCXvUnJA==",
"dependencies": { "dependencies": {
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/querystring-builder": "^4.0.0", "@smithy/querystring-builder": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-base64": "^4.0.0", "@smithy/util-base64": "^4.0.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
@ -3172,11 +3173,11 @@
} }
}, },
"node_modules/@smithy/hash-node": { "node_modules/@smithy/hash-node": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.0.1.tgz",
"integrity": "sha512-25OxGYGnG3JPEOTk4iFE03bfmoC6GXUQ4L13z4cNdsS3mkncH22AGSDRfKwwEqutNUxXQZWVy9f72Fm59C9qlg==", "integrity": "sha512-TJ6oZS+3r2Xu4emVse1YPB3Dq3d8RkZDKcPr71Nj/lJsdAP1c7oFzYqEn1IBc915TsgLl2xIJNuxCz+gLbLE0w==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-buffer-from": "^4.0.0", "@smithy/util-buffer-from": "^4.0.0",
"@smithy/util-utf8": "^4.0.0", "@smithy/util-utf8": "^4.0.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
@ -3186,11 +3187,11 @@
} }
}, },
"node_modules/@smithy/invalid-dependency": { "node_modules/@smithy/invalid-dependency": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.0.1.tgz",
"integrity": "sha512-0GTyet02HX/sPctEhOExY+3HI7hwkVwOoJg0XnItTJ+Xw7JMuL9FOxALTmKVIV6+wg0kF6veLeg72hVSbD9UCw==", "integrity": "sha512-gdudFPf4QRQ5pzj7HEnu6FhKRi61BfH/Gk5Yf6O0KiSbr1LlVhgjThcvjdu658VE6Nve8vaIWB8/fodmS1rBPQ==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3209,11 +3210,11 @@
} }
}, },
"node_modules/@smithy/md5-js": { "node_modules/@smithy/md5-js": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/md5-js/-/md5-js-4.0.1.tgz",
"integrity": "sha512-NUjbK+M1RNd0J/mM3eh4Yw5SfUrJBsIAea/H5dvc8tirxWFHFDUHJ/CK40/vtY3niiYnygWjZZ+ISydray6Raw==", "integrity": "sha512-HLZ647L27APi6zXkZlzSFZIjpo8po45YiyjMGJZM3gyDY8n7dPGdmxIIljLm4gPt/7rRvutLTTkYJpZVfG5r+A==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-utf8": "^4.0.0", "@smithy/util-utf8": "^4.0.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
@ -3222,12 +3223,12 @@
} }
}, },
"node_modules/@smithy/middleware-content-length": { "node_modules/@smithy/middleware-content-length": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.0.1.tgz",
"integrity": "sha512-nM1RJqLwkSCidumGK8WwNEZ0a0D/4LkwqdPna+QmHrdPoAK6WGLyZFosdMpsAW1OIbDLWGa+r37Mo4Vth4S4kQ==", "integrity": "sha512-OGXo7w5EkB5pPiac7KNzVtfCW2vKBTZNuCctn++TTSOMpe6RZO/n6WEC1AxJINn3+vWLKW49uad3lo/u0WJ9oQ==",
"dependencies": { "dependencies": {
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3235,17 +3236,17 @@
} }
}, },
"node_modules/@smithy/middleware-endpoint": { "node_modules/@smithy/middleware-endpoint": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.0.1.tgz",
"integrity": "sha512-/f6z5SqUurmqemhBZNhM0c+C7QW0AY/zJpic//sbdu26q98HSPAI/xvzStjYq+UhtWeAe/jaX6gamdL/2r3W1g==", "integrity": "sha512-hCCOPu9+sRI7Wj0rZKKnGylKXBEd9cQJetzjQqe8cT4PWvtQAbvNVa6cgAONiZg9m8LaXtP9/waxm3C3eO4hiw==",
"dependencies": { "dependencies": {
"@smithy/core": "^3.0.0", "@smithy/core": "^3.1.0",
"@smithy/middleware-serde": "^4.0.0", "@smithy/middleware-serde": "^4.0.1",
"@smithy/node-config-provider": "^4.0.0", "@smithy/node-config-provider": "^4.0.1",
"@smithy/shared-ini-file-loader": "^4.0.0", "@smithy/shared-ini-file-loader": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/url-parser": "^4.0.0", "@smithy/url-parser": "^4.0.1",
"@smithy/util-middleware": "^4.0.0", "@smithy/util-middleware": "^4.0.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3253,17 +3254,17 @@
} }
}, },
"node_modules/@smithy/middleware-retry": { "node_modules/@smithy/middleware-retry": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.0.1.tgz",
"integrity": "sha512-K6tsFp3Ik44H3694a+LWoXLV8mqy8zn6/vTw2feU72MaIzi51EHMVNNxxpL6e2GI6oxw8FFRGWgGn8+wQRrHZQ==", "integrity": "sha512-n3g2zZFgOWaz2ZYCy8+4wxSmq+HSTD8QKkRhFDv+nkxY1o7gzyp4PDz/+tOdcNPMPZ/A6Mt4aVECYNjQNiaHJw==",
"dependencies": { "dependencies": {
"@smithy/node-config-provider": "^4.0.0", "@smithy/node-config-provider": "^4.0.1",
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/service-error-classification": "^4.0.0", "@smithy/service-error-classification": "^4.0.1",
"@smithy/smithy-client": "^4.0.0", "@smithy/smithy-client": "^4.1.0",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-middleware": "^4.0.0", "@smithy/util-middleware": "^4.0.1",
"@smithy/util-retry": "^4.0.0", "@smithy/util-retry": "^4.0.1",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },
@ -3272,11 +3273,11 @@
} }
}, },
"node_modules/@smithy/middleware-serde": { "node_modules/@smithy/middleware-serde": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.0.1.tgz",
"integrity": "sha512-aW4Zo8Cm988RCvhysErzqrQ4YPKgZFhajvgPoZnsWIDaZfT419J17Ahr13Lul3kqGad2dCz7YOrXd7r+UAEj/w==", "integrity": "sha512-Fh0E2SOF+S+P1+CsgKyiBInAt3o2b6Qk7YOp2W0Qx2XnfTdfMuSDKUEcnrtpxCzgKJnqXeLUZYqtThaP0VGqtA==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3284,11 +3285,11 @@
} }
}, },
"node_modules/@smithy/middleware-stack": { "node_modules/@smithy/middleware-stack": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.0.1.tgz",
"integrity": "sha512-4NFaX88RmgVrCyJv/3RsSdqMwxzI/EQa8nvhUDVxmLUMRS2JUdHnliD6IwKuqIwIzz+E1aZK3EhSHUM4HXp3ww==", "integrity": "sha512-dHwDmrtR/ln8UTHpaIavRSzeIk5+YZTBtLnKwDW3G2t6nAupCiQUvNzNoHBpik63fwUaJPtlnMzXbQrNFWssIA==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3296,13 +3297,13 @@
} }
}, },
"node_modules/@smithy/node-config-provider": { "node_modules/@smithy/node-config-provider": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.0.1.tgz",
"integrity": "sha512-Crp9rg1ewjqgM2i7pWSpNhfbBa0usyKGDVQLEXTOpu6trFqq3BFLLCgbCE1S18h6mxqKnOqUONq3nWOxUk75XA==", "integrity": "sha512-8mRTjvCtVET8+rxvmzRNRR0hH2JjV0DFOmwXPrISmTIJEfnCBugpYYGAsCj8t41qd+RB5gbheSQ/6aKZCQvFLQ==",
"dependencies": { "dependencies": {
"@smithy/property-provider": "^4.0.0", "@smithy/property-provider": "^4.0.1",
"@smithy/shared-ini-file-loader": "^4.0.0", "@smithy/shared-ini-file-loader": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3310,14 +3311,14 @@
} }
}, },
"node_modules/@smithy/node-http-handler": { "node_modules/@smithy/node-http-handler": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.0.1.tgz",
"integrity": "sha512-WvumtEaFyxaI95zmj6eYlF/vCFCKNyru3P/UUHCUS9BjvajUtNckH2cY3bBfi+qqMPX5gha4g26lcOlE/wPz/Q==", "integrity": "sha512-ddQc7tvXiVLC5c3QKraGWde761KSk+mboCheZoWtuqnXh5l0WKyFy3NfDIM/dsKrI9HlLVH/21pi9wWK2gUFFA==",
"dependencies": { "dependencies": {
"@smithy/abort-controller": "^4.0.0", "@smithy/abort-controller": "^4.0.1",
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/querystring-builder": "^4.0.0", "@smithy/querystring-builder": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3325,11 +3326,11 @@
} }
}, },
"node_modules/@smithy/property-provider": { "node_modules/@smithy/property-provider": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.0.1.tgz",
"integrity": "sha512-AJSvY1k3SdM0stGrIjL8/FIjXO7X9I7KkznXDmr76RGz+yvaDHLsLm2hSHyzAlmwEQnHaafSU2dwaV0JcnR/4w==", "integrity": "sha512-o+VRiwC2cgmk/WFV0jaETGOtX16VNPp2bSQEzu0whbReqE1BMqsP2ami2Vi3cbGVdKu1kq9gQkDAGKbt0WOHAQ==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3337,11 +3338,11 @@
} }
}, },
"node_modules/@smithy/protocol-http": { "node_modules/@smithy/protocol-http": {
"version": "5.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.0.1.tgz",
"integrity": "sha512-laAcIHWq9GQ5VdAS71DUrCj5HUHZ/89Ee+HRTLhFR5/E3toBlnZfPG+kqBajwfEB5aSdRuKslfzl5Dzrn3pr8A==", "integrity": "sha512-TE4cpj49jJNB/oHyh/cRVEgNZaoPaxd4vteJNB0yGidOCVR0jCw/hjPVsT8Q8FRmj8Bd3bFZt8Dh7xGCT+xMBQ==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3349,11 +3350,11 @@
} }
}, },
"node_modules/@smithy/querystring-builder": { "node_modules/@smithy/querystring-builder": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.0.1.tgz",
"integrity": "sha512-kMqPDRf+/hwm+Dmk8AQCaYTJxNWWpNdJJteeMm0jwDbmRDqSqHQ7oLEVzvOnbWJu1poVtOhv6v7jsbyx9JASsw==", "integrity": "sha512-wU87iWZoCbcqrwszsOewEIuq+SU2mSoBE2CcsLwE0I19m0B2gOJr1MVjxWcDQYOzHbR1xCk7AcOBbGFUYOKvdg==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-uri-escape": "^4.0.0", "@smithy/util-uri-escape": "^4.0.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
@ -3362,11 +3363,11 @@
} }
}, },
"node_modules/@smithy/querystring-parser": { "node_modules/@smithy/querystring-parser": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.0.1.tgz",
"integrity": "sha512-SbogL1PNEmm28ya0eK2S0EZEbYwe0qpaqSGrODm+uYS6dQ7pekPLVNXjBRuuLIAT26ZF2wTsp6X7AVRBNZd8qw==", "integrity": "sha512-Ma2XC7VS9aV77+clSFylVUnPZRindhB7BbmYiNOdr+CHt/kZNJoPP0cd3QxCnCFyPXC4eybmyE98phEHkqZ5Jw==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3374,22 +3375,22 @@
} }
}, },
"node_modules/@smithy/service-error-classification": { "node_modules/@smithy/service-error-classification": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.0.1.tgz",
"integrity": "sha512-hIZreT6aXSG0PK/psT1S+kfeGTnYnRRlf7rU3yDmH/crSVjTbS/5h5w2J7eO2ODrQb3xfhJcYxQBREdwsZk6TA==", "integrity": "sha512-3JNjBfOWpj/mYfjXJHB4Txc/7E4LVq32bwzE7m28GN79+M1f76XHflUaSUkhOriprPDzev9cX/M+dEB80DNDKA==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0" "@smithy/types": "^4.1.0"
}, },
"engines": { "engines": {
"node": ">=18.0.0" "node": ">=18.0.0"
} }
}, },
"node_modules/@smithy/shared-ini-file-loader": { "node_modules/@smithy/shared-ini-file-loader": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.0.1.tgz",
"integrity": "sha512-Ktupe8msp2GPaKKVfiz3NNUNnslJiGGRoVh3BDpm/RChkQ5INQpqmTc2taE0XChNYumNynLfb3keekIPaiaZeg==", "integrity": "sha512-hC8F6qTBbuHRI/uqDgqqi6J0R4GtEZcgrZPhFQnMhfJs3MnUTGSnR1NSJCJs5VWlMydu0kJz15M640fJlRsIOw==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3397,15 +3398,15 @@
} }
}, },
"node_modules/@smithy/signature-v4": { "node_modules/@smithy/signature-v4": {
"version": "5.0.0", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.0.1.tgz",
"integrity": "sha512-zqcOR1sZTuoA6K3PBNwzu4YgT1pmIwz47tYpgaJjBTfGUIMtcjUaXKtuSKEScdv+0wx45/PbXz0//hk80fky3w==", "integrity": "sha512-nCe6fQ+ppm1bQuw5iKoeJ0MJfz2os7Ic3GBjOkLOPtavbD1ONoyE3ygjBfz2ythFWm4YnRm6OxW+8p/m9uCoIA==",
"dependencies": { "dependencies": {
"@smithy/is-array-buffer": "^4.0.0", "@smithy/is-array-buffer": "^4.0.0",
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-hex-encoding": "^4.0.0", "@smithy/util-hex-encoding": "^4.0.0",
"@smithy/util-middleware": "^4.0.0", "@smithy/util-middleware": "^4.0.1",
"@smithy/util-uri-escape": "^4.0.0", "@smithy/util-uri-escape": "^4.0.0",
"@smithy/util-utf8": "^4.0.0", "@smithy/util-utf8": "^4.0.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
@ -3415,16 +3416,16 @@
} }
}, },
"node_modules/@smithy/smithy-client": { "node_modules/@smithy/smithy-client": {
"version": "4.0.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.1.0.tgz",
"integrity": "sha512-AgcZ6B+JuqArYioAbaYrCpTCjYsD3/1hPSXntbN2ipsfc4hE+72RFZevUPYgsKxpy3G+QxuLfqm11i3+oX4oSA==", "integrity": "sha512-NiboZnrsrZY+Cy5hQNbYi+nVNssXVi2I+yL4CIKNIanOhH8kpC5PKQ2jx/MQpwVr21a3XcVoQBArlpRF36OeEQ==",
"dependencies": { "dependencies": {
"@smithy/core": "^3.0.0", "@smithy/core": "^3.1.0",
"@smithy/middleware-endpoint": "^4.0.0", "@smithy/middleware-endpoint": "^4.0.1",
"@smithy/middleware-stack": "^4.0.0", "@smithy/middleware-stack": "^4.0.1",
"@smithy/protocol-http": "^5.0.0", "@smithy/protocol-http": "^5.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-stream": "^4.0.0", "@smithy/util-stream": "^4.0.1",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3432,9 +3433,9 @@
} }
}, },
"node_modules/@smithy/types": { "node_modules/@smithy/types": {
"version": "4.0.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.1.0.tgz",
"integrity": "sha512-aNwIGSOgDOhtTRY/rrn2aeuQeKw/IFrQ998yK5l6Ah853WeWIEmFPs/EO4OpfADEdcK+igWnZytm/oUgkLgUYg==", "integrity": "sha512-enhjdwp4D7CXmwLtD6zbcDMbo6/T6WtuuKCY49Xxc6OMOmUWlBEBDREsxxgV2LIdeQPW756+f97GzcgAwp3iLw==",
"dependencies": { "dependencies": {
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
@ -3443,12 +3444,12 @@
} }
}, },
"node_modules/@smithy/url-parser": { "node_modules/@smithy/url-parser": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.0.1.tgz",
"integrity": "sha512-2iPpuLoH0hCKpLtqVgilHtpPKsmHihbkwBm3h3RPuEctdmuiOlFRZ2ZI8IHSwl0o4ff5IdyyJ0yu/2tS9KpUug==", "integrity": "sha512-gPXcIEUtw7VlK8f/QcruNXm7q+T5hhvGu9tl63LsJPZ27exB6dtNwvh2HIi0v7JcXJ5emBxB+CJxwaLEdJfA+g==",
"dependencies": { "dependencies": {
"@smithy/querystring-parser": "^4.0.0", "@smithy/querystring-parser": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3514,13 +3515,13 @@
} }
}, },
"node_modules/@smithy/util-defaults-mode-browser": { "node_modules/@smithy/util-defaults-mode-browser": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.1.tgz",
"integrity": "sha512-7wqsXkzaJkpSqV+Ca95pN9yQutXvhaKeCxGGmjWnRGXY1fW/yR7wr1ouNnUYCJuTS8MvmB61xp5Qdj8YMgIA2Q==", "integrity": "sha512-nkQifWzWUHw/D0aLPgyKut+QnJ5X+5E8wBvGfvrYLLZ86xPfVO6MoqfQo/9s4bF3Xscefua1M6KLZtobHMWrBg==",
"dependencies": { "dependencies": {
"@smithy/property-provider": "^4.0.0", "@smithy/property-provider": "^4.0.1",
"@smithy/smithy-client": "^4.0.0", "@smithy/smithy-client": "^4.1.0",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"bowser": "^2.11.0", "bowser": "^2.11.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
@ -3529,16 +3530,16 @@
} }
}, },
"node_modules/@smithy/util-defaults-mode-node": { "node_modules/@smithy/util-defaults-mode-node": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.1.tgz",
"integrity": "sha512-P8VK885kiRT6TEtvcQvz+L/+xIhrDhCmM664ToUtrshFSBhwGYaJWlQNAH9fXlMhwnNvR+tmh1KngKJIgQP6bw==", "integrity": "sha512-LeAx2faB83litC9vaOdwFaldtto2gczUHxfFf8yoRwDU3cwL4/pDm7i0hxsuBCRk5mzHsrVGw+3EVCj32UZMdw==",
"dependencies": { "dependencies": {
"@smithy/config-resolver": "^4.0.0", "@smithy/config-resolver": "^4.0.1",
"@smithy/credential-provider-imds": "^4.0.0", "@smithy/credential-provider-imds": "^4.0.1",
"@smithy/node-config-provider": "^4.0.0", "@smithy/node-config-provider": "^4.0.1",
"@smithy/property-provider": "^4.0.0", "@smithy/property-provider": "^4.0.1",
"@smithy/smithy-client": "^4.0.0", "@smithy/smithy-client": "^4.1.0",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3546,12 +3547,12 @@
} }
}, },
"node_modules/@smithy/util-endpoints": { "node_modules/@smithy/util-endpoints": {
"version": "3.0.0", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.0.1.tgz",
"integrity": "sha512-kyOKbkg77lsIVN2jC08uEWm3s16eK1YdVDyi/nKeBDbUnjR30dmTEga79E5tiu5OEgTAdngNswA9V+L6xa65sA==", "integrity": "sha512-zVdUENQpdtn9jbpD9SCFK4+aSiavRb9BxEtw9ZGUR1TYo6bBHbIoi7VkrFQ0/RwZlzx0wRBaRmPclj8iAoJCLA==",
"dependencies": { "dependencies": {
"@smithy/node-config-provider": "^4.0.0", "@smithy/node-config-provider": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3570,11 +3571,11 @@
} }
}, },
"node_modules/@smithy/util-middleware": { "node_modules/@smithy/util-middleware": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.0.1.tgz",
"integrity": "sha512-ncuvK6ekpDqtASHg7jx3d3nrkD2BsTzUmeVgvtepuHGxtySY8qUlb4SiNRdxHYcv3pL2SwdXs70RwKBU0edW5w==", "integrity": "sha512-HiLAvlcqhbzhuiOa0Lyct5IIlyIz0PQO5dnMlmQ/ubYM46dPInB+3yQGkfxsk6Q24Y0n3/JmcA1v5iEhmOF5mA==",
"dependencies": { "dependencies": {
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3582,12 +3583,12 @@
} }
}, },
"node_modules/@smithy/util-retry": { "node_modules/@smithy/util-retry": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.0.1.tgz",
"integrity": "sha512-64WFoC19NVuHh3HQO2QbGw+n6GzQ6VH/drxwXLOU3GDLKxUUzIR9XNm9aTVqh8/7R+y+DgITiv5LpX5XdOy73A==", "integrity": "sha512-WmRHqNVwn3kI3rKk1LsKcVgPBG6iLTBGC1iYOV3GQegwJ3E8yjzHytPt26VNzOWr1qu0xE03nK0Ug8S7T7oufw==",
"dependencies": { "dependencies": {
"@smithy/service-error-classification": "^4.0.0", "@smithy/service-error-classification": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"tslib": "^2.6.2" "tslib": "^2.6.2"
}, },
"engines": { "engines": {
@ -3595,13 +3596,13 @@
} }
}, },
"node_modules/@smithy/util-stream": { "node_modules/@smithy/util-stream": {
"version": "4.0.0", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.0.0.tgz", "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.0.1.tgz",
"integrity": "sha512-ctcLq8Ogi2FQuGy2RxJXGGrozhFEb4p9FawB5SpTNAkNQWbNHcwrGcVSVI3FtdQtkNAINLiEdMnrx+UN/mafvw==", "integrity": "sha512-Js16gOgU6Qht6qTPfuJgb+1YD4AEO+5Y1UPGWKSp3BNo8ONl/qhXSYDhFKJtwybRJynlCqvP5IeiaBsUmkSPTQ==",
"dependencies": { "dependencies": {
"@smithy/fetch-http-handler": "^5.0.0", "@smithy/fetch-http-handler": "^5.0.1",
"@smithy/node-http-handler": "^4.0.0", "@smithy/node-http-handler": "^4.0.1",
"@smithy/types": "^4.0.0", "@smithy/types": "^4.1.0",
"@smithy/util-base64": "^4.0.0", "@smithy/util-base64": "^4.0.0",
"@smithy/util-buffer-from": "^4.0.0", "@smithy/util-buffer-from": "^4.0.0",
"@smithy/util-hex-encoding": "^4.0.0", "@smithy/util-hex-encoding": "^4.0.0",
@ -3808,6 +3809,16 @@
"resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz",
"integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA=="
}, },
"node_modules/@types/mime": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-4.0.0.tgz",
"integrity": "sha512-5eEkJZ/BLvTE3vXGKkWlyTSUVZuzj23Wj8PoyOq2lt5I3CYbiLBOPb3XmCW6QcuOibIUE6emHXHt9E/F/rCa6w==",
"deprecated": "This is a stub types definition. mime provides its own type definitions, so you do not need this installed.",
"dev": true,
"dependencies": {
"mime": "*"
}
},
"node_modules/@types/mysql": { "node_modules/@types/mysql": {
"version": "2.15.26", "version": "2.15.26",
"resolved": "https://registry.npmjs.org/@types/mysql/-/mysql-2.15.26.tgz", "resolved": "https://registry.npmjs.org/@types/mysql/-/mysql-2.15.26.tgz",
@ -8474,14 +8485,17 @@
} }
}, },
"node_modules/mime": { "node_modules/mime": {
"version": "3.0.0", "version": "4.0.6",
"resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.6.tgz",
"integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", "integrity": "sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==",
"funding": [
"https://github.com/sponsors/broofa"
],
"bin": { "bin": {
"mime": "cli.js" "mime": "bin/cli.js"
}, },
"engines": { "engines": {
"node": ">=10.0.0" "node": ">=16"
} }
}, },
"node_modules/mime-db": { "node_modules/mime-db": {

View File

@ -11,6 +11,7 @@
"dev:server": "tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts", "dev:server": "tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./src/main.ts",
"test": "tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./test/all.test.ts", "test": "tsnd -r tsconfig-paths/register --files --transpile-only --respawn --ignore-watch node_modules ./test/all.test.ts",
"lint": "eslint --fix --ext .ts src", "lint": "eslint --fix --ext .ts src",
"lint:check": "eslint --ext .ts src",
"db:generate": "node runWithProvider.js \"npx prisma generate --schema ./prisma/DATABASE_PROVIDER-schema.prisma\"", "db:generate": "node runWithProvider.js \"npx prisma generate --schema ./prisma/DATABASE_PROVIDER-schema.prisma\"",
"db:deploy": "node runWithProvider.js \"rm -rf ./prisma/migrations && cp -r ./prisma/DATABASE_PROVIDER-migrations ./prisma/migrations && npx prisma migrate deploy --schema ./prisma/DATABASE_PROVIDER-schema.prisma\"", "db:deploy": "node runWithProvider.js \"rm -rf ./prisma/migrations && cp -r ./prisma/DATABASE_PROVIDER-migrations ./prisma/migrations && npx prisma migrate deploy --schema ./prisma/DATABASE_PROVIDER-schema.prisma\"",
"db:deploy:win": "node runWithProvider.js \"xcopy /E /I prisma\\DATABASE_PROVIDER-migrations prisma\\migrations && npx prisma migrate deploy --schema prisma\\DATABASE_PROVIDER-schema.prisma\"", "db:deploy:win": "node runWithProvider.js \"xcopy /E /I prisma\\DATABASE_PROVIDER-migrations prisma\\migrations && npx prisma migrate deploy --schema prisma\\DATABASE_PROVIDER-schema.prisma\"",
@ -77,7 +78,7 @@
"link-preview-js": "^3.0.13", "link-preview-js": "^3.0.13",
"long": "^5.2.3", "long": "^5.2.3",
"mediainfo.js": "^0.3.4", "mediainfo.js": "^0.3.4",
"mime": "^3.0.0", "mime": "^4.0.0",
"minio": "^8.0.3", "minio": "^8.0.3",
"multer": "^1.4.5-lts.1", "multer": "^1.4.5-lts.1",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
@ -99,6 +100,7 @@
"@types/cors": "^2.8.17", "@types/cors": "^2.8.17",
"@types/express": "^4.17.18", "@types/express": "^4.17.18",
"@types/json-schema": "^7.0.15", "@types/json-schema": "^7.0.15",
"@types/mime": "^4.0.0",
"@types/node": "^22.10.5", "@types/node": "^22.10.5",
"@types/node-cron": "^3.0.11", "@types/node-cron": "^3.0.11",
"@types/qrcode": "^1.5.5", "@types/qrcode": "^1.5.5",

View File

@ -4,7 +4,7 @@
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"declaration": true, "declaration": true,
"target": "es2020", "target": "es2020",
"module": "NodeNext", "module": "CommonJS",
"rootDir": "./", "rootDir": "./",
"resolveJsonModule": true, "resolveJsonModule": true,
"removeComments": true, "removeComments": true,
@ -27,7 +27,7 @@
"@utils/*": ["./src/utils/*"], "@utils/*": ["./src/utils/*"],
"@validate/*": ["./src/validate/*"] "@validate/*": ["./src/validate/*"]
}, },
"moduleResolution": "NodeNext" "moduleResolution": "Node"
}, },
"exclude": ["node_modules", "./test", "./dist", "./prisma"], "exclude": ["node_modules", "./test", "./dist", "./prisma"],
"include": [ "include": [