Last active
March 19, 2023 16:39
-
-
Save justdomepaul/c2876655568eed9c478399e73fa60591 to your computer and use it in GitHub Desktop.
initial schema graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scalar Int32 | |
scalar Int64 | |
scalar Uint | |
scalar Uint32 | |
scalar Uint64 | |
scalar Time | |
directive @goModel( | |
model: String | |
models: [String!] | |
) on OBJECT | INPUT_OBJECT | SCALAR | ENUM | INTERFACE | UNION | |
directive @goField( | |
forceResolver: Boolean | |
name: String | |
) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION | |
directive @goTag( | |
key: String! | |
value: String | |
) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION | |
type OKResponse { | |
message: String | |
} | |
type UnauthorizedError { | |
message: String | |
} | |
type UnhandledError { | |
message: String | |
} | |
type ValidationError { | |
message: String | |
} | |
""" | |
Information about pagination in a connection | |
""" | |
type PageInfo { | |
""" | |
When paginating forwards, are there more items? | |
""" | |
hasNextPage: Boolean! | |
""" | |
When paginating backwards, are there more items? | |
""" | |
hasPreviousPage: Boolean! | |
""" | |
When paginating backwards, the cursor to continue | |
""" | |
startCursor: String | |
""" | |
When paginating forwards, the cursor to continue | |
""" | |
endCursor: String | |
} | |
type Query { | |
ping: String! | |
} | |
type Mutation { | |
ping: String! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment