feat: bootstrap from Fabric monorepo

This commit is contained in:
nav
2026-05-13 07:06:03 +00:00
commit d9c5175233
46 changed files with 7808 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { Body, Controller, Get, Post, Query } from '@nestjs/common';
import { ChannelsService } from './channels.service';
@Controller('channels')
export class ChannelsController {
constructor(private readonly channelsService: ChannelsService) {}
@Get()
list(@Query('guildId') guildId?: string) {
if (!guildId) return [];
return this.channelsService.listByGuild(guildId);
}
@Post()
create(@Body() body: Record<string, unknown>) {
return this.channelsService.create(body);
}
}