mirror of
https://github.com/Unkn0wnCat/calapi.git
synced 2025-06-20 00:21:37 +02:00
Initial commit
This commit is contained in:
commit
15407746e3
37 changed files with 8525 additions and 0 deletions
55
graph/model/models_gen.go
Normal file
55
graph/model/models_gen.go
Normal file
|
@ -0,0 +1,55 @@
|
|||
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
||||
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type EditCalendar struct {
|
||||
Name *string `json:"name"`
|
||||
Description *string `json:"description"`
|
||||
}
|
||||
|
||||
type EditEvent struct {
|
||||
ID string `json:"id"`
|
||||
Title *string `json:"title"`
|
||||
Location *SetLocation `json:"location"`
|
||||
Description *string `json:"description"`
|
||||
Start *time.Time `json:"start"`
|
||||
End *time.Time `json:"end"`
|
||||
Calendar *string `json:"calendar"`
|
||||
}
|
||||
|
||||
type Location struct {
|
||||
Lat *float64 `json:"lat"`
|
||||
Lon *float64 `json:"lon"`
|
||||
Name *string `json:"name"`
|
||||
Address *string `json:"address"`
|
||||
}
|
||||
|
||||
type NewCalendar struct {
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type NewEvent struct {
|
||||
Title string `json:"title"`
|
||||
Location *SetLocation `json:"location"`
|
||||
Description string `json:"description"`
|
||||
Start time.Time `json:"start"`
|
||||
End time.Time `json:"end"`
|
||||
Calendar string `json:"calendar"`
|
||||
}
|
||||
|
||||
type SetLocation struct {
|
||||
Lat *float64 `json:"lat"`
|
||||
Lon *float64 `json:"lon"`
|
||||
Name *string `json:"name"`
|
||||
Address *string `json:"address"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue