Location page displays city groups with all available concert locations
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
export class CityModel {
|
||||
id: Number
|
||||
name: String
|
||||
country: String
|
||||
id: number
|
||||
name: string
|
||||
country: string
|
||||
image: string
|
||||
locations: Array<{
|
||||
id: number
|
||||
name: string
|
||||
address: string
|
||||
image: string
|
||||
}>
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
export class FilterModel {
|
||||
icon: string
|
||||
name: string
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
export class GenreModel {
|
||||
id: Number
|
||||
name: String
|
||||
id: number
|
||||
name: string
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
import { CityModel } from "./cityModel"
|
||||
|
||||
export class LocationModel {
|
||||
id: number
|
||||
name: string
|
||||
address: string
|
||||
city: CityModel
|
||||
image: string
|
||||
city: {
|
||||
id: number
|
||||
name: string
|
||||
country: string
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,6 @@ import { BandModel } from "./bandModel"
|
||||
|
||||
export class MemberModel {
|
||||
id: Number
|
||||
name: String
|
||||
image: String
|
||||
name: string
|
||||
image: string
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
import { LocationModel } from "./locationModel"
|
||||
|
||||
export class ShowModel {
|
||||
id: Number
|
||||
inStock: Number
|
||||
date: String
|
||||
price: Number
|
||||
id: number
|
||||
inStock: number
|
||||
date: string
|
||||
price: number
|
||||
location: LocationModel
|
||||
}
|
||||
Reference in New Issue
Block a user