INPUT_OBJECT

BulkEntryInput

link GraphQL Schema definition

  • input BulkEntryInput {
  • # One of MetricEntry, FoodEntry, WorkoutEntry, MirrorEntry, SleepEntry, NoteEntry,
  • # WaterIntakeEntry, PoopEntry, SymptomEntry
  • type: String
  • description: String
  • category: String
  • image: Upload
  • user_id: String
  • created_at: String
  • metric_stat: String
  • percieved_hungriness: String
  • ed_prehunger: String
  • ed_posthunger: String
  • emotions: String
  • reflection: String
  • image_string: String
  • # Options are apple_health, google_fit, or fitbit
  • third_party_source: String
  • # Check for duplicates, currently only supported if third_party_source is
  • # apple_health
  • check_duplicates: Boolean
  • # If average of any type, value indicates amount of entries already included in
  • # average
  • entries_in_average: String
  • # Check and either add to pre-existing average heart rate entry or create a new
  • # one
  • add_to_avg_heart_rate: Boolean
  • # Third party external ID associated with this entry
  • external_id: String
  • # Third party associated with the external ID on this entry. Option currently
  • # supported is 'AppleHealth'
  • external_id_type: String
  • subentries: [SubentryInput]
  • }