Skip to content

Commit

Permalink
chore: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Nov 1, 2024
1 parent 49bc763 commit b0d7859
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
20 changes: 18 additions & 2 deletions build/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ type QueryType {
walkSpeed: Float,
"Whether the itinerary must be wheelchair accessible. Default value: false"
wheelchair: Boolean
): Plan @async
): Plan @async @deprecated(reason : "Use `planConnection` instead.")
"""
Plan (itinerary) search that follows
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm).
Expand Down Expand Up @@ -1607,7 +1607,7 @@ type QueryType {
number of itineraries in each search.
"""
searchWindow: Duration
): PlanConnection @async @deprecated(reason : "Experimental and can include breaking changes, use plan instead")
): PlanConnection @async
"Get a single rental vehicle based on its ID, i.e. value of field `vehicleId`"
rentalVehicle(id: String!): RentalVehicle
"Get all rental vehicles"
Expand Down Expand Up @@ -3081,6 +3081,12 @@ enum PlanAccessMode {
"""
BICYCLE_RENTAL
"""
Driving to a stop and boarding a vehicle with the car.
Access can use driving only if the mode used for transfers
and egress is also `CAR`.
"""
CAR
"""
Getting dropped off by a car to a location that is accessible with a car.
Note, this can include walking after the drop-off.
"""
Expand Down Expand Up @@ -3190,6 +3196,11 @@ enum PlanEgressMode {
"""
BICYCLE_RENTAL
"""
Driving from a stop to the destination. Egress can use driving only if the mode
used for access and transfers is also `CAR`.
"""
CAR
"""
Getting picked up by a car from a location that is accessible with a car.
Note, this can include walking before the pickup.
"""
Expand Down Expand Up @@ -3227,6 +3238,11 @@ enum PlanTransferMode {
cycling if the mode used for access and egress is also `BICYCLE`.
"""
BICYCLE
"""
Driving between transit vehicles. Transfers can only use driving if the mode
used for access and egress is also `CAR`.
"""
CAR
"Walking between transit vehicles (typically between stops)."
WALK
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ type QueryType {
walkSpeed: Float,
"Whether the itinerary must be wheelchair accessible. Default value: false"
wheelchair: Boolean
): Plan @async
): Plan @async @deprecated(reason : "Use `planConnection` instead.")
"""
Plan (itinerary) search that follows
[GraphQL Cursor Connections Specification](https://relay.dev/graphql/connections.htm).
Expand Down Expand Up @@ -1607,7 +1607,7 @@ type QueryType {
number of itineraries in each search.
"""
searchWindow: Duration
): PlanConnection @async @deprecated(reason : "Experimental and can include breaking changes, use plan instead")
): PlanConnection @async
"Get a single rental vehicle based on its ID, i.e. value of field `vehicleId`"
rentalVehicle(id: String!): RentalVehicle
"Get all rental vehicles"
Expand Down Expand Up @@ -3081,6 +3081,12 @@ enum PlanAccessMode {
"""
BICYCLE_RENTAL
"""
Driving to a stop and boarding a vehicle with the car.
Access can use driving only if the mode used for transfers
and egress is also `CAR`.
"""
CAR
"""
Getting dropped off by a car to a location that is accessible with a car.
Note, this can include walking after the drop-off.
"""
Expand Down Expand Up @@ -3190,6 +3196,11 @@ enum PlanEgressMode {
"""
BICYCLE_RENTAL
"""
Driving from a stop to the destination. Egress can use driving only if the mode
used for access and transfers is also `CAR`.
"""
CAR
"""
Getting picked up by a car from a location that is accessible with a car.
Note, this can include walking before the pickup.
"""
Expand Down Expand Up @@ -3227,6 +3238,11 @@ enum PlanTransferMode {
cycling if the mode used for access and egress is also `BICYCLE`.
"""
BICYCLE
"""
Driving between transit vehicles. Transfers can only use driving if the mode
used for access and egress is also `CAR`.
"""
CAR
"Walking between transit vehicles (typically between stops)."
WALK
}
Expand Down

0 comments on commit b0d7859

Please sign in to comment.