Documentation
¶
Index ¶
- Constants
- Variables
- func AccessControl(s store.Storer) *accessControl
- func AccessControlActionGrant(props ...*accessControlActionProps) *accessControlAction
- func AccessControlErrGeneric(mm ...*accessControlActionProps) *errors.Error
- func AccessControlErrNotAllowedToSetPermissions(mm ...*accessControlActionProps) *errors.Error
- func Activate(ctx context.Context) (err error)
- func Attachment(store objstore.Store, dal dalDater) *attachment
- func AttachmentActionCreate(props ...*attachmentActionProps) *attachmentAction
- func AttachmentActionDelete(props ...*attachmentActionProps) *attachmentAction
- func AttachmentActionLookup(props ...*attachmentActionProps) *attachmentAction
- func AttachmentActionSearch(props ...*attachmentActionProps) *attachmentAction
- func AttachmentErrFailedToExtractMimeType(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrFailedToProcessImage(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrFailedToStoreFile(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrGeneric(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrInvalidID(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrInvalidModuleField(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrInvalidModuleID(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrInvalidNamespaceID(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrInvalidPageID(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrInvalidRecordID(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrModuleNotFound(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNamespaceNotFound(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToCreate(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToCreateEmptyAttachment(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToCreateRecords(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToListAttachments(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToRead(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToReadNamespace(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToReadPage(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToReadRecord(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToSearch(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToUpdateNamespace(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToUpdatePage(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToUpdateRecord(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotAllowedToUploadThisType(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrNotFound(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrPageNotFound(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrRecordNotFound(mm ...*attachmentActionProps) *errors.Error
- func AttachmentErrTooLarge(mm ...*attachmentActionProps) *errors.Error
- func CalcRecordOwner(current, new, invoker uint64) uint64
- func Chart() *chart
- func ChartActionCreate(props ...*chartActionProps) *chartAction
- func ChartActionDelete(props ...*chartActionProps) *chartAction
- func ChartActionLookup(props ...*chartActionProps) *chartAction
- func ChartActionReorder(props ...*chartActionProps) *chartAction
- func ChartActionSearch(props ...*chartActionProps) *chartAction
- func ChartActionUndelete(props ...*chartActionProps) *chartAction
- func ChartActionUpdate(props ...*chartActionProps) *chartAction
- func ChartErrGeneric(mm ...*chartActionProps) *errors.Error
- func ChartErrHandleNotUnique(mm ...*chartActionProps) *errors.Error
- func ChartErrInvalidHandle(mm ...*chartActionProps) *errors.Error
- func ChartErrInvalidID(mm ...*chartActionProps) *errors.Error
- func ChartErrInvalidNamespaceID(mm ...*chartActionProps) *errors.Error
- func ChartErrModuleNotFound(mm ...*chartActionProps) *errors.Error
- func ChartErrNamespaceNotFound(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToCreate(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToDelete(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToRead(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToReadNamespace(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToSearch(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToUndelete(mm ...*chartActionProps) *errors.Error
- func ChartErrNotAllowedToUpdate(mm ...*chartActionProps) *errors.Error
- func ChartErrNotFound(mm ...*chartActionProps) *errors.Error
- func ChartErrStaleData(mm ...*chartActionProps) *errors.Error
- func ComposeRecordFilterAC(ctx context.Context, ac recordValueAccessController, m *types.Module, ...)
- func ComposeRecordFilterChecker(ctx context.Context, ac recordAccessController, m *types.Module) func(*types.Record) (bool, error)
- func DalModelReload(ctx context.Context, s store.Storer, am schemaAltManager, dmm dalModelManager) (err error)
- func DalModelRemove(ctx context.Context, dmm dalModelManager, mm ...*types.Module) (err error)
- func DalModelReplace(ctx context.Context, s store.Storer, am schemaAltManager, dmm dalModelManager, ...) (err error)
- func DataPrivacy() *dataPrivacy
- func ImportSession() *importSession
- func Initialize(ctx context.Context, log *zap.Logger, s store.Storer, c Config) (err error)
- func Module(am schemaAltManager) *module
- func ModuleActionCreate(props ...*moduleActionProps) *moduleAction
- func ModuleActionDelete(props ...*moduleActionProps) *moduleAction
- func ModuleActionLookup(props ...*moduleActionProps) *moduleAction
- func ModuleActionSearch(props ...*moduleActionProps) *moduleAction
- func ModuleActionUndelete(props ...*moduleActionProps) *moduleAction
- func ModuleActionUpdate(props ...*moduleActionProps) *moduleAction
- func ModuleErrDedupConfigurationInvalidMissingConstraint(mm ...*moduleActionProps) *errors.Error
- func ModuleErrFieldNameReserved(mm ...*moduleActionProps) *errors.Error
- func ModuleErrGeneric(mm ...*moduleActionProps) *errors.Error
- func ModuleErrHandleNotUnique(mm ...*moduleActionProps) *errors.Error
- func ModuleErrInvalidHandle(mm ...*moduleActionProps) *errors.Error
- func ModuleErrInvalidID(mm ...*moduleActionProps) *errors.Error
- func ModuleErrInvalidNamespaceID(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNameNotUnique(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNamespaceNotFound(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToCreate(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToDelete(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToListModules(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToRead(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToReadNamespace(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToSearch(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToUndelete(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotAllowedToUpdate(mm ...*moduleActionProps) *errors.Error
- func ModuleErrNotFound(mm ...*moduleActionProps) *errors.Error
- func ModuleErrStaleData(mm ...*moduleActionProps) *errors.Error
- func ModuleToModel(ns *types.Namespace, mod *types.Module, inhIdent string) (model *dal.Model, err error)
- func ModulesToModelSet(dmm dalModelManager, ns *types.Namespace, mm ...*types.Module) (out dal.ModelSet, err error)
- func Namespace() *namespace
- func NamespaceActionClone(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionCreate(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionDelete(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionExport(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionImportInit(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionImportRun(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionLookup(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionReorder(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionSearch(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionUndelete(props ...*namespaceActionProps) *namespaceAction
- func NamespaceActionUpdate(props ...*namespaceActionProps) *namespaceAction
- func NamespaceErrCloneMultiple(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrGeneric(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrHandleNotUnique(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrImportMissingNamespace(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrImportSessionNotFound(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrInvalidHandle(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrInvalidID(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotAllowedToCreate(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotAllowedToDelete(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotAllowedToRead(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotAllowedToSearch(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotAllowedToUndelete(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotAllowedToUpdate(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrNotFound(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrStaleData(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrUnsupportedExportFormat(mm ...*namespaceActionProps) *errors.Error
- func NamespaceErrUnsupportedImportFormat(mm ...*namespaceActionProps) *errors.Error
- func Notification(uf userFinder) *notification
- func NotificationActionAttachmentDownload(props ...*notificationActionProps) *notificationAction
- func NotificationActionSend(props ...*notificationActionProps) *notificationAction
- func NotificationErrFailedToDownloadAttachment(mm ...*notificationActionProps) *errors.Error
- func NotificationErrFailedToLoadUser(mm ...*notificationActionProps) *errors.Error
- func NotificationErrGeneric(mm ...*notificationActionProps) *errors.Error
- func NotificationErrInvalidReceipientFormat(mm ...*notificationActionProps) *errors.Error
- func NotificationErrNoRecipients(mm ...*notificationActionProps) *errors.Error
- func Page() *page
- func PageActionCreate(props ...*pageActionProps) *pageAction
- func PageActionDelete(props ...*pageActionProps) *pageAction
- func PageActionLookup(props ...*pageActionProps) *pageAction
- func PageActionReorder(props ...*pageActionProps) *pageAction
- func PageActionSearch(props ...*pageActionProps) *pageAction
- func PageActionUndelete(props ...*pageActionProps) *pageAction
- func PageActionUpdate(props ...*pageActionProps) *pageAction
- func PageErrDeleteAbortedForPageWithSubpages(mm ...*pageActionProps) *errors.Error
- func PageErrGeneric(mm ...*pageActionProps) *errors.Error
- func PageErrHandleNotUnique(mm ...*pageActionProps) *errors.Error
- func PageErrInvalidHandle(mm ...*pageActionProps) *errors.Error
- func PageErrInvalidID(mm ...*pageActionProps) *errors.Error
- func PageErrInvalidNamespaceID(mm ...*pageActionProps) *errors.Error
- func PageErrModuleNotFound(mm ...*pageActionProps) *errors.Error
- func PageErrNamespaceNotFound(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToCreate(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToDelete(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToListPages(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToRead(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToReadNamespace(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToSearch(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToUndelete(mm ...*pageActionProps) *errors.Error
- func PageErrNotAllowedToUpdate(mm ...*pageActionProps) *errors.Error
- func PageErrNotFound(mm ...*pageActionProps) *errors.Error
- func PageErrStaleData(mm ...*pageActionProps) *errors.Error
- func PageErrUnknownDeleteStrategy(mm ...*pageActionProps) *errors.Error
- func PageLayout() *pageLayout
- func PageLayoutActionCreate(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutActionDelete(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutActionLookup(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutActionReorder(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutActionSearch(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutActionUndelete(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutActionUpdate(props ...*pageLayoutActionProps) *pageLayoutAction
- func PageLayoutErrGeneric(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrHandleNotUnique(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrInvalidHandle(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrInvalidID(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrInvalidNamespaceID(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrModuleNotFound(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNamespaceNotFound(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToCreate(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToDelete(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToListPageLayouts(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToRead(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToSearch(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToUndelete(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotAllowedToUpdate(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrNotFound(mm ...*pageLayoutActionProps) *errors.Error
- func PageLayoutErrStaleData(mm ...*pageLayoutActionProps) *errors.Error
- func Record(opts RecordOptions) *record
- func RecordActionBulk(props ...*recordActionProps) *recordAction
- func RecordActionCreate(props ...*recordActionProps) *recordAction
- func RecordActionDelete(props ...*recordActionProps) *recordAction
- func RecordActionExport(props ...*recordActionProps) *recordAction
- func RecordActionImport(props ...*recordActionProps) *recordAction
- func RecordActionIteratorClone(props ...*recordActionProps) *recordAction
- func RecordActionIteratorDelete(props ...*recordActionProps) *recordAction
- func RecordActionIteratorInvoked(props ...*recordActionProps) *recordAction
- func RecordActionIteratorIteration(props ...*recordActionProps) *recordAction
- func RecordActionIteratorUndelete(props ...*recordActionProps) *recordAction
- func RecordActionIteratorUpdate(props ...*recordActionProps) *recordAction
- func RecordActionLookup(props ...*recordActionProps) *recordAction
- func RecordActionOrganize(props ...*recordActionProps) *recordAction
- func RecordActionPatch(props ...*recordActionProps) *recordAction
- func RecordActionReport(props ...*recordActionProps) *recordAction
- func RecordActionSearch(props ...*recordActionProps) *recordAction
- func RecordActionSearchRevisions(props ...*recordActionProps) *recordAction
- func RecordActionSearchSensitive(props ...*recordActionProps) *recordAction
- func RecordActionUndelete(props ...*recordActionProps) *recordAction
- func RecordActionUpdate(props ...*recordActionProps) *recordAction
- func RecordErrFieldNotFound(mm ...*recordActionProps) *errors.Error
- func RecordErrGeneric(mm ...*recordActionProps) *errors.Error
- func RecordErrImportSessionAlreadActive(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidGroupFieldConfigMultiValue(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidID(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidModuleID(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidNamespaceID(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidPositionFieldConfigMultiValue(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidPositionFieldKind(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidPositionValueType(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidReferenceFormat(mm ...*recordActionProps) *errors.Error
- func RecordErrInvalidValueStructure(mm ...*recordActionProps) *errors.Error
- func RecordErrMaxRecordsReached(mm ...*recordActionProps) *errors.Error
- func RecordErrMissingGroupField(mm ...*recordActionProps) *errors.Error
- func RecordErrMissingPositionField(mm ...*recordActionProps) *errors.Error
- func RecordErrModuleNotFoundModule(mm ...*recordActionProps) *errors.Error
- func RecordErrNamespaceNotFound(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToChangeFieldValue(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToCreate(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToDelete(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToListRecords(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToRead(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToReadModule(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToReadNamespace(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToSearch(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToSearchRevisions(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToUndelete(mm ...*recordActionProps) *errors.Error
- func RecordErrNotAllowedToUpdate(mm ...*recordActionProps) *errors.Error
- func RecordErrNotFound(mm ...*recordActionProps) *errors.Error
- func RecordErrRevisionsDisabledOnModule(mm ...*recordActionProps) *errors.Error
- func RecordErrStaleData(mm ...*recordActionProps) *errors.Error
- func RecordErrUnknownBulkOperation(mm ...*recordActionProps) *errors.Error
- func RecordErrValueInput(mm ...*recordActionProps) *errors.Error
- func RecordPreparer(ctx context.Context, s store.Storer, ss recordValuesSanitizer, ...) *types.RecordValueErrorSet
- func RecordValueDefaults(m *types.Module, vv types.RecordValueSet) (out types.RecordValueSet)
- func RecordValueSanitization(m *types.Module, vv types.RecordValueSet) (err error)
- func RecordValueUpdateOpCheck(ctx context.Context, ac recordValueAccessController, m *types.Module, ...) *types.RecordValueErrorSet
- func RegisterIteratorProviders()
- func ResourceTranslationsManager(ls locale.Resource) *resourceTranslationsManager
- func SetRecordOwner(ctx context.Context, ac recordManageOwnerAccessController, s store.Storer, ...) *types.RecordValueErrorSet
- func Watchers(ctx context.Context)
- type AttachmentService
- type Config
- type DataPrivacyService
- type ErrorIndex
- type FailLog
- type ImportSessionService
- type ModuleService
- type NamespaceService
- type RecordImportProgress
- type RecordImportSession
- type RecordIndex
- type RecordOptions
- type RecordService
- type ResourceTranslationsManagerService
Constants ¶
const ( IMPORT_ON_ERROR_SKIP = "SKIP" IMPORT_ON_ERROR_FAIL = "FAIL" IMPORT_ERROR_MAX_INDEX_COUNT = 500000 )
Variables ¶
var ( DefaultObjectStore objstore.Store // DefaultStore is an interface to storage backend(s) // ng (next-gen) is a temporary prefix // so that we can differentiate between it and the file-only store DefaultStore store.Storer DefaultLogger *zap.Logger DefaultActionlog actionlog.Recorder // DefaultAccessControl Access control checking DefaultAccessControl *accessControl DefaultNamespace NamespaceService DefaultImportSession ImportSessionService DefaultRecord *record DefaultModule ModuleService DefaultChart *chart DefaultPage *page DefaultPageLayout *pageLayout DefaultAttachment AttachmentService DefaultNotification *notification DefaultResourceTranslation ResourceTranslationsManagerService DefaultDataPrivacy DataPrivacyService )
var ErrNotAllowedToManageResourceTranslations = errors.Unauthorized("not allowed to manage resource translations")
Functions ¶
func AccessControl ¶
func AccessControlActionGrant ¶
func AccessControlActionGrant(props ...*accessControlActionProps) *accessControlAction
AccessControlActionGrant returns "compose:access_control.grant" action
This function is auto-generated.
func AccessControlErrGeneric ¶
AccessControlErrGeneric returns "compose:access_control.generic" as *errors.Error
This function is auto-generated.
func AccessControlErrNotAllowedToSetPermissions ¶
AccessControlErrNotAllowedToSetPermissions returns "compose:access_control.notAllowedToSetPermissions" as *errors.Error
This function is auto-generated.
func Attachment ¶
func AttachmentActionCreate ¶
func AttachmentActionCreate(props ...*attachmentActionProps) *attachmentAction
AttachmentActionCreate returns "compose:attachment.create" action
This function is auto-generated.
func AttachmentActionDelete ¶
func AttachmentActionDelete(props ...*attachmentActionProps) *attachmentAction
AttachmentActionDelete returns "compose:attachment.delete" action
This function is auto-generated.
func AttachmentActionLookup ¶
func AttachmentActionLookup(props ...*attachmentActionProps) *attachmentAction
AttachmentActionLookup returns "compose:attachment.lookup" action
This function is auto-generated.
func AttachmentActionSearch ¶
func AttachmentActionSearch(props ...*attachmentActionProps) *attachmentAction
AttachmentActionSearch returns "compose:attachment.search" action
This function is auto-generated.
func AttachmentErrFailedToExtractMimeType ¶
AttachmentErrFailedToExtractMimeType returns "compose:attachment.failedToExtractMimeType" as *errors.Error
This function is auto-generated.
func AttachmentErrFailedToProcessImage ¶
AttachmentErrFailedToProcessImage returns "compose:attachment.failedToProcessImage" as *errors.Error
This function is auto-generated.
func AttachmentErrFailedToStoreFile ¶
AttachmentErrFailedToStoreFile returns "compose:attachment.failedToStoreFile" as *errors.Error
This function is auto-generated.
func AttachmentErrGeneric ¶
AttachmentErrGeneric returns "compose:attachment.generic" as *errors.Error
This function is auto-generated.
func AttachmentErrInvalidID ¶
AttachmentErrInvalidID returns "compose:attachment.invalidID" as *errors.Error
This function is auto-generated.
func AttachmentErrInvalidModuleField ¶
AttachmentErrInvalidModuleField returns "compose:attachment.invalidModuleField" as *errors.Error
This function is auto-generated.
func AttachmentErrInvalidModuleID ¶
AttachmentErrInvalidModuleID returns "compose:attachment.invalidModuleID" as *errors.Error
This function is auto-generated.
func AttachmentErrInvalidNamespaceID ¶
AttachmentErrInvalidNamespaceID returns "compose:attachment.invalidNamespaceID" as *errors.Error
This function is auto-generated.
func AttachmentErrInvalidPageID ¶
AttachmentErrInvalidPageID returns "compose:attachment.invalidPageID" as *errors.Error
This function is auto-generated.
func AttachmentErrInvalidRecordID ¶
AttachmentErrInvalidRecordID returns "compose:attachment.invalidRecordID" as *errors.Error
This function is auto-generated.
func AttachmentErrModuleNotFound ¶
AttachmentErrModuleNotFound returns "compose:attachment.moduleNotFound" as *errors.Error
This function is auto-generated.
func AttachmentErrNamespaceNotFound ¶
AttachmentErrNamespaceNotFound returns "compose:attachment.namespaceNotFound" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToCreate ¶
AttachmentErrNotAllowedToCreate returns "compose:attachment.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToCreateEmptyAttachment ¶
AttachmentErrNotAllowedToCreateEmptyAttachment returns "compose:attachment.notAllowedToCreateEmptyAttachment" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToCreateRecords ¶
AttachmentErrNotAllowedToCreateRecords returns "compose:attachment.notAllowedToCreateRecords" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToListAttachments ¶
AttachmentErrNotAllowedToListAttachments returns "compose:attachment.notAllowedToListAttachments" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToRead ¶
AttachmentErrNotAllowedToRead returns "compose:attachment.notAllowedToRead" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToReadNamespace ¶
AttachmentErrNotAllowedToReadNamespace returns "compose:attachment.notAllowedToReadNamespace" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToReadPage ¶
AttachmentErrNotAllowedToReadPage returns "compose:attachment.notAllowedToReadPage" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToReadRecord ¶
AttachmentErrNotAllowedToReadRecord returns "compose:attachment.notAllowedToReadRecord" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToSearch ¶
AttachmentErrNotAllowedToSearch returns "compose:attachment.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToUpdateNamespace ¶
AttachmentErrNotAllowedToUpdateNamespace returns "compose:attachment.notAllowedToUpdateNamespace" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToUpdatePage ¶
AttachmentErrNotAllowedToUpdatePage returns "compose:attachment.notAllowedToUpdatePage" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToUpdateRecord ¶
AttachmentErrNotAllowedToUpdateRecord returns "compose:attachment.notAllowedToUpdateRecord" as *errors.Error
This function is auto-generated.
func AttachmentErrNotAllowedToUploadThisType ¶
AttachmentErrNotAllowedToUploadThisType returns "compose:attachment.notAllowedToUploadThisType" as *errors.Error
This function is auto-generated.
func AttachmentErrNotFound ¶
AttachmentErrNotFound returns "compose:attachment.notFound" as *errors.Error
This function is auto-generated.
func AttachmentErrPageNotFound ¶
AttachmentErrPageNotFound returns "compose:attachment.pageNotFound" as *errors.Error
This function is auto-generated.
func AttachmentErrRecordNotFound ¶
AttachmentErrRecordNotFound returns "compose:attachment.recordNotFound" as *errors.Error
This function is auto-generated.
func AttachmentErrTooLarge ¶
AttachmentErrTooLarge returns "compose:attachment.tooLarge" as *errors.Error
This function is auto-generated.
func CalcRecordOwner ¶
func ChartActionCreate ¶
func ChartActionCreate(props ...*chartActionProps) *chartAction
ChartActionCreate returns "compose:chart.create" action
This function is auto-generated.
func ChartActionDelete ¶
func ChartActionDelete(props ...*chartActionProps) *chartAction
ChartActionDelete returns "compose:chart.delete" action
This function is auto-generated.
func ChartActionLookup ¶
func ChartActionLookup(props ...*chartActionProps) *chartAction
ChartActionLookup returns "compose:chart.lookup" action
This function is auto-generated.
func ChartActionReorder ¶
func ChartActionReorder(props ...*chartActionProps) *chartAction
ChartActionReorder returns "compose:chart.reorder" action
This function is auto-generated.
func ChartActionSearch ¶
func ChartActionSearch(props ...*chartActionProps) *chartAction
ChartActionSearch returns "compose:chart.search" action
This function is auto-generated.
func ChartActionUndelete ¶
func ChartActionUndelete(props ...*chartActionProps) *chartAction
ChartActionUndelete returns "compose:chart.undelete" action
This function is auto-generated.
func ChartActionUpdate ¶
func ChartActionUpdate(props ...*chartActionProps) *chartAction
ChartActionUpdate returns "compose:chart.update" action
This function is auto-generated.
func ChartErrGeneric ¶
ChartErrGeneric returns "compose:chart.generic" as *errors.Error
This function is auto-generated.
func ChartErrHandleNotUnique ¶
ChartErrHandleNotUnique returns "compose:chart.handleNotUnique" as *errors.Error
This function is auto-generated.
func ChartErrInvalidHandle ¶
ChartErrInvalidHandle returns "compose:chart.invalidHandle" as *errors.Error
This function is auto-generated.
func ChartErrInvalidID ¶
ChartErrInvalidID returns "compose:chart.invalidID" as *errors.Error
This function is auto-generated.
func ChartErrInvalidNamespaceID ¶
ChartErrInvalidNamespaceID returns "compose:chart.invalidNamespaceID" as *errors.Error
This function is auto-generated.
func ChartErrModuleNotFound ¶
ChartErrModuleNotFound returns "compose:chart.moduleNotFound" as *errors.Error
This function is auto-generated.
func ChartErrNamespaceNotFound ¶
ChartErrNamespaceNotFound returns "compose:chart.namespaceNotFound" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToCreate ¶
ChartErrNotAllowedToCreate returns "compose:chart.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToDelete ¶
ChartErrNotAllowedToDelete returns "compose:chart.notAllowedToDelete" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToRead ¶
ChartErrNotAllowedToRead returns "compose:chart.notAllowedToRead" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToReadNamespace ¶
ChartErrNotAllowedToReadNamespace returns "compose:chart.notAllowedToReadNamespace" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToSearch ¶
ChartErrNotAllowedToSearch returns "compose:chart.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToUndelete ¶
ChartErrNotAllowedToUndelete returns "compose:chart.notAllowedToUndelete" as *errors.Error
This function is auto-generated.
func ChartErrNotAllowedToUpdate ¶
ChartErrNotAllowedToUpdate returns "compose:chart.notAllowedToUpdate" as *errors.Error
This function is auto-generated.
func ChartErrNotFound ¶
ChartErrNotFound returns "compose:chart.notFound" as *errors.Error
This function is auto-generated.
func ChartErrStaleData ¶
ChartErrStaleData returns "compose:chart.staleData" as *errors.Error
This function is auto-generated.
func ComposeRecordFilterAC ¶
func ComposeRecordFilterAC(ctx context.Context, ac recordValueAccessController, m *types.Module, rr ...*types.Record)
checks record-value-read access permissions for all module fields and removes unreadable fields from all records
func DalModelReload ¶
func DalModelReload(ctx context.Context, s store.Storer, am schemaAltManager, dmm dalModelManager) (err error)
DalModelReload reloads all defined compose modules into the DAL
func DalModelRemove ¶
Removes a connection from DAL service
func DalModelReplace ¶
func DalModelReplace(ctx context.Context, s store.Storer, am schemaAltManager, dmm dalModelManager, ns *types.Namespace, modules ...*types.Module) (err error)
Replaces all given connections
func DataPrivacy ¶
func DataPrivacy() *dataPrivacy
func ImportSession ¶
func ImportSession() *importSession
func Initialize ¶
Initialize compose-only services
func ModuleActionCreate ¶
func ModuleActionCreate(props ...*moduleActionProps) *moduleAction
ModuleActionCreate returns "compose:module.create" action
This function is auto-generated.
func ModuleActionDelete ¶
func ModuleActionDelete(props ...*moduleActionProps) *moduleAction
ModuleActionDelete returns "compose:module.delete" action
This function is auto-generated.
func ModuleActionLookup ¶
func ModuleActionLookup(props ...*moduleActionProps) *moduleAction
ModuleActionLookup returns "compose:module.lookup" action
This function is auto-generated.
func ModuleActionSearch ¶
func ModuleActionSearch(props ...*moduleActionProps) *moduleAction
ModuleActionSearch returns "compose:module.search" action
This function is auto-generated.
func ModuleActionUndelete ¶
func ModuleActionUndelete(props ...*moduleActionProps) *moduleAction
ModuleActionUndelete returns "compose:module.undelete" action
This function is auto-generated.
func ModuleActionUpdate ¶
func ModuleActionUpdate(props ...*moduleActionProps) *moduleAction
ModuleActionUpdate returns "compose:module.update" action
This function is auto-generated.
func ModuleErrDedupConfigurationInvalidMissingConstraint ¶
ModuleErrDedupConfigurationInvalidMissingConstraint returns "compose:module.dedupConfigurationInvalidMissingConstraint" as *errors.Error
This function is auto-generated.
func ModuleErrFieldNameReserved ¶
ModuleErrFieldNameReserved returns "compose:module.fieldNameReserved" as *errors.Error
This function is auto-generated.
func ModuleErrGeneric ¶
ModuleErrGeneric returns "compose:module.generic" as *errors.Error
This function is auto-generated.
func ModuleErrHandleNotUnique ¶
ModuleErrHandleNotUnique returns "compose:module.handleNotUnique" as *errors.Error
This function is auto-generated.
func ModuleErrInvalidHandle ¶
ModuleErrInvalidHandle returns "compose:module.invalidHandle" as *errors.Error
This function is auto-generated.
func ModuleErrInvalidID ¶
ModuleErrInvalidID returns "compose:module.invalidID" as *errors.Error
This function is auto-generated.
func ModuleErrInvalidNamespaceID ¶
ModuleErrInvalidNamespaceID returns "compose:module.invalidNamespaceID" as *errors.Error
This function is auto-generated.
func ModuleErrNameNotUnique ¶
ModuleErrNameNotUnique returns "compose:module.nameNotUnique" as *errors.Error
This function is auto-generated.
func ModuleErrNamespaceNotFound ¶
ModuleErrNamespaceNotFound returns "compose:module.namespaceNotFound" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToCreate ¶
ModuleErrNotAllowedToCreate returns "compose:module.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToDelete ¶
ModuleErrNotAllowedToDelete returns "compose:module.notAllowedToDelete" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToListModules ¶
ModuleErrNotAllowedToListModules returns "compose:module.notAllowedToListModules" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToRead ¶
ModuleErrNotAllowedToRead returns "compose:module.notAllowedToRead" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToReadNamespace ¶
ModuleErrNotAllowedToReadNamespace returns "compose:module.notAllowedToReadNamespace" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToSearch ¶
ModuleErrNotAllowedToSearch returns "compose:module.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToUndelete ¶
ModuleErrNotAllowedToUndelete returns "compose:module.notAllowedToUndelete" as *errors.Error
This function is auto-generated.
func ModuleErrNotAllowedToUpdate ¶
ModuleErrNotAllowedToUpdate returns "compose:module.notAllowedToUpdate" as *errors.Error
This function is auto-generated.
func ModuleErrNotFound ¶
ModuleErrNotFound returns "compose:module.notFound" as *errors.Error
This function is auto-generated.
func ModuleErrStaleData ¶
ModuleErrStaleData returns "compose:module.staleData" as *errors.Error
This function is auto-generated.
func ModuleToModel ¶
func ModuleToModel(ns *types.Namespace, mod *types.Module, inhIdent string) (model *dal.Model, err error)
ModuleToModel converts a module with fields to DAL model and attributes
note: this function does not do any partition placeholder replacements
func ModulesToModelSet ¶
func ModulesToModelSet(dmm dalModelManager, ns *types.Namespace, mm ...*types.Module) (out dal.ModelSet, err error)
ModulesToModelSet takes a modules for a namespace and converts all of them into a model set for the DAL
Ident partition placeholders are replaced here as well alongside with the revision models where revisions are enabled
func NamespaceActionClone ¶
func NamespaceActionClone(props ...*namespaceActionProps) *namespaceAction
NamespaceActionClone returns "compose:namespace.clone" action
This function is auto-generated.
func NamespaceActionCreate ¶
func NamespaceActionCreate(props ...*namespaceActionProps) *namespaceAction
NamespaceActionCreate returns "compose:namespace.create" action
This function is auto-generated.
func NamespaceActionDelete ¶
func NamespaceActionDelete(props ...*namespaceActionProps) *namespaceAction
NamespaceActionDelete returns "compose:namespace.delete" action
This function is auto-generated.
func NamespaceActionExport ¶
func NamespaceActionExport(props ...*namespaceActionProps) *namespaceAction
NamespaceActionExport returns "compose:namespace.export" action
This function is auto-generated.
func NamespaceActionImportInit ¶
func NamespaceActionImportInit(props ...*namespaceActionProps) *namespaceAction
NamespaceActionImportInit returns "compose:namespace.importInit" action
This function is auto-generated.
func NamespaceActionImportRun ¶
func NamespaceActionImportRun(props ...*namespaceActionProps) *namespaceAction
NamespaceActionImportRun returns "compose:namespace.importRun" action
This function is auto-generated.
func NamespaceActionLookup ¶
func NamespaceActionLookup(props ...*namespaceActionProps) *namespaceAction
NamespaceActionLookup returns "compose:namespace.lookup" action
This function is auto-generated.
func NamespaceActionReorder ¶
func NamespaceActionReorder(props ...*namespaceActionProps) *namespaceAction
NamespaceActionReorder returns "compose:namespace.reorder" action
This function is auto-generated.
func NamespaceActionSearch ¶
func NamespaceActionSearch(props ...*namespaceActionProps) *namespaceAction
NamespaceActionSearch returns "compose:namespace.search" action
This function is auto-generated.
func NamespaceActionUndelete ¶
func NamespaceActionUndelete(props ...*namespaceActionProps) *namespaceAction
NamespaceActionUndelete returns "compose:namespace.undelete" action
This function is auto-generated.
func NamespaceActionUpdate ¶
func NamespaceActionUpdate(props ...*namespaceActionProps) *namespaceAction
NamespaceActionUpdate returns "compose:namespace.update" action
This function is auto-generated.
func NamespaceErrCloneMultiple ¶
NamespaceErrCloneMultiple returns "compose:namespace.cloneMultiple" as *errors.Error
This function is auto-generated.
func NamespaceErrGeneric ¶
NamespaceErrGeneric returns "compose:namespace.generic" as *errors.Error
This function is auto-generated.
func NamespaceErrHandleNotUnique ¶
NamespaceErrHandleNotUnique returns "compose:namespace.handleNotUnique" as *errors.Error
This function is auto-generated.
func NamespaceErrImportMissingNamespace ¶
NamespaceErrImportMissingNamespace returns "compose:namespace.importMissingNamespace" as *errors.Error
This function is auto-generated.
func NamespaceErrImportSessionNotFound ¶
NamespaceErrImportSessionNotFound returns "compose:namespace.importSessionNotFound" as *errors.Error
This function is auto-generated.
func NamespaceErrInvalidHandle ¶
NamespaceErrInvalidHandle returns "compose:namespace.invalidHandle" as *errors.Error
This function is auto-generated.
func NamespaceErrInvalidID ¶
NamespaceErrInvalidID returns "compose:namespace.invalidID" as *errors.Error
This function is auto-generated.
func NamespaceErrNotAllowedToCreate ¶
NamespaceErrNotAllowedToCreate returns "compose:namespace.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func NamespaceErrNotAllowedToDelete ¶
NamespaceErrNotAllowedToDelete returns "compose:namespace.notAllowedToDelete" as *errors.Error
This function is auto-generated.
func NamespaceErrNotAllowedToRead ¶
NamespaceErrNotAllowedToRead returns "compose:namespace.notAllowedToRead" as *errors.Error
This function is auto-generated.
func NamespaceErrNotAllowedToSearch ¶
NamespaceErrNotAllowedToSearch returns "compose:namespace.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func NamespaceErrNotAllowedToUndelete ¶
NamespaceErrNotAllowedToUndelete returns "compose:namespace.notAllowedToUndelete" as *errors.Error
This function is auto-generated.
func NamespaceErrNotAllowedToUpdate ¶
NamespaceErrNotAllowedToUpdate returns "compose:namespace.notAllowedToUpdate" as *errors.Error
This function is auto-generated.
func NamespaceErrNotFound ¶
NamespaceErrNotFound returns "compose:namespace.notFound" as *errors.Error
This function is auto-generated.
func NamespaceErrStaleData ¶
NamespaceErrStaleData returns "compose:namespace.staleData" as *errors.Error
This function is auto-generated.
func NamespaceErrUnsupportedExportFormat ¶
NamespaceErrUnsupportedExportFormat returns "compose:namespace.unsupportedExportFormat" as *errors.Error
This function is auto-generated.
func NamespaceErrUnsupportedImportFormat ¶
NamespaceErrUnsupportedImportFormat returns "compose:namespace.unsupportedImportFormat" as *errors.Error
This function is auto-generated.
func Notification ¶
func Notification(uf userFinder) *notification
func NotificationActionAttachmentDownload ¶
func NotificationActionAttachmentDownload(props ...*notificationActionProps) *notificationAction
NotificationActionAttachmentDownload returns "compose:notification.attachmentDownload" action
This function is auto-generated.
func NotificationActionSend ¶
func NotificationActionSend(props ...*notificationActionProps) *notificationAction
NotificationActionSend returns "compose:notification.send" action
This function is auto-generated.
func NotificationErrFailedToDownloadAttachment ¶
NotificationErrFailedToDownloadAttachment returns "compose:notification.failedToDownloadAttachment" as *errors.Error
This function is auto-generated.
func NotificationErrFailedToLoadUser ¶
NotificationErrFailedToLoadUser returns "compose:notification.failedToLoadUser" as *errors.Error
This function is auto-generated.
func NotificationErrGeneric ¶
NotificationErrGeneric returns "compose:notification.generic" as *errors.Error
This function is auto-generated.
func NotificationErrInvalidReceipientFormat ¶
NotificationErrInvalidReceipientFormat returns "compose:notification.invalidReceipientFormat" as *errors.Error
This function is auto-generated.
func NotificationErrNoRecipients ¶
NotificationErrNoRecipients returns "compose:notification.noRecipients" as *errors.Error
This function is auto-generated.
func PageActionCreate ¶
func PageActionCreate(props ...*pageActionProps) *pageAction
PageActionCreate returns "compose:page.create" action
This function is auto-generated.
func PageActionDelete ¶
func PageActionDelete(props ...*pageActionProps) *pageAction
PageActionDelete returns "compose:page.delete" action
This function is auto-generated.
func PageActionLookup ¶
func PageActionLookup(props ...*pageActionProps) *pageAction
PageActionLookup returns "compose:page.lookup" action
This function is auto-generated.
func PageActionReorder ¶
func PageActionReorder(props ...*pageActionProps) *pageAction
PageActionReorder returns "compose:page.reorder" action
This function is auto-generated.
func PageActionSearch ¶
func PageActionSearch(props ...*pageActionProps) *pageAction
PageActionSearch returns "compose:page.search" action
This function is auto-generated.
func PageActionUndelete ¶
func PageActionUndelete(props ...*pageActionProps) *pageAction
PageActionUndelete returns "compose:page.undelete" action
This function is auto-generated.
func PageActionUpdate ¶
func PageActionUpdate(props ...*pageActionProps) *pageAction
PageActionUpdate returns "compose:page.update" action
This function is auto-generated.
func PageErrDeleteAbortedForPageWithSubpages ¶
PageErrDeleteAbortedForPageWithSubpages returns "compose:page.deleteAbortedForPageWithSubpages" as *errors.Error
This function is auto-generated.
func PageErrGeneric ¶
PageErrGeneric returns "compose:page.generic" as *errors.Error
This function is auto-generated.
func PageErrHandleNotUnique ¶
PageErrHandleNotUnique returns "compose:page.handleNotUnique" as *errors.Error
This function is auto-generated.
func PageErrInvalidHandle ¶
PageErrInvalidHandle returns "compose:page.invalidHandle" as *errors.Error
This function is auto-generated.
func PageErrInvalidID ¶
PageErrInvalidID returns "compose:page.invalidID" as *errors.Error
This function is auto-generated.
func PageErrInvalidNamespaceID ¶
PageErrInvalidNamespaceID returns "compose:page.invalidNamespaceID" as *errors.Error
This function is auto-generated.
func PageErrModuleNotFound ¶
PageErrModuleNotFound returns "compose:page.moduleNotFound" as *errors.Error
This function is auto-generated.
func PageErrNamespaceNotFound ¶
PageErrNamespaceNotFound returns "compose:page.namespaceNotFound" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToCreate ¶
PageErrNotAllowedToCreate returns "compose:page.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToDelete ¶
PageErrNotAllowedToDelete returns "compose:page.notAllowedToDelete" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToListPages ¶
PageErrNotAllowedToListPages returns "compose:page.notAllowedToListPages" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToRead ¶
PageErrNotAllowedToRead returns "compose:page.notAllowedToRead" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToReadNamespace ¶
PageErrNotAllowedToReadNamespace returns "compose:page.notAllowedToReadNamespace" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToSearch ¶
PageErrNotAllowedToSearch returns "compose:page.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToUndelete ¶
PageErrNotAllowedToUndelete returns "compose:page.notAllowedToUndelete" as *errors.Error
This function is auto-generated.
func PageErrNotAllowedToUpdate ¶
PageErrNotAllowedToUpdate returns "compose:page.notAllowedToUpdate" as *errors.Error
This function is auto-generated.
func PageErrNotFound ¶
PageErrNotFound returns "compose:page.notFound" as *errors.Error
This function is auto-generated.
func PageErrStaleData ¶
PageErrStaleData returns "compose:page.staleData" as *errors.Error
This function is auto-generated.
func PageErrUnknownDeleteStrategy ¶
PageErrUnknownDeleteStrategy returns "compose:page.unknownDeleteStrategy" as *errors.Error
This function is auto-generated.
func PageLayout ¶
func PageLayout() *pageLayout
func PageLayoutActionCreate ¶
func PageLayoutActionCreate(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionCreate returns "compose:page-layout.create" action
This function is auto-generated.
func PageLayoutActionDelete ¶
func PageLayoutActionDelete(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionDelete returns "compose:page-layout.delete" action
This function is auto-generated.
func PageLayoutActionLookup ¶
func PageLayoutActionLookup(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionLookup returns "compose:page-layout.lookup" action
This function is auto-generated.
func PageLayoutActionReorder ¶
func PageLayoutActionReorder(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionReorder returns "compose:page-layout.reorder" action
This function is auto-generated.
func PageLayoutActionSearch ¶
func PageLayoutActionSearch(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionSearch returns "compose:page-layout.search" action
This function is auto-generated.
func PageLayoutActionUndelete ¶
func PageLayoutActionUndelete(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionUndelete returns "compose:page-layout.undelete" action
This function is auto-generated.
func PageLayoutActionUpdate ¶
func PageLayoutActionUpdate(props ...*pageLayoutActionProps) *pageLayoutAction
PageLayoutActionUpdate returns "compose:page-layout.update" action
This function is auto-generated.
func PageLayoutErrGeneric ¶
PageLayoutErrGeneric returns "compose:page-layout.generic" as *errors.Error
This function is auto-generated.
func PageLayoutErrHandleNotUnique ¶
PageLayoutErrHandleNotUnique returns "compose:page-layout.handleNotUnique" as *errors.Error
This function is auto-generated.
func PageLayoutErrInvalidHandle ¶
PageLayoutErrInvalidHandle returns "compose:page-layout.invalidHandle" as *errors.Error
This function is auto-generated.
func PageLayoutErrInvalidID ¶
PageLayoutErrInvalidID returns "compose:page-layout.invalidID" as *errors.Error
This function is auto-generated.
func PageLayoutErrInvalidNamespaceID ¶
PageLayoutErrInvalidNamespaceID returns "compose:page-layout.invalidNamespaceID" as *errors.Error
This function is auto-generated.
func PageLayoutErrModuleNotFound ¶
PageLayoutErrModuleNotFound returns "compose:page-layout.moduleNotFound" as *errors.Error
This function is auto-generated.
func PageLayoutErrNamespaceNotFound ¶
PageLayoutErrNamespaceNotFound returns "compose:page-layout.namespaceNotFound" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToCreate ¶
PageLayoutErrNotAllowedToCreate returns "compose:page-layout.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToDelete ¶
PageLayoutErrNotAllowedToDelete returns "compose:page-layout.notAllowedToDelete" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToListPageLayouts ¶
PageLayoutErrNotAllowedToListPageLayouts returns "compose:page-layout.notAllowedToListPageLayouts" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToRead ¶
PageLayoutErrNotAllowedToRead returns "compose:page-layout.notAllowedToRead" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToSearch ¶
PageLayoutErrNotAllowedToSearch returns "compose:page-layout.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToUndelete ¶
PageLayoutErrNotAllowedToUndelete returns "compose:page-layout.notAllowedToUndelete" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotAllowedToUpdate ¶
PageLayoutErrNotAllowedToUpdate returns "compose:page-layout.notAllowedToUpdate" as *errors.Error
This function is auto-generated.
func PageLayoutErrNotFound ¶
PageLayoutErrNotFound returns "compose:page-layout.notFound" as *errors.Error
This function is auto-generated.
func PageLayoutErrStaleData ¶
PageLayoutErrStaleData returns "compose:page-layout.staleData" as *errors.Error
This function is auto-generated.
func Record ¶
func Record(opts RecordOptions) *record
func RecordActionBulk ¶
func RecordActionBulk(props ...*recordActionProps) *recordAction
RecordActionBulk returns "compose:record.bulk" action
This function is auto-generated.
func RecordActionCreate ¶
func RecordActionCreate(props ...*recordActionProps) *recordAction
RecordActionCreate returns "compose:record.create" action
This function is auto-generated.
func RecordActionDelete ¶
func RecordActionDelete(props ...*recordActionProps) *recordAction
RecordActionDelete returns "compose:record.delete" action
This function is auto-generated.
func RecordActionExport ¶
func RecordActionExport(props ...*recordActionProps) *recordAction
RecordActionExport returns "compose:record.export" action
This function is auto-generated.
func RecordActionImport ¶
func RecordActionImport(props ...*recordActionProps) *recordAction
RecordActionImport returns "compose:record.import" action
This function is auto-generated.
func RecordActionIteratorClone ¶
func RecordActionIteratorClone(props ...*recordActionProps) *recordAction
RecordActionIteratorClone returns "compose:record.iteratorClone" action
This function is auto-generated.
func RecordActionIteratorDelete ¶
func RecordActionIteratorDelete(props ...*recordActionProps) *recordAction
RecordActionIteratorDelete returns "compose:record.iteratorDelete" action
This function is auto-generated.
func RecordActionIteratorInvoked ¶
func RecordActionIteratorInvoked(props ...*recordActionProps) *recordAction
RecordActionIteratorInvoked returns "compose:record.iteratorInvoked" action
This function is auto-generated.
func RecordActionIteratorIteration ¶
func RecordActionIteratorIteration(props ...*recordActionProps) *recordAction
RecordActionIteratorIteration returns "compose:record.iteratorIteration" action
This function is auto-generated.
func RecordActionIteratorUndelete ¶
func RecordActionIteratorUndelete(props ...*recordActionProps) *recordAction
RecordActionIteratorUndelete returns "compose:record.iteratorUndelete" action
This function is auto-generated.
func RecordActionIteratorUpdate ¶
func RecordActionIteratorUpdate(props ...*recordActionProps) *recordAction
RecordActionIteratorUpdate returns "compose:record.iteratorUpdate" action
This function is auto-generated.
func RecordActionLookup ¶
func RecordActionLookup(props ...*recordActionProps) *recordAction
RecordActionLookup returns "compose:record.lookup" action
This function is auto-generated.
func RecordActionOrganize ¶
func RecordActionOrganize(props ...*recordActionProps) *recordAction
RecordActionOrganize returns "compose:record.organize" action
This function is auto-generated.
func RecordActionPatch ¶
func RecordActionPatch(props ...*recordActionProps) *recordAction
RecordActionPatch returns "compose:record.patch" action
This function is auto-generated.
func RecordActionReport ¶
func RecordActionReport(props ...*recordActionProps) *recordAction
RecordActionReport returns "compose:record.report" action
This function is auto-generated.
func RecordActionSearch ¶
func RecordActionSearch(props ...*recordActionProps) *recordAction
RecordActionSearch returns "compose:record.search" action
This function is auto-generated.
func RecordActionSearchRevisions ¶
func RecordActionSearchRevisions(props ...*recordActionProps) *recordAction
RecordActionSearchRevisions returns "compose:record.searchRevisions" action
This function is auto-generated.
func RecordActionSearchSensitive ¶
func RecordActionSearchSensitive(props ...*recordActionProps) *recordAction
RecordActionSearchSensitive returns "compose:record.searchSensitive" action
This function is auto-generated.
func RecordActionUndelete ¶
func RecordActionUndelete(props ...*recordActionProps) *recordAction
RecordActionUndelete returns "compose:record.undelete" action
This function is auto-generated.
func RecordActionUpdate ¶
func RecordActionUpdate(props ...*recordActionProps) *recordAction
RecordActionUpdate returns "compose:record.update" action
This function is auto-generated.
func RecordErrFieldNotFound ¶
RecordErrFieldNotFound returns "compose:record.fieldNotFound" as *errors.Error
This function is auto-generated.
func RecordErrGeneric ¶
RecordErrGeneric returns "compose:record.generic" as *errors.Error
This function is auto-generated.
func RecordErrImportSessionAlreadActive ¶
RecordErrImportSessionAlreadActive returns "compose:record.importSessionAlreadActive" as *errors.Error
This function is auto-generated.
func RecordErrInvalidGroupFieldConfigMultiValue ¶
RecordErrInvalidGroupFieldConfigMultiValue returns "compose:record.invalidGroupFieldConfigMultiValue" as *errors.Error
This function is auto-generated.
func RecordErrInvalidID ¶
RecordErrInvalidID returns "compose:record.invalidID" as *errors.Error
This function is auto-generated.
func RecordErrInvalidModuleID ¶
RecordErrInvalidModuleID returns "compose:record.invalidModuleID" as *errors.Error
This function is auto-generated.
func RecordErrInvalidNamespaceID ¶
RecordErrInvalidNamespaceID returns "compose:record.invalidNamespaceID" as *errors.Error
This function is auto-generated.
func RecordErrInvalidPositionFieldConfigMultiValue ¶
RecordErrInvalidPositionFieldConfigMultiValue returns "compose:record.invalidPositionFieldConfigMultiValue" as *errors.Error
This function is auto-generated.
func RecordErrInvalidPositionFieldKind ¶
RecordErrInvalidPositionFieldKind returns "compose:record.invalidPositionFieldKind" as *errors.Error
This function is auto-generated.
func RecordErrInvalidPositionValueType ¶
RecordErrInvalidPositionValueType returns "compose:record.invalidPositionValueType" as *errors.Error
This function is auto-generated.
func RecordErrInvalidReferenceFormat ¶
RecordErrInvalidReferenceFormat returns "compose:record.invalidReferenceFormat" as *errors.Error
This function is auto-generated.
func RecordErrInvalidValueStructure ¶
RecordErrInvalidValueStructure returns "compose:record.invalidValueStructure" as *errors.Error
This function is auto-generated.
func RecordErrMaxRecordsReached ¶
RecordErrMaxRecordsReached returns "compose:record.maxRecordsReached" as *errors.Error
This function is auto-generated.
func RecordErrMissingGroupField ¶
RecordErrMissingGroupField returns "compose:record.missingGroupField" as *errors.Error
This function is auto-generated.
func RecordErrMissingPositionField ¶
RecordErrMissingPositionField returns "compose:record.missingPositionField" as *errors.Error
This function is auto-generated.
func RecordErrModuleNotFoundModule ¶
RecordErrModuleNotFoundModule returns "compose:record.moduleNotFoundModule" as *errors.Error
This function is auto-generated.
func RecordErrNamespaceNotFound ¶
RecordErrNamespaceNotFound returns "compose:record.namespaceNotFound" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToChangeFieldValue ¶
RecordErrNotAllowedToChangeFieldValue returns "compose:record.notAllowedToChangeFieldValue" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToCreate ¶
RecordErrNotAllowedToCreate returns "compose:record.notAllowedToCreate" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToDelete ¶
RecordErrNotAllowedToDelete returns "compose:record.notAllowedToDelete" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToListRecords ¶
RecordErrNotAllowedToListRecords returns "compose:record.notAllowedToListRecords" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToRead ¶
RecordErrNotAllowedToRead returns "compose:record.notAllowedToRead" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToReadModule ¶
RecordErrNotAllowedToReadModule returns "compose:record.notAllowedToReadModule" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToReadNamespace ¶
RecordErrNotAllowedToReadNamespace returns "compose:record.notAllowedToReadNamespace" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToSearch ¶
RecordErrNotAllowedToSearch returns "compose:record.notAllowedToSearch" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToSearchRevisions ¶
RecordErrNotAllowedToSearchRevisions returns "compose:record.notAllowedToSearchRevisions" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToUndelete ¶
RecordErrNotAllowedToUndelete returns "compose:record.notAllowedToUndelete" as *errors.Error
This function is auto-generated.
func RecordErrNotAllowedToUpdate ¶
RecordErrNotAllowedToUpdate returns "compose:record.notAllowedToUpdate" as *errors.Error
This function is auto-generated.
func RecordErrNotFound ¶
RecordErrNotFound returns "compose:record.notFound" as *errors.Error
This function is auto-generated.
func RecordErrRevisionsDisabledOnModule ¶
RecordErrRevisionsDisabledOnModule returns "compose:record.revisionsDisabledOnModule" as *errors.Error
This function is auto-generated.
func RecordErrStaleData ¶
RecordErrStaleData returns "compose:record.staleData" as *errors.Error
This function is auto-generated.
func RecordErrUnknownBulkOperation ¶
RecordErrUnknownBulkOperation returns "compose:record.unknownBulkOperation" as *errors.Error
This function is auto-generated.
func RecordErrValueInput ¶
RecordErrValueInput returns "compose:record.valueInput" as *errors.Error
This function is auto-generated.
func RecordPreparer ¶
func RecordValueDefaults ¶
func RecordValueDefaults(m *types.Module, vv types.RecordValueSet) (out types.RecordValueSet)
func RecordValueSanitization ¶
func RecordValueSanitization(m *types.Module, vv types.RecordValueSet) (err error)
RecordValueSanitization does basic field and format validation
Received values must fit the data model: on unknown fields or multi/single value mismatch we return an error
Record value errors is intentionally NOT used here; if input fails here we can assume that form builder (or whatever it was that assembled the record values) was misconfigured and will most likely failed to properly parse the record value errors payload too
func RecordValueUpdateOpCheck ¶
func RecordValueUpdateOpCheck(ctx context.Context, ac recordValueAccessController, m *types.Module, vv types.RecordValueSet) *types.RecordValueErrorSet
@todo: ?? this might be a good place for detection too
func RegisterIteratorProviders ¶
func RegisterIteratorProviders()
func SetRecordOwner ¶
Types ¶
type AttachmentService ¶
type AttachmentService interface { FindByID(ctx context.Context, namespaceID, attachmentID uint64) (*types.Attachment, error) Find(ctx context.Context, filter types.AttachmentFilter) (types.AttachmentSet, types.AttachmentFilter, error) CreatePageAttachment(ctx context.Context, namespaceID uint64, name string, size int64, fh io.ReadSeeker, pageID uint64) (*types.Attachment, error) CreateIconAttachment(ctx context.Context, name string, size int64, fh io.ReadSeeker) (*types.Attachment, error) CreateRecordAttachment(ctx context.Context, namespaceID uint64, name string, size int64, fh io.ReadSeeker, moduleID, recordID uint64, fieldName string) (*types.Attachment, error) CreateNamespaceAttachment(ctx context.Context, name string, size int64, fh io.ReadSeeker) (*types.Attachment, error) OpenOriginal(att *types.Attachment) (io.ReadSeekCloser, error) OpenPreview(att *types.Attachment) (io.ReadSeekCloser, error) DeleteByID(ctx context.Context, namespaceID, attachmentID uint64) error }
type Config ¶
type Config struct { ActionLog options.ActionLogOpt Discovery options.DiscoveryOpt Storage options.ObjectStoreOpt Limit options.LimitOpt UserFinder userFinder SchemaAltManager schemaAltManager }
type DataPrivacyService ¶
type DataPrivacyService interface {
FindModules(ctx context.Context, filter types.PrivacyModuleFilter) (types.PrivacyModuleSet, types.PrivacyModuleFilter, error)
}
type ErrorIndex ¶
func (ErrorIndex) Add ¶
func (ei ErrorIndex) Add(err string)
type FailLog ¶
type FailLog struct { // Records holds an array of record indexes Records RecordIndex `json:"records"` RecordsTruncated bool `json:"recordsTruncated"` // Errors specifies a map of occurred errors & the number of Errors ErrorIndex `json:"errors"` }
type ImportSessionService ¶
type ImportSessionService interface { Create(ctx context.Context, f io.ReadSeeker, name, contentType string, namespaceID, moduleID uint64) (*RecordImportSession, error) FindByID(ctx context.Context, sessionID uint64) (*RecordImportSession, error) DeleteByID(ctx context.Context, sessionID uint64) error }
type ModuleService ¶
type ModuleService interface { FindByID(ctx context.Context, namespaceID, moduleID uint64) (*types.Module, error) FindByName(ctx context.Context, namespaceID uint64, name string) (*types.Module, error) FindByHandle(ctx context.Context, namespaceID uint64, handle string) (*types.Module, error) FindByAny(ctx context.Context, namespaceID uint64, identifier interface{}) (*types.Module, error) Find(ctx context.Context, filter types.ModuleFilter) (set types.ModuleSet, f types.ModuleFilter, err error) SearchSensitive(ctx context.Context, filter types.PrivacyModuleFilter) (set []types.PrivacyModule, f types.PrivacyModuleFilter, err error) Create(ctx context.Context, module *types.Module) (*types.Module, error) Update(ctx context.Context, module *types.Module) (*types.Module, error) DeleteByID(ctx context.Context, namespaceID, moduleID uint64) error // @note probably temporary just so tests are easier ReloadDALModels(ctx context.Context) error }
type NamespaceService ¶
type NamespaceService interface { FindByID(ctx context.Context, namespaceID uint64) (*types.Namespace, error) FindByHandle(ctx context.Context, handle string) (*types.Namespace, error) Find(context.Context, types.NamespaceFilter) (types.NamespaceSet, types.NamespaceFilter, error) FindByAny(context.Context, interface{}) (*types.Namespace, error) Create(ctx context.Context, namespace *types.Namespace) (*types.Namespace, error) Update(ctx context.Context, namespace *types.Namespace) (*types.Namespace, error) Clone(ctx context.Context, namespaceID uint64, dup *types.Namespace, decoder func() (envoyx.NodeSet, error)) (ns *types.Namespace, err error) ImportInit(ctx context.Context, f multipart.File, size int64) (namespaceImportSession, error) ImportRun(ctx context.Context, sessionID uint64, dup *types.Namespace) (ns *types.Namespace, err error) DeleteByID(ctx context.Context, namespaceID uint64) error }
type RecordImportProgress ¶
type RecordImportProgress struct { StartedAt *time.Time `json:"startedAt"` FinishedAt *time.Time `json:"finishedAt"` EntryCount uint64 `json:"entryCount"` Completed uint64 `json:"completed"` Failed uint64 `json:"failed"` FailReason string `json:"failReason,omitempty"` FailLog *FailLog `json:"failLog,omitempty"` }
type RecordImportSession ¶
type RecordImportSession struct { Name string `json:"-"` SessionID uint64 `json:"sessionID,string"` UserID uint64 `json:"userID,string"` NamespaceID uint64 `json:"namespaceID,string"` ModuleID uint64 `json:"moduleID,string"` OnError string `json:"onError"` Fields map[string]string `json:"fields"` Key string `json:"key"` Progress *RecordImportProgress `json:"progress"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` Resources []resource.Interface `json:"-"` Providers []envoyx.Provider `json:"-"` }
type RecordIndex ¶
type RecordIndex []int
func (RecordIndex) MarshalJSON ¶
func (ri RecordIndex) MarshalJSON() ([]byte, error)
type RecordOptions ¶
type RecordOptions struct {
LimitRecords int
}
type RecordService ¶
type RecordService interface { FindByID(ctx context.Context, namespaceID, moduleID, recordID uint64) (*types.Record, *types.RecordValueErrorSet, error) Report(ctx context.Context, namespaceID, moduleID uint64, metrics, dimensions, filter string) (any, error) Find(ctx context.Context, filter types.RecordFilter) (set types.RecordSet, f types.RecordFilter, err error) SearchSensitive(ctx context.Context) (set []types.SensitiveRecordSet, err error) SearchRevisions(ctx context.Context, namespaceID, moduleID, recordID uint64) (dal.Iterator, error) RecordExport(context.Context, types.RecordFilter) error RecordImport(context.Context, error) error Create(ctx context.Context, record *types.Record) (*types.Record, *types.RecordValueErrorSet, error) Update(ctx context.Context, record *types.Record) (*types.Record, *types.RecordValueErrorSet, error) Bulk(ctx context.Context, skipFailed bool, oo ...*types.RecordBulkOperation) ([]types.RecordBulkOperationResult, error) BulkModifyByFilter(ctx context.Context, f types.RecordFilter, values types.RecordValueSet, operation types.OperationType) (err error) Validate(ctx context.Context, rec *types.Record) error DeleteByID(ctx context.Context, namespaceID, moduleID uint64, recordID ...uint64) error UndeleteByID(ctx context.Context, namespaceID, moduleID uint64, recordID ...uint64) error Organize(ctx context.Context, namespaceID, moduleID, recordID uint64, sortingField, sortingValue, sortingFilter, valueField, value string) error Iterator(ctx context.Context, f types.RecordFilter, fn eventbus.HandlerFn, action string) (err error) TriggerScript(ctx context.Context, namespaceID, moduleID, recordID uint64, rvs types.RecordValueSet, script string) (*types.Module, *types.Record, error) }
type ResourceTranslationsManagerService ¶
type ResourceTranslationsManagerService interface { Chart(ctx context.Context, namespaceID uint64, id uint64) (locale.ResourceTranslationSet, error) Module(ctx context.Context, namespaceID uint64, id uint64) (locale.ResourceTranslationSet, error) Namespace(ctx context.Context, id uint64) (locale.ResourceTranslationSet, error) Page(ctx context.Context, namespaceID uint64, id uint64) (locale.ResourceTranslationSet, error) PageLayout(ctx context.Context, namespaceID uint64, pageID uint64, id uint64) (locale.ResourceTranslationSet, error) Upsert(context.Context, locale.ResourceTranslationSet) error Locale() locale.Resource }
Source Files
¶
- access_control.gen.go
- access_control_actions.gen.go
- attachment.go
- attachment_actions.gen.go
- chart.go
- chart_actions.gen.go
- dal_interfaces.go
- data_privacy.go
- import_session.go
- locale.gen.go
- locale.go
- module.go
- module_actions.gen.go
- namespace.go
- namespace_actions.gen.go
- notification.go
- notifications_actions.gen.go
- page.go
- page_actions.gen.go
- page_layout.go
- page_layout_actions.gen.go
- record.go
- record_actions.gen.go
- record_revisions.go
- service.go