refactor: rename Bills to Bill in GraphQL schema

This commit is contained in:
André Sá 2021-11-15 21:18:25 +00:00
parent 5f5e0d8b05
commit 30a0b39280

View file

@ -274,7 +274,7 @@ const typeDefs = gql`
valid: Boolean valid: Boolean
} }
type Bills { type Bill {
fiat: Int fiat: Int
deviceId: ID deviceId: ID
created: Date created: Date
@ -288,7 +288,7 @@ const typeDefs = gql`
operationType: String operationType: String
customBillCount: Int customBillCount: Int
performedBy: String performedBy: String
bills: [Bills] bills: [Bill]
} }
type Query { type Query {
@ -327,7 +327,7 @@ const typeDefs = gql`
notifications: [Notification] notifications: [Notification]
alerts: [Notification] alerts: [Notification]
hasUnreadNotifications: Boolean hasUnreadNotifications: Boolean
bills: [Bills] bills: [Bill]
} }
type SupportLogsResponse { type SupportLogsResponse {