import FoundationEssentials public enum SearchParameter: Sendable, Hashable { case query(String) case tag(tag: SearchTagType, value: String) case page(Int) case pageSize(Int) case sort(SearchSort) } public enum SearchTagType: String, Sendable { case brands case categories case packaging case labels case origins case manufacturingPlaces = "manufacturing_places" case countries case additives case allergens case traces case states } public enum SearchSort: String, Sendable { case popularity case productName = "product_name" case created case edited }