Update schema

This commit is contained in:
Ramon Wenger 2022-11-23 14:26:12 +01:00
parent 1a315b1d62
commit 66d1b3f532
1 changed files with 47 additions and 0 deletions

View File

@ -1,5 +1,6 @@
schema {
query: Query
mutation: Mutation
}
type BlockQuoteBlock implements StreamFieldInterface {
@ -275,6 +276,11 @@ type EmbedBlock implements StreamFieldInterface {
rawEmbed: JSONString
}
type ErrorType {
field: String!
messages: [String!]!
}
type FloatBlock implements StreamFieldInterface {
id: String
blockType: String!
@ -598,6 +604,10 @@ type MediaLibraryPage implements PageInterface {
ancestors(limit: PositiveInt, offset: PositiveInt, order: String, searchQuery: String, id: ID): [PageInterface!]!
}
type Mutation {
sendFeedback(input: SendFeedbackInput!): SendFeedbackPayload
}
type Page implements PageInterface {
id: ID
path: String!
@ -779,6 +789,43 @@ type SecurityRequestResponseLog {
id: ID
}
input SendFeedbackInput {
id: Int
satisfaction: Int!
goalAttainment: Int!
proficiency: Int!
receivedMaterials: Boolean!
materialsRating: Int
instructorCompetence: Int!
instructorRespect: Int!
instructorOpenFeedback: String!
wouldRecommend: Boolean!
coursePositiveFeedback: String!
courseNegativeFeedback: String!
howDiscovered: String!
motivation: String!
clientMutationId: String
}
type SendFeedbackPayload {
id: Int
satisfaction: Int
goalAttainment: Int
proficiency: Int
receivedMaterials: Boolean
materialsRating: Int
instructorCompetence: Int
instructorRespect: Int
instructorOpenFeedback: String
wouldRecommend: Boolean
coursePositiveFeedback: String
courseNegativeFeedback: String
howDiscovered: String
motivation: String
errors: [ErrorType]
clientMutationId: String
}
type SiteObjectType {
id: ID!
hostname: String!