package
Version:
v0.0.0-...-2b2b3c0
Opens a new window with list of versions in this module.
Published: Apr 10, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Game struct {
ID string `json:"id"`
Board Board `json:"board"`
}
type GamesConnection struct {
Edges []*Game `json:"edges"`
PageInfo *PageInfo `json:"pageInfo"`
}
type GamesEdge struct {
Cursor string `json:"cursor"`
Node *Game `json:"node"`
}
type PageInfo struct {
StartCursor string `json:"startCursor"`
EndCursor string `json:"endCursor"`
HasNextPage *bool `json:"hasNextPage"`
}
type Player struct {
ID string `json:"id"`
Name string `json:"name"`
Words []*Word `json:"words"`
}
type PlayersConnection struct {
Edges []*Player `json:"edges"`
PageInfo *PageInfo `json:"pageInfo"`
}
type PlayersEdge struct {
Cursor string `json:"cursor"`
Node *Game `json:"node"`
}
type Word struct {
ID string `json:"id"`
Game *Game `json:"game"`
Path []Point `json:"path"`
Players []*Player `json:"players"`
}
type WordsConnection struct {
Edges []*Word `json:"edges"`
PageInfo *PageInfo `json:"pageInfo"`
}
type WordsEdge struct {
Cursor string `json:"cursor"`
Node *Word `json:"node"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.