Skip to content

teams: clean up memberships

Fabio Maschi requested to merge feat/remove-memberships-relations into main

Continuing the critical optmisations from !566 (merged), this MR tries to remove all relations: { group: { memberships : { ... } } } from BE.

Main endpoint optimised this time: /v1/tickets/:accessID/document

Additionally:

  • Assert judge is active in isJudgeByEventUUID
  • Only update badge.lastEntry for BadgeScanType.ENTRY
  • Restrict BadgeScanDTO from being used for BadgeScanType.MERCH_SHOP and BadgeScanType.SPONSOR

Clean up:

  • Remove obsolete endpoint GET competitions/:competitionUUID/teams/:slug
  • Remove obsolete endpoint GET teams/:teamID/hq
  • Remove obsolete endpoint GET teams/jamboree-attendance
  • Remove obsolete function searchTeamJamboreeAttendance
  • Remove obsolete params CompetitionSlugParams, JamboreeTeamSearchParams
  • Remove obsolete DTOs TeamHqDTO, TeamJamboreeTicketSummaryDTO, TeamJamboreeAttendanceDTO

BE of websites/root!1177 (merged)

Merge request reports

Loading