Skip to content

Commit

Permalink
Add permissions to bbox query
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Dec 17, 2024
1 parent 799af0e commit 927bd98
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions src/graphql/Tiamat/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ export const stopPlaceBBQuery = gql`
__typename
stopPlaceType
submode
permissions {
canEdit
canDelete
allowedStopPlaceTypes
allowedSubmodes
bannedStopPlaceTypes
bannedSubmodes
}
}
... on ParentStopPlace {
children {
Expand All @@ -122,21 +130,16 @@ export const stopPlaceBBQuery = gql`
name {
value
}
topographicPlaceType
}
validBetween {
fromDate
toDate
}
name {
value
lang
permissions {
canEdit
canDelete
allowedStopPlaceTypes
allowedSubmodes
bannedStopPlaceTypes
bannedSubmodes
}
}
name {
value
}
__typename
}
}
}
Expand Down

0 comments on commit 927bd98

Please sign in to comment.