INPUT_OBJECT

UpdateCommentInput

UpdateCommentInput is used for update Comment object. Input was generated by ent.

link GraphQL Schema definition

  • input UpdateCommentInput {
  • # Body of the comment
  • body: String
  • # The reflection prompt the user chose for this comment
  • reflectionPrompt: String
  • clearReflectionPrompt: Boolean
  • # The total number of likes this comment has
  • totalLikes: Int
  • createdAt: Time
  • updatedAt: Time
  • # Whether or not the user should earn credits for this comment
  • shouldEarnCredits: Boolean
  • # Whether or not the user earned credits for this comment
  • didEarnCredits: Boolean
  • # Whether or not the credit was approved
  • creditWasApproved: Boolean
  • clearCreditWasApproved: Boolean
  • # The version of the reflection analysis algorithm used to analyze this comment.
  • #
  • # Version 1 is the original version, and is synchronous and the results are
  • # available immediately.
  • #
  • # - DidEarnCredits is set to true if the comment is approved.
  • #
  • # - ReflectionAnalysisResults is set to the results of the analysis.
  • #
  • # Version 2 is the newest version, and is asynchronous. Poll completedAt on the
  • # ReflectionAnalysis field to see if the comment was approved.
  • #
  • # - DidEarnCredits is set to true if the comment is approved.
  • #
  • # - ReflectionAnalysisResults is NOT set
  • #
  • # - See the ReflectionAnalysis field for details on the analysis.
  • #
  • # - If the comment was not approved, use the linked SparkyChat to continue the
  • # reflective process.
  • reflectionVersion: Int
  • authorID: ID
  • clearAuthor: Boolean
  • postID: ID
  • clearPost: Boolean
  • parentID: ID
  • clearParent: Boolean
  • addReplyIDs: [ID!]
  • removeReplyIDs: [ID!]
  • clearReplies: Boolean
  • educationCreditID: ID
  • clearEducationCredit: Boolean
  • addCommentNamedEntityIDs: [ID!]
  • removeCommentNamedEntityIDs: [ID!]
  • clearCommentNamedEntities: Boolean
  • reviewedByID: ID
  • clearReviewedBy: Boolean
  • addSparkyConversationIDs: [ID!]
  • removeSparkyConversationIDs: [ID!]
  • clearSparkyConversations: Boolean
  • addLikedUserIDs: [ID!]
  • removeLikedUserIDs: [ID!]
  • clearLikedUsers: Boolean
  • sparkyChatID: ID
  • clearSparkyChat: Boolean
  • reflectionAnalysisID: ID
  • clearReflectionAnalysis: Boolean
  • }

link Require by

This element is not required by anyone