YetAnotherToDoList/graph/model/models_gen.go

31 lines
639 B
Go
Raw Normal View History

2023-08-19 23:47:36 +02:00
// 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"`
}
2023-08-19 23:47:36 +02:00
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"`
2023-08-19 23:47:36 +02:00
}