Merge pull request #1460 from siiky/fix/lam-728/gql-resolver-trigger-automation
fix: GraphQL types of `TriggersAutomation`
This commit is contained in:
commit
ef8ad829d2
2 changed files with 13 additions and 10 deletions
|
|
@ -142,7 +142,6 @@ const staticConfig = ({ currentConfigVersion, deviceId, deviceName, pq, settings
|
|||
speedtestFiles,
|
||||
urlsToPing,
|
||||
}),
|
||||
_.update('triggersAutomation', _.mapValues(_.eq('Automatic'))),
|
||||
addOperatorInfo(operatorInfo),
|
||||
addReceiptInfo(receiptInfo)
|
||||
)(staticConf))
|
||||
|
|
|
|||
|
|
@ -49,19 +49,23 @@ type SpeedtestFile {
|
|||
size: Int!
|
||||
}
|
||||
|
||||
# True if automatic, False otherwise
|
||||
type TriggersAutomation {
|
||||
sanctions: Boolean!
|
||||
idCardPhoto: Boolean!
|
||||
idCardData: Boolean!
|
||||
facephoto: Boolean!
|
||||
usSsn: Boolean!
|
||||
custom: [CustomTriggersAutomation]
|
||||
enum TriggerAutomationType {
|
||||
Automatic
|
||||
Manual
|
||||
}
|
||||
|
||||
type CustomTriggersAutomation {
|
||||
id: ID!
|
||||
type: String!
|
||||
type: TriggerAutomationType!
|
||||
}
|
||||
|
||||
type TriggersAutomation {
|
||||
sanctions: TriggerAutomationType!
|
||||
idCardPhoto: TriggerAutomationType!
|
||||
idCardData: TriggerAutomationType!
|
||||
facephoto: TriggerAutomationType!
|
||||
usSsn: TriggerAutomationType!
|
||||
custom: [CustomTriggersAutomation]!
|
||||
}
|
||||
|
||||
type CustomScreen {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue