mutations

package
v0.0.0-...-bcbc1e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCommission

func CreateCommission(orm *orm.ORM, i *model.NewCommission, patronID uuid.UUID) (*models.Commission, error)

CreateCommission creates a commission with the supplied input

func CreateUser

func CreateUser(orm *orm.ORM, user *models.User) (*models.User, error)

CreateUser creates a User record

func SaveMiniConfig

func SaveMiniConfig(orm *orm.ORM, i *models.MiniConfig) (*models.MiniConfig, error)

SaveMiniConfig creates or updates a MiniConfig record

func UpdateProfile

func UpdateProfile(orm *orm.ORM, user *models.User, input *model.ProfileInput) error

UpdateProfile changes the given user's ForHire and Name value to the input specified

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL