feat: camera diagnostics (#1681)
This commit is contained in:
parent
5ae9b76c3b
commit
e1c2cc8619
13 changed files with 395 additions and 3 deletions
|
|
@ -12,6 +12,7 @@ const typeDef = gql`
|
|||
paired: Boolean!
|
||||
lastPing: Date
|
||||
pairedAt: Date
|
||||
diagnostics: Diagnostics
|
||||
version: String
|
||||
model: String
|
||||
cashUnits: CashUnits
|
||||
|
|
@ -24,6 +25,12 @@ const typeDef = gql`
|
|||
packetLoss: String
|
||||
}
|
||||
|
||||
type Diagnostics {
|
||||
timestamp: Date
|
||||
frontTimestamp: Date
|
||||
scanTimestamp: Date
|
||||
}
|
||||
|
||||
type CashUnits {
|
||||
cashbox: Int
|
||||
cassette1: Int
|
||||
|
|
@ -81,6 +88,7 @@ const typeDef = gql`
|
|||
restartServices
|
||||
emptyUnit
|
||||
refillUnit
|
||||
diagnostics
|
||||
}
|
||||
|
||||
type Query {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue