chore(release): 0.3.6
[risinglegends.git] / src / shared / map.ts
1 import { TravelWithNames } from "./travel";
2
3 export type City = {
4   id: number;
5   name: string;
6 }
7
8 export type LocationType = 'SERVICES' | 'STORES' | 'EXPLORE';
9
10 export type Location = {
11   id: number;
12   name: string;
13   city_id: number;
14   type: LocationType,
15   display_order: number;
16   event_name: string;
17 }
18
19 export type LocationWithCity  = Location & {
20   city_name: string;
21 }
22
23 export type Path = {
24   starting_city: number;
25   ending_city: number;
26   starting_city_name: string;
27   ending_city_name: string;
28   distance: number;
29 }
30
31 export type TravelDTO = {
32   things: any[],
33   nextAction: number,
34   walkingText: string,
35   closestTown: number;
36   travelPlan: TravelWithNames
37 }
38
39 export const STEP_DELAY = 3000;