refactor: separate T&C text from rest of detials

This commit is contained in:
André Sá 2022-04-27 15:59:21 +01:00
parent 0213ceb7fe
commit c5e7627afb
2 changed files with 14 additions and 8 deletions

View file

@ -72,13 +72,13 @@ type Trigger {
type TermsDetails {
delay: Boolean!
title: String!
text: String!
accept: String!
cancel: String!
}
type Terms {
hash: String!
text: String
details: TermsDetails
}
@ -150,6 +150,6 @@ type Configs {
type Query {
configs(currentConfigVersion: Int): Configs!
terms(currentHash: String): Terms
terms(currentHash: String, currentConfigVersion: Int): Terms
}
`