DocumentDraft
A draft for editing a document
Fields
published_at
· ISO8601DateTime · When the document draft was published unlock_at
· ISO8601DateTime · When the current version lock expires Used By
Definition
"""A draft for editing a document"""type DocumentDraft { """ Annotations for document edits in JSON format """ annotations: JSON!
""" The document being edited """ document: Document!
""" The unique identifier of the document draft """ id: ID!
""" The current lock version """ lock_version: Int!
""" Whether the draft has an active lock """ locked: Boolean
""" The original document copied for editing """ original_document: Document!
""" Whether the draft has been published """ published: Boolean
""" When the document draft was published """ published_at: ISO8601DateTime
""" Enum status of draft or published """ status: DocumentDraftStatusTypeEnum!
""" When the current version lock expires """ unlock_at: ISO8601DateTime}