Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllTrusteeType = []TrusteeType{ TrusteeTypeFather, TrusteeTypeMother, TrusteeTypeOtherRelative, TrusteeTypeBestFriend, TrusteeTypeSchoolFriend, TrusteeTypeCollegeFriend, TrusteeTypeOtherFriend, TrusteeTypeHusband, TrusteeTypeWife, TrusteeTypeGirlfriend, TrusteeTypeBoyfriend, TrusteeTypeFiance, TrusteeTypeAcquaintance, }
Functions ¶
This section is empty.
Types ¶
type Instruction ¶
type InstructionInput ¶
type Trustee ¶
type Trustee struct { ID scalars.UUID `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Relationship TrusteeType `json:"relationship"` Name string `json:"name"` Email string `json:"email"` Phone string `json:"phone"` FacebookLink *string `json:"facebookLink"` TwitterLink *string `json:"twitterLink"` AdditionalInformation *string `json:"additionalInformation"` }
type TrusteeInput ¶
type TrusteeInput struct { Name string `json:"name"` Relationship TrusteeType `json:"relationship"` Email string `json:"email"` Phone string `json:"phone"` FacebookLink *string `json:"facebookLink"` TwitterLink *string `json:"twitterLink"` AdditionalInformation *string `json:"additionalInformation"` }
type TrusteeType ¶
type TrusteeType string
const ( TrusteeTypeFather TrusteeType = "father" TrusteeTypeMother TrusteeType = "mother" TrusteeTypeOtherRelative TrusteeType = "other_relative" TrusteeTypeBestFriend TrusteeType = "best_friend" TrusteeTypeSchoolFriend TrusteeType = "school_friend" TrusteeTypeCollegeFriend TrusteeType = "college_friend" TrusteeTypeOtherFriend TrusteeType = "other_friend" TrusteeTypeHusband TrusteeType = "husband" TrusteeTypeWife TrusteeType = "wife" TrusteeTypeGirlfriend TrusteeType = "girlfriend" TrusteeTypeBoyfriend TrusteeType = "boyfriend" TrusteeTypeFiance TrusteeType = "fiance" TrusteeTypeAcquaintance TrusteeType = "acquaintance" )
func (TrusteeType) IsValid ¶
func (e TrusteeType) IsValid() bool
func (TrusteeType) MarshalGQL ¶
func (e TrusteeType) MarshalGQL(w io.Writer)
func (TrusteeType) String ¶
func (e TrusteeType) String() string
func (*TrusteeType) UnmarshalGQL ¶
func (e *TrusteeType) UnmarshalGQL(v interface{}) error
type UpdateTrustee ¶
type UpdateTrustee struct { ID scalars.UUID `json:"id"` Name *string `json:"name"` Relationship *TrusteeType `json:"relationship"` Email *string `json:"email"` Phone *string `json:"phone"` FacebookLink *string `json:"facebookLink"` TwitterLink *string `json:"twitterLink"` AdditionalInformation *string `json:"additionalInformation"` }
type Will ¶
type Will struct { ID scalars.UUID `json:"id"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Title string `json:"title"` Priority *int `json:"priority"` Instructions []*Instruction `json:"instructions"` Video *File `json:"video"` Audio *File `json:"audio"` Picture *File `json:"picture"` Trustees []*Trustee `json:"trustees"` }
type WillInput ¶
type WillInput struct { Title string `json:"title"` Priority *int `json:"priority"` Instructions []*InstructionInput `json:"instructions"` }
Click to show internal directories.
Click to hide internal directories.