Skip to main content

AiReviewDocument

A grid row with cells on it.

Review-scoped, not run-scoped. Everything but the ids is read live from the document index on each render, so a rename or a renumber in the data room shows without a write here.

type AiReviewDocument {
documentId: ID!
documentFileId: Int!
documentName: String!
documentNumber: String
extension: String
isStale: Boolean!
document: DataRoomDocument
}

Fields​

AiReviewDocument.documentId ● ID! non-null scalar​

The document, addressed the way every other subgraph addresses it.

AiReviewDocument.documentFileId ● Int! non-null scalar​

The file resolved at creation. The one every cell on this row was extracted from.

AiReviewDocument.documentName ● String! non-null scalar​

AiReviewDocument.documentNumber ● String scalar​

AiReviewDocument.extension ● String scalar​

AiReviewDocument.isStale ● Boolean! non-null scalar​

The document's current file is not the one this row's cells came from, so someone uploaded a replacement. A highlight, not a block: the row still reads and still runs against the stored file.

AiReviewDocument.document ● DataRoomDocument object​

The live document, for current name and permissions.

Nullable because we only hand the router a reference: a document deleted or hidden since selection resolves to null, which is the signal the grid needs.

Member Of​

AiReview object