@autologix-engineering/shared 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autologix-engineering/shared",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,119 +1,14 @@
1
- /**
2
- * Table 1: Types supported in place search and addition
3
- *
4
- * You can use the following values in the types filter for place searches and when adding a place.
5
- *
6
- * @see https://developers.google.com/places/web-service/supported_types#table1
7
- */
8
- export declare enum PlaceType1 {
9
- accounting = "accounting",
10
- /** indicates an airport. */
11
- airport = "airport",
12
- amusement_park = "amusement_park",
13
- aquarium = "aquarium",
14
- art_gallery = "art_gallery",
15
- atm = "atm",
16
- bakery = "bakery",
17
- bank = "bank",
18
- bar = "bar",
19
- beauty_salon = "beauty_salon",
20
- bicycle_store = "bicycle_store",
21
- book_store = "book_store",
22
- bowling_alley = "bowling_alley",
23
- bus_station = "bus_station",
24
- cafe = "cafe",
25
- campground = "campground",
26
- car_dealer = "car_dealer",
27
- car_rental = "car_rental",
28
- car_repair = "car_repair",
29
- car_wash = "car_wash",
30
- casino = "casino",
31
- cemetery = "cemetery",
32
- church = "church",
33
- city_hall = "city_hall",
34
- clothing_store = "clothing_store",
35
- convenience_store = "convenience_store",
36
- courthouse = "courthouse",
37
- dentist = "dentist",
38
- department_store = "department_store",
39
- doctor = "doctor",
40
- drugstore = "drugstore",
41
- electrician = "electrician",
42
- electronics_store = "electronics_store",
43
- embassy = "embassy",
44
- fire_station = "fire_station",
45
- florist = "florist",
46
- funeral_home = "funeral_home",
47
- furniture_store = "furniture_store",
48
- gas_station = "gas_station",
49
- gym = "gym",
50
- hair_care = "hair_care",
51
- hardware_store = "hardware_store",
52
- hindu_temple = "hindu_temple",
53
- home_goods_store = "home_goods_store",
54
- hospital = "hospital",
55
- insurance_agency = "insurance_agency",
56
- jewelry_store = "jewelry_store",
57
- laundry = "laundry",
58
- lawyer = "lawyer",
59
- library = "library",
60
- light_rail_station = "light_rail_station",
61
- liquor_store = "liquor_store",
62
- local_government_office = "local_government_office",
63
- locksmith = "locksmith",
64
- lodging = "lodging",
65
- meal_delivery = "meal_delivery",
66
- meal_takeaway = "meal_takeaway",
67
- mosque = "mosque",
68
- movie_rental = "movie_rental",
69
- movie_theater = "movie_theater",
70
- moving_company = "moving_company",
71
- museum = "museum",
72
- night_club = "night_club",
73
- painter = "painter",
74
- /** indicates a named park. */
75
- park = "park",
76
- parking = "parking",
77
- pet_store = "pet_store",
78
- pharmacy = "pharmacy",
79
- physiotherapist = "physiotherapist",
80
- plumber = "plumber",
81
- police = "police",
82
- post_office = "post_office",
83
- real_estate_agency = "real_estate_agency",
84
- restaurant = "restaurant",
85
- roofing_contractor = "roofing_contractor",
86
- rv_park = "rv_park",
87
- school = "school",
88
- secondary_school = "secondary_school",
89
- shoe_store = "shoe_store",
90
- shopping_mall = "shopping_mall",
91
- spa = "spa",
92
- stadium = "stadium",
93
- storage = "storage",
94
- store = "store",
95
- subway_station = "subway_station",
96
- supermarket = "supermarket",
97
- synagogue = "synagogue",
98
- taxi_stand = "taxi_stand",
99
- tourist_attraction = "tourist_attraction",
100
- train_station = "train_station",
101
- transit_station = "transit_station",
102
- travel_agency = "travel_agency",
103
- university = "university",
104
- veterinary_care = "veterinary_care",
105
- zoo = "zoo"
106
- }
107
- /**
108
- * Table 2: Additional types returned by the Places service
109
- *
110
- * The following types may be returned in the results of a place search, in addition to the types in table 1 above.
111
- * For more details on these types, refer to [Address Types](https://developers.google.com/maps/documentation/geocoding/intro#Types)
112
- * in Geocoding Responses.
113
- *
114
- * @see https://developers.google.com/places/web-service/supported_types#table2
115
- */
116
- export declare enum PlaceType2 {
1
+ export declare enum AddressType {
2
+ /** indicates a precise street address. */
3
+ street_address = "street_address",
4
+ /** indicates a named route (such as "US 101"). */
5
+ route = "route",
6
+ /** indicates a major intersection, usually of two major roads. */
7
+ intersection = "intersection",
8
+ /** indicates a political entity. Usually, this type indicates a polygon of some civil administration. */
9
+ political = "political",
10
+ /** indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
11
+ country = "country",
117
12
  /**
118
13
  * indicates a first-order civil entity below the country level. Within the United States, these administrative levels are states.
119
14
  * Not all nations exhibit these administrative levels. In most cases, `administrative_area_level_1` short names will closely match
@@ -141,46 +36,15 @@ export declare enum PlaceType2 {
141
36
  * Not all nations exhibit these administrative levels.
142
37
  */
143
38
  administrative_area_level_5 = "administrative_area_level_5",
144
- archipelago = "archipelago",
145
39
  /** indicates a commonly-used alternative name for the entity. */
146
40
  colloquial_area = "colloquial_area",
147
- continent = "continent",
148
- /** indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
149
- country = "country",
150
- establishment = "establishment",
151
- finance = "finance",
152
- floor = "floor",
153
- food = "food",
154
- general_contractor = "general_contractor",
155
- geocode = "geocode",
156
- health = "health",
157
- /** indicates a major intersection, usually of two major roads. */
158
- intersection = "intersection",
159
- landmark = "landmark",
160
41
  /** indicates an incorporated city or town political entity. */
161
42
  locality = "locality",
162
- /** indicates a prominent natural feature. */
163
- natural_feature = "natural_feature",
164
- /** indicates a named neighborhood */
165
- neighborhood = "neighborhood",
166
- place_of_worship = "place_of_worship",
167
- plus_code = "plus_code",
168
- point_of_interest = "point_of_interest",
169
- /** indicates a political entity. Usually, this type indicates a polygon of some civil administration. */
170
- political = "political",
171
- post_box = "post_box",
172
- /** indicates a postal code as used to address postal mail within the country. */
173
- postal_code = "postal_code",
174
- postal_code_prefix = "postal_code_prefix",
175
- postal_code_suffix = "postal_code_suffix",
176
- postal_town = "postal_town",
177
- /** indicates a named location, usually a building or collection of buildings with a common name */
178
- premise = "premise",
179
- room = "room",
180
- /** indicates a named route (such as "US 101"). */
181
- route = "route",
182
- street_address = "street_address",
183
- street_number = "street_number",
43
+ /**
44
+ * indicates a specific type of Japanese locality, to facilitate distinction between multiple locality components within a
45
+ * Japanese address.
46
+ */
47
+ ward = "ward",
184
48
  /**
185
49
  * indicates a first-order civil entity below a locality. For some locations may receive one of the additional types:
186
50
  * `sublocality_level_1` to `sublocality_level_5`. Each sublocality level is a civil entity. Larger numbers indicate a smaller
@@ -192,12 +56,27 @@ export declare enum PlaceType2 {
192
56
  sublocality_level_3 = "sublocality_level_3",
193
57
  sublocality_level_4 = "sublocality_level_4",
194
58
  sublocality_level_5 = "sublocality_level_5",
59
+ /** indicates a named neighborhood */
60
+ neighborhood = "neighborhood",
61
+ /** indicates a named location, usually a building or collection of buildings with a common name */
62
+ premise = "premise",
195
63
  /**
196
64
  * indicates a first-order entity below a named location, usually a singular building within a collection of buildings with a
197
65
  * common name.
198
66
  */
199
67
  subpremise = "subpremise",
200
- town_square = "town_square"
68
+ /** indicates a postal code as used to address postal mail within the country. */
69
+ postal_code = "postal_code",
70
+ /** indicates a prominent natural feature. */
71
+ natural_feature = "natural_feature",
72
+ /** indicates an airport. */
73
+ airport = "airport",
74
+ /** indicates a named park. */
75
+ park = "park",
76
+ /**
77
+ * indicates a named point of interest. Typically, these "POI"s are prominent local entities that don't easily fit in another category,
78
+ * such as "Empire State Building" or "Statue of Liberty".
79
+ */
80
+ point_of_interest = "point_of_interest",
81
+ establishment = "establishment"
201
82
  }
202
- export declare const AddressType: typeof PlaceType1 & typeof PlaceType2;
203
- export type AddressType = PlaceType1 | PlaceType2;
@@ -1,2 +1,85 @@
1
- export {};
1
+ /* eslint-disable @typescript-eslint/camelcase */
2
+ export var AddressType;
3
+ (function (AddressType) {
4
+ /** indicates a precise street address. */
5
+ AddressType["street_address"] = "street_address";
6
+ /** indicates a named route (such as "US 101"). */
7
+ AddressType["route"] = "route";
8
+ /** indicates a major intersection, usually of two major roads. */
9
+ AddressType["intersection"] = "intersection";
10
+ /** indicates a political entity. Usually, this type indicates a polygon of some civil administration. */
11
+ AddressType["political"] = "political";
12
+ /** indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
13
+ AddressType["country"] = "country";
14
+ /**
15
+ * indicates a first-order civil entity below the country level. Within the United States, these administrative levels are states.
16
+ * Not all nations exhibit these administrative levels. In most cases, `administrative_area_level_1` short names will closely match
17
+ * ISO 3166-2 subdivisions and other widely circulated lists; however this is not guaranteed as our geocoding results are based
18
+ * on a variety of signals and location data.
19
+ */
20
+ AddressType["administrative_area_level_1"] = "administrative_area_level_1";
21
+ /**
22
+ * indicates a second-order civil entity below the country level. Within the United States, these administrative levels are counties.
23
+ * Not all nations exhibit these administrative levels.
24
+ */
25
+ AddressType["administrative_area_level_2"] = "administrative_area_level_2";
26
+ /**
27
+ * indicates a third-order civil entity below the country level. This type indicates a minor civil division.
28
+ * Not all nations exhibit these administrative levels.
29
+ */
30
+ AddressType["administrative_area_level_3"] = "administrative_area_level_3";
31
+ /**
32
+ * indicates a fourth-order civil entity below the country level. This type indicates a minor civil division.
33
+ * Not all nations exhibit these administrative levels.
34
+ */
35
+ AddressType["administrative_area_level_4"] = "administrative_area_level_4";
36
+ /**
37
+ * indicates a fifth-order civil entity below the country level. This type indicates a minor civil division.
38
+ * Not all nations exhibit these administrative levels.
39
+ */
40
+ AddressType["administrative_area_level_5"] = "administrative_area_level_5";
41
+ /** indicates a commonly-used alternative name for the entity. */
42
+ AddressType["colloquial_area"] = "colloquial_area";
43
+ /** indicates an incorporated city or town political entity. */
44
+ AddressType["locality"] = "locality";
45
+ /**
46
+ * indicates a specific type of Japanese locality, to facilitate distinction between multiple locality components within a
47
+ * Japanese address.
48
+ */
49
+ AddressType["ward"] = "ward";
50
+ /**
51
+ * indicates a first-order civil entity below a locality. For some locations may receive one of the additional types:
52
+ * `sublocality_level_1` to `sublocality_level_5`. Each sublocality level is a civil entity. Larger numbers indicate a smaller
53
+ * geographic area.
54
+ */
55
+ AddressType["sublocality"] = "sublocality";
56
+ AddressType["sublocality_level_1"] = "sublocality_level_1";
57
+ AddressType["sublocality_level_2"] = "sublocality_level_2";
58
+ AddressType["sublocality_level_3"] = "sublocality_level_3";
59
+ AddressType["sublocality_level_4"] = "sublocality_level_4";
60
+ AddressType["sublocality_level_5"] = "sublocality_level_5";
61
+ /** indicates a named neighborhood */
62
+ AddressType["neighborhood"] = "neighborhood";
63
+ /** indicates a named location, usually a building or collection of buildings with a common name */
64
+ AddressType["premise"] = "premise";
65
+ /**
66
+ * indicates a first-order entity below a named location, usually a singular building within a collection of buildings with a
67
+ * common name.
68
+ */
69
+ AddressType["subpremise"] = "subpremise";
70
+ /** indicates a postal code as used to address postal mail within the country. */
71
+ AddressType["postal_code"] = "postal_code";
72
+ /** indicates a prominent natural feature. */
73
+ AddressType["natural_feature"] = "natural_feature";
74
+ /** indicates an airport. */
75
+ AddressType["airport"] = "airport";
76
+ /** indicates a named park. */
77
+ AddressType["park"] = "park";
78
+ /**
79
+ * indicates a named point of interest. Typically, these "POI"s are prominent local entities that don't easily fit in another category,
80
+ * such as "Empire State Building" or "Statue of Liberty".
81
+ */
82
+ AddressType["point_of_interest"] = "point_of_interest";
83
+ AddressType["establishment"] = "establishment";
84
+ })(AddressType || (AddressType = {}));
2
85
  //# sourceMappingURL=address.type.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"address.type.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/definitions/src/location/address.type.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"address.type.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/definitions/src/location/address.type.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,MAAM,CAAN,IAAY,WAiFX;AAjFD,WAAY,WAAW;IACtB,0CAA0C;IAC1C,gDAAiC,CAAA;IACjC,kDAAkD;IAClD,8BAAe,CAAA;IACf,kEAAkE;IAClE,4CAA6B,CAAA;IAC7B,yGAAyG;IACzG,sCAAuB,CAAA;IACvB,iHAAiH;IACjH,kCAAmB,CAAA;IACnB;;;;;OAKG;IACH,0EAA2D,CAAA;IAC3D;;;OAGG;IACH,0EAA2D,CAAA;IAC3D;;;OAGG;IACH,0EAA2D,CAAA;IAC3D;;;OAGG;IACH,0EAA2D,CAAA;IAC3D;;;OAGG;IACH,0EAA2D,CAAA;IAC3D,iEAAiE;IACjE,kDAAmC,CAAA;IACnC,+DAA+D;IAC/D,oCAAqB,CAAA;IACrB;;;OAGG;IACH,4BAAa,CAAA;IACb;;;;OAIG;IACH,0CAA2B,CAAA;IAC3B,0DAA2C,CAAA;IAC3C,0DAA2C,CAAA;IAC3C,0DAA2C,CAAA;IAC3C,0DAA2C,CAAA;IAC3C,0DAA2C,CAAA;IAC3C,qCAAqC;IACrC,4CAA6B,CAAA;IAC7B,mGAAmG;IACnG,kCAAmB,CAAA;IACnB;;;OAGG;IACH,wCAAyB,CAAA;IACzB,iFAAiF;IACjF,0CAA2B,CAAA;IAC3B,6CAA6C;IAC7C,kDAAmC,CAAA;IACnC,4BAA4B;IAC5B,kCAAmB,CAAA;IACnB,8BAA8B;IAC9B,4BAAa,CAAA;IACb;;;OAGG;IACH,sDAAuC,CAAA;IACvC,8CAA+B,CAAA;AAChC,CAAC,EAjFW,WAAW,KAAX,WAAW,QAiFtB"}