@motis-project/motis-client 2.9.0 → 2.9.1
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.
|
@@ -2088,8 +2088,12 @@ If set to \`true\`, all used transit trips are required to allow car carriage.
|
|
|
2088
2088
|
var ServerConfigSchema = {
|
|
2089
2089
|
Description: "server configuration",
|
|
2090
2090
|
type: "object",
|
|
2091
|
-
required: ["hasElevation", "hasRoutedTransfers", "hasStreetRouting", "maxOneToManySize", "maxOneToAllTravelTimeLimit", "maxPrePostTransitTimeLimit", "maxDirectTimeLimit", "shapesDebugEnabled"],
|
|
2091
|
+
required: ["motisVersion", "hasElevation", "hasRoutedTransfers", "hasStreetRouting", "maxOneToManySize", "maxOneToAllTravelTimeLimit", "maxPrePostTransitTimeLimit", "maxDirectTimeLimit", "shapesDebugEnabled"],
|
|
2092
2092
|
properties: {
|
|
2093
|
+
motisVersion: {
|
|
2094
|
+
description: "the version of this MOTIS server",
|
|
2095
|
+
type: "string"
|
|
2096
|
+
},
|
|
2093
2097
|
hasElevation: {
|
|
2094
2098
|
description: "true if elevation is loaded",
|
|
2095
2099
|
type: "boolean"
|
package/dist/index.js
CHANGED
package/dist/schemas.gen.d.ts
CHANGED
|
@@ -1721,8 +1721,12 @@ declare const OneToManyIntermodalParamsSchema: {
|
|
|
1721
1721
|
declare const ServerConfigSchema: {
|
|
1722
1722
|
readonly Description: "server configuration";
|
|
1723
1723
|
readonly type: "object";
|
|
1724
|
-
readonly required: readonly ["hasElevation", "hasRoutedTransfers", "hasStreetRouting", "maxOneToManySize", "maxOneToAllTravelTimeLimit", "maxPrePostTransitTimeLimit", "maxDirectTimeLimit", "shapesDebugEnabled"];
|
|
1724
|
+
readonly required: readonly ["motisVersion", "hasElevation", "hasRoutedTransfers", "hasStreetRouting", "maxOneToManySize", "maxOneToAllTravelTimeLimit", "maxPrePostTransitTimeLimit", "maxDirectTimeLimit", "shapesDebugEnabled"];
|
|
1725
1725
|
readonly properties: {
|
|
1726
|
+
readonly motisVersion: {
|
|
1727
|
+
readonly description: "the version of this MOTIS server";
|
|
1728
|
+
readonly type: "string";
|
|
1729
|
+
};
|
|
1726
1730
|
readonly hasElevation: {
|
|
1727
1731
|
readonly description: "true if elevation is loaded";
|
|
1728
1732
|
readonly type: "boolean";
|
package/dist/schemas.gen.js
CHANGED
package/dist/types.gen.d.ts
CHANGED
|
@@ -1663,6 +1663,10 @@ type OneToManyIntermodalParams = {
|
|
|
1663
1663
|
requireCarTransport?: boolean;
|
|
1664
1664
|
};
|
|
1665
1665
|
type ServerConfig = {
|
|
1666
|
+
/**
|
|
1667
|
+
* the version of this MOTIS server
|
|
1668
|
+
*/
|
|
1669
|
+
motisVersion: string;
|
|
1666
1670
|
/**
|
|
1667
1671
|
* true if elevation is loaded
|
|
1668
1672
|
*/
|
|
@@ -3065,7 +3069,7 @@ type TripsData = {
|
|
|
3065
3069
|
*/
|
|
3066
3070
|
min: string;
|
|
3067
3071
|
/**
|
|
3068
|
-
* precision of returned polylines. Recommended to set based on zoom: `zoom >=
|
|
3072
|
+
* precision of returned polylines. Recommended to set based on zoom: `zoom >= 11 ? 5 : zoom >= 8 ? 4 : zoom >= 5 ? 3 : 2`
|
|
3069
3073
|
*/
|
|
3070
3074
|
precision?: number;
|
|
3071
3075
|
/**
|