import { Controller, Get, Post } from '@nestjs/common'; import { DEMO_CHARACTER_ID } from '../demo/demo-character.constants'; import { HuntResultDto, HuntingService } from './hunting.service'; @Controller('hunts') export class HuntingController { constructor(private readonly huntingService: HuntingService) {} @Post() startHunt(): Promise { return this.huntingService.startHunt(DEMO_CHARACTER_ID); } @Get('active') getActiveHunt(): Promise { return this.huntingService.getActiveHunt(DEMO_CHARACTER_ID); } }