package
0.0.0-20250208085904-1b1a66c1158a
Repository: https://github.com/breadchris/share.git
Documentation: pkg.go.dev

# Packages

Package validators implements custom shared PocketBase validators.

# Functions

NewAdminLogin creates a new [AdminLogin] form initialized with the provided [core.App] instance.
NewAdminPasswordResetConfirm creates a new [AdminPasswordResetConfirm] form initialized with from the provided [core.App] instance.
NewAdminPasswordResetRequest creates a new [AdminPasswordResetRequest] form initialized with from the provided [core.App] instance.
NewAdminUpsert creates a new [AdminUpsert] form with initializer config created from the provided [core.App] and [models.Admin] instances (for create you could pass a pointer to an empty Admin - `&models.Admin{}`).
NewAppleClientSecretCreate creates a new [AppleClientSecretCreate] form with initializer config created from the provided [core.App] instances.
NewBackupCreate creates new BackupCreate request form.
NewBackupUpload creates new BackupUpload request form.
NewCollectionsImport creates a new [CollectionsImport] form with initialized with from the provided [core.App] instance.
NewCollectionUpsert creates a new [CollectionUpsert] form with initializer config created from the provided [core.App] and [models.Collection] instances (for create you could pass a pointer to an empty Collection - `&models.Collection{}`).
NewRealtimeSubscribe creates new RealtimeSubscribe request form.
NewRecordEmailChangeConfirm creates a new [RecordEmailChangeConfirm] form initialized with from the provided [core.App] and [models.Collection] instances.
NewRecordEmailChangeRequest creates a new [RecordEmailChangeRequest] form initialized with from the provided [core.App] and [models.Record] instances.
NewRecordOAuth2Login creates a new [RecordOAuth2Login] form with initialized with from the provided [core.App] instance.
NewRecordPasswordLogin creates a new [RecordPasswordLogin] form initialized with from the provided [core.App] and [models.Collection] instance.
NewRecordPasswordResetConfirm creates a new [RecordPasswordResetConfirm] form initialized with from the provided [core.App] instance.
NewRecordPasswordResetRequest creates a new [RecordPasswordResetRequest] form initialized with from the provided [core.App] instance.
NewRecordUpsert creates a new [RecordUpsert] form with initializer config created from the provided [core.App] and [models.Record] instances (for create you could pass a pointer to an empty Record - models.NewRecord(collection)).
NewRecordVerificationConfirm creates a new [RecordVerificationConfirm] form initialized with from the provided [core.App] instance.
NewRecordVerificationRequest creates a new [RecordVerificationRequest] form initialized with from the provided [core.App] instance.
NewSettingsUpsert creates a new [SettingsUpsert] form with initializer config created from the provided [core.App] instance.
NewTestEmailSend creates and initializes new TestEmailSend form.
NewTestS3Filesystem creates and initializes new TestS3Filesystem form.

# Structs

AdminLogin is an admin email/pass login form.
AdminPasswordResetConfirm is an admin password reset confirmation form.
AdminPasswordResetRequest is an admin password reset request form.
AdminUpsert is a [models.Admin] upsert (create/update) form.
AppleClientSecretCreate is a form struct to generate a new Apple Client Secret.
BackupCreate is a request form for creating a new app backup.
BackupUpload is a request form for uploading a new app backup.
CollectionsImport is a form model to bulk import (create, replace and delete) collections from a user provided list.
CollectionUpsert is a [models.Collection] upsert (create/update) form.
RealtimeSubscribe is a realtime subscriptions request form.
RecordEmailChangeConfirm is an auth record email change confirmation form.
RecordEmailChangeRequest is an auth record email change request form.
RecordOAuth2Login is an auth record OAuth2 login form.
RecordOAuth2LoginData defines the OA.
RecordPasswordLogin is record username/email + password login form.
RecordPasswordResetConfirm is an auth record password reset confirmation form.
RecordPasswordResetRequest is an auth record reset password request form.
RecordUpsert is a [models.Record] upsert (create/update) form.
RecordVerificationConfirm is an auth record email verification confirmation form.
RecordVerificationRequest is an auth record email verification request form.
SettingsUpsert is a [settings.Settings] upsert (create/update) form.
TestEmailSend is a email template test request form.
TestS3Filesystem defines a S3 filesystem connection test.

# Type aliases

BeforeOAuth2RecordCreateFunc defines a callback function that will be called before OAuth2 new Record creation.
InterceptorFunc defines a single interceptor function that will execute the provided next func handler.
InterceptorNextFunc is a interceptor handler function.