payload 4.0.0-beta.1 → 4.0.0-beta.11
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/sanitizeJoinQuery.d.ts +2 -2
- package/dist/database/sanitizeJoinQuery.d.ts.map +1 -1
- package/dist/database/sanitizeJoinQuery.js +26 -1
- package/dist/database/sanitizeJoinQuery.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/mergeBaseFields.d.ts.map +1 -1
- package/dist/fields/mergeBaseFields.js +24 -0
- package/dist/fields/mergeBaseFields.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/hierarchy/utils/findUseAsTitle.js +11 -11
- package/dist/hierarchy/utils/findUseAsTitle.js.map +1 -1
- package/dist/index.bundled.d.ts +726 -84
- 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 +65 -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 +57 -3
- 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 +123 -0
- package/dist/uploads/transformState/planUpload.d.ts.map +1 -0
- package/dist/uploads/transformState/planUpload.js +271 -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/deepMerge.d.ts +55 -3
- package/dist/utilities/deepMerge.d.ts.map +1 -1
- package/dist/utilities/deepMerge.js +104 -9
- package/dist/utilities/deepMerge.js.map +1 -1
- 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 -29
- 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,11 @@ 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
|
|
20
|
-
export { default as deepMerge } from 'deepmerge';
|
|
19
|
+
import { core } from 'zod';
|
|
21
20
|
import { PinoPretty } from 'pino-pretty';
|
|
22
21
|
import { DatePickerProps } from 'react-datepicker';
|
|
23
22
|
|
|
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")[];
|
|
23
|
+
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
24
|
|
|
26
25
|
declare const enTranslations: {
|
|
27
26
|
authentication: {
|
|
@@ -292,6 +291,7 @@ declare const enTranslations: {
|
|
|
292
291
|
and: string;
|
|
293
292
|
anotherUser: string;
|
|
294
293
|
anotherUserTakenOver: string;
|
|
294
|
+
apiResponse: string;
|
|
295
295
|
applyChanges: string;
|
|
296
296
|
ascending: string;
|
|
297
297
|
auto: string;
|
|
@@ -358,6 +358,12 @@ declare const enTranslations: {
|
|
|
358
358
|
documentModified: string;
|
|
359
359
|
documentOutOfDate: string;
|
|
360
360
|
documents: string;
|
|
361
|
+
dragCancelled: string;
|
|
362
|
+
dragDropped: string;
|
|
363
|
+
dragInstructions: string;
|
|
364
|
+
dragMoved: string;
|
|
365
|
+
dragPickedUp: string;
|
|
366
|
+
dragToMove: string;
|
|
361
367
|
dragToReorder: string;
|
|
362
368
|
duplicate: string;
|
|
363
369
|
duplicateWithoutSaving: string;
|
|
@@ -469,6 +475,7 @@ declare const enTranslations: {
|
|
|
469
475
|
reindexingAll: string;
|
|
470
476
|
reloadDocument: string;
|
|
471
477
|
remove: string;
|
|
478
|
+
removeFilter: string;
|
|
472
479
|
rename: string;
|
|
473
480
|
replaceRow: string;
|
|
474
481
|
requiredFields: string;
|
|
@@ -558,6 +565,7 @@ declare const enTranslations: {
|
|
|
558
565
|
yes: string;
|
|
559
566
|
};
|
|
560
567
|
hierarchy: {
|
|
568
|
+
folderLocation: string;
|
|
561
569
|
goTo: string;
|
|
562
570
|
itemsMovedTo: string;
|
|
563
571
|
itemsMovedToRoot: string;
|
|
@@ -614,6 +622,7 @@ declare const enTranslations: {
|
|
|
614
622
|
addFile: string;
|
|
615
623
|
addFiles: string;
|
|
616
624
|
bulkUpload: string;
|
|
625
|
+
cancelUpload: string;
|
|
617
626
|
copyLinkToFile: string;
|
|
618
627
|
copyURL: string;
|
|
619
628
|
crop: string;
|
|
@@ -634,6 +643,7 @@ declare const enTranslations: {
|
|
|
634
643
|
fileSize: string;
|
|
635
644
|
filesToUpload: string;
|
|
636
645
|
fileToUpload: string;
|
|
646
|
+
finishSaving: string;
|
|
637
647
|
focalPoint: string;
|
|
638
648
|
focalPointDescription: string;
|
|
639
649
|
fromURL: string;
|
|
@@ -647,12 +657,23 @@ declare const enTranslations: {
|
|
|
647
657
|
previewSizes: string;
|
|
648
658
|
renameFile: string;
|
|
649
659
|
replaceFile: string;
|
|
660
|
+
resumingFile: string;
|
|
661
|
+
savingInBackground: string;
|
|
650
662
|
selectCollectionToBrowse: string;
|
|
651
663
|
selectFile: string;
|
|
652
664
|
setCropArea: string;
|
|
653
665
|
setFocalPoint: string;
|
|
654
666
|
sizes: string;
|
|
655
667
|
sizesFor: string;
|
|
668
|
+
uploadFileMismatch: string;
|
|
669
|
+
uploadingFile: string;
|
|
670
|
+
uploadingFileProgress: string;
|
|
671
|
+
uploadInProgressLeaveWarning: string;
|
|
672
|
+
uploadInterrupted: string;
|
|
673
|
+
uploadInterruptedWillSave: string;
|
|
674
|
+
uploadReadyToFinishSaving: string;
|
|
675
|
+
uploadSavedInBackground: string;
|
|
676
|
+
uploadStorageRejectedSegments: string;
|
|
656
677
|
width: string;
|
|
657
678
|
};
|
|
658
679
|
validation: {
|
|
@@ -685,6 +706,8 @@ declare const enTranslations: {
|
|
|
685
706
|
type: string;
|
|
686
707
|
aboutToPublishSelection: string;
|
|
687
708
|
aboutToRestore: string;
|
|
709
|
+
aboutToRestoreAsDraft: string;
|
|
710
|
+
aboutToRestoreAsDraftAllLocales: string;
|
|
688
711
|
aboutToRestoreGlobal: string;
|
|
689
712
|
aboutToRevertToPublished: string;
|
|
690
713
|
aboutToUnpublish: string;
|
|
@@ -1105,6 +1128,22 @@ type UserSession = {
|
|
|
1105
1128
|
createdAt?: Date | null | string;
|
|
1106
1129
|
expiresAt: Date | string;
|
|
1107
1130
|
id: string;
|
|
1131
|
+
/** What the session is, for people to read, e.g. "Claude Code" or "Chrome on macOS". */
|
|
1132
|
+
label?: null | string;
|
|
1133
|
+
/** More to show next to the label, e.g. `{ redirectHost: 'claude.ai' }`. Never anything secret. */
|
|
1134
|
+
metadata?: null | Record<string, unknown>;
|
|
1135
|
+
/**
|
|
1136
|
+
* How many times the session was refreshed with a refresh token. Refresh tokens remember it, so
|
|
1137
|
+
* the latest one can be told apart from older ones.
|
|
1138
|
+
*/
|
|
1139
|
+
refreshCount?: null | number;
|
|
1140
|
+
/** When the session was last refreshed with a refresh token. */
|
|
1141
|
+
refreshedAt?: Date | null | string;
|
|
1142
|
+
/**
|
|
1143
|
+
* How the session was created: `'login'` for a sign-in, or e.g. `'mcp'` for an MCP client the
|
|
1144
|
+
* user allowed. Plugins can use their own values.
|
|
1145
|
+
*/
|
|
1146
|
+
type?: null | string;
|
|
1108
1147
|
};
|
|
1109
1148
|
type GenerateVerifyEmailHTML<TUser = any> = (args: {
|
|
1110
1149
|
req: PayloadRequest;
|
|
@@ -1226,6 +1265,29 @@ interface IncomingAuthType {
|
|
|
1226
1265
|
* 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
1266
|
*/
|
|
1228
1267
|
maxLoginAttempts?: number;
|
|
1268
|
+
/**
|
|
1269
|
+
* Lets clients stay logged in after their token expires. Logins also return a refresh token,
|
|
1270
|
+
* which the refresh operation trades for a new token and a new refresh token. Each refresh token
|
|
1271
|
+
* is meant to be used once. The one from right before still works for 30 seconds after a refresh,
|
|
1272
|
+
* for clients that refresh twice at once. When a used one comes back otherwise, its session is
|
|
1273
|
+
* logged out. Requires `useSessions`.
|
|
1274
|
+
*
|
|
1275
|
+
* Refresh tokens don't expire on their own. They work as long as their login session, which lasts
|
|
1276
|
+
* `expiration` from the last refresh instead of `tokenExpiration`.
|
|
1277
|
+
*
|
|
1278
|
+
* @default false
|
|
1279
|
+
* @link https://payloadcms.com/docs/authentication/overview#refresh-tokens
|
|
1280
|
+
*/
|
|
1281
|
+
refreshTokens?: {
|
|
1282
|
+
/**
|
|
1283
|
+
* How many seconds a login session with a refresh token lasts without a refresh, which is
|
|
1284
|
+
* how long its refresh token can be used. Every refresh starts this time again. The token
|
|
1285
|
+
* itself still expires after `tokenExpiration`.
|
|
1286
|
+
*
|
|
1287
|
+
* @default 2592000 (30 days)
|
|
1288
|
+
*/
|
|
1289
|
+
expiration?: number;
|
|
1290
|
+
} | boolean;
|
|
1229
1291
|
/***
|
|
1230
1292
|
* Set to true if you want to remove the token from the returned authentication API responses such as login or refresh.
|
|
1231
1293
|
*/
|
|
@@ -1271,9 +1333,12 @@ type VerifyConfig = {
|
|
|
1271
1333
|
generateEmailHTML?: GenerateVerifyEmailHTML;
|
|
1272
1334
|
generateEmailSubject?: GenerateVerifyEmailSubject;
|
|
1273
1335
|
};
|
|
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'>> {
|
|
1336
|
+
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
1337
|
cookies: Pick<AuthCookies, 'domain'> & Required<Pick<AuthCookies, 'sameSite' | 'secure'>>;
|
|
1276
1338
|
loginWithUsername: false | Required<LoginWithUsernameOptions>;
|
|
1339
|
+
refreshTokens: {
|
|
1340
|
+
expiration: number;
|
|
1341
|
+
} | false;
|
|
1277
1342
|
}
|
|
1278
1343
|
declare function hasWhereAccessResult(result: boolean | Where): result is Where;
|
|
1279
1344
|
|
|
@@ -1651,6 +1716,8 @@ interface BaseDatabaseAdapter {
|
|
|
1651
1716
|
destroy?: Destroy;
|
|
1652
1717
|
find: Find;
|
|
1653
1718
|
findDistinct: FindDistinct;
|
|
1719
|
+
/** Read document locks using the adapter's transaction visibility rules. */
|
|
1720
|
+
findDocumentLocks?: Find;
|
|
1654
1721
|
findGlobal: FindGlobal;
|
|
1655
1722
|
findGlobalVersions: FindGlobalVersions;
|
|
1656
1723
|
findOne: FindOne;
|
|
@@ -2285,6 +2352,10 @@ type MigrationTemplateArgs = {
|
|
|
2285
2352
|
type GenerateSchemaArgs = {
|
|
2286
2353
|
log?: boolean;
|
|
2287
2354
|
outputFile?: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* Format the generated schema with the project's oxfmt, falling back to Prettier.
|
|
2357
|
+
* @default true
|
|
2358
|
+
*/
|
|
2288
2359
|
prettify?: boolean;
|
|
2289
2360
|
};
|
|
2290
2361
|
type GenerateSchema = (args?: GenerateSchemaArgs) => Promise<{
|
|
@@ -2465,7 +2536,8 @@ type GlobalAdminOptions = {
|
|
|
2465
2536
|
* Specify a navigational group for globals in the admin sidebar.
|
|
2466
2537
|
* - Provide a string to place the entity in a custom group.
|
|
2467
2538
|
* - Provide a record to define localized group names.
|
|
2468
|
-
* - Set to `false` to exclude the
|
|
2539
|
+
* - Set to `false` to exclude the global from the sidebar, command palette, and dashboard collection cards.
|
|
2540
|
+
* This does not disable routes or change access control.
|
|
2469
2541
|
*/
|
|
2470
2542
|
group?: false | Record<string, string> | string;
|
|
2471
2543
|
/**
|
|
@@ -3566,9 +3638,16 @@ type JSONField = {
|
|
|
3566
3638
|
editorOptions?: EditorProps['options'];
|
|
3567
3639
|
maxHeight?: number;
|
|
3568
3640
|
} & FieldAdmin;
|
|
3641
|
+
/** Customize the generated TypeScript type name for `jsonSchema`.
|
|
3642
|
+
*
|
|
3643
|
+
* This is useful if you would like to generate a top level type to share amongst collections/fields.
|
|
3644
|
+
* **Note**: Top level types can collide, ensure they are unique amongst collections, arrays, groups, blocks, tabs.
|
|
3645
|
+
*/
|
|
3646
|
+
interfaceName?: string;
|
|
3569
3647
|
jsonSchema?: {
|
|
3570
3648
|
fileMatch: string[];
|
|
3571
|
-
schema
|
|
3649
|
+
/** Inline schema. When omitted, the schema is fetched from `uri`. */
|
|
3650
|
+
schema?: JSONSchema4;
|
|
3572
3651
|
uri: string;
|
|
3573
3652
|
};
|
|
3574
3653
|
type: 'json';
|
|
@@ -4592,6 +4671,213 @@ type StagedObject = {
|
|
|
4592
4671
|
remove: () => Promise<void>;
|
|
4593
4672
|
};
|
|
4594
4673
|
|
|
4674
|
+
type StoredFileRole = {
|
|
4675
|
+
sizeKey: string;
|
|
4676
|
+
type: 'size';
|
|
4677
|
+
} | {
|
|
4678
|
+
type: 'default' | 'original';
|
|
4679
|
+
};
|
|
4680
|
+
|
|
4681
|
+
type UploadSessionStatus = 'active' | 'cancelled' | 'completed' | 'failed' | 'pending';
|
|
4682
|
+
type UploadSessionOperation = 'create' | 'update';
|
|
4683
|
+
type UploadSessionCancelReason = 'expired' | 'user';
|
|
4684
|
+
/** Provider limits a segmented upload must respect. Provider limits always win over preferences. */
|
|
4685
|
+
type SegmentedUploadLimits = {
|
|
4686
|
+
/** Ordered protocols (e.g. GCS resumable) only accept the next byte range, so concurrency is 1. */
|
|
4687
|
+
isOrdered?: boolean;
|
|
4688
|
+
maximumConcurrency: number;
|
|
4689
|
+
maximumObjectSize: number;
|
|
4690
|
+
maximumSegmentCount: number;
|
|
4691
|
+
maximumSegmentSize: number;
|
|
4692
|
+
minimumSegmentSize: number;
|
|
4693
|
+
recommendedSegmentSize?: number;
|
|
4694
|
+
/** Segments must be sized in multiples of this many bytes (the final segment is exempt). */
|
|
4695
|
+
segmentSizeGranularity: number;
|
|
4696
|
+
};
|
|
4697
|
+
type UploadSegment = {
|
|
4698
|
+
/** Exclusive end byte offset. */
|
|
4699
|
+
end: number;
|
|
4700
|
+
/** 1-based, matching S3 part numbers. */
|
|
4701
|
+
number: number;
|
|
4702
|
+
start: number;
|
|
4703
|
+
};
|
|
4704
|
+
type UploadSegmentRequest = {
|
|
4705
|
+
headers?: Record<string, string>;
|
|
4706
|
+
method: 'POST' | 'PUT';
|
|
4707
|
+
number: number;
|
|
4708
|
+
url: string;
|
|
4709
|
+
};
|
|
4710
|
+
/** Which bytes the provider has confirmed, keyed by segment number. Always authoritative. */
|
|
4711
|
+
type ReconciledSegments = {
|
|
4712
|
+
number: number;
|
|
4713
|
+
size: number;
|
|
4714
|
+
}[];
|
|
4715
|
+
type ReservedObject = {
|
|
4716
|
+
_objectKey: string;
|
|
4717
|
+
filename: string;
|
|
4718
|
+
prefix: string;
|
|
4719
|
+
storageFilePath: string;
|
|
4720
|
+
};
|
|
4721
|
+
/**
|
|
4722
|
+
* Adapter-owned, server-only state such as a multipart upload ID or resumable session URL.
|
|
4723
|
+
* Never returned to the browser and never logged.
|
|
4724
|
+
*/
|
|
4725
|
+
type ProviderState = Record<string, unknown>;
|
|
4726
|
+
/**
|
|
4727
|
+
* Optional storage-adapter capability for native multipart or resumable uploads. Every method
|
|
4728
|
+
* runs on the server after core has authenticated the request and verified session ownership
|
|
4729
|
+
* and collection access.
|
|
4730
|
+
*/
|
|
4731
|
+
type SegmentedUploadCapability = {
|
|
4732
|
+
abort: (args: {
|
|
4733
|
+
object: ReservedObject;
|
|
4734
|
+
providerState: ProviderState;
|
|
4735
|
+
req: PayloadRequest;
|
|
4736
|
+
}) => Promise<void>;
|
|
4737
|
+
/**
|
|
4738
|
+
* Throws when the adapter refuses client uploads for this request, e.g. its `clientUploads.access`
|
|
4739
|
+
* rule. Runs before a session is persisted and again before every later session action.
|
|
4740
|
+
*/
|
|
4741
|
+
authorize?: (args: {
|
|
4742
|
+
collectionSlug: string;
|
|
4743
|
+
req: PayloadRequest;
|
|
4744
|
+
}) => Promise<void> | void;
|
|
4745
|
+
/** Commits the provider upload and returns the committed object size for verification. */
|
|
4746
|
+
complete: (args: {
|
|
4747
|
+
object: ReservedObject;
|
|
4748
|
+
providerState: ProviderState;
|
|
4749
|
+
req: PayloadRequest;
|
|
4750
|
+
segments: ReconciledSegments;
|
|
4751
|
+
}) => Promise<{
|
|
4752
|
+
size: number;
|
|
4753
|
+
}>;
|
|
4754
|
+
getSegmentRequests: (args: {
|
|
4755
|
+
collectionSlug: string;
|
|
4756
|
+
expiresIn: number;
|
|
4757
|
+
mimeType: string;
|
|
4758
|
+
object: ReservedObject;
|
|
4759
|
+
providerState: ProviderState;
|
|
4760
|
+
req: PayloadRequest;
|
|
4761
|
+
segments: UploadSegment[];
|
|
4762
|
+
}) => Promise<UploadSegmentRequest[]>;
|
|
4763
|
+
/**
|
|
4764
|
+
* Starts the provider upload. Throw an `APIError` with a 4xx status for failures a retry cannot
|
|
4765
|
+
* fix; core marks the session `failed` so it stops counting against the user's quota.
|
|
4766
|
+
*/
|
|
4767
|
+
initiate: (args: {
|
|
4768
|
+
collectionSlug: string;
|
|
4769
|
+
docPrefix?: string;
|
|
4770
|
+
filename: string;
|
|
4771
|
+
mimeType: string;
|
|
4772
|
+
req: PayloadRequest;
|
|
4773
|
+
}) => Promise<{
|
|
4774
|
+
object: ReservedObject;
|
|
4775
|
+
providerState: ProviderState;
|
|
4776
|
+
}>;
|
|
4777
|
+
limits: SegmentedUploadLimits;
|
|
4778
|
+
reconcile: (args: {
|
|
4779
|
+
object: ReservedObject;
|
|
4780
|
+
providerState: ProviderState;
|
|
4781
|
+
req: PayloadRequest;
|
|
4782
|
+
}) => Promise<ReconciledSegments>;
|
|
4783
|
+
};
|
|
4784
|
+
type UploadSessionTransferConfig = {
|
|
4785
|
+
concurrency?: number;
|
|
4786
|
+
multipartThreshold?: number;
|
|
4787
|
+
preferredSegmentSize?: number;
|
|
4788
|
+
retries?: number;
|
|
4789
|
+
};
|
|
4790
|
+
type UploadSessionsConfig = {
|
|
4791
|
+
/** @default 7 days */
|
|
4792
|
+
expiresIn?: number;
|
|
4793
|
+
/** Non-terminal sessions allowed per authenticated user. @default 10 */
|
|
4794
|
+
maxActive?: number;
|
|
4795
|
+
};
|
|
4796
|
+
type UploadSessionError = {
|
|
4797
|
+
attempts: number;
|
|
4798
|
+
code: string;
|
|
4799
|
+
message: string;
|
|
4800
|
+
occurredAt: string;
|
|
4801
|
+
retryable: boolean;
|
|
4802
|
+
source: 'adapter' | 'client' | 'payload' | 'provider';
|
|
4803
|
+
};
|
|
4804
|
+
/** The shape stored in the internal upload-sessions collection. */
|
|
4805
|
+
type UploadSessionDoc = {
|
|
4806
|
+
cancelledAt?: null | string;
|
|
4807
|
+
cancelReason?: null | UploadSessionCancelReason;
|
|
4808
|
+
cleanupCompletedAt?: null | string;
|
|
4809
|
+
collectionSlug: string;
|
|
4810
|
+
completedAt?: null | string;
|
|
4811
|
+
createdAt: string;
|
|
4812
|
+
documentID?: null | string;
|
|
4813
|
+
error?: null | UploadSessionError;
|
|
4814
|
+
expiresAt: string;
|
|
4815
|
+
file: {
|
|
4816
|
+
filename: string;
|
|
4817
|
+
lastModified?: number;
|
|
4818
|
+
mimeType: string;
|
|
4819
|
+
size: number;
|
|
4820
|
+
};
|
|
4821
|
+
/**
|
|
4822
|
+
* When the last file reference handed out for a normal save expires. Until then a form may
|
|
4823
|
+
* still save the stored object, so cancellation and expiry keep it.
|
|
4824
|
+
*/
|
|
4825
|
+
fileReferencesValidUntil?: null | string;
|
|
4826
|
+
/** Exclusive finalization claim; an expired claim may be taken over. */
|
|
4827
|
+
finalizingUntil?: null | string;
|
|
4828
|
+
id: number | string;
|
|
4829
|
+
/** Document data the user already submitted, kept so a save survives navigation or a reload. */
|
|
4830
|
+
intent?: null | UploadSessionIntent;
|
|
4831
|
+
lastActivityAt: string;
|
|
4832
|
+
operation: UploadSessionOperation;
|
|
4833
|
+
ownerCollection: string;
|
|
4834
|
+
ownerID: string;
|
|
4835
|
+
/** Unique; see `getReservationKey`. */
|
|
4836
|
+
reservationKey: string;
|
|
4837
|
+
/** The filename this session's object key uses, held until the session ends. */
|
|
4838
|
+
reservedFilename?: null | string;
|
|
4839
|
+
status: UploadSessionStatus;
|
|
4840
|
+
storage: {
|
|
4841
|
+
/** Only needed until the provider upload is initiated. */
|
|
4842
|
+
docPrefix?: string;
|
|
4843
|
+
object: null | ReservedObject;
|
|
4844
|
+
providerState: null | ProviderState;
|
|
4845
|
+
};
|
|
4846
|
+
storageCompletedAt?: null | string;
|
|
4847
|
+
targetID?: null | string;
|
|
4848
|
+
transfer: {
|
|
4849
|
+
concurrency: number;
|
|
4850
|
+
segments: UploadSegment[];
|
|
4851
|
+
strategy: 'segmented';
|
|
4852
|
+
};
|
|
4853
|
+
updatedAt: string;
|
|
4854
|
+
};
|
|
4855
|
+
/**
|
|
4856
|
+
* Request options of the original save that are not part of the document data. A normal save
|
|
4857
|
+
* sends them in the query string; a save finished from the session applies them the same way.
|
|
4858
|
+
*/
|
|
4859
|
+
type UploadSessionSaveOptions = {
|
|
4860
|
+
fallbackLocale?: string;
|
|
4861
|
+
locale?: string;
|
|
4862
|
+
publishAllLocales?: boolean;
|
|
4863
|
+
/** Crop, focal point and resize edits made in the Admin before saving. */
|
|
4864
|
+
uploadEdits?: UploadEdits;
|
|
4865
|
+
};
|
|
4866
|
+
type UploadSessionIntent = {
|
|
4867
|
+
data: Record<string, unknown>;
|
|
4868
|
+
draft?: boolean;
|
|
4869
|
+
options?: UploadSessionSaveOptions;
|
|
4870
|
+
submittedAt: string;
|
|
4871
|
+
};
|
|
4872
|
+
/** The browser-safe projection. Storage state and provider credentials are never included. */
|
|
4873
|
+
type ClientUploadSession = {
|
|
4874
|
+
completedSegments: number[];
|
|
4875
|
+
file: UploadSessionDoc['file'];
|
|
4876
|
+
/** Whether submitted document data is waiting for the upload to finish. */
|
|
4877
|
+
hasIntent: boolean;
|
|
4878
|
+
isStorageComplete: boolean;
|
|
4879
|
+
} & Pick<UploadSessionDoc, 'cancelReason' | 'collectionSlug' | 'documentID' | 'error' | 'expiresAt' | 'id' | 'lastActivityAt' | 'operation' | 'status' | 'targetID' | 'transfer'>;
|
|
4880
|
+
|
|
4595
4881
|
type OriginalFileData = {
|
|
4596
4882
|
_objectKey?: string;
|
|
4597
4883
|
filename: string;
|
|
@@ -4604,6 +4890,8 @@ type OriginalFileData = {
|
|
|
4604
4890
|
};
|
|
4605
4891
|
type FileSize = {
|
|
4606
4892
|
_objectKey?: string;
|
|
4893
|
+
/** `false` when the size has no stored file, because it is built when it is requested. */
|
|
4894
|
+
_stored?: false | null;
|
|
4607
4895
|
filename: null | string;
|
|
4608
4896
|
filesize: null | number;
|
|
4609
4897
|
height: null | number;
|
|
@@ -4617,6 +4905,8 @@ type FileSizes = {
|
|
|
4617
4905
|
};
|
|
4618
4906
|
type FileData = {
|
|
4619
4907
|
_objectKey?: string;
|
|
4908
|
+
/** `false` when no default file is stored, because it is built when it is requested. */
|
|
4909
|
+
_stored?: false | null;
|
|
4620
4910
|
filename: string;
|
|
4621
4911
|
filesize: number;
|
|
4622
4912
|
focalX?: number;
|
|
@@ -4868,6 +5158,11 @@ type UploadConfig = {
|
|
|
4868
5158
|
params: {
|
|
4869
5159
|
collection: string;
|
|
4870
5160
|
filename: string;
|
|
5161
|
+
/**
|
|
5162
|
+
* True when the request asks for the original with `?original=true`. The original and
|
|
5163
|
+
* the main file can share a filename, so the filename alone does not say which to serve.
|
|
5164
|
+
*/
|
|
5165
|
+
isOriginal?: boolean;
|
|
4871
5166
|
/** @default 'read' */
|
|
4872
5167
|
operation?: FileHandlerOperation;
|
|
4873
5168
|
prefix?: string;
|
|
@@ -4924,6 +5219,11 @@ type UploadConfig = {
|
|
|
4924
5219
|
* @default undefined
|
|
4925
5220
|
*/
|
|
4926
5221
|
staticDir?: string;
|
|
5222
|
+
/**
|
|
5223
|
+
* Per-collection transfer preferences for segmented browser uploads.
|
|
5224
|
+
* @experimental
|
|
5225
|
+
*/
|
|
5226
|
+
transfer?: UploadSessionTransferConfig;
|
|
4927
5227
|
/**
|
|
4928
5228
|
* Adapter-provided upload instructions.
|
|
4929
5229
|
* @internal
|
|
@@ -4967,8 +5267,17 @@ type GenerateUploadInstructions = (args: {
|
|
|
4967
5267
|
type UploadInstructionsCapability = {
|
|
4968
5268
|
/** Generates upload instructions. The generator or supporting endpoint must check access. */
|
|
4969
5269
|
generate: GenerateUploadInstructions;
|
|
4970
|
-
/**
|
|
5270
|
+
/**
|
|
5271
|
+
* Require a receipt signed by `resolveSignedURLKey` before invoking upload handlers. Client
|
|
5272
|
+
* uploads keep an `original` and file history only when a receipt is verified.
|
|
5273
|
+
* @see https://payloadcms.com/docs/upload/storage-adapters#custom-upload-receipts
|
|
5274
|
+
*/
|
|
4971
5275
|
requiresUploadReceipt?: boolean;
|
|
5276
|
+
/**
|
|
5277
|
+
* Native multipart or resumable transfer used by durable upload sessions.
|
|
5278
|
+
* @experimental
|
|
5279
|
+
*/
|
|
5280
|
+
segmented?: SegmentedUploadCapability;
|
|
4972
5281
|
/**
|
|
4973
5282
|
* Whether the Admin panel should use these instructions before saving a document.
|
|
4974
5283
|
* This can still be useful when upload chunks pass through Payload.
|
|
@@ -4990,6 +5299,8 @@ type SanitizedUploadConfig = {
|
|
|
4990
5299
|
* only — not authored on the collection.
|
|
4991
5300
|
*/
|
|
4992
5301
|
variants?: ImageSize[];
|
|
5302
|
+
/** The `slug` of the transformer that registered `variants` with `registerUploadVariants`. */
|
|
5303
|
+
variantsTransformerSlug?: string;
|
|
4993
5304
|
} & UploadConfig;
|
|
4994
5305
|
type File$1 = {
|
|
4995
5306
|
/**
|
|
@@ -5014,6 +5325,12 @@ type File$1 = {
|
|
|
5014
5325
|
tempFilePath?: string;
|
|
5015
5326
|
};
|
|
5016
5327
|
type FileToSave = {
|
|
5328
|
+
/**
|
|
5329
|
+
* Which document field describes this file. Storage uses it to find the file's location,
|
|
5330
|
+
* because the main file and the original can share a filename.
|
|
5331
|
+
*/
|
|
5332
|
+
role?: StoredFileRole;
|
|
5333
|
+
} & ({
|
|
5017
5334
|
/**
|
|
5018
5335
|
* The buffer of the file.
|
|
5019
5336
|
*/
|
|
@@ -5032,7 +5349,7 @@ type FileToSave = {
|
|
|
5032
5349
|
* that's already on disk (e.g. a temp file) fully into memory just to write it back out.
|
|
5033
5350
|
*/
|
|
5034
5351
|
sourcePath: string;
|
|
5035
|
-
};
|
|
5352
|
+
});
|
|
5036
5353
|
type Crop = {
|
|
5037
5354
|
height: number;
|
|
5038
5355
|
unit: '%' | 'px';
|
|
@@ -5055,7 +5372,10 @@ type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'acc
|
|
|
5055
5372
|
type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
|
|
5056
5373
|
type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'admin' | 'adminThumbnail' | 'externalFileHeaderFilter' | 'fileOperations' | 'handlers' | 'modifyResponseHeaders' | 'uploadInstructions'>;
|
|
5057
5374
|
type ClientUploadConfig = {
|
|
5058
|
-
uploadInstructions:
|
|
5375
|
+
uploadInstructions: {
|
|
5376
|
+
/** Whether the adapter supports resumable, segmented upload sessions. @experimental */
|
|
5377
|
+
supportsSegmentedUploads: boolean;
|
|
5378
|
+
} & Pick<UploadInstructionsCapability, 'useInAdmin'>;
|
|
5059
5379
|
} & Omit<SanitizedUploadConfig, 'fileOperations' | 'uploadInstructions'>;
|
|
5060
5380
|
type ClientCollectionConfig = {
|
|
5061
5381
|
admin: {
|
|
@@ -5138,6 +5458,7 @@ type UnauthenticatedClientConfig = {
|
|
|
5138
5458
|
slug: string;
|
|
5139
5459
|
}
|
|
5140
5460
|
];
|
|
5461
|
+
cookiePrefix: ClientConfig['cookiePrefix'];
|
|
5141
5462
|
globals: [];
|
|
5142
5463
|
routes: ClientConfig['routes'];
|
|
5143
5464
|
serverURL: ClientConfig['serverURL'];
|
|
@@ -6189,18 +6510,91 @@ type ScheduleConfig = {
|
|
|
6189
6510
|
queue: string;
|
|
6190
6511
|
};
|
|
6191
6512
|
|
|
6513
|
+
/**
|
|
6514
|
+
* A lazy, storage-neutral, read-only view of a file. No bytes are read until a method is
|
|
6515
|
+
* called, and each call reads the file again. A byte range is up to `numberOfBytes` bytes
|
|
6516
|
+
* starting at `startByte`. A range that runs past `sizeInBytes` stops at the end of the file.
|
|
6517
|
+
*/
|
|
6518
|
+
type FileSource = {
|
|
6519
|
+
filename: string;
|
|
6520
|
+
mimeType: string;
|
|
6521
|
+
/**
|
|
6522
|
+
* Loads one small byte range into memory. There is no limit on how many bytes one read loads
|
|
6523
|
+
* yet; a limit belongs to the Metadata API. `signal` is checked only before and after the read.
|
|
6524
|
+
*/
|
|
6525
|
+
readFileBytes: (args: {
|
|
6526
|
+
numberOfBytes: number;
|
|
6527
|
+
signal?: AbortSignal;
|
|
6528
|
+
startByte: number;
|
|
6529
|
+
}) => Promise<Uint8Array>;
|
|
6530
|
+
sizeInBytes: number;
|
|
6531
|
+
/**
|
|
6532
|
+
* Streams the byte range, or the whole file when called with no range. A transformer that
|
|
6533
|
+
* needs the whole file in memory must enforce its own byte limit while it reads the stream.
|
|
6534
|
+
*/
|
|
6535
|
+
streamFile: (args?: {
|
|
6536
|
+
numberOfBytes?: number;
|
|
6537
|
+
signal?: AbortSignal;
|
|
6538
|
+
startByte?: number;
|
|
6539
|
+
}) => Promise<ReadableStream<Uint8Array>>;
|
|
6540
|
+
};
|
|
6192
6541
|
type CanTransformArgs = {
|
|
6193
6542
|
collectionSlug: string;
|
|
6543
|
+
/** The current document. Read-only: routing must not change it. */
|
|
6544
|
+
doc: Readonly<Document>;
|
|
6194
6545
|
documentID?: number | string;
|
|
6195
6546
|
mimeType: string;
|
|
6196
6547
|
operation: 'request' | 'upload';
|
|
6548
|
+
/**
|
|
6549
|
+
* A frozen snapshot of the document, taken before the pipeline runs. This is not the hooks
|
|
6550
|
+
* `originalDoc`: on an update, it already includes the incoming data.
|
|
6551
|
+
*/
|
|
6552
|
+
originalDoc: Readonly<Document>;
|
|
6553
|
+
/**
|
|
6554
|
+
* The phase a request plan is for. `persisted-default` applies the saved `_transforms`, and runs
|
|
6555
|
+
* only when the requested file is not stored. `request-override` applies the request's own parameters.
|
|
6556
|
+
* Not set on upload.
|
|
6557
|
+
*/
|
|
6558
|
+
purpose?: 'persisted-default' | 'request-override';
|
|
6197
6559
|
req: PayloadRequest;
|
|
6198
6560
|
};
|
|
6561
|
+
/**
|
|
6562
|
+
* `true` or `false` decides only whether the transformer runs. The object form also lists the
|
|
6563
|
+
* saved `_transforms` keys this stage applies, and the options this stage gets. Every saved key
|
|
6564
|
+
* that must run needs exactly one claiming stage, or the operation fails before any file work.
|
|
6565
|
+
*/
|
|
6566
|
+
type CanTransformResult<TOptions = unknown> = {
|
|
6567
|
+
canTransform: true;
|
|
6568
|
+
/** The `_transforms` keys this stage applies, for example `['crop']`. */
|
|
6569
|
+
handledTransformKeys?: string[];
|
|
6570
|
+
/**
|
|
6571
|
+
* Passed as `options` to this stage's `transformFile` or `handleRequest`. A transformer
|
|
6572
|
+
* planned in both request phases gets the options of each phase's own `canTransform` call.
|
|
6573
|
+
*/
|
|
6574
|
+
options?: TOptions;
|
|
6575
|
+
} | boolean;
|
|
6199
6576
|
type TransformFileArgs<TOptions = unknown> = {
|
|
6200
6577
|
collectionSlug: string;
|
|
6578
|
+
/**
|
|
6579
|
+
* The working copy of the document, passed in order through the stages. A stage may change
|
|
6580
|
+
* `doc._transforms`, and later stages see the change. Payload saves the final value, after the
|
|
6581
|
+
* normal hooks and validation. A change to any other field fails the upload.
|
|
6582
|
+
*/
|
|
6583
|
+
doc: Document;
|
|
6584
|
+
/** The current pipeline file. The same file as `source`. */
|
|
6201
6585
|
file: File;
|
|
6586
|
+
/** The options from this stage's `canTransform` result, or `undefined`. */
|
|
6202
6587
|
options: TOptions;
|
|
6588
|
+
/**
|
|
6589
|
+
* A frozen snapshot of the document, taken before the pipeline runs. This is not the hooks
|
|
6590
|
+
* `originalDoc`: on an update, it already includes the incoming data.
|
|
6591
|
+
*/
|
|
6592
|
+
originalDoc: Readonly<Document>;
|
|
6593
|
+
/** The retained original file, before any transformer changed it. */
|
|
6594
|
+
originalSource: FileSource;
|
|
6203
6595
|
req: PayloadRequest;
|
|
6596
|
+
/** The current pipeline file: the upload, or the file that the previous stage returned. */
|
|
6597
|
+
source: FileSource;
|
|
6204
6598
|
};
|
|
6205
6599
|
type TransformFileResult = {
|
|
6206
6600
|
file: File;
|
|
@@ -6209,13 +6603,26 @@ type TransformFileResult = {
|
|
|
6209
6603
|
file?: File;
|
|
6210
6604
|
status: 'continue';
|
|
6211
6605
|
};
|
|
6212
|
-
type HandleTransformRequestArgs = {
|
|
6606
|
+
type HandleTransformRequestArgs<TOptions = unknown> = {
|
|
6213
6607
|
collectionSlug: string;
|
|
6608
|
+
/** The requested document. Read-only: a request does not save changes. */
|
|
6609
|
+
doc: Readonly<Document>;
|
|
6214
6610
|
documentID: number | string;
|
|
6215
6611
|
filename: string;
|
|
6612
|
+
/**
|
|
6613
|
+
* Reads the retained original file. Each stage gets its own getter, which can be called once.
|
|
6614
|
+
* Payload closes the response when the stage does not return it.
|
|
6615
|
+
*/
|
|
6616
|
+
getOriginalFile: () => Promise<Response>;
|
|
6216
6617
|
getSourceFile: () => Promise<Response>;
|
|
6217
6618
|
mimeType: string;
|
|
6619
|
+
/** The options from this phase's `canTransform` result, or `undefined`. */
|
|
6620
|
+
options: TOptions;
|
|
6621
|
+
/** A frozen snapshot of the requested document. */
|
|
6622
|
+
originalDoc: Readonly<Document>;
|
|
6218
6623
|
req: PayloadRequest;
|
|
6624
|
+
/** The name of the requested size in `upload.variants`, or `undefined` for the main file. */
|
|
6625
|
+
variantName?: string;
|
|
6219
6626
|
};
|
|
6220
6627
|
type HandleTransformRequestResult = {
|
|
6221
6628
|
response: Response;
|
|
@@ -6224,6 +6631,34 @@ type HandleTransformRequestResult = {
|
|
|
6224
6631
|
response?: Response;
|
|
6225
6632
|
status: 'continue';
|
|
6226
6633
|
};
|
|
6634
|
+
/**
|
|
6635
|
+
* Checks a declared `_transforms` value for rules that its JSON Schema cannot express, for example
|
|
6636
|
+
* rules that depend on other fields. Returns `true`, or an error message. As for transformers,
|
|
6637
|
+
* `originalDoc` is the frozen document at the start of the pipeline, not the stored document.
|
|
6638
|
+
*/
|
|
6639
|
+
type TransformValidate<TValue = unknown> = (value: TValue, context: {
|
|
6640
|
+
/** The complete proposed `_transforms` value. */
|
|
6641
|
+
transforms: Readonly<JsonObject>;
|
|
6642
|
+
} & Pick<CanTransformArgs, 'collectionSlug' | 'doc' | 'originalDoc' | 'req'>) => Promise<string | true> | string | true;
|
|
6643
|
+
/**
|
|
6644
|
+
* The JSON Schema of a declared `_transforms` value, in the draft that Payload checks values with
|
|
6645
|
+
* (draft 2020-12). Older rules that this draft does not have, such as draft 4's `required: true`,
|
|
6646
|
+
* are not checked, so this type does not allow them.
|
|
6647
|
+
*/
|
|
6648
|
+
type TransformValueSchema = core.JSONSchema.JSONSchema;
|
|
6649
|
+
/**
|
|
6650
|
+
* A custom `_transforms` key and the shape of its value. Payload adds it to the `_transforms`
|
|
6651
|
+
* schema and to the generated `UploadTransforms` type. A definition does not decide which stage
|
|
6652
|
+
* applies the key: a stage claims it with `handledTransformKeys`.
|
|
6653
|
+
*/
|
|
6654
|
+
type TransformDefinition<TValue = unknown> = {
|
|
6655
|
+
/** The `_transforms` key. It cannot be a built-in key, and only one transformer can define it. */
|
|
6656
|
+
key: string;
|
|
6657
|
+
/** The JSON Schema of the value. Its `description` becomes the JSDoc of the generated type. */
|
|
6658
|
+
schema: TransformValueSchema;
|
|
6659
|
+
/** Runs after the schema check, on every supplied value and on a value that a stage changes. */
|
|
6660
|
+
validate?: TransformValidate<TValue>;
|
|
6661
|
+
};
|
|
6227
6662
|
/**
|
|
6228
6663
|
* A capability adapter that can transform files during upload, handle dynamic
|
|
6229
6664
|
* file requests, or both. Configured only under `upload.transformers`.
|
|
@@ -6233,7 +6668,7 @@ type UploadTransformer = {
|
|
|
6233
6668
|
* Inexpensive, side-effect-free routing predicate. Must not fetch the source,
|
|
6234
6669
|
* call an external service, or perform the transformation.
|
|
6235
6670
|
*/
|
|
6236
|
-
canTransform?: (args: CanTransformArgs) =>
|
|
6671
|
+
canTransform?: (args: CanTransformArgs) => CanTransformResult | Promise<CanTransformResult>;
|
|
6237
6672
|
/**
|
|
6238
6673
|
* Handles one stage of a dynamic transformation request.
|
|
6239
6674
|
*/
|
|
@@ -6252,6 +6687,10 @@ type UploadTransformer = {
|
|
|
6252
6687
|
* Must be unique across `upload.transformers`.
|
|
6253
6688
|
*/
|
|
6254
6689
|
slug: string;
|
|
6690
|
+
/**
|
|
6691
|
+
* Custom `_transforms` keys that this transformer declares, with the shape of each value.
|
|
6692
|
+
*/
|
|
6693
|
+
transformDefinitions?: TransformDefinition[];
|
|
6255
6694
|
/**
|
|
6256
6695
|
* One-file-in, one-file-out upload processing primitive. Never writes to storage.
|
|
6257
6696
|
*/
|
|
@@ -6595,6 +7034,11 @@ type PayloadHandler = (req: PayloadRequest) => Promise<Response> | Response;
|
|
|
6595
7034
|
type Endpoint = {
|
|
6596
7035
|
/** Extension point to add your custom data. */
|
|
6597
7036
|
custom?: Record<string, any>;
|
|
7037
|
+
/**
|
|
7038
|
+
* Skip Payload's authentication before the handler runs, so `req.user` is `null`. Use this when
|
|
7039
|
+
* the handler authenticates the request itself, e.g. with `req.payload.auth()`.
|
|
7040
|
+
*/
|
|
7041
|
+
disableAuth?: boolean;
|
|
6598
7042
|
/**
|
|
6599
7043
|
* Middleware that will be called when the path/method matches
|
|
6600
7044
|
*
|
|
@@ -6609,13 +7053,6 @@ type Endpoint = {
|
|
|
6609
7053
|
* Compatible with the Express router
|
|
6610
7054
|
*/
|
|
6611
7055
|
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
7056
|
};
|
|
6620
7057
|
/**
|
|
6621
7058
|
* @deprecated
|
|
@@ -6913,6 +7350,16 @@ type FetchAPIFileUploadOptions = {
|
|
|
6913
7350
|
useTempFiles?: boolean | undefined;
|
|
6914
7351
|
} & Partial<BusboyConfig>;
|
|
6915
7352
|
type GlobalUploadConfig = {
|
|
7353
|
+
/**
|
|
7354
|
+
* Lifetime and quota policies for durable browser upload sessions.
|
|
7355
|
+
* @experimental
|
|
7356
|
+
*/
|
|
7357
|
+
sessions?: UploadSessionsConfig;
|
|
7358
|
+
/**
|
|
7359
|
+
* Transfer preferences for segmented browser uploads. Storage provider limits always win.
|
|
7360
|
+
* @experimental
|
|
7361
|
+
*/
|
|
7362
|
+
transfer?: UploadSessionTransferConfig;
|
|
6916
7363
|
/**
|
|
6917
7364
|
* Ordered list of file transformers. Every eligible transformer joins the pipeline
|
|
6918
7365
|
* for a given upload or dynamic request in declaration order. Slugs must be unique.
|
|
@@ -7442,6 +7889,15 @@ type Config = {
|
|
|
7442
7889
|
* Defaults to ['JWT', 'Bearer', 'cookie]
|
|
7443
7890
|
*/
|
|
7444
7891
|
jwtOrder?: ('Bearer' | 'cookie' | 'JWT')[];
|
|
7892
|
+
/**
|
|
7893
|
+
* PBKDF2-SHA256 iterations used when hashing new passwords for the local auth strategy.
|
|
7894
|
+
*
|
|
7895
|
+
* Use `100000` in environments that do not support 600,000 iterations, such as Cloudflare
|
|
7896
|
+
* Workers. Stored hashes that use a different count are rehashed on the next successful login.
|
|
7897
|
+
*
|
|
7898
|
+
* @default 600000
|
|
7899
|
+
*/
|
|
7900
|
+
passwordHashIterations?: 100000 | 600000;
|
|
7445
7901
|
};
|
|
7446
7902
|
/**
|
|
7447
7903
|
* Define Collection and Global access constraints that are combined with document Access Control using AND semantics.
|
|
@@ -7470,6 +7926,8 @@ type Config = {
|
|
|
7470
7926
|
collections?: CollectionConfig[];
|
|
7471
7927
|
/**
|
|
7472
7928
|
* Prefix a string to all cookies that Payload sets.
|
|
7929
|
+
* Must contain only valid cookie-name characters; whitespace is not allowed.
|
|
7930
|
+
* Empty strings use the default prefix.
|
|
7473
7931
|
*
|
|
7474
7932
|
* @default "payload"
|
|
7475
7933
|
*/
|
|
@@ -8041,6 +8499,11 @@ type FieldState = {
|
|
|
8041
8499
|
Field?: React.ReactNode;
|
|
8042
8500
|
Label?: React.ReactNode;
|
|
8043
8501
|
};
|
|
8502
|
+
/**
|
|
8503
|
+
* Excludes this field's own value when form state is converted to document data, so the value is not submitted with the form.
|
|
8504
|
+
* The value remains available in form state.
|
|
8505
|
+
* Descendant fields are serialized independently.
|
|
8506
|
+
*/
|
|
8044
8507
|
disableFormData?: boolean;
|
|
8045
8508
|
errorMessage?: string;
|
|
8046
8509
|
errorPaths?: string[];
|
|
@@ -8746,6 +9209,8 @@ type ServerFunctionArgs = {
|
|
|
8746
9209
|
};
|
|
8747
9210
|
type ServerFunctionClientArgs = {
|
|
8748
9211
|
args: Record<string, unknown>;
|
|
9212
|
+
/** The locale of the rendered page making this request. */
|
|
9213
|
+
locale?: Locale['code'];
|
|
8749
9214
|
name: string;
|
|
8750
9215
|
};
|
|
8751
9216
|
type ServerFunctionClient = (args: ServerFunctionClientArgs) => Promise<unknown> | unknown;
|
|
@@ -9122,11 +9587,18 @@ declare const meOperation: (args: Arguments$q) => Promise<MeOperationResult>;
|
|
|
9122
9587
|
type Result$3 = {
|
|
9123
9588
|
exp: number;
|
|
9124
9589
|
refreshedToken: string;
|
|
9590
|
+
/** The next refresh token, when refreshing with a refresh token. */
|
|
9591
|
+
refreshToken?: string;
|
|
9125
9592
|
setCookie?: boolean;
|
|
9126
9593
|
user: Document;
|
|
9127
9594
|
};
|
|
9128
9595
|
type Arguments$p = {
|
|
9129
9596
|
collection: Collection;
|
|
9597
|
+
/**
|
|
9598
|
+
* A refresh token from login to refresh with, instead of the request's token. Unlike the
|
|
9599
|
+
* request's token, it still works after the token expired.
|
|
9600
|
+
*/
|
|
9601
|
+
refreshToken?: string;
|
|
9130
9602
|
req: PayloadRequest;
|
|
9131
9603
|
};
|
|
9132
9604
|
declare const refreshOperation: (incomingArgs: Arguments$p) => Promise<Result$3>;
|
|
@@ -9146,6 +9618,8 @@ declare const forgotPasswordOperation: <TSlug extends AuthCollectionSlug>(incomi
|
|
|
9146
9618
|
|
|
9147
9619
|
type LoginResult<TSlug extends AuthCollectionSlug> = {
|
|
9148
9620
|
exp?: number;
|
|
9621
|
+
/** With `auth.refreshTokens`, trades for a new token after this one expires. */
|
|
9622
|
+
refreshToken?: string;
|
|
9149
9623
|
token?: string;
|
|
9150
9624
|
user?: AuthRuntimeFields & DataFromCollectionSlug<TSlug>;
|
|
9151
9625
|
};
|
|
@@ -10108,7 +10582,10 @@ type CollectionAdminOptions = {
|
|
|
10108
10582
|
* Specify a navigational group for collections in the admin sidebar.
|
|
10109
10583
|
* - Provide a string to place the entity in a custom group.
|
|
10110
10584
|
* - Provide a record to define localized group names.
|
|
10111
|
-
* - Set to `false` to exclude the
|
|
10585
|
+
* - Set to `false` to exclude the collection from the sidebar, command palette, dashboard collection cards,
|
|
10586
|
+
* and pin picker, and its documents from both the Pinned and Recently viewed dashboard tabs, including existing pins.
|
|
10587
|
+
* This does not disable routes or change access control or rich text link and relationship eligibility.
|
|
10588
|
+
* Use `enableRichTextLink` and `enableRichTextRelationship` to configure rich text eligibility separately.
|
|
10112
10589
|
*/
|
|
10113
10590
|
group?: false | Record<string, string> | string;
|
|
10114
10591
|
/**
|
|
@@ -10482,6 +10959,12 @@ type TypeWithTimestamps = {
|
|
|
10482
10959
|
};
|
|
10483
10960
|
type CompoundIndex = {
|
|
10484
10961
|
fields: string[];
|
|
10962
|
+
/**
|
|
10963
|
+
* MongoDB only: include documents in this index only when every listed field exists.
|
|
10964
|
+
* Explicit null values count as existing. SQL adapters ignore this option.
|
|
10965
|
+
* Unique indexes using this option cannot index paths nested inside arrays or blocks.
|
|
10966
|
+
*/
|
|
10967
|
+
requireExists?: string[];
|
|
10485
10968
|
unique?: boolean;
|
|
10486
10969
|
};
|
|
10487
10970
|
type SanitizedCompoundIndex = {
|
|
@@ -10491,6 +10974,11 @@ type SanitizedCompoundIndex = {
|
|
|
10491
10974
|
path: string;
|
|
10492
10975
|
pathHasLocalized: boolean;
|
|
10493
10976
|
}[];
|
|
10977
|
+
requireExists?: {
|
|
10978
|
+
localizedPath: string;
|
|
10979
|
+
path: string;
|
|
10980
|
+
pathHasLocalized: boolean;
|
|
10981
|
+
}[];
|
|
10494
10982
|
unique: boolean;
|
|
10495
10983
|
};
|
|
10496
10984
|
|
|
@@ -12215,7 +12703,7 @@ type RouterAdapterRouter = {
|
|
|
12215
12703
|
*/
|
|
12216
12704
|
replace: (path: string, options?: {
|
|
12217
12705
|
scroll?: boolean;
|
|
12218
|
-
}) => void;
|
|
12706
|
+
}) => Promise<void> | void;
|
|
12219
12707
|
/**
|
|
12220
12708
|
* Use this property to standardize behaviors across different router implementations.
|
|
12221
12709
|
* Set it up to sync client state to the URL without triggering a second server load.
|
|
@@ -13110,6 +13598,33 @@ declare const usernameFieldConfig: TextField;
|
|
|
13110
13598
|
|
|
13111
13599
|
declare const verificationFields: Field[];
|
|
13112
13600
|
|
|
13601
|
+
/**
|
|
13602
|
+
* Starts a login session for the user and signs the JWT for it, the same token a password login
|
|
13603
|
+
* returns. Payload's JWT strategy accepts it. The session is saved on the user right away.
|
|
13604
|
+
*/
|
|
13605
|
+
declare const createAuthToken: ({ type, collectionConfig, email, label, metadata, req, shouldCreateRefreshToken, user, }: {
|
|
13606
|
+
collectionConfig: SanitizedCollectionConfig;
|
|
13607
|
+
/** The `email` claim of the token. */
|
|
13608
|
+
email: string;
|
|
13609
|
+
req: PayloadRequest;
|
|
13610
|
+
/**
|
|
13611
|
+
* Also return a refresh token for the session, which `redeemRefreshToken` trades for a new token.
|
|
13612
|
+
* The session then lasts `auth.refreshTokens.expiration` from each refresh, or 30 days when the
|
|
13613
|
+
* collection doesn't enable refresh tokens. Requires `auth.useSessions`.
|
|
13614
|
+
*/
|
|
13615
|
+
shouldCreateRefreshToken?: boolean;
|
|
13616
|
+
user: AuthenticatedUser;
|
|
13617
|
+
} & Pick<UserSession, "label" | "metadata" | "type">) => Promise<{
|
|
13618
|
+
exp: number;
|
|
13619
|
+
refreshToken?: string;
|
|
13620
|
+
/**
|
|
13621
|
+
* The ID of the session the token belongs to. Removing that session from the user, like logout
|
|
13622
|
+
* does, makes the token stop working.
|
|
13623
|
+
*/
|
|
13624
|
+
sid?: string;
|
|
13625
|
+
token: string;
|
|
13626
|
+
}>;
|
|
13627
|
+
|
|
13113
13628
|
declare const defaultUserCollection: CollectionConfig;
|
|
13114
13629
|
|
|
13115
13630
|
type OperationArgs = {
|
|
@@ -13190,12 +13705,44 @@ type Result<TData> = {
|
|
|
13190
13705
|
};
|
|
13191
13706
|
declare const registerFirstUserOperation: <TSlug extends AuthCollectionSlug>(args: Arguments$7<TSlug>) => Promise<Result<DataFromCollectionSlug<TSlug>>>;
|
|
13192
13707
|
|
|
13193
|
-
type Args$
|
|
13708
|
+
type Args$i = {
|
|
13194
13709
|
collection: Collection;
|
|
13195
13710
|
req: PayloadRequest;
|
|
13196
13711
|
token: string;
|
|
13197
13712
|
};
|
|
13198
|
-
declare const verifyEmailOperation: (args: Args$
|
|
13713
|
+
declare const verifyEmailOperation: (args: Args$i) => Promise<boolean>;
|
|
13714
|
+
|
|
13715
|
+
/**
|
|
13716
|
+
* Trades a refresh token from `createAuthToken` or an earlier refresh for a new token and a new
|
|
13717
|
+
* refresh token. Every refresh counts up the session's `refreshCount`, which the refresh token
|
|
13718
|
+
* remembers, so a refresh token with an older count was already used. That means it was copied, and
|
|
13719
|
+
* its session is logged out.
|
|
13720
|
+
*
|
|
13721
|
+
* The refresh operation uses it when it gets a refresh token. Plugins can also call it directly,
|
|
13722
|
+
* since it needs nothing but the refresh token.
|
|
13723
|
+
*
|
|
13724
|
+
* @returns `null` when the refresh token is invalid, its session ended, it was reused, or its user
|
|
13725
|
+
* is in the trash or not verified
|
|
13726
|
+
*/
|
|
13727
|
+
declare const redeemRefreshToken: ({ collection, refreshToken, req, reuseInterval, }: {
|
|
13728
|
+
/** Only accept refresh tokens of this collection. */
|
|
13729
|
+
collection?: string;
|
|
13730
|
+
refreshToken: string;
|
|
13731
|
+
req: PayloadRequest;
|
|
13732
|
+
/**
|
|
13733
|
+
* How long the refresh token from right before the latest refresh still works, in milliseconds.
|
|
13734
|
+
* Clients that send requests in parallel can refresh twice at once. `0` means none.
|
|
13735
|
+
*
|
|
13736
|
+
* @default 30000
|
|
13737
|
+
*/
|
|
13738
|
+
reuseInterval?: number;
|
|
13739
|
+
}) => Promise<{
|
|
13740
|
+
collectionConfig: SanitizedCollectionConfig;
|
|
13741
|
+
exp: number;
|
|
13742
|
+
refreshToken: string;
|
|
13743
|
+
token: string;
|
|
13744
|
+
user: AuthenticatedUser;
|
|
13745
|
+
} | null>;
|
|
13199
13746
|
|
|
13200
13747
|
type RotateSecretArgs = {
|
|
13201
13748
|
/**
|
|
@@ -13252,20 +13799,20 @@ declare const rotateSecret: ({ batchSize, collections, dryRun, oldSecret, payloa
|
|
|
13252
13799
|
*/
|
|
13253
13800
|
declare const JWTAuthentication: AuthStrategyFunction;
|
|
13254
13801
|
|
|
13255
|
-
type Args$
|
|
13802
|
+
type Args$h = {
|
|
13256
13803
|
collection: SanitizedCollectionConfig;
|
|
13257
13804
|
payload: Payload;
|
|
13258
13805
|
user: User;
|
|
13259
13806
|
};
|
|
13260
|
-
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$
|
|
13807
|
+
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$h) => Promise<void>;
|
|
13261
13808
|
|
|
13262
|
-
type Args$
|
|
13809
|
+
type Args$g = {
|
|
13263
13810
|
collection: SanitizedCollectionConfig;
|
|
13264
13811
|
doc: Record<string, unknown> & TypeWithID;
|
|
13265
13812
|
payload: Payload;
|
|
13266
13813
|
req: PayloadRequest;
|
|
13267
13814
|
};
|
|
13268
|
-
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$
|
|
13815
|
+
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$g) => Promise<void>;
|
|
13269
13816
|
|
|
13270
13817
|
declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fields, importMap, imports, }: {
|
|
13271
13818
|
addToImportMap: AddToImportMap;
|
|
@@ -13276,6 +13823,17 @@ declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fi
|
|
|
13276
13823
|
imports: Imports;
|
|
13277
13824
|
}): void;
|
|
13278
13825
|
|
|
13826
|
+
type CLIExitCodeHandler = (error: unknown) => number | undefined;
|
|
13827
|
+
/**
|
|
13828
|
+
* Register a classifier before loading config that may throw custom errors.
|
|
13829
|
+
* The first handler returning an integer from 1 through 255 chooses the CLI's
|
|
13830
|
+
* failure exit code. Return undefined for errors the handler does not recognize.
|
|
13831
|
+
* Handlers that throw are ignored. The returned function removes this registration.
|
|
13832
|
+
*/
|
|
13833
|
+
declare const registerCLIExitCodeHandler: ({ handler, }: {
|
|
13834
|
+
handler: CLIExitCodeHandler;
|
|
13835
|
+
}) => (() => void);
|
|
13836
|
+
|
|
13279
13837
|
declare const getDataLoader: (req: PayloadRequest) => {
|
|
13280
13838
|
find: Payload["find"];
|
|
13281
13839
|
} & DataLoader<string, TypeWithID, string>;
|
|
@@ -13488,6 +14046,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13488
14046
|
depth?: number | undefined;
|
|
13489
14047
|
fallbackLocale?: string | false | undefined;
|
|
13490
14048
|
locale?: string | undefined;
|
|
14049
|
+
trash?: boolean | undefined;
|
|
13491
14050
|
where?: unknown;
|
|
13492
14051
|
}, {
|
|
13493
14052
|
slug: string;
|
|
@@ -13495,6 +14054,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13495
14054
|
id?: string | number | undefined;
|
|
13496
14055
|
fallbackLocale?: string | false | undefined;
|
|
13497
14056
|
locale?: string | undefined;
|
|
14057
|
+
trash?: boolean | undefined;
|
|
13498
14058
|
where?: Where | undefined;
|
|
13499
14059
|
}> & z.ZodMiniObject<{
|
|
13500
14060
|
id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
|
|
@@ -13502,6 +14062,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13502
14062
|
depth: z.ZodMiniDefault<z.ZodMiniInt>;
|
|
13503
14063
|
fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
|
|
13504
14064
|
locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
14065
|
+
trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
13505
14066
|
where: z.ZodMiniOptional<z.ZodMiniType<Where, unknown, z.core.$ZodTypeInternals<Where, unknown>>>;
|
|
13506
14067
|
}, z.core.$strict>;
|
|
13507
14068
|
/** For trusted local callers only. Includes access bypass. */
|
|
@@ -13512,6 +14073,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13512
14073
|
depth?: number | undefined;
|
|
13513
14074
|
fallbackLocale?: string | false | undefined;
|
|
13514
14075
|
locale?: string | undefined;
|
|
14076
|
+
trash?: boolean | undefined;
|
|
13515
14077
|
where?: unknown;
|
|
13516
14078
|
}, {
|
|
13517
14079
|
overrideAccess: boolean;
|
|
@@ -13520,6 +14082,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13520
14082
|
id?: string | number | undefined;
|
|
13521
14083
|
fallbackLocale?: string | false | undefined;
|
|
13522
14084
|
locale?: string | undefined;
|
|
14085
|
+
trash?: boolean | undefined;
|
|
13523
14086
|
where?: Where | undefined;
|
|
13524
14087
|
}> & z.ZodMiniObject<{
|
|
13525
14088
|
overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
@@ -13528,6 +14091,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13528
14091
|
depth: z.ZodMiniDefault<z.ZodMiniInt>;
|
|
13529
14092
|
fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
|
|
13530
14093
|
locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
14094
|
+
trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
13531
14095
|
where: z.ZodMiniOptional<z.ZodMiniType<Where, unknown, z.core.$ZodTypeInternals<Where, unknown>>>;
|
|
13532
14096
|
}, z.core.$strict>;
|
|
13533
14097
|
declare const duplicateDocumentInputSchema: _standard_schema_spec.StandardJSONSchemaV1<{
|
|
@@ -14404,7 +14968,7 @@ declare const writeMigrationIndex: (args: {
|
|
|
14404
14968
|
migrationsDir: string;
|
|
14405
14969
|
}) => void;
|
|
14406
14970
|
|
|
14407
|
-
type Args$
|
|
14971
|
+
type Args$f = {
|
|
14408
14972
|
errors?: {
|
|
14409
14973
|
path: string;
|
|
14410
14974
|
}[];
|
|
@@ -14422,9 +14986,9 @@ type Args$h = {
|
|
|
14422
14986
|
collectionConfig?: never | undefined;
|
|
14423
14987
|
globalConfig: SanitizedGlobalConfig;
|
|
14424
14988
|
});
|
|
14425
|
-
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, showHiddenFields, versionFields, where, }: Args$
|
|
14989
|
+
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, showHiddenFields, versionFields, where, }: Args$f): Promise<void>;
|
|
14426
14990
|
|
|
14427
|
-
type Args$
|
|
14991
|
+
type Args$e = {
|
|
14428
14992
|
collectionConfig?: SanitizedCollectionConfig;
|
|
14429
14993
|
constraint: WhereField;
|
|
14430
14994
|
errors: {
|
|
@@ -14446,7 +15010,7 @@ type Args$g = {
|
|
|
14446
15010
|
/**
|
|
14447
15011
|
* Validate the Payload key / value / operator
|
|
14448
15012
|
*/
|
|
14449
|
-
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, showHiddenFields, val, versionFields, }: Args$
|
|
15013
|
+
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, showHiddenFields, val, versionFields, }: Args$e): Promise<void>;
|
|
14450
15014
|
|
|
14451
15015
|
type AuthorshipFieldArgs = {
|
|
14452
15016
|
/**
|
|
@@ -14473,7 +15037,7 @@ declare const baseBlockFields: Field[];
|
|
|
14473
15037
|
|
|
14474
15038
|
declare const baseIDField: TextField;
|
|
14475
15039
|
|
|
14476
|
-
type Args$
|
|
15040
|
+
type Args$d = {
|
|
14477
15041
|
collection: SanitizedCollectionConfig;
|
|
14478
15042
|
field: string;
|
|
14479
15043
|
/** Exclude this doc from the check, so a regenerate can reuse its own value. */
|
|
@@ -14490,7 +15054,7 @@ type Args$f = {
|
|
|
14490
15054
|
* The format is: `<singular>-<N>`, where `N` is the first available integer. Uses the collection's singular
|
|
14491
15055
|
* label when it resolves to a plain string, otherwise the collection slug. See {@link getUniqueFieldValue}.
|
|
14492
15056
|
*/
|
|
14493
|
-
declare const getSlugFallbackValue: ({ id, collection, field, locale, overrideAccess, req, slugify, }: Args$
|
|
15057
|
+
declare const getSlugFallbackValue: ({ id, collection, field, locale, overrideAccess, req, slugify, }: Args$d) => Promise<string>;
|
|
14494
15058
|
|
|
14495
15059
|
/**
|
|
14496
15060
|
* Info about an orderable join field, collected during sanitization
|
|
@@ -14601,16 +15165,16 @@ type SanitizeFieldResult = {
|
|
|
14601
15165
|
declare const sanitizeField: ({ collectionConfig, config, existingFieldNames, field, globalConfig, index, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizers, validRelationships, }: SanitizeFieldArgs) => SanitizeFieldResult;
|
|
14602
15166
|
declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizers, validRelationships, }: SanitizeFieldsArgs) => Field[];
|
|
14603
15167
|
|
|
14604
|
-
type Args$
|
|
15168
|
+
type Args$c = {
|
|
14605
15169
|
defaultValue: DefaultValue;
|
|
14606
15170
|
locale: string | undefined;
|
|
14607
15171
|
req: PayloadRequest;
|
|
14608
15172
|
user: PayloadRequest['user'];
|
|
14609
15173
|
value?: JsonValue;
|
|
14610
15174
|
};
|
|
14611
|
-
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$
|
|
15175
|
+
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$c) => Promise<JsonValue>;
|
|
14612
15176
|
|
|
14613
|
-
type Args$
|
|
15177
|
+
type Args$b = {
|
|
14614
15178
|
/**
|
|
14615
15179
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14616
15180
|
*/
|
|
@@ -14636,9 +15200,9 @@ type Args$d = {
|
|
|
14636
15200
|
siblingDoc: JsonObject;
|
|
14637
15201
|
siblingFields?: (Field | TabAsField)[];
|
|
14638
15202
|
};
|
|
14639
|
-
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$
|
|
15203
|
+
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
15204
|
|
|
14641
|
-
type Args$
|
|
15205
|
+
type Args$a = {
|
|
14642
15206
|
/**
|
|
14643
15207
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14644
15208
|
*/
|
|
@@ -14686,9 +15250,9 @@ type Args$c = {
|
|
|
14686
15250
|
triggerAccessControl?: boolean;
|
|
14687
15251
|
triggerHooks?: boolean;
|
|
14688
15252
|
} & 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$
|
|
15253
|
+
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
15254
|
|
|
14691
|
-
type Args$
|
|
15255
|
+
type Args$9 = {
|
|
14692
15256
|
/**
|
|
14693
15257
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14694
15258
|
*/
|
|
@@ -14735,13 +15299,14 @@ type Args$b = {
|
|
|
14735
15299
|
triggerAccessControl?: boolean;
|
|
14736
15300
|
triggerHooks?: boolean;
|
|
14737
15301
|
};
|
|
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$
|
|
15302
|
+
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
15303
|
|
|
14740
|
-
type Args$
|
|
15304
|
+
type Args$8 = {
|
|
14741
15305
|
/**
|
|
14742
15306
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14743
15307
|
*/
|
|
14744
15308
|
blockData?: JsonObject;
|
|
15309
|
+
blockFields?: Field[];
|
|
14745
15310
|
collection: null | SanitizedCollectionConfig;
|
|
14746
15311
|
context: RequestContext;
|
|
14747
15312
|
data: JsonObject;
|
|
@@ -14796,9 +15361,9 @@ type Args$a = {
|
|
|
14796
15361
|
* - Transform data for storage
|
|
14797
15362
|
* - Unflatten locales. The input `data` is the normal document for one locale. The output result will become the document with locales.
|
|
14798
15363
|
*/
|
|
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$
|
|
15364
|
+
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
15365
|
|
|
14801
|
-
type Args$
|
|
15366
|
+
type Args$7<T> = {
|
|
14802
15367
|
/**
|
|
14803
15368
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14804
15369
|
*/
|
|
@@ -14834,7 +15399,7 @@ type Args$9<T> = {
|
|
|
14834
15399
|
*/
|
|
14835
15400
|
siblingDoc: JsonObject;
|
|
14836
15401
|
};
|
|
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$
|
|
15402
|
+
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
15403
|
|
|
14839
15404
|
declare const sortableFieldTypes: string[];
|
|
14840
15405
|
|
|
@@ -15251,9 +15816,9 @@ type Arguments = {
|
|
|
15251
15816
|
req?: PayloadRequest;
|
|
15252
15817
|
showHiddenFields?: boolean;
|
|
15253
15818
|
};
|
|
15254
|
-
declare const restoreVersionOperation: <T extends
|
|
15819
|
+
declare const restoreVersionOperation: <T extends JsonObject = any>(args: Arguments) => Promise<T>;
|
|
15255
15820
|
|
|
15256
|
-
type Args$
|
|
15821
|
+
type Args$6<TSlug extends GlobalSlug> = {
|
|
15257
15822
|
autosave?: boolean;
|
|
15258
15823
|
data: DeepPartial<Omit<DataFromGlobalSlug<TSlug>, 'id'>>;
|
|
15259
15824
|
depth?: number;
|
|
@@ -15269,7 +15834,7 @@ type Args$8<TSlug extends GlobalSlug> = {
|
|
|
15269
15834
|
slug: string;
|
|
15270
15835
|
unpublishAllLocales?: boolean;
|
|
15271
15836
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
15272
|
-
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$
|
|
15837
|
+
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$6<TSlug>) => Promise<TransformGlobalWithSelect<TSlug, TSelect>>;
|
|
15273
15838
|
|
|
15274
15839
|
/**
|
|
15275
15840
|
* Default field names and constants for hierarchy feature
|
|
@@ -15563,6 +16128,24 @@ declare function generatePayloadFileURL({ collectionSlug, config, filename, pref
|
|
|
15563
16128
|
|
|
15564
16129
|
declare const getFileByPath: (filePath: string) => Promise<PayloadRequest["file"]>;
|
|
15565
16130
|
|
|
16131
|
+
/**
|
|
16132
|
+
* Registers a transformer's image sizes on upload collections. Call it from a transformer's
|
|
16133
|
+
* `init`. It checks each collection and size name, then writes the sizes (name and admin options
|
|
16134
|
+
* only) to the collection's sanitized `upload.variants`. Only one transformer can register sizes
|
|
16135
|
+
* on a collection. It writes onto copies and never changes the given config.
|
|
16136
|
+
*
|
|
16137
|
+
* @param transformerSlug The registering transformer's `slug`, saved as the owner of the sizes and
|
|
16138
|
+
* used in error messages. It must match a transformer in `upload.transformers`. Payload writes
|
|
16139
|
+
* size entries with no stored file only when this transformer builds files at request time.
|
|
16140
|
+
*/
|
|
16141
|
+
declare function registerUploadVariants({ collections, config, transformerSlug, }: {
|
|
16142
|
+
collections: Partial<Record<string, {
|
|
16143
|
+
variants?: ImageSize[];
|
|
16144
|
+
}>>;
|
|
16145
|
+
config: Config;
|
|
16146
|
+
transformerSlug: string;
|
|
16147
|
+
}): Config;
|
|
16148
|
+
|
|
15566
16149
|
/**
|
|
15567
16150
|
* @internal this is used to mock the IP `lookup` function in integration tests
|
|
15568
16151
|
*/
|
|
@@ -15646,7 +16229,7 @@ type CreatePayloadRequestArgs = {
|
|
|
15646
16229
|
type CreatePayloadRequest = (args: CreatePayloadRequestArgs) => Promise<PayloadRequest>;
|
|
15647
16230
|
declare const createPayloadRequest: CreatePayloadRequest;
|
|
15648
16231
|
|
|
15649
|
-
type Args$
|
|
16232
|
+
type Args$5 = {
|
|
15650
16233
|
canSetHeaders?: boolean;
|
|
15651
16234
|
config: Promise<SanitizedConfig> | SanitizedConfig;
|
|
15652
16235
|
params?: {
|
|
@@ -15654,8 +16237,14 @@ type Args$7 = {
|
|
|
15654
16237
|
};
|
|
15655
16238
|
payloadInstanceCacheKey?: string;
|
|
15656
16239
|
request: Request;
|
|
16240
|
+
/**
|
|
16241
|
+
* Run the auth strategies and set `req.user`.
|
|
16242
|
+
*
|
|
16243
|
+
* @default true
|
|
16244
|
+
*/
|
|
16245
|
+
shouldAuthenticate?: boolean;
|
|
15657
16246
|
};
|
|
15658
|
-
declare const createPayloadRequestFromWebRequest: ({ canSetHeaders, config: configPromise, params, payloadInstanceCacheKey, request, }: Args$
|
|
16247
|
+
declare const createPayloadRequestFromWebRequest: ({ canSetHeaders, config: configPromise, params, payloadInstanceCacheKey, request, shouldAuthenticate, }: Args$5) => Promise<PayloadRequest>;
|
|
15659
16248
|
|
|
15660
16249
|
declare const deepCopyObject: <T>(o: T) => T;
|
|
15661
16250
|
/**
|
|
@@ -15675,12 +16264,65 @@ declare function deepCopyObjectSimple<T extends JsonValue>(value: T, filterUndef
|
|
|
15675
16264
|
*/
|
|
15676
16265
|
declare function deepCopyObjectComplex<T>(object: T, cache?: WeakMap<any, any>): T;
|
|
15677
16266
|
|
|
16267
|
+
type DeepMergeArrayMergeOptions = {
|
|
16268
|
+
cloneUnlessOtherwiseSpecified(value: object, options?: DeepMergeOptions): any;
|
|
16269
|
+
isMergeableObject(value: object): boolean;
|
|
16270
|
+
};
|
|
16271
|
+
type DeepMergeOptions = {
|
|
16272
|
+
/**
|
|
16273
|
+
* Merges two arrays. Defaults to concatenating `target` and `source`.
|
|
16274
|
+
*/
|
|
16275
|
+
arrayMerge?: (target: any[], source: any[], options: ResolvedDeepMergeOptions) => any[];
|
|
16276
|
+
/**
|
|
16277
|
+
* When `false`, mergeable values are copied by reference instead of being deeply cloned.
|
|
16278
|
+
* @default true
|
|
16279
|
+
*/
|
|
16280
|
+
clone?: boolean;
|
|
16281
|
+
/**
|
|
16282
|
+
* Returns a custom merge function for a given key, or `undefined` to use the default merge.
|
|
16283
|
+
*/
|
|
16284
|
+
customMerge?: (key: string, options?: DeepMergeOptions) => ((x: any, y: any) => any) | undefined;
|
|
16285
|
+
/**
|
|
16286
|
+
* Determines whether a value should be merged recursively or copied as-is.
|
|
16287
|
+
*/
|
|
16288
|
+
isMergeableObject?(value: object): boolean;
|
|
16289
|
+
};
|
|
16290
|
+
type ResolvedDeepMergeOptions = {
|
|
16291
|
+
arrayMerge: NonNullable<DeepMergeOptions['arrayMerge']>;
|
|
16292
|
+
isMergeableObject: (value: unknown) => boolean;
|
|
16293
|
+
} & DeepMergeArrayMergeOptions & DeepMergeOptions;
|
|
16294
|
+
/**
|
|
16295
|
+
* Fully-featured deepMerge. Returns a new object and does not mutate its arguments.
|
|
16296
|
+
*
|
|
16297
|
+
* Array handling: arrays are concatenated unless `arrayMerge` is provided.
|
|
16298
|
+
*
|
|
16299
|
+
* `__proto__` keys are never copied to the result, preventing prototype poisoning of the returned
|
|
16300
|
+
* object when merging untrusted input (e.g. parsed JSON).
|
|
16301
|
+
*/
|
|
16302
|
+
declare function deepMerge<T>(x: Partial<T>, y: Partial<T>, options?: DeepMergeOptions): T;
|
|
16303
|
+
declare function deepMerge<T1, T2>(x: Partial<T1>, y: Partial<T2>, options?: DeepMergeOptions): T1 & T2;
|
|
16304
|
+
declare namespace deepMerge {
|
|
16305
|
+
var all: typeof deepMergeAll;
|
|
16306
|
+
}
|
|
16307
|
+
/**
|
|
16308
|
+
* Keeps the `deepMerge.Options` / `deepMerge.ArrayMergeOptions` type references from the former
|
|
16309
|
+
* `deepmerge` dependency working.
|
|
16310
|
+
*/
|
|
16311
|
+
declare namespace deepMerge {
|
|
16312
|
+
type ArrayMergeOptions = DeepMergeArrayMergeOptions;
|
|
16313
|
+
type Options = DeepMergeOptions;
|
|
16314
|
+
}
|
|
16315
|
+
/**
|
|
16316
|
+
* Deep-merges all objects in the array, from left to right.
|
|
16317
|
+
*/
|
|
16318
|
+
declare function deepMergeAll<T = object>(objects: Partial<T>[], options?: DeepMergeOptions): T;
|
|
16319
|
+
declare function deepMergeAll(objects: object[], options?: DeepMergeOptions): object;
|
|
15678
16320
|
/**
|
|
15679
16321
|
* Fully-featured deepMerge.
|
|
15680
16322
|
*
|
|
15681
16323
|
* Array handling: Arrays in the target object are combined with the source object's arrays.
|
|
15682
16324
|
*/
|
|
15683
|
-
declare function deepMergeWithCombinedArrays<T extends object>(obj1: object, obj2: object, options?:
|
|
16325
|
+
declare function deepMergeWithCombinedArrays<T extends object>(obj1: object, obj2: object, options?: DeepMergeOptions): T;
|
|
15684
16326
|
/**
|
|
15685
16327
|
* Fully-featured deepMerge.
|
|
15686
16328
|
*
|
|
@@ -15960,7 +16602,7 @@ type GetRequestLanguageArgs = {
|
|
|
15960
16602
|
};
|
|
15961
16603
|
declare const getRequestLanguage: ({ config, cookies, headers, }: GetRequestLanguageArgs) => AcceptedLanguages;
|
|
15962
16604
|
|
|
15963
|
-
type Args$
|
|
16605
|
+
type Args$4 = {
|
|
15964
16606
|
collection: string;
|
|
15965
16607
|
/** Also treat a value taken by a draft-only version as unavailable. */
|
|
15966
16608
|
draftsEnabled?: boolean;
|
|
@@ -15983,7 +16625,7 @@ type Args$6 = {
|
|
|
15983
16625
|
* Returns the first available value for `field` in `collection` — either the bare `value` or a
|
|
15984
16626
|
* `value-N` variant. Useful when a unique field value is minted outside the operation pipeline.
|
|
15985
16627
|
*/
|
|
15986
|
-
declare const getUniqueFieldValue: ({ id, collection, draftsEnabled, field, locale, overrideAccess, req, startIndex, value, }: Args$
|
|
16628
|
+
declare const getUniqueFieldValue: ({ id, collection, draftsEnabled, field, locale, overrideAccess, req, startIndex, value, }: Args$4) => Promise<string>;
|
|
15987
16629
|
|
|
15988
16630
|
type EntityConfig = Pick<CollectionConfig | GlobalConfig, 'versions'>;
|
|
15989
16631
|
/**
|
|
@@ -16106,6 +16748,30 @@ declare function parseDocumentID(args: {
|
|
|
16106
16748
|
} & ParseDocumentIDArgs): number | string;
|
|
16107
16749
|
declare function parseDocumentID(args: ParseDocumentIDArgs): number | string | undefined;
|
|
16108
16750
|
|
|
16751
|
+
type ParsedNonFieldError = {
|
|
16752
|
+
/** Additional error metadata, including plugin-specific error codes. */
|
|
16753
|
+
[key: string]: unknown;
|
|
16754
|
+
/** Additional details returned by the API. */
|
|
16755
|
+
data?: unknown;
|
|
16756
|
+
/** Absent when a nested error does not provide a string message. */
|
|
16757
|
+
message?: string;
|
|
16758
|
+
};
|
|
16759
|
+
type ParsedErrorResponse = {
|
|
16760
|
+
/** Field errors in response order, including repeated paths in different locales. */
|
|
16761
|
+
fieldErrors: ValidationFieldError[];
|
|
16762
|
+
/** Body-level message, retained separately from errors and validation summaries. */
|
|
16763
|
+
message?: string;
|
|
16764
|
+
/** Validation summaries and errors without a usable field path and message. */
|
|
16765
|
+
nonFieldErrors: ParsedNonFieldError[];
|
|
16766
|
+
};
|
|
16767
|
+
/**
|
|
16768
|
+
* Parses a decoded Payload REST error response without reading a Response or choosing display fallbacks.
|
|
16769
|
+
* Validation summaries and callback metadata are retained alongside field errors.
|
|
16770
|
+
*/
|
|
16771
|
+
declare function parseErrorResponse({ body }: {
|
|
16772
|
+
body: unknown;
|
|
16773
|
+
}): ParsedErrorResponse;
|
|
16774
|
+
|
|
16109
16775
|
type JoinParams = {
|
|
16110
16776
|
[schemaPath: string]: {
|
|
16111
16777
|
limit?: unknown;
|
|
@@ -16171,7 +16837,7 @@ type ParsedParams = {
|
|
|
16171
16837
|
*/
|
|
16172
16838
|
declare const parseParams: (params: RawParams) => ParsedParams;
|
|
16173
16839
|
|
|
16174
|
-
interface Args$
|
|
16840
|
+
interface Args$3 {
|
|
16175
16841
|
fallbackLocale: TypedFallbackLocale;
|
|
16176
16842
|
locale: string;
|
|
16177
16843
|
localization: SanitizedLocalizationConfig;
|
|
@@ -16184,7 +16850,7 @@ interface Args$5 {
|
|
|
16184
16850
|
* - determines if a locale specific fallback should be used in place of the default locale
|
|
16185
16851
|
* - sets the fallbackLocale to 'null' if no fallback locale should be used
|
|
16186
16852
|
*/
|
|
16187
|
-
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$
|
|
16853
|
+
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$3) => TypedFallbackLocale;
|
|
16188
16854
|
|
|
16189
16855
|
/**
|
|
16190
16856
|
* Sanitizes REST populate query to PopulateType
|
|
@@ -16285,7 +16951,7 @@ declare const versionDefaults: {
|
|
|
16285
16951
|
autosaveInterval: number;
|
|
16286
16952
|
};
|
|
16287
16953
|
|
|
16288
|
-
type Args$
|
|
16954
|
+
type Args$2 = {
|
|
16289
16955
|
id?: number | string;
|
|
16290
16956
|
/**
|
|
16291
16957
|
* Delete the versions of many parent documents at once. Takes precedence over `id`.
|
|
@@ -16301,7 +16967,7 @@ type Args$4 = {
|
|
|
16301
16967
|
* @internal - this may break or be removed at any time. It is exported from the package root only
|
|
16302
16968
|
* so that Payload 2.x `payload/versions` imports keep resolving, not as an API to build on.
|
|
16303
16969
|
*/
|
|
16304
|
-
declare const deleteCollectionVersions: ({ id, slug, ids, payload, req, }: Args$
|
|
16970
|
+
declare const deleteCollectionVersions: ({ id, slug, ids, payload, req, }: Args$2) => Promise<void>;
|
|
16305
16971
|
|
|
16306
16972
|
declare const appendVersionToQueryKey: (query?: Where) => Where;
|
|
16307
16973
|
|
|
@@ -16314,7 +16980,7 @@ declare const getQueryDraftsSort: ({ collectionConfig, sort, }: {
|
|
|
16314
16980
|
sort?: Sort;
|
|
16315
16981
|
}) => Sort;
|
|
16316
16982
|
|
|
16317
|
-
type Args$
|
|
16983
|
+
type Args$1 = {
|
|
16318
16984
|
collection?: SanitizedCollectionConfig;
|
|
16319
16985
|
global?: SanitizedGlobalConfig;
|
|
16320
16986
|
id?: number | string;
|
|
@@ -16322,31 +16988,7 @@ type Args$3 = {
|
|
|
16322
16988
|
payload: Payload;
|
|
16323
16989
|
req?: PayloadRequest;
|
|
16324
16990
|
};
|
|
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
|
-
}>;
|
|
16991
|
+
declare const enforceMaxVersions: ({ id, collection, global: globalConfig, max, payload, req, }: Args$1) => Promise<void>;
|
|
16350
16992
|
|
|
16351
16993
|
type Args<T extends JsonObject = JsonObject> = {
|
|
16352
16994
|
autosave?: boolean;
|
|
@@ -16952,5 +17594,5 @@ interface GlobalAdminCustom extends Record<string, any> {
|
|
|
16952
17594
|
interface GlobalAdminCustom extends Record<string, any> {
|
|
16953
17595
|
}
|
|
16954
17596
|
|
|
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 };
|
|
17597
|
+
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, deepMerge, 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 };
|
|
17598
|
+
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 };
|