mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-07-06 09:30:37 +02:00
35 lines
647 B
JavaScript
35 lines
647 B
JavaScript
import { graphql } from 'react-relay';
|
|
|
|
export const TimetableFragment = graphql`
|
|
fragment TimetableFragment on Stop
|
|
@argumentDefinitions(date: { type: "String" }) {
|
|
gtfsId
|
|
name
|
|
url
|
|
locationType
|
|
stoptimesForServiceDate(date: $date, omitCanceled: false) {
|
|
pattern {
|
|
headsign
|
|
code
|
|
route {
|
|
id
|
|
shortName
|
|
longName
|
|
type
|
|
mode
|
|
agency {
|
|
id
|
|
name
|
|
}
|
|
}
|
|
}
|
|
stoptimes {
|
|
realtimeState
|
|
scheduledDeparture
|
|
serviceDay
|
|
headsign
|
|
pickupType
|
|
}
|
|
}
|
|
}
|
|
`;
|