Skip to content

Commit 3876ce5

Browse files
committed
refactor: remove unused DTOs, interfaces, and test files to streamline the codebase
1 parent 447a794 commit 3876ce5

19 files changed

Lines changed: 3 additions & 520 deletions

File tree

backend/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"interface": true,
55
"type": true
66
},
7-
"ignore": ["src/migrations/**"],
7+
"ignore": ["src/migrations/**", "src/shared/config/datasource.config.ts", "src/enums/widget-type.enum.ts"],
88
"tags": ["-lintignore"]
99
}

backend/src/authorization/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export { AuthMiddleware } from './auth.middleware.js';
22
export { BasicAuthMiddleware } from './basic-auth.middleware.js';
3-
export { IRequestWithCognitoInfo, ICognitoDecodedData } from './cognito-decoded.interface.js';
3+
export { IRequestWithCognitoInfo } from './cognito-decoded.interface.js';

backend/src/entities/ai/application/data-structures/request-info-from-table.ds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Response } from 'express';
2-
export class RequestInfoFromTableDS {
2+
class RequestInfoFromTableDS {
33
connectionId: string;
44
tableName: string;
55
user_message: string;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export { CreateConnectionPropertiesDto } from './create-connection-properties.dto.js';
2-
export { UpdateConnectionPropertiesDto } from './update-connection-properties.dto.js';

backend/src/entities/connection-properties/dto/update-connection-properties.dto.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

backend/src/entities/table-logs/dto/create-log-record.dto.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

backend/src/entities/table-logs/dto/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

backend/src/entities/table-logs/table-logs.interface.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

backend/src/entities/table/table.entity.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

backend/src/entities/user-actions/user-action.interface.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)