-
Notifications
You must be signed in to change notification settings - Fork 7
Question Confirmation Playback
Samiwel Thomas edited this page Nov 6, 2018
·
1 revision
This document describes the Author team's collective understanding of how the confirmation/playback question pattern will be represented in the GraphQL schema and database. This document is the result of a whiteboard design session held by the team on 05/11/2018.
type QuestionConfirmation {
id: ID!
title: String
questionPage: QuestionPage!
positive: ConfirmationOption!
negative: ConfirmationOption!
}
type ConfirmationOption {
label: String
description: String
}
createQuestionConfirmation(input: CreateQuestionConfirmationInput!): QuestionConfirmation!
updateQuestionConfirmation(input: UpdateQuestionConfirmationInput!): QuestionConfirmation!
deleteQuestionConfirmation(input: DeleteQuestionConfirmationInput!): QuestionConfirmation!
undeleteQuestionConfirmation(input: UndeleteQuestionConfirmationInput!): QuestionConfirmation!