@opentripplanner/core-utils 11.4.2 → 11.4.3-mobility-profile
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/lib/__tests__/__mocks__/bike-rental-itinerary.json +863 -0
- package/lib/__tests__/__mocks__/config.json +54 -0
- package/lib/__tests__/__mocks__/fare-products-itinerary.json +1299 -0
- package/lib/__tests__/__mocks__/routes.json +107 -0
- package/lib/__tests__/__mocks__/tnc-itinerary.json +1726 -0
- package/lib/bike-rental-itinerary.json +863 -0
- package/lib/config.json +54 -0
- package/lib/core-utils.story.d.ts +0 -1
- package/lib/core-utils.story.d.ts.map +1 -1
- package/lib/fare-products-itinerary.json +1299 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -1
- package/lib/otpSchema.json +13383 -0
- package/lib/planQuery.graphql +283 -0
- package/lib/query-gen.d.ts +2 -1
- package/lib/query-gen.d.ts.map +1 -1
- package/lib/query-gen.js +5 -3
- package/lib/query-gen.js.map +1 -1
- package/lib/routes.json +107 -0
- package/lib/suspense.d.ts +8 -0
- package/lib/suspense.d.ts.map +1 -0
- package/lib/suspense.js +26 -0
- package/lib/suspense.js.map +1 -0
- package/lib/tnc-itinerary.json +1726 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/otpSchema.json +10 -0
- package/src/planQuery.graphql +2 -0
- package/src/query-gen.ts +5 -2
- package/src/suspense.tsx +19 -0
- package/tsconfig.json +1 -2
- package/esm/graphql.d.js +0 -2
- package/esm/graphql.d.js.map +0 -1
- package/esm/index.js +0 -24
- package/esm/index.js.map +0 -1
- package/esm/itinerary.js +0 -688
- package/esm/itinerary.js.map +0 -1
- package/esm/map.js +0 -53
- package/esm/map.js.map +0 -1
- package/esm/profile.js +0 -172
- package/esm/profile.js.map +0 -1
- package/esm/query-gen.js +0 -233
- package/esm/query-gen.js.map +0 -1
- package/esm/query-params.js +0 -786
- package/esm/query-params.js.map +0 -1
- package/esm/query.js +0 -538
- package/esm/query.js.map +0 -1
- package/esm/route.js +0 -460
- package/esm/route.js.map +0 -1
- package/esm/storage.js +0 -46
- package/esm/storage.js.map +0 -1
- package/esm/time.js +0 -94
- package/esm/time.js.map +0 -1
- package/esm/ui.js +0 -48
- package/esm/ui.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
package/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as storage from "./storage";
|
|
|
5
5
|
import * as time from "./time";
|
|
6
6
|
import * as ui from "./ui";
|
|
7
7
|
import * as queryGen from "./query-gen";
|
|
8
|
+
import SafeSuspense from "./suspense";
|
|
8
9
|
declare const core: {
|
|
9
10
|
itinerary: typeof itinerary;
|
|
10
11
|
map: typeof map;
|
|
@@ -17,5 +18,6 @@ declare const core: {
|
|
|
17
18
|
time: typeof time;
|
|
18
19
|
ui: typeof ui;
|
|
19
20
|
};
|
|
21
|
+
export { SafeSuspense };
|
|
20
22
|
export default core;
|
|
21
23
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAI7B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAI7B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAC;AACxC,OAAO,YAAY,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI;;;;;;;;;;;CAWT,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,eAAe,IAAI,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
8
|
+
Object.defineProperty(exports, "SafeSuspense", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () {
|
|
11
|
+
return _suspense.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
6
14
|
exports.default = void 0;
|
|
7
15
|
|
|
8
16
|
var itinerary = _interopRequireWildcard(require("./itinerary"));
|
|
@@ -25,6 +33,8 @@ var ui = _interopRequireWildcard(require("./ui"));
|
|
|
25
33
|
|
|
26
34
|
var queryGen = _interopRequireWildcard(require("./query-gen"));
|
|
27
35
|
|
|
36
|
+
var _suspense = _interopRequireDefault(require("./suspense"));
|
|
37
|
+
|
|
28
38
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
29
39
|
|
|
30
40
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["core","itinerary","map","profile","query","queryGen","queryParams","route","storage","time","ui"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["core","itinerary","map","profile","query","queryGen","queryParams","route","storage","time","ui"],"mappings":";;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,IAAI,GAAG;AACXC,EAAAA,SADW;AAEXC,EAAAA,GAFW;AAGXC,EAAAA,OAHW;AAIXC,EAAAA,KAJW;AAKXC,EAAAA,QALW;AAMXC,EAAAA,WANW;AAOXC,EAAAA,KAPW;AAQXC,EAAAA,OARW;AASXC,EAAAA,IATW;AAUXC,EAAAA;AAVW,CAAb;eAceV,I","sourcesContent":["import * as itinerary from \"./itinerary\";\nimport * as map from \"./map\";\nimport * as profile from \"./profile\";\nimport * as query from \"./query\";\nimport * as queryParams from \"./query-params\";\nimport * as route from \"./route\";\nimport * as storage from \"./storage\";\nimport * as time from \"./time\";\nimport * as ui from \"./ui\";\nimport * as queryGen from \"./query-gen\";\nimport SafeSuspense from \"./suspense\";\n\nconst core = {\n itinerary,\n map,\n profile,\n query,\n queryGen,\n queryParams,\n route,\n storage,\n time,\n ui\n};\n\nexport { SafeSuspense };\nexport default core;\n"],"file":"index.js"}
|