import { PlaceDetailMedia } from '../Media/Media';

export interface PlaceDetail {
	tags: Tag[];
	address: string;
	admission: string;
	description: Description;
	email: string;
	duration: number;
	openingHours: string;
	phone: string;
	media: PlaceDetailMedia;
	references: Reference[];
}

export interface Reference {
	id: number;
	title: string;
	type: string;
	languageId: string;
	url: string;
	offlineFile?: any;
	supplier: string;
	priority: number;
	isPremium: boolean;
	currency: string;
	price?: number;
	flags: any[];
}

export interface Tag {
	key: string;
	name: string;
}

export interface Description {
	text: string;
	provider: string;
	translationProvider?: string;
	url?: string;
}

import { Media } from '../Media/Media';

export interface PlaceDetail {
	tags: Tag[];
	address: string;
	admission: string;
	description: Description;
	email: string;
	duration: number;
	openingHours: string;
	phone: string;
	media: Media;
	references: Reference[];
}

export interface Reference {
	id: number;
	title: string;
	type: string;
	languageId: string;
	url: string;
	offlineFile?: any;
	supplier: string;
	priority: number;
	isPremium: boolean;
	currency: string;
	price?: number;
	flags: any[];
}

export interface Tag {
	key: string;
	name: string;
}

export interface Description {
	text: string;
	provider: string;
	translationProvider?: string;
	url?: string;
}

--- 
+++ 
@@ -1,4 +1,4 @@
-import { Media } from '../Media/Media';
+import { PlaceDetailMedia } from '../Media/Media';
 
 export interface PlaceDetail {
 	tags: Tag[];
@@ -9,7 +9,7 @@
 	duration: number;
 	openingHours: string;
 	phone: string;
-	media: Media;
+	media: PlaceDetailMedia;
 	references: Reference[];
 }
 
Fix data type of media in place detail
