mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-07-06 09:30:37 +02:00
50 lines
834 B
JavaScript
50 lines
834 B
JavaScript
import { graphql } from 'react-relay';
|
|
|
|
export const legQuery = graphql`
|
|
query LegQuery($id: String!) {
|
|
leg(id: $id) {
|
|
legId: id
|
|
start {
|
|
scheduledTime
|
|
estimated {
|
|
time
|
|
}
|
|
}
|
|
end {
|
|
scheduledTime
|
|
estimated {
|
|
time
|
|
}
|
|
}
|
|
alerts {
|
|
alertSeverityLevel
|
|
effectiveStartDate
|
|
alertDescriptionText
|
|
alertHeaderText
|
|
id
|
|
}
|
|
intermediatePlaces {
|
|
arrival {
|
|
scheduledTime
|
|
estimated {
|
|
time
|
|
}
|
|
}
|
|
stop {
|
|
gtfsId
|
|
lat
|
|
lon
|
|
name
|
|
}
|
|
}
|
|
to {
|
|
vehicleRentalStation {
|
|
availableVehicles {
|
|
total
|
|
}
|
|
}
|
|
}
|
|
realtimeState
|
|
}
|
|
}
|
|
`;
|