Documentation ¶
Overview ¶
Package models contains the various GraphQL data models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BugConnection ¶
type BugConnection struct { Edges []BugEdge `json:"edges"` Nodes []bug.Snapshot `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
The connection type for Bug.
type CommentConnection ¶
type CommentConnection struct { Edges []CommentEdge `json:"edges"` Nodes []bug.Comment `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type CommentEdge ¶
func (CommentEdge) GetCursor ¶
func (e CommentEdge) GetCursor() string
GetCursor return the cursor entry of an edge
type ConnectionInput ¶
type OperationConnection ¶
type OperationConnection struct { Edges []OperationEdge `json:"edges"` Nodes []bug.Operation `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type OperationEdge ¶
func (OperationEdge) GetCursor ¶
func (e OperationEdge) GetCursor() string
GetCursor return the cursor entry of an edge
type PageInfo ¶
type PageInfo struct { HasNextPage bool `json:"hasNextPage"` HasPreviousPage bool `json:"hasPreviousPage"` StartCursor string `json:"startCursor"` EndCursor string `json:"endCursor"` }
Information about pagination in a connection.
type Repository ¶
type Repository struct { Cache *cache.MultiRepoCache Repo *cache.RepoCache }
type RepositoryMutation ¶
type RepositoryMutation struct { Cache *cache.MultiRepoCache Repo *cache.RepoCache }
type TimelineItemConnection ¶
type TimelineItemConnection struct { Edges []TimelineItemEdge `json:"edges"` Nodes []bug.TimelineItem `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type TimelineItemEdge ¶
type TimelineItemEdge struct { Cursor string `json:"cursor"` Node bug.TimelineItem `json:"node"` }
func (TimelineItemEdge) GetCursor ¶
func (e TimelineItemEdge) GetCursor() string
GetCursor return the cursor entry of an edge
Click to show internal directories.
Click to hide internal directories.