TypeScript 오류 수정 및 Merge conflict 해결

- dataflowControlService.ts: condition.field non-null assertion 추가
- batchExternalDbService.ts: connection 속성들 non-null assertion 추가, error 타입 unknown으로 변경
- multiConnectionQueryService.ts: connection, schemaResult.data non-null assertion 추가
- dataflowExecutionController.ts: 도달할 수 없는 코드 제거
- TableListComponent.tsx, SingleTableWithSticky.tsx: merge conflict 마커 제거
- 모든 TypeScript 컴파일 오류 해결 완료
This commit is contained in:
leeheejin
2025-10-01 09:58:38 +09:00
parent 990d8123b8
commit fc99beb851
6 changed files with 76 additions and 96 deletions

View File

@@ -958,7 +958,7 @@ export class DataflowControlService {
condition.value !== undefined
) {
// 조건에서 테이블명을 추출 (테이블명.필드명 형식이거나 기본 소스 테이블)
const parts = condition.field.split(".");
const parts = condition.field!.split(".");
let tableName: string;
let fieldName: string;
@@ -976,7 +976,7 @@ export class DataflowControlService {
`DELETE 조건에서 테이블을 결정할 수 없습니다. 필드를 "테이블명.필드명" 형식으로 지정하거나 fieldMappings에 targetTable을 설정하세요.`
);
}
fieldName = condition.field;
fieldName = condition.field!;
}
if (!tableGroups.has(tableName)) {
@@ -1041,14 +1041,14 @@ export class DataflowControlService {
targetTable: tableName,
whereClause,
});
} catch (error) {
} catch (error: unknown) {
console.error(`❌ DELETE 실패:`, {
table: tableName,
error: error,
});
const userFriendlyMessage =
error instanceof Error ? error.message : String(error);
error instanceof Error ? (error as Error).message : String(error);
results.push({
message: `DELETE 실패: ${tableName}`,