fix: remove typing from dynamic keyed triggersAutomation

This commit is contained in:
Sérgio Salgado 2022-11-17 04:55:57 +00:00
parent b7b9daf08c
commit 493f4232df
2 changed files with 5 additions and 10 deletions

View file

@ -1,5 +1,7 @@
const { gql } = require('apollo-server-express')
module.exports = gql`
scalar JSONObject
type Coin {
cryptoCode: String!
display: String!
@ -49,15 +51,6 @@ type SpeedtestFile {
size: Int!
}
# True if automatic, False otherwise
type TriggersAutomation {
sanctions: Boolean!
idCardPhoto: Boolean!
idCardData: Boolean!
facephoto: Boolean!
usSsn: Boolean!
}
type CustomScreen {
text: String!
title: String!
@ -129,7 +122,7 @@ type StaticConfig {
speedtestFiles: [SpeedtestFile!]!
urlsToPing: [String!]!
triggersAutomation: TriggersAutomation!
triggersAutomation: JSONObject!
triggers: [Trigger!]!
}