diff --git a/internal/dto/user.go b/internal/dto/user.go index a786a26..3d25350 100644 --- a/internal/dto/user.go +++ b/internal/dto/user.go @@ -75,6 +75,13 @@ func ToSanitizedUserDTOs(users []database.User) []SanitizedUserDTO { return dtos } +type SanitizedUserListDTO struct { + Users []SanitizedUserDTO `json:"users"` + Count int `json:"count"` + Limit int `json:"limit"` + Offset int `json:"offset"` +} + type RegistrationResponseDTO struct { User UserDTO `json:"user"` VerificationSent bool `json:"verification_sent"`