Meal Plan Config

Debug the users' current meal plan configuration

The debugMealPlanVariables query returns information about the user's current meal plan configuration.

Available Fields

Field Name

Type

Description

conditions

Object that returns the information of the meal plan, such us quantity of omega3, fat, protein, etc

format

String

Returns the meal plan format. i.e [BREAKFAST, LUNCH, DINNER]

kcal

Int

Returns the quantity of kilocalories set for th

restrictions

String

Restrictions applied for the current user

Example

The following query gets the default meal plan configuration for the current user:

{
  myProfile {
    debugMealPlanVariables {
      kcal
      conditions {
        procnt
        chocdf
        fat
        maxEnercKcal
        omega3
        procnt
      }
      format
      restrictions
    }
  }
}

Last updated