From f80e0adf35cc5e25953f81f50129130f24d51475 Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Sat, 23 Sep 2023 13:43:01 +0545 Subject: [PATCH] fix: jsdoc and lints --- package.json | 8 +- pnpm-lock.yaml | 494 ++++++++++++------------- src/common/database/base.repository.ts | 4 +- src/common/misc/file.ts | 18 +- src/common/misc/pool.ts | 7 +- 5 files changed, 269 insertions(+), 262 deletions(-) diff --git a/package.json b/package.json index 15196207..f14cc9a5 100644 --- a/package.json +++ b/package.json @@ -52,15 +52,15 @@ "test:e2e": "jest --config ./test/jest-e2e.json --runInBand --forceExit" }, "dependencies": { - "@aws-sdk/client-s3": "^3.417.0", - "@aws-sdk/client-ses": "^3.414.0", + "@aws-sdk/client-s3": "^3.418.0", + "@aws-sdk/client-ses": "^3.418.0", "@casl/ability": "^6.5.0", "@golevelup/nestjs-rabbitmq": "^4.0.0", "@golevelup/nestjs-stripe": "^0.6.3", "@golevelup/nestjs-webhooks": "^0.2.16", "@mikro-orm/core": "^5.8.2", "@mikro-orm/migrations": "^5.8.2", - "@mikro-orm/nestjs": "^5.2.1", + "@mikro-orm/nestjs": "^5.2.2", "@mikro-orm/postgresql": "^5.8.2", "@mikro-orm/reflection": "^5.8.2", "@mikro-orm/sql-highlighter": "^1.0.1", @@ -176,7 +176,7 @@ "@typescript-eslint/parser": "^6.7.2", "cross-env": "^7.0.3", "cz-conventional-changelog": "3.3.0", - "eslint": "^8.49.0", + "eslint": "^8.50.0", "eslint-define-config": "^1.23.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint_d": "^12.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ef9b4888..59b1bad0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,11 +6,11 @@ settings: dependencies: '@aws-sdk/client-s3': - specifier: ^3.417.0 - version: 3.417.0 + specifier: ^3.418.0 + version: 3.418.0 '@aws-sdk/client-ses': - specifier: ^3.414.0 - version: 3.414.0 + specifier: ^3.418.0 + version: 3.418.0 '@casl/ability': specifier: ^6.5.0 version: 6.5.0 @@ -30,8 +30,8 @@ dependencies: specifier: ^5.8.2 version: 5.8.2(@mikro-orm/core@5.8.2)(pg@8.11.3) '@mikro-orm/nestjs': - specifier: ^5.2.1 - version: 5.2.1(@mikro-orm/core@5.8.2)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) + specifier: ^5.2.2 + version: 5.2.2(@mikro-orm/core@5.8.2)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) '@mikro-orm/postgresql': specifier: ^5.8.2 version: 5.8.2(@mikro-orm/core@5.8.2)(@mikro-orm/migrations@5.8.2)(@mikro-orm/seeder@5.8.2) @@ -82,7 +82,7 @@ dependencies: version: 7.1.12(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13) '@nestjs/terminus': specifier: ^10.1.1 - version: 10.1.1(@mikro-orm/core@5.8.2)(@mikro-orm/nestjs@5.2.1)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) + version: 10.1.1(@mikro-orm/core@5.8.2)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/throttler': specifier: ^5.0.0 version: 5.0.0(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13) @@ -363,10 +363,10 @@ devDependencies: version: 4.1.3 '@typescript-eslint/eslint-plugin': specifier: ^6.7.2 - version: 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.2.2) + version: 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2) '@typescript-eslint/parser': specifier: ^6.7.2 - version: 6.7.2(eslint@8.49.0)(typescript@5.2.2) + version: 6.7.2(eslint@8.50.0)(typescript@5.2.2) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -374,14 +374,14 @@ devDependencies: specifier: 3.3.0 version: 3.3.0(@swc/core@1.3.87) eslint: - specifier: ^8.49.0 - version: 8.49.0 + specifier: ^8.50.0 + version: 8.50.0 eslint-define-config: specifier: ^1.23.0 version: 1.23.0 eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.49.0) + version: 3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.50.0) eslint_d: specifier: ^12.2.1 version: 12.2.1 @@ -517,7 +517,7 @@ packages: resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 tslib: 1.14.1 dev: false @@ -525,7 +525,7 @@ packages: resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 tslib: 1.14.1 dev: false @@ -541,7 +541,7 @@ packages: '@aws-crypto/ie11-detection': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@aws-sdk/util-locate-window': 3.310.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -554,7 +554,7 @@ packages: '@aws-crypto/sha256-js': 3.0.0 '@aws-crypto/supports-web-crypto': 3.0.0 '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@aws-sdk/util-locate-window': 3.310.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 @@ -564,7 +564,7 @@ packages: resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==} dependencies: '@aws-crypto/util': 3.0.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 tslib: 1.14.1 dev: false @@ -577,37 +577,37 @@ packages: /@aws-crypto/util@3.0.0: resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@aws-sdk/util-utf8-browser': 3.259.0 tslib: 1.14.1 dev: false - /@aws-sdk/client-s3@3.417.0: - resolution: {integrity: sha512-xf8QAzncgiHuvB6942WqzFHVjf2Lg6vmx/PsbvnuZ318cryOHK0ijS6yC7FTSmaTxJkCJe0Q3oh3pRYhpP6hyA==} + /@aws-sdk/client-s3@3.418.0: + resolution: {integrity: sha512-VdDM9xS84t8W1B2/QJTK6mYVCnf7Hovg8Aum9NHm+bD7F0Ni2NTLVjm8+qq9STi4YSeXAy3Pe+FBUP9Wthw7Iw==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha1-browser': 3.0.0 '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.414.0 - '@aws-sdk/credential-provider-node': 3.414.0 - '@aws-sdk/middleware-bucket-endpoint': 3.413.0 - '@aws-sdk/middleware-expect-continue': 3.413.0 - '@aws-sdk/middleware-flexible-checksums': 3.413.0 - '@aws-sdk/middleware-host-header': 3.413.0 - '@aws-sdk/middleware-location-constraint': 3.413.0 - '@aws-sdk/middleware-logger': 3.413.0 - '@aws-sdk/middleware-recursion-detection': 3.413.0 - '@aws-sdk/middleware-sdk-s3': 3.414.0 - '@aws-sdk/middleware-signing': 3.413.0 - '@aws-sdk/middleware-ssec': 3.413.0 - '@aws-sdk/middleware-user-agent': 3.413.0 - '@aws-sdk/region-config-resolver': 3.413.0 - '@aws-sdk/signature-v4-multi-region': 3.413.0 - '@aws-sdk/types': 3.413.0 - '@aws-sdk/util-endpoints': 3.413.0 - '@aws-sdk/util-user-agent-browser': 3.413.0 - '@aws-sdk/util-user-agent-node': 3.413.0 + '@aws-sdk/client-sts': 3.418.0 + '@aws-sdk/credential-provider-node': 3.418.0 + '@aws-sdk/middleware-bucket-endpoint': 3.418.0 + '@aws-sdk/middleware-expect-continue': 3.418.0 + '@aws-sdk/middleware-flexible-checksums': 3.418.0 + '@aws-sdk/middleware-host-header': 3.418.0 + '@aws-sdk/middleware-location-constraint': 3.418.0 + '@aws-sdk/middleware-logger': 3.418.0 + '@aws-sdk/middleware-recursion-detection': 3.418.0 + '@aws-sdk/middleware-sdk-s3': 3.418.0 + '@aws-sdk/middleware-signing': 3.418.0 + '@aws-sdk/middleware-ssec': 3.418.0 + '@aws-sdk/middleware-user-agent': 3.418.0 + '@aws-sdk/region-config-resolver': 3.418.0 + '@aws-sdk/signature-v4-multi-region': 3.418.0 + '@aws-sdk/types': 3.418.0 + '@aws-sdk/util-endpoints': 3.418.0 + '@aws-sdk/util-user-agent-browser': 3.418.0 + '@aws-sdk/util-user-agent-node': 3.418.0 '@aws-sdk/xml-builder': 3.310.0 '@smithy/config-resolver': 2.0.10 '@smithy/eventstream-serde-browser': 2.0.9 @@ -645,24 +645,24 @@ packages: - aws-crt dev: false - /@aws-sdk/client-ses@3.414.0: - resolution: {integrity: sha512-GD9ZqzjcGk5mkgmhwnEiemyIsLUz7O/SMvwxDo9prSBlrJ0jiVxbr0JbrACfQhn3geD/VIalvHQFDvQ3OVF4wQ==} + /@aws-sdk/client-ses@3.418.0: + resolution: {integrity: sha512-9CcKt62hy+6ZEcQ0SSpx74Nzj4btib4Dnwvl92cX3cB9iAsrm0g/roy+kbAfysMaTnl+MUO4k32YcAjhuIGZfg==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.414.0 - '@aws-sdk/credential-provider-node': 3.414.0 - '@aws-sdk/middleware-host-header': 3.413.0 - '@aws-sdk/middleware-logger': 3.413.0 - '@aws-sdk/middleware-recursion-detection': 3.413.0 - '@aws-sdk/middleware-signing': 3.413.0 - '@aws-sdk/middleware-user-agent': 3.413.0 - '@aws-sdk/region-config-resolver': 3.413.0 - '@aws-sdk/types': 3.413.0 - '@aws-sdk/util-endpoints': 3.413.0 - '@aws-sdk/util-user-agent-browser': 3.413.0 - '@aws-sdk/util-user-agent-node': 3.413.0 + '@aws-sdk/client-sts': 3.418.0 + '@aws-sdk/credential-provider-node': 3.418.0 + '@aws-sdk/middleware-host-header': 3.418.0 + '@aws-sdk/middleware-logger': 3.418.0 + '@aws-sdk/middleware-recursion-detection': 3.418.0 + '@aws-sdk/middleware-signing': 3.418.0 + '@aws-sdk/middleware-user-agent': 3.418.0 + '@aws-sdk/region-config-resolver': 3.418.0 + '@aws-sdk/types': 3.418.0 + '@aws-sdk/util-endpoints': 3.418.0 + '@aws-sdk/util-user-agent-browser': 3.418.0 + '@aws-sdk/util-user-agent-node': 3.418.0 '@smithy/config-resolver': 2.0.10 '@smithy/fetch-http-handler': 2.1.5 '@smithy/hash-node': 2.0.9 @@ -692,21 +692,21 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso@3.414.0: - resolution: {integrity: sha512-GvRwQ7wA3edzsQEKS70ZPhkOUZ62PAiXasjp6GxrsADEb8sV1z4FxXNl9Un/7fQxKkh9QYaK1Wu1PmhLi9MLMg==} + /@aws-sdk/client-sso@3.418.0: + resolution: {integrity: sha512-fakz3YeSW/kCAOJ5w4ObrrQBxsYO8sU8i6WHLv6iWAsYZKAws2Mqa8g89P61+GitSH4z9waksdLouS6ep78/5A==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/middleware-host-header': 3.413.0 - '@aws-sdk/middleware-logger': 3.413.0 - '@aws-sdk/middleware-recursion-detection': 3.413.0 - '@aws-sdk/middleware-user-agent': 3.413.0 - '@aws-sdk/region-config-resolver': 3.413.0 - '@aws-sdk/types': 3.413.0 - '@aws-sdk/util-endpoints': 3.413.0 - '@aws-sdk/util-user-agent-browser': 3.413.0 - '@aws-sdk/util-user-agent-node': 3.413.0 + '@aws-sdk/middleware-host-header': 3.418.0 + '@aws-sdk/middleware-logger': 3.418.0 + '@aws-sdk/middleware-recursion-detection': 3.418.0 + '@aws-sdk/middleware-user-agent': 3.418.0 + '@aws-sdk/region-config-resolver': 3.418.0 + '@aws-sdk/types': 3.418.0 + '@aws-sdk/util-endpoints': 3.418.0 + '@aws-sdk/util-user-agent-browser': 3.418.0 + '@aws-sdk/util-user-agent-node': 3.418.0 '@smithy/config-resolver': 2.0.10 '@smithy/fetch-http-handler': 2.1.5 '@smithy/hash-node': 2.0.9 @@ -734,24 +734,24 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts@3.414.0: - resolution: {integrity: sha512-xeYH3si6Imp1EWolWn1zuxJJu2AXKwXl1HDftQULwC5AWkm1mNFbXYSJN4hQul1IM+kn+JTRB0XRHByQkKhe+Q==} + /@aws-sdk/client-sts@3.418.0: + resolution: {integrity: sha512-L0n0Hw+Pm+BhXTN1bYZ0y4JAMArYgazdHf1nUSlEHndgZicCCuQtlMLxfo3i/IbtWi0dzfZcZ9d/MdAM8p4Jyw==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/credential-provider-node': 3.414.0 - '@aws-sdk/middleware-host-header': 3.413.0 - '@aws-sdk/middleware-logger': 3.413.0 - '@aws-sdk/middleware-recursion-detection': 3.413.0 - '@aws-sdk/middleware-sdk-sts': 3.413.0 - '@aws-sdk/middleware-signing': 3.413.0 - '@aws-sdk/middleware-user-agent': 3.413.0 - '@aws-sdk/region-config-resolver': 3.413.0 - '@aws-sdk/types': 3.413.0 - '@aws-sdk/util-endpoints': 3.413.0 - '@aws-sdk/util-user-agent-browser': 3.413.0 - '@aws-sdk/util-user-agent-node': 3.413.0 + '@aws-sdk/credential-provider-node': 3.418.0 + '@aws-sdk/middleware-host-header': 3.418.0 + '@aws-sdk/middleware-logger': 3.418.0 + '@aws-sdk/middleware-recursion-detection': 3.418.0 + '@aws-sdk/middleware-sdk-sts': 3.418.0 + '@aws-sdk/middleware-signing': 3.418.0 + '@aws-sdk/middleware-user-agent': 3.418.0 + '@aws-sdk/region-config-resolver': 3.418.0 + '@aws-sdk/types': 3.418.0 + '@aws-sdk/util-endpoints': 3.418.0 + '@aws-sdk/util-user-agent-browser': 3.418.0 + '@aws-sdk/util-user-agent-node': 3.418.0 '@smithy/config-resolver': 2.0.10 '@smithy/fetch-http-handler': 2.1.5 '@smithy/hash-node': 2.0.9 @@ -780,25 +780,25 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-env@3.413.0: - resolution: {integrity: sha512-yeMOkfG20/RlzfPMtQuDB647AcPEvFEVYOWZzAWVJfldYQ5ybKr0d7sBkgG9sdAzGkK3Aw9dE4rigYI8EIqc1Q==} + /@aws-sdk/credential-provider-env@3.418.0: + resolution: {integrity: sha512-e74sS+x63EZUBO+HaI8zor886YdtmULzwKdctsZp5/37Xho1CVUNtEC+fYa69nigBD9afoiH33I4JggaHgrekQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/property-provider': 2.0.10 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-ini@3.414.0: - resolution: {integrity: sha512-rlpLLx70roJL/t40opWC96LbIASejdMbRlgSCRpK8b/hKngYDe5A7SRVacaw08vYrAywxRiybxpQOwOt9b++rA==} + /@aws-sdk/credential-provider-ini@3.418.0: + resolution: {integrity: sha512-LTAeKKV85unlSqGNIeqEZ4N9gufaSoH+670n5YTUEk564zHCkUQW0PJomzLF5jKBco6Yfzv6rPBTukd+x9XWqw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/credential-provider-env': 3.413.0 - '@aws-sdk/credential-provider-process': 3.413.0 - '@aws-sdk/credential-provider-sso': 3.414.0 - '@aws-sdk/credential-provider-web-identity': 3.413.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/credential-provider-env': 3.418.0 + '@aws-sdk/credential-provider-process': 3.418.0 + '@aws-sdk/credential-provider-sso': 3.418.0 + '@aws-sdk/credential-provider-web-identity': 3.418.0 + '@aws-sdk/types': 3.418.0 '@smithy/credential-provider-imds': 2.0.12 '@smithy/property-provider': 2.0.10 '@smithy/shared-ini-file-loader': 2.0.11 @@ -808,16 +808,16 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.414.0: - resolution: {integrity: sha512-xlkcOUKeGHInxWKKrZKIPSBCUL/ozyCldJBjmMKEj7ZmBAEiDcjpMe3pZ//LibMkCSy0b/7jtyQBE/eaIT2o0A==} + /@aws-sdk/credential-provider-node@3.418.0: + resolution: {integrity: sha512-VveTjtSC6m8YXj3fQDkMKEZuHv+CR2Z4u/NAN51Fi4xOtIWUtOBj5rfZ8HmBYoBjRF0DtRlPXuMiNnXAzTctfQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/credential-provider-env': 3.413.0 - '@aws-sdk/credential-provider-ini': 3.414.0 - '@aws-sdk/credential-provider-process': 3.413.0 - '@aws-sdk/credential-provider-sso': 3.414.0 - '@aws-sdk/credential-provider-web-identity': 3.413.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/credential-provider-env': 3.418.0 + '@aws-sdk/credential-provider-ini': 3.418.0 + '@aws-sdk/credential-provider-process': 3.418.0 + '@aws-sdk/credential-provider-sso': 3.418.0 + '@aws-sdk/credential-provider-web-identity': 3.418.0 + '@aws-sdk/types': 3.418.0 '@smithy/credential-provider-imds': 2.0.12 '@smithy/property-provider': 2.0.10 '@smithy/shared-ini-file-loader': 2.0.11 @@ -827,24 +827,24 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-process@3.413.0: - resolution: {integrity: sha512-GFJdgS14GzJ1wc2DEnS44Z/34iBZ05CAkvDsLN2CMwcDgH4eZuif9/x0lwzIJBK3xVFHzYUeVvEzsqRPbCHRsw==} + /@aws-sdk/credential-provider-process@3.418.0: + resolution: {integrity: sha512-xPbdm2WKz1oH6pTkrJoUmr3OLuqvvcPYTQX0IIlc31tmDwDWPQjXGGFD/vwZGIZIkKaFpFxVMgAzfFScxox7dw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/property-provider': 2.0.10 '@smithy/shared-ini-file-loader': 2.0.11 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-sso@3.414.0: - resolution: {integrity: sha512-w9g2hlkZn7WekWICRqk+L33py7KrjYMFryVpkKXOx2pjDchCfZDr6pL1ml782GZ0L3qsob4SbNpbtp13JprnWQ==} + /@aws-sdk/credential-provider-sso@3.418.0: + resolution: {integrity: sha512-tUF5Hg/HfaU5t+E7IuvohYlodSIlBXa28xAJPPFxhKrUnvP6AIoW6JLazOtCIQjQgJYEUILV29XX+ojUuITcaw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/client-sso': 3.414.0 - '@aws-sdk/token-providers': 3.413.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/client-sso': 3.418.0 + '@aws-sdk/token-providers': 3.418.0 + '@aws-sdk/types': 3.418.0 '@smithy/property-provider': 2.0.10 '@smithy/shared-ini-file-loader': 2.0.11 '@smithy/types': 2.3.3 @@ -853,21 +853,21 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-web-identity@3.413.0: - resolution: {integrity: sha512-5cdA1Iq9JeEHtg59ERV9fdMQ7cS0JF6gH/BWA7HYEUGdSVPXCuwyEggPtG64QgpNU7SmxH+QdDG+Ldxz09ycIA==} + /@aws-sdk/credential-provider-web-identity@3.418.0: + resolution: {integrity: sha512-do7ang565n9p3dS1JdsQY01rUfRx8vkxQqz5M8OlcEHBNiCdi2PvSjNwcBdrv/FKkyIxZb0TImOfBSt40hVdxQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/property-provider': 2.0.10 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-bucket-endpoint@3.413.0: - resolution: {integrity: sha512-hHfaKg4rbpdgB6iMNLW/ubAJFsPFMNOV/hHpZ7BJVdA05fW6Zj6es+TSr7DM3j4Dv49ckhWY0P+JrSkM3FXXpg==} + /@aws-sdk/middleware-bucket-endpoint@3.418.0: + resolution: {integrity: sha512-gj/mj1UfbKkGbQ1N4YUvjTTp8BVs5fO1QAL2AjFJ+jfJOToLReX72aNEkm7sPGbHML0TqOY4cQbJuWYy+zdD5g==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@aws-sdk/util-arn-parser': 3.310.0 '@smithy/node-config-provider': 2.0.12 '@smithy/protocol-http': 3.0.5 @@ -876,23 +876,23 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-expect-continue@3.413.0: - resolution: {integrity: sha512-14L4Fit+3EEVZNHCZKxua4vCrh+dGaaDfC5Ng3A8nILAqCsG2dhbDbUOwbnAaM8MCEVOgZS/NwUUlLA9AZfKgQ==} + /@aws-sdk/middleware-expect-continue@3.418.0: + resolution: {integrity: sha512-6x4rcIj685EmqDLQkbWoCur3Dg5DRClHMen6nHXmD3CR5Xyt3z1Gk/+jmZICxyJo9c6M4AeZht8o95BopkmYAQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/protocol-http': 3.0.5 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-flexible-checksums@3.413.0: - resolution: {integrity: sha512-xb7WIxmyCQoBCnzaN+Widuan0PbNxYegKLOW4XheYz/v7lBEttIcGMu+OIAIQs3KlTb3dx8jqjSj2rMNnru8MQ==} + /@aws-sdk/middleware-flexible-checksums@3.418.0: + resolution: {integrity: sha512-3O203dqS2JU5P1TAAbo7p1qplXQh59pevw9nqzPVb3EG8B+mSucVf2kKmF7kGHqKSk+nK/mB/4XGSsZBzGt6Wg==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/crc32': 3.0.0 '@aws-crypto/crc32c': 3.0.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/is-array-buffer': 2.0.0 '@smithy/protocol-http': 3.0.5 '@smithy/types': 2.3.3 @@ -900,49 +900,49 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-host-header@3.413.0: - resolution: {integrity: sha512-r9PQx468EzPHo9wRzZLfgROpKtVdbkteMrdhsuM12bifVHjU1OHr7yfhc1OdWv39X8Xiv6F8n5r+RBQEM0S6+g==} + /@aws-sdk/middleware-host-header@3.418.0: + resolution: {integrity: sha512-LrMTdzalkPw/1ujLCKPLwCGvPMCmT4P+vOZQRbSEVZPnlZk+Aj++aL/RaHou0jL4kJH3zl8iQepriBt4a7UvXQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/protocol-http': 3.0.5 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-location-constraint@3.413.0: - resolution: {integrity: sha512-JecF1O1Lm8ZZtCgXHwJm0ZysVf8K0Z8DbrNMJfYkyfsP3CYuQNJbmjrehyRl7aCuxMJ16EUGdXgoP1M8TImLpA==} + /@aws-sdk/middleware-location-constraint@3.418.0: + resolution: {integrity: sha512-cc8M3VEaESHJhDsDV8tTpt2QYUprDWhvAVVSlcL43cTdZ54Quc0W+toDiaVOUlwrAZz2Y7g5NDj22ibJGFbOvw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-logger@3.413.0: - resolution: {integrity: sha512-jqcXDubcKvoqBy+kkEa0WoNjG6SveDeyNy+gdGnTV+DEtYjkcHrHJei4q0W5zFl0mzc+dP+z8tJF44rv95ZY3Q==} + /@aws-sdk/middleware-logger@3.418.0: + resolution: {integrity: sha512-StKGmyPVfoO/wdNTtKemYwoJsqIl4l7oqarQY7VSf2Mp3mqaa+njLViHsQbirYpyqpgUEusOnuTlH5utxJ1NsQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-recursion-detection@3.413.0: - resolution: {integrity: sha512-C6k0IKJk/A4/VBGwUjxEPG+WOjjnmWAZVRBUzaeM7PqRh+g5rLcuIV356ntV3pREVxyiSTePTYVYIHU9YXkLKQ==} + /@aws-sdk/middleware-recursion-detection@3.418.0: + resolution: {integrity: sha512-kKFrIQglBLUFPbHSDy1+bbe3Na2Kd70JSUC3QLMbUHmqipXN8KeXRfAj7vTv97zXl0WzG0buV++WcNwOm1rFjg==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/protocol-http': 3.0.5 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-sdk-s3@3.414.0: - resolution: {integrity: sha512-IKTiYMWN/2HZtgBinrDOGq+gKYkM9h477AqVr7EXSfll+gM9phwJKEitgxje7IaCi8ViQcFKtTRly3eCLX6GIA==} + /@aws-sdk/middleware-sdk-s3@3.418.0: + resolution: {integrity: sha512-rei32LF45SyqL3NlWDjEOfMwAca9A5F4QgUyXJqvASc43oWC1tJnLIhiCxNh8qkWAiRyRzFpcanTeqyaRSsZpA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@aws-sdk/util-arn-parser': 3.310.0 '@smithy/protocol-http': 3.0.5 '@smithy/smithy-client': 2.1.6 @@ -950,21 +950,21 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-sdk-sts@3.413.0: - resolution: {integrity: sha512-t0u//JUyaEZRVnH5q+Ur3tWnuyIsTdwA0XOdDCZXcSlLYzGp2MI/tScLjn9IydRrceIFpFfmbjk4Nf/Q6TeBTQ==} + /@aws-sdk/middleware-sdk-sts@3.418.0: + resolution: {integrity: sha512-cW8ijrCTP+mgihvcq4+TbhAcE/we5lFl4ydRqvTdtcSnYQAVQADg47rnTScQiFsPFEB3NKq7BGeyTJF9MKolPA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/middleware-signing': 3.413.0 - '@aws-sdk/types': 3.413.0 + '@aws-sdk/middleware-signing': 3.418.0 + '@aws-sdk/types': 3.418.0 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-signing@3.413.0: - resolution: {integrity: sha512-QFEnVvIKYPCermM+ESxEztgUgXzGSKpnPnohMYNvSZySqmOLu/4VvxiZbRO/BX9J3ZHcUgaw4vKm5VBZRrycxw==} + /@aws-sdk/middleware-signing@3.418.0: + resolution: {integrity: sha512-onvs5KoYQE8OlOE740RxWBGtsUyVIgAo0CzRKOQO63ZEYqpL1Os+MS1CGzdNhvQnJgJruE1WW+Ix8fjN30zKPA==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/property-provider': 2.0.10 '@smithy/protocol-http': 3.0.5 '@smithy/signature-v4': 2.0.9 @@ -973,28 +973,28 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/middleware-ssec@3.413.0: - resolution: {integrity: sha512-MQNksEnhjObNLgE2zRd0OltdijQuqHaArP3FygtdeE2bCXc/D5mCpUX8fgDC5grQIBNdRdaar2YL62UxFsHWrw==} + /@aws-sdk/middleware-ssec@3.418.0: + resolution: {integrity: sha512-J7K+5h6aP7IYMlu/NwHEIjb0+WDu1eFvO8TCPo6j1H9xYRi8B/6h+6pa9Rk9IgRUzFnrdlDu9FazG8Tp0KKLyg==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/middleware-user-agent@3.413.0: - resolution: {integrity: sha512-eVMJyeWxNBqerhfD+sE9sTjDtwQiECrfU6wpUQP5fGPhJD2cVVZPxuTuJGDZCu/4k/V61dF85IYlsPUNLdVQ6w==} + /@aws-sdk/middleware-user-agent@3.418.0: + resolution: {integrity: sha512-Jdcztg9Tal9SEAL0dKRrnpKrm6LFlWmAhvuwv0dQ7bNTJxIxyEFbpqdgy7mpQHsLVZgq1Aad/7gT/72c9igyZw==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 - '@aws-sdk/util-endpoints': 3.413.0 + '@aws-sdk/types': 3.418.0 + '@aws-sdk/util-endpoints': 3.418.0 '@smithy/protocol-http': 3.0.5 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/region-config-resolver@3.413.0: - resolution: {integrity: sha512-h90e6yyOhvoc+1F5vFk3C5mxwB8RSDEMKTO/fxexyur94seczZ1yxyYkTMZv30oc9RUiToABlHNrh/wxL7TZPQ==} + /@aws-sdk/region-config-resolver@3.418.0: + resolution: {integrity: sha512-lJRZ/9TjZU6yLz+mAwxJkcJZ6BmyYoIJVo1p5+BN//EFdEmC8/c0c9gXMRzfISV/mqWSttdtccpAyN4/goHTYA==} engines: {node: '>=14.0.0'} dependencies: '@smithy/node-config-provider': 2.0.12 @@ -1004,31 +1004,31 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/signature-v4-multi-region@3.413.0: - resolution: {integrity: sha512-4USefVS5HPeJ8Yx0j6l84837adWGTifGpnltD+4mIgvpGp/hW3EkwvJko6i4cnLbeY8D2+8XvgT9YN1LUhvFmg==} + /@aws-sdk/signature-v4-multi-region@3.418.0: + resolution: {integrity: sha512-LeVYMZeUQUURFqDf4yZxTEv016g64hi0LqYBjU0mjwd8aPc0k6hckwvshezc80jCNbuLyjNfQclvlg3iFliItQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/protocol-http': 3.0.5 '@smithy/signature-v4': 2.0.9 '@smithy/types': 2.3.3 tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.413.0: - resolution: {integrity: sha512-NfP1Ib9LAWVLMTOa/1aJwt4TRrlRrNyukCpVZGfNaMnNNEoP5Rakdbcs8KFVHe/MJzU+GdKVzxQ4TgRkLOGTrA==} + /@aws-sdk/token-providers@3.418.0: + resolution: {integrity: sha512-9P7Q0VN0hEzTngy3Sz5eya2qEOEf0Q8qf1vB3um0gE6ID6EVAdz/nc/DztfN32MFxk8FeVBrCP5vWdoOzmd72g==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/middleware-host-header': 3.413.0 - '@aws-sdk/middleware-logger': 3.413.0 - '@aws-sdk/middleware-recursion-detection': 3.413.0 - '@aws-sdk/middleware-user-agent': 3.413.0 - '@aws-sdk/types': 3.413.0 - '@aws-sdk/util-endpoints': 3.413.0 - '@aws-sdk/util-user-agent-browser': 3.413.0 - '@aws-sdk/util-user-agent-node': 3.413.0 + '@aws-sdk/middleware-host-header': 3.418.0 + '@aws-sdk/middleware-logger': 3.418.0 + '@aws-sdk/middleware-recursion-detection': 3.418.0 + '@aws-sdk/middleware-user-agent': 3.418.0 + '@aws-sdk/types': 3.418.0 + '@aws-sdk/util-endpoints': 3.418.0 + '@aws-sdk/util-user-agent-browser': 3.418.0 + '@aws-sdk/util-user-agent-node': 3.418.0 '@smithy/config-resolver': 2.0.10 '@smithy/fetch-http-handler': 2.1.5 '@smithy/hash-node': 2.0.9 @@ -1058,8 +1058,8 @@ packages: - aws-crt dev: false - /@aws-sdk/types@3.413.0: - resolution: {integrity: sha512-j1xib0f/TazIFc5ySIKOlT1ujntRbaoG4LJFeEezz4ji03/wSJMI8Vi4KjzpBp8J1tTu0oRDnsxRIGixsUBeYQ==} + /@aws-sdk/types@3.418.0: + resolution: {integrity: sha512-y4PQSH+ulfFLY0+FYkaK4qbIaQI9IJNMO2xsxukW6/aNoApNymN1D2FSi2la8Qbp/iPjNDKsG8suNPm9NtsWXQ==} engines: {node: '>=14.0.0'} dependencies: '@smithy/types': 2.3.3 @@ -1073,11 +1073,11 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-endpoints@3.413.0: - resolution: {integrity: sha512-VAwr7cITNb1L6/2XUPIbCOuhKGm0VtKCRblurrfUF2bxqG/wtuw/2Fm4ahYJPyxklOSXAMSq+RHdFWcir0YB/g==} + /@aws-sdk/util-endpoints@3.418.0: + resolution: {integrity: sha512-sYSDwRTl7yE7LhHkPzemGzmIXFVHSsi3AQ1KeNEk84eBqxMHHcCc2kqklaBk2roXWe50QDgRMy1ikZUxvtzNHQ==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 tslib: 2.6.2 dev: false @@ -1088,17 +1088,17 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-browser@3.413.0: - resolution: {integrity: sha512-7j/qWcRO2OBZBre2fC6V6M0PAS9n7k6i+VtofPkkhxC2DZszLJElqnooF9hGmVGYK3zR47Np4WjURXKIEZclWg==} + /@aws-sdk/util-user-agent-browser@3.418.0: + resolution: {integrity: sha512-c4p4mc0VV/jIeNH0lsXzhJ1MpWRLuboGtNEpqE4s1Vl9ck2amv9VdUUZUmHbg+bVxlMgRQ4nmiovA4qIrqGuyg==} dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/types': 2.3.3 bowser: 2.11.0 tslib: 2.6.2 dev: false - /@aws-sdk/util-user-agent-node@3.413.0: - resolution: {integrity: sha512-vHm9TVZIzfWMeDvdmoOky6VarqOt8Pr68CESHN0jyuO6XbhCDnr9rpaXiBhbSR+N1Qm7R/AfJgAhQyTMu2G1OA==} + /@aws-sdk/util-user-agent-node@3.418.0: + resolution: {integrity: sha512-BXMskXFtg+dmzSCgmnWOffokxIbPr1lFqa1D9kvM3l3IFRiFGx2IyDg+8MAhq11aPDLvoa/BDuQ0Yqma5izOhg==} engines: {node: '>=14.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -1106,7 +1106,7 @@ packages: aws-crt: optional: true dependencies: - '@aws-sdk/types': 3.413.0 + '@aws-sdk/types': 3.418.0 '@smithy/node-config-provider': 2.0.12 '@smithy/types': 2.3.3 tslib: 2.6.2 @@ -1549,13 +1549,13 @@ packages: jsdoc-type-pratt-parser: 4.0.0 dev: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.49.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.50.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.49.0 + eslint: 8.50.0 eslint-visitor-keys: 3.4.3 dev: true @@ -1581,8 +1581,8 @@ packages: - supports-color dev: true - /@eslint/js@8.49.0: - resolution: {integrity: sha512-1S8uAY/MTJqVx0SC4epBq+N2yhuwtNwLbJYNZyhL2pO1ZVKn5HFXav5T41Ryzy9K9V7ZId2JB2oy/W4aCd9/2w==} + /@eslint/js@8.50.0: + resolution: {integrity: sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -2671,8 +2671,8 @@ packages: - supports-color - tedious - /@mikro-orm/nestjs@5.2.1(@mikro-orm/core@5.8.2)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6): - resolution: {integrity: sha512-TrCdPsM7DApxrK3avBbijT6/6Er4TZhtiQ+qlMqtqva13vMCG4HiF2vIWGrKJbFukkLRuhOfZlES+KZ9Y1Lx2A==} + /@mikro-orm/nestjs@5.2.2(@mikro-orm/core@5.8.2)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6): + resolution: {integrity: sha512-NwPTmpmwf4/aX7FjKk/CTncYS7Mbr4fMvSOfbo9rOElySjpniTnk2cCGABgj2kaX9NSFHzWCUy5tAMIkoedd4A==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 || ^6.0.0-dev.0 @@ -3103,7 +3103,7 @@ packages: swagger-ui-dist: 5.7.2 dev: false - /@nestjs/terminus@10.1.1(@mikro-orm/core@5.8.2)(@mikro-orm/nestjs@5.2.1)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1): + /@nestjs/terminus@10.1.1(@mikro-orm/core@5.8.2)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1): resolution: {integrity: sha512-aDoPK/uaR9PHn56xzand6zqpp+S3Ibm+y/OrG3M01F1WnScLfo29hbS6MdnIMqmVRAS11r/8X3xWTSo8TT/Lig==} peerDependencies: '@grpc/grpc-js': '*' @@ -3152,7 +3152,7 @@ packages: optional: true dependencies: '@mikro-orm/core': 5.8.2(@mikro-orm/migrations@5.8.2)(@mikro-orm/postgresql@5.8.2)(@mikro-orm/seeder@5.8.2) - '@mikro-orm/nestjs': 5.2.1(@mikro-orm/core@5.8.2)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) + '@mikro-orm/nestjs': 5.2.2(@mikro-orm/core@5.8.2)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) '@nestjs/axios': 3.0.0(@nestjs/common@10.2.6)(axios@1.5.0)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/common': 10.2.6(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/core': 10.2.6(@nestjs/common@10.2.6)(@nestjs/platform-express@10.2.6)(@nestjs/websockets@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) @@ -3439,15 +3439,15 @@ packages: resolution: {integrity: sha512-m8uqcdcXFawIvk4q9Y2yziaHdE0KpmQBlHSaXNPi45nLG4cCNaYibv7/xO1omuS/9AxggV0GUkCy5eE0hfEPLA==} dependencies: '@stylistic/eslint-plugin-js': 0.0.3 - '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.7.2(eslint@8.49.0)(typescript@5.2.2) - eslint: 8.49.0 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.49.0) - eslint-plugin-deprecation: 1.6.0(eslint@8.49.0)(typescript@5.2.2) - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0) - eslint-plugin-jsdoc: 46.8.2(eslint@8.49.0) - eslint-plugin-unicorn: 48.0.1(eslint@8.49.0) - eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.49.0) + '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.2(eslint@8.50.0)(typescript@5.2.2) + eslint: 8.50.0 + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.50.0) + eslint-plugin-deprecation: 1.6.0(eslint@8.50.0)(typescript@5.2.2) + eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) + eslint-plugin-jsdoc: 46.8.2(eslint@8.50.0) + eslint-plugin-unicorn: 48.0.1(eslint@8.50.0) + eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.50.0) transitivePeerDependencies: - eslint-import-resolver-node - eslint-import-resolver-webpack @@ -3459,13 +3459,13 @@ packages: resolution: {integrity: sha512-S2Bef6E9xNh5C7Edu6XC8ZrsLNVrJdx9LveS4e/AvVmcZG2d518O2rDV4JG/27ypW09pckjztl+fl+8KDKS+Ow==} dependencies: '@rubiin/eslint-config-basic': 1.5.1(typescript@5.2.2) - '@stylistic/eslint-plugin-ts': 0.0.3(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.7.2(eslint@8.49.0)(typescript@5.2.2) - eslint: 8.49.0 - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0) - eslint-plugin-jest: 27.4.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.49.0)(jest@29.7.0)(typescript@5.2.2) - eslint-plugin-jsdoc: 46.8.2(eslint@8.49.0) + '@stylistic/eslint-plugin-ts': 0.0.3(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.2(eslint@8.50.0)(typescript@5.2.2) + eslint: 8.50.0 + eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) + eslint-plugin-jest: 27.4.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.50.0)(jest@29.7.0)(typescript@5.2.2) + eslint-plugin-jsdoc: 46.8.2(eslint@8.50.0) transitivePeerDependencies: - eslint-import-resolver-node - eslint-import-resolver-typescript @@ -4047,7 +4047,7 @@ packages: graphemer: 1.4.0 dev: true - /@stylistic/eslint-plugin-ts@0.0.3(eslint@8.49.0)(typescript@5.2.2): + /@stylistic/eslint-plugin-ts@0.0.3(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-G/jZ+XHlZtkxABOXswJNTmN4h8qNmECTjPLkWPMykPlfQeD1RSpBMEQHiJHZ3GAxnEcqAgi7CNA1FTvGWz6qwQ==} peerDependencies: eslint: '*' @@ -4055,9 +4055,9 @@ packages: dependencies: '@stylistic/eslint-plugin-js': 0.0.3 '@typescript-eslint/scope-manager': 6.7.2 - '@typescript-eslint/type-utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) - eslint: 8.49.0 + '@typescript-eslint/type-utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) + eslint: 8.50.0 graphemer: 1.4.0 semver: 7.5.4 typescript: 5.2.2 @@ -4663,7 +4663,7 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin@6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-ooaHxlmSgZTM6CHYAFRlifqh1OAr3PAQEwi7lhYhaegbnXrnh7CDcHmc3+ihhbQC7H0i4JF0psI5ehzkF6Yl6Q==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -4675,13 +4675,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.8.1 - '@typescript-eslint/parser': 6.7.2(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.2(eslint@8.50.0)(typescript@5.2.2) '@typescript-eslint/scope-manager': 6.7.2 - '@typescript-eslint/type-utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/type-utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) '@typescript-eslint/visitor-keys': 6.7.2 debug: 4.3.4 - eslint: 8.49.0 + eslint: 8.50.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 @@ -4692,7 +4692,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.7.2(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/parser@6.7.2(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-KA3E4ox0ws+SPyxQf9iSI25R6b4Ne78ORhNHeVKrPQnoYsb9UhieoiRoJgrzgEeKGOXhcY1i8YtOeCHHTDa6Fw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -4707,7 +4707,7 @@ packages: '@typescript-eslint/typescript-estree': 6.7.2(typescript@5.2.2) '@typescript-eslint/visitor-keys': 6.7.2 debug: 4.3.4 - eslint: 8.49.0 + eslint: 8.50.0 typescript: 5.2.2 transitivePeerDependencies: - supports-color @@ -4729,7 +4729,7 @@ packages: '@typescript-eslint/visitor-keys': 6.7.2 dev: true - /@typescript-eslint/type-utils@6.7.2(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@6.7.2(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-36F4fOYIROYRl0qj95dYKx6kybddLtsbmPIYNK0OBeXv2j9L5nZ17j9jmfy+bIDHKQgn2EZX+cofsqi8NPATBQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -4740,9 +4740,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 6.7.2(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) debug: 4.3.4 - eslint: 8.49.0 + eslint: 8.50.0 ts-api-utils: 1.0.3(typescript@5.2.2) typescript: 5.2.2 transitivePeerDependencies: @@ -4801,19 +4801,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/utils@5.62.0(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.49.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.2 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - eslint: 8.49.0 + eslint: 8.50.0 eslint-scope: 5.1.1 semver: 7.5.4 transitivePeerDependencies: @@ -4821,19 +4821,19 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.7.2(eslint@8.49.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.7.2(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-ZCcBJug/TS6fXRTsoTkgnsvyWSiXwMNiPzBUani7hDidBdj1779qwM1FIAmpH4lvlOZNF3EScsxxuGifjpLSWQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.49.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.2 '@typescript-eslint/scope-manager': 6.7.2 '@typescript-eslint/types': 6.7.2 '@typescript-eslint/typescript-estree': 6.7.2(typescript@5.2.2) - eslint: 8.49.0 + eslint: 8.50.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -6893,7 +6893,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.49.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.50.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -6902,9 +6902,9 @@ packages: dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 - eslint: 8.49.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0) - eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0) + eslint: 8.50.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) + eslint-plugin-import: 2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) fast-glob: 3.3.1 get-tsconfig: 4.7.1 is-core-module: 2.13.0 @@ -6916,7 +6916,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -6937,24 +6937,24 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.7.2(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.2(eslint@8.50.0)(typescript@5.2.2) debug: 3.2.7 - eslint: 8.49.0 + eslint: 8.50.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.49.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.7.2)(eslint-plugin-import@2.28.1)(eslint@8.50.0) transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-deprecation@1.6.0(eslint@8.49.0)(typescript@5.2.2): + /eslint-plugin-deprecation@1.6.0(eslint@8.50.0)(typescript@5.2.2): resolution: {integrity: sha512-rld+Vrneh/NXRtDB0vQifOvgUy0HJYoejaxWlVnsk/LK7iij2tCWQIFcCKG4uzQb+Ef86bDke39w1lh4wnon4Q==} deprecated: this package has been deprecated, please use v2.0.0 peerDependencies: eslint: ^7.0.0 || ^8.0.0 typescript: ^4.2.4 || ^5.0.0 dependencies: - '@typescript-eslint/utils': 6.7.2(eslint@8.49.0)(typescript@5.2.2) - eslint: 8.49.0 + '@typescript-eslint/utils': 6.7.2(eslint@8.50.0)(typescript@5.2.2) + eslint: 8.50.0 tslib: 2.6.2 tsutils: 3.21.0(typescript@5.2.2) typescript: 5.2.2 @@ -6962,7 +6962,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0): + /eslint-plugin-import@2.28.1(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0): resolution: {integrity: sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==} engines: {node: '>=4'} peerDependencies: @@ -6972,16 +6972,16 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.7.2(eslint@8.49.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.2(eslint@8.50.0)(typescript@5.2.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.49.0 + eslint: 8.50.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.49.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.50.0) has: 1.0.3 is-core-module: 2.13.0 is-glob: 4.0.3 @@ -6997,7 +6997,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest@27.4.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.49.0)(jest@29.7.0)(typescript@5.2.2): + /eslint-plugin-jest@27.4.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.50.0)(jest@29.7.0)(typescript@5.2.2): resolution: {integrity: sha512-ukVeKmMPAUA5SWjHenvyyXnirKfHKMdOsTZdn5tZx5EW05HGVQwBohigjFZGGj3zuv1cV6hc82FvWv6LdIbkgg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -7010,16 +7010,16 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.2.2) - '@typescript-eslint/utils': 5.62.0(eslint@8.49.0)(typescript@5.2.2) - eslint: 8.49.0 + '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.50.0)(typescript@5.2.2) + eslint: 8.50.0 jest: 29.7.0(@types/node@20.6.3)(ts-node@10.9.1) transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-jsdoc@46.8.2(eslint@8.49.0): + /eslint-plugin-jsdoc@46.8.2(eslint@8.50.0): resolution: {integrity: sha512-5TSnD018f3tUJNne4s4gDWQflbsgOycIKEUBoCLn6XtBMgNHxQFmV8vVxUtiPxAQq8lrX85OaSG/2gnctxw9uQ==} engines: {node: '>=16'} peerDependencies: @@ -7030,7 +7030,7 @@ packages: comment-parser: 1.4.0 debug: 4.3.4 escape-string-regexp: 4.0.0 - eslint: 8.49.0 + eslint: 8.50.0 esquery: 1.5.0 is-builtin-module: 3.2.1 semver: 7.5.4 @@ -7039,17 +7039,17 @@ packages: - supports-color dev: true - /eslint-plugin-unicorn@48.0.1(eslint@8.49.0): + /eslint-plugin-unicorn@48.0.1(eslint@8.50.0): resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.44.0' dependencies: '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.49.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) ci-info: 3.8.0 clean-regexp: 1.0.0 - eslint: 8.49.0 + eslint: 8.50.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -7063,7 +7063,7 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.49.0): + /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.7.2)(eslint@8.50.0): resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -7073,8 +7073,8 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.49.0)(typescript@5.2.2) - eslint: 8.49.0 + '@typescript-eslint/eslint-plugin': 6.7.2(@typescript-eslint/parser@6.7.2)(eslint@8.50.0)(typescript@5.2.2) + eslint: 8.50.0 eslint-rule-composer: 0.3.0 dev: true @@ -7103,15 +7103,15 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /eslint@8.49.0: - resolution: {integrity: sha512-jw03ENfm6VJI0jA9U+8H5zfl5b+FvuU3YYvZRdZHOlU2ggJkxrlkJH4HcDrZpj6YwD8kuYqvQM8LyesoazrSOQ==} + /eslint@8.50.0: + resolution: {integrity: sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.49.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) '@eslint-community/regexpp': 4.8.1 '@eslint/eslintrc': 2.1.2 - '@eslint/js': 8.49.0 + '@eslint/js': 8.50.0 '@humanwhocodes/config-array': 0.11.11 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -7154,7 +7154,7 @@ packages: hasBin: true dependencies: core_d: 5.0.1 - eslint: 8.49.0 + eslint: 8.50.0 nanolru: 1.0.0 optionator: 0.9.3 transitivePeerDependencies: diff --git a/src/common/database/base.repository.ts b/src/common/database/base.repository.ts index 1dcbf45f..49e987c8 100644 --- a/src/common/database/base.repository.ts +++ b/src/common/database/base.repository.ts @@ -205,7 +205,7 @@ export class BaseRepository extends EntityRepository { */ decodeCursor( cursor: string, - cursorType: CursorType = CursorType.STRING, + cursorType: CursorType = CursorType.STRING, ): string | number | Date { const string = Buffer.from(cursor, this.encoding).toString("utf8"); @@ -474,7 +474,7 @@ export class BaseRepository extends EntityRepository { repo: EntityRepository, where: FilterQuery, after?: string, - afterCursor: CursorType = CursorType.STRING, + afterCursor: CursorType = CursorType.STRING, ): Promise> { let previousCount = 0; diff --git a/src/common/misc/file.ts b/src/common/misc/file.ts index eec88d67..33e91d1d 100644 --- a/src/common/misc/file.ts +++ b/src/common/misc/file.ts @@ -19,14 +19,16 @@ export const ImageMulterOption: MulterOptions = { }, }; -// /** -// * -// * It takes in a fileType, fileSize, and required boolean and returns a ParseFilePipeBuilder object -// * with the fileType and fileSize validators added to it -// * @param {*} - IFileValidator -// * @returns A function that returns a ParseFilePipeBuilder -// * -// */ +/** + * + * It takes in a fileType, fileSize, and required boolean and returns a ParseFilePipeBuilder object + * with the fileType and fileSize validators added to it + * @param param - IFileValidator + * @param param.fileType - type of file to be uploaded + * @param param.fileSize - size of file in bytes + * @param param.required - whether the file is required or not + * @returns A function that returns a ParseFilePipeBuilder + */ export const fileValidatorPipe = ({ fileType = FileType.IMAGE, fileSize = FileSize.IMAGE, diff --git a/src/common/misc/pool.ts b/src/common/misc/pool.ts index d52c63df..19de6b02 100644 --- a/src/common/misc/pool.ts +++ b/src/common/misc/pool.ts @@ -1,7 +1,7 @@ import path from "node:path"; import { Logger } from "@nestjs/common"; -import { DynamicThreadPool } from "poolifier"; +import { DynamicThreadPool, PoolEvents } from "poolifier"; const logger = new Logger("ThreadPool"); @@ -10,3 +10,8 @@ export const pool = new DynamicThreadPool(7, 20, path.resolve(__dirname, "worker errorHandler: error => logger.error(error), onlineHandler: () => logger.log("✅ Worker is online"), }); + + +pool.emitter.on(PoolEvents.full, () => logger.log("Pool is full")); +pool.emitter.on(PoolEvents.ready, () => logger.log("Pool is ready")); +pool.emitter.on(PoolEvents.busy, () => logger.log("Pool is busy"));