47 lines
1.2 KiB
Go
47 lines
1.2 KiB
Go
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
type Mutation struct {
|
|
}
|
|
|
|
type NewTodo struct {
|
|
Text string `json:"text"`
|
|
UserID string `json:"userId"`
|
|
}
|
|
|
|
type Query struct {
|
|
}
|
|
|
|
type Staff struct {
|
|
StaffID string `json:"staff_id"`
|
|
Nip string `json:"nip"`
|
|
Name string `json:"name"`
|
|
Email string `json:"email"`
|
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
|
IsActive *string `json:"is_active,omitempty"`
|
|
IsLogin *bool `json:"is_login,omitempty"`
|
|
Token *string `json:"token,omitempty"`
|
|
IDGoogleSignIn string `json:"id_google_sign_in"`
|
|
DisplayNameGoogleSignIn *string `json:"display_name_google_sign_in,omitempty"`
|
|
CreatedAt *string `json:"created_at,omitempty"`
|
|
LastUpdatedAt *string `json:"last_updated_at,omitempty"`
|
|
}
|
|
|
|
type Todo struct {
|
|
ID string `json:"id"`
|
|
Text string `json:"text"`
|
|
Done bool `json:"done"`
|
|
User *User `json:"user"`
|
|
}
|
|
|
|
type TokenResponse struct {
|
|
Token *string `json:"token,omitempty"`
|
|
Message *string `json:"message,omitempty"`
|
|
}
|
|
|
|
type User struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
}
|