Skip to content

Commit 58242d7

Browse files
Update/proto with distance (#81)
* 6.1.2 * update proto distance country list * update transport modes
1 parent fd98ede commit 58242d7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "traveltime-api",
3-
"version": "6.1.1",
3+
"version": "6.1.2",
44
"description": "TravelTime API SDK for node js with TypeScript",
55
"main": "target/index.js",
66
"types": "target/index.d.ts",

src/types/proto.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { protoCountries } from '../client/proto/countries';
22
import { Coords } from './common';
33

4-
export type TimeFilterFastProtoDistanceTransportation = 'driving+ferry' | 'walking+ferry' | 'driving'
5-
export type TimeFilterFastProtoDistanceCountry = 'uk' | 'ie'
6-
export type TimeFilterFastProtoTransportation = 'pt' | 'cycling+ferry' | TimeFilterFastProtoDistanceTransportation;
4+
export type TimeFilterFastProtoDistanceTransportation = 'driving+ferry' | 'walking+ferry' | 'driving' | 'cycling+ferry'
5+
export type TimeFilterFastProtoTransportation = 'pt' | TimeFilterFastProtoDistanceTransportation;
76
export type TimeFilterFastProtoCountry = typeof protoCountries[number]
7+
export type TimeFilterFastProtoDistanceCountry = TimeFilterFastProtoCountry
88

99
export interface TimeFilterFastProtoProperties {
1010
fares?: boolean,

0 commit comments

Comments
 (0)