github.com/oinume/lekcije@v0.0.0-20231017100347-5b4c5eb6ab24/backend/interface/graphql/schema/schema.graphqls (about) 1 type Empty { 2 id: ID! 3 } 4 5 interface Node { 6 id: ID! 7 } 8 9 interface Edge { 10 cursor: String! 11 node: Node! 12 } 13 14 interface Connection { 15 pageInfo: PageInfo! 16 edges: [Edge!]! 17 nodes: [Node!]! 18 } 19 20 type PageInfo { 21 hasNextPage: Boolean! 22 hasPreviousPage: Boolean! 23 } 24 25 type Query { 26 empty: Empty 27 } 28 29 type Mutation { 30 createEmpty: Empty 31 }