feat(backend): Koeniginnen-Modul (Modul 4)
QueensModule: CRUD + assign-colony + history, entsprechend Lastenheft §4.5 (Koeniginnenverwaltung). assign-colony schliesst die offene QueenColonyHistory der bisherigen Koenigin am Zielvolk (falls vorhanden) sowie eine evtl. noch offene History dieser Koenigin an einem anderen Volk, bevor Colony.currentQueenId gesetzt und ein neuer History-Eintrag angelegt wird - damit bleibt jeder Koeniginnenwechsel nachvollziehbar, wie gefordert. Rollen wie bei Apiaries/Colonies: Lesen offen, Schreiben auf ADMIN/BEEKEEPER beschraenkt. 5 Unit-Tests + 2 e2e-Tests, Lint, Typecheck und Build gruen.
This commit is contained in:
1 parent
6e328cdacb
commit
b18d61640d
10 files changed
+486
-1
No files matched your search
@@ -8,6 +8,7 @@ import { UsersModule } from './users/users.module';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
import { ApiariesModule } from './apiaries/apiaries.module';
|
||||
import { ColoniesModule } from './colonies/colonies.module';
|
||||
import { QueensModule } from './queens/queens.module';
|
||||
import { JwtAuthGuard } from './auth/guards/jwt-auth.guard';
|
||||
import { RolesGuard } from './auth/guards/roles.guard';
|
||||
|
||||
@@ -21,6 +22,7 @@ import { RolesGuard } from './auth/guards/roles.guard';
|
||||
AuthModule,
|
||||
ApiariesModule,
|
||||
ColoniesModule,
|
||||
QueensModule,
|
||||
],
|
||||
controllers: [],
|
||||
providers: [
|
||||
|
||||
Reference in new issue
Block a user