update schema types for backwards compatibility with current schema

This commit is contained in:
2025-03-25 16:16:18 -07:00
parent 717575e004
commit 4d74027b0e
3 changed files with 10 additions and 16 deletions

View File

@@ -65,23 +65,17 @@ type Query {
systems: [System!]!
system(id: ID): System
isNotificationScheduled(input: NotificationLookupArguments!): Boolean
secondsThresholdForNotification(input: NotificationLookupArguments!): Int
isNotificationScheduled(input: NotificationInput!): Boolean
secondsThresholdForNotification(input: NotificationInput!): Int
}
# Mutations
type Mutation {
scheduleNotification(input: NotificationSchedulingArguments!): NotificationResponse!
cancelNotification(input: NotificationLookupArguments!): NotificationResponse!
scheduleNotification(input: NotificationInput!): NotificationResponse!
cancelNotification(input: NotificationInput!): NotificationResponse!
}
input NotificationLookupArguments {
deviceId: ID!
shuttleId: ID!
stopId: ID!
}
input NotificationSchedulingArguments {
input NotificationInput {
deviceId: ID!
shuttleId: ID!
stopId: ID!