feat(cdc): addTable route — DynamoDB-first + rollback

This commit is contained in:
Rafael
2026-08-17 17:01:05 -03:00
parent fab2061efc
commit 55308420ff
7 changed files with 240 additions and 5 deletions
+8
View File
@@ -322,4 +322,12 @@ export class InputsService {
async unmarkTableDeleted(data: { input_id: string; table_name: string; info: Info }) {
return lastValueFrom((this.inputWriteService as any).UnmarkTableDeleted(data));
}
async addCdcTable(data: { client_id?: string; id: string; table: any; info: Info }) {
return lastValueFrom(this.inputWriteService.AddCdcTable(data as any));
}
async removeCdcTable(data: { client_id?: string; id: string; table_name: string; info: Info }) {
return lastValueFrom((this.inputWriteService as any).RemoveCdcTable(data));
}
}