fix: add CustomTriggersAutomation poller type

This commit is contained in:
Sérgio Salgado 2022-11-21 00:28:44 +00:00
parent 493f4232df
commit 2788962ac7
3 changed files with 26 additions and 8 deletions

View file

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