feat: put T&C in its own query
This commit is contained in:
parent
7b951f961f
commit
469f38b768
2 changed files with 54 additions and 19 deletions
|
|
@ -69,7 +69,7 @@ type Trigger {
|
|||
thresholdDays: Int
|
||||
}
|
||||
|
||||
type Terms {
|
||||
type TermsDetails {
|
||||
delay: Boolean!
|
||||
title: String!
|
||||
text: String!
|
||||
|
|
@ -77,6 +77,11 @@ type Terms {
|
|||
cancel: String!
|
||||
}
|
||||
|
||||
type Terms {
|
||||
hash: String!
|
||||
details: TermsDetails
|
||||
}
|
||||
|
||||
type StaticConfig {
|
||||
configVersion: Int!
|
||||
|
||||
|
|
@ -98,8 +103,6 @@ type StaticConfig {
|
|||
|
||||
triggersAutomation: TriggersAutomation!
|
||||
triggers: [Trigger!]!
|
||||
|
||||
terms: Terms
|
||||
}
|
||||
|
||||
type DynamicCoinValues {
|
||||
|
|
@ -147,5 +150,6 @@ type Configs {
|
|||
|
||||
type Query {
|
||||
configs(currentConfigVersion: Int): Configs!
|
||||
terms(currentHash: String): Terms
|
||||
}
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue