publishCurrentVersion abstract method
Atomically publishes the document's current draft as a new version.
The server snapshots the current CRDT HLC, creates a new version row with status=published, and upserts the published_documents row — all in a single transaction.
documentId - The ID of the document to publish
Returns the newly created DocumentVersion with published status.
Throws DeskDataSourceException if the operation fails. Throws DeskAuthenticationException if authentication is required.
Implementation
Future<DocumentVersion> publishCurrentVersion(String documentId);