feat: add T&C configs to GraphQL API

This commit is contained in:
André Sá 2022-04-11 17:48:15 +01:00
parent b380e2845c
commit df2213566e
2 changed files with 26 additions and 0 deletions

View file

@ -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 {