fix: harden real backend workflows and channel connections

This commit is contained in:
hectorzhao
2026-07-06 17:54:53 +08:00
parent 8cca361441
commit b5132d7f4e
47 changed files with 2530 additions and 314 deletions
+12 -2
View File
@@ -64,8 +64,13 @@ export class ChannelsController {
}
@Get('channels/:id/link-logs')
listChannelLinkLogs(@Param('id') channelId: string) {
return this.channels.listChannelLinkLogs(channelId);
listLegacyChannelConnectionLogs(@Param('id') channelId: string) {
return this.channels.listChannelConnectionLogs(channelId);
}
@Get('channels/:id/connection-logs')
listChannelConnectionLogs(@Param('id') channelId: string) {
return this.channels.listChannelConnectionLogs(channelId);
}
@Get('channels/:id/connections')
@@ -98,6 +103,11 @@ export class ChannelsController {
return this.channels.updateGroup(groupId, body);
}
@Delete('channel-groups/:id')
deleteGroup(@Param('id') groupId: string) {
return this.channels.deleteGroup(groupId);
}
@Post('channel-groups/items')
addGroupItem(@Body() body: CreateChannelGroupItemDto) {
return this.channels.addGroupItem(body);