31 lines
639 B
Go
31 lines
639 B
Go
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
type NewTodo struct {
|
|
Text string `json:"text"`
|
|
UserID string `json:"userId"`
|
|
}
|
|
|
|
type NewUser struct {
|
|
UserName string `json:"userName"`
|
|
FullName string `json:"fullName"`
|
|
}
|
|
|
|
type User struct {
|
|
ID string `json:"id"`
|
|
UserName string `json:"userName"`
|
|
FullName string `json:"fullName"`
|
|
Todos []*Todo `json:"todos"`
|
|
}
|
|
|
|
type UpdateTodo struct {
|
|
Text *string `json:"text,omitempty"`
|
|
Done *bool `json:"done,omitempty"`
|
|
}
|
|
|
|
type UpdateUser struct {
|
|
UserName *string `json:"userName,omitempty"`
|
|
FullName *string `json:"fullName,omitempty"`
|
|
}
|