OBJECT

DocumentComment

A DocumentComment representing a comment left on a Document.

link GraphQL Schema definition

  • type DocumentComment implements Node {
  • # A globally unique identifier. Can be used in various places throughout the
  • # system to identify this single value.
  • id: ID!
  • rowId: UUID!
  • documentRowId: UUID!
  • commentedBy: UUID!
  • message: JSON!
  • createdAt: CreatedTime!
  • # Reads a single `Document` that is related to this `DocumentComment`.
  • documentByDocumentRowId: Document!
  • # Reads a single `User` that is related to this `DocumentComment`.
  • userByCommentedBy: User!
  • # Reads and enables pagination through a set of `DocumentCommentLike`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentCommentLike`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • documentCommentLikesByDocumentCommentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentCommentLikesOrderBy!],
  • condition: DocumentCommentLikeCondition
  • ): DocumentCommentLikesConnection!
  • # Reads and enables pagination through a set of `DocumentCommentSeen`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentCommentSeen`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • documentCommentSeensByDocumentCommentRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentCommentSeensOrderBy!],
  • condition: DocumentCommentSeenCondition
  • ): DocumentCommentSeensConnection!
  • # Reads and enables pagination through a set of `DocumentCommentMessagePart`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor
  • # based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • messageParts(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor
  • ): DocumentCommentMessagePartsConnection!
  • textMessage: String!
  • }