src/app/Place.ts
| category |
category: |
Type : string[]
|
| coverImage |
coverImage: |
Type : string
|
| description |
description: |
Type : string
|
| geometry |
geometry: |
Type : { type: string; coordinates: number[]; }
|
| id |
id: |
Type : number
|
| images |
images: |
Type : [{ caption: string; url: string; }]
|
| isFavourite |
isFavourite: |
Type : boolean
|
| location |
location: |
Type : string
|
| name |
name: |
Type : string
|
| rating |
rating: |
Type : number
|
| shortDescription |
shortDescription: |
Type : string
|
| tags |
tags: |
Type : string[]
|
export interface Place {
id?: number;
name: string;
shortDescription: string;
description: string;
coverImage: string;
images: [
{
caption: string;
url: string;
}
]
category: string[];
location: string;
isFavourite: boolean;
rating: number;
tags: string[];
geometry: {
type: string,
coordinates: number []
}
}