26 lines
328 B
GraphQL
26 lines
328 B
GraphQL
|
type PostsConnection {
|
||
|
edges: [PostsEdge!]!
|
||
|
pageInfo: PageInfo!
|
||
|
}
|
||
|
|
||
|
type CommentsConnection {
|
||
|
edges: [CommentsEdge!]!
|
||
|
pageInfo: PageInfo!
|
||
|
}
|
||
|
|
||
|
type PostsEdge {
|
||
|
cursor: ID!
|
||
|
node: Post!
|
||
|
}
|
||
|
|
||
|
type CommentsEdge {
|
||
|
cursor: ID!
|
||
|
node: Comment!
|
||
|
}
|
||
|
|
||
|
type PageInfo {
|
||
|
startCursor: ID!
|
||
|
endCursor: ID!
|
||
|
hasNextPage: Boolean!
|
||
|
}
|