INPUT_OBJECT

SubgoalInput

Payload for a sub-goal

link GraphQL Schema definition

  • input SubgoalInput {
  • # Whether or not this sub-goal should be deleted
  • _destroy: Boolean
  • # The ID of the user who created it
  • created_user_id: String
  • # The description of the sub-goal
  • description: String
  • # The date the sub-goal should end - format should be: yyyy-mm-dd
  • due_date: String
  • # The ID of the sub-goal. If no id is given, a sub-goal will be created
  • id: ID
  • # The graphql_name of the sub-goal
  • name: String
  • # The ID of the parent goal
  • parent_id: String
  • # The frequency of this goal. Possible values are: 'Daily','Weekly', 'Once'
  • repeat: String
  • # The ID of the sub-goal's template used to create this sub-goal
  • source_template_id: String
  • # The sub-goal title hyperlink. Opens when the sub-goal graphql_name is clicked
  • # on.
  • title_link: String
  • # The ID of the user who created this sub-goal. If no user_id is given, the
  • # current user will be used
  • user_id: String
  • }