Skip to content

Commit

Permalink
feat: update GQL schema for API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed Jun 28, 2023
1 parent fce6931 commit 481ac9e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fixit@current.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type Query {
excluded from the results.
"""
offset: Int = 0
): [Contact!]
): [Contact!]!
mySubscription: UserSubscription!
workOrder(workOrderID: ID!): WorkOrder!
myWorkOrders: MyWorkOrdersQueryReturnType!
Expand Down Expand Up @@ -143,7 +143,7 @@ input CreateChecklistItemInput {

input UpdateChecklistItemInput {
id: ID!
description: String
description: String!
isCompleted: Boolean
}

Expand Down Expand Up @@ -252,10 +252,10 @@ input CreateLocationInput {
}

input UpdateLocationInput {
streetLine1: String
streetLine1: String!
streetLine2: String
city: String
region: String
city: String!
region: String!
country: String
}

Expand Down Expand Up @@ -453,7 +453,7 @@ input CreateWorkOrderInput {
location: CreateLocationInput!
category: WorkOrderCategory
description: String
checklist: [CreateChecklistItemInput]
checklist: [CreateChecklistItemInput!]
dueDate: DateTime
entryContact: String
entryContactPhone: String
Expand All @@ -466,7 +466,7 @@ input UpdateWorkOrderInput {
location: UpdateLocationInput
category: WorkOrderCategory
description: String
checklist: [UpdateChecklistItemInput]
checklist: [UpdateChecklistItemInput!]
dueDate: DateTime
entryContact: String
entryContactPhone: String
Expand Down

0 comments on commit 481ac9e

Please sign in to comment.