fix: GraphQL types of TriggersAutomation
This commit is contained in:
parent
f4fa98879f
commit
f9e7631eee
2 changed files with 6 additions and 7 deletions
|
|
@ -142,7 +142,6 @@ const staticConfig = ({ currentConfigVersion, deviceId, deviceName, pq, settings
|
||||||
speedtestFiles,
|
speedtestFiles,
|
||||||
urlsToPing,
|
urlsToPing,
|
||||||
}),
|
}),
|
||||||
_.update('triggersAutomation', _.mapValues(_.eq('Automatic'))),
|
|
||||||
addOperatorInfo(operatorInfo),
|
addOperatorInfo(operatorInfo),
|
||||||
addReceiptInfo(receiptInfo)
|
addReceiptInfo(receiptInfo)
|
||||||
)(staticConf))
|
)(staticConf))
|
||||||
|
|
|
||||||
|
|
@ -51,12 +51,12 @@ type SpeedtestFile {
|
||||||
|
|
||||||
# True if automatic, False otherwise
|
# True if automatic, False otherwise
|
||||||
type TriggersAutomation {
|
type TriggersAutomation {
|
||||||
sanctions: Boolean!
|
sanctions: String!
|
||||||
idCardPhoto: Boolean!
|
idCardPhoto: String!
|
||||||
idCardData: Boolean!
|
idCardData: String!
|
||||||
facephoto: Boolean!
|
facephoto: String!
|
||||||
usSsn: Boolean!
|
usSsn: String!
|
||||||
custom: [CustomTriggersAutomation]
|
custom: [CustomTriggersAutomation]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type CustomTriggersAutomation {
|
type CustomTriggersAutomation {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue