You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.8 KiB
91 lines
1.8 KiB
"""
|
|
A Comment represents a comment to a story chapter.
|
|
"""
|
|
type Comment {
|
|
"A unique ID of the change."
|
|
id: String!
|
|
|
|
"subject"
|
|
subject: String!
|
|
|
|
"The chapter ID the comment belongs to."
|
|
chapterId: String!
|
|
|
|
"The comment's author."
|
|
author: String!
|
|
|
|
"The displayed name of the character. This may be the same as character.name, but it does not need to be."
|
|
characterName: String!
|
|
|
|
"The character associated with the comment."
|
|
character: Character
|
|
|
|
"The fictional (IC) date of the comment."
|
|
fictionalDate: Time
|
|
|
|
"The date of creation."
|
|
createdDate: Time!
|
|
|
|
"The date of the last edit."
|
|
editedDate: Time!
|
|
|
|
"The markdown source of the comment."
|
|
source: String!
|
|
}
|
|
|
|
"""
|
|
Input for the addComment mutation
|
|
"""
|
|
input CommentAddInput {
|
|
"What chapter to comment on."
|
|
chapterId: String!
|
|
|
|
"The markdown source of the comment."
|
|
source: String!
|
|
|
|
"The name of the character associated with this comment."
|
|
characterName: String!
|
|
|
|
"Optioanlly, a character ID."
|
|
characterId: String
|
|
|
|
"Optional in-universe date of the comment."
|
|
fictionalDate: Time
|
|
|
|
"Optional subject to add to the comment, only shown in some modes."
|
|
subject: String
|
|
}
|
|
|
|
"""
|
|
Input for the editComment mutation
|
|
"""
|
|
input CommentEditInput {
|
|
"What comment to edit."
|
|
commentId: String!
|
|
|
|
"Change the markdown source."
|
|
source: String
|
|
|
|
"Change the name of the character associated with this comment."
|
|
characterName: String
|
|
|
|
"Change the character assocaited with this comment."
|
|
characterId: String
|
|
|
|
"Change the optional in-universe date of the comment."
|
|
fictionalDate: Time
|
|
|
|
"Set to clear the fictional date."
|
|
clearFictionalDate: Boolean
|
|
|
|
"Change the optional subject for the comment, only shown in some modes."
|
|
subject: String
|
|
}
|
|
|
|
"""
|
|
Input for the removeComment mutation
|
|
"""
|
|
input CommentRemoveInput {
|
|
"What comment to edit."
|
|
commentId: String!
|
|
}
|