Skip to content

Commit

Permalink
chore: speed tram type is now 900
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Sep 21, 2023
1 parent eb96ae7 commit a7bdc0e
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion app/configurations/config.hsl.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ export default {
},
},
{
showForRoute: route => route.type === 902,
showForRoute: route => route.type === 900,
id: 'speedtramNotification',
header: {
fi: 'Mitä pikaratikka tarkoittaa?',
Expand Down
2 changes: 1 addition & 1 deletion app/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const AlertEntityType = Object.freeze({
export const ExtendedRouteTypes = Object.freeze({
BusExpress: 702,
BusLocal: 704,
TramLocal: 902,
TramLocal: 900,
});

export const ParkTypes = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digitransit-component/digitransit-component-autosuggest-panel",
"version": "2.0.7",
"version": "2.0.8",
"description": "digitransit-component autosuggest-panel module",
"main": "index.js",
"files": [
Expand Down Expand Up @@ -28,7 +28,7 @@
"author": "Digitransit Authors",
"license": "(AGPL-3.0 OR EUPL-1.2)",
"peerDependencies": {
"@digitransit-component/digitransit-component-autosuggest": "^1.9.11",
"@digitransit-component/digitransit-component-autosuggest": "^1.9.12",
"@digitransit-component/digitransit-component-icon": "^0.2.2",
"@hsl-fi/sass": "^0.2.0",
"classnames": "2.2.6",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digitransit-component/digitransit-component-autosuggest",
"version": "1.9.11",
"version": "1.9.12",
"description": "digitransit-component autosuggest module",
"main": "index.js",
"files": [
Expand Down Expand Up @@ -37,7 +37,7 @@
"peerDependencies": {
"@digitransit-component/digitransit-component-dialog-modal": "^0.3.4",
"@digitransit-component/digitransit-component-icon": "^0.2.2",
"@digitransit-component/digitransit-component-suggestion-item": "^1.1.3",
"@digitransit-component/digitransit-component-suggestion-item": "^1.1.4",
"@hsl-fi/sass": "^0.2.0",
"classnames": "2.2.6",
"i18next": "^19.3.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digitransit-component/digitransit-component-favourite-bar",
"version": "1.1.3",
"version": "1.1.4",
"description": "digitransit-component favourite-bar module",
"main": "index.js",
"files": [
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"peerDependencies": {
"@digitransit-component/digitransit-component-icon": "^0.2.2",
"@digitransit-component/digitransit-component-suggestion-item": "^1.1.3",
"@digitransit-component/digitransit-component-suggestion-item": "^1.1.4",
"@hsl-fi/sass": "^0.2.0",
"@hsl-fi/shimmer": "0.1.2",
"classnames": "2.2.6",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digitransit-component/digitransit-component-suggestion-item",
"version": "1.1.3",
"version": "1.1.4",
"description": "digitransit-component suggestion-item module",
"main": "index.js",
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import styles from './helpers/styles.scss';

const BUS_EXPRESS = 702;
const BUS_LOCAL = 704;
const TRAM_LOCAL = 902;
const TRAM_LOCAL = 900;

const getRouteMode = props => {
switch (props.type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"docs": "node -r esm ../../scripts/generate-readmes"
},
"dependencies": {
"@digitransit-component/digitransit-component-autosuggest": "^1.9.11",
"@digitransit-component/digitransit-component-autosuggest-panel": "^2.0.7",
"@digitransit-component/digitransit-component-autosuggest": "^1.9.12",
"@digitransit-component/digitransit-component-autosuggest-panel": "^2.0.8",
"@digitransit-component/digitransit-component-control-panel": "^1.1.3",
"@digitransit-component/digitransit-component-favourite-bar": "1.1.3",
"@digitransit-component/digitransit-component-favourite-bar": "1.1.4",
"@digitransit-component/digitransit-component-favourite-editing-modal": "^1.1.4",
"@digitransit-component/digitransit-component-favourite-modal": "^1.0.2",
"@digitransit-component/digitransit-component-icon": "^0.2.2",
"@digitransit-component/digitransit-component-suggestion-item": "^1.1.3",
"@digitransit-component/digitransit-component-suggestion-item": "^1.1.4",
"@digitransit-component/digitransit-component-with-breakpoint": "^0.0.5"
},
"peerDependencies": {
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1822,11 +1822,11 @@ __metadata:
languageName: unknown
linkType: soft

"@digitransit-component/digitransit-component-autosuggest-panel@^2.0.7, @digitransit-component/digitransit-component-autosuggest-panel@workspace:digitransit-component/packages/digitransit-component-autosuggest-panel":
"@digitransit-component/digitransit-component-autosuggest-panel@^2.0.8, @digitransit-component/digitransit-component-autosuggest-panel@workspace:digitransit-component/packages/digitransit-component-autosuggest-panel":
version: 0.0.0-use.local
resolution: "@digitransit-component/digitransit-component-autosuggest-panel@workspace:digitransit-component/packages/digitransit-component-autosuggest-panel"
peerDependencies:
"@digitransit-component/digitransit-component-autosuggest": ^1.9.11
"@digitransit-component/digitransit-component-autosuggest": ^1.9.12
"@digitransit-component/digitransit-component-icon": ^0.2.2
"@hsl-fi/sass": ^0.2.0
classnames: 2.2.6
Expand All @@ -1842,7 +1842,7 @@ __metadata:
languageName: unknown
linkType: soft

"@digitransit-component/digitransit-component-autosuggest@^1.9.11, @digitransit-component/digitransit-component-autosuggest@workspace:digitransit-component/packages/digitransit-component-autosuggest":
"@digitransit-component/digitransit-component-autosuggest@^1.9.12, @digitransit-component/digitransit-component-autosuggest@workspace:digitransit-component/packages/digitransit-component-autosuggest":
version: 0.0.0-use.local
resolution: "@digitransit-component/digitransit-component-autosuggest@workspace:digitransit-component/packages/digitransit-component-autosuggest"
dependencies:
Expand All @@ -1853,7 +1853,7 @@ __metadata:
peerDependencies:
"@digitransit-component/digitransit-component-dialog-modal": ^0.3.4
"@digitransit-component/digitransit-component-icon": ^0.2.2
"@digitransit-component/digitransit-component-suggestion-item": ^1.1.3
"@digitransit-component/digitransit-component-suggestion-item": ^1.1.4
"@hsl-fi/sass": ^0.2.0
classnames: 2.2.6
i18next: ^19.3.3
Expand Down Expand Up @@ -1913,14 +1913,14 @@ __metadata:
languageName: unknown
linkType: soft

"@digitransit-component/[email protected].3, @digitransit-component/digitransit-component-favourite-bar@workspace:digitransit-component/packages/digitransit-component-favourite-bar":
"@digitransit-component/[email protected].4, @digitransit-component/digitransit-component-favourite-bar@workspace:digitransit-component/packages/digitransit-component-favourite-bar":
version: 0.0.0-use.local
resolution: "@digitransit-component/digitransit-component-favourite-bar@workspace:digitransit-component/packages/digitransit-component-favourite-bar"
dependencies:
"@digitransit-search-util/digitransit-search-util-uniq-by-label": ^1.1.0
peerDependencies:
"@digitransit-component/digitransit-component-icon": ^0.2.2
"@digitransit-component/digitransit-component-suggestion-item": ^1.1.3
"@digitransit-component/digitransit-component-suggestion-item": ^1.1.4
"@hsl-fi/sass": ^0.2.0
"@hsl-fi/shimmer": 0.1.2
classnames: 2.2.6
Expand Down Expand Up @@ -1976,7 +1976,7 @@ __metadata:
languageName: unknown
linkType: soft

"@digitransit-component/digitransit-component-suggestion-item@^1.1.3, @digitransit-component/digitransit-component-suggestion-item@workspace:digitransit-component/packages/digitransit-component-suggestion-item":
"@digitransit-component/digitransit-component-suggestion-item@^1.1.4, @digitransit-component/digitransit-component-suggestion-item@workspace:digitransit-component/packages/digitransit-component-suggestion-item":
version: 0.0.0-use.local
resolution: "@digitransit-component/digitransit-component-suggestion-item@workspace:digitransit-component/packages/digitransit-component-suggestion-item"
dependencies:
Expand Down Expand Up @@ -2019,14 +2019,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@digitransit-component/digitransit-component@workspace:digitransit-component/packages/digitransit-component"
dependencies:
"@digitransit-component/digitransit-component-autosuggest": ^1.9.11
"@digitransit-component/digitransit-component-autosuggest-panel": ^2.0.7
"@digitransit-component/digitransit-component-autosuggest": ^1.9.12
"@digitransit-component/digitransit-component-autosuggest-panel": ^2.0.8
"@digitransit-component/digitransit-component-control-panel": ^1.1.3
"@digitransit-component/digitransit-component-favourite-bar": 1.1.3
"@digitransit-component/digitransit-component-favourite-bar": 1.1.4
"@digitransit-component/digitransit-component-favourite-editing-modal": ^1.1.4
"@digitransit-component/digitransit-component-favourite-modal": ^1.0.2
"@digitransit-component/digitransit-component-icon": ^0.2.2
"@digitransit-component/digitransit-component-suggestion-item": ^1.1.3
"@digitransit-component/digitransit-component-suggestion-item": ^1.1.4
"@digitransit-component/digitransit-component-with-breakpoint": ^0.0.5
peerDependencies:
"@digitransit-component/digitransit-component-dialog-modal": ^0.3.4
Expand Down

0 comments on commit a7bdc0e

Please sign in to comment.