-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
87 lines (85 loc) · 2.47 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
export type StationType = {
latitude: number | null;
longitude: number | null;
station_counts: number | null;
location_country?: string | null;
station_locator_url?: string | null;
fuel_stations: [
{
station_name: string | null;
street_address: string | null;
intersection_directions: string | null;
city: string | null;
state: string | null;
zip: string | null;
country: string | null;
station_phone: string | null;
status_code: string | null;
expected_date: Date | null;
access_code: string | null;
access_detail_code: string | null;
access_days_time: string | null;
cards_accepted: string | null;
owner_type_code: string | null;
ev_level1_evse_num: number | null;
ev_level2_evse_num: number | null;
ev_dc_fast_num: number | null;
ev_other_evse: string | null;
ev_connector_types: Array<string> | null;
ev_network: string | null;
ev_network_web: string | null;
ev_pricing: string | null;
ev_renewable_source: string | null;
open_date: Date | null;
id: number | null;
facility_type: string | null;
maximum_vehicle_class: string | null;
distance: number | null;
latitude: number | null;
longitude: number | null;
date_last_confirmed: Date | null;
}
]
}
export type PlaceType = {
geometry?: {
location?: {
lat: () => number;
lng: () => number;
}
}
}
export type FuelStationType = {
station_name: string | null;
street_address: string | null;
intersection_directions: string | null;
city: string | null;
state: string | null;
zip: string | null;
country: string | null;
station_phone: string | null;
status_code: string | null;
expected_date: Date | null;
access_code: string | null;
access_detail_code: string | null;
access_days_time: string | null;
cards_accepted: string | null;
owner_type_code: string | null;
ev_level1_evse_num: number | null;
ev_level2_evse_num: number | null;
ev_dc_fast_num: number | null;
ev_other_evse: string | null;
ev_connector_types: Array<string> | null;
ev_network: string | null;
ev_network_web: string | null;
ev_pricing: string | null;
ev_renewable_source: string | null;
open_date: Date | null;
id: number | null;
facility_type: string | null;
maximum_vehicle_class: string | null;
distance: number | null;
latitude: number | null;
longitude: number | null;
date_last_confirmed: Date | null;
}