OutOfSyncReasons

Type: Object

This indicates the reason why the document is considered to be out of sync.

Retrieve it through the useRemoteDocumentState hook.

Static properties

OutOfSyncReasons.ACCESS_FORBIDDEN

Type: String

Indicates that the CMS returned a 403 status for this document on the lock, save or state endpoints.

OutOfSyncReasons.CMS_REVISION_CHANGED

Type: String

Indicates that the CMS returned a revisionId for this document on the lock, save or state endpoints that did not match the last known revisionId. This means that the version of the document known to the CMS is no longer the same as the one last loaded or saved in the editor.

OutOfSyncReasons.NOT_FOUND

Type: String

Indicates that the CMS returned a 404 status for this document on the lock, save or state endpoints.