enum ProductType { diet, plan, recipe } enum BaseState { loading, error, initial, success }