refactor: use an enum instead of strings
This commit is contained in:
parent
f9e7631eee
commit
b9a6a55622
1 changed files with 13 additions and 9 deletions
|
|
@ -49,19 +49,23 @@ type SpeedtestFile {
|
|||
size: Int!
|
||||
}
|
||||
|
||||
# True if automatic, False otherwise
|
||||
type TriggersAutomation {
|
||||
sanctions: String!
|
||||
idCardPhoto: String!
|
||||
idCardData: String!
|
||||
facephoto: String!
|
||||
usSsn: String!
|
||||
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