package ports import ( "galaxy/user/internal/domain/account" "galaxy/user/internal/domain/common" ) // RaceNamePolicy produces the canonical uniqueness key used to reserve one // replaceable race-name slot. type RaceNamePolicy interface { // CanonicalKey returns the stable reservation key for raceName. Callers are // expected to pass a validated raceName value. CanonicalKey(raceName common.RaceName) (account.RaceNameCanonicalKey, error) }