payload 3.0.0-alpha.60 → 3.0.0-alpha.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/RichText.d.ts +5 -0
- package/dist/admin/RichText.d.ts.map +1 -1
- package/dist/admin/RichText.js.map +1 -1
- package/dist/admin/elements/Cell.js.map +1 -1
- package/dist/admin/elements/DatePicker.js.map +1 -1
- package/dist/admin/elements/PreviewButton.d.ts +2 -1
- package/dist/admin/elements/PreviewButton.d.ts.map +1 -1
- package/dist/admin/elements/PreviewButton.js.map +1 -1
- package/dist/admin/elements/PublishButton.d.ts +2 -1
- package/dist/admin/elements/PublishButton.d.ts.map +1 -1
- package/dist/admin/elements/PublishButton.js.map +1 -1
- package/dist/admin/elements/SaveButton.d.ts +2 -1
- package/dist/admin/elements/SaveButton.d.ts.map +1 -1
- package/dist/admin/elements/SaveButton.js.map +1 -1
- package/dist/admin/elements/SaveDraftButton.d.ts +2 -1
- package/dist/admin/elements/SaveDraftButton.d.ts.map +1 -1
- package/dist/admin/elements/SaveDraftButton.js.map +1 -1
- package/dist/admin/elements/Tab.js.map +1 -1
- package/dist/admin/elements/WithServerSideProps.d.ts +5 -0
- package/dist/admin/elements/WithServerSideProps.d.ts.map +1 -0
- package/dist/admin/elements/WithServerSideProps.js +3 -0
- package/dist/admin/elements/WithServerSideProps.js.map +1 -0
- package/dist/admin/forms/Error.js.map +1 -1
- package/dist/admin/forms/FieldDescription.d.ts +5 -2
- package/dist/admin/forms/FieldDescription.d.ts.map +1 -1
- package/dist/admin/forms/FieldDescription.js.map +1 -1
- package/dist/admin/forms/FieldTypes.js.map +1 -1
- package/dist/admin/forms/Form.js.map +1 -1
- package/dist/admin/forms/Label.d.ts +2 -1
- package/dist/admin/forms/Label.d.ts.map +1 -1
- package/dist/admin/forms/Label.js.map +1 -1
- package/dist/admin/forms/RowLabel.d.ts +2 -1
- package/dist/admin/forms/RowLabel.d.ts.map +1 -1
- package/dist/admin/forms/RowLabel.js.map +1 -1
- package/dist/admin/types.d.ts +1 -0
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/admin/views/types.d.ts +2 -2
- package/dist/admin/views/types.d.ts.map +1 -1
- package/dist/admin/views/types.js.map +1 -1
- package/dist/assets/assets.d.js.map +1 -1
- package/dist/auth/baseFields/accountLock.js.map +1 -1
- package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
- package/dist/auth/baseFields/apiKey.js +3 -7
- package/dist/auth/baseFields/apiKey.js.map +1 -1
- package/dist/auth/baseFields/auth.d.ts.map +1 -1
- package/dist/auth/baseFields/auth.js +1 -5
- package/dist/auth/baseFields/auth.js.map +1 -1
- package/dist/auth/baseFields/verification.d.ts.map +1 -1
- package/dist/auth/baseFields/verification.js +1 -5
- package/dist/auth/baseFields/verification.js.map +1 -1
- package/dist/auth/cookies.d.ts +16 -4
- package/dist/auth/cookies.d.ts.map +1 -1
- package/dist/auth/cookies.js +45 -14
- package/dist/auth/cookies.js.map +1 -1
- package/dist/auth/crypto.js.map +1 -1
- package/dist/auth/defaultAccess.js.map +1 -1
- package/dist/auth/defaultUser.d.ts.map +1 -1
- package/dist/auth/defaultUser.js +2 -7
- package/dist/auth/defaultUser.js.map +1 -1
- package/dist/auth/executeAccess.js.map +1 -1
- package/dist/auth/executeAuthStrategies.d.ts +3 -2
- package/dist/auth/executeAuthStrategies.d.ts.map +1 -1
- package/dist/auth/executeAuthStrategies.js.map +1 -1
- package/dist/auth/extractJWT.js.map +1 -1
- package/dist/auth/getAccessResults.js.map +1 -1
- package/dist/auth/getFieldsToSign.d.ts +2 -2
- package/dist/auth/getFieldsToSign.d.ts.map +1 -1
- package/dist/auth/getFieldsToSign.js.map +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/isLocked.js.map +1 -1
- package/dist/auth/operations/access.js.map +1 -1
- package/dist/auth/operations/auth.d.ts +5 -4
- package/dist/auth/operations/auth.d.ts.map +1 -1
- package/dist/auth/operations/auth.js.map +1 -1
- package/dist/auth/operations/forgotPassword.js +3 -3
- package/dist/auth/operations/forgotPassword.js.map +1 -1
- package/dist/auth/operations/init.js.map +1 -1
- package/dist/auth/operations/local/auth.js +1 -1
- package/dist/auth/operations/local/auth.js.map +1 -1
- package/dist/auth/operations/local/forgotPassword.js.map +1 -1
- package/dist/auth/operations/local/index.js.map +1 -1
- package/dist/auth/operations/local/login.js.map +1 -1
- package/dist/auth/operations/local/resetPassword.js.map +1 -1
- package/dist/auth/operations/local/unlock.js.map +1 -1
- package/dist/auth/operations/local/verifyEmail.js.map +1 -1
- package/dist/auth/operations/login.d.ts.map +1 -1
- package/dist/auth/operations/login.js +17 -1
- package/dist/auth/operations/login.js.map +1 -1
- package/dist/auth/operations/logout.js.map +1 -1
- package/dist/auth/operations/me.js.map +1 -1
- package/dist/auth/operations/refresh.js.map +1 -1
- package/dist/auth/operations/registerFirstUser.js.map +1 -1
- package/dist/auth/operations/resetPassword.js.map +1 -1
- package/dist/auth/operations/unlock.js.map +1 -1
- package/dist/auth/operations/verifyEmail.js.map +1 -1
- package/dist/auth/sendVerificationEmail.d.ts +5 -6
- package/dist/auth/sendVerificationEmail.d.ts.map +1 -1
- package/dist/auth/sendVerificationEmail.js +4 -5
- package/dist/auth/sendVerificationEmail.js.map +1 -1
- package/dist/auth/strategies/apiKey.js.map +1 -1
- package/dist/auth/strategies/jwt.js.map +1 -1
- package/dist/auth/strategies/local/authenticate.js.map +1 -1
- package/dist/auth/strategies/local/generatePasswordSaltHash.js.map +1 -1
- package/dist/auth/strategies/local/incrementLoginAttempts.js.map +1 -1
- package/dist/auth/strategies/local/register.js.map +1 -1
- package/dist/auth/strategies/local/resetLoginAttempts.js.map +1 -1
- package/dist/auth/types.js.map +1 -1
- package/dist/bin/generateTypes.js.map +1 -1
- package/dist/bin/index.js.map +1 -1
- package/dist/bin/loadEnv.js.map +1 -1
- package/dist/bin/loader/clientExtensions.js.map +1 -1
- package/dist/bin/loader/compile.js.map +1 -1
- package/dist/bin/loader/index.d.ts.map +1 -1
- package/dist/bin/loader/index.js +4 -1
- package/dist/bin/loader/index.js.map +1 -1
- package/dist/bin/loader/read-default-tsconfig.js.map +1 -1
- package/dist/bin/migrate.js.map +1 -1
- package/dist/collections/config/build.js.map +1 -1
- package/dist/collections/config/client.d.ts +26 -16
- package/dist/collections/config/client.d.ts.map +1 -1
- package/dist/collections/config/client.js +21 -4
- package/dist/collections/config/client.js.map +1 -1
- package/dist/collections/config/defaults.d.ts +1 -0
- package/dist/collections/config/defaults.d.ts.map +1 -1
- package/dist/collections/config/defaults.js +1 -0
- package/dist/collections/config/defaults.js.map +1 -1
- package/dist/collections/config/sanitize.d.ts.map +1 -1
- package/dist/collections/config/sanitize.js +2 -7
- package/dist/collections/config/sanitize.js.map +1 -1
- package/dist/collections/config/schema.d.ts.map +1 -1
- package/dist/collections/config/schema.js +4 -2
- package/dist/collections/config/schema.js.map +1 -1
- package/dist/collections/config/types.d.ts +14 -10
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/dataloader.d.ts.map +1 -1
- package/dist/collections/dataloader.js +3 -5
- package/dist/collections/dataloader.js.map +1 -1
- package/dist/collections/operations/count.d.ts +13 -0
- package/dist/collections/operations/count.d.ts.map +1 -0
- package/dist/collections/operations/count.js +75 -0
- package/dist/collections/operations/count.js.map +1 -0
- package/dist/collections/operations/create.d.ts.map +1 -1
- package/dist/collections/operations/create.js +4 -8
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/collections/operations/delete.js.map +1 -1
- package/dist/collections/operations/deleteByID.js.map +1 -1
- package/dist/collections/operations/docAccess.js.map +1 -1
- package/dist/collections/operations/duplicate.js.map +1 -1
- package/dist/collections/operations/find.js.map +1 -1
- package/dist/collections/operations/findByID.js.map +1 -1
- package/dist/collections/operations/findVersionByID.js.map +1 -1
- package/dist/collections/operations/findVersions.js.map +1 -1
- package/dist/collections/operations/local/count.d.ts +20 -0
- package/dist/collections/operations/local/count.d.ts.map +1 -0
- package/dist/collections/operations/local/count.js +19 -0
- package/dist/collections/operations/local/count.js.map +1 -0
- package/dist/collections/operations/local/create.d.ts +2 -2
- package/dist/collections/operations/local/create.d.ts.map +1 -1
- package/dist/collections/operations/local/create.js +2 -1
- package/dist/collections/operations/local/create.js.map +1 -1
- package/dist/collections/operations/local/delete.d.ts +2 -2
- package/dist/collections/operations/local/delete.d.ts.map +1 -1
- package/dist/collections/operations/local/delete.js.map +1 -1
- package/dist/collections/operations/local/duplicate.d.ts +2 -2
- package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
- package/dist/collections/operations/local/duplicate.js +1 -1
- package/dist/collections/operations/local/duplicate.js.map +1 -1
- package/dist/collections/operations/local/find.d.ts +2 -2
- package/dist/collections/operations/local/find.d.ts.map +1 -1
- package/dist/collections/operations/local/find.js.map +1 -1
- package/dist/collections/operations/local/findByID.d.ts +2 -2
- package/dist/collections/operations/local/findByID.d.ts.map +1 -1
- package/dist/collections/operations/local/findByID.js.map +1 -1
- package/dist/collections/operations/local/findVersionByID.d.ts +2 -2
- package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
- package/dist/collections/operations/local/findVersionByID.js.map +1 -1
- package/dist/collections/operations/local/findVersions.d.ts +2 -2
- package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
- package/dist/collections/operations/local/findVersions.js.map +1 -1
- package/dist/collections/operations/local/index.d.ts +2 -0
- package/dist/collections/operations/local/index.d.ts.map +1 -1
- package/dist/collections/operations/local/index.js +2 -0
- package/dist/collections/operations/local/index.js.map +1 -1
- package/dist/collections/operations/local/restoreVersion.d.ts +2 -2
- package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/local/restoreVersion.js.map +1 -1
- package/dist/collections/operations/local/update.d.ts +2 -2
- package/dist/collections/operations/local/update.d.ts.map +1 -1
- package/dist/collections/operations/local/update.js.map +1 -1
- package/dist/collections/operations/restoreVersion.js.map +1 -1
- package/dist/collections/operations/update.d.ts.map +1 -1
- package/dist/collections/operations/update.js +2 -2
- package/dist/collections/operations/update.js.map +1 -1
- package/dist/collections/operations/updateByID.js +1 -1
- package/dist/collections/operations/updateByID.js.map +1 -1
- package/dist/collections/operations/utils.d.ts +6 -0
- package/dist/collections/operations/utils.d.ts.map +1 -1
- package/dist/collections/operations/utils.js.map +1 -1
- package/dist/config/build.js.map +1 -1
- package/dist/config/client.d.ts +7 -2
- package/dist/config/client.d.ts.map +1 -1
- package/dist/config/client.js +11 -5
- package/dist/config/client.js.map +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +1 -0
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/find.d.ts.map +1 -1
- package/dist/config/find.js +20 -9
- package/dist/config/find.js.map +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/config/sanitize.js +5 -3
- package/dist/config/sanitize.js.map +1 -1
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +1 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/config/shared/adminViewSchema.js.map +1 -1
- package/dist/config/shared/componentSchema.js.map +1 -1
- package/dist/config/types.d.ts +33 -52
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +3 -12
- package/dist/config/types.js.map +1 -1
- package/dist/config/validate.js.map +1 -1
- package/dist/database/combineQueries.js.map +1 -1
- package/dist/database/createDatabaseAdapter.js.map +1 -1
- package/dist/database/flattenWhereToOperators.js.map +1 -1
- package/dist/database/getLocalizedPaths.js.map +1 -1
- package/dist/database/migrations/createMigration.js.map +1 -1
- package/dist/database/migrations/getMigrations.js.map +1 -1
- package/dist/database/migrations/migrate.js.map +1 -1
- package/dist/database/migrations/migrateDown.js.map +1 -1
- package/dist/database/migrations/migrateRefresh.js.map +1 -1
- package/dist/database/migrations/migrateReset.js.map +1 -1
- package/dist/database/migrations/migrateStatus.js.map +1 -1
- package/dist/database/migrations/migrationTemplate.js.map +1 -1
- package/dist/database/migrations/migrationsCollection.js.map +1 -1
- package/dist/database/migrations/readMigrationFiles.js.map +1 -1
- package/dist/database/queryValidation/types.js.map +1 -1
- package/dist/database/queryValidation/validateQueryPaths.js.map +1 -1
- package/dist/database/queryValidation/validateSearchParams.js.map +1 -1
- package/dist/database/types.d.ts +10 -0
- package/dist/database/types.d.ts.map +1 -1
- package/dist/database/types.js.map +1 -1
- package/dist/email/consoleEmailAdapter.d.ts +3 -0
- package/dist/email/consoleEmailAdapter.d.ts.map +1 -0
- package/dist/email/consoleEmailAdapter.js +16 -0
- package/dist/email/consoleEmailAdapter.js.map +1 -0
- package/dist/email/defaults.d.ts +2 -2
- package/dist/email/defaults.d.ts.map +1 -1
- package/dist/email/defaults.js +3 -3
- package/dist/email/defaults.js.map +1 -1
- package/dist/email/getStringifiedToAddress.d.ts +3 -0
- package/dist/email/getStringifiedToAddress.d.ts.map +1 -0
- package/dist/email/getStringifiedToAddress.js +20 -0
- package/dist/email/getStringifiedToAddress.js.map +1 -0
- package/dist/email/sendEmail.d.ts +3 -2
- package/dist/email/sendEmail.d.ts.map +1 -1
- package/dist/email/sendEmail.js +8 -4
- package/dist/email/sendEmail.js.map +1 -1
- package/dist/email/types.d.ts +25 -18
- package/dist/email/types.d.ts.map +1 -1
- package/dist/email/types.js +5 -1
- package/dist/email/types.js.map +1 -1
- package/dist/errors/APIError.js.map +1 -1
- package/dist/errors/AuthenticationError.js +2 -2
- package/dist/errors/AuthenticationError.js.map +1 -1
- package/dist/errors/DuplicateCollection.js.map +1 -1
- package/dist/errors/DuplicateFieldName.js.map +1 -1
- package/dist/errors/DuplicateGlobal.js.map +1 -1
- package/dist/errors/ErrorDeletingFile.js +2 -2
- package/dist/errors/ErrorDeletingFile.js.map +1 -1
- package/dist/errors/FileUploadError.js +2 -2
- package/dist/errors/FileUploadError.js.map +1 -1
- package/dist/errors/Forbidden.js +2 -2
- package/dist/errors/Forbidden.js.map +1 -1
- package/dist/errors/InvalidConfiguration.js.map +1 -1
- package/dist/errors/InvalidFieldName.js.map +1 -1
- package/dist/errors/InvalidFieldRelationship.js.map +1 -1
- package/dist/errors/InvalidSchema.js.map +1 -1
- package/dist/errors/LockedAuth.js +2 -2
- package/dist/errors/LockedAuth.js.map +1 -1
- package/dist/errors/MissingCollectionLabel.js.map +1 -1
- package/dist/errors/MissingEditorProp.js.map +1 -1
- package/dist/errors/MissingFieldInputOptions.js.map +1 -1
- package/dist/errors/MissingFieldType.js.map +1 -1
- package/dist/errors/MissingFile.js +2 -2
- package/dist/errors/MissingFile.js.map +1 -1
- package/dist/errors/NotFound.js +2 -2
- package/dist/errors/NotFound.js.map +1 -1
- package/dist/errors/QueryError.js.map +1 -1
- package/dist/errors/TimestampsRequired.js.map +1 -1
- package/dist/errors/UnathorizedError.js +2 -2
- package/dist/errors/UnathorizedError.js.map +1 -1
- package/dist/errors/ValidationError.js +2 -2
- package/dist/errors/ValidationError.js.map +1 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/types.js.map +1 -1
- package/dist/exports/auth.d.ts +1 -0
- package/dist/exports/auth.d.ts.map +1 -1
- package/dist/exports/auth.js +1 -0
- package/dist/exports/auth.js.map +1 -1
- package/dist/exports/components/utilities.js.map +1 -1
- package/dist/exports/config.js.map +1 -1
- package/dist/exports/database.d.ts +1 -1
- package/dist/exports/database.d.ts.map +1 -1
- package/dist/exports/database.js.map +1 -1
- package/dist/exports/errors.js.map +1 -1
- package/dist/exports/fields/index.js.map +1 -1
- package/dist/exports/fields/validations.js.map +1 -1
- package/dist/exports/i18n/ar.d.ts +2 -0
- package/dist/exports/i18n/ar.d.ts.map +1 -0
- package/dist/exports/i18n/ar.js +3 -0
- package/dist/exports/i18n/ar.js.map +1 -0
- package/dist/exports/i18n/az.d.ts +2 -0
- package/dist/exports/i18n/az.d.ts.map +1 -0
- package/dist/exports/i18n/az.js +3 -0
- package/dist/exports/i18n/az.js.map +1 -0
- package/dist/exports/i18n/bg.d.ts +2 -0
- package/dist/exports/i18n/bg.d.ts.map +1 -0
- package/dist/exports/i18n/bg.js +3 -0
- package/dist/exports/i18n/bg.js.map +1 -0
- package/dist/exports/i18n/cs.d.ts +2 -0
- package/dist/exports/i18n/cs.d.ts.map +1 -0
- package/dist/exports/i18n/cs.js +3 -0
- package/dist/exports/i18n/cs.js.map +1 -0
- package/dist/exports/i18n/de.d.ts +2 -0
- package/dist/exports/i18n/de.d.ts.map +1 -0
- package/dist/exports/i18n/de.js +3 -0
- package/dist/exports/i18n/de.js.map +1 -0
- package/dist/exports/i18n/en.d.ts +2 -0
- package/dist/exports/i18n/en.d.ts.map +1 -0
- package/dist/exports/i18n/en.js +3 -0
- package/dist/exports/i18n/en.js.map +1 -0
- package/dist/exports/i18n/es.d.ts +2 -0
- package/dist/exports/i18n/es.d.ts.map +1 -0
- package/dist/exports/i18n/es.js +3 -0
- package/dist/exports/i18n/es.js.map +1 -0
- package/dist/exports/i18n/fa.d.ts +2 -0
- package/dist/exports/i18n/fa.d.ts.map +1 -0
- package/dist/exports/i18n/fa.js +3 -0
- package/dist/exports/i18n/fa.js.map +1 -0
- package/dist/exports/i18n/fr.d.ts +2 -0
- package/dist/exports/i18n/fr.d.ts.map +1 -0
- package/dist/exports/i18n/fr.js +3 -0
- package/dist/exports/i18n/fr.js.map +1 -0
- package/dist/exports/i18n/hr.d.ts +2 -0
- package/dist/exports/i18n/hr.d.ts.map +1 -0
- package/dist/exports/i18n/hr.js +3 -0
- package/dist/exports/i18n/hr.js.map +1 -0
- package/dist/exports/i18n/hu.d.ts +2 -0
- package/dist/exports/i18n/hu.d.ts.map +1 -0
- package/dist/exports/i18n/hu.js +3 -0
- package/dist/exports/i18n/hu.js.map +1 -0
- package/dist/exports/i18n/it.d.ts +2 -0
- package/dist/exports/i18n/it.d.ts.map +1 -0
- package/dist/exports/i18n/it.js +3 -0
- package/dist/exports/i18n/it.js.map +1 -0
- package/dist/exports/i18n/ja.d.ts +2 -0
- package/dist/exports/i18n/ja.d.ts.map +1 -0
- package/dist/exports/i18n/ja.js +3 -0
- package/dist/exports/i18n/ja.js.map +1 -0
- package/dist/exports/i18n/ko.d.ts +2 -0
- package/dist/exports/i18n/ko.d.ts.map +1 -0
- package/dist/exports/i18n/ko.js +3 -0
- package/dist/exports/i18n/ko.js.map +1 -0
- package/dist/exports/i18n/my.d.ts +2 -0
- package/dist/exports/i18n/my.d.ts.map +1 -0
- package/dist/exports/i18n/my.js +3 -0
- package/dist/exports/i18n/my.js.map +1 -0
- package/dist/exports/i18n/nb.d.ts +2 -0
- package/dist/exports/i18n/nb.d.ts.map +1 -0
- package/dist/exports/i18n/nb.js +3 -0
- package/dist/exports/i18n/nb.js.map +1 -0
- package/dist/exports/i18n/nl.d.ts +2 -0
- package/dist/exports/i18n/nl.d.ts.map +1 -0
- package/dist/exports/i18n/nl.js +3 -0
- package/dist/exports/i18n/nl.js.map +1 -0
- package/dist/exports/i18n/pl.d.ts +2 -0
- package/dist/exports/i18n/pl.d.ts.map +1 -0
- package/dist/exports/i18n/pl.js +3 -0
- package/dist/exports/i18n/pl.js.map +1 -0
- package/dist/exports/i18n/pt.d.ts +2 -0
- package/dist/exports/i18n/pt.d.ts.map +1 -0
- package/dist/exports/i18n/pt.js +3 -0
- package/dist/exports/i18n/pt.js.map +1 -0
- package/dist/exports/i18n/ro.d.ts +2 -0
- package/dist/exports/i18n/ro.d.ts.map +1 -0
- package/dist/exports/i18n/ro.js +3 -0
- package/dist/exports/i18n/ro.js.map +1 -0
- package/dist/exports/i18n/rs.d.ts +2 -0
- package/dist/exports/i18n/rs.d.ts.map +1 -0
- package/dist/exports/i18n/rs.js +3 -0
- package/dist/exports/i18n/rs.js.map +1 -0
- package/dist/exports/i18n/rsLatin.d.ts +2 -0
- package/dist/exports/i18n/rsLatin.d.ts.map +1 -0
- package/dist/exports/i18n/rsLatin.js +3 -0
- package/dist/exports/i18n/rsLatin.js.map +1 -0
- package/dist/exports/i18n/ru.d.ts +2 -0
- package/dist/exports/i18n/ru.d.ts.map +1 -0
- package/dist/exports/i18n/ru.js +3 -0
- package/dist/exports/i18n/ru.js.map +1 -0
- package/dist/exports/i18n/sv.d.ts +2 -0
- package/dist/exports/i18n/sv.d.ts.map +1 -0
- package/dist/exports/i18n/sv.js +3 -0
- package/dist/exports/i18n/sv.js.map +1 -0
- package/dist/exports/i18n/th.d.ts +2 -0
- package/dist/exports/i18n/th.d.ts.map +1 -0
- package/dist/exports/i18n/th.js +3 -0
- package/dist/exports/i18n/th.js.map +1 -0
- package/dist/exports/i18n/tr.d.ts +2 -0
- package/dist/exports/i18n/tr.d.ts.map +1 -0
- package/dist/exports/i18n/tr.js +3 -0
- package/dist/exports/i18n/tr.js.map +1 -0
- package/dist/exports/i18n/uk.d.ts +2 -0
- package/dist/exports/i18n/uk.d.ts.map +1 -0
- package/dist/exports/i18n/uk.js +3 -0
- package/dist/exports/i18n/uk.js.map +1 -0
- package/dist/exports/i18n/vi.d.ts +2 -0
- package/dist/exports/i18n/vi.d.ts.map +1 -0
- package/dist/exports/i18n/vi.js +3 -0
- package/dist/exports/i18n/vi.js.map +1 -0
- package/dist/exports/i18n/zh.d.ts +2 -0
- package/dist/exports/i18n/zh.d.ts.map +1 -0
- package/dist/exports/i18n/zh.js +3 -0
- package/dist/exports/i18n/zh.js.map +1 -0
- package/dist/exports/i18n/zhTw.d.ts +2 -0
- package/dist/exports/i18n/zhTw.d.ts.map +1 -0
- package/dist/exports/i18n/zhTw.js +3 -0
- package/dist/exports/i18n/zhTw.js.map +1 -0
- package/dist/exports/node.d.ts +4 -0
- package/dist/exports/node.d.ts.map +1 -1
- package/dist/exports/node.js +3 -0
- package/dist/exports/node.js.map +1 -1
- package/dist/exports/operations.d.ts +1 -0
- package/dist/exports/operations.d.ts.map +1 -1
- package/dist/exports/operations.js +1 -0
- package/dist/exports/operations.js.map +1 -1
- package/dist/exports/types.d.ts +1 -0
- package/dist/exports/types.d.ts.map +1 -1
- package/dist/exports/types.js.map +1 -1
- package/dist/exports/uploads.js.map +1 -1
- package/dist/exports/utilities.d.ts +4 -3
- package/dist/exports/utilities.d.ts.map +1 -1
- package/dist/exports/utilities.js +4 -4
- package/dist/exports/utilities.js.map +1 -1
- package/dist/exports/versions.js.map +1 -1
- package/dist/fields/baseFields/baseBlockFields.d.ts +2 -2
- package/dist/fields/baseFields/baseBlockFields.d.ts.map +1 -1
- package/dist/fields/baseFields/baseBlockFields.js.map +1 -1
- package/dist/fields/baseFields/baseIDField.js.map +1 -1
- package/dist/fields/config/client.d.ts +160 -128
- package/dist/fields/config/client.d.ts.map +1 -1
- package/dist/fields/config/client.js +33 -7
- package/dist/fields/config/client.js.map +1 -1
- package/dist/fields/config/sanitize.js.map +1 -1
- package/dist/fields/config/sanitize.spec.js +4 -1
- package/dist/fields/config/sanitize.spec.js.map +1 -1
- package/dist/fields/config/schema.d.ts.map +1 -1
- package/dist/fields/config/schema.js +10 -4
- package/dist/fields/config/schema.js.map +1 -1
- package/dist/fields/config/types.d.ts +62 -53
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/fields/getDefaultValue.d.ts +2 -2
- package/dist/fields/getDefaultValue.d.ts.map +1 -1
- package/dist/fields/getDefaultValue.js.map +1 -1
- package/dist/fields/hooks/afterChange/index.js.map +1 -1
- package/dist/fields/hooks/afterChange/promise.js.map +1 -1
- package/dist/fields/hooks/afterChange/traverseFields.js.map +1 -1
- package/dist/fields/hooks/afterRead/index.js.map +1 -1
- package/dist/fields/hooks/afterRead/promise.js.map +1 -1
- package/dist/fields/hooks/afterRead/relationshipPopulationPromise.js.map +1 -1
- package/dist/fields/hooks/afterRead/traverseFields.js.map +1 -1
- package/dist/fields/hooks/beforeChange/beforeDuplicate.js.map +1 -1
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.js.map +1 -1
- package/dist/fields/hooks/beforeChange/getExistingRowDoc.js.map +1 -1
- package/dist/fields/hooks/beforeChange/index.js.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
- package/dist/fields/hooks/beforeChange/traverseFields.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/index.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/traverseFields.js.map +1 -1
- package/dist/fields/mergeBaseFields.js.map +1 -1
- package/dist/fields/setDefaultBeforeDuplicate.d.ts.map +1 -1
- package/dist/fields/setDefaultBeforeDuplicate.js +2 -6
- package/dist/fields/setDefaultBeforeDuplicate.js.map +1 -1
- package/dist/fields/sortableFieldTypes.js.map +1 -1
- package/dist/fields/validations.d.ts +6 -4
- package/dist/fields/validations.d.ts.map +1 -1
- package/dist/fields/validations.js +49 -10
- package/dist/fields/validations.js.map +1 -1
- package/dist/fields/validations.spec.js +6 -1
- package/dist/fields/validations.spec.js.map +1 -1
- package/dist/globals/config/client.d.ts +10 -3
- package/dist/globals/config/client.d.ts.map +1 -1
- package/dist/globals/config/client.js +11 -4
- package/dist/globals/config/client.js.map +1 -1
- package/dist/globals/config/sanitize.d.ts.map +1 -1
- package/dist/globals/config/sanitize.js +2 -7
- package/dist/globals/config/sanitize.js.map +1 -1
- package/dist/globals/config/schema.d.ts.map +1 -1
- package/dist/globals/config/schema.js +2 -1
- package/dist/globals/config/schema.js.map +1 -1
- package/dist/globals/config/types.d.ts +4 -3
- package/dist/globals/config/types.d.ts.map +1 -1
- package/dist/globals/config/types.js.map +1 -1
- package/dist/globals/operations/docAccess.js.map +1 -1
- package/dist/globals/operations/findOne.d.ts +0 -1
- package/dist/globals/operations/findOne.d.ts.map +1 -1
- package/dist/globals/operations/findOne.js.map +1 -1
- package/dist/globals/operations/findVersionByID.js.map +1 -1
- package/dist/globals/operations/findVersions.js.map +1 -1
- package/dist/globals/operations/local/findOne.d.ts +2 -2
- package/dist/globals/operations/local/findOne.d.ts.map +1 -1
- package/dist/globals/operations/local/findOne.js.map +1 -1
- package/dist/globals/operations/local/findVersionByID.d.ts +2 -2
- package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
- package/dist/globals/operations/local/findVersionByID.js +1 -0
- package/dist/globals/operations/local/findVersionByID.js.map +1 -1
- package/dist/globals/operations/local/findVersions.d.ts +2 -2
- package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
- package/dist/globals/operations/local/findVersions.js.map +1 -1
- package/dist/globals/operations/local/index.js.map +1 -1
- package/dist/globals/operations/local/restoreVersion.d.ts +2 -2
- package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
- package/dist/globals/operations/local/restoreVersion.js.map +1 -1
- package/dist/globals/operations/local/update.d.ts +2 -2
- package/dist/globals/operations/local/update.d.ts.map +1 -1
- package/dist/globals/operations/local/update.js.map +1 -1
- package/dist/globals/operations/restoreVersion.js.map +1 -1
- package/dist/globals/operations/update.js.map +1 -1
- package/dist/index.d.ts +17 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -14
- package/dist/index.js.map +1 -1
- package/dist/preferences/deleteUserPreferences.js.map +1 -1
- package/dist/preferences/operations/delete.js.map +1 -1
- package/dist/preferences/operations/findOne.js.map +1 -1
- package/dist/preferences/operations/update.d.ts +1 -1
- package/dist/preferences/operations/update.js.map +1 -1
- package/dist/preferences/preferencesCollection.js.map +1 -1
- package/dist/preferences/requestHandlers/delete.js.map +1 -1
- package/dist/preferences/requestHandlers/findOne.js.map +1 -1
- package/dist/preferences/requestHandlers/update.js.map +1 -1
- package/dist/preferences/types.d.ts +1 -2
- package/dist/preferences/types.d.ts.map +1 -1
- package/dist/preferences/types.js.map +1 -1
- package/dist/translations/getLocalI18n.d.ts +3 -2
- package/dist/translations/getLocalI18n.d.ts.map +1 -1
- package/dist/translations/getLocalI18n.js +2 -4
- package/dist/translations/getLocalI18n.js.map +1 -1
- package/dist/types/constants.js.map +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/uploads/canResizeImage.js.map +1 -1
- package/dist/uploads/cropImage.js.map +1 -1
- package/dist/uploads/deleteAssociatedFiles.js.map +1 -1
- package/dist/uploads/docWithFilenameExists.js.map +1 -1
- package/dist/uploads/fileExists.js.map +1 -1
- package/dist/uploads/formatFilesize.js.map +1 -1
- package/dist/uploads/generateFileData.d.ts.map +1 -1
- package/dist/uploads/generateFileData.js +3 -2
- package/dist/uploads/generateFileData.js.map +1 -1
- package/dist/uploads/getBaseFields.d.ts.map +1 -1
- package/dist/uploads/getBaseFields.js +5 -13
- package/dist/uploads/getBaseFields.js.map +1 -1
- package/dist/uploads/getExternalFile.d.ts +3 -2
- package/dist/uploads/getExternalFile.d.ts.map +1 -1
- package/dist/uploads/getExternalFile.js +5 -4
- package/dist/uploads/getExternalFile.js.map +1 -1
- package/dist/uploads/getFileByPath.js.map +1 -1
- package/dist/uploads/getImageSize.d.ts +1 -1
- package/dist/uploads/getImageSize.d.ts.map +1 -1
- package/dist/uploads/getImageSize.js +19 -5
- package/dist/uploads/getImageSize.js.map +1 -1
- package/dist/uploads/getSafeFilename.js.map +1 -1
- package/dist/uploads/imageResizer.js.map +1 -1
- package/dist/uploads/isImage.js.map +1 -1
- package/dist/uploads/mimeTypeValidator.js.map +1 -1
- package/dist/uploads/mimeTypeValidator.spec.js.map +1 -1
- package/dist/uploads/saveBufferToFile.js.map +1 -1
- package/dist/uploads/tempFile.d.ts +7 -0
- package/dist/uploads/tempFile.d.ts.map +1 -0
- package/dist/uploads/tempFile.js +39 -0
- package/dist/uploads/tempFile.js.map +1 -0
- package/dist/uploads/types.d.ts +6 -0
- package/dist/uploads/types.d.ts.map +1 -1
- package/dist/uploads/types.js.map +1 -1
- package/dist/uploads/unlinkTempFiles.js.map +1 -1
- package/dist/uploads/uploadFiles.js.map +1 -1
- package/dist/utilities/checkDuplicateCollections.js.map +1 -1
- package/dist/utilities/combineMerge.js.map +1 -1
- package/dist/utilities/commitTransaction.js.map +1 -1
- package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
- package/dist/utilities/configToJSONSchema.js +53 -1
- package/dist/utilities/configToJSONSchema.js.map +1 -1
- package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
- package/dist/utilities/convertData.js.map +1 -1
- package/dist/utilities/createArrayFromCommaDelineated.js.map +1 -1
- package/dist/utilities/createLocalReq.d.ts +1 -1
- package/dist/utilities/createLocalReq.d.ts.map +1 -1
- package/dist/utilities/createLocalReq.js +2 -2
- package/dist/utilities/createLocalReq.js.map +1 -1
- package/dist/utilities/deepCopyObject.js.map +1 -1
- package/dist/utilities/deepMerge.js.map +1 -1
- package/dist/utilities/fieldSchemaToJSON.js.map +1 -1
- package/dist/utilities/flattenTopLevelFields.js.map +1 -1
- package/dist/utilities/formatLabels.js.map +1 -1
- package/dist/utilities/formatLabels.spec.js.map +1 -1
- package/dist/utilities/getCSSVariable.js.map +1 -1
- package/dist/utilities/getCollectionIDFieldTypes.js.map +1 -1
- package/dist/utilities/getEntityPolicies.js.map +1 -1
- package/dist/utilities/getObjectDotNotation.js.map +1 -1
- package/dist/utilities/getUniqueListBy.js.map +1 -1
- package/dist/utilities/importWithoutClientFiles.d.ts.map +1 -1
- package/dist/utilities/importWithoutClientFiles.js +8 -5
- package/dist/utilities/importWithoutClientFiles.js.map +1 -1
- package/dist/utilities/initTransaction.js.map +1 -1
- package/dist/utilities/isEntityHidden.d.ts +2 -2
- package/dist/utilities/isEntityHidden.d.ts.map +1 -1
- package/dist/utilities/isEntityHidden.js.map +1 -1
- package/dist/utilities/isNumber.js.map +1 -1
- package/dist/utilities/isPlainObject.js.map +1 -1
- package/dist/utilities/isReactComponent.d.ts +2 -0
- package/dist/utilities/isReactComponent.d.ts.map +1 -1
- package/dist/utilities/isReactComponent.js +8 -2
- package/dist/utilities/isReactComponent.js.map +1 -1
- package/dist/utilities/isValidID.js.map +1 -1
- package/dist/utilities/isolateObjectProperty.js.map +1 -1
- package/dist/utilities/killTransaction.js.map +1 -1
- package/dist/utilities/logger.js.map +1 -1
- package/dist/utilities/mapAsync.js.map +1 -1
- package/dist/utilities/mergeListSearchAndWhere.js.map +1 -1
- package/dist/utilities/overwriteMerge.js.map +1 -1
- package/dist/utilities/parseCookies.js.map +1 -1
- package/dist/utilities/sanitizeInternalFields.js.map +1 -1
- package/dist/utilities/setsAreEqual.js.map +1 -1
- package/dist/utilities/telemetry/events/adminInit.d.ts +2 -2
- package/dist/utilities/telemetry/events/adminInit.d.ts.map +1 -1
- package/dist/utilities/telemetry/events/adminInit.js.map +1 -1
- package/dist/utilities/telemetry/events/serverInit.js.map +1 -1
- package/dist/utilities/telemetry/index.d.ts +3 -0
- package/dist/utilities/telemetry/index.d.ts.map +1 -1
- package/dist/utilities/telemetry/index.js +32 -6
- package/dist/utilities/telemetry/index.js.map +1 -1
- package/dist/utilities/telemetry/oneWayHash.js.map +1 -1
- package/dist/utilities/timestamp.js.map +1 -1
- package/dist/utilities/toKebabCase.js.map +1 -1
- package/dist/utilities/wait.js.map +1 -1
- package/dist/utilities/wordBoundariesRegex.js.map +1 -1
- package/dist/versions/baseFields.d.ts +3 -1
- package/dist/versions/baseFields.d.ts.map +1 -1
- package/dist/versions/baseFields.js +3 -9
- package/dist/versions/baseFields.js.map +1 -1
- package/dist/versions/buildCollectionFields.js.map +1 -1
- package/dist/versions/buildGlobalFields.js.map +1 -1
- package/dist/versions/deleteCollectionVersions.js.map +1 -1
- package/dist/versions/drafts/appendVersionToQueryKey.js.map +1 -1
- package/dist/versions/drafts/getQueryDraftsSort.js.map +1 -1
- package/dist/versions/drafts/replaceWithDraftIfAvailable.js.map +1 -1
- package/dist/versions/enforceMaxVersions.js.map +1 -1
- package/dist/versions/getLatestCollectionVersion.js.map +1 -1
- package/dist/versions/getLatestGlobalVersion.js.map +1 -1
- package/dist/versions/saveVersion.js +1 -1
- package/dist/versions/saveVersion.js.map +1 -1
- package/dist/versions/types.js.map +1 -1
- package/package.json +15 -6
- package/src/index.ts +42 -18
- package/auth.d.ts +0 -6
- package/auth.js +0 -6
- package/config.d.ts +0 -14
- package/config.js +0 -14
- package/database.d.ts +0 -23
- package/database.js +0 -22
- package/dist/email/build.d.ts +0 -5
- package/dist/email/build.d.ts.map +0 -1
- package/dist/email/build.js +0 -63
- package/dist/email/build.js.map +0 -1
- package/dist/email/mockHandler.d.ts +0 -5
- package/dist/email/mockHandler.d.ts.map +0 -1
- package/dist/email/mockHandler.js +0 -24
- package/dist/email/mockHandler.js.map +0 -1
- package/dist/translations/extractTranslations.d.ts +0 -2
- package/dist/translations/extractTranslations.d.ts.map +0 -1
- package/dist/translations/extractTranslations.js +0 -20
- package/dist/translations/extractTranslations.js.map +0 -1
- package/dist/utilities/getIDType.d.ts +0 -4
- package/dist/utilities/getIDType.d.ts.map +0 -1
- package/dist/utilities/getIDType.js +0 -8
- package/dist/utilities/getIDType.js.map +0 -1
- package/errors.d.ts +0 -2
- package/errors.js +0 -3
- package/node.d.ts +0 -2
- package/node.js +0 -3
- package/operations.d.ts +0 -30
- package/operations.js +0 -31
- package/types.d.ts +0 -17
- package/types.js +0 -5
- package/uploads.d.ts +0 -2
- package/uploads.js +0 -3
- package/utilities.d.ts +0 -33
- package/utilities.js +0 -34
- package/versions.d.ts +0 -9
- package/versions.js +0 -9
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type { TFunction } from '@payloadcms/translations';
|
|
1
2
|
import type { Field, FieldBase } from '../../fields/config/types.js';
|
|
2
3
|
export type ClientFieldConfig = Omit<Field, 'access' | 'defaultValue' | 'hooks' | 'validate'>;
|
|
3
|
-
export type ServerOnlyFieldProperties = 'editor' | 'filterOptions' | 'label' | keyof Pick<FieldBase, 'access' | 'defaultValue' | 'hooks' | 'validate'>;
|
|
4
|
+
export type ServerOnlyFieldProperties = 'editor' | 'filterOptions' | 'label' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks' | 'validate'>;
|
|
4
5
|
export type ServerOnlyFieldAdminProperties = keyof Pick<FieldBase['admin'], 'components' | 'condition' | 'description'>;
|
|
5
|
-
export declare const createClientFieldConfig: (
|
|
6
|
+
export declare const createClientFieldConfig: ({ field: incomingField, t, }: {
|
|
7
|
+
field: Field;
|
|
8
|
+
t: TFunction;
|
|
9
|
+
}) => {
|
|
6
10
|
access?: {
|
|
7
11
|
create?: import("../../fields/config/types.js").FieldAccess<any, any, any>;
|
|
8
12
|
read?: import("../../fields/config/types.js").FieldAccess<any, any, any>;
|
|
@@ -11,11 +15,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
11
15
|
admin?: {
|
|
12
16
|
className?: string;
|
|
13
17
|
components?: {
|
|
14
|
-
Cell?: import("
|
|
15
|
-
Field?: import("
|
|
18
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
19
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
16
20
|
Filter?: import("react").ComponentType<any>;
|
|
17
21
|
};
|
|
18
22
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
23
|
+
custom?: Record<string, any>;
|
|
19
24
|
description?: import("../../admin/types.js").Description;
|
|
20
25
|
disableBulkEdit?: boolean;
|
|
21
26
|
disabled?: boolean;
|
|
@@ -28,8 +33,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
28
33
|
components?: {
|
|
29
34
|
RowLabel?: import("../../admin/types.js").RowLabel;
|
|
30
35
|
} & {
|
|
31
|
-
Cell?: import("
|
|
32
|
-
Field?: import("
|
|
36
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
37
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
33
38
|
Filter?: import("react").ComponentType<any>;
|
|
34
39
|
};
|
|
35
40
|
initCollapsed?: boolean;
|
|
@@ -45,7 +50,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
45
50
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
46
51
|
};
|
|
47
52
|
index?: boolean;
|
|
48
|
-
label?: string | false | Record<string, string>;
|
|
53
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
49
54
|
localized?: boolean;
|
|
50
55
|
name: string;
|
|
51
56
|
required?: boolean;
|
|
@@ -68,11 +73,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
68
73
|
admin?: {
|
|
69
74
|
className?: string;
|
|
70
75
|
components?: {
|
|
71
|
-
Cell?: import("
|
|
72
|
-
Field?: import("
|
|
76
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
77
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
73
78
|
Filter?: import("react").ComponentType<any>;
|
|
74
79
|
};
|
|
75
80
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
81
|
+
custom?: Record<string, any>;
|
|
76
82
|
description?: import("../../admin/types.js").Description;
|
|
77
83
|
disableBulkEdit?: boolean;
|
|
78
84
|
disabled?: boolean;
|
|
@@ -95,7 +101,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
95
101
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
96
102
|
};
|
|
97
103
|
index?: boolean;
|
|
98
|
-
label?: string | false | Record<string, string>;
|
|
104
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
99
105
|
localized?: boolean;
|
|
100
106
|
name: string;
|
|
101
107
|
required?: boolean;
|
|
@@ -116,11 +122,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
116
122
|
admin?: {
|
|
117
123
|
className?: string;
|
|
118
124
|
components?: {
|
|
119
|
-
Cell?: import("
|
|
120
|
-
Field?: import("
|
|
125
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
126
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
121
127
|
Filter?: import("react").ComponentType<any>;
|
|
122
128
|
};
|
|
123
129
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
130
|
+
custom?: Record<string, any>;
|
|
124
131
|
description?: import("../../admin/types.js").Description;
|
|
125
132
|
disableBulkEdit?: boolean;
|
|
126
133
|
disabled?: boolean;
|
|
@@ -131,10 +138,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
131
138
|
width?: string;
|
|
132
139
|
} & {
|
|
133
140
|
components?: {
|
|
134
|
-
Error?: import("
|
|
135
|
-
Label?: import("
|
|
136
|
-
afterInput?: import("
|
|
137
|
-
beforeInput?: import("
|
|
141
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
142
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
143
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
144
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
138
145
|
};
|
|
139
146
|
};
|
|
140
147
|
custom?: Record<string, any>;
|
|
@@ -148,7 +155,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
148
155
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
149
156
|
};
|
|
150
157
|
index?: boolean;
|
|
151
|
-
label?: string | false | Record<string, string>;
|
|
158
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
152
159
|
localized?: boolean;
|
|
153
160
|
name: string;
|
|
154
161
|
required?: boolean;
|
|
@@ -174,7 +181,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
174
181
|
defaultValue?: any;
|
|
175
182
|
hidden?: boolean;
|
|
176
183
|
index?: boolean;
|
|
177
|
-
label?: string | false | Record<string, string>;
|
|
184
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
178
185
|
localized?: boolean;
|
|
179
186
|
required?: boolean;
|
|
180
187
|
saveToJWT?: string | boolean;
|
|
@@ -183,11 +190,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
183
190
|
admin?: {
|
|
184
191
|
className?: string;
|
|
185
192
|
components?: {
|
|
186
|
-
Cell?: import("
|
|
187
|
-
Field?: import("
|
|
193
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
194
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
188
195
|
Filter?: import("react").ComponentType<any>;
|
|
189
196
|
};
|
|
190
197
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
198
|
+
custom?: Record<string, any>;
|
|
191
199
|
description?: import("../../admin/types.js").Description;
|
|
192
200
|
disableBulkEdit?: boolean;
|
|
193
201
|
disabled?: boolean;
|
|
@@ -198,8 +206,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
198
206
|
width?: string;
|
|
199
207
|
} & {
|
|
200
208
|
components?: {
|
|
201
|
-
Error?: import("
|
|
202
|
-
Label?: import("
|
|
209
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
210
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
203
211
|
};
|
|
204
212
|
editorOptions?: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
205
213
|
language?: string;
|
|
@@ -211,11 +219,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
211
219
|
admin?: {
|
|
212
220
|
className?: string;
|
|
213
221
|
components?: {
|
|
214
|
-
Cell?: import("
|
|
215
|
-
Field?: import("
|
|
222
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
223
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
216
224
|
Filter?: import("react").ComponentType<any>;
|
|
217
225
|
};
|
|
218
226
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
227
|
+
custom?: Record<string, any>;
|
|
219
228
|
description?: import("../../admin/types.js").Description;
|
|
220
229
|
disableBulkEdit?: boolean;
|
|
221
230
|
disabled?: boolean;
|
|
@@ -260,11 +269,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
260
269
|
admin?: {
|
|
261
270
|
className?: string;
|
|
262
271
|
components?: {
|
|
263
|
-
Cell?: import("
|
|
264
|
-
Field?: import("
|
|
272
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
273
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
265
274
|
Filter?: import("react").ComponentType<any>;
|
|
266
275
|
};
|
|
267
276
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
277
|
+
custom?: Record<string, any>;
|
|
268
278
|
description?: import("../../admin/types.js").Description;
|
|
269
279
|
disableBulkEdit?: boolean;
|
|
270
280
|
disabled?: boolean;
|
|
@@ -275,10 +285,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
275
285
|
width?: string;
|
|
276
286
|
} & {
|
|
277
287
|
components?: {
|
|
278
|
-
Error?: import("
|
|
279
|
-
Label?: import("
|
|
280
|
-
afterInput?: import("
|
|
281
|
-
beforeInput?: import("
|
|
288
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
289
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
290
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
291
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
282
292
|
};
|
|
283
293
|
date?: import("../../admin/types.js").ConditionalDateProps;
|
|
284
294
|
placeholder?: string | Record<string, string>;
|
|
@@ -294,7 +304,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
294
304
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
295
305
|
};
|
|
296
306
|
index?: boolean;
|
|
297
|
-
label?: string | false | Record<string, string>;
|
|
307
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
298
308
|
localized?: boolean;
|
|
299
309
|
name: string;
|
|
300
310
|
required?: boolean;
|
|
@@ -311,11 +321,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
311
321
|
admin?: {
|
|
312
322
|
className?: string;
|
|
313
323
|
components?: {
|
|
314
|
-
Cell?: import("
|
|
315
|
-
Field?: import("
|
|
324
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
325
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
316
326
|
Filter?: import("react").ComponentType<any>;
|
|
317
327
|
};
|
|
318
328
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
329
|
+
custom?: Record<string, any>;
|
|
319
330
|
description?: import("../../admin/types.js").Description;
|
|
320
331
|
disableBulkEdit?: boolean;
|
|
321
332
|
disabled?: boolean;
|
|
@@ -327,10 +338,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
327
338
|
} & {
|
|
328
339
|
autoComplete?: string;
|
|
329
340
|
components?: {
|
|
330
|
-
Error?: import("
|
|
331
|
-
Label?: import("
|
|
332
|
-
afterInput?: import("
|
|
333
|
-
beforeInput?: import("
|
|
341
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
342
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
343
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
344
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
334
345
|
};
|
|
335
346
|
placeholder?: string | Record<string, string>;
|
|
336
347
|
};
|
|
@@ -345,7 +356,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
345
356
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
346
357
|
};
|
|
347
358
|
index?: boolean;
|
|
348
|
-
label?: string | false | Record<string, string>;
|
|
359
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
349
360
|
localized?: boolean;
|
|
350
361
|
name: string;
|
|
351
362
|
required?: boolean;
|
|
@@ -357,11 +368,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
357
368
|
admin?: {
|
|
358
369
|
className?: string;
|
|
359
370
|
components?: {
|
|
360
|
-
Cell?: import("
|
|
361
|
-
Field?: import("
|
|
371
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
372
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
362
373
|
Filter?: import("react").ComponentType<any>;
|
|
363
374
|
};
|
|
364
375
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
376
|
+
custom?: Record<string, any>;
|
|
365
377
|
description?: import("../../admin/types.js").Description;
|
|
366
378
|
disableBulkEdit?: boolean;
|
|
367
379
|
disabled?: boolean;
|
|
@@ -390,7 +402,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
390
402
|
defaultValue?: any;
|
|
391
403
|
hidden?: boolean;
|
|
392
404
|
index?: boolean;
|
|
393
|
-
label?: string | false | Record<string, string>;
|
|
405
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
394
406
|
localized?: boolean;
|
|
395
407
|
saveToJWT?: string | boolean;
|
|
396
408
|
unique?: boolean;
|
|
@@ -416,7 +428,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
416
428
|
defaultValue?: any;
|
|
417
429
|
hidden?: boolean;
|
|
418
430
|
index?: boolean;
|
|
419
|
-
label?: string | false | Record<string, string>;
|
|
431
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
420
432
|
localized?: boolean;
|
|
421
433
|
required?: boolean;
|
|
422
434
|
saveToJWT?: string | boolean;
|
|
@@ -425,11 +437,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
425
437
|
admin?: {
|
|
426
438
|
className?: string;
|
|
427
439
|
components?: {
|
|
428
|
-
Cell?: import("
|
|
429
|
-
Field?: import("
|
|
440
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
441
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
430
442
|
Filter?: import("react").ComponentType<any>;
|
|
431
443
|
};
|
|
432
444
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
445
|
+
custom?: Record<string, any>;
|
|
433
446
|
description?: import("../../admin/types.js").Description;
|
|
434
447
|
disableBulkEdit?: boolean;
|
|
435
448
|
disabled?: boolean;
|
|
@@ -440,11 +453,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
440
453
|
width?: string;
|
|
441
454
|
} & {
|
|
442
455
|
components?: {
|
|
443
|
-
Error?: import("
|
|
444
|
-
Label?: import("
|
|
456
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
457
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
445
458
|
};
|
|
446
459
|
editorOptions?: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
447
460
|
};
|
|
461
|
+
jsonSchema?: Record<string, unknown>;
|
|
448
462
|
type: "json";
|
|
449
463
|
} | {
|
|
450
464
|
access?: {
|
|
@@ -455,11 +469,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
455
469
|
admin?: {
|
|
456
470
|
className?: string;
|
|
457
471
|
components?: {
|
|
458
|
-
Cell?: import("
|
|
459
|
-
Field?: import("
|
|
472
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
473
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
460
474
|
Filter?: import("react").ComponentType<any>;
|
|
461
475
|
};
|
|
462
476
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
477
|
+
custom?: Record<string, any>;
|
|
463
478
|
description?: import("../../admin/types.js").Description;
|
|
464
479
|
disableBulkEdit?: boolean;
|
|
465
480
|
disabled?: boolean;
|
|
@@ -471,10 +486,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
471
486
|
} & {
|
|
472
487
|
autoComplete?: string;
|
|
473
488
|
components?: {
|
|
474
|
-
Error?: import("
|
|
475
|
-
Label?: import("
|
|
476
|
-
afterInput?: import("
|
|
477
|
-
beforeInput?: import("
|
|
489
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
490
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
491
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
492
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
478
493
|
};
|
|
479
494
|
placeholder?: string | Record<string, string>;
|
|
480
495
|
step?: number;
|
|
@@ -490,7 +505,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
490
505
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
491
506
|
};
|
|
492
507
|
index?: boolean;
|
|
493
|
-
label?: string | false | Record<string, string>;
|
|
508
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
494
509
|
localized?: boolean;
|
|
495
510
|
name: string;
|
|
496
511
|
required?: boolean;
|
|
@@ -512,11 +527,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
512
527
|
admin?: {
|
|
513
528
|
className?: string;
|
|
514
529
|
components?: {
|
|
515
|
-
Cell?: import("
|
|
516
|
-
Field?: import("
|
|
530
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
531
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
517
532
|
Filter?: import("react").ComponentType<any>;
|
|
518
533
|
};
|
|
519
534
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
535
|
+
custom?: Record<string, any>;
|
|
520
536
|
description?: import("../../admin/types.js").Description;
|
|
521
537
|
disableBulkEdit?: boolean;
|
|
522
538
|
disabled?: boolean;
|
|
@@ -528,10 +544,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
528
544
|
} & {
|
|
529
545
|
autoComplete?: string;
|
|
530
546
|
components?: {
|
|
531
|
-
Error?: import("
|
|
532
|
-
Label?: import("
|
|
533
|
-
afterInput?: import("
|
|
534
|
-
beforeInput?: import("
|
|
547
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
548
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
549
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
550
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
535
551
|
};
|
|
536
552
|
placeholder?: string | Record<string, string>;
|
|
537
553
|
step?: number;
|
|
@@ -547,7 +563,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
547
563
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
548
564
|
};
|
|
549
565
|
index?: boolean;
|
|
550
|
-
label?: string | false | Record<string, string>;
|
|
566
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
551
567
|
localized?: boolean;
|
|
552
568
|
name: string;
|
|
553
569
|
required?: boolean;
|
|
@@ -569,11 +585,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
569
585
|
admin?: {
|
|
570
586
|
className?: string;
|
|
571
587
|
components?: {
|
|
572
|
-
Cell?: import("
|
|
573
|
-
Field?: import("
|
|
588
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
589
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
574
590
|
Filter?: import("react").ComponentType<any>;
|
|
575
591
|
};
|
|
576
592
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
593
|
+
custom?: Record<string, any>;
|
|
577
594
|
description?: import("../../admin/types.js").Description;
|
|
578
595
|
disableBulkEdit?: boolean;
|
|
579
596
|
disabled?: boolean;
|
|
@@ -594,7 +611,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
594
611
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
595
612
|
};
|
|
596
613
|
index?: boolean;
|
|
597
|
-
label?: string | false | Record<string, string>;
|
|
614
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
598
615
|
localized?: boolean;
|
|
599
616
|
name: string;
|
|
600
617
|
required?: boolean;
|
|
@@ -611,11 +628,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
611
628
|
admin?: {
|
|
612
629
|
className?: string;
|
|
613
630
|
components?: {
|
|
614
|
-
Cell?: import("
|
|
615
|
-
Field?: import("
|
|
631
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
632
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
616
633
|
Filter?: import("react").ComponentType<any>;
|
|
617
634
|
};
|
|
618
635
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
636
|
+
custom?: Record<string, any>;
|
|
619
637
|
description?: import("../../admin/types.js").Description;
|
|
620
638
|
disableBulkEdit?: boolean;
|
|
621
639
|
disabled?: boolean;
|
|
@@ -626,8 +644,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
626
644
|
width?: string;
|
|
627
645
|
} & {
|
|
628
646
|
components?: {
|
|
629
|
-
Error?: import("
|
|
630
|
-
Label?: import("
|
|
647
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
648
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
631
649
|
};
|
|
632
650
|
layout?: "horizontal" | "vertical";
|
|
633
651
|
};
|
|
@@ -642,7 +660,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
642
660
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
643
661
|
};
|
|
644
662
|
index?: boolean;
|
|
645
|
-
label?: string | false | Record<string, string>;
|
|
663
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
646
664
|
localized?: boolean;
|
|
647
665
|
name: string;
|
|
648
666
|
required?: boolean;
|
|
@@ -662,11 +680,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
662
680
|
admin?: {
|
|
663
681
|
className?: string;
|
|
664
682
|
components?: {
|
|
665
|
-
Cell?: import("
|
|
666
|
-
Field?: import("
|
|
683
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
684
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
667
685
|
Filter?: import("react").ComponentType<any>;
|
|
668
686
|
};
|
|
669
687
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
688
|
+
custom?: Record<string, any>;
|
|
670
689
|
description?: import("../../admin/types.js").Description;
|
|
671
690
|
disableBulkEdit?: boolean;
|
|
672
691
|
disabled?: boolean;
|
|
@@ -678,8 +697,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
678
697
|
} & {
|
|
679
698
|
allowCreate?: boolean;
|
|
680
699
|
components?: {
|
|
681
|
-
Error?: import("
|
|
682
|
-
Label?: import("
|
|
700
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
701
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
683
702
|
};
|
|
684
703
|
isSortable?: boolean;
|
|
685
704
|
} & {
|
|
@@ -698,7 +717,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
698
717
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
699
718
|
};
|
|
700
719
|
index?: boolean;
|
|
701
|
-
label?: string | false | Record<string, string>;
|
|
720
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
702
721
|
localized?: boolean;
|
|
703
722
|
name: string;
|
|
704
723
|
required?: boolean;
|
|
@@ -723,11 +742,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
723
742
|
admin?: {
|
|
724
743
|
className?: string;
|
|
725
744
|
components?: {
|
|
726
|
-
Cell?: import("
|
|
727
|
-
Field?: import("
|
|
745
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
746
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
728
747
|
Filter?: import("react").ComponentType<any>;
|
|
729
748
|
};
|
|
730
749
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
750
|
+
custom?: Record<string, any>;
|
|
731
751
|
description?: import("../../admin/types.js").Description;
|
|
732
752
|
disableBulkEdit?: boolean;
|
|
733
753
|
disabled?: boolean;
|
|
@@ -739,8 +759,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
739
759
|
} & {
|
|
740
760
|
allowCreate?: boolean;
|
|
741
761
|
components?: {
|
|
742
|
-
Error?: import("
|
|
743
|
-
Label?: import("
|
|
762
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
763
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
744
764
|
};
|
|
745
765
|
isSortable?: boolean;
|
|
746
766
|
} & {
|
|
@@ -759,7 +779,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
759
779
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
760
780
|
};
|
|
761
781
|
index?: boolean;
|
|
762
|
-
label?: string | false | Record<string, string>;
|
|
782
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
763
783
|
localized?: boolean;
|
|
764
784
|
name: string;
|
|
765
785
|
required?: boolean;
|
|
@@ -784,11 +804,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
784
804
|
admin?: {
|
|
785
805
|
className?: string;
|
|
786
806
|
components?: {
|
|
787
|
-
Cell?: import("
|
|
788
|
-
Field?: import("
|
|
807
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
808
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
789
809
|
Filter?: import("react").ComponentType<any>;
|
|
790
810
|
};
|
|
791
811
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
812
|
+
custom?: Record<string, any>;
|
|
792
813
|
description?: import("../../admin/types.js").Description;
|
|
793
814
|
disableBulkEdit?: boolean;
|
|
794
815
|
disabled?: boolean;
|
|
@@ -800,8 +821,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
800
821
|
} & {
|
|
801
822
|
allowCreate?: boolean;
|
|
802
823
|
components?: {
|
|
803
|
-
Error?: import("
|
|
804
|
-
Label?: import("
|
|
824
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
825
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
805
826
|
};
|
|
806
827
|
isSortable?: boolean;
|
|
807
828
|
} & {
|
|
@@ -818,7 +839,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
818
839
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
819
840
|
};
|
|
820
841
|
index?: boolean;
|
|
821
|
-
label?: string | false | Record<string, string>;
|
|
842
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
822
843
|
localized?: boolean;
|
|
823
844
|
name: string;
|
|
824
845
|
required?: boolean;
|
|
@@ -843,11 +864,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
843
864
|
admin?: {
|
|
844
865
|
className?: string;
|
|
845
866
|
components?: {
|
|
846
|
-
Cell?: import("
|
|
847
|
-
Field?: import("
|
|
867
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
868
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
848
869
|
Filter?: import("react").ComponentType<any>;
|
|
849
870
|
};
|
|
850
871
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
872
|
+
custom?: Record<string, any>;
|
|
851
873
|
description?: import("../../admin/types.js").Description;
|
|
852
874
|
disableBulkEdit?: boolean;
|
|
853
875
|
disabled?: boolean;
|
|
@@ -859,8 +881,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
859
881
|
} & {
|
|
860
882
|
allowCreate?: boolean;
|
|
861
883
|
components?: {
|
|
862
|
-
Error?: import("
|
|
863
|
-
Label?: import("
|
|
884
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
885
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
864
886
|
};
|
|
865
887
|
isSortable?: boolean;
|
|
866
888
|
} & {
|
|
@@ -877,7 +899,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
877
899
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
878
900
|
};
|
|
879
901
|
index?: boolean;
|
|
880
|
-
label?: string | false | Record<string, string>;
|
|
902
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
881
903
|
localized?: boolean;
|
|
882
904
|
name: string;
|
|
883
905
|
required?: boolean;
|
|
@@ -902,11 +924,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
902
924
|
admin?: {
|
|
903
925
|
className?: string;
|
|
904
926
|
components?: {
|
|
905
|
-
Cell?: import("
|
|
906
|
-
Field?: import("
|
|
927
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
928
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
907
929
|
Filter?: import("react").ComponentType<any>;
|
|
908
930
|
};
|
|
909
931
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
932
|
+
custom?: Record<string, any>;
|
|
910
933
|
description?: import("../../admin/types.js").Description;
|
|
911
934
|
disableBulkEdit?: boolean;
|
|
912
935
|
disabled?: boolean;
|
|
@@ -917,8 +940,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
917
940
|
width?: string;
|
|
918
941
|
} & {
|
|
919
942
|
components?: {
|
|
920
|
-
Error?: import("
|
|
921
|
-
Label?: import("
|
|
943
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
944
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
922
945
|
};
|
|
923
946
|
};
|
|
924
947
|
custom?: Record<string, any>;
|
|
@@ -932,7 +955,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
932
955
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
933
956
|
};
|
|
934
957
|
index?: boolean;
|
|
935
|
-
label?: string | false | Record<string, string>;
|
|
958
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
936
959
|
localized?: boolean;
|
|
937
960
|
name: string;
|
|
938
961
|
required?: boolean;
|
|
@@ -975,11 +998,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
975
998
|
admin?: {
|
|
976
999
|
className?: string;
|
|
977
1000
|
components?: {
|
|
978
|
-
Cell?: import("
|
|
979
|
-
Field?: import("
|
|
1001
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1002
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
980
1003
|
Filter?: import("react").ComponentType<any>;
|
|
981
1004
|
};
|
|
982
1005
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
1006
|
+
custom?: Record<string, any>;
|
|
983
1007
|
description?: import("../../admin/types.js").Description;
|
|
984
1008
|
disableBulkEdit?: boolean;
|
|
985
1009
|
disabled?: boolean;
|
|
@@ -990,8 +1014,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
990
1014
|
width?: string;
|
|
991
1015
|
} & {
|
|
992
1016
|
components?: {
|
|
993
|
-
Error?: import("
|
|
994
|
-
Label?: import("
|
|
1017
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1018
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
995
1019
|
};
|
|
996
1020
|
isClearable?: boolean;
|
|
997
1021
|
isSortable?: boolean;
|
|
@@ -1007,7 +1031,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1007
1031
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1008
1032
|
};
|
|
1009
1033
|
index?: boolean;
|
|
1010
|
-
label?: string | false | Record<string, string>;
|
|
1034
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1011
1035
|
localized?: boolean;
|
|
1012
1036
|
name: string;
|
|
1013
1037
|
required?: boolean;
|
|
@@ -1036,7 +1060,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1036
1060
|
defaultValue?: any;
|
|
1037
1061
|
hidden?: boolean;
|
|
1038
1062
|
index?: boolean;
|
|
1039
|
-
label?: string | false | Record<string, string>;
|
|
1063
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1040
1064
|
required?: boolean;
|
|
1041
1065
|
unique?: boolean;
|
|
1042
1066
|
validate?: import("../../fields/config/types.js").Validate<any, any, any, object>;
|
|
@@ -1052,11 +1076,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1052
1076
|
admin?: {
|
|
1053
1077
|
className?: string;
|
|
1054
1078
|
components?: {
|
|
1055
|
-
Cell?: import("
|
|
1056
|
-
Field?: import("
|
|
1079
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1080
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1057
1081
|
Filter?: import("react").ComponentType<any>;
|
|
1058
1082
|
};
|
|
1059
1083
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
1084
|
+
custom?: Record<string, any>;
|
|
1060
1085
|
description?: import("../../admin/types.js").Description;
|
|
1061
1086
|
disableBulkEdit?: boolean;
|
|
1062
1087
|
disabled?: boolean;
|
|
@@ -1068,10 +1093,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1068
1093
|
} & {
|
|
1069
1094
|
autoComplete?: string;
|
|
1070
1095
|
components?: {
|
|
1071
|
-
Error?: import("
|
|
1072
|
-
Label?: import("
|
|
1073
|
-
afterInput?: import("
|
|
1074
|
-
beforeInput?: import("
|
|
1096
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1097
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1098
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
1099
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
1075
1100
|
};
|
|
1076
1101
|
placeholder?: string | Record<string, string>;
|
|
1077
1102
|
rtl?: boolean;
|
|
@@ -1087,7 +1112,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1087
1112
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1088
1113
|
};
|
|
1089
1114
|
index?: boolean;
|
|
1090
|
-
label?: string | false | Record<string, string>;
|
|
1115
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1091
1116
|
localized?: boolean;
|
|
1092
1117
|
name: string;
|
|
1093
1118
|
required?: boolean;
|
|
@@ -1109,11 +1134,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1109
1134
|
admin?: {
|
|
1110
1135
|
className?: string;
|
|
1111
1136
|
components?: {
|
|
1112
|
-
Cell?: import("
|
|
1113
|
-
Field?: import("
|
|
1137
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1138
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1114
1139
|
Filter?: import("react").ComponentType<any>;
|
|
1115
1140
|
};
|
|
1116
1141
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
1142
|
+
custom?: Record<string, any>;
|
|
1117
1143
|
description?: import("../../admin/types.js").Description;
|
|
1118
1144
|
disableBulkEdit?: boolean;
|
|
1119
1145
|
disabled?: boolean;
|
|
@@ -1125,10 +1151,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1125
1151
|
} & {
|
|
1126
1152
|
autoComplete?: string;
|
|
1127
1153
|
components?: {
|
|
1128
|
-
Error?: import("
|
|
1129
|
-
Label?: import("
|
|
1130
|
-
afterInput?: import("
|
|
1131
|
-
beforeInput?: import("
|
|
1154
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1155
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1156
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
1157
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
1132
1158
|
};
|
|
1133
1159
|
placeholder?: string | Record<string, string>;
|
|
1134
1160
|
rtl?: boolean;
|
|
@@ -1144,7 +1170,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1144
1170
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1145
1171
|
};
|
|
1146
1172
|
index?: boolean;
|
|
1147
|
-
label?: string | false | Record<string, string>;
|
|
1173
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1148
1174
|
localized?: boolean;
|
|
1149
1175
|
name: string;
|
|
1150
1176
|
required?: boolean;
|
|
@@ -1166,11 +1192,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1166
1192
|
admin?: {
|
|
1167
1193
|
className?: string;
|
|
1168
1194
|
components?: {
|
|
1169
|
-
Cell?: import("
|
|
1170
|
-
Field?: import("
|
|
1195
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1196
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1171
1197
|
Filter?: import("react").ComponentType<any>;
|
|
1172
1198
|
};
|
|
1173
1199
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
1200
|
+
custom?: Record<string, any>;
|
|
1174
1201
|
description?: import("../../admin/types.js").Description;
|
|
1175
1202
|
disableBulkEdit?: boolean;
|
|
1176
1203
|
disabled?: boolean;
|
|
@@ -1181,10 +1208,10 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1181
1208
|
width?: string;
|
|
1182
1209
|
} & {
|
|
1183
1210
|
components?: {
|
|
1184
|
-
Error?: import("
|
|
1185
|
-
Label?: import("
|
|
1186
|
-
afterInput?: import("
|
|
1187
|
-
beforeInput?: import("
|
|
1211
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1212
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1213
|
+
afterInput?: import("../../config/types.js").CustomComponent[];
|
|
1214
|
+
beforeInput?: import("../../config/types.js").CustomComponent[];
|
|
1188
1215
|
};
|
|
1189
1216
|
placeholder?: string | Record<string, string>;
|
|
1190
1217
|
rows?: number;
|
|
@@ -1201,7 +1228,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1201
1228
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1202
1229
|
};
|
|
1203
1230
|
index?: boolean;
|
|
1204
|
-
label?: string | false | Record<string, string>;
|
|
1231
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1205
1232
|
localized?: boolean;
|
|
1206
1233
|
name: string;
|
|
1207
1234
|
required?: boolean;
|
|
@@ -1214,11 +1241,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1214
1241
|
} | {
|
|
1215
1242
|
admin: {
|
|
1216
1243
|
components?: {
|
|
1217
|
-
Cell?: import("
|
|
1218
|
-
Field: import("
|
|
1244
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1245
|
+
Field: import("../../config/types.js").CustomComponent;
|
|
1219
1246
|
Filter?: import("react").ComponentType<any>;
|
|
1220
1247
|
};
|
|
1221
1248
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
1249
|
+
custom?: Record<string, any>;
|
|
1222
1250
|
disableBulkEdit?: boolean;
|
|
1223
1251
|
position?: string;
|
|
1224
1252
|
width?: string;
|
|
@@ -1236,11 +1264,12 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1236
1264
|
admin?: {
|
|
1237
1265
|
className?: string;
|
|
1238
1266
|
components?: {
|
|
1239
|
-
Cell?: import("
|
|
1240
|
-
Field?: import("
|
|
1267
|
+
Cell?: import("../../config/types.js").CustomComponent;
|
|
1268
|
+
Field?: import("../../config/types.js").CustomComponent;
|
|
1241
1269
|
Filter?: import("react").ComponentType<any>;
|
|
1242
1270
|
};
|
|
1243
1271
|
condition?: import("../../fields/config/types.js").Condition<any, any>;
|
|
1272
|
+
custom?: Record<string, any>;
|
|
1244
1273
|
description?: import("../../admin/types.js").Description;
|
|
1245
1274
|
disableBulkEdit?: boolean;
|
|
1246
1275
|
disabled?: boolean;
|
|
@@ -1251,8 +1280,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1251
1280
|
width?: string;
|
|
1252
1281
|
} & {
|
|
1253
1282
|
components?: {
|
|
1254
|
-
Error?: import("
|
|
1255
|
-
Label?: import("
|
|
1283
|
+
Error?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").ErrorProps>;
|
|
1284
|
+
Label?: import("../../config/types.js").CustomComponent<import("../../admin/types.js").LabelProps>;
|
|
1256
1285
|
};
|
|
1257
1286
|
};
|
|
1258
1287
|
custom?: Record<string, any>;
|
|
@@ -1266,7 +1295,7 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1266
1295
|
beforeValidate?: import("../../fields/config/types.js").FieldHook<any, any, any>[];
|
|
1267
1296
|
};
|
|
1268
1297
|
index?: boolean;
|
|
1269
|
-
label?: string | false | Record<string, string>;
|
|
1298
|
+
label?: string | false | import("../../config/types.js").LabelFunction | Record<string, string>;
|
|
1270
1299
|
localized?: boolean;
|
|
1271
1300
|
name: string;
|
|
1272
1301
|
required?: boolean;
|
|
@@ -1278,5 +1307,8 @@ export declare const createClientFieldConfig: (f: Field) => {
|
|
|
1278
1307
|
relationTo: string;
|
|
1279
1308
|
type: "upload";
|
|
1280
1309
|
};
|
|
1281
|
-
export declare const createClientFieldConfigs: (fields
|
|
1310
|
+
export declare const createClientFieldConfigs: ({ fields, t, }: {
|
|
1311
|
+
fields: Field[];
|
|
1312
|
+
t: TFunction;
|
|
1313
|
+
}) => Field[];
|
|
1282
1314
|
//# sourceMappingURL=client.d.ts.map
|