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 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.