Skip to content

SubgoalInput

Payload for a sub-goal

Fields

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

Used By

Definition

"""
Payload for a sub-goal
"""
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
}