github.com/oinume/lekcije@v0.0.0-20231017100347-5b4c5eb6ab24/backend/interface/graphql/schema/notification_time_span.graphqls (about)

     1  type NotificationTimeSpan {
     2    fromHour: Int!
     3    fromMinute: Int!
     4    toHour: Int!
     5    toMinute: Int!
     6  }
     7  
     8  input NotificationTimeSpanInput {
     9    fromHour: Int!
    10    fromMinute: Int!
    11    toHour: Int!
    12    toMinute: Int!
    13  }
    14  
    15  input UpdateNotificationTimeSpansInput {
    16    timeSpans: [NotificationTimeSpanInput!]!
    17  }
    18  
    19  type NotificationTimeSpanPayload {
    20    timeSpans: [NotificationTimeSpan!]
    21  }
    22  
    23  extend type Mutation {
    24    updateNotificationTimeSpans(input: UpdateNotificationTimeSpansInput!): NotificationTimeSpanPayload
    25  }