Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaturet committed May 7, 2024
1 parent dfe36ef commit 63bce5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ public static GraphQLObjectType create(
GraphQLArgument
.newArgument()
.name("timeRange")
.description(
"Duration in seconds from start time to search forward for estimated calls. Must be a positive value. Default value is 24 hours"
)
.type(Scalars.GraphQLInt)
.defaultValue(24 * 60 * 60)
.build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ public static GraphQLObjectType create(
GraphQLArgument
.newArgument()
.name("timeRange")
.description(
"Duration in seconds from start time to search forward for estimated calls. Must be a positive value. Default value is 24 hours"
)
.type(Scalars.GraphQLInt)
.defaultValue(24 * 60 * 60)
.build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@ type Quay implements PlaceInterface {
omitNonBoarding: Boolean = false @deprecated(reason : "Non-functional. Use arrivalDeparture instead."),
"DateTime for when to fetch estimated calls from. Default value is current time"
startTime: DateTime,
"Duration in seconds from start time to search forward for estimated calls. Must be a positive value. Default value is 24 hours"
timeRange: Int = 86400,
"Parameters for indicating the only authorities and/or lines or quays to list estimatedCalls for"
whiteListed: InputWhiteListed,
Expand Down Expand Up @@ -1132,6 +1133,7 @@ type StopPlace implements PlaceInterface {
numberOfDeparturesPerLineAndDestinationDisplay: Int,
"DateTime for when to fetch estimated calls from. Default value is current time"
startTime: DateTime,
"Duration in seconds from start time to search forward for estimated calls. Must be a positive value. Default value is 24 hours"
timeRange: Int = 86400,
"Parameters for indicating the only authorities and/or lines or quays to list estimatedCalls for"
whiteListed: InputWhiteListed,
Expand Down

0 comments on commit 63bce5e

Please sign in to comment.