Server heavy refactoring 1 (not functionnal)

This commit is contained in:
Sebastien Riviere
2026-02-28 00:54:26 +01:00
parent d0e237245e
commit 24bce7896c
27 changed files with 980 additions and 83 deletions

View File

@@ -0,0 +1,20 @@
import { TeamMapper } from "./team_mapper.js";
import { DefaultState } from "@/states/default_state.js";
export class DefaultTeamMapper extends TeamMapper {
mapForTeam(team) {
return {
...super.mapForTeam(team),
state: DefaultState.stateName,
context: {}
};
}
mapForAdmin(team) {
return {
...super.mapForAdmin(team),
state: DefaultState.stateName,
context: {}
};
}
}