# Constants
ActivitySourceTypeDocument indicates activity against a document.
ActivitySourceTypeSpace indicates activity against a space.
ActivityTypeApproved records user approval of document.
ActivityTypeArchived records user archiving space/document.
ActivityTypeCreated records user document creation.
ActivityTypeDeleted records user deleting space/document.
ActivityTypeEdited states user has editing document.
ActivityTypeFeedback records user providing document feedback.
ActivityTypePublishedBlock records user creating reusable content block.
ActivityTypePublishedTemplate records user creating new document template.
ActivityTypeRead states user has read document.
ActivityTypeReverted records user content roll-back to previous version.
FolderTypePrivate can only be seen by the person who owns it.
FolderTypePublic can be seen by anyone.
FolderTypeRestricted can be seen by selected users.
TemplateTypePrivate means only the owner can see the template.
TemplateTypePublic means anyone can see the template.
TemplateTypeRestricted means selected users can see the template.
# Structs
Account links a User to an Organization.
Attachment represents an attachment to a document.
BaseEntity contains the database fields used in every table.
BaseEntityObfuscated is a mirror of BaseEntity, but with the fields invisible to JSON.
Block represents a section that has been published as a reusable content block.
Document represents a document.
DocumentMeta details who viewed the document.
DocumentMetaEditor contains the "edit" metatdata content.
DocumentMetaViewer contains the "view" metatdata content.
DocumentSearch represents 'presentable' search results.
FolderVisibility details who can see a particular folder.
Label defines a container for documents.
LabelRole determines user permissions for a folder.
Link defines a reference between a section and another document/section/attachment.
LinkCandidate defines a potential link to a document/section/attachment.
NullTime represents a time.Time that may be null.
Organization defines a company that uses this app.
Page represents a section within a document.
PageMeta holds raw page data that is used to render the actual page data.
Pin defines a saved link to a document or space.
Revision holds the previous version of a Page.
Search holds raw search results.
SitemapDocument details a document that can be exposed via Sitemap.
SiteMeta holds information associated with an Organization.
Template is used to create a new document.
User defines a login.
UserActivity represents an activity undertaken by a user.
# Type aliases
ActivitySourceType details where the activity occured.
ActivityType determines type of user activity.
FolderType determines folder visibility.
TemplateType determines who can see a template.