Skip to content

GoalTemplate

a goal template

Fields

description · String · description of template from associated goal
goal_id · String · id of the goal this template was based on
id · String! · required · id of the the relevant goal template
is_healthie_default · Boolean! · required · is_healthie_default of the the relevant goal template
name · String · name of template from associated goal
repeat · String! · required · frequency of template from associated goal
subgoal_templates · [GoalTemplate!] · Subgoal templates for a given template
title_link · String · Title hyperlink. Opens when the title is clicked on.
user · User · user associated with this template
user_id · String · user who owns this goal template

Used By

Definition

"""
a goal template
"""
type GoalTemplate {
"""
description of template from associated goal
"""
description: String
"""
id of the goal this template was based on
"""
goal_id: String
"""
id of the the relevant goal template
"""
id: String!
"""
is_healthie_default of the the relevant goal template
"""
is_healthie_default: Boolean!
"""
name of template from associated goal
"""
name: String
"""
frequency of template from associated goal
"""
repeat: String!
"""
Subgoal templates for a given template
"""
subgoal_templates: [GoalTemplate!]
"""
Title hyperlink. Opens when the title is clicked on.
"""
title_link: String
"""
user associated with this template
"""
user: User
"""
user who owns this goal template
"""
user_id: String
}