method
BoundTypedGlobal.RestoreAsDraft
func (global BoundTypedGlobal[Document, Update]) RestoreAsDraft(
ctx context.Context,
revision,
expectedRevision int,
actor *store.Document,
) (Document, error)Public method BoundTypedGlobal.RestoreAsDraft from github.com/riducms/ridu/core.
Related types
BoundTypedGlobalTyped Find, Update, Publish, Unpublish, Restore, and RestoreAsDraft methods.
DocumentA stored document with status and version metadata.