package scout

import "apps/backend/internal/response"

func validateRunPage(page, pageSize int) error {
	if page < 0 || pageSize < 0 || pageSize > 100 {
		return response.Biz(400, 400020, "invalid page or pageSize")
	}
	return nil
}

func validateRunID(id string) error {
	if id == "" {
		return response.Biz(400, 400021, "run id is required")
	}
	return nil
}
