mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Support for document draft-live publication workflows
This commit is contained in:
parent
bde0091a4a
commit
9235c183c5
14 changed files with 828 additions and 697 deletions
|
@ -13,6 +13,7 @@ package space
|
|||
|
||||
import (
|
||||
"github.com/documize/community/model"
|
||||
"github.com/documize/community/model/workflow"
|
||||
)
|
||||
|
||||
// Space defines a container for documents.
|
||||
|
@ -22,6 +23,10 @@ type Space struct {
|
|||
OrgID string `json:"orgId"`
|
||||
UserID string `json:"userId"`
|
||||
Type Scope `json:"folderType"`
|
||||
|
||||
// Lifecycle stores the default value all new documents are given upon creation.
|
||||
Lifecycle workflow.Lifecycle `json:"lifecycle"`
|
||||
|
||||
// Likes stores the question to ask the user such as 'Did this help you?'.
|
||||
// An empty value tells us liking is not allowed.
|
||||
Likes string `json:"likes"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue