@chargetrip/types 1.24.0 → 1.27.0
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/CHANGELOG.md +30 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +37 -2
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +37 -2
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +257 -40
- package/graphql.schema.json +1416 -96
- package/package.json +3 -3
- package/src/graphql.ts +318 -79
|
@@ -2,9 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
/** Information about an address */
|
|
4
4
|
|
|
5
|
+
/** Amenities available near a station */
|
|
6
|
+
export let Amenities;
|
|
5
7
|
/** The amenity model */
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
(function (Amenities) {
|
|
10
|
+
Amenities["PARK"] = "park";
|
|
11
|
+
Amenities["RESTAURANT"] = "restaurant";
|
|
12
|
+
Amenities["MUSEUM"] = "museum";
|
|
13
|
+
Amenities["COFFEE"] = "coffee";
|
|
14
|
+
Amenities["HOTEL"] = "hotel";
|
|
15
|
+
Amenities["SHOPPING"] = "shopping";
|
|
16
|
+
Amenities["BATHROOM"] = "bathroom";
|
|
17
|
+
Amenities["SUPERMARKET"] = "supermarket";
|
|
18
|
+
Amenities["PLAYGROUND"] = "playground";
|
|
19
|
+
Amenities["PHARMACY"] = "pharmacy";
|
|
20
|
+
})(Amenities || (Amenities = {}));
|
|
8
21
|
|
|
9
22
|
/** The type of the batter value */
|
|
10
23
|
export let BatteryInputType;
|
|
@@ -397,12 +410,20 @@ export let CountryCodeAlpha2;
|
|
|
397
410
|
|
|
398
411
|
/** GeoJSON Feature type */
|
|
399
412
|
export let FeatureType;
|
|
400
|
-
/**
|
|
413
|
+
/** Navigation service providers available */
|
|
401
414
|
|
|
402
415
|
(function (FeatureType) {
|
|
403
416
|
FeatureType["FEATURE"] = "Feature";
|
|
404
417
|
})(FeatureType || (FeatureType = {}));
|
|
405
418
|
|
|
419
|
+
export let InstructionsFormat;
|
|
420
|
+
/** Types of a leg */
|
|
421
|
+
|
|
422
|
+
(function (InstructionsFormat) {
|
|
423
|
+
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
424
|
+
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
425
|
+
})(InstructionsFormat || (InstructionsFormat = {}));
|
|
426
|
+
|
|
406
427
|
export let LegType;
|
|
407
428
|
/** Preferred language for the mapping */
|
|
408
429
|
|
|
@@ -424,9 +445,21 @@ export let MappingLanguage;
|
|
|
424
445
|
export let MappingProvider;
|
|
425
446
|
|
|
426
447
|
(function (MappingProvider) {
|
|
448
|
+
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
427
449
|
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
428
450
|
})(MappingProvider || (MappingProvider = {}));
|
|
429
451
|
|
|
452
|
+
/** State of navigation session */
|
|
453
|
+
export let NavigationState;
|
|
454
|
+
/** Navigation session station type */
|
|
455
|
+
|
|
456
|
+
(function (NavigationState) {
|
|
457
|
+
NavigationState["DRIVING"] = "driving";
|
|
458
|
+
NavigationState["CHARGING"] = "charging";
|
|
459
|
+
NavigationState["FINISHED"] = "finished";
|
|
460
|
+
NavigationState["ERROR"] = "error";
|
|
461
|
+
})(NavigationState || (NavigationState = {}));
|
|
462
|
+
|
|
430
463
|
/** The capabilities of an EVSE. */
|
|
431
464
|
export let OCPICapability;
|
|
432
465
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -749,6 +782,7 @@ export let RouteTagType;
|
|
|
749
782
|
RouteTagType["HIGHWAY"] = "highway";
|
|
750
783
|
RouteTagType["TOLL"] = "toll";
|
|
751
784
|
RouteTagType["FERRY"] = "ferry";
|
|
785
|
+
RouteTagType["WALKING"] = "walking";
|
|
752
786
|
})(RouteTagType || (RouteTagType = {}));
|
|
753
787
|
|
|
754
788
|
/** The station speed type */
|
|
@@ -769,5 +803,6 @@ export let StepType;
|
|
|
769
803
|
StepType["HIGHWAY"] = "highway";
|
|
770
804
|
StepType["TOLL"] = "toll";
|
|
771
805
|
StepType["FERRY"] = "ferry";
|
|
806
|
+
StepType["WALKING"] = "walking";
|
|
772
807
|
})(StepType || (StepType = {}));
|
|
773
808
|
//# sourceMappingURL=graphql.js.map
|