Initial commit AB#12
This commit is contained in:
54
hasura/metadata/actions.graphql
Normal file
54
hasura/metadata/actions.graphql
Normal file
@@ -0,0 +1,54 @@
|
||||
type Query {
|
||||
venueById(
|
||||
id: Int!
|
||||
): VenueByIdResponse
|
||||
}
|
||||
|
||||
type Query {
|
||||
venues(
|
||||
pageNumber: Int
|
||||
pageSize: Int
|
||||
): VenuesPagedResponse
|
||||
}
|
||||
|
||||
input SampleInput {
|
||||
username: String!
|
||||
password: String!
|
||||
}
|
||||
|
||||
type SampleOutput {
|
||||
accessToken: String!
|
||||
}
|
||||
|
||||
type Venue {
|
||||
active: String
|
||||
id: Int
|
||||
link: String
|
||||
name: String
|
||||
}
|
||||
|
||||
type VenuesPagedResponse {
|
||||
currentPage: Int
|
||||
errors: String
|
||||
message: String
|
||||
pageSize: Int
|
||||
results: [Venue]
|
||||
succeeded: Boolean
|
||||
totalItemCount: Int
|
||||
totalPageCount: Int
|
||||
}
|
||||
|
||||
type VenueResponse {
|
||||
errors: String
|
||||
message: String
|
||||
results: Venue
|
||||
succeeded: Boolean
|
||||
}
|
||||
|
||||
type VenueByIdResponse {
|
||||
errors: String
|
||||
message: String
|
||||
results: Venue
|
||||
succeeded: Boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user