Documentation ¶
Index ¶
- type Attachment
- type AttachmentAPI
- type Automation
- type AutomationAPI
- type Chart
- type ChartAPI
- type DataPrivacy
- type DataPrivacyAPI
- type Icon
- type IconAPI
- type Module
- type ModuleAPI
- type Namespace
- type NamespaceAPI
- type Notification
- type NotificationAPI
- type Page
- type PageAPI
- type PageLayout
- type PageLayoutAPI
- type Permissions
- type PermissionsAPI
- type Record
- type RecordAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { List func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Original func(http.ResponseWriter, *http.Request) Preview func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewAttachment ¶
func NewAttachment(h AttachmentAPI) *Attachment
func (Attachment) MountRoutes ¶
func (h Attachment) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type AttachmentAPI ¶
type AttachmentAPI interface { List(context.Context, *request.AttachmentList) (interface{}, error) Read(context.Context, *request.AttachmentRead) (interface{}, error) Delete(context.Context, *request.AttachmentDelete) (interface{}, error) Original(context.Context, *request.AttachmentOriginal) (interface{}, error) Preview(context.Context, *request.AttachmentPreview) (interface{}, error) }
Internal API interface
type Automation ¶
type Automation struct { List func(http.ResponseWriter, *http.Request) Bundle func(http.ResponseWriter, *http.Request) TriggerScript func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewAutomation ¶
func NewAutomation(h AutomationAPI) *Automation
func (Automation) MountRoutes ¶
func (h Automation) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type AutomationAPI ¶
type AutomationAPI interface { List(context.Context, *request.AutomationList) (interface{}, error) Bundle(context.Context, *request.AutomationBundle) (interface{}, error) TriggerScript(context.Context, *request.AutomationTriggerScript) (interface{}, error) }
Internal API interface
type Chart ¶
type Chart struct { List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) ListTranslations func(http.ResponseWriter, *http.Request) UpdateTranslations func(http.ResponseWriter, *http.Request) }
HTTP API interface
type ChartAPI ¶
type ChartAPI interface { List(context.Context, *request.ChartList) (interface{}, error) Create(context.Context, *request.ChartCreate) (interface{}, error) Read(context.Context, *request.ChartRead) (interface{}, error) Update(context.Context, *request.ChartUpdate) (interface{}, error) Delete(context.Context, *request.ChartDelete) (interface{}, error) ListTranslations(context.Context, *request.ChartListTranslations) (interface{}, error) UpdateTranslations(context.Context, *request.ChartUpdateTranslations) (interface{}, error) }
Internal API interface
type DataPrivacy ¶
type DataPrivacy struct { RecordList func(http.ResponseWriter, *http.Request) ModuleList func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewDataPrivacy ¶
func NewDataPrivacy(h DataPrivacyAPI) *DataPrivacy
func (DataPrivacy) MountRoutes ¶
func (h DataPrivacy) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type DataPrivacyAPI ¶
type DataPrivacyAPI interface { RecordList(context.Context, *request.DataPrivacyRecordList) (interface{}, error) ModuleList(context.Context, *request.DataPrivacyModuleList) (interface{}, error) }
Internal API interface
type Icon ¶
type Icon struct { List func(http.ResponseWriter, *http.Request) Upload func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) }
HTTP API interface
type IconAPI ¶
type IconAPI interface { List(context.Context, *request.IconList) (interface{}, error) Upload(context.Context, *request.IconUpload) (interface{}, error) Delete(context.Context, *request.IconDelete) (interface{}, error) }
Internal API interface
type Module ¶
type Module struct { List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) TriggerScript func(http.ResponseWriter, *http.Request) ListTranslations func(http.ResponseWriter, *http.Request) UpdateTranslations func(http.ResponseWriter, *http.Request) }
HTTP API interface
type ModuleAPI ¶
type ModuleAPI interface { List(context.Context, *request.ModuleList) (interface{}, error) Create(context.Context, *request.ModuleCreate) (interface{}, error) Read(context.Context, *request.ModuleRead) (interface{}, error) Update(context.Context, *request.ModuleUpdate) (interface{}, error) Delete(context.Context, *request.ModuleDelete) (interface{}, error) TriggerScript(context.Context, *request.ModuleTriggerScript) (interface{}, error) ListTranslations(context.Context, *request.ModuleListTranslations) (interface{}, error) UpdateTranslations(context.Context, *request.ModuleUpdateTranslations) (interface{}, error) }
Internal API interface
type Namespace ¶
type Namespace struct { List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Upload func(http.ResponseWriter, *http.Request) Clone func(http.ResponseWriter, *http.Request) Export func(http.ResponseWriter, *http.Request) ImportInit func(http.ResponseWriter, *http.Request) ImportRun func(http.ResponseWriter, *http.Request) TriggerScript func(http.ResponseWriter, *http.Request) ListTranslations func(http.ResponseWriter, *http.Request) UpdateTranslations func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewNamespace ¶
func NewNamespace(h NamespaceAPI) *Namespace
type NamespaceAPI ¶
type NamespaceAPI interface { List(context.Context, *request.NamespaceList) (interface{}, error) Create(context.Context, *request.NamespaceCreate) (interface{}, error) Read(context.Context, *request.NamespaceRead) (interface{}, error) Update(context.Context, *request.NamespaceUpdate) (interface{}, error) Delete(context.Context, *request.NamespaceDelete) (interface{}, error) Upload(context.Context, *request.NamespaceUpload) (interface{}, error) Clone(context.Context, *request.NamespaceClone) (interface{}, error) Export(context.Context, *request.NamespaceExport) (interface{}, error) ImportInit(context.Context, *request.NamespaceImportInit) (interface{}, error) ImportRun(context.Context, *request.NamespaceImportRun) (interface{}, error) TriggerScript(context.Context, *request.NamespaceTriggerScript) (interface{}, error) ListTranslations(context.Context, *request.NamespaceListTranslations) (interface{}, error) UpdateTranslations(context.Context, *request.NamespaceUpdateTranslations) (interface{}, error) }
Internal API interface
type Notification ¶
type Notification struct {
EmailSend func(http.ResponseWriter, *http.Request)
}
HTTP API interface
func NewNotification ¶
func NewNotification(h NotificationAPI) *Notification
func (Notification) MountRoutes ¶
func (h Notification) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type NotificationAPI ¶
type NotificationAPI interface {
EmailSend(context.Context, *request.NotificationEmailSend) (interface{}, error)
}
Internal API interface
type Page ¶
type Page struct { List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Tree func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Reorder func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Upload func(http.ResponseWriter, *http.Request) TriggerScript func(http.ResponseWriter, *http.Request) ListTranslations func(http.ResponseWriter, *http.Request) UpdateTranslations func(http.ResponseWriter, *http.Request) UpdateIcon func(http.ResponseWriter, *http.Request) }
HTTP API interface
type PageAPI ¶
type PageAPI interface { List(context.Context, *request.PageList) (interface{}, error) Create(context.Context, *request.PageCreate) (interface{}, error) Read(context.Context, *request.PageRead) (interface{}, error) Tree(context.Context, *request.PageTree) (interface{}, error) Update(context.Context, *request.PageUpdate) (interface{}, error) Reorder(context.Context, *request.PageReorder) (interface{}, error) Delete(context.Context, *request.PageDelete) (interface{}, error) Upload(context.Context, *request.PageUpload) (interface{}, error) TriggerScript(context.Context, *request.PageTriggerScript) (interface{}, error) ListTranslations(context.Context, *request.PageListTranslations) (interface{}, error) UpdateTranslations(context.Context, *request.PageUpdateTranslations) (interface{}, error) UpdateIcon(context.Context, *request.PageUpdateIcon) (interface{}, error) }
Internal API interface
type PageLayout ¶
type PageLayout struct { ListNamespace func(http.ResponseWriter, *http.Request) List func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Reorder func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Undelete func(http.ResponseWriter, *http.Request) ListTranslations func(http.ResponseWriter, *http.Request) UpdateTranslations func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewPageLayout ¶
func NewPageLayout(h PageLayoutAPI) *PageLayout
func (PageLayout) MountRoutes ¶
func (h PageLayout) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type PageLayoutAPI ¶
type PageLayoutAPI interface { ListNamespace(context.Context, *request.PageLayoutListNamespace) (interface{}, error) List(context.Context, *request.PageLayoutList) (interface{}, error) Create(context.Context, *request.PageLayoutCreate) (interface{}, error) Read(context.Context, *request.PageLayoutRead) (interface{}, error) Update(context.Context, *request.PageLayoutUpdate) (interface{}, error) Reorder(context.Context, *request.PageLayoutReorder) (interface{}, error) Delete(context.Context, *request.PageLayoutDelete) (interface{}, error) Undelete(context.Context, *request.PageLayoutUndelete) (interface{}, error) ListTranslations(context.Context, *request.PageLayoutListTranslations) (interface{}, error) UpdateTranslations(context.Context, *request.PageLayoutUpdateTranslations) (interface{}, error) }
Internal API interface
type Permissions ¶
type Permissions struct { List func(http.ResponseWriter, *http.Request) Effective func(http.ResponseWriter, *http.Request) Trace func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) }
HTTP API interface
func NewPermissions ¶
func NewPermissions(h PermissionsAPI) *Permissions
func (Permissions) MountRoutes ¶
func (h Permissions) MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
type PermissionsAPI ¶
type PermissionsAPI interface { List(context.Context, *request.PermissionsList) (interface{}, error) Effective(context.Context, *request.PermissionsEffective) (interface{}, error) Trace(context.Context, *request.PermissionsTrace) (interface{}, error) Read(context.Context, *request.PermissionsRead) (interface{}, error) Delete(context.Context, *request.PermissionsDelete) (interface{}, error) Update(context.Context, *request.PermissionsUpdate) (interface{}, error) }
Internal API interface
type Record ¶
type Record struct { Report func(http.ResponseWriter, *http.Request) List func(http.ResponseWriter, *http.Request) ImportInit func(http.ResponseWriter, *http.Request) ImportRun func(http.ResponseWriter, *http.Request) ImportProgress func(http.ResponseWriter, *http.Request) Export func(http.ResponseWriter, *http.Request) Exec func(http.ResponseWriter, *http.Request) Create func(http.ResponseWriter, *http.Request) Read func(http.ResponseWriter, *http.Request) Update func(http.ResponseWriter, *http.Request) Patch func(http.ResponseWriter, *http.Request) BulkDelete func(http.ResponseWriter, *http.Request) Delete func(http.ResponseWriter, *http.Request) Undelete func(http.ResponseWriter, *http.Request) BulkUndelete func(http.ResponseWriter, *http.Request) Upload func(http.ResponseWriter, *http.Request) TriggerScript func(http.ResponseWriter, *http.Request) TriggerScriptOnList func(http.ResponseWriter, *http.Request) Revisions func(http.ResponseWriter, *http.Request) }
HTTP API interface
type RecordAPI ¶
type RecordAPI interface { Report(context.Context, *request.RecordReport) (interface{}, error) List(context.Context, *request.RecordList) (interface{}, error) ImportInit(context.Context, *request.RecordImportInit) (interface{}, error) ImportRun(context.Context, *request.RecordImportRun) (interface{}, error) ImportProgress(context.Context, *request.RecordImportProgress) (interface{}, error) Export(context.Context, *request.RecordExport) (interface{}, error) Exec(context.Context, *request.RecordExec) (interface{}, error) Create(context.Context, *request.RecordCreate) (interface{}, error) Read(context.Context, *request.RecordRead) (interface{}, error) Update(context.Context, *request.RecordUpdate) (interface{}, error) Patch(context.Context, *request.RecordPatch) (interface{}, error) BulkDelete(context.Context, *request.RecordBulkDelete) (interface{}, error) Delete(context.Context, *request.RecordDelete) (interface{}, error) Undelete(context.Context, *request.RecordUndelete) (interface{}, error) BulkUndelete(context.Context, *request.RecordBulkUndelete) (interface{}, error) Upload(context.Context, *request.RecordUpload) (interface{}, error) TriggerScript(context.Context, *request.RecordTriggerScript) (interface{}, error) TriggerScriptOnList(context.Context, *request.RecordTriggerScriptOnList) (interface{}, error) Revisions(context.Context, *request.RecordRevisions) (interface{}, error) }
Internal API interface
Click to show internal directories.
Click to hide internal directories.