Skip to content

Commit

Permalink
chore(graphql): remove journeyPattern from quay-search query
Browse files Browse the repository at this point in the history
  • Loading branch information
SelmaBergstrand committed Oct 24, 2024
1 parent 91d38b4 commit d76d08d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
7 changes: 0 additions & 7 deletions tavla/src/Shared/graphql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,6 @@ export type TQuaysSearchQuery = {
__typename?: 'StopPlace'
transportMode: Array<Types.TTransportMode | null> | null
} | null
journeyPatterns: Array<{
__typename?: 'JourneyPattern'
directionType: Types.TDirectionType | null
} | null>
lines: Array<{
__typename?: 'Line'
id: string
Expand Down Expand Up @@ -561,9 +557,6 @@ export const QuaysSearchQuery = new TypedDocumentString(`
stopPlace {
transportMode
}
journeyPatterns {
directionType
}
...lines
}
}
Expand Down
4 changes: 1 addition & 3 deletions tavla/src/Shared/graphql/queries/quaySearch.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ query quaysSearch($stopPlaceId: String!) {
stopPlace {
transportMode
}
journeyPatterns {
directionType
}

...lines
}
}
Expand Down
3 changes: 1 addition & 2 deletions tavla/src/Shared/types/graphql-schema.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable */
export type Maybe<T> = T | null
/* eslint-disable */ export type Maybe<T> = T | null
export type InputMaybe<T> = Maybe<T>
export type Exact<T extends { [key: string]: unknown }> = {
[K in keyof T]: T[K]
Expand Down

0 comments on commit d76d08d

Please sign in to comment.