Versions in this module Expand all Collapse all v1 v1.0.1 Nov 22, 2024 v1.0.0 Nov 22, 2024 Changes in this version + const CacheKeyActiveBackup + const DefaultDataMaxIdleConns + const DefaultDataMaxOpenConns + const DefaultLogsMaxIdleConns + const DefaultLogsMaxOpenConns + const LocalBackupsDirName + const LocalStorageDirName + const LocalTempDirName + const StoreKeyActiveBackup + type AdminAuthEvent struct + Admin *models.Admin + HttpContext echo.Context + Token string + type AdminAuthRefreshEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminAuthWithPasswordEvent struct + Admin *models.Admin + HttpContext echo.Context + Identity string + Password string + type AdminConfirmPasswordResetEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminCreateEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminDeleteEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminRequestPasswordResetEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminUpdateEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminViewEvent struct + Admin *models.Admin + HttpContext echo.Context + type AdminsListEvent struct + Admins []*models.Admin + HttpContext echo.Context + Result *search.Result + type ApiErrorEvent struct + Error error + HttpContext echo.Context + type App interface + Bootstrap func() error + Cache func() *store.Store[any] + CreateBackup func(ctx context.Context, name string) error + DB func() *dbx.DB + Dao func() *daos.Dao + DataDir func() string + EncryptionEnv func() string + IsBootstrapped func() bool + IsDev func() bool + Logger func() *slog.Logger + LogsDB func() *dbx.DB + LogsDao func() *daos.Dao + NewBackupsFilesystem func() (*filesystem.System, error) + NewFilesystem func() (*filesystem.System, error) + NewMailClient func() mailer.Mailer + OnAdminAfterAuthRefreshRequest func() *hook.Hook[*AdminAuthRefreshEvent] + OnAdminAfterAuthWithPasswordRequest func() *hook.Hook[*AdminAuthWithPasswordEvent] + OnAdminAfterConfirmPasswordResetRequest func() *hook.Hook[*AdminConfirmPasswordResetEvent] + OnAdminAfterCreateRequest func() *hook.Hook[*AdminCreateEvent] + OnAdminAfterDeleteRequest func() *hook.Hook[*AdminDeleteEvent] + OnAdminAfterRequestPasswordResetRequest func() *hook.Hook[*AdminRequestPasswordResetEvent] + OnAdminAfterUpdateRequest func() *hook.Hook[*AdminUpdateEvent] + OnAdminAuthRequest func() *hook.Hook[*AdminAuthEvent] + OnAdminBeforeAuthRefreshRequest func() *hook.Hook[*AdminAuthRefreshEvent] + OnAdminBeforeAuthWithPasswordRequest func() *hook.Hook[*AdminAuthWithPasswordEvent] + OnAdminBeforeConfirmPasswordResetRequest func() *hook.Hook[*AdminConfirmPasswordResetEvent] + OnAdminBeforeCreateRequest func() *hook.Hook[*AdminCreateEvent] + OnAdminBeforeDeleteRequest func() *hook.Hook[*AdminDeleteEvent] + OnAdminBeforeRequestPasswordResetRequest func() *hook.Hook[*AdminRequestPasswordResetEvent] + OnAdminBeforeUpdateRequest func() *hook.Hook[*AdminUpdateEvent] + OnAdminViewRequest func() *hook.Hook[*AdminViewEvent] + OnAdminsListRequest func() *hook.Hook[*AdminsListEvent] + OnAfterApiError func() *hook.Hook[*ApiErrorEvent] + OnAfterBootstrap func() *hook.Hook[*BootstrapEvent] + OnBeforeApiError func() *hook.Hook[*ApiErrorEvent] + OnBeforeBootstrap func() *hook.Hook[*BootstrapEvent] + OnBeforeServe func() *hook.Hook[*ServeEvent] + OnCollectionAfterCreateRequest func() *hook.Hook[*CollectionCreateEvent] + OnCollectionAfterDeleteRequest func() *hook.Hook[*CollectionDeleteEvent] + OnCollectionAfterUpdateRequest func() *hook.Hook[*CollectionUpdateEvent] + OnCollectionBeforeCreateRequest func() *hook.Hook[*CollectionCreateEvent] + OnCollectionBeforeDeleteRequest func() *hook.Hook[*CollectionDeleteEvent] + OnCollectionBeforeUpdateRequest func() *hook.Hook[*CollectionUpdateEvent] + OnCollectionViewRequest func() *hook.Hook[*CollectionViewEvent] + OnCollectionsAfterImportRequest func() *hook.Hook[*CollectionsImportEvent] + OnCollectionsBeforeImportRequest func() *hook.Hook[*CollectionsImportEvent] + OnCollectionsListRequest func() *hook.Hook[*CollectionsListEvent] + OnFileAfterTokenRequest func(tags ...string) *hook.TaggedHook[*FileTokenEvent] + OnFileBeforeTokenRequest func(tags ...string) *hook.TaggedHook[*FileTokenEvent] + OnFileDownloadRequest func(tags ...string) *hook.TaggedHook[*FileDownloadEvent] + OnMailerAfterAdminResetPasswordSend func() *hook.Hook[*MailerAdminEvent] + OnMailerAfterRecordChangeEmailSend func(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + OnMailerAfterRecordResetPasswordSend func(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + OnMailerAfterRecordVerificationSend func(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + OnMailerBeforeAdminResetPasswordSend func() *hook.Hook[*MailerAdminEvent] + OnMailerBeforeRecordChangeEmailSend func(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + OnMailerBeforeRecordResetPasswordSend func(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + OnMailerBeforeRecordVerificationSend func(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + OnModelAfterCreate func(tags ...string) *hook.TaggedHook[*ModelEvent] + OnModelAfterDelete func(tags ...string) *hook.TaggedHook[*ModelEvent] + OnModelAfterUpdate func(tags ...string) *hook.TaggedHook[*ModelEvent] + OnModelBeforeCreate func(tags ...string) *hook.TaggedHook[*ModelEvent] + OnModelBeforeDelete func(tags ...string) *hook.TaggedHook[*ModelEvent] + OnModelBeforeUpdate func(tags ...string) *hook.TaggedHook[*ModelEvent] + OnRealtimeAfterMessageSend func() *hook.Hook[*RealtimeMessageEvent] + OnRealtimeAfterSubscribeRequest func() *hook.Hook[*RealtimeSubscribeEvent] + OnRealtimeBeforeMessageSend func() *hook.Hook[*RealtimeMessageEvent] + OnRealtimeBeforeSubscribeRequest func() *hook.Hook[*RealtimeSubscribeEvent] + OnRealtimeConnectRequest func() *hook.Hook[*RealtimeConnectEvent] + OnRealtimeDisconnectRequest func() *hook.Hook[*RealtimeDisconnectEvent] + OnRecordAfterAuthRefreshRequest func(tags ...string) *hook.TaggedHook[*RecordAuthRefreshEvent] + OnRecordAfterAuthWithOAuth2Request func(tags ...string) *hook.TaggedHook[*RecordAuthWithOAuth2Event] + OnRecordAfterAuthWithPasswordRequest func(tags ...string) *hook.TaggedHook[*RecordAuthWithPasswordEvent] + OnRecordAfterConfirmEmailChangeRequest func(tags ...string) *hook.TaggedHook[*RecordConfirmEmailChangeEvent] + OnRecordAfterConfirmPasswordResetRequest func(tags ...string) *hook.TaggedHook[*RecordConfirmPasswordResetEvent] + OnRecordAfterConfirmVerificationRequest func(tags ...string) *hook.TaggedHook[*RecordConfirmVerificationEvent] + OnRecordAfterCreateRequest func(tags ...string) *hook.TaggedHook[*RecordCreateEvent] + OnRecordAfterDeleteRequest func(tags ...string) *hook.TaggedHook[*RecordDeleteEvent] + OnRecordAfterRequestEmailChangeRequest func(tags ...string) *hook.TaggedHook[*RecordRequestEmailChangeEvent] + OnRecordAfterRequestPasswordResetRequest func(tags ...string) *hook.TaggedHook[*RecordRequestPasswordResetEvent] + OnRecordAfterRequestVerificationRequest func(tags ...string) *hook.TaggedHook[*RecordRequestVerificationEvent] + OnRecordAfterUnlinkExternalAuthRequest func(tags ...string) *hook.TaggedHook[*RecordUnlinkExternalAuthEvent] + OnRecordAfterUpdateRequest func(tags ...string) *hook.TaggedHook[*RecordUpdateEvent] + OnRecordAuthRequest func(tags ...string) *hook.TaggedHook[*RecordAuthEvent] + OnRecordBeforeAuthRefreshRequest func(tags ...string) *hook.TaggedHook[*RecordAuthRefreshEvent] + OnRecordBeforeAuthWithOAuth2Request func(tags ...string) *hook.TaggedHook[*RecordAuthWithOAuth2Event] + OnRecordBeforeAuthWithPasswordRequest func(tags ...string) *hook.TaggedHook[*RecordAuthWithPasswordEvent] + OnRecordBeforeConfirmEmailChangeRequest func(tags ...string) *hook.TaggedHook[*RecordConfirmEmailChangeEvent] + OnRecordBeforeConfirmPasswordResetRequest func(tags ...string) *hook.TaggedHook[*RecordConfirmPasswordResetEvent] + OnRecordBeforeConfirmVerificationRequest func(tags ...string) *hook.TaggedHook[*RecordConfirmVerificationEvent] + OnRecordBeforeCreateRequest func(tags ...string) *hook.TaggedHook[*RecordCreateEvent] + OnRecordBeforeDeleteRequest func(tags ...string) *hook.TaggedHook[*RecordDeleteEvent] + OnRecordBeforeRequestEmailChangeRequest func(tags ...string) *hook.TaggedHook[*RecordRequestEmailChangeEvent] + OnRecordBeforeRequestPasswordResetRequest func(tags ...string) *hook.TaggedHook[*RecordRequestPasswordResetEvent] + OnRecordBeforeRequestVerificationRequest func(tags ...string) *hook.TaggedHook[*RecordRequestVerificationEvent] + OnRecordBeforeUnlinkExternalAuthRequest func(tags ...string) *hook.TaggedHook[*RecordUnlinkExternalAuthEvent] + OnRecordBeforeUpdateRequest func(tags ...string) *hook.TaggedHook[*RecordUpdateEvent] + OnRecordListExternalAuthsRequest func(tags ...string) *hook.TaggedHook[*RecordListExternalAuthsEvent] + OnRecordViewRequest func(tags ...string) *hook.TaggedHook[*RecordViewEvent] + OnRecordsListRequest func(tags ...string) *hook.TaggedHook[*RecordsListEvent] + OnSettingsAfterUpdateRequest func() *hook.Hook[*SettingsUpdateEvent] + OnSettingsBeforeUpdateRequest func() *hook.Hook[*SettingsUpdateEvent] + OnSettingsListRequest func() *hook.Hook[*SettingsListEvent] + OnTerminate func() *hook.Hook[*TerminateEvent] + RefreshSettings func() error + ResetBootstrapState func() error + Restart func() error + RestoreBackup func(ctx context.Context, name string) error + Settings func() *settings.Settings + Store func() *store.Store[any] + SubscriptionsBroker func() *subscriptions.Broker + type BaseApp struct + func NewBaseApp(config BaseAppConfig) *BaseApp + func (app *BaseApp) Bootstrap() error + func (app *BaseApp) Cache() *store.Store[any] + func (app *BaseApp) CreateBackup(ctx context.Context, name string) error + func (app *BaseApp) DB() *dbx.DB + func (app *BaseApp) Dao() *daos.Dao + func (app *BaseApp) DataDir() string + func (app *BaseApp) EncryptionEnv() string + func (app *BaseApp) IsBootstrapped() bool + func (app *BaseApp) IsDev() bool + func (app *BaseApp) Logger() *slog.Logger + func (app *BaseApp) LogsDB() *dbx.DB + func (app *BaseApp) LogsDao() *daos.Dao + func (app *BaseApp) NewBackupsFilesystem() (*filesystem.System, error) + func (app *BaseApp) NewFilesystem() (*filesystem.System, error) + func (app *BaseApp) NewMailClient() mailer.Mailer + func (app *BaseApp) OnAdminAfterAuthRefreshRequest() *hook.Hook[*AdminAuthRefreshEvent] + func (app *BaseApp) OnAdminAfterAuthWithPasswordRequest() *hook.Hook[*AdminAuthWithPasswordEvent] + func (app *BaseApp) OnAdminAfterConfirmPasswordResetRequest() *hook.Hook[*AdminConfirmPasswordResetEvent] + func (app *BaseApp) OnAdminAfterCreateRequest() *hook.Hook[*AdminCreateEvent] + func (app *BaseApp) OnAdminAfterDeleteRequest() *hook.Hook[*AdminDeleteEvent] + func (app *BaseApp) OnAdminAfterRequestPasswordResetRequest() *hook.Hook[*AdminRequestPasswordResetEvent] + func (app *BaseApp) OnAdminAfterUpdateRequest() *hook.Hook[*AdminUpdateEvent] + func (app *BaseApp) OnAdminAuthRequest() *hook.Hook[*AdminAuthEvent] + func (app *BaseApp) OnAdminBeforeAuthRefreshRequest() *hook.Hook[*AdminAuthRefreshEvent] + func (app *BaseApp) OnAdminBeforeAuthWithPasswordRequest() *hook.Hook[*AdminAuthWithPasswordEvent] + func (app *BaseApp) OnAdminBeforeConfirmPasswordResetRequest() *hook.Hook[*AdminConfirmPasswordResetEvent] + func (app *BaseApp) OnAdminBeforeCreateRequest() *hook.Hook[*AdminCreateEvent] + func (app *BaseApp) OnAdminBeforeDeleteRequest() *hook.Hook[*AdminDeleteEvent] + func (app *BaseApp) OnAdminBeforeRequestPasswordResetRequest() *hook.Hook[*AdminRequestPasswordResetEvent] + func (app *BaseApp) OnAdminBeforeUpdateRequest() *hook.Hook[*AdminUpdateEvent] + func (app *BaseApp) OnAdminViewRequest() *hook.Hook[*AdminViewEvent] + func (app *BaseApp) OnAdminsListRequest() *hook.Hook[*AdminsListEvent] + func (app *BaseApp) OnAfterApiError() *hook.Hook[*ApiErrorEvent] + func (app *BaseApp) OnAfterBootstrap() *hook.Hook[*BootstrapEvent] + func (app *BaseApp) OnBeforeApiError() *hook.Hook[*ApiErrorEvent] + func (app *BaseApp) OnBeforeBootstrap() *hook.Hook[*BootstrapEvent] + func (app *BaseApp) OnBeforeServe() *hook.Hook[*ServeEvent] + func (app *BaseApp) OnCollectionAfterCreateRequest() *hook.Hook[*CollectionCreateEvent] + func (app *BaseApp) OnCollectionAfterDeleteRequest() *hook.Hook[*CollectionDeleteEvent] + func (app *BaseApp) OnCollectionAfterUpdateRequest() *hook.Hook[*CollectionUpdateEvent] + func (app *BaseApp) OnCollectionBeforeCreateRequest() *hook.Hook[*CollectionCreateEvent] + func (app *BaseApp) OnCollectionBeforeDeleteRequest() *hook.Hook[*CollectionDeleteEvent] + func (app *BaseApp) OnCollectionBeforeUpdateRequest() *hook.Hook[*CollectionUpdateEvent] + func (app *BaseApp) OnCollectionViewRequest() *hook.Hook[*CollectionViewEvent] + func (app *BaseApp) OnCollectionsAfterImportRequest() *hook.Hook[*CollectionsImportEvent] + func (app *BaseApp) OnCollectionsBeforeImportRequest() *hook.Hook[*CollectionsImportEvent] + func (app *BaseApp) OnCollectionsListRequest() *hook.Hook[*CollectionsListEvent] + func (app *BaseApp) OnFileAfterTokenRequest(tags ...string) *hook.TaggedHook[*FileTokenEvent] + func (app *BaseApp) OnFileBeforeTokenRequest(tags ...string) *hook.TaggedHook[*FileTokenEvent] + func (app *BaseApp) OnFileDownloadRequest(tags ...string) *hook.TaggedHook[*FileDownloadEvent] + func (app *BaseApp) OnMailerAfterAdminResetPasswordSend() *hook.Hook[*MailerAdminEvent] + func (app *BaseApp) OnMailerAfterRecordChangeEmailSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + func (app *BaseApp) OnMailerAfterRecordResetPasswordSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + func (app *BaseApp) OnMailerAfterRecordVerificationSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + func (app *BaseApp) OnMailerBeforeAdminResetPasswordSend() *hook.Hook[*MailerAdminEvent] + func (app *BaseApp) OnMailerBeforeRecordChangeEmailSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + func (app *BaseApp) OnMailerBeforeRecordResetPasswordSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + func (app *BaseApp) OnMailerBeforeRecordVerificationSend(tags ...string) *hook.TaggedHook[*MailerRecordEvent] + func (app *BaseApp) OnModelAfterCreate(tags ...string) *hook.TaggedHook[*ModelEvent] + func (app *BaseApp) OnModelAfterDelete(tags ...string) *hook.TaggedHook[*ModelEvent] + func (app *BaseApp) OnModelAfterUpdate(tags ...string) *hook.TaggedHook[*ModelEvent] + func (app *BaseApp) OnModelBeforeCreate(tags ...string) *hook.TaggedHook[*ModelEvent] + func (app *BaseApp) OnModelBeforeDelete(tags ...string) *hook.TaggedHook[*ModelEvent] + func (app *BaseApp) OnModelBeforeUpdate(tags ...string) *hook.TaggedHook[*ModelEvent] + func (app *BaseApp) OnRealtimeAfterMessageSend() *hook.Hook[*RealtimeMessageEvent] + func (app *BaseApp) OnRealtimeAfterSubscribeRequest() *hook.Hook[*RealtimeSubscribeEvent] + func (app *BaseApp) OnRealtimeBeforeMessageSend() *hook.Hook[*RealtimeMessageEvent] + func (app *BaseApp) OnRealtimeBeforeSubscribeRequest() *hook.Hook[*RealtimeSubscribeEvent] + func (app *BaseApp) OnRealtimeConnectRequest() *hook.Hook[*RealtimeConnectEvent] + func (app *BaseApp) OnRealtimeDisconnectRequest() *hook.Hook[*RealtimeDisconnectEvent] + func (app *BaseApp) OnRecordAfterAuthRefreshRequest(tags ...string) *hook.TaggedHook[*RecordAuthRefreshEvent] + func (app *BaseApp) OnRecordAfterAuthWithOAuth2Request(tags ...string) *hook.TaggedHook[*RecordAuthWithOAuth2Event] + func (app *BaseApp) OnRecordAfterAuthWithPasswordRequest(tags ...string) *hook.TaggedHook[*RecordAuthWithPasswordEvent] + func (app *BaseApp) OnRecordAfterConfirmEmailChangeRequest(tags ...string) *hook.TaggedHook[*RecordConfirmEmailChangeEvent] + func (app *BaseApp) OnRecordAfterConfirmPasswordResetRequest(tags ...string) *hook.TaggedHook[*RecordConfirmPasswordResetEvent] + func (app *BaseApp) OnRecordAfterConfirmVerificationRequest(tags ...string) *hook.TaggedHook[*RecordConfirmVerificationEvent] + func (app *BaseApp) OnRecordAfterCreateRequest(tags ...string) *hook.TaggedHook[*RecordCreateEvent] + func (app *BaseApp) OnRecordAfterDeleteRequest(tags ...string) *hook.TaggedHook[*RecordDeleteEvent] + func (app *BaseApp) OnRecordAfterRequestEmailChangeRequest(tags ...string) *hook.TaggedHook[*RecordRequestEmailChangeEvent] + func (app *BaseApp) OnRecordAfterRequestPasswordResetRequest(tags ...string) *hook.TaggedHook[*RecordRequestPasswordResetEvent] + func (app *BaseApp) OnRecordAfterRequestVerificationRequest(tags ...string) *hook.TaggedHook[*RecordRequestVerificationEvent] + func (app *BaseApp) OnRecordAfterUnlinkExternalAuthRequest(tags ...string) *hook.TaggedHook[*RecordUnlinkExternalAuthEvent] + func (app *BaseApp) OnRecordAfterUpdateRequest(tags ...string) *hook.TaggedHook[*RecordUpdateEvent] + func (app *BaseApp) OnRecordAuthRequest(tags ...string) *hook.TaggedHook[*RecordAuthEvent] + func (app *BaseApp) OnRecordBeforeAuthRefreshRequest(tags ...string) *hook.TaggedHook[*RecordAuthRefreshEvent] + func (app *BaseApp) OnRecordBeforeAuthWithOAuth2Request(tags ...string) *hook.TaggedHook[*RecordAuthWithOAuth2Event] + func (app *BaseApp) OnRecordBeforeAuthWithPasswordRequest(tags ...string) *hook.TaggedHook[*RecordAuthWithPasswordEvent] + func (app *BaseApp) OnRecordBeforeConfirmEmailChangeRequest(tags ...string) *hook.TaggedHook[*RecordConfirmEmailChangeEvent] + func (app *BaseApp) OnRecordBeforeConfirmPasswordResetRequest(tags ...string) *hook.TaggedHook[*RecordConfirmPasswordResetEvent] + func (app *BaseApp) OnRecordBeforeConfirmVerificationRequest(tags ...string) *hook.TaggedHook[*RecordConfirmVerificationEvent] + func (app *BaseApp) OnRecordBeforeCreateRequest(tags ...string) *hook.TaggedHook[*RecordCreateEvent] + func (app *BaseApp) OnRecordBeforeDeleteRequest(tags ...string) *hook.TaggedHook[*RecordDeleteEvent] + func (app *BaseApp) OnRecordBeforeRequestEmailChangeRequest(tags ...string) *hook.TaggedHook[*RecordRequestEmailChangeEvent] + func (app *BaseApp) OnRecordBeforeRequestPasswordResetRequest(tags ...string) *hook.TaggedHook[*RecordRequestPasswordResetEvent] + func (app *BaseApp) OnRecordBeforeRequestVerificationRequest(tags ...string) *hook.TaggedHook[*RecordRequestVerificationEvent] + func (app *BaseApp) OnRecordBeforeUnlinkExternalAuthRequest(tags ...string) *hook.TaggedHook[*RecordUnlinkExternalAuthEvent] + func (app *BaseApp) OnRecordBeforeUpdateRequest(tags ...string) *hook.TaggedHook[*RecordUpdateEvent] + func (app *BaseApp) OnRecordListExternalAuthsRequest(tags ...string) *hook.TaggedHook[*RecordListExternalAuthsEvent] + func (app *BaseApp) OnRecordViewRequest(tags ...string) *hook.TaggedHook[*RecordViewEvent] + func (app *BaseApp) OnRecordsListRequest(tags ...string) *hook.TaggedHook[*RecordsListEvent] + func (app *BaseApp) OnSettingsAfterUpdateRequest() *hook.Hook[*SettingsUpdateEvent] + func (app *BaseApp) OnSettingsBeforeUpdateRequest() *hook.Hook[*SettingsUpdateEvent] + func (app *BaseApp) OnSettingsListRequest() *hook.Hook[*SettingsListEvent] + func (app *BaseApp) OnTerminate() *hook.Hook[*TerminateEvent] + func (app *BaseApp) RefreshSettings() error + func (app *BaseApp) ResetBootstrapState() error + func (app *BaseApp) Restart() error + func (app *BaseApp) RestoreBackup(ctx context.Context, name string) error + func (app *BaseApp) Settings() *settings.Settings + func (app *BaseApp) Store() *store.Store[any] + func (app *BaseApp) SubscriptionsBroker() *subscriptions.Broker + type BaseAppConfig struct + DataDir string + DataMaxIdleConns int + DataMaxOpenConns int + EncryptionEnv string + IsDev bool + LogsMaxIdleConns int + LogsMaxOpenConns int + type BaseCollectionEvent struct + Collection *models.Collection + func (e *BaseCollectionEvent) Tags() []string + type BaseModelEvent struct + Model models.Model + func (e *BaseModelEvent) Tags() []string + type BootstrapEvent struct + App App + type CollectionCreateEvent struct + HttpContext echo.Context + type CollectionDeleteEvent struct + HttpContext echo.Context + type CollectionUpdateEvent struct + HttpContext echo.Context + type CollectionViewEvent struct + HttpContext echo.Context + type CollectionsImportEvent struct + Collections []*models.Collection + HttpContext echo.Context + type CollectionsListEvent struct + Collections []*models.Collection + HttpContext echo.Context + Result *search.Result + type FileDownloadEvent struct + FileField *schema.SchemaField + HttpContext echo.Context + Record *models.Record + ServedName string + ServedPath string + type FileTokenEvent struct + HttpContext echo.Context + Token string + type MailerAdminEvent struct + Admin *models.Admin + MailClient mailer.Mailer + Message *mailer.Message + Meta map[string]any + type MailerRecordEvent struct + MailClient mailer.Mailer + Message *mailer.Message + Meta map[string]any + Record *models.Record + type ModelEvent struct + Dao *daos.Dao + type RealtimeConnectEvent struct + Client subscriptions.Client + HttpContext echo.Context + IdleTimeout time.Duration + type RealtimeDisconnectEvent struct + Client subscriptions.Client + HttpContext echo.Context + type RealtimeMessageEvent struct + Client subscriptions.Client + HttpContext echo.Context + Message *subscriptions.Message + type RealtimeSubscribeEvent struct + Client subscriptions.Client + HttpContext echo.Context + Subscriptions []string + type RecordAuthEvent struct + HttpContext echo.Context + Meta any + Record *models.Record + Token string + type RecordAuthRefreshEvent struct + HttpContext echo.Context + Record *models.Record + type RecordAuthWithOAuth2Event struct + HttpContext echo.Context + IsNewRecord bool + OAuth2User *auth.AuthUser + ProviderClient auth.Provider + ProviderName string + Record *models.Record + type RecordAuthWithPasswordEvent struct + HttpContext echo.Context + Identity string + Password string + Record *models.Record + type RecordConfirmEmailChangeEvent struct + HttpContext echo.Context + Record *models.Record + type RecordConfirmPasswordResetEvent struct + HttpContext echo.Context + Record *models.Record + type RecordConfirmVerificationEvent struct + HttpContext echo.Context + Record *models.Record + type RecordCreateEvent struct + HttpContext echo.Context + Record *models.Record + UploadedFiles map[string][]*filesystem.File + type RecordDeleteEvent struct + HttpContext echo.Context + Record *models.Record + type RecordListExternalAuthsEvent struct + ExternalAuths []*models.ExternalAuth + HttpContext echo.Context + Record *models.Record + type RecordRequestEmailChangeEvent struct + HttpContext echo.Context + Record *models.Record + type RecordRequestPasswordResetEvent struct + HttpContext echo.Context + Record *models.Record + type RecordRequestVerificationEvent struct + HttpContext echo.Context + Record *models.Record + type RecordUnlinkExternalAuthEvent struct + ExternalAuth *models.ExternalAuth + HttpContext echo.Context + Record *models.Record + type RecordUpdateEvent struct + HttpContext echo.Context + Record *models.Record + UploadedFiles map[string][]*filesystem.File + type RecordViewEvent struct + HttpContext echo.Context + Record *models.Record + type RecordsListEvent struct + HttpContext echo.Context + Records []*models.Record + Result *search.Result + type ServeEvent struct + App App + CertManager *autocert.Manager + Router *echo.Echo + Server *http.Server + type SettingsListEvent struct + HttpContext echo.Context + RedactedSettings *settings.Settings + type SettingsUpdateEvent struct + HttpContext echo.Context + NewSettings *settings.Settings + OldSettings *settings.Settings + type TerminateEvent struct + App App + IsRestart bool