New locationDetailPage displays concert in a location, new datasets, images, URL path changed

This commit is contained in:
2024-09-29 21:42:20 +02:00
parent be5cc090fe
commit d6997229c4
39 changed files with 493 additions and 515 deletions

View File

@@ -1,3 +1,6 @@
/**
* Replica of the API endpoint /cities
*/
export class CityModel {
id: number
name: string
@@ -8,5 +11,6 @@ export class CityModel {
name: string
address: string
image: string
nrOfConcerts: number
}>
}

View File

@@ -1,3 +1,6 @@
/**
* Replica of the API endpoint /locations
*/
export class LocationModel {
id: number
name: string
@@ -7,4 +10,16 @@ export class LocationModel {
name: string
country: string
}
concerts: Array<{
id: number
date: string
price: number
inStock: number
tour: {
name: string
offered: boolean
image: string
bandName: string
}
}>
}