Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 111 additions & 73 deletions src/@types/graphql.d.ts

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/__fixtures__/line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const TOEI_SHINJUKU_LINE_LOCAL: Line = {
nameKatakana: 'トエイシンジュクセン',
nameFull: '都営新宿線',
nameIpa: null,
nameRomanIpa: null,
nameRoman: 'Toei Shinjuku Line',
nameChinese: '都营新宿线',
nameKorean: '도에이 신주쿠선',
Expand Down Expand Up @@ -51,6 +52,7 @@ export const TOEI_SHINJUKU_LINE_LOCAL: Line = {
nameRoman: 'Shinjuku',
nameChinese: '新宿',
nameIpa: null,
nameRomanIpa: null,
nameKorean: '신주쿠',
threeLetterCode: undefined,
prefectureId: 13,
Expand Down Expand Up @@ -92,6 +94,7 @@ export const RYOMO_LINE: Line = {
nameKatakana: 'リョウモウセン',
nameFull: '両毛線',
nameIpa: null,
nameRomanIpa: null,
nameRoman: 'Ryomo Line',
nameChinese: '两毛线',
nameKorean: '료모선',
Expand All @@ -112,6 +115,7 @@ export const RYOMO_LINE: Line = {
nameRoman: 'Takasaki',
nameChinese: '高崎',
nameIpa: null,
nameRomanIpa: null,
nameKorean: '다카사키',
threeLetterCode: undefined,
prefectureId: 10,
Expand Down
2 changes: 2 additions & 0 deletions src/components/TrainTypeBoxJL.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ describe('TrainTypeBoxJL', () => {
name: 'Test',
nameKatakana: 'テスト',
nameRoman: 'Test',
nameIpa: null,
nameRomanIpa: null,
nameChinese: '测试',
nameKorean: '테스트',
color: '#000000',
Expand Down
2 changes: 2 additions & 0 deletions src/components/TrainTypeBoxJO.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ describe('TrainTypeBoxJO', () => {
name: 'Test',
nameKatakana: 'テスト',
nameRoman: 'Test',
nameIpa: null,
nameRomanIpa: null,
nameChinese: '测试',
nameKorean: '테스트',
color: '#000000',
Expand Down
2 changes: 2 additions & 0 deletions src/components/TrainTypeBoxJRKyushu.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ describe('TrainTypeBoxJRKyushu', () => {
name: 'Test',
nameKatakana: 'テスト',
nameRoman: 'Test',
nameIpa: null,
nameRomanIpa: null,
nameChinese: '测试',
nameKorean: '테스트',
color: '#000000',
Expand Down
2 changes: 2 additions & 0 deletions src/components/TrainTypeBoxSaikyo.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ describe('TrainTypeBoxSaikyo', () => {
name: 'Test',
nameKatakana: 'テスト',
nameRoman: 'Test',
nameIpa: null,
nameRomanIpa: null,
nameChinese: '测试',
nameKorean: '테스트',
color: '#000000',
Expand Down
2 changes: 2 additions & 0 deletions src/hooks/useCurrentTrainType.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ const createTrainType = (
nameChinese: null,
nameKatakana: 'ローカル',
nameKorean: null,
nameIpa: null,
nameRomanIpa: null,
nameRoman: 'Local',
typeId: TRAIN_TYPE_IDS.LOCAL,
...overrides,
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useGetStationsWithTermination.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const mkStation = (groupId: number, id: number = groupId): StationType => ({
nameRoman: undefined,
nameChinese: undefined,
nameIpa: null,
nameRomanIpa: null,
nameKorean: undefined,
threeLetterCode: undefined,
lines: [],
Expand Down
1 change: 1 addition & 0 deletions src/hooks/useRefreshStation.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const mockStation: Station = {
nameRoman: 'Test Station',
nameChinese: undefined,
nameIpa: null,
nameRomanIpa: null,
nameKorean: undefined,
threeLetterCode: undefined,
latitude: 35.0,
Expand Down
Loading
Loading