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!