feat: add T&C configs to GraphQL API
This commit is contained in:
parent
b380e2845c
commit
df2213566e
2 changed files with 26 additions and 0 deletions
|
|
@ -69,6 +69,14 @@ type Trigger {
|
|||
thresholdDays: Int
|
||||
}
|
||||
|
||||
type Terms {
|
||||
delay: Boolean!
|
||||
title: String!
|
||||
text: String!
|
||||
accept: String!
|
||||
cancel: String!
|
||||
}
|
||||
|
||||
type StaticConfig {
|
||||
configVersion: Int!
|
||||
|
||||
|
|
@ -90,6 +98,8 @@ type StaticConfig {
|
|||
|
||||
triggersAutomation: TriggersAutomation!
|
||||
triggers: [Trigger!]!
|
||||
|
||||
terms: Terms
|
||||
}
|
||||
|
||||
type DynamicCoinValues {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue