260323:0917 fix CI : Run Tests #01
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
Top 20 files with "any" issues:
|
|
||||||
29 - D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
13 - D:\nap-dms.lcbp3\backend\src\modules\migration\migration.service.ts
|
|
||||||
10 - D:\nap-dms.lcbp3\backend\src\modules\dashboard\dashboard.service.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
6 - D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
6 - D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts
|
|
||||||
5 - D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
5 - D:\nap-dms.lcbp3\backend\src\common\auth\guards\permissions.guard.ts
|
|
||||||
5 - D:\nap-dms.lcbp3\backend\src\modules\user\user.service.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
Top 20 files with "any" issues:
|
|
||||||
29 - D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
5 - D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\rfa\rfa-workflow.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
Top 20 files with "any" issues:
|
|
||||||
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
Top 20 files with "any" issues:
|
|
||||||
29 - D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
5 - D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
*.log
|
*.log
|
||||||
|
*.txt
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
pnpm-debug.log*
|
pnpm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
|
|||||||
Vendored
-3
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"editor.fontSize": 18
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
Top 20 files with "any" issues:
|
|
||||||
29 - D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
8 - D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
5 - D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
3 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
2 - D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
1 - D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 build
|
|
||||||
> nest build
|
|
||||||
|
|
||||||
documentation/template-playground/hbs-render.service.ts:1:28 - error TS2307: Cannot find module '@angular/core' or its corresponding type declarations.
|
|
||||||
|
|
||||||
1 import { Injectable } from '@angular/core';
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/hbs-render.service.ts:175:42 - error TS18046: 'error' is of type 'unknown'.
|
|
||||||
|
|
||||||
175 <p><strong>Error:</strong> ${error.message}</p>
|
|
||||||
~~~~~
|
|
||||||
documentation/template-playground/main.ts:1:40 - error TS2307: Cannot find module '@angular/platform-browser-dynamic' or its corresponding type declarations.
|
|
||||||
|
|
||||||
1 import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/main.ts:8:12 - error TS7006: Parameter 'err' implicitly has an 'any' type.
|
|
||||||
|
|
||||||
8 .catch(err => console.error('Error starting template playground:', err));
|
|
||||||
~~~
|
|
||||||
documentation/template-playground/template-editor.service.ts:1:28 - error TS2307: Cannot find module '@angular/core' or its corresponding type declarations.
|
|
||||||
|
|
||||||
1 import { Injectable } from '@angular/core';
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.component.ts:1:69 - error TS2307: Cannot find module '@angular/core' or its corresponding type declarations.
|
|
||||||
|
|
||||||
1 import { Component, OnInit, ViewChild, ElementRef, OnDestroy } from '@angular/core';
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.component.ts:2:28 - error TS2307: Cannot find module '@angular/common/http' or its corresponding type declarations.
|
|
||||||
|
|
||||||
2 import { HttpClient } from '@angular/common/http';
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.module.ts:1:26 - error TS2307: Cannot find module '@angular/core' or its corresponding type declarations.
|
|
||||||
|
|
||||||
1 import { NgModule } from '@angular/core';
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.module.ts:2:31 - error TS2307: Cannot find module '@angular/platform-browser' or its corresponding type declarations.
|
|
||||||
|
|
||||||
2 import { BrowserModule } from '@angular/platform-browser';
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.module.ts:3:30 - error TS2307: Cannot find module '@angular/common' or its corresponding type declarations.
|
|
||||||
|
|
||||||
3 import { CommonModule } from '@angular/common';
|
|
||||||
~~~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.module.ts:4:29 - error TS2307: Cannot find module '@angular/forms' or its corresponding type declarations.
|
|
||||||
|
|
||||||
4 import { FormsModule } from '@angular/forms';
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/template-playground.module.ts:5:34 - error TS2307: Cannot find module '@angular/common/http' or its corresponding type declarations.
|
|
||||||
|
|
||||||
5 import { HttpClientModule } from '@angular/common/http';
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
documentation/template-playground/zip-export.service.ts:1:28 - error TS2307: Cannot find module '@angular/core' or its corresponding type declarations.
|
|
||||||
|
|
||||||
1 import { Injectable } from '@angular/core';
|
|
||||||
~~~~~~~~~~~~~~~
|
|
||||||
src/modules/rfa/rfa.service.ts:422:11 - error TS2339: Property 'returnToSequence' does not exist on type 'WorkflowActionDto'.
|
|
||||||
|
|
||||||
422 dto.returnToSequence
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/rfa/rfa.service.ts:435:37 - error TS2551: Property 'comments' does not exist on type 'WorkflowActionDto'. Did you mean 'comment'?
|
|
||||||
|
|
||||||
435 currentRouting.comments = dto.comments;
|
|
||||||
~~~~~~~~
|
|
||||||
|
|
||||||
src/modules/correspondence/dto/workflow-action.dto.ts:29:3
|
|
||||||
29 comment?: string;
|
|
||||||
~~~~~~~
|
|
||||||
'comment' is declared here.
|
|
||||||
|
|
||||||
Found 15 error(s).
|
|
||||||
|
|
||||||
@@ -1,141 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 build
|
|
||||||
> nest build
|
|
||||||
|
|
||||||
src/modules/document-numbering/controllers/document-numbering.controller.ts:93:37 - error TS2551: Property 'originatorOrganizationId' does not exist on type 'PreviewNumberDto'. Did you mean 'recipientOrganizationId'?
|
|
||||||
|
|
||||||
93 originatorOrganizationId: dto.originatorOrganizationId,
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
src/modules/document-numbering/dto/preview-number.dto.ts:27:3
|
|
||||||
27 recipientOrganizationId?: number;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
'recipientOrganizationId' is declared here.
|
|
||||||
src/modules/document-numbering/controllers/document-numbering.controller.ts:94:19 - error TS2339: Property 'correspondenceTypeId' does not exist on type 'PreviewNumberDto'.
|
|
||||||
|
|
||||||
94 typeId: dto.correspondenceTypeId,
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/controllers/document-numbering.controller.ts:100:25 - error TS2339: Property 'customTokens' does not exist on type 'PreviewNumberDto'.
|
|
||||||
|
|
||||||
100 customTokens: dto.customTokens,
|
|
||||||
~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/confirm-reservation.dto.ts:13:3 - error TS2564: Property 'documentNumber' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
13 documentNumber: string;
|
|
||||||
~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/confirm-reservation.dto.ts:14:3 - error TS2564: Property 'confirmedAt' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
14 confirmedAt: Date;
|
|
||||||
~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:2:3 - error TS2564: Property 'projectId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
2 projectId: number;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:3:3 - error TS2564: Property 'originatorOrganizationId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
3 originatorOrganizationId: number;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:4:3 - error TS2564: Property 'recipientOrganizationId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
4 recipientOrganizationId: number;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:5:3 - error TS2564: Property 'correspondenceTypeId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
5 correspondenceTypeId: number;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:6:3 - error TS2564: Property 'subTypeId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
6 subTypeId: number;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:7:3 - error TS2564: Property 'rfaTypeId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
7 rfaTypeId: number;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:8:3 - error TS2564: Property 'disciplineId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
8 disciplineId: number;
|
|
||||||
~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/counter-key.dto.ts:9:3 - error TS2564: Property 'resetScope' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
9 resetScope: string;
|
|
||||||
~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/reserve-number.dto.ts:5:3 - error TS2564: Property 'projectId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
5 projectId: number;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/reserve-number.dto.ts:8:3 - error TS2564: Property 'originatorOrganizationId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
8 originatorOrganizationId: number;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/reserve-number.dto.ts:15:3 - error TS2564: Property 'correspondenceTypeId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
15 correspondenceTypeId: number;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/reserve-number.dto.ts:35:3 - error TS2564: Property 'token' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
35 token: string;
|
|
||||||
~~~~~
|
|
||||||
src/modules/document-numbering/dto/reserve-number.dto.ts:36:3 - error TS2564: Property 'documentNumber' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
36 documentNumber: string;
|
|
||||||
~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/dto/reserve-number.dto.ts:37:3 - error TS2564: Property 'expiresAt' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
37 expiresAt: Date;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:20:3 - error TS2564: Property 'id' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
20 id: number;
|
|
||||||
~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:23:3 - error TS2564: Property 'projectId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
23 projectId: number;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:26:3 - error TS2564: Property 'correspondenceTypeId' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
26 correspondenceTypeId: number | null;
|
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:29:3 - error TS2564: Property 'formatTemplate' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
29 formatTemplate: string;
|
|
||||||
~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:32:3 - error TS2564: Property 'description' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
32 description: string;
|
|
||||||
~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:36:3 - error TS2564: Property 'resetSequenceYearly' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
36 resetSequenceYearly: boolean;
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:39:3 - error TS2564: Property 'createdAt' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
39 createdAt: Date;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:42:3 - error TS2564: Property 'updatedAt' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
42 updatedAt: Date;
|
|
||||||
~~~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:47:3 - error TS2564: Property 'project' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
47 project: Project;
|
|
||||||
~~~~~~~
|
|
||||||
src/modules/document-numbering/entities/document-number-format.entity.ts:51:3 - error TS2564: Property 'correspondenceType' has no initializer and is not definitely assigned in the constructor.
|
|
||||||
|
|
||||||
51 correspondenceType: CorrespondenceType | null;
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
src/modules/document-numbering/services/document-numbering.service.ts:249:5 - error TS2740: Type 'DocumentNumberAudit[]' is missing the following properties from type 'DocumentNumberAudit': id, documentId, generatedNumber, counterKey, and 5 more.
|
|
||||||
|
|
||||||
249 return await this.auditRepo.save(audit);
|
|
||||||
~~~~~~
|
|
||||||
src/modules/document-numbering/services/document-numbering.service.ts:256:11 - error TS2769: No overload matches this call.
|
|
||||||
Overload 1 of 3, '(entityLikeArray: DeepPartial<DocumentNumberError>[]): DocumentNumberError[]', gave the following error.
|
|
||||||
Object literal may only specify known properties, and 'projectId' does not exist in type 'DeepPartial<DocumentNumberError>[]'.
|
|
||||||
Overload 2 of 3, '(entityLike: DeepPartial<DocumentNumberError>): DocumentNumberError', gave the following error.
|
|
||||||
Object literal may only specify known properties, and 'projectId' does not exist in type 'DeepPartial<DocumentNumberError>'.
|
|
||||||
|
|
||||||
256 projectId: ctx.projectId,
|
|
||||||
~~~~~~~~~
|
|
||||||
|
|
||||||
|
|
||||||
Found 31 error(s).
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,421 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
[Nest] 13440 - 12/09/2025, 8:34:55 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
|
|
||||||
AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
|
|
||||||
[Nest] 12240 - 12/09/2025, 8:34:55 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
|
|
||||||
AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
|
|
||||||
[Nest] 41780 - 12/09/2025, 8:34:55 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
|
|
||||||
AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
|
|
||||||
|
|
||||||
ΓùÅ Cannot log after tests are done. Did you forget to wait for something async in your test?
|
|
||||||
Attempted to log "AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}".
|
|
||||||
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}".
|
|
||||||
at console.error (../node_modules/@jest/console/build/index.js:124:10)
|
|
||||||
at Queue.emit (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue-base.ts:129:17)
|
|
||||||
at Queue.emit (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue.ts:192:18)
|
|
||||||
at RedisConnection.<anonymous> (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue-base.ts:75:56)
|
|
||||||
at EventEmitter.RedisConnection.handleClientError (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/redis-connection.ts:121:12)
|
|
||||||
at EventEmitter.silentEmit (../../node_modules/.pnpm/ioredis@5.8.2/node_modules/ioredis/built/Redis.js:484:30)
|
|
||||||
at Socket.<anonymous> (../../node_modules/.pnpm/ioredis@5.8.2/node_modules/ioredis/built/redis/event_handler.js:221:14)
|
|
||||||
|
|
||||||
FAIL test/app.e2e-spec.ts (7.608 s)
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.error
|
|
||||||
Redis Connection Error: AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
72 | imports: [ConfigModule],
|
|
||||||
73 | useFactory: async (configService: ConfigService) => ({
|
|
||||||
> 74 | store: await redisStore({
|
|
||||||
| ^
|
|
||||||
75 | socket: {
|
|
||||||
76 | host: configService.get<string>('redis.host'),
|
|
||||||
77 | port: configService.get<number>('redis.port'),
|
|
||||||
|
|
||||||
at redisStore (../../node_modules/.pnpm/cache-manager-redis-yet@5.1.5/node_modules/cache-manager-redis-yet/dist/index.js:101:17)
|
|
||||||
at InstanceWrapper.useFactory [as metatype] (../src/app.module.ts:74:16)
|
|
||||||
at TestingInjector.instantiateClass (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:424:37)
|
|
||||||
at callback (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:70:34)
|
|
||||||
at TestingInjector.resolveConstructorParams (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:170:24)
|
|
||||||
at TestingInjector.loadInstance (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:75:13)
|
|
||||||
at TestingInjector.loadProvider (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:103:9)
|
|
||||||
at ../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:56:13
|
|
||||||
at async Promise.all (index 5)
|
|
||||||
at TestingInstanceLoader.createInstancesOfProviders (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
|
|
||||||
at ../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:40:13
|
|
||||||
at async Promise.all (index 6)
|
|
||||||
at TestingInstanceLoader.createInstances (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
|
|
||||||
at TestingInstanceLoader.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:22:13)
|
|
||||||
at TestingInstanceLoader.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-instance-loader.js:9:9)
|
|
||||||
at TestingModuleBuilder.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-module.builder.js:118:9)
|
|
||||||
at TestingModuleBuilder.compile (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-module.builder.js:74:9)
|
|
||||||
at Object.<anonymous> (app.e2e-spec.ts:11:42)
|
|
||||||
|
|
||||||
● AppController (e2e) › / (GET)
|
|
||||||
|
|
||||||
AggregateError:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ΓùÅ Cannot log after tests are done. Did you forget to wait for something async in your test?
|
|
||||||
Attempted to log "AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}".
|
|
||||||
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}".
|
|
||||||
at console.error (../node_modules/@jest/console/build/index.js:124:10)
|
|
||||||
at Queue.emit (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue-base.ts:129:17)
|
|
||||||
at Queue.emit (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue.ts:192:18)
|
|
||||||
at RedisConnection.<anonymous> (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue-base.ts:75:56)
|
|
||||||
at EventEmitter.RedisConnection.handleClientError (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/redis-connection.ts:121:12)
|
|
||||||
at EventEmitter.silentEmit (../../node_modules/.pnpm/ioredis@5.8.2/node_modules/ioredis/built/Redis.js:484:30)
|
|
||||||
at Socket.<anonymous> (../../node_modules/.pnpm/ioredis@5.8.2/node_modules/ioredis/built/redis/event_handler.js:221:14)
|
|
||||||
|
|
||||||
FAIL test/simple.e2e-spec.ts (7.616 s)
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.error
|
|
||||||
Redis Connection Error: AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
72 | imports: [ConfigModule],
|
|
||||||
73 | useFactory: async (configService: ConfigService) => ({
|
|
||||||
> 74 | store: await redisStore({
|
|
||||||
| ^
|
|
||||||
75 | socket: {
|
|
||||||
76 | host: configService.get<string>('redis.host'),
|
|
||||||
77 | port: configService.get<number>('redis.port'),
|
|
||||||
|
|
||||||
at redisStore (../../node_modules/.pnpm/cache-manager-redis-yet@5.1.5/node_modules/cache-manager-redis-yet/dist/index.js:101:17)
|
|
||||||
at InstanceWrapper.useFactory [as metatype] (../src/app.module.ts:74:16)
|
|
||||||
at TestingInjector.instantiateClass (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:424:37)
|
|
||||||
at callback (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:70:34)
|
|
||||||
at TestingInjector.resolveConstructorParams (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:170:24)
|
|
||||||
at TestingInjector.loadInstance (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:75:13)
|
|
||||||
at TestingInjector.loadProvider (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:103:9)
|
|
||||||
at ../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:56:13
|
|
||||||
at async Promise.all (index 5)
|
|
||||||
at TestingInstanceLoader.createInstancesOfProviders (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
|
|
||||||
at ../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:40:13
|
|
||||||
at async Promise.all (index 6)
|
|
||||||
at TestingInstanceLoader.createInstances (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
|
|
||||||
at TestingInstanceLoader.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:22:13)
|
|
||||||
at TestingInstanceLoader.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-instance-loader.js:9:9)
|
|
||||||
at TestingModuleBuilder.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-module.builder.js:118:9)
|
|
||||||
at TestingModuleBuilder.compile (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-module.builder.js:74:9)
|
|
||||||
at Object.<anonymous> (simple.e2e-spec.ts:9:42)
|
|
||||||
|
|
||||||
● Simple Test › should pass
|
|
||||||
|
|
||||||
AggregateError:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ΓùÅ Cannot log after tests are done. Did you forget to wait for something async in your test?
|
|
||||||
Attempted to log "AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16)
|
|
||||||
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}".
|
|
||||||
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at afterConnectMultiple (../node:net:1708:16) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at TCPConnectWrap.callbackTrampoline (../node:internal/async_hooks:130:17) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}".
|
|
||||||
at console.error (../node_modules/@jest/console/build/index.js:124:10)
|
|
||||||
at Queue.emit (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue-base.ts:129:17)
|
|
||||||
at Queue.emit (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue.ts:192:18)
|
|
||||||
at RedisConnection.<anonymous> (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/queue-base.ts:75:56)
|
|
||||||
at EventEmitter.RedisConnection.handleClientError (../../node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/src/classes/redis-connection.ts:121:12)
|
|
||||||
at EventEmitter.silentEmit (../../node_modules/.pnpm/ioredis@5.8.2/node_modules/ioredis/built/Redis.js:484:30)
|
|
||||||
at Socket.<anonymous> (../../node_modules/.pnpm/ioredis@5.8.2/node_modules/ioredis/built/redis/event_handler.js:221:14)
|
|
||||||
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts (7.637 s)
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.error
|
|
||||||
Redis Connection Error: AggregateError:
|
|
||||||
at internalConnectMultiple (node:net:1134:18)
|
|
||||||
at afterConnectMultiple (node:net:1715:7) {
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
[errors]: [
|
|
||||||
Error: connect ECONNREFUSED ::1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '::1',
|
|
||||||
port: 6379
|
|
||||||
},
|
|
||||||
Error: connect ECONNREFUSED 127.0.0.1:6379
|
|
||||||
at createConnectionError (node:net:1678:14)
|
|
||||||
at afterConnectMultiple (node:net:1708:16) {
|
|
||||||
errno: -4078,
|
|
||||||
code: 'ECONNREFUSED',
|
|
||||||
syscall: 'connect',
|
|
||||||
address: '127.0.0.1',
|
|
||||||
port: 6379
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
72 | imports: [ConfigModule],
|
|
||||||
73 | useFactory: async (configService: ConfigService) => ({
|
|
||||||
> 74 | store: await redisStore({
|
|
||||||
| ^
|
|
||||||
75 | socket: {
|
|
||||||
76 | host: configService.get<string>('redis.host'),
|
|
||||||
77 | port: configService.get<number>('redis.port'),
|
|
||||||
|
|
||||||
at redisStore (../../node_modules/.pnpm/cache-manager-redis-yet@5.1.5/node_modules/cache-manager-redis-yet/dist/index.js:101:17)
|
|
||||||
at InstanceWrapper.useFactory [as metatype] (../src/app.module.ts:74:16)
|
|
||||||
at TestingInjector.instantiateClass (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:424:37)
|
|
||||||
at callback (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:70:34)
|
|
||||||
at TestingInjector.resolveConstructorParams (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:170:24)
|
|
||||||
at TestingInjector.loadInstance (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:75:13)
|
|
||||||
at TestingInjector.loadProvider (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/injector.js:103:9)
|
|
||||||
at ../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:56:13
|
|
||||||
at async Promise.all (index 5)
|
|
||||||
at TestingInstanceLoader.createInstancesOfProviders (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:55:9)
|
|
||||||
at ../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:40:13
|
|
||||||
at async Promise.all (index 6)
|
|
||||||
at TestingInstanceLoader.createInstances (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:39:9)
|
|
||||||
at TestingInstanceLoader.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+core@11.1.9_@nestjs_89e063bd3a6d5071b082cab065bf34d7/node_modules/@nestjs/core/injector/instance-loader.js:22:13)
|
|
||||||
at TestingInstanceLoader.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-instance-loader.js:9:9)
|
|
||||||
at TestingModuleBuilder.createInstancesOfDependencies (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-module.builder.js:118:9)
|
|
||||||
at TestingModuleBuilder.compile (../../node_modules/.pnpm/@nestjs+testing@11.1.9_@nes_5fa0f54bf7d8c8acec998f5e81836857/node_modules/@nestjs/testing/testing-module.builder.js:74:9)
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:25:42)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
AggregateError:
|
|
||||||
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit Workflow
|
|
||||||
|
|
||||||
AggregateError:
|
|
||||||
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/workflow/action (POST) - Approve Step
|
|
||||||
|
|
||||||
AggregateError:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ΓùÅ Test suite failed to run
|
|
||||||
|
|
||||||
TypeError: Cannot read properties of undefined (reading 'close')
|
|
||||||
|
|
||||||
70 | // Correspondence cleanup might be needed if not using a test DB
|
|
||||||
71 | }
|
|
||||||
> 72 | await app.close();
|
|
||||||
| ^
|
|
||||||
73 | });
|
|
||||||
74 |
|
|
||||||
75 | it('/correspondences (POST) - Create Document', async () => {
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:72:15)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 3 failed, 3 total
|
|
||||||
Tests: 5 failed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 8.87 s
|
|
||||||
Ran all test suites.
|
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 5332 - 12/09/2025, 11:25:20 AM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 5332 - 12/09/2025, 11:25:21 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0003-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
3,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0003-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 3, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0003-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 3, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
[Nest] 5332 - 12/09/2025, 11:25:21 AM ERROR [WorkflowEngineService] Transition Failed for c4765f7d-fb12-4ca8-9fa7-10a237069581: Cannot read properties of undefined (reading 'terminal')
|
|
||||||
[Nest] 5332 - 12/09/2025, 11:25:21 AM ERROR [CorrespondenceWorkflowService] Failed to submit workflow: TypeError: Cannot read properties of undefined (reading 'terminal')
|
|
||||||
[Nest] 5332 - 12/09/2025, 11:25:21 AM ERROR [ExceptionsHandler] TypeError: Cannot read properties of undefined (reading 'terminal')
|
|
||||||
at WorkflowEngineService.processTransition (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts:274:36)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at CorrespondenceWorkflowService.submitWorkflow (D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts:73:32)
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 5
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 500 "Internal Server Error"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 1 failed, 4 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.321 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 16184 - 12/09/2025, 11:27:54 AM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 16184 - 12/09/2025, 11:27:54 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0004-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
4,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0004-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 4, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0004-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 4, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 6
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Workflow Instance ID: 3577a2e1-bada-4fe7-84f1-876ec83b0624
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:99:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Current State: IN_REVIEW
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:100:13)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/workflow/action (POST) - Process Action
|
|
||||||
|
|
||||||
expected 201 "Created", got 403 "Forbidden"
|
|
||||||
|
|
||||||
116 | comment: 'E2E Approved via Unified Workflow Engine',
|
|
||||||
117 | })
|
|
||||||
> 118 | .expect(201);
|
|
||||||
| ^
|
|
||||||
119 |
|
|
||||||
120 | expect(response.body).toHaveProperty('success', true);
|
|
||||||
121 | expect(response.body).toHaveProperty('nextState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:118:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 1 failed, 4 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.67 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 7212 - 12/09/2025, 11:32:17 AM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 7212 - 12/09/2025, 11:32:17 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0005-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
5,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0005-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 5, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0005-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 5, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 7
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Workflow Instance ID: 20c439a2-841c-40a1-96e7-5c9f8dfe234f
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:99:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Current State: IN_REVIEW
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:100:13)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/workflow/action (POST) - Process Action
|
|
||||||
|
|
||||||
expected 201 "Created", got 403 "Forbidden"
|
|
||||||
|
|
||||||
116 | comment: 'E2E Approved via Unified Workflow Engine',
|
|
||||||
117 | })
|
|
||||||
> 118 | .expect(201);
|
|
||||||
| ^
|
|
||||||
119 |
|
|
||||||
120 | expect(response.body).toHaveProperty('success', true);
|
|
||||||
121 | expect(response.body).toHaveProperty('nextState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:118:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 1 failed, 4 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.533 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 46180 - 12/09/2025, 11:40:20 AM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 46180 - 12/09/2025, 11:40:20 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0006-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
6,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0006-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 6, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0006-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 6, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 8
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Workflow Instance ID: 9fc9ddd7-5257-4363-b1f1-f9c22f581b44
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:99:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Current State: IN_REVIEW
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:100:13)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/workflow/action (POST) - Process Action
|
|
||||||
|
|
||||||
expected 201 "Created", got 403 "Forbidden"
|
|
||||||
|
|
||||||
116 | comment: 'E2E Approved via Unified Workflow Engine',
|
|
||||||
117 | })
|
|
||||||
> 118 | .expect(201);
|
|
||||||
| ^
|
|
||||||
119 |
|
|
||||||
120 | expect(response.body).toHaveProperty('success', true);
|
|
||||||
121 | expect(response.body).toHaveProperty('nextState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:118:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 1 failed, 4 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.568 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 38304 - 12/09/2025, 12:13:26 PM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 38304 - 12/09/2025, 12:13:26 PM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0007-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
7,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0007-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 7, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0007-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 7, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
PASS test/phase3-workflow.e2e-spec.ts (5.236 s)
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 9
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Workflow Instance ID: d601ef06-93e0-435c-ad76-fc6e3dee5c22
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:99:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Current State: IN_REVIEW
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:100:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Action Result: { success: true, nextState: 'APPROVED', events: [], isCompleted: true }
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:122:13)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
|
|
||||||
Test Suites: 3 passed, 3 total
|
|
||||||
Tests: 5 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 6.691 s
|
|
||||||
Ran all test suites.
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 38760 - 12/09/2025, 12:16:40 PM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 38760 - 12/09/2025, 12:16:40 PM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0008-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
8,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0008-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 8, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0008-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 8, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
PASS test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 10
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Workflow Instance ID: 5057da48-f0e5-4d1a-86f1-a1b96929a6eb
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:99:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Current State: IN_REVIEW
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:100:13)
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Action Result: { success: true, nextState: 'APPROVED', events: [], isCompleted: true }
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:122:13)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
|
|
||||||
Test Suites: 3 passed, 3 total
|
|
||||||
Tests: 5 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.885 s, estimated 6 s
|
|
||||||
Ran all test suites.
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts (7.275 s)
|
|
||||||
PASS test/app.e2e-spec.ts (7.566 s)
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts (7.639 s)
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
QueryFailedError: Table 'lcbp3_dev.correspondence_routing_templates' doesn't exist
|
|
||||||
|
|
||||||
at Query.onResult (../../node_modules/.pnpm/typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08/src/driver/mysql/MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/commands/command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:100:25)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit Workflow
|
|
||||||
|
|
||||||
QueryFailedError: Table 'lcbp3_dev.correspondence_routing_templates' doesn't exist
|
|
||||||
|
|
||||||
at Query.onResult (../../node_modules/.pnpm/typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08/src/driver/mysql/MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/commands/command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:100:25)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/workflow/action (POST) - Approve Step
|
|
||||||
|
|
||||||
QueryFailedError: Table 'lcbp3_dev.correspondence_routing_templates' doesn't exist
|
|
||||||
|
|
||||||
at Query.onResult (../../node_modules/.pnpm/typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08/src/driver/mysql/MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/commands/command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (../../node_modules/.pnpm/mysql2@3.15.3/node_modules/mysql2/lib/base/connection.js:100:25)
|
|
||||||
|
|
||||||
|
|
||||||
ΓùÅ Test suite failed to run
|
|
||||||
|
|
||||||
TypeORMError: Empty criteria(s) are not allowed for the delete method.
|
|
||||||
|
|
||||||
67 | if (dataSource) {
|
|
||||||
68 | const templateRepo = dataSource.getRepository(RoutingTemplate);
|
|
||||||
> 69 | await templateRepo.delete(templateId);
|
|
||||||
| ^
|
|
||||||
70 | // Correspondence cleanup might be needed if not using a test DB
|
|
||||||
71 | }
|
|
||||||
72 | await app.close();
|
|
||||||
|
|
||||||
at EntityManager.delete (../../node_modules/.pnpm/typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08/src/entity-manager/EntityManager.ts:849:17)
|
|
||||||
at Repository.delete (../../node_modules/.pnpm/typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08/src/repository/Repository.ts:420:35)
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:69:32)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 3 failed, 2 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 9.08 s
|
|
||||||
Ran all test suites.
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
[Nest] 28712 - 12/09/2025, 9:48:43 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
|
|
||||||
TypeORMError: Entity metadata for RoutingTemplate#steps was not found. Check if you specified a correct entity object and if it's connected in the connection options.
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1128:23
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.computeInverseProperties (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1118:34)
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:160:18
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.build (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:159:25)
|
|
||||||
at ConnectionMetadataBuilder.buildEntityMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\connection\ConnectionMetadataBuilder.ts:106:11)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at DataSource.buildMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:733:13)
|
|
||||||
at DataSource.initialize (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:264:13)
|
|
||||||
[Nest] 40512 - 12/09/2025, 9:48:43 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
|
|
||||||
TypeORMError: Entity metadata for RoutingTemplate#steps was not found. Check if you specified a correct entity object and if it's connected in the connection options.
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1128:23
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.computeInverseProperties (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1118:34)
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:160:18
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.build (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:159:25)
|
|
||||||
at ConnectionMetadataBuilder.buildEntityMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\connection\ConnectionMetadataBuilder.ts:106:11)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at DataSource.buildMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:733:13)
|
|
||||||
at DataSource.initialize (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:264:13)
|
|
||||||
[Nest] 41884 - 12/09/2025, 9:48:43 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1)...
|
|
||||||
TypeORMError: Entity metadata for RoutingTemplate#steps was not found. Check if you specified a correct entity object and if it's connected in the connection options.
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1128:23
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.computeInverseProperties (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1118:34)
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:160:18
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.build (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:159:25)
|
|
||||||
at ConnectionMetadataBuilder.buildEntityMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\connection\ConnectionMetadataBuilder.ts:106:11)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at DataSource.buildMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:733:13)
|
|
||||||
at DataSource.initialize (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:264:13)
|
|
||||||
[Nest] 41884 - 12/09/2025, 9:48:46 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
|
|
||||||
TypeORMError: Entity metadata for RoutingTemplate#steps was not found. Check if you specified a correct entity object and if it's connected in the connection options.
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1128:23
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.computeInverseProperties (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1118:34)
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:160:18
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.build (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:159:25)
|
|
||||||
at ConnectionMetadataBuilder.buildEntityMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\connection\ConnectionMetadataBuilder.ts:106:11)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at DataSource.buildMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:733:13)
|
|
||||||
at DataSource.initialize (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:264:13)
|
|
||||||
[Nest] 28712 - 12/09/2025, 9:48:46 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
|
|
||||||
TypeORMError: Entity metadata for RoutingTemplate#steps was not found. Check if you specified a correct entity object and if it's connected in the connection options.
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1128:23
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.computeInverseProperties (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1118:34)
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:160:18
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.build (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:159:25)
|
|
||||||
at ConnectionMetadataBuilder.buildEntityMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\connection\ConnectionMetadataBuilder.ts:106:11)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at DataSource.buildMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:733:13)
|
|
||||||
at DataSource.initialize (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:264:13)
|
|
||||||
[Nest] 40512 - 12/09/2025, 9:48:46 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)...
|
|
||||||
TypeORMError: Entity metadata for RoutingTemplate#steps was not found. Check if you specified a correct entity object and if it's connected in the connection options.
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1128:23
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.computeInverseProperties (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:1118:34)
|
|
||||||
at D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:160:18
|
|
||||||
at Array.forEach (<anonymous>)
|
|
||||||
at EntityMetadataBuilder.build (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\metadata-builder\EntityMetadataBuilder.ts:159:25)
|
|
||||||
at ConnectionMetadataBuilder.buildEntityMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\connection\ConnectionMetadataBuilder.ts:106:11)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at DataSource.buildMetadatas (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:733:13)
|
|
||||||
at DataSource.initialize (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\data-source\DataSource.ts:264:13)
|
|
||||||
FAIL test/app.e2e-spec.ts (8.781 s)
|
|
||||||
● AppController (e2e) › / (GET)
|
|
||||||
|
|
||||||
thrown: "Exceeded timeout of 5000 ms for a hook.
|
|
||||||
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
|
|
||||||
|
|
||||||
8 | let app: INestApplication<App>;
|
|
||||||
9 |
|
|
||||||
> 10 | beforeEach(async () => {
|
|
||||||
| ^
|
|
||||||
11 | const moduleFixture: TestingModule = await Test.createTestingModule({
|
|
||||||
12 | imports: [AppModule],
|
|
||||||
13 | }).compile();
|
|
||||||
|
|
||||||
at app.e2e-spec.ts:10:3
|
|
||||||
at Object.<anonymous> (app.e2e-spec.ts:7:1)
|
|
||||||
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts (8.787 s)
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
thrown: "Exceeded timeout of 5000 ms for a hook.
|
|
||||||
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
|
|
||||||
|
|
||||||
27 | let adminToken: string;
|
|
||||||
28 |
|
|
||||||
> 29 | beforeAll(async () => {
|
|
||||||
| ^
|
|
||||||
30 | const moduleFixture: TestingModule = await Test.createTestingModule({
|
|
||||||
31 | imports: [AppModule],
|
|
||||||
32 | }).compile();
|
|
||||||
|
|
||||||
at phase3-workflow.e2e-spec.ts:29:3
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:15:1)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
thrown: "Exceeded timeout of 5000 ms for a hook.
|
|
||||||
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
|
|
||||||
|
|
||||||
27 | let adminToken: string;
|
|
||||||
28 |
|
|
||||||
> 29 | beforeAll(async () => {
|
|
||||||
| ^
|
|
||||||
30 | const moduleFixture: TestingModule = await Test.createTestingModule({
|
|
||||||
31 | imports: [AppModule],
|
|
||||||
32 | }).compile();
|
|
||||||
|
|
||||||
at phase3-workflow.e2e-spec.ts:29:3
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:15:1)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/workflow/action (POST) - Process Action
|
|
||||||
|
|
||||||
thrown: "Exceeded timeout of 5000 ms for a hook.
|
|
||||||
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
|
|
||||||
|
|
||||||
27 | let adminToken: string;
|
|
||||||
28 |
|
|
||||||
> 29 | beforeAll(async () => {
|
|
||||||
| ^
|
|
||||||
30 | const moduleFixture: TestingModule = await Test.createTestingModule({
|
|
||||||
31 | imports: [AppModule],
|
|
||||||
32 | }).compile();
|
|
||||||
|
|
||||||
at phase3-workflow.e2e-spec.ts:29:3
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:15:1)
|
|
||||||
|
|
||||||
FAIL test/simple.e2e-spec.ts (8.797 s)
|
|
||||||
● Simple Test › should pass
|
|
||||||
|
|
||||||
thrown: "Exceeded timeout of 5000 ms for a test.
|
|
||||||
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
|
|
||||||
|
|
||||||
6 |
|
|
||||||
7 | describe('Simple Test', () => {
|
|
||||||
> 8 | it('should pass', async () => {
|
|
||||||
| ^
|
|
||||||
9 | const moduleFixture: TestingModule = await Test.createTestingModule({
|
|
||||||
10 | imports: [AppModule],
|
|
||||||
11 | }).compile();
|
|
||||||
|
|
||||||
at simple.e2e-spec.ts:8:3
|
|
||||||
at Object.<anonymous> (simple.e2e-spec.ts:7:1)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 3 failed, 3 total
|
|
||||||
Tests: 5 failed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 9.98 s
|
|
||||||
Ran all test suites.
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
WorkflowDefinition CORRESPONDENCE_FLOW_V1 not found. Tests may fail.
|
|
||||||
|
|
||||||
55 |
|
|
||||||
56 | if (!existing) {
|
|
||||||
> 57 | console.warn(
|
|
||||||
| ^
|
|
||||||
58 | 'WorkflowDefinition CORRESPONDENCE_FLOW_V1 not found. Tests may fail.'
|
|
||||||
59 | );
|
|
||||||
60 | }
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:57:15)
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
expected 201 "Created", got 403 "Forbidden"
|
|
||||||
|
|
||||||
77 | details: { question: 'Testing Unified Workflow' },
|
|
||||||
78 | })
|
|
||||||
> 79 | .expect(201);
|
|
||||||
| ^
|
|
||||||
80 |
|
|
||||||
81 | expect(response.body).toHaveProperty('id');
|
|
||||||
82 | expect(response.body).toHaveProperty('correspondenceNumber');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:79:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 403 "Forbidden"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 2 failed, 3 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.219 s, estimated 9 s
|
|
||||||
Ran all test suites.
|
|
||||||
@@ -1,214 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 45012 - 12/09/2025, 10:04:29 AM ERROR [DocumentNumberingService] Error generating number for doc_num:1:1:0:2025
|
|
||||||
[Nest] 45012 - 12/09/2025, 10:04:29 AM ERROR [DocumentNumberingService] QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `correspondence_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (?, ?, ?, ?, ?, ?, 1) RETURNING `discipline_id`, `last_number`, `version`',
|
|
||||||
parameters: [
|
|
||||||
1,
|
|
||||||
41,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
2025,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
driverError: Error: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `correspondence_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, 1, 0, 2025, 1, 1) RETURNING `discipline_id`, `last_number`, `version`'
|
|
||||||
},
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `correspondence_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, 1, 0, 2025, 1, 1) RETURNING `discipline_id`, `last_number`, `version`'
|
|
||||||
}
|
|
||||||
[Nest] 45012 - 12/09/2025, 10:04:29 AM ERROR [DocumentNumberingService] Failed to log error
|
|
||||||
[Nest] 45012 - 12/09/2025, 10:04:29 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'error_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, DEFAULT) RETURNING `id`, `error_at`',
|
|
||||||
parameters: [
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'DB_ERROR',
|
|
||||||
'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\n at Query.onResult (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\src\\driver\\mysql\\MysqlQueryRunner.ts:248:33)\n at Query.execute (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\commands\\command.js:36:14)\n at PoolConnection.handlePacket (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:477:34)\n at PacketParser.onPacket (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:93:12)\n at PacketParser.executeStart (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\packet_parser.js:75:16)\n at Socket.<anonymous> (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:100:25)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)',
|
|
||||||
'{"projectId":1,"originatorId":41,"typeId":1,"year":2025,"customTokens":{"TYPE_CODE":"RFA","ORG_CODE":"ORG"}}'
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'error_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'error_at' in 'RETURNING'",
|
|
||||||
sql: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, \'doc_num:1:1:0:2025\', \'DB_ERROR\', \'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\', \'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\\n at Query.onResult (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\\\src\\\\driver\\\\mysql\\\\MysqlQueryRunner.ts:248:33)\\n at Query.execute (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\commands\\\\command.js:36:14)\\n at PoolConnection.handlePacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:477:34)\\n at PacketParser.onPacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:93:12)\\n at PacketParser.executeStart (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\packet_parser.js:75:16)\\n at Socket.<anonymous> (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:100:25)\\n at Socket.emit (node:events:519:28)\\n at addChunk (node:internal/streams/readable:561:12)\\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\\n at Socket.Readable.push (node:internal/streams/readable:392:5)\\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\', DEFAULT, DEFAULT, \'{\\"projectId\\":1,\\"originatorId\\":41,\\"typeId\\":1,\\"year\\":2025,\\"customTokens\\":{\\"TYPE_CODE\\":\\"RFA\\",\\"ORG_CODE\\":\\"ORG\\"}}\', DEFAULT) RETURNING `id`, `error_at`'
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'error_at' in 'RETURNING'",
|
|
||||||
sql: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, \'doc_num:1:1:0:2025\', \'DB_ERROR\', \'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\', \'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\\n at Query.onResult (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\\\src\\\\driver\\\\mysql\\\\MysqlQueryRunner.ts:248:33)\\n at Query.execute (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\commands\\\\command.js:36:14)\\n at PoolConnection.handlePacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:477:34)\\n at PacketParser.onPacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:93:12)\\n at PacketParser.executeStart (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\packet_parser.js:75:16)\\n at Socket.<anonymous> (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:100:25)\\n at Socket.emit (node:events:519:28)\\n at addChunk (node:internal/streams/readable:561:12)\\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\\n at Socket.Readable.push (node:internal/streams/readable:392:5)\\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\', DEFAULT, DEFAULT, \'{\\"projectId\\":1,\\"originatorId\\":41,\\"typeId\\":1,\\"year\\":2025,\\"customTokens\\":{\\"TYPE_CODE\\":\\"RFA\\",\\"ORG_CODE\\":\\"ORG\\"}}\', DEFAULT) RETURNING `id`, `error_at`'
|
|
||||||
}
|
|
||||||
[Nest] 45012 - 12/09/2025, 10:04:29 AM ERROR [CorrespondenceService] Failed to create correspondence: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
[Nest] 45012 - 12/09/2025, 10:04:29 AM ERROR [ExceptionsHandler] QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `correspondence_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (?, ?, ?, ?, ?, ?, 1) RETURNING `discipline_id`, `last_number`, `version`',
|
|
||||||
parameters: [
|
|
||||||
1,
|
|
||||||
41,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
2025,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
driverError: Error: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `correspondence_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, 1, 0, 2025, 1, 1) RETURNING `discipline_id`, `last_number`, `version`'
|
|
||||||
},
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `correspondence_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, 1, 0, 2025, 1, 1) RETURNING `discipline_id`, `last_number`, `version`'
|
|
||||||
}
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
expected 201 "Created", got 500 "Internal Server Error"
|
|
||||||
|
|
||||||
77 | details: { question: 'Testing Unified Workflow' },
|
|
||||||
78 | })
|
|
||||||
> 79 | .expect(201);
|
|
||||||
| ^
|
|
||||||
80 |
|
|
||||||
81 | expect(response.body).toHaveProperty('id');
|
|
||||||
82 | expect(response.body).toHaveProperty('correspondenceNumber');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:79:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 400 "Bad Request"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 2 failed, 3 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.122 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,220 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts (7.012 s)
|
|
||||||
PASS test/app.e2e-spec.ts (7.175 s)
|
|
||||||
[Nest] 22264 - 12/09/2025, 10:27:45 AM ERROR [DocumentNumberingService] Error generating number for doc_num:1:1:0:2025
|
|
||||||
[Nest] 22264 - 12/09/2025, 10:27:45 AM ERROR [DocumentNumberingService] QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`',
|
|
||||||
parameters: [
|
|
||||||
1,
|
|
||||||
41,
|
|
||||||
-1,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
2025,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
driverError: Error: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
},
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
}
|
|
||||||
[Nest] 22264 - 12/09/2025, 10:27:45 AM ERROR [DocumentNumberingService] Failed to log error
|
|
||||||
[Nest] 22264 - 12/09/2025, 10:27:45 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'error_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, DEFAULT) RETURNING `id`, `error_at`',
|
|
||||||
parameters: [
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'DB_ERROR',
|
|
||||||
'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\n at Query.onResult (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\src\\driver\\mysql\\MysqlQueryRunner.ts:248:33)\n at Query.execute (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\commands\\command.js:36:14)\n at PoolConnection.handlePacket (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:477:34)\n at PacketParser.onPacket (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:93:12)\n at PacketParser.executeStart (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\packet_parser.js:75:16)\n at Socket.<anonymous> (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:100:25)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)',
|
|
||||||
'{"projectId":1,"originatorId":41,"typeId":1,"year":2025,"customTokens":{"TYPE_CODE":"RFA","ORG_CODE":"ORG"}}'
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'error_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'error_at' in 'RETURNING'",
|
|
||||||
sql: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, \'doc_num:1:1:0:2025\', \'DB_ERROR\', \'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\', \'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\\n at Query.onResult (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\\\src\\\\driver\\\\mysql\\\\MysqlQueryRunner.ts:248:33)\\n at Query.execute (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\commands\\\\command.js:36:14)\\n at PoolConnection.handlePacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:477:34)\\n at PacketParser.onPacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:93:12)\\n at PacketParser.executeStart (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\packet_parser.js:75:16)\\n at Socket.<anonymous> (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:100:25)\\n at Socket.emit (node:events:519:28)\\n at addChunk (node:internal/streams/readable:561:12)\\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\\n at Socket.Readable.push (node:internal/streams/readable:392:5)\\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\', DEFAULT, DEFAULT, \'{\\"projectId\\":1,\\"originatorId\\":41,\\"typeId\\":1,\\"year\\":2025,\\"customTokens\\":{\\"TYPE_CODE\\":\\"RFA\\",\\"ORG_CODE\\":\\"ORG\\"}}\', DEFAULT) RETURNING `id`, `error_at`'
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'error_at' in 'RETURNING'",
|
|
||||||
sql: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, \'doc_num:1:1:0:2025\', \'DB_ERROR\', \'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\', \'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\\n at Query.onResult (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\\\src\\\\driver\\\\mysql\\\\MysqlQueryRunner.ts:248:33)\\n at Query.execute (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\commands\\\\command.js:36:14)\\n at PoolConnection.handlePacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:477:34)\\n at PacketParser.onPacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:93:12)\\n at PacketParser.executeStart (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\packet_parser.js:75:16)\\n at Socket.<anonymous> (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:100:25)\\n at Socket.emit (node:events:519:28)\\n at addChunk (node:internal/streams/readable:561:12)\\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\\n at Socket.Readable.push (node:internal/streams/readable:392:5)\\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\', DEFAULT, DEFAULT, \'{\\"projectId\\":1,\\"originatorId\\":41,\\"typeId\\":1,\\"year\\":2025,\\"customTokens\\":{\\"TYPE_CODE\\":\\"RFA\\",\\"ORG_CODE\\":\\"ORG\\"}}\', DEFAULT) RETURNING `id`, `error_at`'
|
|
||||||
}
|
|
||||||
[Nest] 22264 - 12/09/2025, 10:27:45 AM ERROR [CorrespondenceService] Failed to create correspondence: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
[Nest] 22264 - 12/09/2025, 10:27:45 AM ERROR [ExceptionsHandler] QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`',
|
|
||||||
parameters: [
|
|
||||||
1,
|
|
||||||
41,
|
|
||||||
-1,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
2025,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
driverError: Error: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
},
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `document_number_counters_ibfk_3` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
}
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts (7.412 s)
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
expected 201 "Created", got 500 "Internal Server Error"
|
|
||||||
|
|
||||||
77 | details: { question: 'Testing Unified Workflow' },
|
|
||||||
78 | })
|
|
||||||
> 79 | .expect(201);
|
|
||||||
| ^
|
|
||||||
80 |
|
|
||||||
81 | expect(response.body).toHaveProperty('id');
|
|
||||||
82 | expect(response.body).toHaveProperty('correspondenceNumber');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:79:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 400 "Bad Request"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 2 failed, 3 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 8.723 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,220 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 44520 - 12/09/2025, 11:16:08 AM ERROR [DocumentNumberingService] Error generating number for doc_num:1:1:0:2025
|
|
||||||
[Nest] 44520 - 12/09/2025, 11:16:08 AM ERROR [DocumentNumberingService] QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`',
|
|
||||||
parameters: [
|
|
||||||
1,
|
|
||||||
41,
|
|
||||||
-1,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
2025,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
driverError: Error: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
},
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
}
|
|
||||||
[Nest] 44520 - 12/09/2025, 11:16:08 AM ERROR [DocumentNumberingService] Failed to log error
|
|
||||||
[Nest] 44520 - 12/09/2025, 11:16:08 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'error_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, DEFAULT) RETURNING `id`, `error_at`',
|
|
||||||
parameters: [
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'DB_ERROR',
|
|
||||||
'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\n at Query.onResult (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\src\\driver\\mysql\\MysqlQueryRunner.ts:248:33)\n at Query.execute (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\commands\\command.js:36:14)\n at PoolConnection.handlePacket (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:477:34)\n at PacketParser.onPacket (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:93:12)\n at PacketParser.executeStart (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\packet_parser.js:75:16)\n at Socket.<anonymous> (D:\\nap-dms.lcbp3\\node_modules\\.pnpm\\mysql2@3.15.3\\node_modules\\mysql2\\lib\\base\\connection.js:100:25)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)',
|
|
||||||
'{"projectId":1,"originatorId":41,"typeId":1,"year":2025,"customTokens":{"TYPE_CODE":"RFA","ORG_CODE":"ORG"}}'
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'error_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'error_at' in 'RETURNING'",
|
|
||||||
sql: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, \'doc_num:1:1:0:2025\', \'DB_ERROR\', \'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\', \'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\\n at Query.onResult (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\\\src\\\\driver\\\\mysql\\\\MysqlQueryRunner.ts:248:33)\\n at Query.execute (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\commands\\\\command.js:36:14)\\n at PoolConnection.handlePacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:477:34)\\n at PacketParser.onPacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:93:12)\\n at PacketParser.executeStart (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\packet_parser.js:75:16)\\n at Socket.<anonymous> (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:100:25)\\n at Socket.emit (node:events:519:28)\\n at addChunk (node:internal/streams/readable:561:12)\\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\\n at Socket.Readable.push (node:internal/streams/readable:392:5)\\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\', DEFAULT, DEFAULT, \'{\\"projectId\\":1,\\"originatorId\\":41,\\"typeId\\":1,\\"year\\":2025,\\"customTokens\\":{\\"TYPE_CODE\\":\\"RFA\\",\\"ORG_CODE\\":\\"ORG\\"}}\', DEFAULT) RETURNING `id`, `error_at`'
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'error_at' in 'RETURNING'",
|
|
||||||
sql: 'INSERT INTO `document_number_errors`(`id`, `counter_key`, `error_type`, `error_message`, `stack_trace`, `user_id`, `ip_address`, `context`, `error_at`) VALUES (DEFAULT, \'doc_num:1:1:0:2025\', \'DB_ERROR\', \'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\', \'QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)\\n at Query.onResult (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\\\\src\\\\driver\\\\mysql\\\\MysqlQueryRunner.ts:248:33)\\n at Query.execute (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\commands\\\\command.js:36:14)\\n at PoolConnection.handlePacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:477:34)\\n at PacketParser.onPacket (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:93:12)\\n at PacketParser.executeStart (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\packet_parser.js:75:16)\\n at Socket.<anonymous> (D:\\\\nap-dms.lcbp3\\\\node_modules\\\\.pnpm\\\\mysql2@3.15.3\\\\node_modules\\\\mysql2\\\\lib\\\\base\\\\connection.js:100:25)\\n at Socket.emit (node:events:519:28)\\n at addChunk (node:internal/streams/readable:561:12)\\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\\n at Socket.Readable.push (node:internal/streams/readable:392:5)\\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\', DEFAULT, DEFAULT, \'{\\"projectId\\":1,\\"originatorId\\":41,\\"typeId\\":1,\\"year\\":2025,\\"customTokens\\":{\\"TYPE_CODE\\":\\"RFA\\",\\"ORG_CODE\\":\\"ORG\\"}}\', DEFAULT) RETURNING `id`, `error_at`'
|
|
||||||
}
|
|
||||||
[Nest] 44520 - 12/09/2025, 11:16:08 AM ERROR [CorrespondenceService] Failed to create correspondence: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
[Nest] 44520 - 12/09/2025, 11:16:08 AM ERROR [ExceptionsHandler] QueryFailedError: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`',
|
|
||||||
parameters: [
|
|
||||||
1,
|
|
||||||
41,
|
|
||||||
-1,
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
2025,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
driverError: Error: Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
},
|
|
||||||
code: 'ER_NO_REFERENCED_ROW_2',
|
|
||||||
errno: 1452,
|
|
||||||
sqlState: '23000',
|
|
||||||
sqlMessage: 'Cannot add or update a child row: a foreign key constraint fails (`lcbp3_dev`.`document_number_counters`, CONSTRAINT `fk_recipient_when_not_all` FOREIGN KEY (`recipient_organization_id`) REFERENCES `organizations` (`id`) ON DELETE CASCADE)',
|
|
||||||
sql: 'INSERT INTO `document_number_counters`(`project_id`, `originator_organization_id`, `recipient_organization_id`, `correspondence_type_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `current_year`, `last_number`, `version`) VALUES (1, 41, -1, 1, 0, 0, 0, 2025, 1, 1) RETURNING `recipient_organization_id`, `sub_type_id`, `rfa_type_id`, `discipline_id`, `last_number`, `version`'
|
|
||||||
}
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences (POST) - Create Document
|
|
||||||
|
|
||||||
expected 201 "Created", got 500 "Internal Server Error"
|
|
||||||
|
|
||||||
77 | details: { question: 'Testing Unified Workflow' },
|
|
||||||
78 | })
|
|
||||||
> 79 | .expect(201);
|
|
||||||
| ^
|
|
||||||
80 |
|
|
||||||
81 | expect(response.body).toHaveProperty('id');
|
|
||||||
82 | expect(response.body).toHaveProperty('correspondenceNumber');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:79:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 400 "Bad Request"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 2 failed, 3 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.786 s, estimated 8 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,111 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 25968 - 12/09/2025, 11:19:28 AM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 25968 - 12/09/2025, 11:19:28 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0001-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
1,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0001-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 1, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0001-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 1, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
[Nest] 25968 - 12/09/2025, 11:19:28 AM ERROR [WorkflowEngineService] Transition Failed for 1215d0aa-453f-46dc-845d-0488a0213c4a: Cannot read properties of undefined (reading 'roles')
|
|
||||||
[Nest] 25968 - 12/09/2025, 11:19:28 AM ERROR [CorrespondenceWorkflowService] Failed to submit workflow: TypeError: Cannot read properties of undefined (reading 'roles')
|
|
||||||
[Nest] 25968 - 12/09/2025, 11:19:28 AM ERROR [ExceptionsHandler] TypeError: Cannot read properties of undefined (reading 'roles')
|
|
||||||
at WorkflowDslService.checkRequirements (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts:219:13)
|
|
||||||
at WorkflowDslService.evaluate (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts:178:10)
|
|
||||||
at WorkflowEngineService.processTransition (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts:259:42)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at CorrespondenceWorkflowService.submitWorkflow (D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts:72:32)
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 3
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 500 "Internal Server Error"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 1 failed, 4 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.439 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,111 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test:e2e D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --config ./test/jest-e2e.json
|
|
||||||
|
|
||||||
PASS test/simple.e2e-spec.ts
|
|
||||||
PASS test/app.e2e-spec.ts
|
|
||||||
[Nest] 35280 - 12/09/2025, 11:24:24 AM ERROR [DocumentNumberingService] Failed to log audit
|
|
||||||
[Nest] 35280 - 12/09/2025, 11:24:24 AM ERROR [DocumentNumberingService] QueryFailedError: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Query.onResult (D:\nap-dms.lcbp3\node_modules\.pnpm\typeorm@0.3.27_ioredis@5.8._cb81dfd56f1203fe00eb0fec5dfcce08\src\driver\mysql\MysqlQueryRunner.ts:248:33)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:36:14)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
query: 'INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, ?, ?, ?, ?, DEFAULT, DEFAULT, ?, ?, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`',
|
|
||||||
parameters: [
|
|
||||||
'ผรม.1-ผรม.1-0002-2568',
|
|
||||||
'doc_num:1:1:0:2025',
|
|
||||||
'{ORG}-{ORG}-{SEQ:4}-{YEAR}',
|
|
||||||
2,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
driverError: Error: Unknown column 'generated_at' in 'RETURNING'
|
|
||||||
at Packet.asError (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packets\packet.js:740:17)
|
|
||||||
at Query.execute (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\commands\command.js:29:26)
|
|
||||||
at PoolConnection.handlePacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:477:34)
|
|
||||||
at PacketParser.onPacket (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:93:12)
|
|
||||||
at PacketParser.executeStart (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\packet_parser.js:75:16)
|
|
||||||
at Socket.<anonymous> (D:\nap-dms.lcbp3\node_modules\.pnpm\mysql2@3.15.3\node_modules\mysql2\lib\base\connection.js:100:25)
|
|
||||||
at Socket.emit (node:events:519:28)
|
|
||||||
at addChunk (node:internal/streams/readable:561:12)
|
|
||||||
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
|
|
||||||
at Socket.Readable.push (node:internal/streams/readable:392:5)
|
|
||||||
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
|
|
||||||
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0002-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 2, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
},
|
|
||||||
code: 'ER_BAD_FIELD_ERROR',
|
|
||||||
errno: 1054,
|
|
||||||
sqlState: '42S22',
|
|
||||||
sqlMessage: "Unknown column 'generated_at' in 'RETURNING'",
|
|
||||||
sql: "INSERT INTO `document_number_audit`(`id`, `generated_number`, `counter_key`, `template_used`, `sequence_number`, `user_id`, `ip_address`, `retry_count`, `lock_wait_ms`, `generated_at`) VALUES (DEFAULT, 'ผรม.1-ผรม.1-0002-2568', 'doc_num:1:1:0:2025', '{ORG}-{ORG}-{SEQ:4}-{YEAR}', 2, DEFAULT, DEFAULT, 0, 0, DEFAULT) RETURNING `id`, `retry_count`, `generated_at`"
|
|
||||||
}
|
|
||||||
[Nest] 35280 - 12/09/2025, 11:24:25 AM ERROR [WorkflowEngineService] Transition Failed for 3a51f630-c4fc-4fb4-8c2b-f1150195d8bd: Cannot read properties of undefined (reading 'roles')
|
|
||||||
[Nest] 35280 - 12/09/2025, 11:24:25 AM ERROR [CorrespondenceWorkflowService] Failed to submit workflow: TypeError: Cannot read properties of undefined (reading 'roles')
|
|
||||||
[Nest] 35280 - 12/09/2025, 11:24:25 AM ERROR [ExceptionsHandler] TypeError: Cannot read properties of undefined (reading 'roles')
|
|
||||||
at WorkflowDslService.checkRequirements (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts:219:13)
|
|
||||||
at WorkflowDslService.evaluate (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts:178:10)
|
|
||||||
at WorkflowEngineService.processTransition (D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts:259:42)
|
|
||||||
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
||||||
at CorrespondenceWorkflowService.submitWorkflow (D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts:73:32)
|
|
||||||
FAIL test/phase3-workflow.e2e-spec.ts
|
|
||||||
ΓùÅ Console
|
|
||||||
|
|
||||||
console.log
|
|
||||||
Created Correspondence ID: 4
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:84:13)
|
|
||||||
|
|
||||||
console.warn
|
|
||||||
Skipping action test - no instanceId from submit
|
|
||||||
|
|
||||||
104 | // Skip if submit failed to get instanceId
|
|
||||||
105 | if (!workflowInstanceId) {
|
|
||||||
> 106 | console.warn('Skipping action test - no instanceId from submit');
|
|
||||||
| ^
|
|
||||||
107 | return;
|
|
||||||
108 | }
|
|
||||||
109 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:106:15)
|
|
||||||
|
|
||||||
● Phase 3 Workflow (E2E) › /correspondences/:id/submit (POST) - Submit to Workflow
|
|
||||||
|
|
||||||
expected 201 "Created", got 500 "Internal Server Error"
|
|
||||||
|
|
||||||
92 | note: 'Submitting for E2E test',
|
|
||||||
93 | })
|
|
||||||
> 94 | .expect(201);
|
|
||||||
| ^
|
|
||||||
95 |
|
|
||||||
96 | expect(response.body).toHaveProperty('instanceId');
|
|
||||||
97 | expect(response.body).toHaveProperty('currentState');
|
|
||||||
|
|
||||||
at Object.<anonymous> (phase3-workflow.e2e-spec.ts:94:8)
|
|
||||||
----
|
|
||||||
at Test._assertStatus (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:309:14)
|
|
||||||
at ../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:365:13
|
|
||||||
at Test._assertFunction (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:342:13)
|
|
||||||
at Test.assert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:195:23)
|
|
||||||
at localAssert (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:138:14)
|
|
||||||
at Server.<anonymous> (../../node_modules/.pnpm/supertest@7.1.4/node_modules/supertest/lib/test.js:152:11)
|
|
||||||
|
|
||||||
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
||||||
Test Suites: 1 failed, 2 passed, 3 total
|
|
||||||
Tests: 1 failed, 4 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 5.652 s
|
|
||||||
Ran all test suites.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Command failed with exit code 1.
|
|
||||||
@@ -1,344 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.8.0 lint D:\nap-dms.lcbp3\backend
|
|
||||||
> eslint "{src,apps,libs,test}/**/*.ts" --fix
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
60:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
49:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 180 problems (180 errors, 0 warnings)
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
$2b$10$MpKnf1UEvlu8hZcqMkhMsuWG3gYD/priWTUr71GpF/uuroaGxtose
|
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.8.0 lint D:\nap-dms.lcbp3\backend
|
|
||||||
> eslint "{src,apps,libs,test}/**/*.ts" --fix
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
164:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
187:9 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
223:9 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
259:9 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
304:9 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
129:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
162:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
181:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
✖ 38 problems (38 errors, 0 warnings)
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.8.0 lint D:\nap-dms.lcbp3\backend
|
|
||||||
> eslint "{src,apps,libs,test}/**/*.ts" --fix
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
✖ 10 problems (10 errors, 0 warnings)
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.8.0 lint D:\nap-dms.lcbp3\backend
|
|
||||||
> eslint "{src,apps,libs,test}/**/*.ts" --fix
|
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
"socket.io": "^4.8.1",
|
"socket.io": "^4.8.1",
|
||||||
"swagger-ui-express": "^5.0.1",
|
"swagger-ui-express": "^5.0.1",
|
||||||
"typeorm": "^0.3.27",
|
"typeorm": "^0.3.27",
|
||||||
"uuid": "^13.0.0",
|
"uuid": "^11.0.0",
|
||||||
"winston": "^3.18.3",
|
"winston": "^3.18.3",
|
||||||
"zod": "^4.1.13"
|
"zod": "^4.1.13"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
|
||||||
> jest --forceExit "rfa"
|
|
||||||
|
|
||||||
No tests found, exiting with code 1
|
|
||||||
Run with `--passWithNoTests` to exit with code 0
|
|
||||||
In D:\nap-dms.lcbp3\backend\src
|
|
||||||
273 files checked.
|
|
||||||
testMatch: - 0 matches
|
|
||||||
testPathIgnorePatterns: \\node_modules\\ - 273 matches
|
|
||||||
testRegex: .*\.spec\.ts$ - 15 matches
|
|
||||||
Pattern: rfa - 0 matches
|
|
||||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
|
||||||
@@ -18,6 +18,7 @@ describe('CorrespondenceController', () => {
|
|||||||
getReferences: jest.fn(),
|
getReferences: jest.fn(),
|
||||||
addReference: jest.fn(),
|
addReference: jest.fn(),
|
||||||
removeReference: jest.fn(),
|
removeReference: jest.fn(),
|
||||||
|
findOneByUuid: jest.fn(),
|
||||||
};
|
};
|
||||||
|
|
||||||
mockWorkflowService = {
|
mockWorkflowService = {
|
||||||
@@ -98,7 +99,11 @@ describe('CorrespondenceController', () => {
|
|||||||
mockResult
|
mockResult
|
||||||
);
|
);
|
||||||
|
|
||||||
const mockReq = { user: { user_id: 1 } };
|
const mockReq = { user: { user_id: 1, roles: [] } };
|
||||||
|
(mockCorrespondenceService.findOneByUuid as jest.Mock).mockResolvedValue({
|
||||||
|
id: 1,
|
||||||
|
uuid: 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11',
|
||||||
|
});
|
||||||
const result = await controller.submit(
|
const result = await controller.submit(
|
||||||
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11',
|
'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11',
|
||||||
{ note: 'Test note' },
|
{ note: 'Test note' },
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import { WorkflowEngineService } from '../workflow-engine/workflow-engine.servic
|
|||||||
import { UserService } from '../user/user.service';
|
import { UserService } from '../user/user.service';
|
||||||
import { SearchService } from '../search/search.service';
|
import { SearchService } from '../search/search.service';
|
||||||
import { FileStorageService } from '../../common/file-storage/file-storage.service';
|
import { FileStorageService } from '../../common/file-storage/file-storage.service';
|
||||||
|
import { UuidResolverService } from '../../common/services/uuid-resolver.service';
|
||||||
import { UpdateCorrespondenceDto } from './dto/update-correspondence.dto';
|
import { UpdateCorrespondenceDto } from './dto/update-correspondence.dto';
|
||||||
import { User } from '../user/entities/user.entity';
|
import { User } from '../user/entities/user.entity';
|
||||||
|
|
||||||
@@ -23,6 +24,7 @@ describe('CorrespondenceService', () => {
|
|||||||
let numberingService: DocumentNumberingService;
|
let numberingService: DocumentNumberingService;
|
||||||
let correspondenceRepo: Repository<Correspondence>;
|
let correspondenceRepo: Repository<Correspondence>;
|
||||||
let revisionRepo: Repository<CorrespondenceRevision>;
|
let revisionRepo: Repository<CorrespondenceRevision>;
|
||||||
|
let testingModule: TestingModule;
|
||||||
let _dataSource: DataSource;
|
let _dataSource: DataSource;
|
||||||
|
|
||||||
const createMockRepository = () => ({
|
const createMockRepository = () => ({
|
||||||
@@ -60,10 +62,13 @@ describe('CorrespondenceService', () => {
|
|||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
getRepository: jest.fn(() => createMockRepository()),
|
getRepository: jest.fn(() => createMockRepository()),
|
||||||
|
manager: {
|
||||||
|
findOne: jest.fn(),
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
const module: TestingModule = await Test.createTestingModule({
|
testingModule = await Test.createTestingModule({
|
||||||
providers: [
|
providers: [
|
||||||
CorrespondenceService,
|
CorrespondenceService,
|
||||||
{
|
{
|
||||||
@@ -129,20 +134,27 @@ describe('CorrespondenceService', () => {
|
|||||||
provide: FileStorageService,
|
provide: FileStorageService,
|
||||||
useValue: { commit: jest.fn().mockResolvedValue([]) },
|
useValue: { commit: jest.fn().mockResolvedValue([]) },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
provide: UuidResolverService,
|
||||||
|
useValue: {
|
||||||
|
resolveProjectId: jest.fn().mockResolvedValue(1),
|
||||||
|
resolveOrganizationId: jest.fn().mockResolvedValue(1),
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}).compile();
|
}).compile();
|
||||||
|
|
||||||
service = module.get<CorrespondenceService>(CorrespondenceService);
|
service = testingModule.get<CorrespondenceService>(CorrespondenceService);
|
||||||
numberingService = module.get<DocumentNumberingService>(
|
numberingService = testingModule.get<DocumentNumberingService>(
|
||||||
DocumentNumberingService
|
DocumentNumberingService
|
||||||
);
|
);
|
||||||
correspondenceRepo = module.get<Repository<Correspondence>>(
|
correspondenceRepo = testingModule.get<Repository<Correspondence>>(
|
||||||
getRepositoryToken(Correspondence)
|
getRepositoryToken(Correspondence)
|
||||||
);
|
);
|
||||||
revisionRepo = module.get<Repository<CorrespondenceRevision>>(
|
revisionRepo = testingModule.get<Repository<CorrespondenceRevision>>(
|
||||||
getRepositoryToken(CorrespondenceRevision)
|
getRepositoryToken(CorrespondenceRevision)
|
||||||
);
|
);
|
||||||
_dataSource = module.get<DataSource>(DataSource);
|
_dataSource = testingModule.get<DataSource>(DataSource);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should be defined', () => {
|
it('should be defined', () => {
|
||||||
@@ -217,6 +229,10 @@ describe('CorrespondenceService', () => {
|
|||||||
projectId: 2,
|
projectId: 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const uuidResolver =
|
||||||
|
testingModule.get<UuidResolverService>(UuidResolverService);
|
||||||
|
(uuidResolver.resolveProjectId as jest.Mock).mockResolvedValue(2);
|
||||||
|
|
||||||
await service.update(1, updateDto, mockUser);
|
await service.update(1, updateDto, mockUser);
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
@@ -253,6 +269,14 @@ describe('CorrespondenceService', () => {
|
|||||||
typeId: 999,
|
typeId: 999,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const typeRepo = testingModule.get<Repository<CorrespondenceType>>(
|
||||||
|
getRepositoryToken(CorrespondenceType)
|
||||||
|
);
|
||||||
|
(typeRepo.findOne as jest.Mock).mockResolvedValue({
|
||||||
|
id: 999,
|
||||||
|
typeCode: 'NEW-TYPE',
|
||||||
|
});
|
||||||
|
|
||||||
await service.update(1, updateDto, mockUser);
|
await service.update(1, updateDto, mockUser);
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
@@ -285,11 +309,8 @@ describe('CorrespondenceService', () => {
|
|||||||
.spyOn(correspondenceRepo, 'findOne')
|
.spyOn(correspondenceRepo, 'findOne')
|
||||||
.mockResolvedValue(mockCorr as unknown as Correspondence);
|
.mockResolvedValue(mockCorr as unknown as Correspondence);
|
||||||
|
|
||||||
// Access private property for mocking via casting
|
// Access DataSource manager for mocking
|
||||||
const internalService = service as unknown as {
|
mockDataSource.manager.findOne.mockResolvedValue({
|
||||||
orgRepo: Repository<Organization>;
|
|
||||||
};
|
|
||||||
jest.spyOn(internalService.orgRepo, 'findOne').mockResolvedValue({
|
|
||||||
id: 88,
|
id: 88,
|
||||||
organizationCode: 'NEW-ORG',
|
organizationCode: 'NEW-ORG',
|
||||||
} as unknown as Organization);
|
} as unknown as Organization);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Test, TestingModule } from '@nestjs/testing';
|
import { Test, TestingModule } from '@nestjs/testing';
|
||||||
import { Repository } from 'typeorm';
|
import { Repository, EntityManager } from 'typeorm';
|
||||||
import { DocumentNumberingService } from './services/document-numbering.service';
|
import { DocumentNumberingService } from './services/document-numbering.service';
|
||||||
import { CounterService } from './services/counter.service';
|
import { CounterService } from './services/counter.service';
|
||||||
import { ReservationService } from './services/reservation.service';
|
import { ReservationService } from './services/reservation.service';
|
||||||
@@ -13,6 +13,7 @@ import { DocumentNumberError } from './entities/document-number-error.entity';
|
|||||||
import { DocumentNumberingLockService } from './services/document-numbering-lock.service';
|
import { DocumentNumberingLockService } from './services/document-numbering-lock.service';
|
||||||
import { ManualOverrideService } from './services/manual-override.service';
|
import { ManualOverrideService } from './services/manual-override.service';
|
||||||
import { MetricsService } from './services/metrics.service';
|
import { MetricsService } from './services/metrics.service';
|
||||||
|
import { UuidResolverService } from '../../common/services/uuid-resolver.service';
|
||||||
|
|
||||||
describe('DocumentNumberingService', () => {
|
describe('DocumentNumberingService', () => {
|
||||||
let service: DocumentNumberingService;
|
let service: DocumentNumberingService;
|
||||||
@@ -58,7 +59,9 @@ describe('DocumentNumberingService', () => {
|
|||||||
{
|
{
|
||||||
provide: FormatService,
|
provide: FormatService,
|
||||||
useValue: {
|
useValue: {
|
||||||
format: jest.fn().mockResolvedValue('0001'),
|
format: jest
|
||||||
|
.fn()
|
||||||
|
.mockResolvedValue({ previewNumber: '0001', isDefault: false }),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -98,6 +101,17 @@ describe('DocumentNumberingService', () => {
|
|||||||
save: jest.fn().mockResolvedValue({}),
|
save: jest.fn().mockResolvedValue({}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
provide: EntityManager,
|
||||||
|
useValue: { transaction: jest.fn() },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
provide: UuidResolverService,
|
||||||
|
useValue: {
|
||||||
|
resolveProjectId: jest.fn().mockResolvedValue(1),
|
||||||
|
resolveOrganizationId: jest.fn().mockResolvedValue(1),
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}).compile();
|
}).compile();
|
||||||
|
|
||||||
@@ -117,7 +131,10 @@ describe('DocumentNumberingService', () => {
|
|||||||
describe('generateNextNumber', () => {
|
describe('generateNextNumber', () => {
|
||||||
it('should generate a new number successfully', async () => {
|
it('should generate a new number successfully', async () => {
|
||||||
(counterService.incrementCounter as jest.Mock).mockResolvedValue(1);
|
(counterService.incrementCounter as jest.Mock).mockResolvedValue(1);
|
||||||
(formatService.format as jest.Mock).mockResolvedValue('DOC-0001');
|
(formatService.format as jest.Mock).mockResolvedValue({
|
||||||
|
previewNumber: 'DOC-0001',
|
||||||
|
isDefault: false,
|
||||||
|
});
|
||||||
|
|
||||||
const result = await service.generateNextNumber(mockContext);
|
const result = await service.generateNextNumber(mockContext);
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ import { CorrespondenceType } from '../correspondence/entities/correspondence-ty
|
|||||||
import { CorrespondenceStatus } from '../correspondence/entities/correspondence-status.entity';
|
import { CorrespondenceStatus } from '../correspondence/entities/correspondence-status.entity';
|
||||||
import { Project } from '../project/entities/project.entity';
|
import { Project } from '../project/entities/project.entity';
|
||||||
import { DataSource } from 'typeorm';
|
import { DataSource } from 'typeorm';
|
||||||
|
import { MigrationReviewQueue } from './entities/migration-review-queue.entity';
|
||||||
|
import { MigrationError } from './entities/migration-error.entity';
|
||||||
|
import { FileStorageService } from '../../common/file-storage/file-storage.service';
|
||||||
|
|
||||||
describe('MigrationService', () => {
|
describe('MigrationService', () => {
|
||||||
let service: MigrationService;
|
let service: MigrationService;
|
||||||
@@ -71,6 +74,18 @@ describe('MigrationService', () => {
|
|||||||
provide: DataSource,
|
provide: DataSource,
|
||||||
useValue: mockDataSource,
|
useValue: mockDataSource,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
provide: getRepositoryToken(MigrationReviewQueue),
|
||||||
|
useValue: { findOne: jest.fn(), create: jest.fn(), save: jest.fn() },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
provide: getRepositoryToken(MigrationError),
|
||||||
|
useValue: { create: jest.fn(), save: jest.fn() },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
provide: FileStorageService,
|
||||||
|
useValue: { importStagingFile: jest.fn() },
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}).compile();
|
}).compile();
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { UserService } from './user.service';
|
|||||||
import { User } from './entities/user.entity';
|
import { User } from './entities/user.entity';
|
||||||
import { Role } from './entities/role.entity';
|
import { Role } from './entities/role.entity';
|
||||||
import { Permission } from './entities/permission.entity';
|
import { Permission } from './entities/permission.entity';
|
||||||
|
import { UuidResolverService } from '../../common/services/uuid-resolver.service';
|
||||||
|
|
||||||
// Mock Repository
|
// Mock Repository
|
||||||
const mockUserRepository = {
|
const mockUserRepository = {
|
||||||
@@ -56,6 +57,13 @@ describe('UserService', () => {
|
|||||||
provide: getRepositoryToken(Permission),
|
provide: getRepositoryToken(Permission),
|
||||||
useValue: mockUserRepository, // Reuse generic mock
|
useValue: mockUserRepository, // Reuse generic mock
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
provide: UuidResolverService,
|
||||||
|
useValue: {
|
||||||
|
resolveOrganizationId: jest.fn().mockResolvedValue(1),
|
||||||
|
resolveProjectId: jest.fn().mockResolvedValue(1),
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
}).compile();
|
}).compile();
|
||||||
|
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
|
||||||
> jest "src/common/auth/casl/ability.factory.spec.ts"
|
|
||||||
|
|
||||||
FAIL src/common/auth/casl/ability.factory.spec.ts
|
|
||||||
AbilityFactory
|
|
||||||
√ should be defined (11 ms)
|
|
||||||
Global Admin
|
|
||||||
× should grant all permissions for global admin (5 ms)
|
|
||||||
Organization Level
|
|
||||||
√ should grant permissions for matching organization (3 ms)
|
|
||||||
√ should deny permissions for non-matching organization (2 ms)
|
|
||||||
Project Level
|
|
||||||
√ should grant permissions for matching project (2 ms)
|
|
||||||
Contract Level
|
|
||||||
√ should grant permissions for matching contract (2 ms)
|
|
||||||
Multiple Assignments
|
|
||||||
√ should combine permissions from multiple assignments (2 ms)
|
|
||||||
|
|
||||||
● AbilityFactory › Global Admin › should grant all permissions for global admin
|
|
||||||
|
|
||||||
expect(received).toBe(expected) // Object.is equality
|
|
||||||
|
|
||||||
Expected: true
|
|
||||||
Received: false
|
|
||||||
|
|
||||||
34 | const ability = factory.createForUser(user, {});
|
|
||||||
35 |
|
|
||||||
> 36 | expect(ability.can('manage', 'all')).toBe(true);
|
|
||||||
| ^
|
|
||||||
37 | });
|
|
||||||
38 | });
|
|
||||||
39 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:36:44)
|
|
||||||
|
|
||||||
Test Suites: 1 failed, 1 total
|
|
||||||
Tests: 1 failed, 6 passed, 7 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.325 s, estimated 2 s
|
|
||||||
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
|
||||||
> jest "src/common/auth/casl/ability.factory.spec.ts"
|
|
||||||
|
|
||||||
console.log
|
|
||||||
ABILITY RULES: [
|
|
||||||
{
|
|
||||||
"action": "manage_all",
|
|
||||||
"subject": "system"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:35:15)
|
|
||||||
|
|
||||||
FAIL src/common/auth/casl/ability.factory.spec.ts
|
|
||||||
AbilityFactory
|
|
||||||
√ should be defined (11 ms)
|
|
||||||
Global Admin
|
|
||||||
× should grant all permissions for global admin (19 ms)
|
|
||||||
Organization Level
|
|
||||||
√ should grant permissions for matching organization (3 ms)
|
|
||||||
√ should deny permissions for non-matching organization (2 ms)
|
|
||||||
Project Level
|
|
||||||
√ should grant permissions for matching project (3 ms)
|
|
||||||
Contract Level
|
|
||||||
√ should grant permissions for matching contract (1 ms)
|
|
||||||
Multiple Assignments
|
|
||||||
√ should combine permissions from multiple assignments (1 ms)
|
|
||||||
|
|
||||||
● AbilityFactory › Global Admin › should grant all permissions for global admin
|
|
||||||
|
|
||||||
expect(received).toBe(expected) // Object.is equality
|
|
||||||
|
|
||||||
Expected: true
|
|
||||||
Received: false
|
|
||||||
|
|
||||||
35 | console.log('ABILITY RULES:', JSON.stringify(ability.rules, null, 2));
|
|
||||||
36 |
|
|
||||||
> 37 | expect(ability.can('manage', 'all')).toBe(true);
|
|
||||||
| ^
|
|
||||||
38 | });
|
|
||||||
39 | });
|
|
||||||
40 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:37:44)
|
|
||||||
|
|
||||||
Test Suites: 1 failed, 1 total
|
|
||||||
Tests: 1 failed, 6 passed, 7 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.298 s, estimated 2 s
|
|
||||||
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
|
||||||
> jest "src/common/auth/casl/ability.factory.spec.ts"
|
|
||||||
|
|
||||||
FAIL src/common/auth/casl/ability.factory.spec.ts
|
|
||||||
ΓùÅ Test suite failed to run
|
|
||||||
|
|
||||||
Cannot find module '../../../common/entities/base.entity.js' from 'modules/project/entities/organization.entity.ts'
|
|
||||||
|
|
||||||
Require stack:
|
|
||||||
modules/project/entities/organization.entity.ts
|
|
||||||
modules/user/entities/user.entity.ts
|
|
||||||
common/auth/casl/ability.factory.spec.ts
|
|
||||||
|
|
||||||
1 | import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
|
|
||||||
> 2 | import { BaseEntity } from '../../../common/entities/base.entity.js';
|
|
||||||
| ^
|
|
||||||
3 |
|
|
||||||
4 | @Entity('organizations')
|
|
||||||
5 | export class Organization extends BaseEntity {
|
|
||||||
|
|
||||||
at Resolver._throwModNotFoundError (../node_modules/jest-resolve/build/index.js:863:11)
|
|
||||||
at Object.<anonymous> (modules/project/entities/organization.entity.ts:2:1)
|
|
||||||
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
|
||||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:3:1)
|
|
||||||
|
|
||||||
Test Suites: 1 failed, 1 total
|
|
||||||
Tests: 0 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.11 s
|
|
||||||
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
|
||||||
> jest "src/common/auth/casl/ability.factory.spec.ts"
|
|
||||||
|
|
||||||
FAIL src/common/auth/casl/ability.factory.spec.ts
|
|
||||||
ΓùÅ Test suite failed to run
|
|
||||||
|
|
||||||
Cannot find module '../../../common/entities/base.entity.js' from 'modules/project/entities/project.entity.ts'
|
|
||||||
|
|
||||||
Require stack:
|
|
||||||
modules/project/entities/project.entity.ts
|
|
||||||
modules/user/entities/user-assignment.entity.ts
|
|
||||||
modules/user/entities/user.entity.ts
|
|
||||||
common/auth/casl/ability.factory.spec.ts
|
|
||||||
|
|
||||||
1 | import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
|
|
||||||
> 2 | import { BaseEntity } from '../../../common/entities/base.entity.js';
|
|
||||||
| ^
|
|
||||||
3 |
|
|
||||||
4 | @Entity('projects')
|
|
||||||
5 | export class Project extends BaseEntity {
|
|
||||||
|
|
||||||
at Resolver._throwModNotFoundError (../node_modules/jest-resolve/build/index.js:863:11)
|
|
||||||
at Object.<anonymous> (modules/project/entities/project.entity.ts:2:1)
|
|
||||||
at Object.<anonymous> (modules/user/entities/user-assignment.entity.ts:15:1)
|
|
||||||
at Object.<anonymous> (modules/user/entities/user.entity.ts:17:1)
|
|
||||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:3:1)
|
|
||||||
|
|
||||||
Test Suites: 1 failed, 1 total
|
|
||||||
Tests: 0 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.3 s
|
|
||||||
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test D:\nap-dms.lcbp3\backend
|
|
||||||
> jest "src/common/auth/casl/ability.factory.spec.ts"
|
|
||||||
|
|
||||||
FAIL src/common/auth/casl/ability.factory.spec.ts
|
|
||||||
AbilityFactory
|
|
||||||
√ should be defined (12 ms)
|
|
||||||
Global Admin
|
|
||||||
× should grant all permissions for global admin (4 ms)
|
|
||||||
Organization Level
|
|
||||||
√ should grant permissions for matching organization (3 ms)
|
|
||||||
√ should deny permissions for non-matching organization (2 ms)
|
|
||||||
Project Level
|
|
||||||
√ should grant permissions for matching project (3 ms)
|
|
||||||
Contract Level
|
|
||||||
√ should grant permissions for matching contract (2 ms)
|
|
||||||
Multiple Assignments
|
|
||||||
√ should combine permissions from multiple assignments (2 ms)
|
|
||||||
|
|
||||||
● AbilityFactory › Global Admin › should grant all permissions for global admin
|
|
||||||
|
|
||||||
expect(received).toBe(expected) // Object.is equality
|
|
||||||
|
|
||||||
Expected: true
|
|
||||||
Received: false
|
|
||||||
|
|
||||||
34 | const ability = factory.createForUser(user, {});
|
|
||||||
35 |
|
|
||||||
> 36 | expect(ability.can('manage', 'all')).toBe(true);
|
|
||||||
| ^
|
|
||||||
37 | });
|
|
||||||
38 | });
|
|
||||||
39 |
|
|
||||||
|
|
||||||
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:36:44)
|
|
||||||
|
|
||||||
Test Suites: 1 failed, 1 total
|
|
||||||
Tests: 1 failed, 6 passed, 7 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.168 s, estimated 2 s
|
|
||||||
Ran all test suites matching src/common/auth/casl/ability.factory.spec.ts.
|
|
||||||
ΓÇëELIFECYCLEΓÇë Test failed. See above for more details.
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
FAIL src/modules/document-numbering/document-numbering.service.spec.ts
|
|
||||||
DocumentNumberingService
|
|
||||||
√ should be defined (15 ms)
|
|
||||||
generateNextNumber
|
|
||||||
√ should generate a new number successfully (4 ms)
|
|
||||||
√ should throw error when increment fails (9 ms)
|
|
||||||
Admin Operations
|
|
||||||
× voidAndReplace should verify audit log exists (2 ms)
|
|
||||||
× cancelNumber should log cancellation (3 ms)
|
|
||||||
|
|
||||||
● DocumentNumberingService › Admin Operations › voidAndReplace should verify audit log exists
|
|
||||||
|
|
||||||
TypeError: Cannot read properties of undefined (reading 'mockResolvedValue')
|
|
||||||
|
|
||||||
143 | it('voidAndReplace should verify audit log exists', async () => {
|
|
||||||
144 | const auditRepo = module.get(getRepositoryToken(DocumentNumberAudit));
|
|
||||||
> 145 | (auditRepo.findOne as jest.Mock).mockResolvedValue({
|
|
||||||
| ^
|
|
||||||
146 | generatedNumber: 'DOC-001',
|
|
||||||
147 | counterKey: JSON.stringify({ projectId: 1, correspondenceTypeId: 1 }),
|
|
||||||
148 | templateUsed: 'test',
|
|
||||||
|
|
||||||
at Object.<anonymous> (modules/document-numbering/document-numbering.service.spec.ts:145:40)
|
|
||||||
|
|
||||||
● DocumentNumberingService › Admin Operations › cancelNumber should log cancellation
|
|
||||||
|
|
||||||
TypeError: Cannot read properties of undefined (reading 'mockResolvedValue')
|
|
||||||
|
|
||||||
161 | it('cancelNumber should log cancellation', async () => {
|
|
||||||
162 | const auditRepo = module.get(getRepositoryToken(DocumentNumberAudit));
|
|
||||||
> 163 | (auditRepo.findOne as jest.Mock).mockResolvedValue({
|
|
||||||
| ^
|
|
||||||
164 | generatedNumber: 'DOC-002',
|
|
||||||
165 | counterKey: {},
|
|
||||||
166 | });
|
|
||||||
|
|
||||||
at Object.<anonymous> (modules/document-numbering/document-numbering.service.spec.ts:163:40)
|
|
||||||
|
|
||||||
Test Suites: 1 failed, 1 total
|
|
||||||
Tests: 2 failed, 3 passed, 5 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.381 s, estimated 2 s
|
|
||||||
Ran all test suites matching src/modules/document-numbering/document-numbering.service.spec.ts.
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
|
|
||||||
> backend@1.5.1 test
|
|
||||||
> jest --forceExit modules/document-numbering/document-numbering.service.spec.ts
|
|
||||||
|
|
||||||
PASS src/modules/document-numbering/document-numbering.service.spec.ts
|
|
||||||
DocumentNumberingService
|
|
||||||
√ should be defined (13 ms)
|
|
||||||
generateNextNumber
|
|
||||||
√ should generate a new number successfully (6 ms)
|
|
||||||
√ should throw error when increment fails (12 ms)
|
|
||||||
|
|
||||||
Test Suites: 1 passed, 1 total
|
|
||||||
Tests: 3 passed, 3 total
|
|
||||||
Snapshots: 0 total
|
|
||||||
Time: 1.449 s, estimated 2 s
|
|
||||||
Ran all test suites matching modules/document-numbering/document-numbering.service.spec.ts.
|
|
||||||
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
|
|
||||||
|
Before Width: | Height: | Size: 405 KiB After Width: | Height: | Size: 405 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -18,6 +18,7 @@ export default [
|
|||||||
'backend/documentation/**',
|
'backend/documentation/**',
|
||||||
'backend/scripts/**',
|
'backend/scripts/**',
|
||||||
'frontend/public/**',
|
'frontend/public/**',
|
||||||
|
'**/test/**',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
...backendConfig.map((config) => ({
|
...backendConfig.map((config) => ({
|
||||||
|
|||||||
@@ -1,833 +0,0 @@
|
|||||||
|
|
||||||
> nap-dms.lcbp3@1.8.0 lint:fix D:\nap-dms.lcbp3
|
|
||||||
> eslint . --fix
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
67:35 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
149:43 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
118:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
121:21 error Unsafe member access .username on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
126:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
132:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.ts
|
|
||||||
46:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
47:5 error Unexpected console statement no-console
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
266:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
267:30 error Unsafe member access .exp on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
268:29 error Unsafe member access .exp on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
277:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\guards\permissions.guard.ts
|
|
||||||
23:3 error Async method 'canActivate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
35:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:26 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
43:44 error Unsafe argument of type `any` assigned to a parameter of type `{ params: Record<string, string>; body: Record<string, unknown>; query: Record<string, unknown>; }` @typescript-eslint/no-unsafe-argument
|
|
||||||
46:55 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\config\redis.config.ts
|
|
||||||
11:9 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
13:8 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
18:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
22:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:40 error Unsafe argument of type `any` assigned to a parameter of type `(...args: unknown[]) => Promise<unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
15:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
17:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
17:20 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
19:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:7 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
31:13 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
31:26 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
31:41 error Unsafe member access .apply on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
46:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
51:41 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
31:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
38:7 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
38:12 error Unsafe member access .user_id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
11:3 error 'ConflictException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
29:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:11 error Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\performance.interceptor.ts
|
|
||||||
19:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
21:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
22:13 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
22:39 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
26:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:24 error Unsafe member access .method on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:21 error Unsafe member access .route on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:33 error Unsafe member access .route on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:50 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
32:16 error 'data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
33:39 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
33:47 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
36:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:30 error Unsafe member access .status on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
37:39 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
37:47 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
37:63 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
53:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
54:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
54:29 error Unsafe member access .statusCode on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
65:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
65:20 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
65:32 error Unsafe member access .toString on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
72:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:22 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
72:34 error Unsafe member access .toString on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
24:46 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
24:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
9:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\config\database.config.ts
|
|
||||||
6:9 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
117:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
116:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\dashboard\dashboard.service.ts
|
|
||||||
66:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:23 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
72:32 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
72:47 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
75:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
78:31 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
79:7 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
79:31 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
95:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
101:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
101:31 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
101:46 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
174:12 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
174:19 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
207:19 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
207:28 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
207:40 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
210:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\document-numbering.service.ts
|
|
||||||
5:3 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
8:37 error 'In' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
295:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
297:49 error Unsafe member access .message on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
298:11 error Unsafe member access .stack on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
385:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
391:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
391:26 error Unsafe member access .projectId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
392:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
392:23 error Unsafe member access .correspondenceTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
393:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
393:26 error Unsafe member access .subTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
394:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
394:26 error Unsafe member access .rfaTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
395:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
395:29 error Unsafe member access .disciplineId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
396:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
396:41 error Unsafe member access .originatorOrganizationId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
397:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
397:40 error Unsafe member access .recipientOrganizationId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
145:23 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\schema-migration.service.ts
|
|
||||||
62:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
67:29 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
73:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
73:34 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
74:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
74:37 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
79:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
80:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
86:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
90:16 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
93:11 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
106:60 error Unsafe argument of type `any` assigned to a parameter of type `MigrationStep` @typescript-eslint/no-unsafe-argument
|
|
||||||
106:66 error Unsafe argument of type `any` assigned to a parameter of type `Record<string, unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
107:24 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
107:45 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
108:37 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
108:42 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
108:67 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
118:9 error Unsafe argument of type `any` assigned to a parameter of type `Record<string, unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
142:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
161:3 error Async method 'applyMigrationStep' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
193:35 error 'newData[field]' may use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
|
|
||||||
201:37 error 'newData[field]' may use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.service.ts
|
|
||||||
174:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:35 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
295:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:41 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
332:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
338:32 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
339:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
339:28 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
341:19 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:31 error Unsafe member access .insertId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.processor.ts
|
|
||||||
50:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
57:38 error Unsafe argument of type `any` assigned to a parameter of type `NotificationPayload` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:43 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:52 error Unsafe member access .userId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
61:60 error Unsafe argument of type `any` assigned to a parameter of type `"EMAIL" | "LINE"` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:69 error Unsafe member access .type on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
155:11 error Unsafe assignment of type `any[]` to a variable of type `NotificationPayload[]` @typescript-eslint/no-unsafe-assignment
|
|
||||||
156:7 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
209:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:24 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
226:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
232:24 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\rfa-workflow.service.ts
|
|
||||||
111:59 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
139:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
143:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:57 error Unsafe argument of type `any` assigned to a parameter of type `string | undefined` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
48:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
63:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
49:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\user.service.ts
|
|
||||||
21:10 error 'Organization' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
245:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:28 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
250:40 error Unsafe member access .map on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
257:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
142:26 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\workflow-transition.dto.ts
|
|
||||||
29:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
84:5 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts
|
|
||||||
261:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
344:9 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
371:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
405:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
406:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
421:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
429:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
431:9 error Unexpected lexical declaration in case block no-case-declarations
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\access-control\users\page.tsx
|
|
||||||
39:10 error 'Organization' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\contracts\page.tsx
|
|
||||||
52:11 error 'Project' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\drawings\contract\categories\page.tsx
|
|
||||||
201:77 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
234:19 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
235:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\[id]\edit\page.tsx
|
|
||||||
39:53 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
55:54 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
57:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx
|
|
||||||
28:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\page.tsx
|
|
||||||
61:46 error 'isLoadingTemplates' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\correspondence-types\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\disciplines\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
46:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
70:20 error 'id' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
70:24 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
84:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\drawing-categories\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\rfa-types\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
87:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx
|
|
||||||
72:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
35:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
104:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
14:3 error 'FormDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
67:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
89:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
144:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\monitoring\system-logs\numbering\page.tsx
|
|
||||||
17:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx
|
|
||||||
78:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\circulation\new\page.tsx
|
|
||||||
226:28 error 'field' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\drawings\[uuid]\page.tsx
|
|
||||||
251:42 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx
|
|
||||||
70:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx
|
|
||||||
78:27 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
92:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\rfas\page.tsx
|
|
||||||
14:16 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
15:49 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\global-error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\organization-dialog.tsx
|
|
||||||
102:29 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\reference\generic-crud-table.tsx
|
|
||||||
96:37 error 'refetch' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\security\rbac-matrix.tsx
|
|
||||||
31:11 error 'RbacMatrixProps' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
95:47 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\circulation\circulation-list.tsx
|
|
||||||
6:10 error 'StatusBadge' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
8:15 error 'CheckCircle2' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\common\status-badge.tsx
|
|
||||||
19:7 error 'defaultStatus' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\correspondences-content.tsx
|
|
||||||
13:16 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
14:9 error 'status' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
25:10 error 'correspondenceService' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
86:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
102:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
117:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
118:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
131:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
198:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
285:62 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
309:64 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
35:8 error ❌ +value is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\dashboard\pending-tasks.tsx
|
|
||||||
7:10 error 'AlertCircle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\documents\common\server-data-table.tsx
|
|
||||||
11:3 error 'getPaginationRowModel' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\revision-history.tsx
|
|
||||||
7:20 error 'FileText' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\upload-form.tsx
|
|
||||||
37:43 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
286:50 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
356:50 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\layout\navbar.tsx
|
|
||||||
4:8 error 'Link' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx
|
|
||||||
16:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
26:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx
|
|
||||||
31:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx
|
|
||||||
46:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx
|
|
||||||
58:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx
|
|
||||||
4:52 error 'CardDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
18:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-editor.tsx
|
|
||||||
152:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-tester.tsx
|
|
||||||
76:35 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
77:27 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
80:9 error Unexpected console statement no-console
|
|
||||||
82:9 error Unexpected console statement no-console
|
|
||||||
88:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
89:9 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx
|
|
||||||
54:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\rfas\form.tsx
|
|
||||||
285:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\transmittal\transmittal-form.tsx
|
|
||||||
420:48 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\calendar.tsx
|
|
||||||
57:25 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
58:26 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\dropdown-menu.tsx
|
|
||||||
6:10 error 'Check' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
6:31 error 'Circle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx
|
|
||||||
50:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx
|
|
||||||
238:12 error 'e' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\client.ts
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\drawings.ts
|
|
||||||
38:25 error 'contractId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\numbering.ts
|
|
||||||
133:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
141:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
160:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
171:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
193:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
203:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
213:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
227:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
238:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
249:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
260:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
285:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
301:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
307:5 error Unexpected console statement no-console
|
|
||||||
310:5 error Unexpected console statement no-console
|
|
||||||
320:5 error Unexpected console statement no-console
|
|
||||||
340:5 error 'context' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\auth.ts
|
|
||||||
9:7 error 'loginSchema' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
106:12 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
139:11 error Unexpected console statement no-console
|
|
||||||
140:11 error Unexpected console statement no-console
|
|
||||||
141:11 error Unexpected console statement no-console
|
|
||||||
153:13 error Unexpected console statement no-console
|
|
||||||
155:13 error Unexpected console statement no-console
|
|
||||||
163:13 error Unexpected console statement no-console
|
|
||||||
167:11 error Unexpected console statement no-console
|
|
||||||
181:11 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts
|
|
||||||
18:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\migration.service.ts
|
|
||||||
95:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\proxy.ts
|
|
||||||
3:15 error 'NextRequest' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\migration.ts
|
|
||||||
14:14 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
27:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
33:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\next-auth.d.ts
|
|
||||||
2:8 error 'NextAuth' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 499 problems (496 errors, 3 warnings)
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
-1145
File diff suppressed because it is too large
Load Diff
@@ -1,573 +0,0 @@
|
|||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts[24m[0m
|
|
||||||
[0m [2m81:13[22m [31merror[39m 'result' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts[24m[0m
|
|
||||||
[0m [2m21:7[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m26:7[22m [31merror[39m 'jwtService' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m27:7[22m [31merror[39m 'tokenRepo' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m56:5[22m [31merror[39m Unsafe call of an `any` typed value [2m@typescript-eslint/no-unsafe-call[22m[0m
|
|
||||||
[0m [2m56:12[22m [31merror[39m Unsafe member access .compare on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m131:7[22m [31merror[39m Unsafe call of an `any` typed value [2m@typescript-eslint/no-unsafe-call[22m[0m
|
|
||||||
[0m [2m131:14[22m [31merror[39m Unsafe member access .compare on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m165:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts[24m[0m
|
|
||||||
[0m [2m27:3[22m [31merror[39m Async method 'validate' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts[24m[0m
|
|
||||||
[0m [2m51:13[22m [31merror[39m 'result' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts[24m[0m
|
|
||||||
[0m [2m88:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m89:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m121:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m139:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts[24m[0m
|
|
||||||
[0m [2m7:37[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m7:55[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m11:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m16:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m18:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m24:1[22m [31merror[39m Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator [2m@typescript-eslint/no-floating-promises[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts[24m[0m
|
|
||||||
[0m [2m61:7[22m [31merror[39m Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free [2m@typescript-eslint/ban-ts-comment[22m[0m
|
|
||||||
[0m [2m115:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m119:11[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts[24m[0m
|
|
||||||
[0m [2m133:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m135:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m138:7[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts[24m[0m
|
|
||||||
[0m [2m89:57[22m [31merror[39m Invalid type "unknown" of template literal expression [2m@typescript-eslint/restrict-template-expressions[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts[24m[0m
|
|
||||||
[0m [2m8:34[22m [31merror[39m 'Not' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m98:13[22m [31merror[39m 'search' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts[24m[0m
|
|
||||||
[0m [2m16:3[22m [31merror[39m 'ApiQuery' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts[24m[0m
|
|
||||||
[0m [2m91:55[22m [31merror[39m Invalid type "unknown" of template literal expression [2m@typescript-eslint/restrict-template-expressions[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts[24m[0m
|
|
||||||
[0m [2m82:13[22m [31merror[39m 'result' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts[24m[0m
|
|
||||||
[0m [2m11:10[22m [31merror[39m 'CorrespondenceRecipient' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m22:27[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m23:21[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m24:7[22m [31merror[39m 'dataSource' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m24:19[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m133:5[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m134:5[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m135:5[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m144:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m144:69[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m154:13[22m [31merror[39m 'mockStatus' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m177:31[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m177:44[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m177:49[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `User` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m180:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m184:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m184:69[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m208:31[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m208:44[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m208:49[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `User` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m210:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m213:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m213:69[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m237:31[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m237:44[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m237:49[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `User` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m239:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m243:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m243:69[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m262:7[22m [31merror[39m Unsafe call of a type that could not be resolved [2m@typescript-eslint/no-unsafe-call[22m[0m
|
|
||||||
[0m [2m264:10[22m [31merror[39m Unsafe member access .mockResolvedValue on a type that cannot be resolved [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m264:71[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m270:31[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m270:44[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m270:49[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `User` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m272:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts[24m[0m
|
|
||||||
[0m [2m9:3[22m [31merror[39m 'IsEnum' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts[24m[0m
|
|
||||||
[0m [2m1:18[22m [31merror[39m 'Column' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts[24m[0m
|
|
||||||
[0m [2m119:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts[24m[0m
|
|
||||||
[0m [2m1:27[22m [31merror[39m 'UseGuards' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m13:3[22m [31merror[39m Async method 'getMetrics' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts[24m[0m
|
|
||||||
[0m [2m127:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m128:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m145:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m146:18[22m [31merror[39m Unsafe member access .findOne on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m151:18[22m [31merror[39m Unsafe member access .save on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m159:24[22m [31merror[39m Unsafe member access .save on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m163:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m164:18[22m [31merror[39m Unsafe member access .findOne on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m168:18[22m [31merror[39m Unsafe member access .save on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m176:24[22m [31merror[39m Unsafe member access .save on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts[24m[0m
|
|
||||||
[0m [2m28:42[22m [31merror[39m 'unknown' overrides all other types in this union type [2m@typescript-eslint/no-redundant-type-constituents[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts[24m[0m
|
|
||||||
[0m [2m54:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts[24m[0m
|
|
||||||
[0m [2m56:12[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m57:12[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts[24m[0m
|
|
||||||
[0m [2m1:22[22m [31merror[39m 'Logger' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts[24m[0m
|
|
||||||
[0m [2m76:11[22m [31merror[39m 'reservation' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts[24m[0m
|
|
||||||
[0m [2m1:30[22m [31merror[39m 'NotFoundException' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts[24m[0m
|
|
||||||
[0m [2m51:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m55:29[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m65:36[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts[24m[0m
|
|
||||||
[0m [2m14:5[22m [31merror[39m Unsafe return of a value of type `any` [2m@typescript-eslint/no-unsafe-return[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts[24m[0m
|
|
||||||
[0m [2m92:18[22m [31merror[39m '_schema' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m92:35[22m [31merror[39m '_data' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m258:5[22m [31merror[39m 'options' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m265:11[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts[24m[0m
|
|
||||||
[0m [2m101:11[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m106:16[22m [31merror[39m Unsafe member access [0] on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts[24m[0m
|
|
||||||
[0m [2m1:44[22m [31merror[39m 'IsInt' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts[24m[0m
|
|
||||||
[0m [2m1:39[22m [31merror[39m 'IsOptional' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts[24m[0m
|
|
||||||
[0m [2m7:3[22m [31merror[39m 'Put' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts[24m[0m
|
|
||||||
[0m [2m53:12[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts[24m[0m
|
|
||||||
[0m [2m166:3[22m [31merror[39m Async method 'getStagingFile' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts[24m[0m
|
|
||||||
[0m [2m7:3[22m [31merror[39m 'IsUrl' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts[24m[0m
|
|
||||||
[0m [2m20:5[22m [31merror[39m Unsafe return of a value of type `any` [2m@typescript-eslint/no-unsafe-return[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts[24m[0m
|
|
||||||
[0m [2m4:22[22m [31merror[39m 'LessThan' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts[24m[0m
|
|
||||||
[0m [2m12:10[22m [31merror[39m 'UserPreference' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts[24m[0m
|
|
||||||
[0m [2m76:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts[24m[0m
|
|
||||||
[0m [2m14:5[22m [31merror[39m Unsafe return of a value of type `any` [2m@typescript-eslint/no-unsafe-return[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts[24m[0m
|
|
||||||
[0m [2m49:13[22m [31merror[39m 'result' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m62:13[22m [31merror[39m 'result' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts[24m[0m
|
|
||||||
[0m [2m64:7[22m [31merror[39m Unsafe call of an `any` typed value [2m@typescript-eslint/no-unsafe-call[22m[0m
|
|
||||||
[0m [2m66:10[22m [31merror[39m Unsafe member access .getManyAndCount on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts[24m[0m
|
|
||||||
[0m [2m8:22[22m [31merror[39m 'Like' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts[24m[0m
|
|
||||||
[0m [2m26:35[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts[24m[0m
|
|
||||||
[0m [2m55:33[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts[24m[0m
|
|
||||||
[0m [2m1:39[22m [31merror[39m 'IsNotEmpty' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts[24m[0m
|
|
||||||
[0m [2m49:20[22m [31merror[39m '_user' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts[24m[0m
|
|
||||||
[0m [2m1:41[22m [31merror[39m 'ValidateIf' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts[24m[0m
|
|
||||||
[0m [2m24:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m185:13[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts[24m[0m
|
|
||||||
[0m [2m24:28[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts[24m[0m
|
|
||||||
[0m [2m57:29[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts[24m[0m
|
|
||||||
[0m [2m73:28[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts[24m[0m
|
|
||||||
[0m [2m258:20[22m [31merror[39m Implied eval. Do not use the Function constructor to create functions [2m@typescript-eslint/no-implied-eval[22m[0m
|
|
||||||
[0m [2m259:16[22m [31merror[39m Unsafe call of a `Function` typed value [2m@typescript-eslint/no-unsafe-call[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts[24m[0m
|
|
||||||
[0m [2m118:3[22m [31merror[39m Async method 'getAvailableActions' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m [2m118:42[22m [31merror[39m 'instanceId' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts[24m[0m
|
|
||||||
[0m [2m121:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m122:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m145:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m [2m188:14[22m [31merror[39m A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.[0m
|
|
||||||
[0mConsider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. [0m
|
|
||||||
[0mIf a function does not access `this`, it can be annotated with `this: void` [2m@typescript-eslint/unbound-method[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts[24m[0m
|
|
||||||
[0m [2m28:3[22m [31merror[39m Async method 'dispatchEvents' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m [2m31:29[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m40:5[22m [31merror[39m Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator [2m@typescript-eslint/no-floating-promises[22m[0m
|
|
||||||
[0m [2m73:66[22m [31merror[39m Invalid type "unknown" of template literal expression [2m@typescript-eslint/restrict-template-expressions[22m[0m
|
|
||||||
[0m [2m80:3[22m [31merror[39m Async method 'handleNotify' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m [2m82:5[22m [31merror[39m '_context' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m91:3[22m [31merror[39m Async method 'handleWebhook' has no 'await' expression [2m@typescript-eslint/require-await[22m[0m
|
|
||||||
[0m [2m93:5[22m [31merror[39m '_context' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts[24m[0m
|
|
||||||
[0m [2m10:37[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m10:47[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m14:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m21:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m33:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m36:7[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m50:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m57:20[22m [31merror[39m Unnecessary escape character: \/ [2mno-useless-escape[22m[0m
|
|
||||||
[0m [2m57:78[22m [31merror[39m Unnecessary escape character: \/ [2mno-useless-escape[22m[0m
|
|
||||||
[0m [2m57:89[22m [31merror[39m Unnecessary escape character: \/ [2mno-useless-escape[22m[0m
|
|
||||||
[0m [2m68:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m98:37[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m100:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m108:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m109:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m110:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m111:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m113:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m119:1[22m [31merror[39m Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator [2m@typescript-eslint/no-floating-promises[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts[24m[0m
|
|
||||||
[0m [2m27:7[22m [31merror[39m 'adminToken' is assigned a value but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m57:7[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m70:36[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `App` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m83:5[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m83:38[22m [31merror[39m Unsafe member access .id on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m84:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m88:36[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `App` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m98:5[22m [31merror[39m Unsafe assignment of an `any` value [2m@typescript-eslint/no-unsafe-assignment[22m[0m
|
|
||||||
[0m [2m98:40[22m [31merror[39m Unsafe member access .instanceId on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m99:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m100:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m100:49[22m [31merror[39m Unsafe member access .currentState on an `any` value [2m@typescript-eslint/no-unsafe-member-access[22m[0m
|
|
||||||
[0m [2m106:7[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m110:36[22m [31merror[39m Unsafe argument of type `any` assigned to a parameter of type `App` [2m@typescript-eslint/no-unsafe-argument[22m[0m
|
|
||||||
[0m [2m122:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts[24m[0m
|
|
||||||
[0m [2m1:8[22m [31merror[39m 'request' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m3:10[22m [31merror[39m 'RoutingTemplate' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\access-control\users\page.tsx[24m[0m
|
|
||||||
[0m [2m39:10[22m [31merror[39m 'Organization' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\contracts\page.tsx[24m[0m
|
|
||||||
[0m [2m52:11[22m [31merror[39m 'Project' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\[id]\edit\page.tsx[24m[0m
|
|
||||||
[0m [2m43:16[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m57:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx[24m[0m
|
|
||||||
[0m [2m28:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\page.tsx[24m[0m
|
|
||||||
[0m [2m61:46[22m [31merror[39m 'isLoadingTemplates' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\correspondence-types\page.tsx[24m[0m
|
|
||||||
[0m [2m8:28[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\disciplines\page.tsx[24m[0m
|
|
||||||
[0m [2m17:28[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m46:45[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m70:20[22m [31merror[39m 'id' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m70:24[22m [31merror[39m 'data' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m84:36[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\drawing-categories\page.tsx[24m[0m
|
|
||||||
[0m [2m8:28[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\rfa-types\page.tsx[24m[0m
|
|
||||||
[0m [2m17:28[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m50:45[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m87:36[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx[24m[0m
|
|
||||||
[0m [2m72:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx[24m[0m
|
|
||||||
[0m [2m34:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx[24m[0m
|
|
||||||
[0m [2m35:6[22m [33mwarning[39m React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array [2mreact-hooks/exhaustive-deps[22m[0m
|
|
||||||
[0m [2m104:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx[24m[0m
|
|
||||||
[0m [2m14:3[22m [31merror[39m 'FormDescription' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m67:6[22m [33mwarning[39m React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array [2mreact-hooks/exhaustive-deps[22m[0m
|
|
||||||
[0m [2m89:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m144:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\admin\monitoring\system-logs\numbering\page.tsx[24m[0m
|
|
||||||
[0m [2m17:13[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(admin)\error.tsx[24m[0m
|
|
||||||
[0m [2m16:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx[24m[0m
|
|
||||||
[0m [2m78:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(dashboard)\circulation\new\page.tsx[24m[0m
|
|
||||||
[0m [2m226:28[22m [31merror[39m 'field' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(dashboard)\error.tsx[24m[0m
|
|
||||||
[0m [2m16:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx[24m[0m
|
|
||||||
[0m [2m70:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx[24m[0m
|
|
||||||
[0m [2m78:27[22m [31merror[39m 'data' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m92:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\error.tsx[24m[0m
|
|
||||||
[0m [2m15:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\app\global-error.tsx[24m[0m
|
|
||||||
[0m [2m15:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\admin\organization-dialog.tsx[24m[0m
|
|
||||||
[0m [2m102:29[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\admin\reference\generic-crud-table.tsx[24m[0m
|
|
||||||
[0m [2m96:37[22m [31merror[39m 'refetch' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\admin\security\rbac-matrix.tsx[24m[0m
|
|
||||||
[0m [2m31:11[22m [31merror[39m 'RbacMatrixProps' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m95:47[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\circulation\circulation-list.tsx[24m[0m
|
|
||||||
[0m [2m6:10[22m [31merror[39m 'StatusBadge' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m8:15[22m [31merror[39m 'CheckCircle2' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\common\status-badge.tsx[24m[0m
|
|
||||||
[0m [2m19:7[22m [31merror[39m 'defaultStatus' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\correspondences\correspondences-content.tsx[24m[0m
|
|
||||||
[0m [2m13:16[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m14:9[22m [31merror[39m 'status' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx[24m[0m
|
|
||||||
[0m [2m25:10[22m [31merror[39m 'correspondenceService' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m86:75[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m102:55[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m117:57[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m118:48[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m131:52[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m198:17[22m [31merror[39m 'err' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m285:62[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m309:64[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx[24m[0m
|
|
||||||
[0m [2m35:8[22m [31merror[39m ❌ +value is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m88:5[22m [33mwarning[39m React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array [2mreact-hooks/exhaustive-deps[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\dashboard\pending-tasks.tsx[24m[0m
|
|
||||||
[0m [2m7:10[22m [31merror[39m 'AlertCircle' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\documents\common\server-data-table.tsx[24m[0m
|
|
||||||
[0m [2m11:3[22m [31merror[39m 'getPaginationRowModel' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\drawings\revision-history.tsx[24m[0m
|
|
||||||
[0m [2m7:20[22m [31merror[39m 'FileText' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\drawings\upload-form.tsx[24m[0m
|
|
||||||
[0m [2m37:43[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m286:50[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m356:50[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\layout\navbar.tsx[24m[0m
|
|
||||||
[0m [2m4:8[22m [31merror[39m 'Link' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx[24m[0m
|
|
||||||
[0m [2m16:36[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m26:16[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx[24m[0m
|
|
||||||
[0m [2m31:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx[24m[0m
|
|
||||||
[0m [2m46:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx[24m[0m
|
|
||||||
[0m [2m58:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx[24m[0m
|
|
||||||
[0m [2m4:52[22m [31merror[39m 'CardDescription' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m18:16[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\template-editor.tsx[24m[0m
|
|
||||||
[0m [2m152:46[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\template-tester.tsx[24m[0m
|
|
||||||
[0m [2m76:35[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m77:27[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m [2m80:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m82:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m88:21[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m89:9[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx[24m[0m
|
|
||||||
[0m [2m54:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\rfas\form.tsx[24m[0m
|
|
||||||
[0m [2m285:17[22m [31merror[39m 'err' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\transmittal\transmittal-form.tsx[24m[0m
|
|
||||||
[0m [2m420:48[22m [31merror[39m ❌ parseInt() is forbidden (UUID risk) [2mno-restricted-syntax[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\ui\calendar.tsx[24m[0m
|
|
||||||
[0m [2m57:25[22m [31merror[39m 'props' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m58:26[22m [31merror[39m 'props' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\ui\dropdown-menu.tsx[24m[0m
|
|
||||||
[0m [2m6:10[22m [31merror[39m 'Check' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m6:31[22m [31merror[39m 'Circle' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx[24m[0m
|
|
||||||
[0m [2m50:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx[24m[0m
|
|
||||||
[0m [2m238:12[22m [31merror[39m 'e' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\lib\api\client.ts[24m[0m
|
|
||||||
[0m [2m43:16[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\lib\api\drawings.ts[24m[0m
|
|
||||||
[0m [2m38:25[22m [31merror[39m 'contractId' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\lib\api\numbering.ts[24m[0m
|
|
||||||
[0m [2m133:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m141:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m160:21[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m171:38[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m193:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m203:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m213:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m227:38[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m238:38[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m249:38[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m260:38[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m285:37[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m301:38[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m307:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m310:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m320:5[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m340:5[22m [31merror[39m 'context' is defined but never used. Allowed unused args must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\lib\auth.ts[24m[0m
|
|
||||||
[0m [2m9:7[22m [31merror[39m 'loginSchema' is assigned a value but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m106:12[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m139:11[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m140:11[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m141:11[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m153:13[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m155:13[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m163:13[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m167:11[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m [2m181:11[22m [31merror[39m Unexpected console statement [2mno-console[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts[24m[0m
|
|
||||||
[0m [2m18:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m [2m34:14[22m [31merror[39m 'error' is defined but never used [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\lib\services\migration.service.ts[24m[0m
|
|
||||||
[0m [2m95:49[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\proxy.ts[24m[0m
|
|
||||||
[0m [2m3:15[22m [31merror[39m 'NextRequest' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\types\migration.ts[24m[0m
|
|
||||||
[0m [2m14:14[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m27:19[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m [2m33:23[22m [31merror[39m Unexpected any. Specify a different type [2m@typescript-eslint/no-explicit-any[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[4mD:\nap-dms.lcbp3\frontend\types\next-auth.d.ts[24m[0m
|
|
||||||
[0m [2m2:8[22m [31merror[39m 'NextAuth' is defined but never used. Allowed unused vars must match /^_/u [2m@typescript-eslint/no-unused-vars[22m[0m
|
|
||||||
[0m[0m
|
|
||||||
[0m[31m[1m✖ 300 problems (297 errors, 3 warnings)[22m[39m[0m
|
|
||||||
[0m[31m[1m[22m[39m[0m
|
|
||||||
@@ -1,922 +0,0 @@
|
|||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.ts
|
|
||||||
30:14 error Replace `·RequestWithUser,·RequestWithRefreshUser·` with `␍⏎··RequestWithUser,␍⏎··RequestWithRefreshUser,␍⏎` prettier/prettier
|
|
||||||
55:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
64:35 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
146:43 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
118:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
121:21 error Unsafe member access .username on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
126:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
132:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.ts
|
|
||||||
46:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
47:5 error Unexpected console statement no-console
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
185:25 error Replace ``[DEBUG-TOKEN]·updatedAt=${storedToken.updatedAt·?·new·Date(storedToken.updatedAt).toISOString()·:·'NULL'}`` with `␍⏎········`[DEBUG-TOKEN]·updatedAt=${storedToken.updatedAt·?·new·Date(storedToken.updatedAt).toISOString()·:·'NULL'}`␍⏎······` prettier/prettier
|
|
||||||
187:25 error Replace ``[DEBUG-TOKEN]·replacedBy=${storedToken.replacedByToken·?·'YES(HASHED)'·:·'NULL'}`` with `␍⏎········`[DEBUG-TOKEN]·replacedBy=${storedToken.replacedByToken·?·'YES(HASHED)'·:·'NULL'}`␍⏎······` prettier/prettier
|
|
||||||
262:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
263:30 error Unsafe member access .exp on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:29 error Unsafe member access .exp on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
273:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\guards\permissions.guard.ts
|
|
||||||
23:3 error Async method 'canActivate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
35:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:26 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
43:44 error Unsafe argument of type `any` assigned to a parameter of type `{ params: Record<string, string>; body: Record<string, unknown>; query: Record<string, unknown>; }` @typescript-eslint/no-unsafe-argument
|
|
||||||
46:55 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt.strategy.ts
|
|
||||||
24:55 error Delete `,` prettier/prettier
|
|
||||||
41:33 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\config\redis.config.ts
|
|
||||||
11:9 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
13:8 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
18:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
22:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:40 error Unsafe argument of type `any` assigned to a parameter of type `(...args: unknown[]) => Promise<unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
15:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
17:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
17:20 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
18:4 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
19:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:7 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
31:13 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
31:26 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
31:41 error Unsafe member access .apply on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\entities\uuid-base.entity.spec.ts
|
|
||||||
4:76 error Replace `⏎······str⏎····` with `str` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-cleanup.service.ts
|
|
||||||
15:57 error Delete `,` prettier/prettier
|
|
||||||
42:70 error Delete `,` prettier/prettier
|
|
||||||
67:77 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
25:55 error Delete `,` prettier/prettier
|
|
||||||
32:49 error Delete `,` prettier/prettier
|
|
||||||
46:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
51:41 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
51:70 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
31:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
38:7 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
38:12 error Unsafe member access .user_id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
11:3 error 'ConflictException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
28:22 error Delete `,` prettier/prettier
|
|
||||||
29:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
49:82 error Delete `,` prettier/prettier
|
|
||||||
55:11 error Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
|
|
||||||
63:25 error Delete `,` prettier/prettier
|
|
||||||
66:9 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\performance.interceptor.ts
|
|
||||||
19:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
21:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
22:13 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
22:39 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
26:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:24 error Unsafe member access .method on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:21 error Unsafe member access .route on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:33 error Unsafe member access .route on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:50 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
32:16 error 'data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
33:39 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
33:47 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
36:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:30 error Unsafe member access .status on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
37:39 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
37:47 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
37:63 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
39:9 error Delete `,` prettier/prettier
|
|
||||||
51:23 error Delete `,` prettier/prettier
|
|
||||||
53:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
54:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
54:29 error Unsafe member access .statusCode on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
65:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
65:20 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
65:32 error Unsafe member access .toString on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
72:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:22 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
72:34 error Unsafe member access .toString on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
74:24 error Delete `,` prettier/prettier
|
|
||||||
84:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\pipes\parse-uuid.pipe.spec.ts
|
|
||||||
7:76 error Replace `⏎······str⏎····` with `str` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
24:46 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
24:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
9:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\uuid-resolver.service.spec.ts
|
|
||||||
9:76 error Replace `⏎······str⏎····` with `str` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\config\database.config.ts
|
|
||||||
6:9 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
117:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
116:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\dashboard\dashboard.service.ts
|
|
||||||
66:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:23 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
72:32 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
72:47 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
75:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
78:31 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
79:7 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
79:31 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
95:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
101:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
101:31 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
101:46 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
174:12 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
174:19 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
207:19 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
207:28 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
207:40 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
210:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
119:17 error Replace `'[DocumentNumberingController]·Preview·result:',·JSON.stringify(result)` with `␍⏎······'[DocumentNumberingController]·Preview·result:',␍⏎······JSON.stringify(result)␍⏎····` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\document-numbering.service.ts
|
|
||||||
5:3 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
8:9 error Replace `␍⏎··Repository,␍⏎··EntityManager,␍⏎··In,␍⏎··IsNull,␍⏎··Equal,␍⏎` with `·Repository,·EntityManager,·In,·IsNull,·Equal·` prettier/prettier
|
|
||||||
11:3 error 'In' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
130:81 error Insert `␍⏎········` prettier/prettier
|
|
||||||
131:1 error Insert `··` prettier/prettier
|
|
||||||
132:1 error Replace `········` with `··········` prettier/prettier
|
|
||||||
133:9 error Insert `··` prettier/prettier
|
|
||||||
134:1 error Replace `········` with `··········` prettier/prettier
|
|
||||||
135:1 error Insert `··` prettier/prettier
|
|
||||||
136:1 error Replace `········` with `··········` prettier/prettier
|
|
||||||
137:1 error Insert `··` prettier/prettier
|
|
||||||
138:1 error Replace `········` with `··········` prettier/prettier
|
|
||||||
139:1 error Insert `··` prettier/prettier
|
|
||||||
140:1 error Replace `········` with `··········` prettier/prettier
|
|
||||||
141:7 error Replace `}` with `··}␍⏎······` prettier/prettier
|
|
||||||
202:15 error Replace `·previewNumber:·string;·nextSequence:·number;·isDefault:·boolean` with `␍⏎····previewNumber:·string;␍⏎····nextSequence:·number;␍⏎····isDefault:·boolean;␍⏎·` prettier/prettier
|
|
||||||
269:1 error Delete `······` prettier/prettier
|
|
||||||
280:59 error Replace `·?·Equal(dto.correspondenceTypeId)` with `␍⏎··············?·Equal(dto.correspondenceTypeId)␍⏎·············` prettier/prettier
|
|
||||||
285:27 error Replace ``Found·existing·template·ID:·${existing.id}·for·business·key,·updating·instead·of·creating.`` with `␍⏎············`Found·existing·template·ID:·${existing.id}·for·business·key,·updating·instead·of·creating.`␍⏎··········` prettier/prettier
|
|
||||||
293:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
294:25 error Replace ``Failed·to·save·numbering·template:·${e.message}`,·e.stack` with `␍⏎········`Failed·to·save·numbering·template:·${e.message}`,␍⏎········e.stack␍⏎······` prettier/prettier
|
|
||||||
294:65 error Unsafe member access .message on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
294:78 error Unsafe member access .stack on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
380:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
386:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
386:26 error Unsafe member access .projectId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
387:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
387:23 error Unsafe member access .correspondenceTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
388:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
388:26 error Unsafe member access .subTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
389:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
389:26 error Unsafe member access .rfaTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
390:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
390:29 error Unsafe member access .disciplineId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
391:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
391:41 error Unsafe member access .originatorOrganizationId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
392:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
392:40 error Unsafe member access .recipientOrganizationId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
42:16 error Replace `options:·FormatOptions` with `␍⏎····options:·FormatOptions␍⏎··` prettier/prettier
|
|
||||||
47:46 error Replace `template,·tokens,·options.sequence` with `␍⏎······template,␍⏎······tokens,␍⏎······options.sequence␍⏎····` prettier/prettier
|
|
||||||
48:5 error Unexpected console statement no-console
|
|
||||||
48:17 error Replace ``[FormatService]·Generated:·"${previewNumber}"·|·Template:·"${template}"·|·isDefault:·${isDefault}`` with `␍⏎······`[FormatService]·Generated:·"${previewNumber}"·|·Template:·"${template}"·|·isDefault:·${isDefault}`␍⏎····` prettier/prettier
|
|
||||||
137:23 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\drawing\dto\update-contract-drawing.dto.ts
|
|
||||||
5:27 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\migrate-data.dto.ts
|
|
||||||
19:1 error Delete `␍⏎` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\schema-migration.service.ts
|
|
||||||
62:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
67:29 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
73:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
73:34 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
74:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
74:37 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
79:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
80:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
86:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
90:16 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
93:11 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
106:60 error Unsafe argument of type `any` assigned to a parameter of type `MigrationStep` @typescript-eslint/no-unsafe-argument
|
|
||||||
106:66 error Unsafe argument of type `any` assigned to a parameter of type `Record<string, unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
107:24 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
107:45 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
108:37 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
108:42 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
108:67 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
118:9 error Unsafe argument of type `any` assigned to a parameter of type `Record<string, unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
142:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
161:3 error Async method 'applyMigrationStep' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
193:35 error 'newData[field]' may use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
|
|
||||||
201:37 error 'newData[field]' may use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\ui-schema.service.ts
|
|
||||||
86:17 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.service.ts
|
|
||||||
279:33 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.service.ts
|
|
||||||
174:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:35 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
295:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:41 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
332:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
338:32 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
339:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
339:28 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
341:19 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:31 error Unsafe member access .insertId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\monitoring\logger\winston.config.ts
|
|
||||||
25:15 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\monitoring\monitoring.service.ts
|
|
||||||
35:84 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.processor.ts
|
|
||||||
50:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
57:38 error Unsafe argument of type `any` assigned to a parameter of type `NotificationPayload` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:43 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:52 error Unsafe member access .userId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
61:60 error Unsafe argument of type `any` assigned to a parameter of type `"EMAIL" | "LINE"` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:69 error Unsafe member access .type on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
155:11 error Unsafe assignment of type `any[]` to a variable of type `NotificationPayload[]` @typescript-eslint/no-unsafe-assignment
|
|
||||||
156:7 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
209:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:24 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
226:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
232:24 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\entities\organization-role.entity.ts
|
|
||||||
20:80 error Insert `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\dto\create-rfa-workflow.dto.ts
|
|
||||||
37:1 error Delete `␍⏎` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\rfa-workflow.service.ts
|
|
||||||
111:59 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
139:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
143:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:57 error Unsafe argument of type `any` assigned to a parameter of type `string | undefined` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
48:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
63:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\dto\search-transmittal.dto.ts
|
|
||||||
1:9 error Replace `␍⏎··IsInt,␍⏎··IsOptional,␍⏎··IsString,␍⏎··IsEnum,␍⏎··IsUUID,␍⏎` with `·IsInt,·IsOptional,·IsString,·IsEnum,·IsUUID·` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
18:9 error Replace `·ApiTags,·ApiOperation,·ApiBearerAuth,·ApiParam·` with `⏎··ApiTags,⏎··ApiOperation,⏎··ApiBearerAuth,⏎··ApiParam,⏎` prettier/prettier
|
|
||||||
44:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
58:14 error Replace `·name:·'uuid',·description:·'Transmittal·UUID·(from·correspondences.uuid)'` with `⏎····name:·'uuid',⏎····description:·'Transmittal·UUID·(from·correspondences.uuid)',⏎·` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\user-preference.service.ts
|
|
||||||
14:49 error Delete `,` prettier/prettier
|
|
||||||
38:29 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\user.service.ts
|
|
||||||
21:10 error 'Organization' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
245:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:28 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
250:40 error Unsafe member access .map on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
257:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
142:26 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\update-workflow-definition.dto.ts
|
|
||||||
9:30 error Delete `,` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\workflow-transition.dto.ts
|
|
||||||
29:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
84:5 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts
|
|
||||||
93:40 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
||||||
93:88 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
||||||
95:12 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
||||||
261:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
344:9 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
371:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
405:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
406:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
421:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
429:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
431:9 error Unexpected lexical declaration in case block no-case-declarations
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\access-control\users\page.tsx
|
|
||||||
39:10 error 'Organization' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\contracts\page.tsx
|
|
||||||
52:11 error 'Project' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\drawings\contract\categories\page.tsx
|
|
||||||
201:77 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
234:19 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
235:22 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\[id]\edit\page.tsx
|
|
||||||
39:53 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
55:54 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
57:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx
|
|
||||||
28:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\page.tsx
|
|
||||||
61:46 error 'isLoadingTemplates' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\correspondence-types\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\disciplines\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
46:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
70:20 error 'id' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
70:24 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
84:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\drawing-categories\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\rfa-types\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
87:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx
|
|
||||||
72:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
35:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
104:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
14:3 error 'FormDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
67:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
89:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
144:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\monitoring\system-logs\numbering\page.tsx
|
|
||||||
17:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx
|
|
||||||
78:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\circulation\new\page.tsx
|
|
||||||
226:28 error 'field' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\drawings\[uuid]\page.tsx
|
|
||||||
251:42 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx
|
|
||||||
70:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx
|
|
||||||
78:27 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
92:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\rfas\page.tsx
|
|
||||||
14:16 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
15:49 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\global-error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\organization-dialog.tsx
|
|
||||||
102:29 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\reference\generic-crud-table.tsx
|
|
||||||
96:37 error 'refetch' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\security\rbac-matrix.tsx
|
|
||||||
31:11 error 'RbacMatrixProps' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
95:47 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\circulation\circulation-list.tsx
|
|
||||||
6:10 error 'StatusBadge' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
8:15 error 'CheckCircle2' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\common\status-badge.tsx
|
|
||||||
19:7 error 'defaultStatus' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\correspondences-content.tsx
|
|
||||||
13:16 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
14:9 error 'status' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
25:10 error 'correspondenceService' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
86:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
102:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
117:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
118:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
131:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
198:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
285:62 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
309:64 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
35:8 error ❌ +value is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\dashboard\pending-tasks.tsx
|
|
||||||
7:10 error 'AlertCircle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\documents\common\server-data-table.tsx
|
|
||||||
11:3 error 'getPaginationRowModel' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\revision-history.tsx
|
|
||||||
7:20 error 'FileText' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\upload-form.tsx
|
|
||||||
37:43 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
286:50 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
356:50 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\layout\navbar.tsx
|
|
||||||
4:8 error 'Link' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx
|
|
||||||
16:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
26:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx
|
|
||||||
31:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx
|
|
||||||
46:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx
|
|
||||||
58:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx
|
|
||||||
4:52 error 'CardDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
18:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-editor.tsx
|
|
||||||
152:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-tester.tsx
|
|
||||||
76:35 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
77:27 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
80:9 error Unexpected console statement no-console
|
|
||||||
82:9 error Unexpected console statement no-console
|
|
||||||
88:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
89:9 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx
|
|
||||||
54:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\rfas\form.tsx
|
|
||||||
285:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\transmittal\transmittal-form.tsx
|
|
||||||
420:48 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\calendar.tsx
|
|
||||||
57:25 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
58:26 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\dropdown-menu.tsx
|
|
||||||
6:10 error 'Check' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
6:31 error 'Circle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx
|
|
||||||
50:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx
|
|
||||||
238:12 error 'e' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\client.ts
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\drawings.ts
|
|
||||||
38:25 error 'contractId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\numbering.ts
|
|
||||||
133:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
141:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
160:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
171:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
193:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
203:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
213:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
227:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
238:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
249:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
260:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
285:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
301:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
307:5 error Unexpected console statement no-console
|
|
||||||
310:5 error Unexpected console statement no-console
|
|
||||||
320:5 error Unexpected console statement no-console
|
|
||||||
340:5 error 'context' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\auth.ts
|
|
||||||
9:7 error 'loginSchema' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
106:12 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
139:11 error Unexpected console statement no-console
|
|
||||||
140:11 error Unexpected console statement no-console
|
|
||||||
141:11 error Unexpected console statement no-console
|
|
||||||
153:13 error Unexpected console statement no-console
|
|
||||||
155:13 error Unexpected console statement no-console
|
|
||||||
163:13 error Unexpected console statement no-console
|
|
||||||
167:11 error Unexpected console statement no-console
|
|
||||||
181:11 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts
|
|
||||||
18:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\migration.service.ts
|
|
||||||
95:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\proxy.ts
|
|
||||||
3:15 error 'NextRequest' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\migration.ts
|
|
||||||
14:14 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
27:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
33:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\next-auth.d.ts
|
|
||||||
2:8 error 'NextAuth' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 560 problems (557 errors, 3 warnings)
|
|
||||||
61 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
@@ -1,795 +0,0 @@
|
|||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
67:35 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
118:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
121:21 error Unsafe member access .username on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
126:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
132:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.ts
|
|
||||||
46:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
47:5 error Unexpected console statement no-console
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
266:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
267:30 error Unsafe member access .exp on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
268:29 error Unsafe member access .exp on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
277:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\guards\permissions.guard.ts
|
|
||||||
23:3 error Async method 'canActivate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
35:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:26 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
43:44 error Unsafe argument of type `any` assigned to a parameter of type `{ params: Record<string, string>; body: Record<string, unknown>; query: Record<string, unknown>; }` @typescript-eslint/no-unsafe-argument
|
|
||||||
46:55 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
18:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
22:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:40 error Unsafe argument of type `any` assigned to a parameter of type `(...args: unknown[]) => Promise<unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
15:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
17:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
17:20 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
19:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:7 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
31:13 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
31:26 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
31:41 error Unsafe member access .apply on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
46:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
51:41 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
31:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
38:7 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
38:12 error Unsafe member access .user_id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
11:3 error 'ConflictException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
29:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:11 error Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\performance.interceptor.ts
|
|
||||||
19:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
21:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
22:13 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
22:39 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
26:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:24 error Unsafe member access .method on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:21 error Unsafe member access .route on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:33 error Unsafe member access .route on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
27:50 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
32:16 error 'data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
33:39 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
33:47 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
36:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:30 error Unsafe member access .status on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
37:39 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
37:47 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
37:63 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
53:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
54:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
54:29 error Unsafe member access .statusCode on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
65:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
65:20 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
65:32 error Unsafe member access .toString on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
72:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:22 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
72:34 error Unsafe member access .toString on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
24:46 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
24:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
9:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\dashboard\dashboard.service.ts
|
|
||||||
66:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:45 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
75:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
78:31 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
79:7 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
79:31 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
95:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
101:44 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
174:12 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
174:19 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
207:38 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
210:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\document-numbering.service.ts
|
|
||||||
5:3 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
8:37 error 'In' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
295:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
297:49 error Unsafe member access .message on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
298:11 error Unsafe member access .stack on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
385:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
391:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
391:26 error Unsafe member access .projectId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
392:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
392:23 error Unsafe member access .correspondenceTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
393:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
393:26 error Unsafe member access .subTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
394:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
394:26 error Unsafe member access .rfaTypeId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
395:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
395:29 error Unsafe member access .disciplineId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
396:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
396:41 error Unsafe member access .originatorOrganizationId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
397:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
397:40 error Unsafe member access .recipientOrganizationId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\schema-migration.service.ts
|
|
||||||
62:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
67:29 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
73:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
73:34 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
74:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
74:37 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
79:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
80:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
86:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
90:16 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
93:11 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
106:60 error Unsafe argument of type `any` assigned to a parameter of type `MigrationStep` @typescript-eslint/no-unsafe-argument
|
|
||||||
106:66 error Unsafe argument of type `any` assigned to a parameter of type `Record<string, unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
107:24 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
107:45 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
108:37 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
108:42 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
108:67 error Unsafe member access .config on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
118:9 error Unsafe argument of type `any` assigned to a parameter of type `Record<string, unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
142:9 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
161:3 error Async method 'applyMigrationStep' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
193:35 error 'newData[field]' may use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
|
|
||||||
201:37 error 'newData[field]' may use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.service.ts
|
|
||||||
174:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:35 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
295:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:41 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
332:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
338:32 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
339:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
339:28 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
341:19 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:31 error Unsafe member access .insertId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.processor.ts
|
|
||||||
50:26 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:31 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:54 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
57:38 error Unsafe argument of type `any` assigned to a parameter of type `NotificationPayload` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:43 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:52 error Unsafe member access .userId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
61:60 error Unsafe argument of type `any` assigned to a parameter of type `"EMAIL" | "LINE"` @typescript-eslint/no-unsafe-argument
|
|
||||||
61:69 error Unsafe member access .type on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
155:11 error Unsafe assignment of type `any[]` to a variable of type `NotificationPayload[]` @typescript-eslint/no-unsafe-assignment
|
|
||||||
156:7 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
209:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:24 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
226:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
232:24 error Unsafe argument of type `any` assigned to a parameter of type `string` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\rfa-workflow.service.ts
|
|
||||||
111:59 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
143:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:57 error Unsafe argument of type `any` assigned to a parameter of type `string | undefined` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
48:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
63:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
49:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\user.service.ts
|
|
||||||
21:10 error 'Organization' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
245:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:28 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
250:40 error Unsafe member access .map on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
257:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\workflow-transition.dto.ts
|
|
||||||
29:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
84:5 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts
|
|
||||||
261:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
344:9 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
371:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
405:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
406:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
421:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
429:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
431:9 error Unexpected lexical declaration in case block no-case-declarations
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\access-control\users\page.tsx
|
|
||||||
39:10 error 'Organization' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\contracts\page.tsx
|
|
||||||
52:11 error 'Project' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\[id]\edit\page.tsx
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx
|
|
||||||
28:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\page.tsx
|
|
||||||
61:46 error 'isLoadingTemplates' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\correspondence-types\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\disciplines\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
46:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
70:20 error 'id' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
70:24 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
84:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\drawing-categories\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\rfa-types\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
87:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx
|
|
||||||
72:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
35:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
104:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
14:3 error 'FormDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
67:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
89:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
144:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\monitoring\system-logs\numbering\page.tsx
|
|
||||||
17:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx
|
|
||||||
78:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\circulation\new\page.tsx
|
|
||||||
226:28 error 'field' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx
|
|
||||||
70:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx
|
|
||||||
78:27 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
92:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\global-error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\organization-dialog.tsx
|
|
||||||
102:29 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\reference\generic-crud-table.tsx
|
|
||||||
96:37 error 'refetch' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\security\rbac-matrix.tsx
|
|
||||||
31:11 error 'RbacMatrixProps' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
95:47 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\circulation\circulation-list.tsx
|
|
||||||
6:10 error 'StatusBadge' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
8:15 error 'CheckCircle2' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\common\status-badge.tsx
|
|
||||||
19:7 error 'defaultStatus' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\correspondences-content.tsx
|
|
||||||
13:16 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
14:9 error 'status' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
25:10 error 'correspondenceService' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
86:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
102:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
117:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
118:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
131:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
198:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
285:62 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
309:64 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
35:8 error ❌ +value is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\dashboard\pending-tasks.tsx
|
|
||||||
7:10 error 'AlertCircle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\documents\common\server-data-table.tsx
|
|
||||||
11:3 error 'getPaginationRowModel' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\revision-history.tsx
|
|
||||||
7:20 error 'FileText' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\upload-form.tsx
|
|
||||||
37:43 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
286:50 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
356:50 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\layout\navbar.tsx
|
|
||||||
4:8 error 'Link' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx
|
|
||||||
16:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
26:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx
|
|
||||||
31:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx
|
|
||||||
46:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx
|
|
||||||
58:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx
|
|
||||||
4:52 error 'CardDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
18:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-editor.tsx
|
|
||||||
152:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-tester.tsx
|
|
||||||
76:35 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
77:27 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
80:9 error Unexpected console statement no-console
|
|
||||||
82:9 error Unexpected console statement no-console
|
|
||||||
88:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
89:9 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx
|
|
||||||
54:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\rfas\form.tsx
|
|
||||||
285:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\transmittal\transmittal-form.tsx
|
|
||||||
420:48 error ❌ parseInt() is forbidden (UUID risk) no-restricted-syntax
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\calendar.tsx
|
|
||||||
57:25 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
58:26 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\dropdown-menu.tsx
|
|
||||||
6:10 error 'Check' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
6:31 error 'Circle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx
|
|
||||||
50:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx
|
|
||||||
238:12 error 'e' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\client.ts
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\drawings.ts
|
|
||||||
38:25 error 'contractId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\numbering.ts
|
|
||||||
133:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
141:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
160:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
171:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
193:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
203:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
213:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
227:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
238:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
249:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
260:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
285:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
301:38 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
307:5 error Unexpected console statement no-console
|
|
||||||
310:5 error Unexpected console statement no-console
|
|
||||||
320:5 error Unexpected console statement no-console
|
|
||||||
340:5 error 'context' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\auth.ts
|
|
||||||
9:7 error 'loginSchema' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
106:12 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
139:11 error Unexpected console statement no-console
|
|
||||||
140:11 error Unexpected console statement no-console
|
|
||||||
141:11 error Unexpected console statement no-console
|
|
||||||
153:13 error Unexpected console statement no-console
|
|
||||||
155:13 error Unexpected console statement no-console
|
|
||||||
163:13 error Unexpected console statement no-console
|
|
||||||
167:11 error Unexpected console statement no-console
|
|
||||||
181:11 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts
|
|
||||||
18:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\migration.service.ts
|
|
||||||
95:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\proxy.ts
|
|
||||||
3:15 error 'NextRequest' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\migration.ts
|
|
||||||
14:14 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
27:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
33:23 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\next-auth.d.ts
|
|
||||||
2:8 error 'NextAuth' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 476 problems (473 errors, 3 warnings)
|
|
||||||
|
|
||||||
@@ -1,451 +0,0 @@
|
|||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\guards\permissions.guard.ts
|
|
||||||
23:3 error Async method 'canActivate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
35:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
36:26 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
43:44 error Unsafe argument of type `any` assigned to a parameter of type `{ params: Record<string, string>; body: Record<string, unknown>; query: Record<string, unknown>; }` @typescript-eslint/no-unsafe-argument
|
|
||||||
46:55 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
18:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
22:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:40 error Unsafe argument of type `any` assigned to a parameter of type `(...args: unknown[]) => Promise<unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
15:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
17:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
17:20 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
19:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
27:7 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
31:13 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
31:26 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
31:41 error Unsafe member access .apply on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
46:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
51:41 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
31:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
38:7 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
38:12 error Unsafe member access .user_id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
11:3 error 'ConflictException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
29:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:11 error Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
24:46 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
24:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
9:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\dashboard\dashboard.service.ts
|
|
||||||
66:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
72:45 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
75:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
78:62 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
92:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:44 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
171:12 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
171:19 error Unsafe array destructuring of a tuple element with an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
204:38 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
207:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.service.ts
|
|
||||||
174:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
179:35 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
295:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
301:41 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
332:17 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
338:32 error Unsafe member access .length on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
339:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
339:28 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
341:19 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
345:31 error Unsafe member access .insertId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.processor.ts
|
|
||||||
215:58 error Replace `'N8N_LINE_WEBHOOK_URL'` with `␍⏎······'N8N_LINE_WEBHOOK_URL'␍⏎····` prettier/prettier
|
|
||||||
232:58 error Replace `'N8N_LINE_WEBHOOK_URL'` with `␍⏎······'N8N_LINE_WEBHOOK_URL'␍⏎····` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\rfa-workflow.service.ts
|
|
||||||
111:59 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
143:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:57 error Unsafe argument of type `any` assigned to a parameter of type `string | undefined` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
48:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
63:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
49:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\user.service.ts
|
|
||||||
21:10 error 'Organization' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
245:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
250:28 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
250:40 error Unsafe member access .map on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
257:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\workflow-transition.dto.ts
|
|
||||||
29:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
84:5 error Unsafe return of a value of type `Promise<any>` @typescript-eslint/no-unsafe-return
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.ts
|
|
||||||
261:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
344:9 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
371:53 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
405:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
406:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
421:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
429:7 error The case statement does not have a shared enum type with the switch predicate @typescript-eslint/no-unsafe-enum-comparison
|
|
||||||
431:9 error Unexpected lexical declaration in case block no-case-declarations
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 257 problems (257 errors, 0 warnings)
|
|
||||||
2 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
@@ -1,393 +0,0 @@
|
|||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\circuit-breaker.decorator.ts
|
|
||||||
18:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
22:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:40 error Unsafe argument of type `any` assigned to a parameter of type `(...args: unknown[]) => Promise<unknown>` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\current-user.decorator.ts
|
|
||||||
15:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
17:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
17:20 error Unsafe member access .user on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
23:49 error Replace `...args:·unknown[]` with `␍⏎······...args:·unknown[]␍⏎····` prettier/prettier
|
|
||||||
26:40 error Replace `␍⏎······this:·unknown,␍⏎······...args:·unknown[]␍⏎····` with `this:·unknown,·...args:·unknown[]` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
46:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
51:41 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\rbac.guard.ts
|
|
||||||
31:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
38:7 error Unsafe argument of type `any` assigned to a parameter of type `number` @typescript-eslint/no-unsafe-argument
|
|
||||||
38:12 error Unsafe member access .user_id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
11:3 error 'ConflictException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
29:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:11 error Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
24:46 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
24:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
9:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.processor.ts
|
|
||||||
215:58 error Replace `'N8N_LINE_WEBHOOK_URL'` with `␍⏎······'N8N_LINE_WEBHOOK_URL'␍⏎····` prettier/prettier
|
|
||||||
232:58 error Replace `'N8N_LINE_WEBHOOK_URL'` with `␍⏎······'N8N_LINE_WEBHOOK_URL'␍⏎····` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\rfa-workflow.service.ts
|
|
||||||
111:59 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
143:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:57 error Unsafe argument of type `any` assigned to a parameter of type `string | undefined` @typescript-eslint/no-unsafe-argument
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
48:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
63:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
49:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\workflow-transition.dto.ts
|
|
||||||
29:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 209 problems (209 errors, 0 warnings)
|
|
||||||
4 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
@@ -1,370 +0,0 @@
|
|||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\decorators\retry.decorator.ts
|
|
||||||
23:49 error Replace `...args:·unknown[]` with `␍⏎······...args:·unknown[]␍⏎····` prettier/prettier
|
|
||||||
26:40 error Replace `␍⏎······this:·unknown,␍⏎······...args:·unknown[]␍⏎····` with `this:·unknown,·...args:·unknown[]` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\guards\maintenance-mode.guard.ts
|
|
||||||
46:15 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
51:41 error Unsafe member access .url on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\audit-log.interceptor.ts
|
|
||||||
58:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\interceptors\idempotency.interceptor.ts
|
|
||||||
11:3 error 'ConflictException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
29:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:11 error Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\crypto.service.ts
|
|
||||||
24:46 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
24:61 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\services\request-context.service.ts
|
|
||||||
9:67 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation-workflow.service.ts
|
|
||||||
89:57 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\circulation\circulation.service.ts
|
|
||||||
8:34 error 'Not' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
98:13 error 'search' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence-workflow.service.ts
|
|
||||||
91:55 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\dto\create-routing-template.dto.ts
|
|
||||||
9:3 error 'IsEnum' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
92:18 error '_schema' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
92:35 error '_data' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
258:5 error 'options' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.processor.ts
|
|
||||||
215:58 error Replace `'N8N_LINE_WEBHOOK_URL'` with `␍⏎······'N8N_LINE_WEBHOOK_URL'␍⏎····` prettier/prettier
|
|
||||||
232:58 error Replace `'N8N_LINE_WEBHOOK_URL'` with `␍⏎······'N8N_LINE_WEBHOOK_URL'␍⏎····` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\dto\search-query.dto.ts
|
|
||||||
1:39 error 'IsNotEmpty' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\search\search.service.ts
|
|
||||||
48:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
63:16 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\transmittal\transmittal.controller.ts
|
|
||||||
49:20 error '_user' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
28:3 error Async method 'dispatchEvents' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
31:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
40:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
73:66 error Invalid type "unknown" of template literal expression @typescript-eslint/restrict-template-expressions
|
|
||||||
80:3 error Async method 'handleNotify' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
82:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
91:3 error Async method 'handleWebhook' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
93:5 error '_context' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 196 problems (196 errors, 0 warnings)
|
|
||||||
4 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
@@ -22,6 +22,8 @@
|
|||||||
*.pem
|
*.pem
|
||||||
|
|
||||||
# debug
|
# debug
|
||||||
|
*.log
|
||||||
|
*.txt
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|||||||
Vendored
-4
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"jest.rootPath": "/",
|
|
||||||
"editor.fontSize": 18
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,31 +0,0 @@
|
|||||||
|
|
||||||
> lcbp3-frontend@1.5.1 build
|
|
||||||
> next build
|
|
||||||
|
|
||||||
ΓÜá Warning: Next.js inferred your workspace root, but it may not be correct.
|
|
||||||
We detected multiple lockfiles and selected the directory of D:\nap-dms.lcbp3\pnpm-lock.yaml as the root directory.
|
|
||||||
To silence this warning, set `turbopack.root` in your Next.js config, or consider removing one of the lockfiles if it's not needed.
|
|
||||||
See https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack#root-directory for more information.
|
|
||||||
Detected additional lockfiles:
|
|
||||||
* D:\nap-dms.lcbp3\frontend\pnpm-lock.yaml
|
|
||||||
|
|
||||||
Γû▓ Next.js 16.0.7 (Turbopack)
|
|
||||||
- Environments: .env.local
|
|
||||||
|
|
||||||
ΓÜá The "middleware" file convention is deprecated. Please use "proxy" instead. Learn more: https://nextjs.org/docs/messages/middleware-to-proxy
|
|
||||||
Creating an optimized production build ...
|
|
||||||
Γ£ô Compiled successfully in 7.2s
|
|
||||||
Running TypeScript ...
|
|
||||||
Failed to compile.
|
|
||||||
|
|
||||||
./app/(dashboard)/circulation/new/page.tsx:48:32
|
|
||||||
Type error: Object literal may only specify known properties, and 'required_error' does not exist in type '{ error?: string | $ZodErrorMap<$ZodIssueInvalidType<unknown>> | undefined; message?: string | undefined; }'.
|
|
||||||
|
|
||||||
46 | // Form validation schema
|
|
||||||
47 | const formSchema = z.object({
|
|
||||||
> 48 | correspondenceId: z.number({ required_error: "Please select a document" }),
|
|
||||||
| ^
|
|
||||||
49 | subject: z.string().min(1, "Subject is required"),
|
|
||||||
50 | assigneeIds: z.array(z.number()).min(1, "At least one assignee is required"),
|
|
||||||
51 | remarks: z.string().optional(),
|
|
||||||
Next.js build worker exited with code: 1 and signal: null
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
|
||||||
Γû▓ Next.js 16.0.7 (Turbopack)
|
|
||||||
- Environments: .env.local
|
|
||||||
|
|
||||||
ΓÜá The "middleware" file convention is deprecated. Please use "proxy" instead. Learn more: https://nextjs.org/docs/messages/middleware-to-proxy
|
|
||||||
Creating an optimized production build ...
|
|
||||||
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
|
||||||
Γ£ô Compiled successfully in 7.5s
|
|
||||||
Running TypeScript ...
|
|
||||||
Failed to compile.
|
|
||||||
|
|
||||||
.next/dev/types/validator.ts:53:39
|
|
||||||
Type error: Cannot find module '../../../app/(admin)/admin/audit-logs/page.js' or its corresponding type declarations.
|
|
||||||
|
|
||||||
51 | {
|
|
||||||
52 | type __IsExpected<Specific extends AppPageConfig<"/admin/audit-logs">> = Specific
|
|
||||||
> 53 | const handler = {} as typeof import("../../../app/(admin)/admin/audit-logs/page.js")
|
|
||||||
| ^
|
|
||||||
54 | type __Check = __IsExpected<typeof handler>
|
|
||||||
55 | // @ts-ignore
|
|
||||||
56 | type __Unused = __Check
|
|
||||||
Next.js build worker exited with code: 1 and signal: null
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
> lcbp3-frontend@1.8.0 lint D:\nap-dms.lcbp3\frontend
|
|
||||||
> eslint . --max-warnings 0
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
28:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
59:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
125:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
✖ 4 problems (1 error, 3 warnings)
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
"sonner": "^2.0.7",
|
"sonner": "^2.0.7",
|
||||||
"tailwind-merge": "^3.5.0",
|
"tailwind-merge": "^3.5.0",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"uuid": "^13.0.0",
|
"uuid": "^11.0.0",
|
||||||
"zod": "4.3.6",
|
"zod": "4.3.6",
|
||||||
"zustand": "^5.0.12"
|
"zustand": "^5.0.12"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
.next/dev/types/validator.ts(53,39): error TS2307: Cannot find module '../../../app/(admin)/admin/audit-logs/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(62,39): error TS2307: Cannot find module '../../../app/(admin)/admin/contracts/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(71,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/contract/categories/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(80,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/contract/sub-categories/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(89,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/contract/volumes/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(98,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(107,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/shop/main-categories/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(116,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/shop/sub-categories/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(125,39): error TS2307: Cannot find module '../../../app/(admin)/admin/numbering/[id]/edit/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(134,39): error TS2307: Cannot find module '../../../app/(admin)/admin/numbering/new/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(143,39): error TS2307: Cannot find module '../../../app/(admin)/admin/numbering/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(152,39): error TS2307: Cannot find module '../../../app/(admin)/admin/organizations/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(170,39): error TS2307: Cannot find module '../../../app/(admin)/admin/projects/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(179,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/correspondence-types/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(188,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/disciplines/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(197,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/drawing-categories/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(206,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(215,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/rfa-types/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(224,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/tags/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(233,39): error TS2307: Cannot find module '../../../app/(admin)/admin/security/roles/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(242,39): error TS2307: Cannot find module '../../../app/(admin)/admin/security/sessions/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(260,39): error TS2307: Cannot find module '../../../app/(admin)/admin/system-logs/numbering/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(269,39): error TS2307: Cannot find module '../../../app/(admin)/admin/users/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(278,39): error TS2307: Cannot find module '../../../app/(admin)/admin/workflows/[id]/edit/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(287,39): error TS2307: Cannot find module '../../../app/(admin)/admin/workflows/new/page.js' or its corresponding type declarations.
|
|
||||||
.next/dev/types/validator.ts(296,39): error TS2307: Cannot find module '../../../app/(admin)/admin/workflows/page.js' or its corresponding type declarations.
|
|
||||||
@@ -1,345 +0,0 @@
|
|||||||
|
|
||||||
> nap-dms.lcbp3@1.8.0 lint D:\nap-dms.lcbp3
|
|
||||||
> eslint .
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
140:6 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
122:4 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
56:4 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:1 error Insert `····` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
54:3 error Async method 'processSingleEvent' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx
|
|
||||||
28:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\disciplines\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
46:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
70:20 error 'id' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
84:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx
|
|
||||||
72:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx
|
|
||||||
34:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
35:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
104:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
14:3 error 'FormDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
67:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
89:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
144:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx
|
|
||||||
78:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx
|
|
||||||
70:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx
|
|
||||||
92:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\circulation\circulation-list.tsx
|
|
||||||
6:10 error 'StatusBadge' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
86:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
102:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
117:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
118:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
131:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
198:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx
|
|
||||||
26:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx
|
|
||||||
31:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx
|
|
||||||
46:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx
|
|
||||||
58:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx
|
|
||||||
18:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx
|
|
||||||
54:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\rfas\form.tsx
|
|
||||||
285:17 error '_err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\dropdown-menu.tsx
|
|
||||||
6:10 error 'Check' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx
|
|
||||||
50:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx
|
|
||||||
238:12 error '_e' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\client.ts
|
|
||||||
43:16 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\auth.ts
|
|
||||||
106:12 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
154:19 error 'errorBody' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
180:18 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts
|
|
||||||
18:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
34:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 178 problems (175 errors, 3 warnings)
|
|
||||||
1 error and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1,298 +0,0 @@
|
|||||||
|
|
||||||
> nap-dms.lcbp3@1.8.0 lint D:\nap-dms.lcbp3
|
|
||||||
> eslint .
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
105:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:1 error Insert `····` prettier/prettier
|
|
||||||
16:1 error Insert `····` prettier/prettier
|
|
||||||
17:12 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
18:1 error Insert `····` prettier/prettier
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:1 error Insert `········` prettier/prettier
|
|
||||||
134:16 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
135:1 error Insert `········` prettier/prettier
|
|
||||||
138:1 error Insert `······` prettier/prettier
|
|
||||||
139:1 error Insert `······` prettier/prettier
|
|
||||||
140:1 error Insert `······` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
135:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
153:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
168:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
191:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
202:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
220:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
231:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
250:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
261:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
122:4 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
56:4 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:1 error Insert `····` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
54:3 error Async method 'processSingleEvent' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
38:6 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
59:6 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx
|
|
||||||
28:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx
|
|
||||||
72:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx
|
|
||||||
34:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
35:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
104:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
67:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
89:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
144:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx
|
|
||||||
78:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx
|
|
||||||
70:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx
|
|
||||||
92:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
131:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
198:17 error '_err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx
|
|
||||||
26:16 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx
|
|
||||||
31:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx
|
|
||||||
46:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx
|
|
||||||
58:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx
|
|
||||||
18:16 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx
|
|
||||||
54:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\rfas\form.tsx
|
|
||||||
285:17 error '_err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx
|
|
||||||
50:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx
|
|
||||||
238:12 error '_e' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\client.ts
|
|
||||||
43:16 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\auth.ts
|
|
||||||
106:12 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
180:18 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts
|
|
||||||
18:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
34:14 error '_error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 139 problems (136 errors, 3 warnings)
|
|
||||||
9 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1,230 +0,0 @@
|
|||||||
|
|
||||||
> nap-dms.lcbp3@1.8.0 lint D:\nap-dms.lcbp3
|
|
||||||
> eslint .
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
105:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
17:12 error 'error' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
135:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
153:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
168:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
191:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
202:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
220:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
231:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
250:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
261:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
122:4 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
56:4 error Parsing error: Declaration or statement expected
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
54:3 error Async method 'processSingleEvent' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
83:9 error 'skippedCount' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
97:9 error 'movedCount' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
99:16 error 'err' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
104:9 error 'errorCount' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
112:12 error 'error' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
28:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
59:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
125:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
✖ 114 problems (111 errors, 3 warnings)
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1,191 +0,0 @@
|
|||||||
|
|
||||||
> nap-dms.lcbp3@1.8.0 lint D:\nap-dms.lcbp3
|
|
||||||
> eslint .
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
105:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
135:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
153:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
168:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
191:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
202:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
220:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
231:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
250:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
261:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\document-numbering.service.ts
|
|
||||||
386:16 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
28:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
59:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
125:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
✖ 92 problems (89 errors, 3 warnings)
|
|
||||||
1 error and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
@@ -1,506 +0,0 @@
|
|||||||
|
|
||||||
> nap-dms.lcbp3@1.8.0 lint D:\nap-dms.lcbp3
|
|
||||||
> eslint .
|
|
||||||
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.controller.spec.ts
|
|
||||||
81:13 error 'result' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
|
||||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
26:7 error 'jwtService' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
27:7 error 'tokenRepo' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\auth\strategies\jwt-refresh.strategy.ts
|
|
||||||
27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.controller.spec.ts
|
|
||||||
51:13 error 'result' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
|
||||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\run-seed.ts
|
|
||||||
7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
11:5 error Unexpected console statement no-console
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
18:5 error Unexpected console statement no-console
|
|
||||||
24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
|
||||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
|
||||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\database\seeds\workflow-definitions.seed.ts
|
|
||||||
133:9 error Unexpected console statement no-console
|
|
||||||
135:9 error Unexpected console statement no-console
|
|
||||||
138:7 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\contract\contract.controller.ts
|
|
||||||
16:3 error 'ApiQuery' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.controller.spec.ts
|
|
||||||
82:13 error 'result' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
|
||||||
11:10 error 'CorrespondenceRecipient' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
22:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
23:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
24:7 error 'dataSource' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
24:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
133:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
134:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
135:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
154:13 error 'mockStatus' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
|
||||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
|
||||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
|
||||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
|
||||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\entities\correspondence-recipient.entity.ts
|
|
||||||
1:18 error 'Column' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\document-numbering.controller.ts
|
|
||||||
119:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts
|
|
||||||
1:27 error 'UseGuards' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
|
||||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\entities\document-number-audit.entity.ts
|
|
||||||
28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts
|
|
||||||
54:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
|
||||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\metrics.service.ts
|
|
||||||
1:22 error 'Logger' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\reservation.service.ts
|
|
||||||
76:11 error 'reservation' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\template.service.ts
|
|
||||||
1:30 error 'NotFoundException' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
|
||||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
|
||||||
258:5 error 'options' is assigned a value but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
|
||||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\create-tag.dto.ts
|
|
||||||
1:44 error 'IsInt' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\dto\save-number-format.dto.ts
|
|
||||||
1:39 error 'IsOptional' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\master\master.controller.ts
|
|
||||||
7:3 error 'Put' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
|
||||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.ts
|
|
||||||
166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\create-notification.dto.ts
|
|
||||||
7:3 error 'IsUrl' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
|
||||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification-cleanup.service.ts
|
|
||||||
4:22 error 'LessThan' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\notification\notification.service.ts
|
|
||||||
12:10 error 'UserPreference' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\organization\organization.service.ts
|
|
||||||
76:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
|
||||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.controller.spec.ts
|
|
||||||
49:13 error 'result' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
62:13 error 'result' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
|
||||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.ts
|
|
||||||
8:22 error 'Like' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
|
||||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
|
||||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\user\dto\assign-role.dto.ts
|
|
||||||
1:41 error 'ValidateIf' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
|
||||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
|
||||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
|
||||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
|
||||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
|
||||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
|
||||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.controller.ts
|
|
||||||
118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
118:42 error 'instanceId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
|
||||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
||||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
||||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-event.service.ts
|
|
||||||
46:29 error Replace ``Failed·to·process·event·[${idx}]:·${String(res.reason)}`` with `␍⏎············`Failed·to·process·event·[${idx}]:·${String(res.reason)}`␍⏎··········` prettier/prettier
|
|
||||||
52:3 error Async method 'processSingleEvent' has no 'await' expression @typescript-eslint/require-await
|
|
||||||
73:25 error Replace ``Error·processing·event·${event.type}:·${String(error)}`` with `␍⏎········`Error·processing·event·${event.type}:·${String(error)}`␍⏎······` prettier/prettier
|
|
||||||
80:24 error Replace `␍⏎····event:·RawEvent,␍⏎····_context:·Record<string,·unknown>␍⏎··` with `event:·RawEvent,·_context:·Record<string,·unknown>` prettier/prettier
|
|
||||||
91:25 error Replace `␍⏎····event:·RawEvent,␍⏎····_context:·Record<string,·unknown>␍⏎··` with `event:·RawEvent,·_context:·Record<string,·unknown>` prettier/prettier
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts
|
|
||||||
10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument
|
|
||||||
10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
14:5 error Unexpected console statement no-console
|
|
||||||
21:5 error Unexpected console statement no-console
|
|
||||||
33:5 error Unexpected console statement no-console
|
|
||||||
36:7 error Unexpected console statement no-console
|
|
||||||
50:9 error Unexpected console statement no-console
|
|
||||||
57:20 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:78 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
57:89 error Unnecessary escape character: \/ no-useless-escape
|
|
||||||
68:9 error Unexpected console statement no-console
|
|
||||||
98:37 error Unexpected console statement no-console
|
|
||||||
100:9 error Unexpected console statement no-console
|
|
||||||
108:5 error Unexpected console statement no-console
|
|
||||||
109:5 error Unexpected console statement no-console
|
|
||||||
110:5 error Unexpected console statement no-console
|
|
||||||
111:5 error Unexpected console statement no-console
|
|
||||||
113:5 error Unexpected console statement no-console
|
|
||||||
119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\phase3-workflow.e2e-spec.ts
|
|
||||||
27:7 error 'adminToken' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
57:7 error Unexpected console statement no-console
|
|
||||||
70:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
83:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
83:38 error Unsafe member access .id on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
84:5 error Unexpected console statement no-console
|
|
||||||
88:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
98:5 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
|
||||||
98:40 error Unsafe member access .instanceId on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
99:5 error Unexpected console statement no-console
|
|
||||||
100:5 error Unexpected console statement no-console
|
|
||||||
100:49 error Unsafe member access .currentState on an `any` value @typescript-eslint/no-unsafe-member-access
|
|
||||||
106:7 error Unexpected console statement no-console
|
|
||||||
110:36 error Unsafe argument of type `any` assigned to a parameter of type `App` @typescript-eslint/no-unsafe-argument
|
|
||||||
122:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\backend\test\simple.e2e-spec.ts
|
|
||||||
1:8 error 'request' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
3:10 error 'RoutingTemplate' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\access-control\users\page.tsx
|
|
||||||
39:10 error 'Organization' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\contracts\page.tsx
|
|
||||||
52:11 error 'Project' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\new\page.tsx
|
|
||||||
28:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\numbering\page.tsx
|
|
||||||
61:46 error 'isLoadingTemplates' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\correspondence-types\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\disciplines\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
46:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
70:20 error 'id' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
70:24 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
84:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\drawing-categories\page.tsx
|
|
||||||
8:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\reference\rfa-types\page.tsx
|
|
||||||
17:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
50:45 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
87:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\[id]\edit\page.tsx
|
|
||||||
72:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\doc-control\workflows\new\page.tsx
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
|
||||||
35:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
104:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
|
||||||
14:3 error 'FormDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
67:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
89:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
144:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\monitoring\system-logs\numbering\page.tsx
|
|
||||||
17:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(admin)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(auth)\login\page.tsx
|
|
||||||
78:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\circulation\new\page.tsx
|
|
||||||
226:28 error 'field' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\error.tsx
|
|
||||||
16:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\profile\page.tsx
|
|
||||||
70:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\(dashboard)\projects\new\page.tsx
|
|
||||||
78:27 error 'data' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
92:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\app\global-error.tsx
|
|
||||||
15:5 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\reference\generic-crud-table.tsx
|
|
||||||
96:37 error 'refetch' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\admin\security\rbac-matrix.tsx
|
|
||||||
31:11 error 'RbacMatrixProps' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\circulation\circulation-list.tsx
|
|
||||||
6:10 error 'StatusBadge' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
8:15 error 'CheckCircle2' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\common\status-badge.tsx
|
|
||||||
19:7 error 'defaultStatus' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\correspondences-content.tsx
|
|
||||||
14:9 error 'status' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
|
||||||
25:10 error 'correspondenceService' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
86:75 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
102:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
117:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
118:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
131:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
198:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
|
||||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\dashboard\pending-tasks.tsx
|
|
||||||
7:10 error 'AlertCircle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\documents\common\server-data-table.tsx
|
|
||||||
11:3 error 'getPaginationRowModel' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\drawings\revision-history.tsx
|
|
||||||
7:20 error 'FileText' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\layout\navbar.tsx
|
|
||||||
4:8 error 'Link' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\audit-logs-table.tsx
|
|
||||||
16:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
26:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\bulk-import-form.tsx
|
|
||||||
31:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\cancel-number-form.tsx
|
|
||||||
46:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\manual-override-form.tsx
|
|
||||||
58:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\metrics-dashboard.tsx
|
|
||||||
4:52 error 'CardDescription' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
18:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-editor.tsx
|
|
||||||
152:46 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\template-tester.tsx
|
|
||||||
80:9 error Unexpected console statement no-console
|
|
||||||
82:9 error Unexpected console statement no-console
|
|
||||||
88:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
||||||
89:9 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\numbering\void-replace-form.tsx
|
|
||||||
54:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\rfas\form.tsx
|
|
||||||
285:17 error 'err' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\calendar.tsx
|
|
||||||
57:25 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
58:26 error 'props' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\ui\dropdown-menu.tsx
|
|
||||||
6:10 error 'Check' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
6:31 error 'Circle' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\dsl-editor.tsx
|
|
||||||
50:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\components\workflows\visual-builder.tsx
|
|
||||||
238:12 error 'e' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\client.ts
|
|
||||||
43:16 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\api\drawings.ts
|
|
||||||
38:25 error 'contractId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\auth.ts
|
|
||||||
9:7 error 'loginSchema' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
106:12 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
139:11 error Unexpected console statement no-console
|
|
||||||
140:11 error Unexpected console statement no-console
|
|
||||||
141:11 error Unexpected console statement no-console
|
|
||||||
153:13 error Unexpected console statement no-console
|
|
||||||
155:13 error Unexpected console statement no-console
|
|
||||||
163:13 error Unexpected console statement no-console
|
|
||||||
167:11 error Unexpected console statement no-console
|
|
||||||
181:11 error Unexpected console statement no-console
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\lib\services\dashboard.service.ts
|
|
||||||
18:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
34:14 error 'error' is defined but never used @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\proxy.ts
|
|
||||||
3:15 error 'NextRequest' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
D:\nap-dms.lcbp3\frontend\types\next-auth.d.ts
|
|
||||||
2:8 error 'NextAuth' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
|
||||||
|
|
||||||
✖ 253 problems (250 errors, 3 warnings)
|
|
||||||
4 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
||||||
|
|
||||||
ELIFECYCLE Command failed with exit code 1.
|
|
||||||
Generated
+2803
-4543
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,950 @@
|
|||||||
|
🧪 Run Tests
|
||||||
|
18s
|
||||||
|
> backend@1.8.1 test /workspace/np-dms/lcbp3/backend
|
||||||
|
> jest --forceExit --watchAll=false
|
||||||
|
[Nest] 446 - 03/23/2026, 1:50:33 AM ERROR [WorkflowEngineService] Transition Failed for inst-1: DB Error
|
||||||
|
PASS src/modules/workflow-engine/workflow-engine.service.spec.ts
|
||||||
|
FAIL src/common/auth/auth.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.service.ts:24:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.service.spec.ts:2:1)
|
||||||
|
FAIL src/modules/correspondence/correspondence.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.service.spec.ts:4:1)
|
||||||
|
PASS src/common/services/uuid-resolver.service.spec.ts
|
||||||
|
FAIL src/modules/document-numbering/document-numbering.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/document-numbering/entities/document-number-format.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/document-numbering/services/document-numbering.service.ts:6:1)
|
||||||
|
at Object.<anonymous> (modules/document-numbering/document-numbering.service.spec.ts:3:1)
|
||||||
|
PASS src/modules/workflow-engine/dsl/parser.service.spec.ts
|
||||||
|
FAIL src/common/auth/casl/ability.factory.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:3:1)
|
||||||
|
FAIL src/common/file-storage/file-storage.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
12 | import * as path from 'path';
|
||||||
|
13 | import * as crypto from 'crypto';
|
||||||
|
>[***m 14 | import { v4 as uuidv4 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
15 | import { Attachment } from './entities/attachment.entity';
|
||||||
|
16 | import { ForbiddenException } from '@nestjs/common'; // ✅ Import เพิ่ม
|
||||||
|
17 |
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.service.ts:14:1)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.service.spec.ts:2:1)
|
||||||
|
FAIL src/modules/user/user.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.spec.ts:5:1)
|
||||||
|
PASS src/common/pipes/parse-uuid.pipe.spec.ts
|
||||||
|
FAIL src/modules/correspondence/correspondence.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.controller.ts:19:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.controller.spec.ts:2:1)
|
||||||
|
FAIL src/modules/project/project.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.service.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.service.spec.ts:3:1)
|
||||||
|
PASS src/common/entities/uuid-base.entity.spec.ts
|
||||||
|
FAIL src/common/auth/auth.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.service.ts:24:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.controller.ts:18:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.controller.spec.ts:3:1)
|
||||||
|
FAIL src/modules/migration/migration.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.service.spec.ts:2:1)
|
||||||
|
FAIL src/modules/project/project.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.service.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.controller.ts:14:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.controller.spec.ts:2:1)
|
||||||
|
PASS src/modules/document-numbering/services/manual-override.service.spec.ts
|
||||||
|
FAIL src/modules/migration/migration.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.controller.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.controller.spec.ts:2:1)
|
||||||
|
FAIL src/common/file-storage/file-storage.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
12 | import * as path from 'path';
|
||||||
|
13 | import * as crypto from 'crypto';
|
||||||
|
>[***m 14 | import { v4 as uuidv4 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
15 | import { Attachment } from './entities/attachment.entity';
|
||||||
|
16 | import { ForbiddenException } from '@nestjs/common'; // ✅ Import เพิ่ม
|
||||||
|
17 |
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.service.ts:14:1)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.controller.ts:21:1)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.controller.spec.ts:2:1)
|
||||||
|
PASS src/app.controller.spec.ts
|
||||||
|
FAIL src/modules/json-schema/json-schema.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (common/guards/rbac.guard.ts:9:1)
|
||||||
|
at Object.<anonymous> (modules/json-schema/json-schema.controller.ts:35:1)
|
||||||
|
at Object.<anonymous> (modules/json-schema/json-schema.controller.spec.ts:2:1)
|
||||||
|
Summary of all failing tests
|
||||||
|
FAIL common/auth/auth.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.service.ts:24:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.service.spec.ts:2:1)
|
||||||
|
FAIL modules/correspondence/correspondence.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.service.spec.ts:4:1)
|
||||||
|
FAIL modules/document-numbering/document-numbering.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/document-numbering/entities/document-number-format.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/document-numbering/services/document-numbering.service.ts:6:1)
|
||||||
|
at Object.<anonymous> (modules/document-numbering/document-numbering.service.spec.ts:3:1)
|
||||||
|
FAIL common/auth/casl/ability.factory.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (common/auth/casl/ability.factory.spec.ts:3:1)
|
||||||
|
FAIL common/file-storage/file-storage.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
12 | import * as path from 'path';
|
||||||
|
13 | import * as crypto from 'crypto';
|
||||||
|
>[***m 14 | import { v4 as uuidv4 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
15 | import { Attachment } from './entities/attachment.entity';
|
||||||
|
16 | import { ForbiddenException } from '@nestjs/common'; // ✅ Import เพิ่ม
|
||||||
|
17 |
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.service.ts:14:1)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.service.spec.ts:2:1)
|
||||||
|
FAIL modules/user/user.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.spec.ts:5:1)
|
||||||
|
FAIL modules/correspondence/correspondence.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.controller.ts:19:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/correspondence.controller.spec.ts:2:1)
|
||||||
|
FAIL modules/project/project.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.service.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.service.spec.ts:3:1)
|
||||||
|
FAIL common/auth/auth.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.service.ts:24:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.controller.ts:18:1)
|
||||||
|
at Object.<anonymous> (common/auth/auth.controller.spec.ts:3:1)
|
||||||
|
FAIL modules/migration/migration.service.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.service.spec.ts:2:1)
|
||||||
|
FAIL modules/project/project.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.service.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.controller.ts:14:1)
|
||||||
|
at Object.<anonymous> (modules/project/project.controller.spec.ts:2:1)
|
||||||
|
FAIL modules/migration/migration.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
6 | BeforeInsert,
|
||||||
|
7 | } from 'typeorm';
|
||||||
|
>[***m 8 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
9 | import { Exclude, Expose } from 'class-transformer';
|
||||||
|
10 | import { BaseEntity } from '../../../common/entities/base.entity';
|
||||||
|
11 | import { Contract } from '../../contract/entities/contract.entity';
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (modules/project/entities/project.entity.ts:8:1)
|
||||||
|
at Object.<anonymous> (modules/correspondence/entities/correspondence.entity.ts:11:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.controller.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/migration/migration.controller.spec.ts:2:1)
|
||||||
|
FAIL common/file-storage/file-storage.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
12 | import * as path from 'path';
|
||||||
|
13 | import * as crypto from 'crypto';
|
||||||
|
>[***m 14 | import { v4 as uuidv4 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
15 | import { Attachment } from './entities/attachment.entity';
|
||||||
|
16 | import { ForbiddenException } from '@nestjs/common'; // ✅ Import เพิ่ม
|
||||||
|
17 |
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.service.ts:14:1)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.controller.ts:21:1)
|
||||||
|
at Object.<anonymous> (common/file-storage/file-storage.controller.spec.ts:2:1)
|
||||||
|
FAIL modules/json-schema/json-schema.controller.spec.ts
|
||||||
|
● Test suite failed to run
|
||||||
|
Jest encountered an unexpected token
|
||||||
|
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
|
||||||
|
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
|
||||||
|
By default "node_modules" folder is ignored by transformers.
|
||||||
|
Here's what you can do:
|
||||||
|
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
|
||||||
|
• If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
|
||||||
|
• To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
|
||||||
|
• If you need a custom transformation, specify a "transform" option in your config.
|
||||||
|
• If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.
|
||||||
|
You'll find more details and examples of these config options in the docs:
|
||||||
|
https://jestjs.io/docs/configuration
|
||||||
|
For information about custom transformations, see:
|
||||||
|
https://jestjs.io/docs/code-transformation
|
||||||
|
Details:
|
||||||
|
/workspace/np-dms/lcbp3/node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist-node/index.js:1
|
||||||
|
export { default as MAX } from './max.js';
|
||||||
|
^^^^^^
|
||||||
|
SyntaxError: Unexpected token 'export'
|
||||||
|
1 | import { Column, BeforeInsert } from 'typeorm';
|
||||||
|
>[***m 2 | import { v7 as uuidv7 } from 'uuid';
|
||||||
|
| ^[***m
|
||||||
|
3 |
|
||||||
|
4 | /**
|
||||||
|
5 | * Abstract base entity providing a UUID public identifier column.
|
||||||
|
at Runtime.createScriptFromCode (../../node_modules/.pnpm/jest-runtime@30.2.0/node_modules/jest-runtime/build/index.js:1318:40)
|
||||||
|
at Object.<anonymous> (common/entities/uuid-base.entity.ts:2:1)
|
||||||
|
at Object.<anonymous> (modules/organization/entities/organization.entity.ts:13:1)
|
||||||
|
at Object.<anonymous> (modules/user/entities/user.entity.ts:16:1)
|
||||||
|
at Object.<anonymous> (modules/user/user.service.ts:15:1)
|
||||||
|
at Object.<anonymous> (common/guards/rbac.guard.ts:9:1)
|
||||||
|
at Object.<anonymous> (modules/json-schema/json-schema.controller.ts:35:1)
|
||||||
|
at Object.<anonymous> (modules/json-schema/json-schema.controller.spec.ts:2:1)
|
||||||
|
Test Suites: 14 failed, 7 passed, 21 total
|
||||||
|
Tests: 51 passed, 51 total
|
||||||
|
Snapshots: 0 total
|
||||||
|
Time: 15.419 s
|
||||||
|
Ran all test suites.
|
||||||
|
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
|
||||||
|
ELIFECYCLE Test failed. See above for more details.
|
||||||
|
❌ Failure - Main 🧪 Run Tests
|
||||||
|
exitcode '1': failure
|
||||||
Reference in New Issue
Block a user