Documentation ¶
Overview ¶
Package models describes the communication format between JS snd Go. Models are not persisted entities - they are object models that are marshalled between the backend and the consumer (UI).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptSharedFolderModel ¶
type AcceptSharedFolderModel struct {}
AcceptSharedFolderModel is used to setup a user who has accepted a shared folder.
type AuthenticationModel ¶
AuthenticationModel details authentication token and user details.
type DocumentActivity ¶ added in v1.48.2
type DocumentActivity struct { ID int `json:"id"` OrgID string `json:"orgId"` LabelID string `json:"folderId"` DocumentID string `json:"documentId"` UserID string `json:"userId"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` ActivityType int `json:"activityType"` Created time.Time `json:"created"` }
DocumentActivity represents an activity taken against a document.
type DocumentUploadModel ¶
type DocumentUploadModel struct {
JobID string `json:"jobId"`
}
DocumentUploadModel details the job ID of an uploaded document.
type FolderInvitationModel ¶
FolderInvitationModel details which users have been invited to a folder.
type FolderRolesModel ¶
FolderRolesModel details which users have what permissions on a given folder.
type PageLevelRequestModel ¶
PageLevelRequestModel details a page ID and level.
type PageSequenceRequestModel ¶
type PageSequenceRequestModel struct { PageID string `json:"pageId"` Sequence float64 `json:"sequence"` }
PageSequenceRequestModel details a page ID and its sequence within the document.