mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Provider foundation for doc lifecycle and versions
This commit is contained in:
parent
4e32bffebe
commit
958f4d30b9
19 changed files with 918 additions and 782 deletions
|
@ -63,3 +63,17 @@ const (
|
|||
// ChangePendingNew means a new section to a document is pending review
|
||||
ChangePendingNew ChangeStatus = 4
|
||||
)
|
||||
|
||||
// Lifecycle tells us if document is in Draft, Live, Archived
|
||||
type Lifecycle int
|
||||
|
||||
const (
|
||||
// LifecycleDraft means document is in draft mode with restricted viewing
|
||||
LifecycleDraft Lifecycle = 0
|
||||
|
||||
// LifecycleLive means document can be seen by all
|
||||
LifecycleLive Lifecycle = 1
|
||||
|
||||
// LifecycleArchived means document has been archived
|
||||
LifecycleArchived Lifecycle = 2
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue