package domain import "time" // MaxReservedUsernameReasonLength bounds the operator note on a reservation. const MaxReservedUsernameReasonLength = 512 // ReservedUsername is one entry in the operator username blocklist. A reserved // name cannot be taken as an editable username by any peer and cannot be minted // as a collectible. type ReservedUsername struct { Username string // display form (original case at reservation time) Reason string Actor string CreatedAt time.Time } // ReservedUsernameFilter pages the blocklist. Query matches a username prefix // (case-insensitive); an empty query lists everything. type ReservedUsernameFilter struct { Query string Limit int Offset int }