fix: add tcPhoto field
This commit is contained in:
parent
403e593171
commit
75a98461fe
2 changed files with 2 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ const configs = (parent, { currentConfigVersion }, { deviceId, deviceName, opera
|
||||||
|
|
||||||
|
|
||||||
const massageTerms = terms => (terms.active && terms.text) ? ({
|
const massageTerms = terms => (terms.active && terms.text) ? ({
|
||||||
|
tcPhoto: Boolean(terms.tcPhoto),
|
||||||
delay: Boolean(terms.delay),
|
delay: Boolean(terms.delay),
|
||||||
title: terms.title,
|
title: terms.title,
|
||||||
text: nmd(terms.text),
|
text: nmd(terms.text),
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ type Trigger {
|
||||||
}
|
}
|
||||||
|
|
||||||
type TermsDetails {
|
type TermsDetails {
|
||||||
|
tcPhoto: Boolean!
|
||||||
delay: Boolean!
|
delay: Boolean!
|
||||||
title: String!
|
title: String!
|
||||||
accept: String!
|
accept: String!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue