payload 4.0.0-beta.0 → 4.0.0-beta.10
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/adapters/router.d.ts +1 -1
- package/dist/admin/adapters/router.d.ts.map +1 -1
- package/dist/admin/adapters/router.js.map +1 -1
- package/dist/admin/forms/Form.d.ts +5 -0
- package/dist/admin/forms/Form.d.ts.map +1 -1
- package/dist/admin/forms/Form.js.map +1 -1
- package/dist/admin/functions/index.d.ts +2 -0
- package/dist/admin/functions/index.d.ts.map +1 -1
- package/dist/admin/functions/index.js.map +1 -1
- package/dist/admin/getRequestLocale.d.ts +3 -1
- package/dist/admin/getRequestLocale.d.ts.map +1 -1
- package/dist/admin/getRequestLocale.js +12 -1
- package/dist/admin/getRequestLocale.js.map +1 -1
- package/dist/admin/initAdminContext.d.ts.map +1 -1
- package/dist/admin/initAdminContext.js +2 -1
- package/dist/admin/initAdminContext.js.map +1 -1
- package/dist/auth/baseFields/sessions.d.ts.map +1 -1
- package/dist/auth/baseFields/sessions.js +20 -0
- package/dist/auth/baseFields/sessions.js.map +1 -1
- package/dist/auth/createAuthToken.d.ts +30 -0
- package/dist/auth/createAuthToken.d.ts.map +1 -0
- package/dist/auth/createAuthToken.js +42 -0
- package/dist/auth/createAuthToken.js.map +1 -0
- package/dist/auth/endpoints/refresh.d.ts.map +1 -1
- package/dist/auth/endpoints/refresh.js +2 -1
- package/dist/auth/endpoints/refresh.js.map +1 -1
- package/dist/auth/executeAuthStrategies.d.ts.map +1 -1
- package/dist/auth/executeAuthStrategies.js +1 -0
- package/dist/auth/executeAuthStrategies.js.map +1 -1
- package/dist/auth/extractJWT.d.ts +7 -0
- package/dist/auth/extractJWT.d.ts.map +1 -1
- package/dist/auth/extractJWT.js +50 -11
- package/dist/auth/extractJWT.js.map +1 -1
- package/dist/auth/getFieldsToSign.js.map +1 -1
- package/dist/auth/getUserAgentLabel.d.ts +8 -0
- package/dist/auth/getUserAgentLabel.d.ts.map +1 -0
- package/dist/auth/getUserAgentLabel.js +70 -0
- package/dist/auth/getUserAgentLabel.js.map +1 -0
- package/dist/auth/isCrossSiteNavigation.d.ts +7 -0
- package/dist/auth/isCrossSiteNavigation.d.ts.map +1 -0
- package/dist/auth/isCrossSiteNavigation.js +9 -0
- package/dist/auth/isCrossSiteNavigation.js.map +1 -0
- package/dist/auth/loginWithCookie.d.ts.map +1 -1
- package/dist/auth/loginWithCookie.js +1 -0
- package/dist/auth/loginWithCookie.js.map +1 -1
- package/dist/auth/operations/local/login.d.ts.map +1 -1
- package/dist/auth/operations/local/login.js +1 -0
- package/dist/auth/operations/local/login.js.map +1 -1
- package/dist/auth/operations/login.d.ts +2 -0
- package/dist/auth/operations/login.d.ts.map +1 -1
- package/dist/auth/operations/login.js +15 -20
- package/dist/auth/operations/login.js.map +1 -1
- package/dist/auth/operations/refresh.d.ts +7 -0
- package/dist/auth/operations/refresh.d.ts.map +1 -1
- package/dist/auth/operations/refresh.js +160 -96
- package/dist/auth/operations/refresh.js.map +1 -1
- package/dist/auth/operations/resetPassword.d.ts.map +1 -1
- package/dist/auth/operations/resetPassword.js +63 -21
- package/dist/auth/operations/resetPassword.js.map +1 -1
- package/dist/auth/redeemRefreshToken.d.ts +43 -0
- package/dist/auth/redeemRefreshToken.d.ts.map +1 -0
- package/dist/auth/redeemRefreshToken.js +116 -0
- package/dist/auth/redeemRefreshToken.js.map +1 -0
- package/dist/auth/serverFunctions/cookies.d.ts.map +1 -1
- package/dist/auth/serverFunctions/cookies.js +3 -2
- package/dist/auth/serverFunctions/cookies.js.map +1 -1
- package/dist/auth/serverFunctions/login.js.map +1 -1
- package/dist/auth/sessions.d.ts +29 -3
- package/dist/auth/sessions.d.ts.map +1 -1
- package/dist/auth/sessions.js +40 -6
- package/dist/auth/sessions.js.map +1 -1
- package/dist/auth/strategies/jwt.js +2 -1
- package/dist/auth/strategies/jwt.js.map +1 -1
- package/dist/auth/strategies/local/authenticate.d.ts +3 -1
- package/dist/auth/strategies/local/authenticate.d.ts.map +1 -1
- package/dist/auth/strategies/local/authenticate.js +23 -19
- package/dist/auth/strategies/local/authenticate.js.map +1 -1
- package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts +14 -1
- package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts.map +1 -1
- package/dist/auth/strategies/local/generatePasswordSaltHash.js +31 -15
- package/dist/auth/strategies/local/generatePasswordSaltHash.js.map +1 -1
- package/dist/auth/types.d.ts +43 -1
- package/dist/auth/types.d.ts.map +1 -1
- package/dist/auth/types.js.map +1 -1
- package/dist/cli/commands/collections/deleteDocuments.d.ts.map +1 -1
- package/dist/cli/commands/collections/deleteDocuments.js +3 -1
- package/dist/cli/commands/collections/deleteDocuments.js.map +1 -1
- package/dist/cli/commands/data/utilities.d.ts +1 -1
- package/dist/cli/commands/data/utilities.d.ts.map +1 -1
- package/dist/cli/commands/data/utilities.js.map +1 -1
- package/dist/cli/commands/generateImportMap/utilities/resolveImportMapFilePath.d.ts.map +1 -1
- package/dist/cli/commands/generateImportMap/utilities/resolveImportMapFilePath.js +7 -3
- package/dist/cli/commands/generateImportMap/utilities/resolveImportMapFilePath.js.map +1 -1
- package/dist/cli/defineCLICommand.js +1 -1
- package/dist/cli/defineCLICommand.js.map +1 -1
- package/dist/cli/runtime/exitCodeHandlers.d.ts +14 -0
- package/dist/cli/runtime/exitCodeHandlers.d.ts.map +1 -0
- package/dist/cli/runtime/exitCodeHandlers.js +30 -0
- package/dist/cli/runtime/exitCodeHandlers.js.map +1 -0
- package/dist/cli/runtime/output.d.ts.map +1 -1
- package/dist/cli/runtime/output.js +4 -1
- package/dist/cli/runtime/output.js.map +1 -1
- package/dist/collections/config/client.d.ts +4 -1
- package/dist/collections/config/client.d.ts.map +1 -1
- package/dist/collections/config/client.js +1 -0
- package/dist/collections/config/client.js.map +1 -1
- package/dist/collections/config/defaults.d.ts +2 -0
- package/dist/collections/config/defaults.d.ts.map +1 -1
- package/dist/collections/config/defaults.js +4 -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 +3 -0
- package/dist/collections/config/sanitize.js.map +1 -1
- package/dist/collections/config/sanitizeCompoundIndexes.d.ts +1 -0
- package/dist/collections/config/sanitizeCompoundIndexes.d.ts.map +1 -1
- package/dist/collections/config/sanitizeCompoundIndexes.js +34 -1
- package/dist/collections/config/sanitizeCompoundIndexes.js.map +1 -1
- package/dist/collections/config/types.d.ts +15 -1
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/operations/create.js +12 -12
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/collections/operations/findByID.d.ts.map +1 -1
- package/dist/collections/operations/findByID.js +1 -3
- 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/inputSchemas.d.ts +6 -0
- package/dist/collections/operations/inputSchemas.d.ts.map +1 -1
- package/dist/collections/operations/inputSchemas.js +1 -0
- package/dist/collections/operations/inputSchemas.js.map +1 -1
- package/dist/collections/operations/local/findDistinct.js.map +1 -1
- package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/local/restoreVersion.js +2 -1
- package/dist/collections/operations/local/restoreVersion.js.map +1 -1
- package/dist/collections/operations/renameFile.d.ts.map +1 -1
- package/dist/collections/operations/renameFile.js +65 -16
- package/dist/collections/operations/renameFile.js.map +1 -1
- package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/restoreVersion.js +22 -6
- 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 +41 -20
- 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/utilities/update.d.ts.map +1 -1
- package/dist/collections/operations/utilities/update.js +30 -41
- package/dist/collections/operations/utilities/update.js.map +1 -1
- package/dist/collections/operations/utilities/validateUniqueConstraints.d.ts +2 -1
- package/dist/collections/operations/utilities/validateUniqueConstraints.d.ts.map +1 -1
- package/dist/collections/operations/utilities/validateUniqueConstraints.js +139 -36
- package/dist/collections/operations/utilities/validateUniqueConstraints.js.map +1 -1
- package/dist/collections/operations/validate.js +6 -5
- package/dist/collections/operations/validate.js.map +1 -1
- package/dist/config/client.d.ts +1 -0
- package/dist/config/client.d.ts.map +1 -1
- package/dist/config/client.js +1 -0
- package/dist/config/client.js.map +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +3 -2
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/definePlugin.js +3 -1
- package/dist/config/definePlugin.js.map +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/config/sanitize.js +24 -2
- package/dist/config/sanitize.js.map +1 -1
- package/dist/config/types.d.ts +27 -7
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/database/getLocalizedPaths.d.ts.map +1 -1
- package/dist/database/getLocalizedPaths.js +16 -1
- package/dist/database/getLocalizedPaths.js.map +1 -1
- package/dist/database/queryValidation/hasReadAccessToQueryPath.d.ts +17 -0
- package/dist/database/queryValidation/hasReadAccessToQueryPath.d.ts.map +1 -0
- package/dist/database/queryValidation/hasReadAccessToQueryPath.js +59 -0
- package/dist/database/queryValidation/hasReadAccessToQueryPath.js.map +1 -0
- package/dist/database/queryValidation/validateSearchParams.d.ts.map +1 -1
- package/dist/database/queryValidation/validateSearchParams.js +20 -23
- package/dist/database/queryValidation/validateSearchParams.js.map +1 -1
- package/dist/database/types.d.ts +6 -0
- package/dist/database/types.d.ts.map +1 -1
- package/dist/database/types.js.map +1 -1
- package/dist/errors/DuplicateGlobal.d.ts.map +1 -1
- package/dist/errors/DuplicateGlobal.js +1 -1
- package/dist/errors/DuplicateGlobal.js.map +1 -1
- package/dist/errors/InvalidFieldName.js +1 -1
- package/dist/errors/InvalidFieldName.js.map +1 -1
- package/dist/errors/InvalidFieldRelationship.d.ts.map +1 -1
- package/dist/errors/InvalidFieldRelationship.js +1 -1
- package/dist/errors/InvalidFieldRelationship.js.map +1 -1
- package/dist/errors/MissingFieldInputOptions.js +1 -1
- package/dist/errors/MissingFieldInputOptions.js.map +1 -1
- package/dist/errors/ReservedFieldName.d.ts.map +1 -1
- package/dist/errors/ReservedFieldName.js +1 -1
- package/dist/errors/ReservedFieldName.js.map +1 -1
- package/dist/exports/build-config.d.ts +9 -0
- package/dist/exports/build-config.d.ts.map +1 -0
- package/dist/exports/build-config.js +36 -0
- package/dist/exports/build-config.js.map +1 -0
- package/dist/exports/internal.d.ts +7 -3
- package/dist/exports/internal.d.ts.map +1 -1
- package/dist/exports/internal.js +6 -2
- package/dist/exports/internal.js.map +1 -1
- package/dist/exports/shared.d.ts +9 -3
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js +8 -3
- package/dist/exports/shared.js.map +1 -1
- package/dist/fields/baseFields/authorship/index.d.ts +2 -1
- package/dist/fields/baseFields/authorship/index.d.ts.map +1 -1
- package/dist/fields/baseFields/authorship/index.js +12 -5
- package/dist/fields/baseFields/authorship/index.js.map +1 -1
- package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.d.ts +2 -1
- package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.d.ts.map +1 -1
- package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.js +27 -2
- package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.js.map +1 -1
- package/dist/fields/config/client.js.map +1 -1
- package/dist/fields/config/reservedFieldNames.d.ts.map +1 -1
- package/dist/fields/config/reservedFieldNames.js +2 -1
- package/dist/fields/config/reservedFieldNames.js.map +1 -1
- package/dist/fields/config/types.d.ts +8 -1
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/fields/hooks/afterChange/promise.d.ts.map +1 -1
- package/dist/fields/hooks/afterChange/promise.js +2 -1
- package/dist/fields/hooks/afterChange/promise.js.map +1 -1
- package/dist/fields/hooks/afterRead/promise.d.ts.map +1 -1
- package/dist/fields/hooks/afterRead/promise.js +11 -9
- package/dist/fields/hooks/afterRead/promise.js.map +1 -1
- package/dist/fields/hooks/beforeChange/flattenValidationData.d.ts +14 -0
- package/dist/fields/hooks/beforeChange/flattenValidationData.d.ts.map +1 -0
- package/dist/fields/hooks/beforeChange/flattenValidationData.js +36 -0
- package/dist/fields/hooks/beforeChange/flattenValidationData.js.map +1 -0
- package/dist/fields/hooks/beforeChange/index.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/index.js +4 -0
- package/dist/fields/hooks/beforeChange/index.js.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.d.ts +2 -1
- package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/promise.js +107 -23
- package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
- package/dist/fields/hooks/beforeChange/traverseFields.d.ts +2 -1
- package/dist/fields/hooks/beforeChange/traverseFields.d.ts.map +1 -1
- package/dist/fields/hooks/beforeChange/traverseFields.js +2 -1
- package/dist/fields/hooks/beforeChange/traverseFields.js.map +1 -1
- package/dist/fields/hooks/beforeDuplicate/promise.d.ts.map +1 -1
- package/dist/fields/hooks/beforeDuplicate/promise.js +7 -2
- package/dist/fields/hooks/beforeDuplicate/promise.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/getFallbackValue.d.ts.map +1 -1
- package/dist/fields/hooks/beforeValidate/getFallbackValue.js +3 -2
- package/dist/fields/hooks/beforeValidate/getFallbackValue.js.map +1 -1
- package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
- package/dist/fields/hooks/beforeValidate/promise.js +19 -2
- package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
- package/dist/fields/validateJSONSchema.js +1 -1
- package/dist/fields/validateJSONSchema.js.map +1 -1
- package/dist/fields/validations.d.ts.map +1 -1
- package/dist/fields/validations.js +7 -4
- package/dist/fields/validations.js.map +1 -1
- package/dist/globals/config/types.d.ts +2 -1
- package/dist/globals/config/types.d.ts.map +1 -1
- package/dist/globals/config/types.js.map +1 -1
- package/dist/globals/operations/local/findOne.js.map +1 -1
- package/dist/globals/operations/local/update.js.map +1 -1
- package/dist/globals/operations/restoreVersion.d.ts +2 -3
- package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
- package/dist/globals/operations/restoreVersion.js +22 -15
- package/dist/globals/operations/restoreVersion.js.map +1 -1
- package/dist/globals/operations/update.d.ts.map +1 -1
- package/dist/globals/operations/update.js +29 -40
- package/dist/globals/operations/update.js.map +1 -1
- package/dist/globals/operations/validate.js +1 -1
- package/dist/globals/operations/validate.js.map +1 -1
- package/dist/hierarchy/addHierarchyToCollection.d.ts.map +1 -1
- package/dist/hierarchy/addHierarchyToCollection.js +32 -21
- package/dist/hierarchy/addHierarchyToCollection.js.map +1 -1
- package/dist/hierarchy/createFolderField.js.map +1 -1
- package/dist/hierarchy/getInitialTreeData.js +1 -1
- package/dist/hierarchy/getInitialTreeData.js.map +1 -1
- package/dist/hierarchy/resolveHierarchyCollections.js +9 -3
- package/dist/hierarchy/resolveHierarchyCollections.js.map +1 -1
- package/dist/hierarchy/utils/computePaths.d.ts.map +1 -1
- package/dist/hierarchy/utils/computePaths.js.map +1 -1
- package/dist/index.bundled.d.ts +672 -81
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -4
- package/dist/index.js.map +1 -1
- package/dist/llm-instructions/getInstructionsCollection.d.ts.map +1 -1
- package/dist/llm-instructions/getInstructionsCollection.js +2 -0
- package/dist/llm-instructions/getInstructionsCollection.js.map +1 -1
- package/dist/queues/endpoints/handleSchedules.d.ts.map +1 -1
- package/dist/queues/endpoints/handleSchedules.js +2 -0
- package/dist/queues/endpoints/handleSchedules.js.map +1 -1
- package/dist/queues/endpoints/ignoreCrossSiteNavigationUser.d.ts +10 -0
- package/dist/queues/endpoints/ignoreCrossSiteNavigationUser.d.ts.map +1 -0
- package/dist/queues/endpoints/ignoreCrossSiteNavigationUser.js +14 -0
- package/dist/queues/endpoints/ignoreCrossSiteNavigationUser.js.map +1 -0
- package/dist/queues/endpoints/run.d.ts.map +1 -1
- package/dist/queues/endpoints/run.js +2 -0
- package/dist/queues/endpoints/run.js.map +1 -1
- package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.js +1 -1
- package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.js.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/uploads/checkFileAccess.d.ts.map +1 -1
- package/dist/uploads/checkFileAccess.js +1 -0
- package/dist/uploads/checkFileAccess.js.map +1 -1
- package/dist/uploads/clientUploadReceipt.d.ts +16 -1
- package/dist/uploads/clientUploadReceipt.d.ts.map +1 -1
- package/dist/uploads/clientUploadReceipt.js +37 -8
- package/dist/uploads/clientUploadReceipt.js.map +1 -1
- package/dist/uploads/copyTempFileForDocument.d.ts +9 -0
- package/dist/uploads/copyTempFileForDocument.d.ts.map +1 -0
- package/dist/uploads/copyTempFileForDocument.js +15 -0
- package/dist/uploads/copyTempFileForDocument.js.map +1 -0
- package/dist/uploads/createSharedClientUploadDownload.d.ts +12 -0
- package/dist/uploads/createSharedClientUploadDownload.d.ts.map +1 -0
- package/dist/uploads/createSharedClientUploadDownload.js +36 -0
- package/dist/uploads/createSharedClientUploadDownload.js.map +1 -0
- package/dist/uploads/docWithFilenameExists.d.ts +2 -1
- package/dist/uploads/docWithFilenameExists.d.ts.map +1 -1
- package/dist/uploads/docWithFilenameExists.js +19 -9
- package/dist/uploads/docWithFilenameExists.js.map +1 -1
- package/dist/uploads/downloadFileToBuffer.d.ts +11 -0
- package/dist/uploads/downloadFileToBuffer.d.ts.map +1 -1
- package/dist/uploads/downloadFileToBuffer.js +32 -21
- package/dist/uploads/downloadFileToBuffer.js.map +1 -1
- package/dist/uploads/endpoints/getFile.d.ts +2 -1
- package/dist/uploads/endpoints/getFile.d.ts.map +1 -1
- package/dist/uploads/endpoints/getFile.js +22 -5
- package/dist/uploads/endpoints/getFile.js.map +1 -1
- package/dist/uploads/fileSelectionParams.d.ts +10 -0
- package/dist/uploads/fileSelectionParams.d.ts.map +1 -0
- package/dist/uploads/fileSelectionParams.js +10 -0
- package/dist/uploads/fileSelectionParams.js.map +1 -0
- package/dist/uploads/fileVersioning/archive.js.map +1 -1
- package/dist/uploads/fileVersioning/cloudStorage.d.ts +7 -0
- package/dist/uploads/fileVersioning/cloudStorage.d.ts.map +1 -1
- package/dist/uploads/fileVersioning/cloudStorage.js +43 -19
- package/dist/uploads/fileVersioning/cloudStorage.js.map +1 -1
- package/dist/uploads/fileVersioning/naming.d.ts +0 -3
- package/dist/uploads/fileVersioning/naming.d.ts.map +1 -1
- package/dist/uploads/fileVersioning/naming.js +0 -4
- package/dist/uploads/fileVersioning/naming.js.map +1 -1
- package/dist/uploads/fileVersioning/resolveHistoricalFile.d.ts +18 -4
- package/dist/uploads/fileVersioning/resolveHistoricalFile.d.ts.map +1 -1
- package/dist/uploads/fileVersioning/resolveHistoricalFile.js +73 -30
- package/dist/uploads/fileVersioning/resolveHistoricalFile.js.map +1 -1
- package/dist/uploads/fileVersioning/restore.d.ts +17 -3
- package/dist/uploads/fileVersioning/restore.d.ts.map +1 -1
- package/dist/uploads/fileVersioning/restore.js +77 -1
- package/dist/uploads/fileVersioning/restore.js.map +1 -1
- package/dist/uploads/fileVersioning/restoreRequestTime.d.ts +15 -0
- package/dist/uploads/fileVersioning/restoreRequestTime.d.ts.map +1 -0
- package/dist/uploads/fileVersioning/restoreRequestTime.js +174 -0
- package/dist/uploads/fileVersioning/restoreRequestTime.js.map +1 -0
- package/dist/uploads/fileVersioning/storedFiles.d.ts +4 -0
- package/dist/uploads/fileVersioning/storedFiles.d.ts.map +1 -1
- package/dist/uploads/fileVersioning/storedFiles.js +19 -2
- package/dist/uploads/fileVersioning/storedFiles.js.map +1 -1
- package/dist/uploads/formatFileMeta.d.ts +12 -0
- package/dist/uploads/formatFileMeta.d.ts.map +1 -0
- package/dist/uploads/formatFileMeta.js +14 -0
- package/dist/uploads/formatFileMeta.js.map +1 -0
- package/dist/uploads/formatFilesize.js +1 -1
- package/dist/uploads/formatFilesize.js.map +1 -1
- package/dist/uploads/generateFileData/edits/declaredTransformChecks.d.ts +29 -0
- package/dist/uploads/generateFileData/edits/declaredTransformChecks.d.ts.map +1 -0
- package/dist/uploads/generateFileData/edits/declaredTransformChecks.js +70 -0
- package/dist/uploads/generateFileData/edits/declaredTransformChecks.js.map +1 -0
- package/dist/uploads/generateFileData/edits/legacyUploadEdits.d.ts +122 -0
- package/dist/uploads/generateFileData/edits/legacyUploadEdits.d.ts.map +1 -0
- package/dist/uploads/generateFileData/edits/legacyUploadEdits.js +261 -0
- package/dist/uploads/generateFileData/edits/legacyUploadEdits.js.map +1 -0
- package/dist/uploads/generateFileData/edits/resolveUploadEdits.d.ts +30 -0
- package/dist/uploads/generateFileData/edits/resolveUploadEdits.d.ts.map +1 -0
- package/dist/uploads/generateFileData/edits/resolveUploadEdits.js +131 -0
- package/dist/uploads/generateFileData/edits/resolveUploadEdits.js.map +1 -0
- package/dist/uploads/generateFileData/index.d.ts +47 -0
- package/dist/uploads/generateFileData/index.d.ts.map +1 -0
- package/dist/uploads/generateFileData/index.js +386 -0
- package/dist/uploads/generateFileData/index.js.map +1 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.d.ts +52 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.d.ts.map +1 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.js +394 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.js.map +1 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.d.ts +33 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.d.ts.map +1 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.js +100 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.js.map +1 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.d.ts +20 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.d.ts.map +1 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.js +20 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.js.map +1 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.d.ts +35 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.d.ts.map +1 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.js +54 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.js.map +1 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.d.ts +44 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.d.ts.map +1 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.js +63 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.js.map +1 -0
- package/dist/uploads/generateFileData/runUploadTransformers.d.ts +46 -0
- package/dist/uploads/generateFileData/runUploadTransformers.d.ts.map +1 -0
- package/dist/uploads/generateFileData/runUploadTransformers.js +93 -0
- package/dist/uploads/generateFileData/runUploadTransformers.js.map +1 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.d.ts +32 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.d.ts.map +1 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.js +43 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.js.map +1 -0
- package/dist/uploads/generateFileData/source/readUploadSource.d.ts +27 -0
- package/dist/uploads/generateFileData/source/readUploadSource.d.ts.map +1 -0
- package/dist/uploads/generateFileData/source/readUploadSource.js +97 -0
- package/dist/uploads/generateFileData/source/readUploadSource.js.map +1 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.d.ts +50 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.d.ts.map +1 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.js +42 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.js.map +1 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.d.ts +9 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.js +19 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.js.map +1 -0
- package/dist/uploads/generateFileData/utils/generateImageSizeFilename.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/generateImageSizeFilename.js.map +1 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.d.ts +27 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.js +22 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.js.map +1 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.d.ts +11 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.js +15 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.js.map +1 -0
- package/dist/uploads/generateFilePathOrURL.d.ts +3 -1
- package/dist/uploads/generateFilePathOrURL.d.ts.map +1 -1
- package/dist/uploads/generateFilePathOrURL.js +3 -2
- package/dist/uploads/generateFilePathOrURL.js.map +1 -1
- package/dist/uploads/getBaseFields.d.ts.map +1 -1
- package/dist/uploads/getBaseFields.js +53 -2
- package/dist/uploads/getBaseFields.js.map +1 -1
- package/dist/uploads/getFileContentRequirement.d.ts +9 -8
- package/dist/uploads/getFileContentRequirement.d.ts.map +1 -1
- package/dist/uploads/getFileContentRequirement.js +10 -6
- package/dist/uploads/getFileContentRequirement.js.map +1 -1
- package/dist/uploads/getFileFromUploadInstructions.d.ts +10 -0
- package/dist/uploads/getFileFromUploadInstructions.d.ts.map +1 -1
- package/dist/uploads/getFileFromUploadInstructions.js +108 -46
- package/dist/uploads/getFileFromUploadInstructions.js.map +1 -1
- package/dist/uploads/getFileTypeIdentity.d.ts.map +1 -1
- package/dist/uploads/getFileTypeIdentity.js +6 -2
- package/dist/uploads/getFileTypeIdentity.js.map +1 -1
- package/dist/uploads/getSafeFilename.d.ts +10 -3
- package/dist/uploads/getSafeFilename.d.ts.map +1 -1
- package/dist/uploads/getSafeFilename.js +28 -7
- package/dist/uploads/getSafeFilename.js.map +1 -1
- package/dist/uploads/isOriginalFileRequest.d.ts +25 -0
- package/dist/uploads/isOriginalFileRequest.d.ts.map +1 -0
- package/dist/uploads/isOriginalFileRequest.js +14 -0
- package/dist/uploads/isOriginalFileRequest.js.map +1 -0
- package/dist/uploads/isRequestTimeFile.d.ts +13 -0
- package/dist/uploads/isRequestTimeFile.d.ts.map +1 -0
- package/dist/uploads/isRequestTimeFile.js +9 -0
- package/dist/uploads/isRequestTimeFile.js.map +1 -0
- package/dist/uploads/registerUploadVariants.d.ts +20 -0
- package/dist/uploads/registerUploadVariants.d.ts.map +1 -0
- package/dist/uploads/registerUploadVariants.js +93 -0
- package/dist/uploads/registerUploadVariants.js.map +1 -0
- package/dist/uploads/requestTimeFileData.d.ts +36 -0
- package/dist/uploads/requestTimeFileData.d.ts.map +1 -0
- package/dist/uploads/requestTimeFileData.js +56 -0
- package/dist/uploads/requestTimeFileData.js.map +1 -0
- package/dist/uploads/safeFetch.js.map +1 -1
- package/dist/uploads/sanitizeUploadData.d.ts.map +1 -1
- package/dist/uploads/sanitizeUploadData.js +3 -0
- package/dist/uploads/sanitizeUploadData.js.map +1 -1
- package/dist/uploads/sessions/collection.d.ts +13 -0
- package/dist/uploads/sessions/collection.d.ts.map +1 -0
- package/dist/uploads/sessions/collection.js +160 -0
- package/dist/uploads/sessions/collection.js.map +1 -0
- package/dist/uploads/sessions/defaults.d.ts +3 -0
- package/dist/uploads/sessions/defaults.d.ts.map +1 -0
- package/dist/uploads/sessions/defaults.js +8 -0
- package/dist/uploads/sessions/defaults.js.map +1 -0
- package/dist/uploads/sessions/endpoints.d.ts +8 -0
- package/dist/uploads/sessions/endpoints.d.ts.map +1 -0
- package/dist/uploads/sessions/endpoints.js +234 -0
- package/dist/uploads/sessions/endpoints.js.map +1 -0
- package/dist/uploads/sessions/isFilenameReserved.d.ts +12 -0
- package/dist/uploads/sessions/isFilenameReserved.d.ts.map +1 -0
- package/dist/uploads/sessions/isFilenameReserved.js +41 -0
- package/dist/uploads/sessions/isFilenameReserved.js.map +1 -0
- package/dist/uploads/sessions/operations.d.ts +102 -0
- package/dist/uploads/sessions/operations.d.ts.map +1 -0
- package/dist/uploads/sessions/operations.js +1372 -0
- package/dist/uploads/sessions/operations.js.map +1 -0
- package/dist/uploads/sessions/planSegments.d.ts +22 -0
- package/dist/uploads/sessions/planSegments.d.ts.map +1 -0
- package/dist/uploads/sessions/planSegments.js +51 -0
- package/dist/uploads/sessions/planSegments.js.map +1 -0
- package/dist/uploads/sessions/slug.d.ts +2 -0
- package/dist/uploads/sessions/slug.d.ts.map +1 -0
- package/dist/uploads/sessions/slug.js +3 -0
- package/dist/uploads/sessions/slug.js.map +1 -0
- package/dist/uploads/sessions/types.d.ts +202 -0
- package/dist/uploads/sessions/types.d.ts.map +1 -0
- package/dist/uploads/sessions/types.js +3 -0
- package/dist/uploads/sessions/types.js.map +1 -0
- package/dist/uploads/stagedUpload.js.map +1 -1
- package/dist/uploads/transformState/cropUnits.d.ts +21 -0
- package/dist/uploads/transformState/cropUnits.d.ts.map +1 -0
- package/dist/uploads/transformState/cropUnits.js +23 -0
- package/dist/uploads/transformState/cropUnits.js.map +1 -0
- package/dist/uploads/transformState/getChangedTransformKeys.d.ts +6 -0
- package/dist/uploads/transformState/getChangedTransformKeys.d.ts.map +1 -0
- package/dist/uploads/transformState/getChangedTransformKeys.js +12 -0
- package/dist/uploads/transformState/getChangedTransformKeys.js.map +1 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.d.ts +15 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.d.ts.map +1 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.js +28 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.js.map +1 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.d.ts +24 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.d.ts.map +1 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.js +32 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.js.map +1 -0
- package/dist/uploads/transformState/planUpload.d.ts +120 -0
- package/dist/uploads/transformState/planUpload.d.ts.map +1 -0
- package/dist/uploads/transformState/planUpload.js +221 -0
- package/dist/uploads/transformState/planUpload.js.map +1 -0
- package/dist/uploads/transformState/transformKeyClaims.d.ts +14 -0
- package/dist/uploads/transformState/transformKeyClaims.d.ts.map +1 -0
- package/dist/uploads/transformState/transformKeyClaims.js +15 -0
- package/dist/uploads/transformState/transformKeyClaims.js.map +1 -0
- package/dist/uploads/transformState/transformStateInput.d.ts +53 -0
- package/dist/uploads/transformState/transformStateInput.d.ts.map +1 -0
- package/dist/uploads/transformState/transformStateInput.js +115 -0
- package/dist/uploads/transformState/transformStateInput.js.map +1 -0
- package/dist/uploads/transformState/transformStateSchema.d.ts +18 -0
- package/dist/uploads/transformState/transformStateSchema.d.ts.map +1 -0
- package/dist/uploads/transformState/transformStateSchema.js +175 -0
- package/dist/uploads/transformState/transformStateSchema.js.map +1 -0
- package/dist/uploads/transformState/validateTransformState.d.ts +42 -0
- package/dist/uploads/transformState/validateTransformState.d.ts.map +1 -0
- package/dist/uploads/transformState/validateTransformState.js +73 -0
- package/dist/uploads/transformState/validateTransformState.js.map +1 -0
- package/dist/uploads/transformers/createFileSource.d.ts +9 -0
- package/dist/uploads/transformers/createFileSource.d.ts.map +1 -0
- package/dist/uploads/transformers/createFileSource.js +58 -0
- package/dist/uploads/transformers/createFileSource.js.map +1 -0
- package/dist/uploads/transformers/createLazySourceGetter.d.ts +3 -1
- package/dist/uploads/transformers/createLazySourceGetter.d.ts.map +1 -1
- package/dist/uploads/transformers/createLazySourceGetter.js +2 -2
- package/dist/uploads/transformers/createLazySourceGetter.js.map +1 -1
- package/dist/uploads/transformers/getSourceFileResponse.d.ts +3 -1
- package/dist/uploads/transformers/getSourceFileResponse.d.ts.map +1 -1
- package/dist/uploads/transformers/getSourceFileResponse.js +2 -1
- package/dist/uploads/transformers/getSourceFileResponse.js.map +1 -1
- package/dist/uploads/transformers/handleDynamicFileRequest.d.ts +11 -3
- package/dist/uploads/transformers/handleDynamicFileRequest.d.ts.map +1 -1
- package/dist/uploads/transformers/handleDynamicFileRequest.js +201 -45
- package/dist/uploads/transformers/handleDynamicFileRequest.js.map +1 -1
- package/dist/uploads/transformers/planTransformerPipeline.d.ts +11 -1
- package/dist/uploads/transformers/planTransformerPipeline.d.ts.map +1 -1
- package/dist/uploads/transformers/planTransformerPipeline.js +28 -6
- package/dist/uploads/transformers/planTransformerPipeline.js.map +1 -1
- package/dist/uploads/transformers/resolveUploadDocument.d.ts +10 -3
- package/dist/uploads/transformers/resolveUploadDocument.d.ts.map +1 -1
- package/dist/uploads/transformers/resolveUploadDocument.js +18 -7
- package/dist/uploads/transformers/resolveUploadDocument.js.map +1 -1
- package/dist/uploads/transformers/transformUploadFile.d.ts +18 -7
- package/dist/uploads/transformers/transformUploadFile.d.ts.map +1 -1
- package/dist/uploads/transformers/transformUploadFile.js +98 -12
- package/dist/uploads/transformers/transformUploadFile.js.map +1 -1
- package/dist/uploads/transformers/types.d.ts +122 -3
- package/dist/uploads/transformers/types.d.ts.map +1 -1
- package/dist/uploads/transformers/types.js.map +1 -1
- package/dist/uploads/transformers/uploadTransformerBridge.d.ts +16 -6
- package/dist/uploads/transformers/uploadTransformerBridge.d.ts.map +1 -1
- package/dist/uploads/transformers/uploadTransformerBridge.js +3 -1
- package/dist/uploads/transformers/uploadTransformerBridge.js.map +1 -1
- package/dist/uploads/transformers/validateTransformers.d.ts +2 -1
- package/dist/uploads/transformers/validateTransformers.d.ts.map +1 -1
- package/dist/uploads/transformers/validateTransformers.js +72 -1
- package/dist/uploads/transformers/validateTransformers.js.map +1 -1
- package/dist/uploads/types.d.ts +36 -3
- package/dist/uploads/types.d.ts.map +1 -1
- package/dist/uploads/types.js.map +1 -1
- package/dist/utilities/addSelectGenericsToGeneretedTypes.d.ts.map +1 -1
- package/dist/utilities/addSelectGenericsToGeneretedTypes.js +0 -1
- package/dist/utilities/addSelectGenericsToGeneretedTypes.js.map +1 -1
- package/dist/utilities/appendDateTimezoneSelectFields.js.map +1 -1
- package/dist/utilities/checkDocumentLockStatus.d.ts.map +1 -1
- package/dist/utilities/checkDocumentLockStatus.js +6 -2
- package/dist/utilities/checkDocumentLockStatus.js.map +1 -1
- package/dist/utilities/cloneValidationRequest.js.map +1 -1
- package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
- package/dist/utilities/configToJSONSchema.js +14 -3
- package/dist/utilities/configToJSONSchema.js.map +1 -1
- package/dist/utilities/createPayloadRequest.js.map +1 -1
- package/dist/utilities/createPayloadRequestFromWebRequest.d.ts +12 -1
- package/dist/utilities/createPayloadRequestFromWebRequest.d.ts.map +1 -1
- package/dist/utilities/createPayloadRequestFromWebRequest.js +9 -3
- package/dist/utilities/createPayloadRequestFromWebRequest.js.map +1 -1
- package/dist/utilities/deepCopyObject.js.map +1 -1
- package/dist/utilities/deepFreeze.d.ts +6 -0
- package/dist/utilities/deepFreeze.d.ts.map +1 -0
- package/dist/utilities/deepFreeze.js +14 -0
- package/dist/utilities/deepFreeze.js.map +1 -0
- package/dist/utilities/documentMatchingWhereExists.d.ts +3 -1
- package/dist/utilities/documentMatchingWhereExists.d.ts.map +1 -1
- package/dist/utilities/documentMatchingWhereExists.js +5 -3
- package/dist/utilities/documentMatchingWhereExists.js.map +1 -1
- package/dist/utilities/entityInputSchema/validateEntityData.d.ts.map +1 -1
- package/dist/utilities/entityInputSchema/validateEntityData.js.map +1 -1
- package/dist/utilities/fieldValueExists.d.ts +4 -4
- package/dist/utilities/fieldValueExists.d.ts.map +1 -1
- package/dist/utilities/fieldValueExists.js +5 -4
- package/dist/utilities/fieldValueExists.js.map +1 -1
- package/dist/utilities/filterDataToSelectedLocales.js.map +1 -1
- package/dist/utilities/getDataByPath.d.ts.map +1 -1
- package/dist/utilities/getDataByPath.js +6 -9
- package/dist/utilities/getDataByPath.js.map +1 -1
- package/dist/utilities/getDataFromFormState.d.ts +10 -0
- package/dist/utilities/getDataFromFormState.d.ts.map +1 -0
- package/dist/utilities/getDataFromFormState.js +40 -0
- package/dist/utilities/getDataFromFormState.js.map +1 -0
- package/dist/utilities/getDateOnlyComparison.d.ts +27 -0
- package/dist/utilities/getDateOnlyComparison.d.ts.map +1 -0
- package/dist/utilities/getDateOnlyComparison.js +162 -0
- package/dist/utilities/getDateOnlyComparison.js.map +1 -0
- package/dist/utilities/getEntityPermissions/getEntityPermissions.d.ts.map +1 -1
- package/dist/utilities/getEntityPermissions/getEntityPermissions.js +6 -2
- package/dist/utilities/getEntityPermissions/getEntityPermissions.js.map +1 -1
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts +4 -4
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts.map +1 -1
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.js +63 -32
- package/dist/utilities/getEntityPermissions/populateFieldPermissions.js.map +1 -1
- package/dist/utilities/getRequestLanguage.js +1 -1
- package/dist/utilities/getRequestLanguage.js.map +1 -1
- package/dist/utilities/getSiblingDataFromFormState.d.ts +8 -0
- package/dist/utilities/getSiblingDataFromFormState.d.ts.map +1 -0
- package/dist/utilities/{getSiblingData.js → getSiblingDataFromFormState.js} +11 -8
- package/dist/utilities/getSiblingDataFromFormState.js.map +1 -0
- package/dist/utilities/getVersionsConfig.js.map +1 -1
- package/dist/utilities/handleEndpoints.d.ts.map +1 -1
- package/dist/utilities/handleEndpoints.js +10 -2
- package/dist/utilities/handleEndpoints.js.map +1 -1
- package/dist/utilities/initTransaction.d.ts.map +1 -1
- package/dist/utilities/initTransaction.js +35 -7
- package/dist/utilities/initTransaction.js.map +1 -1
- package/dist/utilities/mergeLocalizedData.d.ts +1 -1
- package/dist/utilities/mergeLocalizedData.d.ts.map +1 -1
- package/dist/utilities/mergeLocalizedData.js +6 -2
- package/dist/utilities/mergeLocalizedData.js.map +1 -1
- package/dist/utilities/parseErrorResponse.d.ts +25 -0
- package/dist/utilities/parseErrorResponse.d.ts.map +1 -0
- package/dist/utilities/parseErrorResponse.js +103 -0
- package/dist/utilities/parseErrorResponse.js.map +1 -0
- package/dist/utilities/parseParams/index.js.map +1 -1
- package/dist/utilities/parseValidationLocale.js.map +1 -1
- package/dist/utilities/runValidationLifecycle.d.ts +1 -0
- package/dist/utilities/runValidationLifecycle.d.ts.map +1 -1
- package/dist/utilities/runValidationLifecycle.js +3 -2
- package/dist/utilities/runValidationLifecycle.js.map +1 -1
- package/dist/utilities/sanitizePermissions.d.ts +4 -1
- package/dist/utilities/sanitizePermissions.d.ts.map +1 -1
- package/dist/utilities/sanitizePermissions.js +34 -3
- package/dist/utilities/sanitizePermissions.js.map +1 -1
- package/dist/utilities/sanitizePopulateParam.js.map +1 -1
- package/dist/utilities/telemetry/conf/index.d.ts +4 -1
- package/dist/utilities/telemetry/conf/index.d.ts.map +1 -1
- package/dist/utilities/telemetry/conf/index.js.map +1 -1
- package/dist/utilities/telemetry/featureInfo/getFeatureInfo.d.ts.map +1 -1
- package/dist/utilities/telemetry/featureInfo/getFeatureInfo.js +41 -7
- package/dist/utilities/telemetry/featureInfo/getFeatureInfo.js.map +1 -1
- package/dist/utilities/telemetry/featureInfo/types.d.ts +4 -1
- package/dist/utilities/telemetry/featureInfo/types.d.ts.map +1 -1
- package/dist/utilities/telemetry/featureInfo/types.js.map +1 -1
- package/dist/utilities/telemetry/index.d.ts +3 -5
- package/dist/utilities/telemetry/index.d.ts.map +1 -1
- package/dist/utilities/telemetry/index.js +14 -3
- package/dist/utilities/telemetry/index.js.map +1 -1
- package/dist/utilities/telemetry/widgetType.d.ts +6 -0
- package/dist/utilities/telemetry/widgetType.d.ts.map +1 -0
- package/dist/utilities/telemetry/widgetType.js +33 -0
- package/dist/utilities/telemetry/widgetType.js.map +1 -0
- package/dist/utilities/transformPointDataToPayload.d.ts.map +1 -1
- package/dist/utilities/transformPointDataToPayload.js +15 -1
- package/dist/utilities/transformPointDataToPayload.js.map +1 -1
- package/dist/utilities/unflatten.d.ts +17 -0
- package/dist/utilities/unflatten.d.ts.map +1 -1
- package/dist/utilities/unflatten.js +10 -4
- package/dist/utilities/unflatten.js.map +1 -1
- package/dist/versions/allLocalesPublicationStatus.d.ts +5 -5
- package/dist/versions/allLocalesPublicationStatus.d.ts.map +1 -1
- package/dist/versions/allLocalesPublicationStatus.js +2 -2
- package/dist/versions/allLocalesPublicationStatus.js.map +1 -1
- package/dist/versions/buildSingleLocalePublishData.d.ts +4 -4
- package/dist/versions/buildSingleLocalePublishData.d.ts.map +1 -1
- package/dist/versions/buildSingleLocalePublishData.js +8 -8
- package/dist/versions/buildSingleLocalePublishData.js.map +1 -1
- package/dist/versions/buildVersionCompoundIndexes.d.ts.map +1 -1
- package/dist/versions/buildVersionCompoundIndexes.js +7 -0
- package/dist/versions/buildVersionCompoundIndexes.js.map +1 -1
- package/dist/versions/drafts/hasNonLocalizedDataChanged.d.ts +12 -0
- package/dist/versions/drafts/hasNonLocalizedDataChanged.d.ts.map +1 -0
- package/dist/versions/drafts/hasNonLocalizedDataChanged.js +165 -0
- package/dist/versions/drafts/hasNonLocalizedDataChanged.js.map +1 -0
- package/dist/versions/getLatestCollectionVersion.d.ts +1 -2
- package/dist/versions/getLatestCollectionVersion.d.ts.map +1 -1
- package/dist/versions/getLatestCollectionVersion.js +7 -23
- package/dist/versions/getLatestCollectionVersion.js.map +1 -1
- package/dist/versions/getLatestGlobalVersion.d.ts +1 -2
- package/dist/versions/getLatestGlobalVersion.d.ts.map +1 -1
- package/dist/versions/getLatestGlobalVersion.js +2 -6
- package/dist/versions/getLatestGlobalVersion.js.map +1 -1
- package/dist/versions/isInheritedReadVersionsAccess.js.map +1 -1
- package/dist/versions/mergeLocalizedStatus.d.ts +9 -0
- package/dist/versions/mergeLocalizedStatus.d.ts.map +1 -0
- package/dist/versions/mergeLocalizedStatus.js +11 -0
- package/dist/versions/mergeLocalizedStatus.js.map +1 -0
- package/dist/versions/resolveLocalizedStatus.d.ts +19 -0
- package/dist/versions/resolveLocalizedStatus.d.ts.map +1 -0
- package/dist/versions/resolveLocalizedStatus.js +60 -0
- package/dist/versions/resolveLocalizedStatus.js.map +1 -0
- package/package.json +30 -28
- package/skills/payload/SKILL.md +12 -9
- package/skills/payload/reference/ADAPTERS.md +21 -27
- package/skills/payload/reference/ENDPOINTS.md +3 -9
- package/skills/payload/reference/FIELDS.md +1 -1
- package/skills/payload/reference/HOOKS.md +1 -1
- package/skills/payload/reference/PLUGIN-DEVELOPMENT.md +4 -4
- package/skills/payload/reference/QUERIES.md +6 -6
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.d.ts +0 -3
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.d.ts.map +0 -1
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.js +0 -20
- package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.js.map +0 -1
- package/dist/uploads/generateFileData.d.ts +0 -53
- package/dist/uploads/generateFileData.d.ts.map +0 -1
- package/dist/uploads/generateFileData.js +0 -614
- package/dist/uploads/generateFileData.js.map +0 -1
- package/dist/uploads/generateImageSizeFilename.d.ts.map +0 -1
- package/dist/uploads/generateImageSizeFilename.js.map +0 -1
- package/dist/utilities/getSiblingData.d.ts +0 -3
- package/dist/utilities/getSiblingData.d.ts.map +0 -1
- package/dist/utilities/getSiblingData.js.map +0 -1
- package/dist/utilities/reduceFieldsToValues.d.ts +0 -10
- package/dist/utilities/reduceFieldsToValues.d.ts.map +0 -1
- package/dist/utilities/reduceFieldsToValues.js +0 -24
- package/dist/utilities/reduceFieldsToValues.js.map +0 -1
- /package/dist/uploads/{generateImageSizeFilename.d.ts → generateFileData/utils/generateImageSizeFilename.d.ts} +0 -0
- /package/dist/uploads/{generateImageSizeFilename.js → generateFileData/utils/generateImageSizeFilename.js} +0 -0
package/dist/index.bundled.d.ts
CHANGED
|
@@ -16,12 +16,13 @@ import * as z from 'zod/mini';
|
|
|
16
16
|
export { z } from 'zod/mini';
|
|
17
17
|
import * as zod_v4_core from 'zod/v4/core';
|
|
18
18
|
import { lookup } from 'dns';
|
|
19
|
+
import { core } from 'zod';
|
|
19
20
|
import deepMerge from 'deepmerge';
|
|
20
21
|
export { default as deepMerge } from 'deepmerge';
|
|
21
22
|
import { PinoPretty } from 'pino-pretty';
|
|
22
23
|
import { DatePickerProps } from 'react-datepicker';
|
|
23
24
|
|
|
24
|
-
declare const clientTranslationKeys: ("error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:fileFetchFailed" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noFileFoundInClipboard" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReadClipboard" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:urlNotAllowed" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "error:followingFieldsInvalid" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockName" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:copyLinkToFile" | "upload:copyURL" | "upload:crop" | "upload:cropBottom" | "upload:cropBottomLeft" | "upload:cropBottomRight" | "upload:cropLeft" | "upload:cropRight" | "upload:cropToolDescription" | "upload:cropTop" | "upload:cropTopLeft" | "upload:cropTopRight" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:fromURL" | "upload:height" | "upload:linkToFile" | "upload:noFile" | "upload:pasteFromClipboard" | "upload:pasteURL" | "upload:previewSizes" | "upload:renameFile" | "upload:replaceFile" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "llmInstructions:additionalInstructions" | "llmInstructions:collectionDescription" | "llmInstructions:collectionSystemDescription" | "llmInstructions:editInstructions" | "llmInstructions:global" | "llmInstructions:globalDescription" | "llmInstructions:globalSystemDescription" | "llmInstructions:instructions" | "llmInstructions:systemInstructions" | "llmInstructions:title" | "authentication:forgotPassword" | "authentication:verify" | "authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:createUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:emailVerifiedRedirecting" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:notRedirected" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resend" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verifyUser" | "authentication:youAreInactive" | "commandPalette:title" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:resizeWidget" | "dashboard:searchWidgets" | "dashboard:widgetAddPin" | "dashboard:widgetCollectionRequired" | "dashboard:widgetConfigurationError" | "dashboard:widgetDropFilesToUpload" | "dashboard:widgetInvalidCollection" | "dashboard:widgetInvalidFilterField" | "dashboard:widgetInvalidSortField" | "dashboard:widgetLimitLabel" | "dashboard:widgetNonSortableSortField" | "dashboard:widgetPageCount" | "dashboard:widgetPagination" | "dashboard:widgetPinned" | "dashboard:widgetPinnedEmpty" | "dashboard:widgetPinnedEmptyDescription" | "dashboard:widgetPinnedSaveError" | "dashboard:widgetQueryError" | "dashboard:widgetRecentlyViewedEmpty" | "dashboard:widgetRecentlyViewedEmptyDescription" | "dashboard:widgetRecentlyViewedFilterDescription" | "dashboard:widgetRecentlyViewedTitle" | "dashboard:widgetRecentsAndPinned" | "dashboard:widgetRemovePin" | "dashboard:widgetSelectCollectionFirst" | "dashboard:widgetSelectSortField" | "dashboard:widgetSortDirectionLabel" | "dashboard:widgetSortFieldLabel" | "dashboard:widgetTitleFallback" | "dashboard:widgetTitleLabel" | "dashboard:widgetUploadDropzoneDescription" | "dashboard:widgetUploadFiles" | "general:collections" | "general:globals" | "general:false" | "general:none" | "general:locale" | "general:select" | "general:user" | "general:createdAt" | "general:error" | "general:updatedAt" | "general:access" | "general:custom" | "general:name" | "general:depth" | "general:collection" | "general:email" | "general:items" | "general:of" | "general:dashboard" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:username" | "general:createNew" | "general:noResults" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:allowedTypes" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:auto" | "general:automatic" | "general:backToDashboard" | "general:breadcrumb" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "general:clear" | "general:clearAll" | "general:clearSearch" | "general:close" | "general:collapse" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdBy" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:goBack" | "general:goToPage" | "general:gridLayout" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:language" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locales" | "general:lock" | "general:manageLabel" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:nextPage" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:noMatchesFound" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notSelectedDocument" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:original" | "general:overwriteExistingData" | "general:pageNotFound" | "general:pageNumberRange" | "general:password" | "general:pasteBelow" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "general:presets" | "general:previous" | "general:previousPage" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:replaceRow" | "general:requiredFields" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchAutomatically" | "general:searchBy" | "general:searchCleared" | "general:searchColumns" | "general:searchGroups" | "general:searchResults" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectedDocument" | "general:selectLabel" | "general:selectValue" | "general:settings" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:skipToContent" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:sortByOrderToReorder" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:tableLayout" | "general:takeOver" | "general:theme" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:toggle" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unchecked" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAgo" | "general:updatedBy" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:where" | "general:yes" | "general:aboutToDeleteCount" | "general:editingLabel" | "hierarchy:noResults" | "hierarchy:searchResults" | "hierarchy:goTo" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveTo" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:removeFrom" | "hierarchy:searchLabel" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "validation:required" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:type" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "version:changedFieldsCount")[];
|
|
25
|
+
declare const clientTranslationKeys: ("error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:fileFetchFailed" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noFileFoundInClipboard" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReadClipboard" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:urlNotAllowed" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "error:followingFieldsInvalid" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockName" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:cancelUpload" | "upload:copyLinkToFile" | "upload:copyURL" | "upload:crop" | "upload:cropBottom" | "upload:cropBottomLeft" | "upload:cropBottomRight" | "upload:cropLeft" | "upload:cropRight" | "upload:cropToolDescription" | "upload:cropTop" | "upload:cropTopLeft" | "upload:cropTopRight" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:finishSaving" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:fromURL" | "upload:height" | "upload:linkToFile" | "upload:noFile" | "upload:pasteFromClipboard" | "upload:pasteURL" | "upload:previewSizes" | "upload:renameFile" | "upload:replaceFile" | "upload:resumingFile" | "upload:savingInBackground" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:uploadFileMismatch" | "upload:uploadingFile" | "upload:uploadingFileProgress" | "upload:uploadInProgressLeaveWarning" | "upload:uploadInterrupted" | "upload:uploadInterruptedWillSave" | "upload:uploadReadyToFinishSaving" | "upload:uploadSavedInBackground" | "upload:uploadStorageRejectedSegments" | "upload:width" | "llmInstructions:additionalInstructions" | "llmInstructions:collectionDescription" | "llmInstructions:collectionSystemDescription" | "llmInstructions:editInstructions" | "llmInstructions:global" | "llmInstructions:globalDescription" | "llmInstructions:globalSystemDescription" | "llmInstructions:instructions" | "llmInstructions:systemInstructions" | "llmInstructions:title" | "authentication:forgotPassword" | "authentication:verify" | "authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:createUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:emailVerifiedRedirecting" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:notRedirected" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resend" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verifyUser" | "authentication:youAreInactive" | "commandPalette:title" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:resizeWidget" | "dashboard:searchWidgets" | "dashboard:widgetAddPin" | "dashboard:widgetCollectionRequired" | "dashboard:widgetConfigurationError" | "dashboard:widgetDropFilesToUpload" | "dashboard:widgetInvalidCollection" | "dashboard:widgetInvalidFilterField" | "dashboard:widgetInvalidSortField" | "dashboard:widgetLimitLabel" | "dashboard:widgetNonSortableSortField" | "dashboard:widgetPageCount" | "dashboard:widgetPagination" | "dashboard:widgetPinned" | "dashboard:widgetPinnedEmpty" | "dashboard:widgetPinnedEmptyDescription" | "dashboard:widgetPinnedSaveError" | "dashboard:widgetQueryError" | "dashboard:widgetRecentlyViewedEmpty" | "dashboard:widgetRecentlyViewedEmptyDescription" | "dashboard:widgetRecentlyViewedFilterDescription" | "dashboard:widgetRecentlyViewedTitle" | "dashboard:widgetRecentsAndPinned" | "dashboard:widgetRemovePin" | "dashboard:widgetSelectCollectionFirst" | "dashboard:widgetSelectSortField" | "dashboard:widgetSortDirectionLabel" | "dashboard:widgetSortFieldLabel" | "dashboard:widgetTitleFallback" | "dashboard:widgetTitleLabel" | "dashboard:widgetUploadDropzoneDescription" | "dashboard:widgetUploadFiles" | "general:collections" | "general:globals" | "general:false" | "general:none" | "general:locale" | "general:select" | "general:user" | "general:createdAt" | "general:error" | "general:updatedAt" | "general:access" | "general:custom" | "general:name" | "general:email" | "general:depth" | "general:collection" | "general:items" | "general:of" | "general:dashboard" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:username" | "general:createNew" | "general:noResults" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:allowedTypes" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:apiResponse" | "general:applyChanges" | "general:ascending" | "general:auto" | "general:automatic" | "general:backToDashboard" | "general:breadcrumb" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "general:clear" | "general:clearAll" | "general:clearSearch" | "general:close" | "general:collapse" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdBy" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:dragCancelled" | "general:dragDropped" | "general:dragInstructions" | "general:dragMoved" | "general:dragPickedUp" | "general:dragToMove" | "general:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:goBack" | "general:goToPage" | "general:gridLayout" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:language" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locales" | "general:lock" | "general:manageLabel" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:nextPage" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:noMatchesFound" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notSelectedDocument" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:original" | "general:overwriteExistingData" | "general:pageNotFound" | "general:pageNumberRange" | "general:password" | "general:pasteBelow" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "general:presets" | "general:previous" | "general:previousPage" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:removeFilter" | "general:rename" | "general:replaceRow" | "general:requiredFields" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchAutomatically" | "general:searchBy" | "general:searchCleared" | "general:searchColumns" | "general:searchGroups" | "general:searchResults" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectedDocument" | "general:selectLabel" | "general:selectValue" | "general:settings" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:skipToContent" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:sortByOrderToReorder" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:tableLayout" | "general:takeOver" | "general:theme" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:toggle" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unchecked" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAgo" | "general:updatedBy" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:where" | "general:yes" | "general:aboutToDeleteCount" | "general:editingLabel" | "hierarchy:noResults" | "hierarchy:searchResults" | "hierarchy:folderLocation" | "hierarchy:goTo" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveTo" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:removeFrom" | "hierarchy:searchLabel" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "validation:required" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:type" | "version:version" | "version:aboutToRestore" | "version:aboutToRestoreAsDraft" | "version:restoring" | "version:aboutToPublishSelection" | "version:aboutToRestoreAsDraftAllLocales" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "version:changedFieldsCount")[];
|
|
25
26
|
|
|
26
27
|
declare const enTranslations: {
|
|
27
28
|
authentication: {
|
|
@@ -292,6 +293,7 @@ declare const enTranslations: {
|
|
|
292
293
|
and: string;
|
|
293
294
|
anotherUser: string;
|
|
294
295
|
anotherUserTakenOver: string;
|
|
296
|
+
apiResponse: string;
|
|
295
297
|
applyChanges: string;
|
|
296
298
|
ascending: string;
|
|
297
299
|
auto: string;
|
|
@@ -358,6 +360,12 @@ declare const enTranslations: {
|
|
|
358
360
|
documentModified: string;
|
|
359
361
|
documentOutOfDate: string;
|
|
360
362
|
documents: string;
|
|
363
|
+
dragCancelled: string;
|
|
364
|
+
dragDropped: string;
|
|
365
|
+
dragInstructions: string;
|
|
366
|
+
dragMoved: string;
|
|
367
|
+
dragPickedUp: string;
|
|
368
|
+
dragToMove: string;
|
|
361
369
|
dragToReorder: string;
|
|
362
370
|
duplicate: string;
|
|
363
371
|
duplicateWithoutSaving: string;
|
|
@@ -469,6 +477,7 @@ declare const enTranslations: {
|
|
|
469
477
|
reindexingAll: string;
|
|
470
478
|
reloadDocument: string;
|
|
471
479
|
remove: string;
|
|
480
|
+
removeFilter: string;
|
|
472
481
|
rename: string;
|
|
473
482
|
replaceRow: string;
|
|
474
483
|
requiredFields: string;
|
|
@@ -558,6 +567,7 @@ declare const enTranslations: {
|
|
|
558
567
|
yes: string;
|
|
559
568
|
};
|
|
560
569
|
hierarchy: {
|
|
570
|
+
folderLocation: string;
|
|
561
571
|
goTo: string;
|
|
562
572
|
itemsMovedTo: string;
|
|
563
573
|
itemsMovedToRoot: string;
|
|
@@ -614,6 +624,7 @@ declare const enTranslations: {
|
|
|
614
624
|
addFile: string;
|
|
615
625
|
addFiles: string;
|
|
616
626
|
bulkUpload: string;
|
|
627
|
+
cancelUpload: string;
|
|
617
628
|
copyLinkToFile: string;
|
|
618
629
|
copyURL: string;
|
|
619
630
|
crop: string;
|
|
@@ -634,6 +645,7 @@ declare const enTranslations: {
|
|
|
634
645
|
fileSize: string;
|
|
635
646
|
filesToUpload: string;
|
|
636
647
|
fileToUpload: string;
|
|
648
|
+
finishSaving: string;
|
|
637
649
|
focalPoint: string;
|
|
638
650
|
focalPointDescription: string;
|
|
639
651
|
fromURL: string;
|
|
@@ -647,12 +659,23 @@ declare const enTranslations: {
|
|
|
647
659
|
previewSizes: string;
|
|
648
660
|
renameFile: string;
|
|
649
661
|
replaceFile: string;
|
|
662
|
+
resumingFile: string;
|
|
663
|
+
savingInBackground: string;
|
|
650
664
|
selectCollectionToBrowse: string;
|
|
651
665
|
selectFile: string;
|
|
652
666
|
setCropArea: string;
|
|
653
667
|
setFocalPoint: string;
|
|
654
668
|
sizes: string;
|
|
655
669
|
sizesFor: string;
|
|
670
|
+
uploadFileMismatch: string;
|
|
671
|
+
uploadingFile: string;
|
|
672
|
+
uploadingFileProgress: string;
|
|
673
|
+
uploadInProgressLeaveWarning: string;
|
|
674
|
+
uploadInterrupted: string;
|
|
675
|
+
uploadInterruptedWillSave: string;
|
|
676
|
+
uploadReadyToFinishSaving: string;
|
|
677
|
+
uploadSavedInBackground: string;
|
|
678
|
+
uploadStorageRejectedSegments: string;
|
|
656
679
|
width: string;
|
|
657
680
|
};
|
|
658
681
|
validation: {
|
|
@@ -685,6 +708,8 @@ declare const enTranslations: {
|
|
|
685
708
|
type: string;
|
|
686
709
|
aboutToPublishSelection: string;
|
|
687
710
|
aboutToRestore: string;
|
|
711
|
+
aboutToRestoreAsDraft: string;
|
|
712
|
+
aboutToRestoreAsDraftAllLocales: string;
|
|
688
713
|
aboutToRestoreGlobal: string;
|
|
689
714
|
aboutToRevertToPublished: string;
|
|
690
715
|
aboutToUnpublish: string;
|
|
@@ -1105,6 +1130,22 @@ type UserSession = {
|
|
|
1105
1130
|
createdAt?: Date | null | string;
|
|
1106
1131
|
expiresAt: Date | string;
|
|
1107
1132
|
id: string;
|
|
1133
|
+
/** What the session is, for people to read, e.g. "Claude Code" or "Chrome on macOS". */
|
|
1134
|
+
label?: null | string;
|
|
1135
|
+
/** More to show next to the label, e.g. `{ redirectHost: 'claude.ai' }`. Never anything secret. */
|
|
1136
|
+
metadata?: null | Record<string, unknown>;
|
|
1137
|
+
/**
|
|
1138
|
+
* How many times the session was refreshed with a refresh token. Refresh tokens remember it, so
|
|
1139
|
+
* the latest one can be told apart from older ones.
|
|
1140
|
+
*/
|
|
1141
|
+
refreshCount?: null | number;
|
|
1142
|
+
/** When the session was last refreshed with a refresh token. */
|
|
1143
|
+
refreshedAt?: Date | null | string;
|
|
1144
|
+
/**
|
|
1145
|
+
* How the session was created: `'login'` for a sign-in, or e.g. `'mcp'` for an MCP client the
|
|
1146
|
+
* user allowed. Plugins can use their own values.
|
|
1147
|
+
*/
|
|
1148
|
+
type?: null | string;
|
|
1108
1149
|
};
|
|
1109
1150
|
type GenerateVerifyEmailHTML<TUser = any> = (args: {
|
|
1110
1151
|
req: PayloadRequest;
|
|
@@ -1226,6 +1267,29 @@ interface IncomingAuthType {
|
|
|
1226
1267
|
* Only allow a user to attempt logging in X amount of times. Automatically locks out a user from authenticating if this limit is passed. Set to 0 to disable.
|
|
1227
1268
|
*/
|
|
1228
1269
|
maxLoginAttempts?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* Lets clients stay logged in after their token expires. Logins also return a refresh token,
|
|
1272
|
+
* which the refresh operation trades for a new token and a new refresh token. Each refresh token
|
|
1273
|
+
* is meant to be used once. The one from right before still works for 30 seconds after a refresh,
|
|
1274
|
+
* for clients that refresh twice at once. When a used one comes back otherwise, its session is
|
|
1275
|
+
* logged out. Requires `useSessions`.
|
|
1276
|
+
*
|
|
1277
|
+
* Refresh tokens don't expire on their own. They work as long as their login session, which lasts
|
|
1278
|
+
* `expiration` from the last refresh instead of `tokenExpiration`.
|
|
1279
|
+
*
|
|
1280
|
+
* @default false
|
|
1281
|
+
* @link https://payloadcms.com/docs/authentication/overview#refresh-tokens
|
|
1282
|
+
*/
|
|
1283
|
+
refreshTokens?: {
|
|
1284
|
+
/**
|
|
1285
|
+
* How many seconds a login session with a refresh token lasts without a refresh, which is
|
|
1286
|
+
* how long its refresh token can be used. Every refresh starts this time again. The token
|
|
1287
|
+
* itself still expires after `tokenExpiration`.
|
|
1288
|
+
*
|
|
1289
|
+
* @default 2592000 (30 days)
|
|
1290
|
+
*/
|
|
1291
|
+
expiration?: number;
|
|
1292
|
+
} | boolean;
|
|
1229
1293
|
/***
|
|
1230
1294
|
* Set to true if you want to remove the token from the returned authentication API responses such as login or refresh.
|
|
1231
1295
|
*/
|
|
@@ -1271,9 +1335,12 @@ type VerifyConfig = {
|
|
|
1271
1335
|
generateEmailHTML?: GenerateVerifyEmailHTML;
|
|
1272
1336
|
generateEmailSubject?: GenerateVerifyEmailSubject;
|
|
1273
1337
|
};
|
|
1274
|
-
interface Auth extends Omit<IncomingAuthType, 'cookies' | 'forgotPassword' | 'lockTime' | 'loginWithUsername' | 'maxLoginAttempts' | 'strategies' | 'tokenExpiration' | 'useSessions' | 'verify'>, Required<Pick<IncomingAuthType, 'forgotPassword' | 'lockTime' | 'maxLoginAttempts' | 'strategies' | 'tokenExpiration' | 'useSessions' | 'verify'>> {
|
|
1338
|
+
interface Auth extends Omit<IncomingAuthType, 'cookies' | 'forgotPassword' | 'lockTime' | 'loginWithUsername' | 'maxLoginAttempts' | 'refreshTokens' | 'strategies' | 'tokenExpiration' | 'useSessions' | 'verify'>, Required<Pick<IncomingAuthType, 'forgotPassword' | 'lockTime' | 'maxLoginAttempts' | 'strategies' | 'tokenExpiration' | 'useSessions' | 'verify'>> {
|
|
1275
1339
|
cookies: Pick<AuthCookies, 'domain'> & Required<Pick<AuthCookies, 'sameSite' | 'secure'>>;
|
|
1276
1340
|
loginWithUsername: false | Required<LoginWithUsernameOptions>;
|
|
1341
|
+
refreshTokens: {
|
|
1342
|
+
expiration: number;
|
|
1343
|
+
} | false;
|
|
1277
1344
|
}
|
|
1278
1345
|
declare function hasWhereAccessResult(result: boolean | Where): result is Where;
|
|
1279
1346
|
|
|
@@ -1651,6 +1718,8 @@ interface BaseDatabaseAdapter {
|
|
|
1651
1718
|
destroy?: Destroy;
|
|
1652
1719
|
find: Find;
|
|
1653
1720
|
findDistinct: FindDistinct;
|
|
1721
|
+
/** Read document locks using the adapter's transaction visibility rules. */
|
|
1722
|
+
findDocumentLocks?: Find;
|
|
1654
1723
|
findGlobal: FindGlobal;
|
|
1655
1724
|
findGlobalVersions: FindGlobalVersions;
|
|
1656
1725
|
findOne: FindOne;
|
|
@@ -2285,6 +2354,10 @@ type MigrationTemplateArgs = {
|
|
|
2285
2354
|
type GenerateSchemaArgs = {
|
|
2286
2355
|
log?: boolean;
|
|
2287
2356
|
outputFile?: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* Format the generated schema with the project's oxfmt, falling back to Prettier.
|
|
2359
|
+
* @default true
|
|
2360
|
+
*/
|
|
2288
2361
|
prettify?: boolean;
|
|
2289
2362
|
};
|
|
2290
2363
|
type GenerateSchema = (args?: GenerateSchemaArgs) => Promise<{
|
|
@@ -2465,7 +2538,8 @@ type GlobalAdminOptions = {
|
|
|
2465
2538
|
* Specify a navigational group for globals in the admin sidebar.
|
|
2466
2539
|
* - Provide a string to place the entity in a custom group.
|
|
2467
2540
|
* - Provide a record to define localized group names.
|
|
2468
|
-
* - Set to `false` to exclude the
|
|
2541
|
+
* - Set to `false` to exclude the global from the sidebar, command palette, and dashboard collection cards.
|
|
2542
|
+
* This does not disable routes or change access control.
|
|
2469
2543
|
*/
|
|
2470
2544
|
group?: false | Record<string, string> | string;
|
|
2471
2545
|
/**
|
|
@@ -3566,9 +3640,16 @@ type JSONField = {
|
|
|
3566
3640
|
editorOptions?: EditorProps['options'];
|
|
3567
3641
|
maxHeight?: number;
|
|
3568
3642
|
} & FieldAdmin;
|
|
3643
|
+
/** Customize the generated TypeScript type name for `jsonSchema`.
|
|
3644
|
+
*
|
|
3645
|
+
* This is useful if you would like to generate a top level type to share amongst collections/fields.
|
|
3646
|
+
* **Note**: Top level types can collide, ensure they are unique amongst collections, arrays, groups, blocks, tabs.
|
|
3647
|
+
*/
|
|
3648
|
+
interfaceName?: string;
|
|
3569
3649
|
jsonSchema?: {
|
|
3570
3650
|
fileMatch: string[];
|
|
3571
|
-
schema
|
|
3651
|
+
/** Inline schema. When omitted, the schema is fetched from `uri`. */
|
|
3652
|
+
schema?: JSONSchema4;
|
|
3572
3653
|
uri: string;
|
|
3573
3654
|
};
|
|
3574
3655
|
type: 'json';
|
|
@@ -4592,6 +4673,213 @@ type StagedObject = {
|
|
|
4592
4673
|
remove: () => Promise<void>;
|
|
4593
4674
|
};
|
|
4594
4675
|
|
|
4676
|
+
type StoredFileRole = {
|
|
4677
|
+
sizeKey: string;
|
|
4678
|
+
type: 'size';
|
|
4679
|
+
} | {
|
|
4680
|
+
type: 'default' | 'original';
|
|
4681
|
+
};
|
|
4682
|
+
|
|
4683
|
+
type UploadSessionStatus = 'active' | 'cancelled' | 'completed' | 'failed' | 'pending';
|
|
4684
|
+
type UploadSessionOperation = 'create' | 'update';
|
|
4685
|
+
type UploadSessionCancelReason = 'expired' | 'user';
|
|
4686
|
+
/** Provider limits a segmented upload must respect. Provider limits always win over preferences. */
|
|
4687
|
+
type SegmentedUploadLimits = {
|
|
4688
|
+
/** Ordered protocols (e.g. GCS resumable) only accept the next byte range, so concurrency is 1. */
|
|
4689
|
+
isOrdered?: boolean;
|
|
4690
|
+
maximumConcurrency: number;
|
|
4691
|
+
maximumObjectSize: number;
|
|
4692
|
+
maximumSegmentCount: number;
|
|
4693
|
+
maximumSegmentSize: number;
|
|
4694
|
+
minimumSegmentSize: number;
|
|
4695
|
+
recommendedSegmentSize?: number;
|
|
4696
|
+
/** Segments must be sized in multiples of this many bytes (the final segment is exempt). */
|
|
4697
|
+
segmentSizeGranularity: number;
|
|
4698
|
+
};
|
|
4699
|
+
type UploadSegment = {
|
|
4700
|
+
/** Exclusive end byte offset. */
|
|
4701
|
+
end: number;
|
|
4702
|
+
/** 1-based, matching S3 part numbers. */
|
|
4703
|
+
number: number;
|
|
4704
|
+
start: number;
|
|
4705
|
+
};
|
|
4706
|
+
type UploadSegmentRequest = {
|
|
4707
|
+
headers?: Record<string, string>;
|
|
4708
|
+
method: 'POST' | 'PUT';
|
|
4709
|
+
number: number;
|
|
4710
|
+
url: string;
|
|
4711
|
+
};
|
|
4712
|
+
/** Which bytes the provider has confirmed, keyed by segment number. Always authoritative. */
|
|
4713
|
+
type ReconciledSegments = {
|
|
4714
|
+
number: number;
|
|
4715
|
+
size: number;
|
|
4716
|
+
}[];
|
|
4717
|
+
type ReservedObject = {
|
|
4718
|
+
_objectKey: string;
|
|
4719
|
+
filename: string;
|
|
4720
|
+
prefix: string;
|
|
4721
|
+
storageFilePath: string;
|
|
4722
|
+
};
|
|
4723
|
+
/**
|
|
4724
|
+
* Adapter-owned, server-only state such as a multipart upload ID or resumable session URL.
|
|
4725
|
+
* Never returned to the browser and never logged.
|
|
4726
|
+
*/
|
|
4727
|
+
type ProviderState = Record<string, unknown>;
|
|
4728
|
+
/**
|
|
4729
|
+
* Optional storage-adapter capability for native multipart or resumable uploads. Every method
|
|
4730
|
+
* runs on the server after core has authenticated the request and verified session ownership
|
|
4731
|
+
* and collection access.
|
|
4732
|
+
*/
|
|
4733
|
+
type SegmentedUploadCapability = {
|
|
4734
|
+
abort: (args: {
|
|
4735
|
+
object: ReservedObject;
|
|
4736
|
+
providerState: ProviderState;
|
|
4737
|
+
req: PayloadRequest;
|
|
4738
|
+
}) => Promise<void>;
|
|
4739
|
+
/**
|
|
4740
|
+
* Throws when the adapter refuses client uploads for this request, e.g. its `clientUploads.access`
|
|
4741
|
+
* rule. Runs before a session is persisted and again before every later session action.
|
|
4742
|
+
*/
|
|
4743
|
+
authorize?: (args: {
|
|
4744
|
+
collectionSlug: string;
|
|
4745
|
+
req: PayloadRequest;
|
|
4746
|
+
}) => Promise<void> | void;
|
|
4747
|
+
/** Commits the provider upload and returns the committed object size for verification. */
|
|
4748
|
+
complete: (args: {
|
|
4749
|
+
object: ReservedObject;
|
|
4750
|
+
providerState: ProviderState;
|
|
4751
|
+
req: PayloadRequest;
|
|
4752
|
+
segments: ReconciledSegments;
|
|
4753
|
+
}) => Promise<{
|
|
4754
|
+
size: number;
|
|
4755
|
+
}>;
|
|
4756
|
+
getSegmentRequests: (args: {
|
|
4757
|
+
collectionSlug: string;
|
|
4758
|
+
expiresIn: number;
|
|
4759
|
+
mimeType: string;
|
|
4760
|
+
object: ReservedObject;
|
|
4761
|
+
providerState: ProviderState;
|
|
4762
|
+
req: PayloadRequest;
|
|
4763
|
+
segments: UploadSegment[];
|
|
4764
|
+
}) => Promise<UploadSegmentRequest[]>;
|
|
4765
|
+
/**
|
|
4766
|
+
* Starts the provider upload. Throw an `APIError` with a 4xx status for failures a retry cannot
|
|
4767
|
+
* fix; core marks the session `failed` so it stops counting against the user's quota.
|
|
4768
|
+
*/
|
|
4769
|
+
initiate: (args: {
|
|
4770
|
+
collectionSlug: string;
|
|
4771
|
+
docPrefix?: string;
|
|
4772
|
+
filename: string;
|
|
4773
|
+
mimeType: string;
|
|
4774
|
+
req: PayloadRequest;
|
|
4775
|
+
}) => Promise<{
|
|
4776
|
+
object: ReservedObject;
|
|
4777
|
+
providerState: ProviderState;
|
|
4778
|
+
}>;
|
|
4779
|
+
limits: SegmentedUploadLimits;
|
|
4780
|
+
reconcile: (args: {
|
|
4781
|
+
object: ReservedObject;
|
|
4782
|
+
providerState: ProviderState;
|
|
4783
|
+
req: PayloadRequest;
|
|
4784
|
+
}) => Promise<ReconciledSegments>;
|
|
4785
|
+
};
|
|
4786
|
+
type UploadSessionTransferConfig = {
|
|
4787
|
+
concurrency?: number;
|
|
4788
|
+
multipartThreshold?: number;
|
|
4789
|
+
preferredSegmentSize?: number;
|
|
4790
|
+
retries?: number;
|
|
4791
|
+
};
|
|
4792
|
+
type UploadSessionsConfig = {
|
|
4793
|
+
/** @default 7 days */
|
|
4794
|
+
expiresIn?: number;
|
|
4795
|
+
/** Non-terminal sessions allowed per authenticated user. @default 10 */
|
|
4796
|
+
maxActive?: number;
|
|
4797
|
+
};
|
|
4798
|
+
type UploadSessionError = {
|
|
4799
|
+
attempts: number;
|
|
4800
|
+
code: string;
|
|
4801
|
+
message: string;
|
|
4802
|
+
occurredAt: string;
|
|
4803
|
+
retryable: boolean;
|
|
4804
|
+
source: 'adapter' | 'client' | 'payload' | 'provider';
|
|
4805
|
+
};
|
|
4806
|
+
/** The shape stored in the internal upload-sessions collection. */
|
|
4807
|
+
type UploadSessionDoc = {
|
|
4808
|
+
cancelledAt?: null | string;
|
|
4809
|
+
cancelReason?: null | UploadSessionCancelReason;
|
|
4810
|
+
cleanupCompletedAt?: null | string;
|
|
4811
|
+
collectionSlug: string;
|
|
4812
|
+
completedAt?: null | string;
|
|
4813
|
+
createdAt: string;
|
|
4814
|
+
documentID?: null | string;
|
|
4815
|
+
error?: null | UploadSessionError;
|
|
4816
|
+
expiresAt: string;
|
|
4817
|
+
file: {
|
|
4818
|
+
filename: string;
|
|
4819
|
+
lastModified?: number;
|
|
4820
|
+
mimeType: string;
|
|
4821
|
+
size: number;
|
|
4822
|
+
};
|
|
4823
|
+
/**
|
|
4824
|
+
* When the last file reference handed out for a normal save expires. Until then a form may
|
|
4825
|
+
* still save the stored object, so cancellation and expiry keep it.
|
|
4826
|
+
*/
|
|
4827
|
+
fileReferencesValidUntil?: null | string;
|
|
4828
|
+
/** Exclusive finalization claim; an expired claim may be taken over. */
|
|
4829
|
+
finalizingUntil?: null | string;
|
|
4830
|
+
id: number | string;
|
|
4831
|
+
/** Document data the user already submitted, kept so a save survives navigation or a reload. */
|
|
4832
|
+
intent?: null | UploadSessionIntent;
|
|
4833
|
+
lastActivityAt: string;
|
|
4834
|
+
operation: UploadSessionOperation;
|
|
4835
|
+
ownerCollection: string;
|
|
4836
|
+
ownerID: string;
|
|
4837
|
+
/** Unique; see `getReservationKey`. */
|
|
4838
|
+
reservationKey: string;
|
|
4839
|
+
/** The filename this session's object key uses, held until the session ends. */
|
|
4840
|
+
reservedFilename?: null | string;
|
|
4841
|
+
status: UploadSessionStatus;
|
|
4842
|
+
storage: {
|
|
4843
|
+
/** Only needed until the provider upload is initiated. */
|
|
4844
|
+
docPrefix?: string;
|
|
4845
|
+
object: null | ReservedObject;
|
|
4846
|
+
providerState: null | ProviderState;
|
|
4847
|
+
};
|
|
4848
|
+
storageCompletedAt?: null | string;
|
|
4849
|
+
targetID?: null | string;
|
|
4850
|
+
transfer: {
|
|
4851
|
+
concurrency: number;
|
|
4852
|
+
segments: UploadSegment[];
|
|
4853
|
+
strategy: 'segmented';
|
|
4854
|
+
};
|
|
4855
|
+
updatedAt: string;
|
|
4856
|
+
};
|
|
4857
|
+
/**
|
|
4858
|
+
* Request options of the original save that are not part of the document data. A normal save
|
|
4859
|
+
* sends them in the query string; a save finished from the session applies them the same way.
|
|
4860
|
+
*/
|
|
4861
|
+
type UploadSessionSaveOptions = {
|
|
4862
|
+
fallbackLocale?: string;
|
|
4863
|
+
locale?: string;
|
|
4864
|
+
publishAllLocales?: boolean;
|
|
4865
|
+
/** Crop, focal point and resize edits made in the Admin before saving. */
|
|
4866
|
+
uploadEdits?: UploadEdits;
|
|
4867
|
+
};
|
|
4868
|
+
type UploadSessionIntent = {
|
|
4869
|
+
data: Record<string, unknown>;
|
|
4870
|
+
draft?: boolean;
|
|
4871
|
+
options?: UploadSessionSaveOptions;
|
|
4872
|
+
submittedAt: string;
|
|
4873
|
+
};
|
|
4874
|
+
/** The browser-safe projection. Storage state and provider credentials are never included. */
|
|
4875
|
+
type ClientUploadSession = {
|
|
4876
|
+
completedSegments: number[];
|
|
4877
|
+
file: UploadSessionDoc['file'];
|
|
4878
|
+
/** Whether submitted document data is waiting for the upload to finish. */
|
|
4879
|
+
hasIntent: boolean;
|
|
4880
|
+
isStorageComplete: boolean;
|
|
4881
|
+
} & Pick<UploadSessionDoc, 'cancelReason' | 'collectionSlug' | 'documentID' | 'error' | 'expiresAt' | 'id' | 'lastActivityAt' | 'operation' | 'status' | 'targetID' | 'transfer'>;
|
|
4882
|
+
|
|
4595
4883
|
type OriginalFileData = {
|
|
4596
4884
|
_objectKey?: string;
|
|
4597
4885
|
filename: string;
|
|
@@ -4604,6 +4892,8 @@ type OriginalFileData = {
|
|
|
4604
4892
|
};
|
|
4605
4893
|
type FileSize = {
|
|
4606
4894
|
_objectKey?: string;
|
|
4895
|
+
/** `false` when the size has no stored file, because it is built when it is requested. */
|
|
4896
|
+
_stored?: false | null;
|
|
4607
4897
|
filename: null | string;
|
|
4608
4898
|
filesize: null | number;
|
|
4609
4899
|
height: null | number;
|
|
@@ -4617,6 +4907,8 @@ type FileSizes = {
|
|
|
4617
4907
|
};
|
|
4618
4908
|
type FileData = {
|
|
4619
4909
|
_objectKey?: string;
|
|
4910
|
+
/** `false` when no default file is stored, because it is built when it is requested. */
|
|
4911
|
+
_stored?: false | null;
|
|
4620
4912
|
filename: string;
|
|
4621
4913
|
filesize: number;
|
|
4622
4914
|
focalX?: number;
|
|
@@ -4868,6 +5160,11 @@ type UploadConfig = {
|
|
|
4868
5160
|
params: {
|
|
4869
5161
|
collection: string;
|
|
4870
5162
|
filename: string;
|
|
5163
|
+
/**
|
|
5164
|
+
* True when the request asks for the original with `?original=true`. The original and
|
|
5165
|
+
* the main file can share a filename, so the filename alone does not say which to serve.
|
|
5166
|
+
*/
|
|
5167
|
+
isOriginal?: boolean;
|
|
4871
5168
|
/** @default 'read' */
|
|
4872
5169
|
operation?: FileHandlerOperation;
|
|
4873
5170
|
prefix?: string;
|
|
@@ -4924,6 +5221,11 @@ type UploadConfig = {
|
|
|
4924
5221
|
* @default undefined
|
|
4925
5222
|
*/
|
|
4926
5223
|
staticDir?: string;
|
|
5224
|
+
/**
|
|
5225
|
+
* Per-collection transfer preferences for segmented browser uploads.
|
|
5226
|
+
* @experimental
|
|
5227
|
+
*/
|
|
5228
|
+
transfer?: UploadSessionTransferConfig;
|
|
4927
5229
|
/**
|
|
4928
5230
|
* Adapter-provided upload instructions.
|
|
4929
5231
|
* @internal
|
|
@@ -4967,8 +5269,17 @@ type GenerateUploadInstructions = (args: {
|
|
|
4967
5269
|
type UploadInstructionsCapability = {
|
|
4968
5270
|
/** Generates upload instructions. The generator or supporting endpoint must check access. */
|
|
4969
5271
|
generate: GenerateUploadInstructions;
|
|
4970
|
-
/**
|
|
5272
|
+
/**
|
|
5273
|
+
* Require a receipt signed by `resolveSignedURLKey` before invoking upload handlers. Client
|
|
5274
|
+
* uploads keep an `original` and file history only when a receipt is verified.
|
|
5275
|
+
* @see https://payloadcms.com/docs/upload/storage-adapters#custom-upload-receipts
|
|
5276
|
+
*/
|
|
4971
5277
|
requiresUploadReceipt?: boolean;
|
|
5278
|
+
/**
|
|
5279
|
+
* Native multipart or resumable transfer used by durable upload sessions.
|
|
5280
|
+
* @experimental
|
|
5281
|
+
*/
|
|
5282
|
+
segmented?: SegmentedUploadCapability;
|
|
4972
5283
|
/**
|
|
4973
5284
|
* Whether the Admin panel should use these instructions before saving a document.
|
|
4974
5285
|
* This can still be useful when upload chunks pass through Payload.
|
|
@@ -4990,6 +5301,8 @@ type SanitizedUploadConfig = {
|
|
|
4990
5301
|
* only — not authored on the collection.
|
|
4991
5302
|
*/
|
|
4992
5303
|
variants?: ImageSize[];
|
|
5304
|
+
/** The `slug` of the transformer that registered `variants` with `registerUploadVariants`. */
|
|
5305
|
+
variantsTransformerSlug?: string;
|
|
4993
5306
|
} & UploadConfig;
|
|
4994
5307
|
type File$1 = {
|
|
4995
5308
|
/**
|
|
@@ -5014,6 +5327,12 @@ type File$1 = {
|
|
|
5014
5327
|
tempFilePath?: string;
|
|
5015
5328
|
};
|
|
5016
5329
|
type FileToSave = {
|
|
5330
|
+
/**
|
|
5331
|
+
* Which document field describes this file. Storage uses it to find the file's location,
|
|
5332
|
+
* because the main file and the original can share a filename.
|
|
5333
|
+
*/
|
|
5334
|
+
role?: StoredFileRole;
|
|
5335
|
+
} & ({
|
|
5017
5336
|
/**
|
|
5018
5337
|
* The buffer of the file.
|
|
5019
5338
|
*/
|
|
@@ -5032,7 +5351,7 @@ type FileToSave = {
|
|
|
5032
5351
|
* that's already on disk (e.g. a temp file) fully into memory just to write it back out.
|
|
5033
5352
|
*/
|
|
5034
5353
|
sourcePath: string;
|
|
5035
|
-
};
|
|
5354
|
+
});
|
|
5036
5355
|
type Crop = {
|
|
5037
5356
|
height: number;
|
|
5038
5357
|
unit: '%' | 'px';
|
|
@@ -5055,7 +5374,10 @@ type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'acc
|
|
|
5055
5374
|
type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
|
|
5056
5375
|
type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'admin' | 'adminThumbnail' | 'externalFileHeaderFilter' | 'fileOperations' | 'handlers' | 'modifyResponseHeaders' | 'uploadInstructions'>;
|
|
5057
5376
|
type ClientUploadConfig = {
|
|
5058
|
-
uploadInstructions:
|
|
5377
|
+
uploadInstructions: {
|
|
5378
|
+
/** Whether the adapter supports resumable, segmented upload sessions. @experimental */
|
|
5379
|
+
supportsSegmentedUploads: boolean;
|
|
5380
|
+
} & Pick<UploadInstructionsCapability, 'useInAdmin'>;
|
|
5059
5381
|
} & Omit<SanitizedUploadConfig, 'fileOperations' | 'uploadInstructions'>;
|
|
5060
5382
|
type ClientCollectionConfig = {
|
|
5061
5383
|
admin: {
|
|
@@ -5138,6 +5460,7 @@ type UnauthenticatedClientConfig = {
|
|
|
5138
5460
|
slug: string;
|
|
5139
5461
|
}
|
|
5140
5462
|
];
|
|
5463
|
+
cookiePrefix: ClientConfig['cookiePrefix'];
|
|
5141
5464
|
globals: [];
|
|
5142
5465
|
routes: ClientConfig['routes'];
|
|
5143
5466
|
serverURL: ClientConfig['serverURL'];
|
|
@@ -6189,18 +6512,91 @@ type ScheduleConfig = {
|
|
|
6189
6512
|
queue: string;
|
|
6190
6513
|
};
|
|
6191
6514
|
|
|
6515
|
+
/**
|
|
6516
|
+
* A lazy, storage-neutral, read-only view of a file. No bytes are read until a method is
|
|
6517
|
+
* called, and each call reads the file again. A byte range is up to `numberOfBytes` bytes
|
|
6518
|
+
* starting at `startByte`. A range that runs past `sizeInBytes` stops at the end of the file.
|
|
6519
|
+
*/
|
|
6520
|
+
type FileSource = {
|
|
6521
|
+
filename: string;
|
|
6522
|
+
mimeType: string;
|
|
6523
|
+
/**
|
|
6524
|
+
* Loads one small byte range into memory. There is no limit on how many bytes one read loads
|
|
6525
|
+
* yet; a limit belongs to the Metadata API. `signal` is checked only before and after the read.
|
|
6526
|
+
*/
|
|
6527
|
+
readFileBytes: (args: {
|
|
6528
|
+
numberOfBytes: number;
|
|
6529
|
+
signal?: AbortSignal;
|
|
6530
|
+
startByte: number;
|
|
6531
|
+
}) => Promise<Uint8Array>;
|
|
6532
|
+
sizeInBytes: number;
|
|
6533
|
+
/**
|
|
6534
|
+
* Streams the byte range, or the whole file when called with no range. A transformer that
|
|
6535
|
+
* needs the whole file in memory must enforce its own byte limit while it reads the stream.
|
|
6536
|
+
*/
|
|
6537
|
+
streamFile: (args?: {
|
|
6538
|
+
numberOfBytes?: number;
|
|
6539
|
+
signal?: AbortSignal;
|
|
6540
|
+
startByte?: number;
|
|
6541
|
+
}) => Promise<ReadableStream<Uint8Array>>;
|
|
6542
|
+
};
|
|
6192
6543
|
type CanTransformArgs = {
|
|
6193
6544
|
collectionSlug: string;
|
|
6545
|
+
/** The current document. Read-only: routing must not change it. */
|
|
6546
|
+
doc: Readonly<Document>;
|
|
6194
6547
|
documentID?: number | string;
|
|
6195
6548
|
mimeType: string;
|
|
6196
6549
|
operation: 'request' | 'upload';
|
|
6550
|
+
/**
|
|
6551
|
+
* A frozen snapshot of the document, taken before the pipeline runs. This is not the hooks
|
|
6552
|
+
* `originalDoc`: on an update, it already includes the incoming data.
|
|
6553
|
+
*/
|
|
6554
|
+
originalDoc: Readonly<Document>;
|
|
6555
|
+
/**
|
|
6556
|
+
* The phase a request plan is for. `persisted-default` applies the saved `_transforms`, and runs
|
|
6557
|
+
* only when the requested file is not stored. `request-override` applies the request's own parameters.
|
|
6558
|
+
* Not set on upload.
|
|
6559
|
+
*/
|
|
6560
|
+
purpose?: 'persisted-default' | 'request-override';
|
|
6197
6561
|
req: PayloadRequest;
|
|
6198
6562
|
};
|
|
6563
|
+
/**
|
|
6564
|
+
* `true` or `false` decides only whether the transformer runs. The object form also lists the
|
|
6565
|
+
* saved `_transforms` keys this stage applies, and the options this stage gets. Every saved key
|
|
6566
|
+
* that must run needs exactly one claiming stage, or the operation fails before any file work.
|
|
6567
|
+
*/
|
|
6568
|
+
type CanTransformResult<TOptions = unknown> = {
|
|
6569
|
+
canTransform: true;
|
|
6570
|
+
/** The `_transforms` keys this stage applies, for example `['crop']`. */
|
|
6571
|
+
handledTransformKeys?: string[];
|
|
6572
|
+
/**
|
|
6573
|
+
* Passed as `options` to this stage's `transformFile` or `handleRequest`. A transformer
|
|
6574
|
+
* planned in both request phases gets the options of each phase's own `canTransform` call.
|
|
6575
|
+
*/
|
|
6576
|
+
options?: TOptions;
|
|
6577
|
+
} | boolean;
|
|
6199
6578
|
type TransformFileArgs<TOptions = unknown> = {
|
|
6200
6579
|
collectionSlug: string;
|
|
6580
|
+
/**
|
|
6581
|
+
* The working copy of the document, passed in order through the stages. A stage may change
|
|
6582
|
+
* `doc._transforms`, and later stages see the change. Payload saves the final value, after the
|
|
6583
|
+
* normal hooks and validation. A change to any other field fails the upload.
|
|
6584
|
+
*/
|
|
6585
|
+
doc: Document;
|
|
6586
|
+
/** The current pipeline file. The same file as `source`. */
|
|
6201
6587
|
file: File;
|
|
6588
|
+
/** The options from this stage's `canTransform` result, or `undefined`. */
|
|
6202
6589
|
options: TOptions;
|
|
6590
|
+
/**
|
|
6591
|
+
* A frozen snapshot of the document, taken before the pipeline runs. This is not the hooks
|
|
6592
|
+
* `originalDoc`: on an update, it already includes the incoming data.
|
|
6593
|
+
*/
|
|
6594
|
+
originalDoc: Readonly<Document>;
|
|
6595
|
+
/** The retained original file, before any transformer changed it. */
|
|
6596
|
+
originalSource: FileSource;
|
|
6203
6597
|
req: PayloadRequest;
|
|
6598
|
+
/** The current pipeline file: the upload, or the file that the previous stage returned. */
|
|
6599
|
+
source: FileSource;
|
|
6204
6600
|
};
|
|
6205
6601
|
type TransformFileResult = {
|
|
6206
6602
|
file: File;
|
|
@@ -6209,13 +6605,26 @@ type TransformFileResult = {
|
|
|
6209
6605
|
file?: File;
|
|
6210
6606
|
status: 'continue';
|
|
6211
6607
|
};
|
|
6212
|
-
type HandleTransformRequestArgs = {
|
|
6608
|
+
type HandleTransformRequestArgs<TOptions = unknown> = {
|
|
6213
6609
|
collectionSlug: string;
|
|
6610
|
+
/** The requested document. Read-only: a request does not save changes. */
|
|
6611
|
+
doc: Readonly<Document>;
|
|
6214
6612
|
documentID: number | string;
|
|
6215
6613
|
filename: string;
|
|
6614
|
+
/**
|
|
6615
|
+
* Reads the retained original file. Each stage gets its own getter, which can be called once.
|
|
6616
|
+
* Payload closes the response when the stage does not return it.
|
|
6617
|
+
*/
|
|
6618
|
+
getOriginalFile: () => Promise<Response>;
|
|
6216
6619
|
getSourceFile: () => Promise<Response>;
|
|
6217
6620
|
mimeType: string;
|
|
6621
|
+
/** The options from this phase's `canTransform` result, or `undefined`. */
|
|
6622
|
+
options: TOptions;
|
|
6623
|
+
/** A frozen snapshot of the requested document. */
|
|
6624
|
+
originalDoc: Readonly<Document>;
|
|
6218
6625
|
req: PayloadRequest;
|
|
6626
|
+
/** The name of the requested size in `upload.variants`, or `undefined` for the main file. */
|
|
6627
|
+
variantName?: string;
|
|
6219
6628
|
};
|
|
6220
6629
|
type HandleTransformRequestResult = {
|
|
6221
6630
|
response: Response;
|
|
@@ -6224,6 +6633,34 @@ type HandleTransformRequestResult = {
|
|
|
6224
6633
|
response?: Response;
|
|
6225
6634
|
status: 'continue';
|
|
6226
6635
|
};
|
|
6636
|
+
/**
|
|
6637
|
+
* Checks a declared `_transforms` value for rules that its JSON Schema cannot express, for example
|
|
6638
|
+
* rules that depend on other fields. Returns `true`, or an error message. As for transformers,
|
|
6639
|
+
* `originalDoc` is the frozen document at the start of the pipeline, not the stored document.
|
|
6640
|
+
*/
|
|
6641
|
+
type TransformValidate<TValue = unknown> = (value: TValue, context: {
|
|
6642
|
+
/** The complete proposed `_transforms` value. */
|
|
6643
|
+
transforms: Readonly<JsonObject>;
|
|
6644
|
+
} & Pick<CanTransformArgs, 'collectionSlug' | 'doc' | 'originalDoc' | 'req'>) => Promise<string | true> | string | true;
|
|
6645
|
+
/**
|
|
6646
|
+
* The JSON Schema of a declared `_transforms` value, in the draft that Payload checks values with
|
|
6647
|
+
* (draft 2020-12). Older rules that this draft does not have, such as draft 4's `required: true`,
|
|
6648
|
+
* are not checked, so this type does not allow them.
|
|
6649
|
+
*/
|
|
6650
|
+
type TransformValueSchema = core.JSONSchema.JSONSchema;
|
|
6651
|
+
/**
|
|
6652
|
+
* A custom `_transforms` key and the shape of its value. Payload adds it to the `_transforms`
|
|
6653
|
+
* schema and to the generated `UploadTransforms` type. A definition does not decide which stage
|
|
6654
|
+
* applies the key: a stage claims it with `handledTransformKeys`.
|
|
6655
|
+
*/
|
|
6656
|
+
type TransformDefinition<TValue = unknown> = {
|
|
6657
|
+
/** The `_transforms` key. It cannot be a built-in key, and only one transformer can define it. */
|
|
6658
|
+
key: string;
|
|
6659
|
+
/** The JSON Schema of the value. Its `description` becomes the JSDoc of the generated type. */
|
|
6660
|
+
schema: TransformValueSchema;
|
|
6661
|
+
/** Runs after the schema check, on every supplied value and on a value that a stage changes. */
|
|
6662
|
+
validate?: TransformValidate<TValue>;
|
|
6663
|
+
};
|
|
6227
6664
|
/**
|
|
6228
6665
|
* A capability adapter that can transform files during upload, handle dynamic
|
|
6229
6666
|
* file requests, or both. Configured only under `upload.transformers`.
|
|
@@ -6233,7 +6670,7 @@ type UploadTransformer = {
|
|
|
6233
6670
|
* Inexpensive, side-effect-free routing predicate. Must not fetch the source,
|
|
6234
6671
|
* call an external service, or perform the transformation.
|
|
6235
6672
|
*/
|
|
6236
|
-
canTransform?: (args: CanTransformArgs) =>
|
|
6673
|
+
canTransform?: (args: CanTransformArgs) => CanTransformResult | Promise<CanTransformResult>;
|
|
6237
6674
|
/**
|
|
6238
6675
|
* Handles one stage of a dynamic transformation request.
|
|
6239
6676
|
*/
|
|
@@ -6252,6 +6689,10 @@ type UploadTransformer = {
|
|
|
6252
6689
|
* Must be unique across `upload.transformers`.
|
|
6253
6690
|
*/
|
|
6254
6691
|
slug: string;
|
|
6692
|
+
/**
|
|
6693
|
+
* Custom `_transforms` keys that this transformer declares, with the shape of each value.
|
|
6694
|
+
*/
|
|
6695
|
+
transformDefinitions?: TransformDefinition[];
|
|
6255
6696
|
/**
|
|
6256
6697
|
* One-file-in, one-file-out upload processing primitive. Never writes to storage.
|
|
6257
6698
|
*/
|
|
@@ -6595,6 +7036,11 @@ type PayloadHandler = (req: PayloadRequest) => Promise<Response> | Response;
|
|
|
6595
7036
|
type Endpoint = {
|
|
6596
7037
|
/** Extension point to add your custom data. */
|
|
6597
7038
|
custom?: Record<string, any>;
|
|
7039
|
+
/**
|
|
7040
|
+
* Skip Payload's authentication before the handler runs, so `req.user` is `null`. Use this when
|
|
7041
|
+
* the handler authenticates the request itself, e.g. with `req.payload.auth()`.
|
|
7042
|
+
*/
|
|
7043
|
+
disableAuth?: boolean;
|
|
6598
7044
|
/**
|
|
6599
7045
|
* Middleware that will be called when the path/method matches
|
|
6600
7046
|
*
|
|
@@ -6609,13 +7055,6 @@ type Endpoint = {
|
|
|
6609
7055
|
* Compatible with the Express router
|
|
6610
7056
|
*/
|
|
6611
7057
|
path: string;
|
|
6612
|
-
/**
|
|
6613
|
-
* Please add "root" routes under the /api folder in the Payload Project.
|
|
6614
|
-
* https://nextjs.org/docs/app/api-reference/file-conventions/route
|
|
6615
|
-
*
|
|
6616
|
-
* @deprecated in 3.0
|
|
6617
|
-
*/
|
|
6618
|
-
root?: never;
|
|
6619
7058
|
};
|
|
6620
7059
|
/**
|
|
6621
7060
|
* @deprecated
|
|
@@ -6913,6 +7352,16 @@ type FetchAPIFileUploadOptions = {
|
|
|
6913
7352
|
useTempFiles?: boolean | undefined;
|
|
6914
7353
|
} & Partial<BusboyConfig>;
|
|
6915
7354
|
type GlobalUploadConfig = {
|
|
7355
|
+
/**
|
|
7356
|
+
* Lifetime and quota policies for durable browser upload sessions.
|
|
7357
|
+
* @experimental
|
|
7358
|
+
*/
|
|
7359
|
+
sessions?: UploadSessionsConfig;
|
|
7360
|
+
/**
|
|
7361
|
+
* Transfer preferences for segmented browser uploads. Storage provider limits always win.
|
|
7362
|
+
* @experimental
|
|
7363
|
+
*/
|
|
7364
|
+
transfer?: UploadSessionTransferConfig;
|
|
6916
7365
|
/**
|
|
6917
7366
|
* Ordered list of file transformers. Every eligible transformer joins the pipeline
|
|
6918
7367
|
* for a given upload or dynamic request in declaration order. Slugs must be unique.
|
|
@@ -7442,6 +7891,15 @@ type Config = {
|
|
|
7442
7891
|
* Defaults to ['JWT', 'Bearer', 'cookie]
|
|
7443
7892
|
*/
|
|
7444
7893
|
jwtOrder?: ('Bearer' | 'cookie' | 'JWT')[];
|
|
7894
|
+
/**
|
|
7895
|
+
* PBKDF2-SHA256 iterations used when hashing new passwords for the local auth strategy.
|
|
7896
|
+
*
|
|
7897
|
+
* Use `100000` in environments that do not support 600,000 iterations, such as Cloudflare
|
|
7898
|
+
* Workers. Stored hashes that use a different count are rehashed on the next successful login.
|
|
7899
|
+
*
|
|
7900
|
+
* @default 600000
|
|
7901
|
+
*/
|
|
7902
|
+
passwordHashIterations?: 100000 | 600000;
|
|
7445
7903
|
};
|
|
7446
7904
|
/**
|
|
7447
7905
|
* Define Collection and Global access constraints that are combined with document Access Control using AND semantics.
|
|
@@ -7470,6 +7928,8 @@ type Config = {
|
|
|
7470
7928
|
collections?: CollectionConfig[];
|
|
7471
7929
|
/**
|
|
7472
7930
|
* Prefix a string to all cookies that Payload sets.
|
|
7931
|
+
* Must contain only valid cookie-name characters; whitespace is not allowed.
|
|
7932
|
+
* Empty strings use the default prefix.
|
|
7473
7933
|
*
|
|
7474
7934
|
* @default "payload"
|
|
7475
7935
|
*/
|
|
@@ -8041,6 +8501,11 @@ type FieldState = {
|
|
|
8041
8501
|
Field?: React.ReactNode;
|
|
8042
8502
|
Label?: React.ReactNode;
|
|
8043
8503
|
};
|
|
8504
|
+
/**
|
|
8505
|
+
* Excludes this field's own value when form state is converted to document data, so the value is not submitted with the form.
|
|
8506
|
+
* The value remains available in form state.
|
|
8507
|
+
* Descendant fields are serialized independently.
|
|
8508
|
+
*/
|
|
8044
8509
|
disableFormData?: boolean;
|
|
8045
8510
|
errorMessage?: string;
|
|
8046
8511
|
errorPaths?: string[];
|
|
@@ -8746,6 +9211,8 @@ type ServerFunctionArgs = {
|
|
|
8746
9211
|
};
|
|
8747
9212
|
type ServerFunctionClientArgs = {
|
|
8748
9213
|
args: Record<string, unknown>;
|
|
9214
|
+
/** The locale of the rendered page making this request. */
|
|
9215
|
+
locale?: Locale['code'];
|
|
8749
9216
|
name: string;
|
|
8750
9217
|
};
|
|
8751
9218
|
type ServerFunctionClient = (args: ServerFunctionClientArgs) => Promise<unknown> | unknown;
|
|
@@ -9122,11 +9589,18 @@ declare const meOperation: (args: Arguments$q) => Promise<MeOperationResult>;
|
|
|
9122
9589
|
type Result$3 = {
|
|
9123
9590
|
exp: number;
|
|
9124
9591
|
refreshedToken: string;
|
|
9592
|
+
/** The next refresh token, when refreshing with a refresh token. */
|
|
9593
|
+
refreshToken?: string;
|
|
9125
9594
|
setCookie?: boolean;
|
|
9126
9595
|
user: Document;
|
|
9127
9596
|
};
|
|
9128
9597
|
type Arguments$p = {
|
|
9129
9598
|
collection: Collection;
|
|
9599
|
+
/**
|
|
9600
|
+
* A refresh token from login to refresh with, instead of the request's token. Unlike the
|
|
9601
|
+
* request's token, it still works after the token expired.
|
|
9602
|
+
*/
|
|
9603
|
+
refreshToken?: string;
|
|
9130
9604
|
req: PayloadRequest;
|
|
9131
9605
|
};
|
|
9132
9606
|
declare const refreshOperation: (incomingArgs: Arguments$p) => Promise<Result$3>;
|
|
@@ -9146,6 +9620,8 @@ declare const forgotPasswordOperation: <TSlug extends AuthCollectionSlug>(incomi
|
|
|
9146
9620
|
|
|
9147
9621
|
type LoginResult<TSlug extends AuthCollectionSlug> = {
|
|
9148
9622
|
exp?: number;
|
|
9623
|
+
/** With `auth.refreshTokens`, trades for a new token after this one expires. */
|
|
9624
|
+
refreshToken?: string;
|
|
9149
9625
|
token?: string;
|
|
9150
9626
|
user?: AuthRuntimeFields & DataFromCollectionSlug<TSlug>;
|
|
9151
9627
|
};
|
|
@@ -10108,7 +10584,10 @@ type CollectionAdminOptions = {
|
|
|
10108
10584
|
* Specify a navigational group for collections in the admin sidebar.
|
|
10109
10585
|
* - Provide a string to place the entity in a custom group.
|
|
10110
10586
|
* - Provide a record to define localized group names.
|
|
10111
|
-
* - Set to `false` to exclude the
|
|
10587
|
+
* - Set to `false` to exclude the collection from the sidebar, command palette, dashboard collection cards,
|
|
10588
|
+
* and pin picker, and its documents from both the Pinned and Recently viewed dashboard tabs, including existing pins.
|
|
10589
|
+
* This does not disable routes or change access control or rich text link and relationship eligibility.
|
|
10590
|
+
* Use `enableRichTextLink` and `enableRichTextRelationship` to configure rich text eligibility separately.
|
|
10112
10591
|
*/
|
|
10113
10592
|
group?: false | Record<string, string> | string;
|
|
10114
10593
|
/**
|
|
@@ -10482,6 +10961,12 @@ type TypeWithTimestamps = {
|
|
|
10482
10961
|
};
|
|
10483
10962
|
type CompoundIndex = {
|
|
10484
10963
|
fields: string[];
|
|
10964
|
+
/**
|
|
10965
|
+
* MongoDB only: include documents in this index only when every listed field exists.
|
|
10966
|
+
* Explicit null values count as existing. SQL adapters ignore this option.
|
|
10967
|
+
* Unique indexes using this option cannot index paths nested inside arrays or blocks.
|
|
10968
|
+
*/
|
|
10969
|
+
requireExists?: string[];
|
|
10485
10970
|
unique?: boolean;
|
|
10486
10971
|
};
|
|
10487
10972
|
type SanitizedCompoundIndex = {
|
|
@@ -10491,6 +10976,11 @@ type SanitizedCompoundIndex = {
|
|
|
10491
10976
|
path: string;
|
|
10492
10977
|
pathHasLocalized: boolean;
|
|
10493
10978
|
}[];
|
|
10979
|
+
requireExists?: {
|
|
10980
|
+
localizedPath: string;
|
|
10981
|
+
path: string;
|
|
10982
|
+
pathHasLocalized: boolean;
|
|
10983
|
+
}[];
|
|
10494
10984
|
unique: boolean;
|
|
10495
10985
|
};
|
|
10496
10986
|
|
|
@@ -12215,7 +12705,7 @@ type RouterAdapterRouter = {
|
|
|
12215
12705
|
*/
|
|
12216
12706
|
replace: (path: string, options?: {
|
|
12217
12707
|
scroll?: boolean;
|
|
12218
|
-
}) => void;
|
|
12708
|
+
}) => Promise<void> | void;
|
|
12219
12709
|
/**
|
|
12220
12710
|
* Use this property to standardize behaviors across different router implementations.
|
|
12221
12711
|
* Set it up to sync client state to the URL without triggering a second server load.
|
|
@@ -13110,6 +13600,33 @@ declare const usernameFieldConfig: TextField;
|
|
|
13110
13600
|
|
|
13111
13601
|
declare const verificationFields: Field[];
|
|
13112
13602
|
|
|
13603
|
+
/**
|
|
13604
|
+
* Starts a login session for the user and signs the JWT for it, the same token a password login
|
|
13605
|
+
* returns. Payload's JWT strategy accepts it. The session is saved on the user right away.
|
|
13606
|
+
*/
|
|
13607
|
+
declare const createAuthToken: ({ type, collectionConfig, email, label, metadata, req, shouldCreateRefreshToken, user, }: {
|
|
13608
|
+
collectionConfig: SanitizedCollectionConfig;
|
|
13609
|
+
/** The `email` claim of the token. */
|
|
13610
|
+
email: string;
|
|
13611
|
+
req: PayloadRequest;
|
|
13612
|
+
/**
|
|
13613
|
+
* Also return a refresh token for the session, which `redeemRefreshToken` trades for a new token.
|
|
13614
|
+
* The session then lasts `auth.refreshTokens.expiration` from each refresh, or 30 days when the
|
|
13615
|
+
* collection doesn't enable refresh tokens. Requires `auth.useSessions`.
|
|
13616
|
+
*/
|
|
13617
|
+
shouldCreateRefreshToken?: boolean;
|
|
13618
|
+
user: AuthenticatedUser;
|
|
13619
|
+
} & Pick<UserSession, "label" | "metadata" | "type">) => Promise<{
|
|
13620
|
+
exp: number;
|
|
13621
|
+
refreshToken?: string;
|
|
13622
|
+
/**
|
|
13623
|
+
* The ID of the session the token belongs to. Removing that session from the user, like logout
|
|
13624
|
+
* does, makes the token stop working.
|
|
13625
|
+
*/
|
|
13626
|
+
sid?: string;
|
|
13627
|
+
token: string;
|
|
13628
|
+
}>;
|
|
13629
|
+
|
|
13113
13630
|
declare const defaultUserCollection: CollectionConfig;
|
|
13114
13631
|
|
|
13115
13632
|
type OperationArgs = {
|
|
@@ -13190,12 +13707,44 @@ type Result<TData> = {
|
|
|
13190
13707
|
};
|
|
13191
13708
|
declare const registerFirstUserOperation: <TSlug extends AuthCollectionSlug>(args: Arguments$7<TSlug>) => Promise<Result<DataFromCollectionSlug<TSlug>>>;
|
|
13192
13709
|
|
|
13193
|
-
type Args$
|
|
13710
|
+
type Args$i = {
|
|
13194
13711
|
collection: Collection;
|
|
13195
13712
|
req: PayloadRequest;
|
|
13196
13713
|
token: string;
|
|
13197
13714
|
};
|
|
13198
|
-
declare const verifyEmailOperation: (args: Args$
|
|
13715
|
+
declare const verifyEmailOperation: (args: Args$i) => Promise<boolean>;
|
|
13716
|
+
|
|
13717
|
+
/**
|
|
13718
|
+
* Trades a refresh token from `createAuthToken` or an earlier refresh for a new token and a new
|
|
13719
|
+
* refresh token. Every refresh counts up the session's `refreshCount`, which the refresh token
|
|
13720
|
+
* remembers, so a refresh token with an older count was already used. That means it was copied, and
|
|
13721
|
+
* its session is logged out.
|
|
13722
|
+
*
|
|
13723
|
+
* The refresh operation uses it when it gets a refresh token. Plugins can also call it directly,
|
|
13724
|
+
* since it needs nothing but the refresh token.
|
|
13725
|
+
*
|
|
13726
|
+
* @returns `null` when the refresh token is invalid, its session ended, it was reused, or its user
|
|
13727
|
+
* is in the trash or not verified
|
|
13728
|
+
*/
|
|
13729
|
+
declare const redeemRefreshToken: ({ collection, refreshToken, req, reuseInterval, }: {
|
|
13730
|
+
/** Only accept refresh tokens of this collection. */
|
|
13731
|
+
collection?: string;
|
|
13732
|
+
refreshToken: string;
|
|
13733
|
+
req: PayloadRequest;
|
|
13734
|
+
/**
|
|
13735
|
+
* How long the refresh token from right before the latest refresh still works, in milliseconds.
|
|
13736
|
+
* Clients that send requests in parallel can refresh twice at once. `0` means none.
|
|
13737
|
+
*
|
|
13738
|
+
* @default 30000
|
|
13739
|
+
*/
|
|
13740
|
+
reuseInterval?: number;
|
|
13741
|
+
}) => Promise<{
|
|
13742
|
+
collectionConfig: SanitizedCollectionConfig;
|
|
13743
|
+
exp: number;
|
|
13744
|
+
refreshToken: string;
|
|
13745
|
+
token: string;
|
|
13746
|
+
user: AuthenticatedUser;
|
|
13747
|
+
} | null>;
|
|
13199
13748
|
|
|
13200
13749
|
type RotateSecretArgs = {
|
|
13201
13750
|
/**
|
|
@@ -13252,20 +13801,20 @@ declare const rotateSecret: ({ batchSize, collections, dryRun, oldSecret, payloa
|
|
|
13252
13801
|
*/
|
|
13253
13802
|
declare const JWTAuthentication: AuthStrategyFunction;
|
|
13254
13803
|
|
|
13255
|
-
type Args$
|
|
13804
|
+
type Args$h = {
|
|
13256
13805
|
collection: SanitizedCollectionConfig;
|
|
13257
13806
|
payload: Payload;
|
|
13258
13807
|
user: User;
|
|
13259
13808
|
};
|
|
13260
|
-
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$
|
|
13809
|
+
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$h) => Promise<void>;
|
|
13261
13810
|
|
|
13262
|
-
type Args$
|
|
13811
|
+
type Args$g = {
|
|
13263
13812
|
collection: SanitizedCollectionConfig;
|
|
13264
13813
|
doc: Record<string, unknown> & TypeWithID;
|
|
13265
13814
|
payload: Payload;
|
|
13266
13815
|
req: PayloadRequest;
|
|
13267
13816
|
};
|
|
13268
|
-
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$
|
|
13817
|
+
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$g) => Promise<void>;
|
|
13269
13818
|
|
|
13270
13819
|
declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fields, importMap, imports, }: {
|
|
13271
13820
|
addToImportMap: AddToImportMap;
|
|
@@ -13276,6 +13825,17 @@ declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fi
|
|
|
13276
13825
|
imports: Imports;
|
|
13277
13826
|
}): void;
|
|
13278
13827
|
|
|
13828
|
+
type CLIExitCodeHandler = (error: unknown) => number | undefined;
|
|
13829
|
+
/**
|
|
13830
|
+
* Register a classifier before loading config that may throw custom errors.
|
|
13831
|
+
* The first handler returning an integer from 1 through 255 chooses the CLI's
|
|
13832
|
+
* failure exit code. Return undefined for errors the handler does not recognize.
|
|
13833
|
+
* Handlers that throw are ignored. The returned function removes this registration.
|
|
13834
|
+
*/
|
|
13835
|
+
declare const registerCLIExitCodeHandler: ({ handler, }: {
|
|
13836
|
+
handler: CLIExitCodeHandler;
|
|
13837
|
+
}) => (() => void);
|
|
13838
|
+
|
|
13279
13839
|
declare const getDataLoader: (req: PayloadRequest) => {
|
|
13280
13840
|
find: Payload["find"];
|
|
13281
13841
|
} & DataLoader<string, TypeWithID, string>;
|
|
@@ -13488,6 +14048,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13488
14048
|
depth?: number | undefined;
|
|
13489
14049
|
fallbackLocale?: string | false | undefined;
|
|
13490
14050
|
locale?: string | undefined;
|
|
14051
|
+
trash?: boolean | undefined;
|
|
13491
14052
|
where?: unknown;
|
|
13492
14053
|
}, {
|
|
13493
14054
|
slug: string;
|
|
@@ -13495,6 +14056,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13495
14056
|
id?: string | number | undefined;
|
|
13496
14057
|
fallbackLocale?: string | false | undefined;
|
|
13497
14058
|
locale?: string | undefined;
|
|
14059
|
+
trash?: boolean | undefined;
|
|
13498
14060
|
where?: Where | undefined;
|
|
13499
14061
|
}> & z.ZodMiniObject<{
|
|
13500
14062
|
id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
|
|
@@ -13502,6 +14064,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13502
14064
|
depth: z.ZodMiniDefault<z.ZodMiniInt>;
|
|
13503
14065
|
fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
|
|
13504
14066
|
locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
14067
|
+
trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
13505
14068
|
where: z.ZodMiniOptional<z.ZodMiniType<Where, unknown, z.core.$ZodTypeInternals<Where, unknown>>>;
|
|
13506
14069
|
}, z.core.$strict>;
|
|
13507
14070
|
/** For trusted local callers only. Includes access bypass. */
|
|
@@ -13512,6 +14075,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13512
14075
|
depth?: number | undefined;
|
|
13513
14076
|
fallbackLocale?: string | false | undefined;
|
|
13514
14077
|
locale?: string | undefined;
|
|
14078
|
+
trash?: boolean | undefined;
|
|
13515
14079
|
where?: unknown;
|
|
13516
14080
|
}, {
|
|
13517
14081
|
overrideAccess: boolean;
|
|
@@ -13520,6 +14084,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13520
14084
|
id?: string | number | undefined;
|
|
13521
14085
|
fallbackLocale?: string | false | undefined;
|
|
13522
14086
|
locale?: string | undefined;
|
|
14087
|
+
trash?: boolean | undefined;
|
|
13523
14088
|
where?: Where | undefined;
|
|
13524
14089
|
}> & z.ZodMiniObject<{
|
|
13525
14090
|
overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
@@ -13528,6 +14093,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13528
14093
|
depth: z.ZodMiniDefault<z.ZodMiniInt>;
|
|
13529
14094
|
fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
|
|
13530
14095
|
locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
14096
|
+
trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
13531
14097
|
where: z.ZodMiniOptional<z.ZodMiniType<Where, unknown, z.core.$ZodTypeInternals<Where, unknown>>>;
|
|
13532
14098
|
}, z.core.$strict>;
|
|
13533
14099
|
declare const duplicateDocumentInputSchema: _standard_schema_spec.StandardJSONSchemaV1<{
|
|
@@ -14404,7 +14970,7 @@ declare const writeMigrationIndex: (args: {
|
|
|
14404
14970
|
migrationsDir: string;
|
|
14405
14971
|
}) => void;
|
|
14406
14972
|
|
|
14407
|
-
type Args$
|
|
14973
|
+
type Args$f = {
|
|
14408
14974
|
errors?: {
|
|
14409
14975
|
path: string;
|
|
14410
14976
|
}[];
|
|
@@ -14422,9 +14988,9 @@ type Args$h = {
|
|
|
14422
14988
|
collectionConfig?: never | undefined;
|
|
14423
14989
|
globalConfig: SanitizedGlobalConfig;
|
|
14424
14990
|
});
|
|
14425
|
-
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, showHiddenFields, versionFields, where, }: Args$
|
|
14991
|
+
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, showHiddenFields, versionFields, where, }: Args$f): Promise<void>;
|
|
14426
14992
|
|
|
14427
|
-
type Args$
|
|
14993
|
+
type Args$e = {
|
|
14428
14994
|
collectionConfig?: SanitizedCollectionConfig;
|
|
14429
14995
|
constraint: WhereField;
|
|
14430
14996
|
errors: {
|
|
@@ -14446,7 +15012,7 @@ type Args$g = {
|
|
|
14446
15012
|
/**
|
|
14447
15013
|
* Validate the Payload key / value / operator
|
|
14448
15014
|
*/
|
|
14449
|
-
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, showHiddenFields, val, versionFields, }: Args$
|
|
15015
|
+
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, showHiddenFields, val, versionFields, }: Args$e): Promise<void>;
|
|
14450
15016
|
|
|
14451
15017
|
type AuthorshipFieldArgs = {
|
|
14452
15018
|
/**
|
|
@@ -14473,7 +15039,7 @@ declare const baseBlockFields: Field[];
|
|
|
14473
15039
|
|
|
14474
15040
|
declare const baseIDField: TextField;
|
|
14475
15041
|
|
|
14476
|
-
type Args$
|
|
15042
|
+
type Args$d = {
|
|
14477
15043
|
collection: SanitizedCollectionConfig;
|
|
14478
15044
|
field: string;
|
|
14479
15045
|
/** Exclude this doc from the check, so a regenerate can reuse its own value. */
|
|
@@ -14490,7 +15056,7 @@ type Args$f = {
|
|
|
14490
15056
|
* The format is: `<singular>-<N>`, where `N` is the first available integer. Uses the collection's singular
|
|
14491
15057
|
* label when it resolves to a plain string, otherwise the collection slug. See {@link getUniqueFieldValue}.
|
|
14492
15058
|
*/
|
|
14493
|
-
declare const getSlugFallbackValue: ({ id, collection, field, locale, overrideAccess, req, slugify, }: Args$
|
|
15059
|
+
declare const getSlugFallbackValue: ({ id, collection, field, locale, overrideAccess, req, slugify, }: Args$d) => Promise<string>;
|
|
14494
15060
|
|
|
14495
15061
|
/**
|
|
14496
15062
|
* Info about an orderable join field, collected during sanitization
|
|
@@ -14601,16 +15167,16 @@ type SanitizeFieldResult = {
|
|
|
14601
15167
|
declare const sanitizeField: ({ collectionConfig, config, existingFieldNames, field, globalConfig, index, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizers, validRelationships, }: SanitizeFieldArgs) => SanitizeFieldResult;
|
|
14602
15168
|
declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizers, validRelationships, }: SanitizeFieldsArgs) => Field[];
|
|
14603
15169
|
|
|
14604
|
-
type Args$
|
|
15170
|
+
type Args$c = {
|
|
14605
15171
|
defaultValue: DefaultValue;
|
|
14606
15172
|
locale: string | undefined;
|
|
14607
15173
|
req: PayloadRequest;
|
|
14608
15174
|
user: PayloadRequest['user'];
|
|
14609
15175
|
value?: JsonValue;
|
|
14610
15176
|
};
|
|
14611
|
-
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$
|
|
15177
|
+
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$c) => Promise<JsonValue>;
|
|
14612
15178
|
|
|
14613
|
-
type Args$
|
|
15179
|
+
type Args$b = {
|
|
14614
15180
|
/**
|
|
14615
15181
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14616
15182
|
*/
|
|
@@ -14636,9 +15202,9 @@ type Args$d = {
|
|
|
14636
15202
|
siblingDoc: JsonObject;
|
|
14637
15203
|
siblingFields?: (Field | TabAsField)[];
|
|
14638
15204
|
};
|
|
14639
|
-
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$
|
|
15205
|
+
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$b) => Promise<void>;
|
|
14640
15206
|
|
|
14641
|
-
type Args$
|
|
15207
|
+
type Args$a = {
|
|
14642
15208
|
/**
|
|
14643
15209
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14644
15210
|
*/
|
|
@@ -14686,9 +15252,9 @@ type Args$c = {
|
|
|
14686
15252
|
triggerAccessControl?: boolean;
|
|
14687
15253
|
triggerHooks?: boolean;
|
|
14688
15254
|
} & Required<Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>>;
|
|
14689
|
-
declare const promise: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, field, fieldDepth, fieldIndex, fieldPromises, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, siblingFields, triggerAccessControl, triggerHooks, }: Args$
|
|
15255
|
+
declare const promise: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, field, fieldDepth, fieldIndex, fieldPromises, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, siblingFields, triggerAccessControl, triggerHooks, }: Args$a) => Promise<void>;
|
|
14690
15256
|
|
|
14691
|
-
type Args$
|
|
15257
|
+
type Args$9 = {
|
|
14692
15258
|
/**
|
|
14693
15259
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14694
15260
|
*/
|
|
@@ -14735,13 +15301,14 @@ type Args$b = {
|
|
|
14735
15301
|
triggerAccessControl?: boolean;
|
|
14736
15302
|
triggerHooks?: boolean;
|
|
14737
15303
|
};
|
|
14738
|
-
declare const traverseFields$3: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, fieldDepth, fieldPromises, fields, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, triggerAccessControl, triggerHooks, }: Args$
|
|
15304
|
+
declare const traverseFields$3: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, fieldDepth, fieldPromises, fields, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, triggerAccessControl, triggerHooks, }: Args$9) => void;
|
|
14739
15305
|
|
|
14740
|
-
type Args$
|
|
15306
|
+
type Args$8 = {
|
|
14741
15307
|
/**
|
|
14742
15308
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14743
15309
|
*/
|
|
14744
15310
|
blockData?: JsonObject;
|
|
15311
|
+
blockFields?: Field[];
|
|
14745
15312
|
collection: null | SanitizedCollectionConfig;
|
|
14746
15313
|
context: RequestContext;
|
|
14747
15314
|
data: JsonObject;
|
|
@@ -14796,9 +15363,9 @@ type Args$a = {
|
|
|
14796
15363
|
* - Transform data for storage
|
|
14797
15364
|
* - Unflatten locales. The input `data` is the normal document for one locale. The output result will become the document with locales.
|
|
14798
15365
|
*/
|
|
14799
|
-
declare const traverseFields$2: ({ id, blockData, collection, context, data, doc, docWithLocales, errors, fieldLabelPath, fields, global, isValidationOperation, mergeLocaleActions, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, siblingDocWithLocales, skipHooks, skipValidation, submittedTopLevelFieldNames, }: Args$
|
|
15366
|
+
declare const traverseFields$2: ({ id, blockData, blockFields, collection, context, data, doc, docWithLocales, errors, fieldLabelPath, fields, global, isValidationOperation, mergeLocaleActions, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, siblingDocWithLocales, skipHooks, skipValidation, submittedTopLevelFieldNames, }: Args$8) => Promise<void>;
|
|
14800
15367
|
|
|
14801
|
-
type Args$
|
|
15368
|
+
type Args$7<T> = {
|
|
14802
15369
|
/**
|
|
14803
15370
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14804
15371
|
*/
|
|
@@ -14834,7 +15401,7 @@ type Args$9<T> = {
|
|
|
14834
15401
|
*/
|
|
14835
15402
|
siblingDoc: JsonObject;
|
|
14836
15403
|
};
|
|
14837
|
-
declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, docForHooks, fields, global, onFieldAccess, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$
|
|
15404
|
+
declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, docForHooks, fields, global, onFieldAccess, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$7<T>) => Promise<void>;
|
|
14838
15405
|
|
|
14839
15406
|
declare const sortableFieldTypes: string[];
|
|
14840
15407
|
|
|
@@ -15251,9 +15818,9 @@ type Arguments = {
|
|
|
15251
15818
|
req?: PayloadRequest;
|
|
15252
15819
|
showHiddenFields?: boolean;
|
|
15253
15820
|
};
|
|
15254
|
-
declare const restoreVersionOperation: <T extends
|
|
15821
|
+
declare const restoreVersionOperation: <T extends JsonObject = any>(args: Arguments) => Promise<T>;
|
|
15255
15822
|
|
|
15256
|
-
type Args$
|
|
15823
|
+
type Args$6<TSlug extends GlobalSlug> = {
|
|
15257
15824
|
autosave?: boolean;
|
|
15258
15825
|
data: DeepPartial<Omit<DataFromGlobalSlug<TSlug>, 'id'>>;
|
|
15259
15826
|
depth?: number;
|
|
@@ -15269,7 +15836,7 @@ type Args$8<TSlug extends GlobalSlug> = {
|
|
|
15269
15836
|
slug: string;
|
|
15270
15837
|
unpublishAllLocales?: boolean;
|
|
15271
15838
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
15272
|
-
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$
|
|
15839
|
+
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$6<TSlug>) => Promise<TransformGlobalWithSelect<TSlug, TSelect>>;
|
|
15273
15840
|
|
|
15274
15841
|
/**
|
|
15275
15842
|
* Default field names and constants for hierarchy feature
|
|
@@ -15563,6 +16130,24 @@ declare function generatePayloadFileURL({ collectionSlug, config, filename, pref
|
|
|
15563
16130
|
|
|
15564
16131
|
declare const getFileByPath: (filePath: string) => Promise<PayloadRequest["file"]>;
|
|
15565
16132
|
|
|
16133
|
+
/**
|
|
16134
|
+
* Registers a transformer's image sizes on upload collections. Call it from a transformer's
|
|
16135
|
+
* `init`. It checks each collection and size name, then writes the sizes (name and admin options
|
|
16136
|
+
* only) to the collection's sanitized `upload.variants`. Only one transformer can register sizes
|
|
16137
|
+
* on a collection. It writes onto copies and never changes the given config.
|
|
16138
|
+
*
|
|
16139
|
+
* @param transformerSlug The registering transformer's `slug`, saved as the owner of the sizes and
|
|
16140
|
+
* used in error messages. It must match a transformer in `upload.transformers`. Payload writes
|
|
16141
|
+
* size entries with no stored file only when this transformer builds files at request time.
|
|
16142
|
+
*/
|
|
16143
|
+
declare function registerUploadVariants({ collections, config, transformerSlug, }: {
|
|
16144
|
+
collections: Partial<Record<string, {
|
|
16145
|
+
variants?: ImageSize[];
|
|
16146
|
+
}>>;
|
|
16147
|
+
config: Config;
|
|
16148
|
+
transformerSlug: string;
|
|
16149
|
+
}): Config;
|
|
16150
|
+
|
|
15566
16151
|
/**
|
|
15567
16152
|
* @internal this is used to mock the IP `lookup` function in integration tests
|
|
15568
16153
|
*/
|
|
@@ -15646,7 +16231,7 @@ type CreatePayloadRequestArgs = {
|
|
|
15646
16231
|
type CreatePayloadRequest = (args: CreatePayloadRequestArgs) => Promise<PayloadRequest>;
|
|
15647
16232
|
declare const createPayloadRequest: CreatePayloadRequest;
|
|
15648
16233
|
|
|
15649
|
-
type Args$
|
|
16234
|
+
type Args$5 = {
|
|
15650
16235
|
canSetHeaders?: boolean;
|
|
15651
16236
|
config: Promise<SanitizedConfig> | SanitizedConfig;
|
|
15652
16237
|
params?: {
|
|
@@ -15654,8 +16239,14 @@ type Args$7 = {
|
|
|
15654
16239
|
};
|
|
15655
16240
|
payloadInstanceCacheKey?: string;
|
|
15656
16241
|
request: Request;
|
|
16242
|
+
/**
|
|
16243
|
+
* Run the auth strategies and set `req.user`.
|
|
16244
|
+
*
|
|
16245
|
+
* @default true
|
|
16246
|
+
*/
|
|
16247
|
+
shouldAuthenticate?: boolean;
|
|
15657
16248
|
};
|
|
15658
|
-
declare const createPayloadRequestFromWebRequest: ({ canSetHeaders, config: configPromise, params, payloadInstanceCacheKey, request, }: Args$
|
|
16249
|
+
declare const createPayloadRequestFromWebRequest: ({ canSetHeaders, config: configPromise, params, payloadInstanceCacheKey, request, shouldAuthenticate, }: Args$5) => Promise<PayloadRequest>;
|
|
15659
16250
|
|
|
15660
16251
|
declare const deepCopyObject: <T>(o: T) => T;
|
|
15661
16252
|
/**
|
|
@@ -15960,7 +16551,7 @@ type GetRequestLanguageArgs = {
|
|
|
15960
16551
|
};
|
|
15961
16552
|
declare const getRequestLanguage: ({ config, cookies, headers, }: GetRequestLanguageArgs) => AcceptedLanguages;
|
|
15962
16553
|
|
|
15963
|
-
type Args$
|
|
16554
|
+
type Args$4 = {
|
|
15964
16555
|
collection: string;
|
|
15965
16556
|
/** Also treat a value taken by a draft-only version as unavailable. */
|
|
15966
16557
|
draftsEnabled?: boolean;
|
|
@@ -15983,7 +16574,7 @@ type Args$6 = {
|
|
|
15983
16574
|
* Returns the first available value for `field` in `collection` — either the bare `value` or a
|
|
15984
16575
|
* `value-N` variant. Useful when a unique field value is minted outside the operation pipeline.
|
|
15985
16576
|
*/
|
|
15986
|
-
declare const getUniqueFieldValue: ({ id, collection, draftsEnabled, field, locale, overrideAccess, req, startIndex, value, }: Args$
|
|
16577
|
+
declare const getUniqueFieldValue: ({ id, collection, draftsEnabled, field, locale, overrideAccess, req, startIndex, value, }: Args$4) => Promise<string>;
|
|
15987
16578
|
|
|
15988
16579
|
type EntityConfig = Pick<CollectionConfig | GlobalConfig, 'versions'>;
|
|
15989
16580
|
/**
|
|
@@ -16106,6 +16697,30 @@ declare function parseDocumentID(args: {
|
|
|
16106
16697
|
} & ParseDocumentIDArgs): number | string;
|
|
16107
16698
|
declare function parseDocumentID(args: ParseDocumentIDArgs): number | string | undefined;
|
|
16108
16699
|
|
|
16700
|
+
type ParsedNonFieldError = {
|
|
16701
|
+
/** Additional error metadata, including plugin-specific error codes. */
|
|
16702
|
+
[key: string]: unknown;
|
|
16703
|
+
/** Additional details returned by the API. */
|
|
16704
|
+
data?: unknown;
|
|
16705
|
+
/** Absent when a nested error does not provide a string message. */
|
|
16706
|
+
message?: string;
|
|
16707
|
+
};
|
|
16708
|
+
type ParsedErrorResponse = {
|
|
16709
|
+
/** Field errors in response order, including repeated paths in different locales. */
|
|
16710
|
+
fieldErrors: ValidationFieldError[];
|
|
16711
|
+
/** Body-level message, retained separately from errors and validation summaries. */
|
|
16712
|
+
message?: string;
|
|
16713
|
+
/** Validation summaries and errors without a usable field path and message. */
|
|
16714
|
+
nonFieldErrors: ParsedNonFieldError[];
|
|
16715
|
+
};
|
|
16716
|
+
/**
|
|
16717
|
+
* Parses a decoded Payload REST error response without reading a Response or choosing display fallbacks.
|
|
16718
|
+
* Validation summaries and callback metadata are retained alongside field errors.
|
|
16719
|
+
*/
|
|
16720
|
+
declare function parseErrorResponse({ body }: {
|
|
16721
|
+
body: unknown;
|
|
16722
|
+
}): ParsedErrorResponse;
|
|
16723
|
+
|
|
16109
16724
|
type JoinParams = {
|
|
16110
16725
|
[schemaPath: string]: {
|
|
16111
16726
|
limit?: unknown;
|
|
@@ -16171,7 +16786,7 @@ type ParsedParams = {
|
|
|
16171
16786
|
*/
|
|
16172
16787
|
declare const parseParams: (params: RawParams) => ParsedParams;
|
|
16173
16788
|
|
|
16174
|
-
interface Args$
|
|
16789
|
+
interface Args$3 {
|
|
16175
16790
|
fallbackLocale: TypedFallbackLocale;
|
|
16176
16791
|
locale: string;
|
|
16177
16792
|
localization: SanitizedLocalizationConfig;
|
|
@@ -16184,7 +16799,7 @@ interface Args$5 {
|
|
|
16184
16799
|
* - determines if a locale specific fallback should be used in place of the default locale
|
|
16185
16800
|
* - sets the fallbackLocale to 'null' if no fallback locale should be used
|
|
16186
16801
|
*/
|
|
16187
|
-
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$
|
|
16802
|
+
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$3) => TypedFallbackLocale;
|
|
16188
16803
|
|
|
16189
16804
|
/**
|
|
16190
16805
|
* Sanitizes REST populate query to PopulateType
|
|
@@ -16285,7 +16900,7 @@ declare const versionDefaults: {
|
|
|
16285
16900
|
autosaveInterval: number;
|
|
16286
16901
|
};
|
|
16287
16902
|
|
|
16288
|
-
type Args$
|
|
16903
|
+
type Args$2 = {
|
|
16289
16904
|
id?: number | string;
|
|
16290
16905
|
/**
|
|
16291
16906
|
* Delete the versions of many parent documents at once. Takes precedence over `id`.
|
|
@@ -16301,7 +16916,7 @@ type Args$4 = {
|
|
|
16301
16916
|
* @internal - this may break or be removed at any time. It is exported from the package root only
|
|
16302
16917
|
* so that Payload 2.x `payload/versions` imports keep resolving, not as an API to build on.
|
|
16303
16918
|
*/
|
|
16304
|
-
declare const deleteCollectionVersions: ({ id, slug, ids, payload, req, }: Args$
|
|
16919
|
+
declare const deleteCollectionVersions: ({ id, slug, ids, payload, req, }: Args$2) => Promise<void>;
|
|
16305
16920
|
|
|
16306
16921
|
declare const appendVersionToQueryKey: (query?: Where) => Where;
|
|
16307
16922
|
|
|
@@ -16314,7 +16929,7 @@ declare const getQueryDraftsSort: ({ collectionConfig, sort, }: {
|
|
|
16314
16929
|
sort?: Sort;
|
|
16315
16930
|
}) => Sort;
|
|
16316
16931
|
|
|
16317
|
-
type Args$
|
|
16932
|
+
type Args$1 = {
|
|
16318
16933
|
collection?: SanitizedCollectionConfig;
|
|
16319
16934
|
global?: SanitizedGlobalConfig;
|
|
16320
16935
|
id?: number | string;
|
|
@@ -16322,31 +16937,7 @@ type Args$3 = {
|
|
|
16322
16937
|
payload: Payload;
|
|
16323
16938
|
req?: PayloadRequest;
|
|
16324
16939
|
};
|
|
16325
|
-
declare const enforceMaxVersions: ({ id, collection, global: globalConfig, max, payload, req, }: Args$
|
|
16326
|
-
|
|
16327
|
-
type Args$2 = {
|
|
16328
|
-
config: SanitizedCollectionConfig;
|
|
16329
|
-
id: number | string;
|
|
16330
|
-
payload: Payload;
|
|
16331
|
-
published?: boolean;
|
|
16332
|
-
query: FindOneArgs;
|
|
16333
|
-
req?: PayloadRequest;
|
|
16334
|
-
};
|
|
16335
|
-
declare const getLatestCollectionVersion: <T extends TypeWithID = any>({ id, config, payload, published, query, req, }: Args$2) => Promise<T | undefined>;
|
|
16336
|
-
|
|
16337
|
-
type Args$1 = {
|
|
16338
|
-
config: SanitizedGlobalConfig;
|
|
16339
|
-
locale?: string;
|
|
16340
|
-
payload: Payload;
|
|
16341
|
-
published?: boolean;
|
|
16342
|
-
req?: PayloadRequest;
|
|
16343
|
-
slug: string;
|
|
16344
|
-
where: Where;
|
|
16345
|
-
};
|
|
16346
|
-
declare const getLatestGlobalVersion: ({ slug, config, locale, payload, published, req, where, }: Args$1) => Promise<{
|
|
16347
|
-
global: Document;
|
|
16348
|
-
globalExists: boolean;
|
|
16349
|
-
}>;
|
|
16940
|
+
declare const enforceMaxVersions: ({ id, collection, global: globalConfig, max, payload, req, }: Args$1) => Promise<void>;
|
|
16350
16941
|
|
|
16351
16942
|
type Args<T extends JsonObject = JsonObject> = {
|
|
16352
16943
|
autosave?: boolean;
|
|
@@ -16952,5 +17543,5 @@ interface GlobalAdminCustom extends Record<string, any> {
|
|
|
16952
17543
|
interface GlobalAdminCustom extends Record<string, any> {
|
|
16953
17544
|
}
|
|
16954
17545
|
|
|
16955
|
-
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JWT_AUTH_VERSION, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, TransformerContractError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addDefaultsToConfig, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, batchProcessing, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countDocumentsInputSchema, countDocumentsLocalInputSchema, countGlobalVersionsInputSchema, countGlobalVersionsLocalInputSchema, countOperation, countRunnableOrActiveJobsForQueue, countVersionsInputSchema, countVersionsLocalInputSchema, createAPIKeyFields, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createCreatedByField, createDatabaseAdapter, createDataloaderCacheKey, createDocumentsInputSchema, createDocumentsLocalInputSchema, createFolderField, createMigration, createOperation, createPayloadRequest, createPayloadRequestFromWebRequest, createTagField, createUnauthenticatedClientConfig, createUpdatedByField, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteDocumentsInputSchema, deleteDocumentsLocalInputSchema, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateDocumentInputSchema, duplicateDocumentLocalInputSchema, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, entityToStandaloneJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findDistinctInputSchema, findDistinctLocalInputSchema, findDocumentsInputSchema, findDocumentsLocalInputSchema, findGlobalInputSchema, findGlobalLocalInputSchema, findGlobalVersionByIDInputSchema, findGlobalVersionByIDLocalInputSchema, findGlobalVersionsInputSchema, findGlobalVersionsLocalInputSchema, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDInputSchema, findVersionByIDLocalInputSchema, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsInputSchema, findVersionsLocalInputSchema, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, generatePayloadFileURL, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCollectionInputSchema, getCollectionSchemaInputSchema, getCollectionVirtualFieldNames, getConfigInfoInputSchema, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getGlobalInputSchema, getGlobalSchemaInputSchema, getGlobalVirtualFieldNames, getHierarchyFieldName, getInitialTreeData,
|
|
16956
|
-
export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminContext, AdminDependencies, AdminFunction, AdminView, AdminViewAdapter, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewKey, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientProps, ArrayFieldDescriptionClientProps, ArrayFieldDescriptionServerProps, ArrayFieldDiffClientProps, ArrayFieldDiffServerProps, ArrayFieldErrorClientProps, ArrayFieldErrorServerProps, ArrayFieldLabelClientProps, ArrayFieldLabelServerProps, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthRuntimeFields, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, AuthenticatedUser, Authorship, BaseAccess, BaseDatabaseAdapter, BaseFilter, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BatchProcessing, BatchProcessingArgs, BatchProcessingOperation, BatchProcessingOptions, BatchProcessingResult, BatchProcessorResult, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeforeValidateOperation, BeginTransaction, Block, BlockJSX, BlockPermissions, BlockRowLabelClientProps, BlockRowLabelServerProps, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientProps, BlocksFieldDescriptionClientProps, BlocksFieldDescriptionServerProps, BlocksFieldDiffClientProps, BlocksFieldDiffServerProps, BlocksFieldErrorClientProps, BlocksFieldErrorServerProps, BlocksFieldLabelClientProps, BlocksFieldLabelServerProps, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BrowserAutoComplete, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CLICommand, CLICommandDescription, CLICommandEntry, CLICommandResult, CLICommands, CLIFieldOverride, CLIGlobalOptionDescription, CLIHelp, CLIInputSchema, CLIRuntime, CORSConfig, CanTransformArgs, CheckboxField, CheckboxFieldClient, CheckboxFieldClientProps, CheckboxFieldDescriptionClientProps, CheckboxFieldDescriptionServerProps, CheckboxFieldDiffClientProps, CheckboxFieldDiffServerProps, CheckboxFieldErrorClientProps, CheckboxFieldErrorServerProps, CheckboxFieldLabelClientProps, CheckboxFieldLabelServerProps, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientProps, CodeFieldDescriptionClientProps, CodeFieldDescriptionServerProps, CodeFieldDiffClientProps, CodeFieldDiffServerProps, CodeFieldErrorClientProps, CodeFieldErrorServerProps, CodeFieldLabelClientProps, CodeFieldLabelServerProps, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientProps, CollapsibleFieldDescriptionServerProps, CollapsibleFieldDiffClientProps, CollapsibleFieldDiffServerProps, CollapsibleFieldErrorClientProps, CollapsibleFieldErrorServerProps, CollapsibleFieldLabelClientProps, CollapsibleFieldLabelServerProps, CollapsibleFieldServerProps, Collection, CollectionAccess, CollectionAdminCustom, CollectionAdminOptions, AfterChangeHook as CollectionAfterChangeHook, AfterDeleteHook as CollectionAfterDeleteHook, AfterErrorHook as CollectionAfterErrorHook, AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, AfterLoginHook as CollectionAfterLoginHook, AfterLogoutHook as CollectionAfterLogoutHook, AfterMeHook as CollectionAfterMeHook, AfterOperationHook as CollectionAfterOperationHook, AfterReadHook as CollectionAfterReadHook, AfterRefreshHook as CollectionAfterRefreshHook, BeforeChangeHook as CollectionBeforeChangeHook, BeforeDeleteHook as CollectionBeforeDeleteHook, BeforeLoginHook as CollectionBeforeLoginHook, BeforeOperationHook as CollectionBeforeOperationHook, BeforeReadHook as CollectionBeforeReadHook, BeforeValidateHook as CollectionBeforeValidateHook, CollectionConfig, CollectionCustom, MeHook as CollectionMeHook, CollectionPermission, CollectionPreferences, RefreshHook as CollectionRefreshHook, CollectionSlug, Column, ColumnPreference, CommitTransaction, ComponentRenderer, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, CookieOptions$1 as CookieOptions, CookieStore, Copy, CopyArgs, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateMigrationResult, CreatePayloadRequestArgs, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, CurrentHierarchyItem, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientProps, DateFieldDescriptionClientProps, DateFieldDescriptionServerProps, DateFieldDiffClientProps, DateFieldDiffServerProps, DateFieldErrorClientProps, DateFieldErrorServerProps, DateFieldLabelClientProps, DateFieldLabelServerProps, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, DevReloadCleanup, DevReloadStrategy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientProps, EmailFieldDescriptionClientProps, EmailFieldDescriptionServerProps, EmailFieldDiffClientProps, EmailFieldDiffServerProps, EmailFieldErrorClientProps, EmailFieldErrorServerProps, EmailFieldLabelClientProps, EmailFieldLabelServerProps, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityInputSchema, EntityPolicies, ErrorResult, ExternalFileHeaderFilterContext, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientProps, FieldCustom, FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldErrorClientProps, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientProps, FieldLabelServerProps, FieldOperation, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerProps, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, FieldsToJSONSchemaArgs, File$1 as File, FileAllowList, FileData, FileHandlerOperation, FileSize, FileSizes, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GenerateUploadInstructions, GenerateViewMetadata, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, GlobalAccess, GlobalAdminCustom, GlobalAdminOptions, AfterChangeHook$1 as GlobalAfterChangeHook, AfterReadHook$1 as GlobalAfterReadHook, BeforeChangeHook$1 as GlobalBeforeChangeHook, BeforeOperationHook$1 as GlobalBeforeOperationHook, BeforeReadHook$1 as GlobalBeforeReadHook, BeforeValidateHook$1 as GlobalBeforeValidateHook, GlobalConfig, GlobalCustom, GlobalPermission, GlobalSlug, GlobalUploadConfig, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientProps, GroupFieldDescriptionClientProps, GroupFieldDescriptionServerProps, GroupFieldDiffClientProps, GroupFieldDiffServerProps, GroupFieldErrorClientProps, GroupFieldErrorServerProps, GroupFieldLabelClientProps, GroupFieldLabelServerProps, GroupFieldServerProps, HandleTransformRequestArgs, HandleTransformRequestResult, HasManyRelationshipOperator, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IDTypeForCollectionSlug, IfAny, ImageSize, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientProps, JSONFieldDescriptionClientProps, JSONFieldDescriptionServerProps, JSONFieldDiffClientProps, JSONFieldDiffServerProps, JSONFieldErrorClientProps, JSONFieldErrorServerProps, JSONFieldLabelClientProps, JSONFieldLabelServerProps, JSONFieldServerProps, JSONFieldValidation, JWTAuthVersion, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientProps, JoinFieldDescriptionClientProps, JoinFieldDescriptionServerProps, JoinFieldDiffClientProps, JoinFieldDiffServerProps, JoinFieldErrorClientProps, JoinFieldErrorServerProps, JoinFieldLabelClientProps, JoinFieldLabelServerProps, JoinFieldServerProps, JoinParams, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, LinkAdapterProps, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewGroup, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MarkdownRichTextAdapter, MarkdownRichTextAdapterProvider, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationResult, MigrationStatus, MigrationTemplateArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NoResultsClientProps, NoResultsServerProps, NoResultsServerPropsOnly, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientProps, NumberFieldDescriptionClientProps, NumberFieldDescriptionServerProps, NumberFieldDiffClientProps, NumberFieldDiffServerProps, NumberFieldErrorClientProps, NumberFieldErrorServerProps, NumberFieldLabelClientProps, NumberFieldLabelServerProps, NumberFieldManyValidation, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, OriginalFileData, PaginatedDistinctDocs, PaginatedDocs, Params, ParsedParams, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadRequestAPI, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, PinnedDocument, PinnedDocumentsPreferences, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientProps, PointFieldDescriptionClientProps, PointFieldDescriptionServerProps, PointFieldDiffClientProps, PointFieldDiffServerProps, PointFieldErrorClientProps, PointFieldErrorServerProps, PointFieldLabelClientProps, PointFieldLabelServerProps, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientProps, RadioFieldDescriptionClientProps, RadioFieldDescriptionServerProps, RadioFieldDiffClientProps, RadioFieldDiffServerProps, RadioFieldErrorClientProps, RadioFieldErrorServerProps, RadioFieldLabelClientProps, RadioFieldLabelServerProps, RadioFieldServerProps, RadioFieldValidation, RawParams, RawPayloadComponent, RecentlyViewedItem, RecentlyViewedPreferences, RegisteredImageSizeOptions, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientProps, RelationshipFieldDescriptionClientProps, RelationshipFieldDescriptionServerProps, RelationshipFieldDiffClientProps, RelationshipFieldDiffServerProps, RelationshipFieldErrorClientProps, RelationshipFieldErrorServerProps, RelationshipFieldLabelClientProps, RelationshipFieldLabelServerProps, RelationshipFieldManyValidation, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientProps, RichTextFieldDescriptionClientProps, RichTextFieldDescriptionServerProps, RichTextFieldDiffClientProps, RichTextFieldDiffServerProps, RichTextFieldErrorClientProps, RichTextFieldErrorServerProps, RichTextFieldLabelClientProps, RichTextFieldLabelServerProps, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, RotateSecretArgs, RotateSecretResult, RouterAdapterComponent, RouterAdapterRouter, Row, RowField, RowFieldClient, RowFieldClientProps, RowFieldDescriptionClientProps, RowFieldDescriptionServerProps, RowFieldDiffClientProps, RowFieldDiffServerProps, RowFieldErrorClientProps, RowFieldErrorServerProps, RowFieldLabelClientProps, RowFieldLabelServerProps, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, SanitizeFieldArgs, SanitizedAuthorship, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SchemaVariant, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientProps, SelectFieldDescriptionClientProps, SelectFieldDescriptionServerProps, SelectFieldDiffClientProps, SelectFieldDiffServerProps, SelectFieldErrorClientProps, SelectFieldErrorServerProps, SelectFieldLabelClientProps, SelectFieldLabelServerProps, SelectFieldManyValidation, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerAdapter, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedLocalAPIOptions, SharedProps, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClient, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, StaticDescription, StaticLabel, StorageAdapter, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientProps, TabsFieldDescriptionClientProps, TabsFieldDescriptionServerProps, TabsFieldDiffClientProps, TabsFieldDiffServerProps, TabsFieldErrorClientProps, TabsFieldErrorServerProps, TabsFieldLabelClientProps, TabsFieldLabelServerProps, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskSlug, TextField, TextFieldClient, TextFieldClientProps, TextFieldDescriptionClientProps, TextFieldDescriptionServerProps, TextFieldDiffClientProps, TextFieldDiffServerProps, TextFieldErrorClientProps, TextFieldErrorServerProps, TextFieldLabelClientProps, TextFieldLabelServerProps, TextFieldManyValidation, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientProps, TextareaFieldDescriptionClientProps, TextareaFieldDescriptionServerProps, TextareaFieldDiffClientProps, TextareaFieldDiffServerProps, TextareaFieldErrorClientProps, TextareaFieldErrorServerProps, TextareaFieldLabelClientProps, TextareaFieldLabelServerProps, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformFileArgs, TransformFileResult, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedWidget, UIField, UIFieldClient, UIFieldClientProps, UIFieldDiffClientProps, UIFieldDiffServerProps, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientProps, UploadFieldDescriptionClientProps, UploadFieldDescriptionServerProps, UploadFieldDiffClientProps, UploadFieldDiffServerProps, UploadFieldErrorClientProps, UploadFieldErrorServerProps, UploadFieldLabelClientProps, UploadFieldLabelServerProps, UploadFieldManyValidation, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, UploadFilePreviewClientProps, UploadInstructions, UploadInstructionsAccess, UploadInstructionsCapability, UploadInstructionsRequest, UploadTransformer, Upsert, UpsertArgs, User, UserMenuSettingsGroup, UserMenuSettingsItem, UserSession, UsernameFieldValidation, Validate, ValidateCollectionOptions, ValidateGlobalOptions, ValidateOptions, ValidationFieldError, ValidationResult, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowSlug, checkFileRestrictionsParams };
|
|
17546
|
+
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JWT_AUTH_VERSION, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, TransformerContractError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addDefaultsToConfig, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, batchProcessing, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countDocumentsInputSchema, countDocumentsLocalInputSchema, countGlobalVersionsInputSchema, countGlobalVersionsLocalInputSchema, countOperation, countRunnableOrActiveJobsForQueue, countVersionsInputSchema, countVersionsLocalInputSchema, createAPIKeyFields, createArrayFromCommaDelineated, createAuthToken, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createCreatedByField, createDatabaseAdapter, createDataloaderCacheKey, createDocumentsInputSchema, createDocumentsLocalInputSchema, createFolderField, createMigration, createOperation, createPayloadRequest, createPayloadRequestFromWebRequest, createTagField, createUnauthenticatedClientConfig, createUpdatedByField, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteDocumentsInputSchema, deleteDocumentsLocalInputSchema, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateDocumentInputSchema, duplicateDocumentLocalInputSchema, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, entityToStandaloneJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findDistinctInputSchema, findDistinctLocalInputSchema, findDocumentsInputSchema, findDocumentsLocalInputSchema, findGlobalInputSchema, findGlobalLocalInputSchema, findGlobalVersionByIDInputSchema, findGlobalVersionByIDLocalInputSchema, findGlobalVersionsInputSchema, findGlobalVersionsLocalInputSchema, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDInputSchema, findVersionByIDLocalInputSchema, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsInputSchema, findVersionsLocalInputSchema, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, generatePayloadFileURL, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCollectionInputSchema, getCollectionSchemaInputSchema, getCollectionVirtualFieldNames, getConfigInfoInputSchema, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getGlobalInputSchema, getGlobalSchemaInputSchema, getGlobalVirtualFieldNames, getHierarchyFieldName, getInitialTreeData, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRegisteredDevReloadStrategy, getRequestLanguage, getSlugFallbackValue, getUniqueFieldValue, handleEndpoints, hasDraftValidationEnabled, hasDraftsEnabled, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isUserMenuSettingsGroup, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, parseErrorResponse, parseParams, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, redeemRefreshToken, refreshOperation, registerBlockInterface, registerCLIExitCodeHandler, registerDevReloadStrategy, registerFirstUserOperation, registerUploadVariants, reload, renameFileOperation, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreGlobalVersionInputSchema, restoreGlobalVersionLocalInputSchema, restoreVersionInputSchema, restoreVersionLocalInputSchema, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, rotateSecret, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, sanitizeSortParams, saveVersion, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, sortableFieldTypes, strictObject, stripUnselectedFields, stripVirtualFields, toWords, transformPointDataToPayload, traverseFields, unlockOperation, updateByIDOperation, updateDocumentInputSchema, updateDocumentLocalInputSchema, updateGlobalInputSchema, updateGlobalLocalInputSchema, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateCollectionData, validateGlobalData, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeMigrationIndex };
|
|
17547
|
+
export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminContext, AdminDependencies, AdminFunction, AdminView, AdminViewAdapter, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewKey, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientProps, ArrayFieldDescriptionClientProps, ArrayFieldDescriptionServerProps, ArrayFieldDiffClientProps, ArrayFieldDiffServerProps, ArrayFieldErrorClientProps, ArrayFieldErrorServerProps, ArrayFieldLabelClientProps, ArrayFieldLabelServerProps, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthRuntimeFields, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, AuthenticatedUser, Authorship, BaseAccess, BaseDatabaseAdapter, BaseFilter, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BatchProcessing, BatchProcessingArgs, BatchProcessingOperation, BatchProcessingOptions, BatchProcessingResult, BatchProcessorResult, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeforeValidateOperation, BeginTransaction, Block, BlockJSX, BlockPermissions, BlockRowLabelClientProps, BlockRowLabelServerProps, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientProps, BlocksFieldDescriptionClientProps, BlocksFieldDescriptionServerProps, BlocksFieldDiffClientProps, BlocksFieldDiffServerProps, BlocksFieldErrorClientProps, BlocksFieldErrorServerProps, BlocksFieldLabelClientProps, BlocksFieldLabelServerProps, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BrowserAutoComplete, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CLICommand, CLICommandDescription, CLICommandEntry, CLICommandResult, CLICommands, CLIExitCodeHandler, CLIFieldOverride, CLIGlobalOptionDescription, CLIHelp, CLIInputSchema, CLIRuntime, CORSConfig, CanTransformArgs, CanTransformResult, CheckboxField, CheckboxFieldClient, CheckboxFieldClientProps, CheckboxFieldDescriptionClientProps, CheckboxFieldDescriptionServerProps, CheckboxFieldDiffClientProps, CheckboxFieldDiffServerProps, CheckboxFieldErrorClientProps, CheckboxFieldErrorServerProps, CheckboxFieldLabelClientProps, CheckboxFieldLabelServerProps, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUploadSession, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientProps, CodeFieldDescriptionClientProps, CodeFieldDescriptionServerProps, CodeFieldDiffClientProps, CodeFieldDiffServerProps, CodeFieldErrorClientProps, CodeFieldErrorServerProps, CodeFieldLabelClientProps, CodeFieldLabelServerProps, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientProps, CollapsibleFieldDescriptionServerProps, CollapsibleFieldDiffClientProps, CollapsibleFieldDiffServerProps, CollapsibleFieldErrorClientProps, CollapsibleFieldErrorServerProps, CollapsibleFieldLabelClientProps, CollapsibleFieldLabelServerProps, CollapsibleFieldServerProps, Collection, CollectionAccess, CollectionAdminCustom, CollectionAdminOptions, AfterChangeHook as CollectionAfterChangeHook, AfterDeleteHook as CollectionAfterDeleteHook, AfterErrorHook as CollectionAfterErrorHook, AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, AfterLoginHook as CollectionAfterLoginHook, AfterLogoutHook as CollectionAfterLogoutHook, AfterMeHook as CollectionAfterMeHook, AfterOperationHook as CollectionAfterOperationHook, AfterReadHook as CollectionAfterReadHook, AfterRefreshHook as CollectionAfterRefreshHook, BeforeChangeHook as CollectionBeforeChangeHook, BeforeDeleteHook as CollectionBeforeDeleteHook, BeforeLoginHook as CollectionBeforeLoginHook, BeforeOperationHook as CollectionBeforeOperationHook, BeforeReadHook as CollectionBeforeReadHook, BeforeValidateHook as CollectionBeforeValidateHook, CollectionConfig, CollectionCustom, MeHook as CollectionMeHook, CollectionPermission, CollectionPreferences, RefreshHook as CollectionRefreshHook, CollectionSlug, Column, ColumnPreference, CommitTransaction, ComponentRenderer, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, CookieOptions$1 as CookieOptions, CookieStore, Copy, CopyArgs, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateMigrationResult, CreatePayloadRequestArgs, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, Crop, CurrentHierarchyItem, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientProps, DateFieldDescriptionClientProps, DateFieldDescriptionServerProps, DateFieldDiffClientProps, DateFieldDiffServerProps, DateFieldErrorClientProps, DateFieldErrorServerProps, DateFieldLabelClientProps, DateFieldLabelServerProps, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, DevReloadCleanup, DevReloadStrategy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientProps, EmailFieldDescriptionClientProps, EmailFieldDescriptionServerProps, EmailFieldDiffClientProps, EmailFieldDiffServerProps, EmailFieldErrorClientProps, EmailFieldErrorServerProps, EmailFieldLabelClientProps, EmailFieldLabelServerProps, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityInputSchema, EntityPolicies, ErrorResult, ExternalFileHeaderFilterContext, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientProps, FieldCustom, FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldErrorClientProps, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientProps, FieldLabelServerProps, FieldOperation, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerProps, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, FieldsToJSONSchemaArgs, File$1 as File, FileAllowList, FileData, FileHandlerOperation, FileSize, FileSizes, FileSource, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GenerateUploadInstructions, GenerateViewMetadata, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, GlobalAccess, GlobalAdminCustom, GlobalAdminOptions, AfterChangeHook$1 as GlobalAfterChangeHook, AfterReadHook$1 as GlobalAfterReadHook, BeforeChangeHook$1 as GlobalBeforeChangeHook, BeforeOperationHook$1 as GlobalBeforeOperationHook, BeforeReadHook$1 as GlobalBeforeReadHook, BeforeValidateHook$1 as GlobalBeforeValidateHook, GlobalConfig, GlobalCustom, GlobalPermission, GlobalSlug, GlobalUploadConfig, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientProps, GroupFieldDescriptionClientProps, GroupFieldDescriptionServerProps, GroupFieldDiffClientProps, GroupFieldDiffServerProps, GroupFieldErrorClientProps, GroupFieldErrorServerProps, GroupFieldLabelClientProps, GroupFieldLabelServerProps, GroupFieldServerProps, HandleTransformRequestArgs, HandleTransformRequestResult, HasManyRelationshipOperator, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IDTypeForCollectionSlug, IfAny, ImageSize, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientProps, JSONFieldDescriptionClientProps, JSONFieldDescriptionServerProps, JSONFieldDiffClientProps, JSONFieldDiffServerProps, JSONFieldErrorClientProps, JSONFieldErrorServerProps, JSONFieldLabelClientProps, JSONFieldLabelServerProps, JSONFieldServerProps, JSONFieldValidation, JWTAuthVersion, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientProps, JoinFieldDescriptionClientProps, JoinFieldDescriptionServerProps, JoinFieldDiffClientProps, JoinFieldDiffServerProps, JoinFieldErrorClientProps, JoinFieldErrorServerProps, JoinFieldLabelClientProps, JoinFieldLabelServerProps, JoinFieldServerProps, JoinParams, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, LinkAdapterProps, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewGroup, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MarkdownRichTextAdapter, MarkdownRichTextAdapterProvider, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationResult, MigrationStatus, MigrationTemplateArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NoResultsClientProps, NoResultsServerProps, NoResultsServerPropsOnly, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientProps, NumberFieldDescriptionClientProps, NumberFieldDescriptionServerProps, NumberFieldDiffClientProps, NumberFieldDiffServerProps, NumberFieldErrorClientProps, NumberFieldErrorServerProps, NumberFieldLabelClientProps, NumberFieldLabelServerProps, NumberFieldManyValidation, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, OriginalFileData, PaginatedDistinctDocs, PaginatedDocs, Params, ParsedErrorResponse, ParsedNonFieldError, ParsedParams, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadRequestAPI, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, PinnedDocument, PinnedDocumentsPreferences, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientProps, PointFieldDescriptionClientProps, PointFieldDescriptionServerProps, PointFieldDiffClientProps, PointFieldDiffServerProps, PointFieldErrorClientProps, PointFieldErrorServerProps, PointFieldLabelClientProps, PointFieldLabelServerProps, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, ProviderState, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientProps, RadioFieldDescriptionClientProps, RadioFieldDescriptionServerProps, RadioFieldDiffClientProps, RadioFieldDiffServerProps, RadioFieldErrorClientProps, RadioFieldErrorServerProps, RadioFieldLabelClientProps, RadioFieldLabelServerProps, RadioFieldServerProps, RadioFieldValidation, RawParams, RawPayloadComponent, RecentlyViewedItem, RecentlyViewedPreferences, ReconciledSegments, RegisteredImageSizeOptions, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientProps, RelationshipFieldDescriptionClientProps, RelationshipFieldDescriptionServerProps, RelationshipFieldDiffClientProps, RelationshipFieldDiffServerProps, RelationshipFieldErrorClientProps, RelationshipFieldErrorServerProps, RelationshipFieldLabelClientProps, RelationshipFieldLabelServerProps, RelationshipFieldManyValidation, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ReservedObject, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientProps, RichTextFieldDescriptionClientProps, RichTextFieldDescriptionServerProps, RichTextFieldDiffClientProps, RichTextFieldDiffServerProps, RichTextFieldErrorClientProps, RichTextFieldErrorServerProps, RichTextFieldLabelClientProps, RichTextFieldLabelServerProps, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, RotateSecretArgs, RotateSecretResult, RouterAdapterComponent, RouterAdapterRouter, Row, RowField, RowFieldClient, RowFieldClientProps, RowFieldDescriptionClientProps, RowFieldDescriptionServerProps, RowFieldDiffClientProps, RowFieldDiffServerProps, RowFieldErrorClientProps, RowFieldErrorServerProps, RowFieldLabelClientProps, RowFieldLabelServerProps, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, SanitizeFieldArgs, SanitizedAuthorship, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SchemaVariant, SegmentedUploadCapability, SegmentedUploadLimits, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientProps, SelectFieldDescriptionClientProps, SelectFieldDescriptionServerProps, SelectFieldDiffClientProps, SelectFieldDiffServerProps, SelectFieldErrorClientProps, SelectFieldErrorServerProps, SelectFieldLabelClientProps, SelectFieldLabelServerProps, SelectFieldManyValidation, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerAdapter, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedLocalAPIOptions, SharedProps, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClient, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, StaticDescription, StaticLabel, StorageAdapter, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientProps, TabsFieldDescriptionClientProps, TabsFieldDescriptionServerProps, TabsFieldDiffClientProps, TabsFieldDiffServerProps, TabsFieldErrorClientProps, TabsFieldErrorServerProps, TabsFieldLabelClientProps, TabsFieldLabelServerProps, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskSlug, TextField, TextFieldClient, TextFieldClientProps, TextFieldDescriptionClientProps, TextFieldDescriptionServerProps, TextFieldDiffClientProps, TextFieldDiffServerProps, TextFieldErrorClientProps, TextFieldErrorServerProps, TextFieldLabelClientProps, TextFieldLabelServerProps, TextFieldManyValidation, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientProps, TextareaFieldDescriptionClientProps, TextareaFieldDescriptionServerProps, TextareaFieldDiffClientProps, TextareaFieldDiffServerProps, TextareaFieldErrorClientProps, TextareaFieldErrorServerProps, TextareaFieldLabelClientProps, TextareaFieldLabelServerProps, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformDefinition, TransformFileArgs, TransformFileResult, TransformGlobalWithSelect, TransformValidate, TransformValueSchema, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedWidget, UIField, UIFieldClient, UIFieldClientProps, UIFieldDiffClientProps, UIFieldDiffServerProps, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientProps, UploadFieldDescriptionClientProps, UploadFieldDescriptionServerProps, UploadFieldDiffClientProps, UploadFieldDiffServerProps, UploadFieldErrorClientProps, UploadFieldErrorServerProps, UploadFieldLabelClientProps, UploadFieldLabelServerProps, UploadFieldManyValidation, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, UploadFilePreviewClientProps, UploadInstructions, UploadInstructionsAccess, UploadInstructionsCapability, UploadInstructionsRequest, UploadSegment, UploadSegmentRequest, UploadSessionCancelReason, UploadSessionDoc, UploadSessionError, UploadSessionIntent, UploadSessionOperation, UploadSessionSaveOptions, UploadSessionStatus, UploadSessionTransferConfig, UploadSessionsConfig, UploadTransformer, Upsert, UpsertArgs, User, UserMenuSettingsGroup, UserMenuSettingsItem, UserSession, UsernameFieldValidation, Validate, ValidateCollectionOptions, ValidateGlobalOptions, ValidateOptions, ValidationFieldError, ValidationResult, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowSlug, checkFileRestrictionsParams };
|