Updating
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
type Query {
|
||||
teamById(
|
||||
id: Int!
|
||||
): TeamByIdResponse
|
||||
}
|
||||
|
||||
type Query {
|
||||
teams(
|
||||
pageNumber: Int
|
||||
pageSize: Int
|
||||
): TeamsPagedResponse
|
||||
}
|
||||
|
||||
type Query {
|
||||
venueById(
|
||||
id: Int!
|
||||
@@ -52,3 +65,45 @@ type VenueByIdResponse {
|
||||
succeeded: Boolean
|
||||
}
|
||||
|
||||
type TeamsPagedResponse {
|
||||
currentPage: Int
|
||||
errors: String
|
||||
message: String
|
||||
pageSize: Int
|
||||
results: [Team]
|
||||
succeeded: Boolean
|
||||
totalItemCount: Int
|
||||
totalPageCount: Int
|
||||
}
|
||||
|
||||
type Team {
|
||||
id: String
|
||||
name: String
|
||||
abbreviation: String
|
||||
active: String
|
||||
allStarStatus: String
|
||||
clubName: String
|
||||
divisionId: Int
|
||||
fileCode: String
|
||||
firstYearOfPlay: Int
|
||||
franchiseName: String
|
||||
leagueId: Int
|
||||
link: String
|
||||
locationName: String
|
||||
season: String
|
||||
shortName: String
|
||||
springLeagueId: Int
|
||||
springVenueId: Int
|
||||
sportId: Int
|
||||
teamCode: String
|
||||
teamName: String
|
||||
venueId: Int
|
||||
}
|
||||
|
||||
type TeamByIdResponse {
|
||||
errors: String
|
||||
message: String
|
||||
results: Team
|
||||
succeeded: Boolean
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user