Skip to content

DocumentViewing

Information about a document being opened

Fields

cursor · Cursor! · required · Pagination cursor
document_id · ID! · required · The ID of the document that was opened
id · ID! · required · The unique identifier of the viewing
user · User · The user who opened the document
user_id · ID! · required · The ID of the user who opened the document
viewed_at · String! · required · When the document was opened

Used By

Definition

"""
Information about a document being opened
"""
type DocumentViewing {
"""
Pagination cursor
"""
cursor: Cursor!
"""
The ID of the document that was opened
"""
document_id: ID!
"""
The unique identifier of the viewing
"""
id: ID!
"""
The user who opened the document
"""
user: User
"""
The ID of the user who opened the document
"""
user_id: ID!
"""
When the document was opened
"""
viewed_at: String!
}