feat: Schwarmkontrolle-Protokoll
Neues SwarmControlCheck-Modul: strukturierte Weiselzellenkontrollen pro Volk mit Zahl/Verdeckelungsstatus der Zellen, Schwarmstimmung, ergriffener Maßnahme und optionalem naechsten Kontrolltermin. Frontend: neue Karte auf der Volk-Detailseite, Erfassungsformular unter /swarm-control/new sowie Quick-Add-Eintrag.
This commit is contained in:
1 parent
4609a0f9ec
commit
1a7331b6b2
19 files changed
+1076
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { Controller, Get, Param } from '@nestjs/common';
|
||||
import { ApiBearerAuth, ApiTags } from '@nestjs/swagger';
|
||||
import { SwarmControlService } from './swarm-control.service';
|
||||
|
||||
@ApiTags('swarm-control-checks')
|
||||
@ApiBearerAuth()
|
||||
@Controller('colonies')
|
||||
export class ColonySwarmControlChecksController {
|
||||
constructor(private readonly swarmControlService: SwarmControlService) {}
|
||||
|
||||
@Get(':id/swarm-control-checks')
|
||||
findByColony(@Param('id') id: string) {
|
||||
return this.swarmControlService.findByColony(id);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user