Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptShareModel ¶
type AcceptShareModel struct {}
AcceptShareModel is used to setup a user who has accepted a shared space.
type InvitationModel ¶
InvitationModel details which users have been invited to a space.
type NewSpaceRequest ¶ added in v1.53.0
type NewSpaceRequest struct { Name string `json:"name"` CloneID string `json:"cloneID"` // existing space to clone, empty = no cloning CopyTemplate bool `json:"copyTemplate"` // copy templates and reusable content blocks CopyPermission bool `json:"copyPermission"` // copy uer permissions CopyDocument bool `json:"copyDocument"` // copy all documents! }
NewSpaceRequest details the new space to create.
type Space ¶
type Space struct { model.BaseEntity Name string `json:"name"` OrgID string `json:"orgId"` UserID string `json:"userId"` Type Scope `json:"folderType"` // 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"` }
Space defines a container for documents.
func (*Space) IsRestricted ¶
IsRestricted means the folder can be seen by selected users.
Click to show internal directories.
Click to hide internal directories.