@opentripplanner/types 1.1.0 → 1.2.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/lib/index.d.ts +16 -1
- package/lib/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +17 -1
- package/tsconfig.tsbuildinfo +9 -77
package/lib/index.d.ts
CHANGED
|
@@ -161,7 +161,7 @@ declare type ElevationData = {
|
|
|
161
161
|
first: number;
|
|
162
162
|
second: number;
|
|
163
163
|
}[];
|
|
164
|
-
interface Alert {
|
|
164
|
+
export interface Alert {
|
|
165
165
|
alertHeaderText?: string;
|
|
166
166
|
alertDescriptionText?: string;
|
|
167
167
|
alertUrl?: string;
|
|
@@ -189,7 +189,9 @@ export interface Step {
|
|
|
189
189
|
* Describe an origin, destination, or intermediate location in an itinerary.
|
|
190
190
|
*/
|
|
191
191
|
export interface Place {
|
|
192
|
+
address?: string;
|
|
192
193
|
arrival?: number;
|
|
194
|
+
bikeShareId?: string;
|
|
193
195
|
departure?: number;
|
|
194
196
|
lat: number;
|
|
195
197
|
lon: number;
|
|
@@ -231,12 +233,15 @@ interface FlexPickupBookingInfo extends FlexBookingInfo {
|
|
|
231
233
|
* http://otp-docs.ibi-transit.com/api/json_Leg.html
|
|
232
234
|
*/
|
|
233
235
|
export interface Leg {
|
|
236
|
+
accessibilityScore?: number;
|
|
237
|
+
agencyBrandingUrl?: string;
|
|
234
238
|
agencyId?: string;
|
|
235
239
|
agencyName?: string;
|
|
236
240
|
agencyTimeZoneOffset: number;
|
|
237
241
|
agencyUrl?: string;
|
|
238
242
|
alerts?: Alert[];
|
|
239
243
|
arrivalDelay: number;
|
|
244
|
+
averageWait?: number;
|
|
240
245
|
departureDelay: number;
|
|
241
246
|
distance: number;
|
|
242
247
|
dropOffBookingInfo?: FlexDropOffBookingInfo;
|
|
@@ -257,7 +262,10 @@ export interface Leg {
|
|
|
257
262
|
rentedCar: boolean;
|
|
258
263
|
rentedVehicle: boolean;
|
|
259
264
|
route?: string;
|
|
265
|
+
routeColor?: string;
|
|
260
266
|
routeId?: string;
|
|
267
|
+
routeLongName?: string;
|
|
268
|
+
routeShortName?: string;
|
|
261
269
|
routeType?: number;
|
|
262
270
|
serviceDate?: string;
|
|
263
271
|
startTime: number;
|
|
@@ -353,5 +361,12 @@ export interface Location {
|
|
|
353
361
|
export interface StopLayerStop extends LayerEntity {
|
|
354
362
|
name: string;
|
|
355
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* Describes time options, including time format and timezone-related offset.
|
|
366
|
+
*/
|
|
367
|
+
export interface TimeOptions {
|
|
368
|
+
format?: string;
|
|
369
|
+
offset?: string;
|
|
370
|
+
}
|
|
356
371
|
export {};
|
|
357
372
|
//# 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;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GA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B,OAAO,EAAE;QACP,CAAC,IAAI,EAAE,MAAM,GAAG;YACd,MAAM,EAAE,YAAY,CAAC;YACrB,KAAK,EAAE,KAAK,CAAC;YACb,MAAM,EAAE,YAAY,EAAE,CAAC;SACxB,EAAE,CAAC;KACL,CAAC;IACF,IAAI,CAAC,EAAE;QACL,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;KACvB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -181,7 +181,7 @@ type ElevationData = {
|
|
|
181
181
|
second: number;
|
|
182
182
|
}[];
|
|
183
183
|
|
|
184
|
-
interface Alert {
|
|
184
|
+
export interface Alert {
|
|
185
185
|
alertHeaderText?: string;
|
|
186
186
|
alertDescriptionText?: string;
|
|
187
187
|
alertUrl?: string;
|
|
@@ -211,7 +211,9 @@ export interface Step {
|
|
|
211
211
|
* Describe an origin, destination, or intermediate location in an itinerary.
|
|
212
212
|
*/
|
|
213
213
|
export interface Place {
|
|
214
|
+
address?: string;
|
|
214
215
|
arrival?: number;
|
|
216
|
+
bikeShareId?: string;
|
|
215
217
|
departure?: number;
|
|
216
218
|
lat: number;
|
|
217
219
|
lon: number;
|
|
@@ -257,12 +259,15 @@ interface FlexPickupBookingInfo extends FlexBookingInfo {
|
|
|
257
259
|
* http://otp-docs.ibi-transit.com/api/json_Leg.html
|
|
258
260
|
*/
|
|
259
261
|
export interface Leg {
|
|
262
|
+
accessibilityScore?: number;
|
|
263
|
+
agencyBrandingUrl?: string;
|
|
260
264
|
agencyId?: string;
|
|
261
265
|
agencyName?: string;
|
|
262
266
|
agencyTimeZoneOffset: number;
|
|
263
267
|
agencyUrl?: string;
|
|
264
268
|
alerts?: Alert[];
|
|
265
269
|
arrivalDelay: number;
|
|
270
|
+
averageWait?: number;
|
|
266
271
|
departureDelay: number;
|
|
267
272
|
distance: number;
|
|
268
273
|
dropOffBookingInfo?: FlexDropOffBookingInfo;
|
|
@@ -283,7 +288,10 @@ export interface Leg {
|
|
|
283
288
|
rentedCar: boolean;
|
|
284
289
|
rentedVehicle: boolean;
|
|
285
290
|
route?: string;
|
|
291
|
+
routeColor?: string;
|
|
286
292
|
routeId?: string;
|
|
293
|
+
routeLongName?: string;
|
|
294
|
+
routeShortName?: string;
|
|
287
295
|
routeType?: number;
|
|
288
296
|
serviceDate?: string;
|
|
289
297
|
startTime: number;
|
|
@@ -385,3 +393,11 @@ export interface Location {
|
|
|
385
393
|
export interface StopLayerStop extends LayerEntity {
|
|
386
394
|
name: string;
|
|
387
395
|
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Describes time options, including time format and timezone-related offset.
|
|
399
|
+
*/
|
|
400
|
+
export interface TimeOptions {
|
|
401
|
+
format?: string;
|
|
402
|
+
offset?: string;
|
|
403
|
+
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
"affectsGlobalScope": true
|
|
183
183
|
},
|
|
184
184
|
"./src/index.ts": {
|
|
185
|
-
"version": "
|
|
186
|
-
"signature": "
|
|
185
|
+
"version": "ec170c64305dc2c1b18d8d2fa33a2fbf34642bbaf0f3e1c660e0949402d5cd36",
|
|
186
|
+
"signature": "8ca48449e68c83cdea3ef47fae9a693f547b614cdb4acaeed4fa84be29f4bad5",
|
|
187
187
|
"affectsGlobalScope": false
|
|
188
188
|
},
|
|
189
189
|
"../../node_modules/@babel/types/lib/index.d.ts": {
|
|
@@ -216,11 +216,6 @@
|
|
|
216
216
|
"signature": "6f1d39d26959517da3bd105c552eded4c34702705c64d75b03f54d864b6e41c2",
|
|
217
217
|
"affectsGlobalScope": false
|
|
218
218
|
},
|
|
219
|
-
"../../node_modules/@types/braces/index.d.ts": {
|
|
220
|
-
"version": "cfb42d1c8aa66607ef3b1e2cee85d28148358ba62dc5e5146b317dae7bfd9a96",
|
|
221
|
-
"signature": "cfb42d1c8aa66607ef3b1e2cee85d28148358ba62dc5e5146b317dae7bfd9a96",
|
|
222
|
-
"affectsGlobalScope": false
|
|
223
|
-
},
|
|
224
219
|
"../../node_modules/@types/color-name/index.d.ts": {
|
|
225
220
|
"version": "f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e",
|
|
226
221
|
"signature": "f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e",
|
|
@@ -451,21 +446,6 @@
|
|
|
451
446
|
"signature": "9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5",
|
|
452
447
|
"affectsGlobalScope": false
|
|
453
448
|
},
|
|
454
|
-
"../../node_modules/querystring/decode.d.ts": {
|
|
455
|
-
"version": "ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa",
|
|
456
|
-
"signature": "ad7e61eca7f2f8bf47e72695f9f6663b75e41d87ef49abdb17c0cb843862f8aa",
|
|
457
|
-
"affectsGlobalScope": false
|
|
458
|
-
},
|
|
459
|
-
"../../node_modules/querystring/encode.d.ts": {
|
|
460
|
-
"version": "ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26",
|
|
461
|
-
"signature": "ecba2e44af95b0599c269a92628cec22e752868bce37396740deb51a5c547a26",
|
|
462
|
-
"affectsGlobalScope": false
|
|
463
|
-
},
|
|
464
|
-
"../../node_modules/querystring/index.d.ts": {
|
|
465
|
-
"version": "46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f",
|
|
466
|
-
"signature": "46a9fb41a8f3bc7539eeebc15a6e04b9e55d7537a081615ad3614220d34c3e0f",
|
|
467
|
-
"affectsGlobalScope": false
|
|
468
|
-
},
|
|
469
449
|
"../../node_modules/@types/node/url.d.ts": {
|
|
470
450
|
"version": "dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9",
|
|
471
451
|
"signature": "dcc6910d95a3625fd2b0487fda055988e46ab46c357a1b3618c27b4a8dd739c9",
|
|
@@ -541,11 +521,6 @@
|
|
|
541
521
|
"signature": "393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0",
|
|
542
522
|
"affectsGlobalScope": false
|
|
543
523
|
},
|
|
544
|
-
"../../node_modules/@types/glob-base/index.d.ts": {
|
|
545
|
-
"version": "d1ae472dde31ac39e68d52e1e21dcccba3989d146b7b8472f03525d0caad1775",
|
|
546
|
-
"signature": "d1ae472dde31ac39e68d52e1e21dcccba3989d146b7b8472f03525d0caad1775",
|
|
547
|
-
"affectsGlobalScope": false
|
|
548
|
-
},
|
|
549
524
|
"../../node_modules/@types/graceful-fs/index.d.ts": {
|
|
550
525
|
"version": "3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba",
|
|
551
526
|
"signature": "3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba",
|
|
@@ -1106,21 +1081,11 @@
|
|
|
1106
1081
|
"signature": "96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538",
|
|
1107
1082
|
"affectsGlobalScope": false
|
|
1108
1083
|
},
|
|
1109
|
-
"../../node_modules/@types/markdown-to-jsx/index.d.ts": {
|
|
1110
|
-
"version": "9c138947e4cf970491111d971aa615db8353c7f0efc72bd84d8ad6e4743079c5",
|
|
1111
|
-
"signature": "9c138947e4cf970491111d971aa615db8353c7f0efc72bd84d8ad6e4743079c5",
|
|
1112
|
-
"affectsGlobalScope": false
|
|
1113
|
-
},
|
|
1114
1084
|
"../../node_modules/@types/mdast/index.d.ts": {
|
|
1115
1085
|
"version": "9a6d65d77455efaaaeff945bea30c38b8fe0922b807ba45cd23792392f1bfe76",
|
|
1116
1086
|
"signature": "9a6d65d77455efaaaeff945bea30c38b8fe0922b807ba45cd23792392f1bfe76",
|
|
1117
1087
|
"affectsGlobalScope": false
|
|
1118
1088
|
},
|
|
1119
|
-
"../../node_modules/@types/micromatch/index.d.ts": {
|
|
1120
|
-
"version": "9c36d6df17ca69a65a2a654d9bbd86d74c6d6055e566429cd0a1de82827680eb",
|
|
1121
|
-
"signature": "9c36d6df17ca69a65a2a654d9bbd86d74c6d6055e566429cd0a1de82827680eb",
|
|
1122
|
-
"affectsGlobalScope": false
|
|
1123
|
-
},
|
|
1124
1089
|
"../../node_modules/@types/minimist/index.d.ts": {
|
|
1125
1090
|
"version": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88",
|
|
1126
1091
|
"signature": "e437d83044ba17246a861aa9691aa14223ff4a9d6f338ab1269c41c758586a88",
|
|
@@ -1181,11 +1146,6 @@
|
|
|
1181
1146
|
"signature": "98437d5a640b67c41534f0de2dcb64c75433dcdff54ff8f8432e613663619a2e",
|
|
1182
1147
|
"affectsGlobalScope": false
|
|
1183
1148
|
},
|
|
1184
|
-
"../../node_modules/@types/reach__router/index.d.ts": {
|
|
1185
|
-
"version": "3b280b52be6f8727fbdae05a2ad2c053dac5be97c42a5caa1740e64a2321e935",
|
|
1186
|
-
"signature": "3b280b52be6f8727fbdae05a2ad2c053dac5be97c42a5caa1740e64a2321e935",
|
|
1187
|
-
"affectsGlobalScope": false
|
|
1188
|
-
},
|
|
1189
1149
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts": {
|
|
1190
1150
|
"version": "cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8",
|
|
1191
1151
|
"signature": "cffd3848b7af4922d70028c805b7df5e8f0eac4a8d2410b0f55b47ca62c6c3a8",
|
|
@@ -1226,6 +1186,11 @@
|
|
|
1226
1186
|
"signature": "d558a0fe921ebcc88d3212c2c42108abf9f0d694d67ebdeba37d7728c044f579",
|
|
1227
1187
|
"affectsGlobalScope": false
|
|
1228
1188
|
},
|
|
1189
|
+
"../../node_modules/@types/throttle-debounce/index.d.ts": {
|
|
1190
|
+
"version": "4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16",
|
|
1191
|
+
"signature": "4e22b9ea2805fec5f3c120146a690e5604a3117dbdee648c85393f58422eec16",
|
|
1192
|
+
"affectsGlobalScope": false
|
|
1193
|
+
},
|
|
1229
1194
|
"../../node_modules/source-map/source-map.d.ts": {
|
|
1230
1195
|
"version": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579",
|
|
1231
1196
|
"signature": "2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579",
|
|
@@ -1348,7 +1313,7 @@
|
|
|
1348
1313
|
"sourceMap": true,
|
|
1349
1314
|
"declaration": true,
|
|
1350
1315
|
"declarationMap": true,
|
|
1351
|
-
"noEmitOnError":
|
|
1316
|
+
"noEmitOnError": false,
|
|
1352
1317
|
"skipLibCheck": true,
|
|
1353
1318
|
"esModuleInterop": true,
|
|
1354
1319
|
"jsx": 2,
|
|
@@ -1548,15 +1513,9 @@
|
|
|
1548
1513
|
"../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts": [
|
|
1549
1514
|
"../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts"
|
|
1550
1515
|
],
|
|
1551
|
-
"../../node_modules/@types/markdown-to-jsx/index.d.ts": [
|
|
1552
|
-
"../../node_modules/@types/react/index.d.ts"
|
|
1553
|
-
],
|
|
1554
1516
|
"../../node_modules/@types/mdast/index.d.ts": [
|
|
1555
1517
|
"../../node_modules/@types/unist/index.d.ts"
|
|
1556
1518
|
],
|
|
1557
|
-
"../../node_modules/@types/micromatch/index.d.ts": [
|
|
1558
|
-
"../../node_modules/@types/braces/index.d.ts"
|
|
1559
|
-
],
|
|
1560
1519
|
"../../node_modules/@types/node-fetch/index.d.ts": [
|
|
1561
1520
|
"../../node_modules/@types/node-fetch/externals.d.ts",
|
|
1562
1521
|
"../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts",
|
|
@@ -1769,9 +1728,6 @@
|
|
|
1769
1728
|
"../../node_modules/@types/pixelmatch/index.d.ts": [
|
|
1770
1729
|
"../../node_modules/@types/node/index.d.ts"
|
|
1771
1730
|
],
|
|
1772
|
-
"../../node_modules/@types/reach__router/index.d.ts": [
|
|
1773
|
-
"../../node_modules/@types/react/index.d.ts"
|
|
1774
|
-
],
|
|
1775
1731
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts": [
|
|
1776
1732
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts",
|
|
1777
1733
|
"../../node_modules/@types/react/index.d.ts"
|
|
@@ -1907,10 +1863,6 @@
|
|
|
1907
1863
|
"../../node_modules/jest-diff/build/cleanupSemantic.d.ts",
|
|
1908
1864
|
"../../node_modules/jest-diff/build/types.d.ts"
|
|
1909
1865
|
],
|
|
1910
|
-
"../../node_modules/querystring/index.d.ts": [
|
|
1911
|
-
"../../node_modules/querystring/decode.d.ts",
|
|
1912
|
-
"../../node_modules/querystring/encode.d.ts"
|
|
1913
|
-
],
|
|
1914
1866
|
"../../node_modules/rxjs/index.d.ts": [
|
|
1915
1867
|
"../../node_modules/rxjs/internal/AsyncSubject.d.ts",
|
|
1916
1868
|
"../../node_modules/rxjs/internal/BehaviorSubject.d.ts",
|
|
@@ -2408,15 +2360,9 @@
|
|
|
2408
2360
|
"../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts": [
|
|
2409
2361
|
"../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts"
|
|
2410
2362
|
],
|
|
2411
|
-
"../../node_modules/@types/markdown-to-jsx/index.d.ts": [
|
|
2412
|
-
"../../node_modules/@types/react/index.d.ts"
|
|
2413
|
-
],
|
|
2414
2363
|
"../../node_modules/@types/mdast/index.d.ts": [
|
|
2415
2364
|
"../../node_modules/@types/unist/index.d.ts"
|
|
2416
2365
|
],
|
|
2417
|
-
"../../node_modules/@types/micromatch/index.d.ts": [
|
|
2418
|
-
"../../node_modules/@types/braces/index.d.ts"
|
|
2419
|
-
],
|
|
2420
2366
|
"../../node_modules/@types/node-fetch/index.d.ts": [
|
|
2421
2367
|
"../../node_modules/@types/node-fetch/externals.d.ts",
|
|
2422
2368
|
"../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts",
|
|
@@ -2629,9 +2575,6 @@
|
|
|
2629
2575
|
"../../node_modules/@types/pixelmatch/index.d.ts": [
|
|
2630
2576
|
"../../node_modules/@types/node/index.d.ts"
|
|
2631
2577
|
],
|
|
2632
|
-
"../../node_modules/@types/reach__router/index.d.ts": [
|
|
2633
|
-
"../../node_modules/@types/react/index.d.ts"
|
|
2634
|
-
],
|
|
2635
2578
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts": [
|
|
2636
2579
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts",
|
|
2637
2580
|
"../../node_modules/@types/react/index.d.ts"
|
|
@@ -2767,10 +2710,6 @@
|
|
|
2767
2710
|
"../../node_modules/jest-diff/build/cleanupSemantic.d.ts",
|
|
2768
2711
|
"../../node_modules/jest-diff/build/types.d.ts"
|
|
2769
2712
|
],
|
|
2770
|
-
"../../node_modules/querystring/index.d.ts": [
|
|
2771
|
-
"../../node_modules/querystring/decode.d.ts",
|
|
2772
|
-
"../../node_modules/querystring/encode.d.ts"
|
|
2773
|
-
],
|
|
2774
2713
|
"../../node_modules/rxjs/index.d.ts": [
|
|
2775
2714
|
"../../node_modules/rxjs/internal/AsyncSubject.d.ts",
|
|
2776
2715
|
"../../node_modules/rxjs/internal/BehaviorSubject.d.ts",
|
|
@@ -3085,7 +3024,6 @@
|
|
|
3085
3024
|
"../../node_modules/@types/babel__generator/index.d.ts",
|
|
3086
3025
|
"../../node_modules/@types/babel__template/index.d.ts",
|
|
3087
3026
|
"../../node_modules/@types/babel__traverse/index.d.ts",
|
|
3088
|
-
"../../node_modules/@types/braces/index.d.ts",
|
|
3089
3027
|
"../../node_modules/@types/color-convert/conversions.d.ts",
|
|
3090
3028
|
"../../node_modules/@types/color-convert/index.d.ts",
|
|
3091
3029
|
"../../node_modules/@types/color-convert/route.d.ts",
|
|
@@ -3093,7 +3031,6 @@
|
|
|
3093
3031
|
"../../node_modules/@types/cookie/index.d.ts",
|
|
3094
3032
|
"../../node_modules/@types/flat/index.d.ts",
|
|
3095
3033
|
"../../node_modules/@types/geojson/index.d.ts",
|
|
3096
|
-
"../../node_modules/@types/glob-base/index.d.ts",
|
|
3097
3034
|
"../../node_modules/@types/glob/index.d.ts",
|
|
3098
3035
|
"../../node_modules/@types/graceful-fs/index.d.ts",
|
|
3099
3036
|
"../../node_modules/@types/hast/index.d.ts",
|
|
@@ -3133,9 +3070,7 @@
|
|
|
3133
3070
|
"../../node_modules/@types/js-levenshtein/index.d.ts",
|
|
3134
3071
|
"../../node_modules/@types/json-schema/index.d.ts",
|
|
3135
3072
|
"../../node_modules/@types/json5/index.d.ts",
|
|
3136
|
-
"../../node_modules/@types/markdown-to-jsx/index.d.ts",
|
|
3137
3073
|
"../../node_modules/@types/mdast/index.d.ts",
|
|
3138
|
-
"../../node_modules/@types/micromatch/index.d.ts",
|
|
3139
3074
|
"../../node_modules/@types/minimatch/index.d.ts",
|
|
3140
3075
|
"../../node_modules/@types/minimist/index.d.ts",
|
|
3141
3076
|
"../../node_modules/@types/node-fetch/externals.d.ts",
|
|
@@ -3203,7 +3138,6 @@
|
|
|
3203
3138
|
"../../node_modules/@types/pretty-hrtime/index.d.ts",
|
|
3204
3139
|
"../../node_modules/@types/prop-types/index.d.ts",
|
|
3205
3140
|
"../../node_modules/@types/qs/index.d.ts",
|
|
3206
|
-
"../../node_modules/@types/reach__router/index.d.ts",
|
|
3207
3141
|
"../../node_modules/@types/react-syntax-highlighter/index.d.ts",
|
|
3208
3142
|
"../../node_modules/@types/react/global.d.ts",
|
|
3209
3143
|
"../../node_modules/@types/react/index.d.ts",
|
|
@@ -3215,6 +3149,7 @@
|
|
|
3215
3149
|
"../../node_modules/@types/stack-utils/index.d.ts",
|
|
3216
3150
|
"../../node_modules/@types/styled-components/index.d.ts",
|
|
3217
3151
|
"../../node_modules/@types/tapable/index.d.ts",
|
|
3152
|
+
"../../node_modules/@types/throttle-debounce/index.d.ts",
|
|
3218
3153
|
"../../node_modules/@types/through/index.d.ts",
|
|
3219
3154
|
"../../node_modules/@types/uglify-js/index.d.ts",
|
|
3220
3155
|
"../../node_modules/@types/unist/index.d.ts",
|
|
@@ -3244,9 +3179,6 @@
|
|
|
3244
3179
|
"../../node_modules/jest-diff/build/index.d.ts",
|
|
3245
3180
|
"../../node_modules/jest-diff/build/printDiffs.d.ts",
|
|
3246
3181
|
"../../node_modules/jest-diff/build/types.d.ts",
|
|
3247
|
-
"../../node_modules/querystring/decode.d.ts",
|
|
3248
|
-
"../../node_modules/querystring/encode.d.ts",
|
|
3249
|
-
"../../node_modules/querystring/index.d.ts",
|
|
3250
3182
|
"../../node_modules/rxjs/index.d.ts",
|
|
3251
3183
|
"../../node_modules/rxjs/internal/AsyncSubject.d.ts",
|
|
3252
3184
|
"../../node_modules/rxjs/internal/BehaviorSubject.d.ts",
|