Add new migrations and update Adventure interface

This commit is contained in:
Sean Morley
2024-04-22 00:56:43 +00:00
parent a3d4d757a9
commit 921d36aa70
13 changed files with 2326 additions and 54 deletions

View File

@@ -1,41 +1,12 @@
export interface Adventure {
id?: number;
name?: string;
location?: string | undefined;
date?: string | undefined;
description?: string | undefined;
activityTypes?: string[] | undefined;
}
export interface RegionInfo {
id: number;
type: string;
name: string;
abbreviation: string;
description: string;
capital: string;
largest_city: string;
area: {
total: number;
units: string;
};
population: {
estimate: number;
year: number;
};
state_flower: string;
state_bird: string;
state_tree: string;
climate: {
description: string;
summer_highs: string;
winter_lows: string;
precipitation: string;
};
economy: {
industries: string[];
agricultural_products: string[];
};
tourism: {
attractions: string[];
};
major_sports_teams: string[];
location?: string | undefined;
activityTypes?: string[] | undefined;
description?: string | undefined;
rating?: number | undefined;
link?: string | undefined;
imageUrl?: string | undefined;
date?: string | undefined;
}