From c023187efcc50648085a920bb28d0268be1a2256 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Tue, 9 Jun 2020 16:59:18 +0200 Subject: [PATCH] update schema file --- schema.graphql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/schema.graphql b/schema.graphql index fc9ed4b..1866756 100644 --- a/schema.graphql +++ b/schema.graphql @@ -133,6 +133,13 @@ type PagerForm { total: Int! } +type PagerSetting { + entries: [Setting!]! + limit: Int! + start: Int! + total: Int! +} + type PagerSubmission { entries: [Submission!]! limit: Int! @@ -163,6 +170,8 @@ type Profile { type Query { getFormById(id: ID!): Form! getFormStatistic: FormStatistic! + getSetting(key: ID!): Setting! + getSettings: PagerSetting! getSubmissionStatistic: SubmissionStatistic! getUserById(id: ID!): User! getUserStatistic: UserStatistic! @@ -189,6 +198,13 @@ type SelfNotificationsModel implements Notification { toEmail: String } +type Setting { + isFalse: Boolean! + isTrue: Boolean! + key: ID! + value: String! +} + type Submission { created: DateTime! device: Device!