Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Commit

Permalink
update schema file
Browse files Browse the repository at this point in the history
  • Loading branch information
wodka committed Jun 9, 2020
1 parent b07443c commit c023187
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ type PagerForm {
total: Int!
}

type PagerSetting {
entries: [Setting!]!
limit: Int!
start: Int!
total: Int!
}

type PagerSubmission {
entries: [Submission!]!
limit: Int!
Expand Down Expand Up @@ -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!
Expand All @@ -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!
Expand Down

0 comments on commit c023187

Please sign in to comment.