payload 4.0.0-beta.7 → 4.0.0-beta.9
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/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 +12 -0
- package/dist/auth/baseFields/sessions.js.map +1 -1
- package/dist/auth/createAuthToken.d.ts +3 -3
- package/dist/auth/createAuthToken.d.ts.map +1 -1
- package/dist/auth/createAuthToken.js +4 -1
- package/dist/auth/createAuthToken.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 +5 -8
- package/dist/auth/extractJWT.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/operations/login.d.ts.map +1 -1
- package/dist/auth/operations/login.js +5 -0
- package/dist/auth/operations/login.js.map +1 -1
- package/dist/auth/operations/resetPassword.d.ts.map +1 -1
- package/dist/auth/operations/resetPassword.js +5 -0
- package/dist/auth/operations/resetPassword.js.map +1 -1
- package/dist/auth/redeemRefreshToken.d.ts +8 -1
- package/dist/auth/redeemRefreshToken.d.ts.map +1 -1
- package/dist/auth/redeemRefreshToken.js +1 -5
- package/dist/auth/redeemRefreshToken.js.map +1 -1
- package/dist/auth/sessions.d.ts +2 -2
- package/dist/auth/sessions.d.ts.map +1 -1
- package/dist/auth/sessions.js +5 -2
- package/dist/auth/sessions.js.map +1 -1
- package/dist/auth/types.d.ts +9 -0
- 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/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/collections/operations/create.js +1 -1
- 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/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/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 +34 -0
- 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/config/types.d.ts +5 -7
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/exports/build-config.d.ts.map +1 -1
- package/dist/exports/build-config.js +0 -2
- package/dist/exports/build-config.js.map +1 -1
- package/dist/exports/internal.d.ts +2 -1
- package/dist/exports/internal.d.ts.map +1 -1
- package/dist/exports/internal.js +1 -0
- package/dist/exports/internal.js.map +1 -1
- package/dist/exports/shared.d.ts +6 -3
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js +6 -3
- package/dist/exports/shared.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/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/validateJSONSchema.js +1 -1
- package/dist/fields/validateJSONSchema.js.map +1 -1
- package/dist/hierarchy/getInitialTreeData.js +1 -1
- package/dist/hierarchy/getInitialTreeData.js.map +1 -1
- package/dist/index.bundled.d.ts +201 -75
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/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/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/endpoints/getFile.d.ts.map +1 -1
- package/dist/uploads/endpoints/getFile.js +17 -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/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/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 +42 -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 +176 -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/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 +365 -0
- package/dist/uploads/generateFileData/index.js.map +1 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.d.ts +52 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.d.ts.map +1 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.js +394 -0
- package/dist/uploads/generateFileData/output/buildUploadOutput.js.map +1 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.d.ts +33 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.d.ts.map +1 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.js +100 -0
- package/dist/uploads/generateFileData/output/buildVariantOutputs.js.map +1 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.d.ts +20 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.d.ts.map +1 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.js +20 -0
- package/dist/uploads/generateFileData/output/resolveTempFileHandling.js.map +1 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.d.ts +35 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.d.ts.map +1 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.js +54 -0
- package/dist/uploads/generateFileData/plan/planSourceRebuild.js.map +1 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.d.ts +44 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.d.ts.map +1 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.js +63 -0
- package/dist/uploads/generateFileData/plan/planUploadStages.js.map +1 -0
- package/dist/uploads/generateFileData/runUploadTransformers.d.ts +46 -0
- package/dist/uploads/generateFileData/runUploadTransformers.d.ts.map +1 -0
- package/dist/uploads/generateFileData/runUploadTransformers.js +93 -0
- package/dist/uploads/generateFileData/runUploadTransformers.js.map +1 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.d.ts +32 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.d.ts.map +1 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.js +43 -0
- package/dist/uploads/generateFileData/source/downloadClientUpload.js.map +1 -0
- package/dist/uploads/generateFileData/source/readUploadSource.d.ts +27 -0
- package/dist/uploads/generateFileData/source/readUploadSource.d.ts.map +1 -0
- package/dist/uploads/generateFileData/source/readUploadSource.js +97 -0
- package/dist/uploads/generateFileData/source/readUploadSource.js.map +1 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.d.ts +50 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.d.ts.map +1 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.js +42 -0
- package/dist/uploads/generateFileData/source/selectUploadSource.js.map +1 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.d.ts +9 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.js +19 -0
- package/dist/uploads/generateFileData/utils/checkFileAndUseDetectedType.js.map +1 -0
- package/dist/uploads/generateFileData/utils/generateImageSizeFilename.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/generateImageSizeFilename.js.map +1 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.d.ts +27 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.js +22 -0
- package/dist/uploads/generateFileData/utils/getUploadStorage.js.map +1 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.d.ts +11 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.d.ts.map +1 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.js +15 -0
- package/dist/uploads/generateFileData/utils/toFileUploadError.js.map +1 -0
- package/dist/uploads/getBaseFields.d.ts.map +1 -1
- package/dist/uploads/getBaseFields.js +44 -2
- package/dist/uploads/getBaseFields.js.map +1 -1
- package/dist/uploads/getFileContentRequirement.d.ts +9 -8
- package/dist/uploads/getFileContentRequirement.d.ts.map +1 -1
- package/dist/uploads/getFileContentRequirement.js +10 -6
- package/dist/uploads/getFileContentRequirement.js.map +1 -1
- package/dist/uploads/getFileFromUploadInstructions.d.ts +10 -0
- package/dist/uploads/getFileFromUploadInstructions.d.ts.map +1 -1
- package/dist/uploads/getFileFromUploadInstructions.js +60 -37
- package/dist/uploads/getFileFromUploadInstructions.js.map +1 -1
- package/dist/uploads/getSafeFilename.d.ts +4 -0
- package/dist/uploads/getSafeFilename.d.ts.map +1 -1
- package/dist/uploads/getSafeFilename.js +17 -3
- package/dist/uploads/getSafeFilename.js.map +1 -1
- package/dist/uploads/isOriginalFileRequest.d.ts +3 -1
- package/dist/uploads/isOriginalFileRequest.d.ts.map +1 -1
- package/dist/uploads/isOriginalFileRequest.js +6 -4
- package/dist/uploads/isOriginalFileRequest.js.map +1 -1
- 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/sanitizeUploadData.d.ts.map +1 -1
- package/dist/uploads/sanitizeUploadData.js +3 -0
- package/dist/uploads/sanitizeUploadData.js.map +1 -1
- package/dist/uploads/transformState/cropUnits.d.ts +21 -0
- package/dist/uploads/transformState/cropUnits.d.ts.map +1 -0
- package/dist/uploads/transformState/cropUnits.js +23 -0
- package/dist/uploads/transformState/cropUnits.js.map +1 -0
- package/dist/uploads/transformState/getChangedTransformKeys.d.ts +6 -0
- package/dist/uploads/transformState/getChangedTransformKeys.d.ts.map +1 -0
- package/dist/uploads/transformState/getChangedTransformKeys.js +12 -0
- package/dist/uploads/transformState/getChangedTransformKeys.js.map +1 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.d.ts +15 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.d.ts.map +1 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.js +28 -0
- package/dist/uploads/transformState/getTransformKeyCoverageErrors.js.map +1 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.d.ts +24 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.d.ts.map +1 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.js +32 -0
- package/dist/uploads/transformState/planPersistedDefaultStages.js.map +1 -0
- package/dist/uploads/transformState/planUpload.d.ts +120 -0
- package/dist/uploads/transformState/planUpload.d.ts.map +1 -0
- package/dist/uploads/transformState/planUpload.js +221 -0
- package/dist/uploads/transformState/planUpload.js.map +1 -0
- package/dist/uploads/transformState/transformKeyClaims.d.ts +14 -0
- package/dist/uploads/transformState/transformKeyClaims.d.ts.map +1 -0
- package/dist/uploads/transformState/transformKeyClaims.js +15 -0
- package/dist/uploads/transformState/transformKeyClaims.js.map +1 -0
- package/dist/uploads/transformState/transformStateInput.d.ts +52 -0
- package/dist/uploads/transformState/transformStateInput.d.ts.map +1 -0
- package/dist/uploads/transformState/transformStateInput.js +113 -0
- package/dist/uploads/transformState/transformStateInput.js.map +1 -0
- package/dist/uploads/transformState/transformStateSchema.d.ts +8 -0
- package/dist/uploads/transformState/transformStateSchema.d.ts.map +1 -0
- package/dist/uploads/transformState/transformStateSchema.js +155 -0
- package/dist/uploads/transformState/transformStateSchema.js.map +1 -0
- package/dist/uploads/transformState/validateTransformState.d.ts +15 -0
- package/dist/uploads/transformState/validateTransformState.d.ts.map +1 -0
- package/dist/uploads/transformState/validateTransformState.js +34 -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 +10 -3
- package/dist/uploads/transformers/handleDynamicFileRequest.d.ts.map +1 -1
- package/dist/uploads/transformers/handleDynamicFileRequest.js +183 -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 +96 -12
- package/dist/uploads/transformers/transformUploadFile.js.map +1 -1
- package/dist/uploads/transformers/types.d.ts +89 -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/types.d.ts +7 -1
- package/dist/uploads/types.d.ts.map +1 -1
- package/dist/uploads/types.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/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/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/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/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/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/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/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/package.json +3 -3
- package/skills/payload/SKILL.md +12 -9
- package/skills/payload/reference/ADAPTERS.md +21 -27
- package/skills/payload/reference/FIELDS.md +1 -1
- package/skills/payload/reference/HOOKS.md +1 -1
- package/skills/payload/reference/PLUGIN-DEVELOPMENT.md +1 -1
- 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 -650
- 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
|
@@ -1116,6 +1116,10 @@ type UserSession = {
|
|
|
1116
1116
|
createdAt?: Date | null | string;
|
|
1117
1117
|
expiresAt: Date | string;
|
|
1118
1118
|
id: string;
|
|
1119
|
+
/** What the session is, for people to read, e.g. "Claude Code" or "Chrome on macOS". */
|
|
1120
|
+
label?: null | string;
|
|
1121
|
+
/** More to show next to the label, e.g. `{ redirectHost: 'claude.ai' }`. Never anything secret. */
|
|
1122
|
+
metadata?: null | Record<string, unknown>;
|
|
1119
1123
|
/**
|
|
1120
1124
|
* How many times the session was refreshed with a refresh token. Refresh tokens remember it, so
|
|
1121
1125
|
* the latest one can be told apart from older ones.
|
|
@@ -1123,6 +1127,11 @@ type UserSession = {
|
|
|
1123
1127
|
refreshCount?: null | number;
|
|
1124
1128
|
/** When the session was last refreshed with a refresh token. */
|
|
1125
1129
|
refreshedAt?: Date | null | string;
|
|
1130
|
+
/**
|
|
1131
|
+
* How the session was created: `'login'` for a sign-in, or e.g. `'mcp'` for an MCP client the
|
|
1132
|
+
* user allowed. Plugins can use their own values.
|
|
1133
|
+
*/
|
|
1134
|
+
type?: null | string;
|
|
1126
1135
|
};
|
|
1127
1136
|
type GenerateVerifyEmailHTML<TUser = any> = (args: {
|
|
1128
1137
|
req: PayloadRequest;
|
|
@@ -3615,9 +3624,16 @@ type JSONField = {
|
|
|
3615
3624
|
editorOptions?: EditorProps['options'];
|
|
3616
3625
|
maxHeight?: number;
|
|
3617
3626
|
} & FieldAdmin;
|
|
3627
|
+
/** Customize the generated TypeScript type name for `jsonSchema`.
|
|
3628
|
+
*
|
|
3629
|
+
* This is useful if you would like to generate a top level type to share amongst collections/fields.
|
|
3630
|
+
* **Note**: Top level types can collide, ensure they are unique amongst collections, arrays, groups, blocks, tabs.
|
|
3631
|
+
*/
|
|
3632
|
+
interfaceName?: string;
|
|
3618
3633
|
jsonSchema?: {
|
|
3619
3634
|
fileMatch: string[];
|
|
3620
|
-
schema
|
|
3635
|
+
/** Inline schema. When omitted, the schema is fetched from `uri`. */
|
|
3636
|
+
schema?: JSONSchema4;
|
|
3621
3637
|
uri: string;
|
|
3622
3638
|
};
|
|
3623
3639
|
type: 'json';
|
|
@@ -4660,6 +4676,8 @@ type OriginalFileData = {
|
|
|
4660
4676
|
};
|
|
4661
4677
|
type FileSize = {
|
|
4662
4678
|
_objectKey?: string;
|
|
4679
|
+
/** `false` when the size has no stored file, because it is built when it is requested. */
|
|
4680
|
+
_stored?: false | null;
|
|
4663
4681
|
filename: null | string;
|
|
4664
4682
|
filesize: null | number;
|
|
4665
4683
|
height: null | number;
|
|
@@ -4673,6 +4691,8 @@ type FileSizes = {
|
|
|
4673
4691
|
};
|
|
4674
4692
|
type FileData = {
|
|
4675
4693
|
_objectKey?: string;
|
|
4694
|
+
/** `false` when no default file is stored, because it is built when it is requested. */
|
|
4695
|
+
_stored?: false | null;
|
|
4676
4696
|
filename: string;
|
|
4677
4697
|
filesize: number;
|
|
4678
4698
|
focalX?: number;
|
|
@@ -5055,6 +5075,8 @@ type SanitizedUploadConfig = {
|
|
|
5055
5075
|
* only — not authored on the collection.
|
|
5056
5076
|
*/
|
|
5057
5077
|
variants?: ImageSize[];
|
|
5078
|
+
/** The `slug` of the transformer that registered `variants` with `registerUploadVariants`. */
|
|
5079
|
+
variantsTransformerSlug?: string;
|
|
5058
5080
|
} & UploadConfig;
|
|
5059
5081
|
type File$1 = {
|
|
5060
5082
|
/**
|
|
@@ -6260,18 +6282,91 @@ type ScheduleConfig = {
|
|
|
6260
6282
|
queue: string;
|
|
6261
6283
|
};
|
|
6262
6284
|
|
|
6285
|
+
/**
|
|
6286
|
+
* A lazy, storage-neutral, read-only view of a file. No bytes are read until a method is
|
|
6287
|
+
* called, and each call reads the file again. A byte range is up to `numberOfBytes` bytes
|
|
6288
|
+
* starting at `startByte`. A range that runs past `sizeInBytes` stops at the end of the file.
|
|
6289
|
+
*/
|
|
6290
|
+
type FileSource = {
|
|
6291
|
+
filename: string;
|
|
6292
|
+
mimeType: string;
|
|
6293
|
+
/**
|
|
6294
|
+
* Loads one small byte range into memory. There is no limit on how many bytes one read loads
|
|
6295
|
+
* yet; a limit belongs to the Metadata API. `signal` is checked only before and after the read.
|
|
6296
|
+
*/
|
|
6297
|
+
readFileBytes: (args: {
|
|
6298
|
+
numberOfBytes: number;
|
|
6299
|
+
signal?: AbortSignal;
|
|
6300
|
+
startByte: number;
|
|
6301
|
+
}) => Promise<Uint8Array>;
|
|
6302
|
+
sizeInBytes: number;
|
|
6303
|
+
/**
|
|
6304
|
+
* Streams the byte range, or the whole file when called with no range. A transformer that
|
|
6305
|
+
* needs the whole file in memory must enforce its own byte limit while it reads the stream.
|
|
6306
|
+
*/
|
|
6307
|
+
streamFile: (args?: {
|
|
6308
|
+
numberOfBytes?: number;
|
|
6309
|
+
signal?: AbortSignal;
|
|
6310
|
+
startByte?: number;
|
|
6311
|
+
}) => Promise<ReadableStream<Uint8Array>>;
|
|
6312
|
+
};
|
|
6263
6313
|
type CanTransformArgs = {
|
|
6264
6314
|
collectionSlug: string;
|
|
6315
|
+
/** The current document. Read-only: routing must not change it. */
|
|
6316
|
+
doc: Readonly<Document>;
|
|
6265
6317
|
documentID?: number | string;
|
|
6266
6318
|
mimeType: string;
|
|
6267
6319
|
operation: 'request' | 'upload';
|
|
6320
|
+
/**
|
|
6321
|
+
* A frozen snapshot of the document, taken before the pipeline runs. This is not the hooks
|
|
6322
|
+
* `originalDoc`: on an update, it already includes the incoming data.
|
|
6323
|
+
*/
|
|
6324
|
+
originalDoc: Readonly<Document>;
|
|
6325
|
+
/**
|
|
6326
|
+
* The phase a request plan is for. `persisted-default` applies the saved `_transforms`, and runs
|
|
6327
|
+
* only when the requested file is not stored. `request-override` applies the request's own parameters.
|
|
6328
|
+
* Not set on upload.
|
|
6329
|
+
*/
|
|
6330
|
+
purpose?: 'persisted-default' | 'request-override';
|
|
6268
6331
|
req: PayloadRequest;
|
|
6269
6332
|
};
|
|
6333
|
+
/**
|
|
6334
|
+
* `true` or `false` decides only whether the transformer runs. The object form also lists the
|
|
6335
|
+
* saved `_transforms` keys this stage applies, and the options this stage gets. Every saved key
|
|
6336
|
+
* that must run needs exactly one claiming stage, or the operation fails before any file work.
|
|
6337
|
+
*/
|
|
6338
|
+
type CanTransformResult<TOptions = unknown> = {
|
|
6339
|
+
canTransform: true;
|
|
6340
|
+
/** The `_transforms` keys this stage applies, for example `['crop']`. */
|
|
6341
|
+
handledTransformKeys?: string[];
|
|
6342
|
+
/**
|
|
6343
|
+
* Passed as `options` to this stage's `transformFile` or `handleRequest`. A transformer
|
|
6344
|
+
* planned in both request phases gets the options of each phase's own `canTransform` call.
|
|
6345
|
+
*/
|
|
6346
|
+
options?: TOptions;
|
|
6347
|
+
} | boolean;
|
|
6270
6348
|
type TransformFileArgs<TOptions = unknown> = {
|
|
6271
6349
|
collectionSlug: string;
|
|
6350
|
+
/**
|
|
6351
|
+
* The working copy of the document, passed in order through the stages. A stage may change
|
|
6352
|
+
* `doc._transforms`, and later stages see the change. Payload saves the final value, after the
|
|
6353
|
+
* normal hooks and validation. A change to any other field fails the upload.
|
|
6354
|
+
*/
|
|
6355
|
+
doc: Document;
|
|
6356
|
+
/** The current pipeline file. The same file as `source`. */
|
|
6272
6357
|
file: File;
|
|
6358
|
+
/** The options from this stage's `canTransform` result, or `undefined`. */
|
|
6273
6359
|
options: TOptions;
|
|
6360
|
+
/**
|
|
6361
|
+
* A frozen snapshot of the document, taken before the pipeline runs. This is not the hooks
|
|
6362
|
+
* `originalDoc`: on an update, it already includes the incoming data.
|
|
6363
|
+
*/
|
|
6364
|
+
originalDoc: Readonly<Document>;
|
|
6365
|
+
/** The retained original file, before any transformer changed it. */
|
|
6366
|
+
originalSource: FileSource;
|
|
6274
6367
|
req: PayloadRequest;
|
|
6368
|
+
/** The current pipeline file: the upload, or the file that the previous stage returned. */
|
|
6369
|
+
source: FileSource;
|
|
6275
6370
|
};
|
|
6276
6371
|
type TransformFileResult = {
|
|
6277
6372
|
file: File;
|
|
@@ -6280,13 +6375,26 @@ type TransformFileResult = {
|
|
|
6280
6375
|
file?: File;
|
|
6281
6376
|
status: 'continue';
|
|
6282
6377
|
};
|
|
6283
|
-
type HandleTransformRequestArgs = {
|
|
6378
|
+
type HandleTransformRequestArgs<TOptions = unknown> = {
|
|
6284
6379
|
collectionSlug: string;
|
|
6380
|
+
/** The requested document. Read-only: a request does not save changes. */
|
|
6381
|
+
doc: Readonly<Document>;
|
|
6285
6382
|
documentID: number | string;
|
|
6286
6383
|
filename: string;
|
|
6384
|
+
/**
|
|
6385
|
+
* Reads the retained original file. Each stage gets its own getter, which can be called once.
|
|
6386
|
+
* Payload closes the response when the stage does not return it.
|
|
6387
|
+
*/
|
|
6388
|
+
getOriginalFile: () => Promise<Response>;
|
|
6287
6389
|
getSourceFile: () => Promise<Response>;
|
|
6288
6390
|
mimeType: string;
|
|
6391
|
+
/** The options from this phase's `canTransform` result, or `undefined`. */
|
|
6392
|
+
options: TOptions;
|
|
6393
|
+
/** A frozen snapshot of the requested document. */
|
|
6394
|
+
originalDoc: Readonly<Document>;
|
|
6289
6395
|
req: PayloadRequest;
|
|
6396
|
+
/** The name of the requested size in `upload.variants`, or `undefined` for the main file. */
|
|
6397
|
+
variantName?: string;
|
|
6290
6398
|
};
|
|
6291
6399
|
type HandleTransformRequestResult = {
|
|
6292
6400
|
response: Response;
|
|
@@ -6304,7 +6412,7 @@ type UploadTransformer = {
|
|
|
6304
6412
|
* Inexpensive, side-effect-free routing predicate. Must not fetch the source,
|
|
6305
6413
|
* call an external service, or perform the transformation.
|
|
6306
6414
|
*/
|
|
6307
|
-
canTransform?: (args: CanTransformArgs) =>
|
|
6415
|
+
canTransform?: (args: CanTransformArgs) => CanTransformResult | Promise<CanTransformResult>;
|
|
6308
6416
|
/**
|
|
6309
6417
|
* Handles one stage of a dynamic transformation request.
|
|
6310
6418
|
*/
|
|
@@ -6666,6 +6774,11 @@ type PayloadHandler = (req: PayloadRequest) => Promise<Response> | Response;
|
|
|
6666
6774
|
type Endpoint = {
|
|
6667
6775
|
/** Extension point to add your custom data. */
|
|
6668
6776
|
custom?: Record<string, any>;
|
|
6777
|
+
/**
|
|
6778
|
+
* Skip Payload's authentication before the handler runs, so `req.user` is `null`. Use this when
|
|
6779
|
+
* the handler authenticates the request itself, e.g. with `req.payload.auth()`.
|
|
6780
|
+
*/
|
|
6781
|
+
disableAuth?: boolean;
|
|
6669
6782
|
/**
|
|
6670
6783
|
* Middleware that will be called when the path/method matches
|
|
6671
6784
|
*
|
|
@@ -6680,13 +6793,6 @@ type Endpoint = {
|
|
|
6680
6793
|
* Compatible with the Express router
|
|
6681
6794
|
*/
|
|
6682
6795
|
path: string;
|
|
6683
|
-
/**
|
|
6684
|
-
* Please add "root" routes under the /api folder in the Payload Project.
|
|
6685
|
-
* https://nextjs.org/docs/app/api-reference/file-conventions/route
|
|
6686
|
-
*
|
|
6687
|
-
* @deprecated in 3.0
|
|
6688
|
-
*/
|
|
6689
|
-
root?: never;
|
|
6690
6796
|
};
|
|
6691
6797
|
/**
|
|
6692
6798
|
* @deprecated
|
|
@@ -8121,6 +8227,11 @@ type FieldState = {
|
|
|
8121
8227
|
Field?: React.ReactNode;
|
|
8122
8228
|
Label?: React.ReactNode;
|
|
8123
8229
|
};
|
|
8230
|
+
/**
|
|
8231
|
+
* Excludes this field's own value when form state is converted to document data, so the value is not submitted with the form.
|
|
8232
|
+
* The value remains available in form state.
|
|
8233
|
+
* Descendant fields are serialized independently.
|
|
8234
|
+
*/
|
|
8124
8235
|
disableFormData?: boolean;
|
|
8125
8236
|
errorMessage?: string;
|
|
8126
8237
|
errorPaths?: string[];
|
|
@@ -8826,6 +8937,8 @@ type ServerFunctionArgs = {
|
|
|
8826
8937
|
};
|
|
8827
8938
|
type ServerFunctionClientArgs = {
|
|
8828
8939
|
args: Record<string, unknown>;
|
|
8940
|
+
/** The locale of the rendered page making this request. */
|
|
8941
|
+
locale?: Locale['code'];
|
|
8829
8942
|
name: string;
|
|
8830
8943
|
};
|
|
8831
8944
|
type ServerFunctionClient = (args: ServerFunctionClientArgs) => Promise<unknown> | unknown;
|
|
@@ -13206,7 +13319,7 @@ declare const verificationFields: Field[];
|
|
|
13206
13319
|
* Starts a login session for the user and signs the JWT for it, the same token a password login
|
|
13207
13320
|
* returns. Payload's JWT strategy accepts it. The session is saved on the user right away.
|
|
13208
13321
|
*/
|
|
13209
|
-
declare const createAuthToken: ({ collectionConfig, email, req, shouldCreateRefreshToken, user, }: {
|
|
13322
|
+
declare const createAuthToken: ({ type, collectionConfig, email, label, metadata, req, shouldCreateRefreshToken, user, }: {
|
|
13210
13323
|
collectionConfig: SanitizedCollectionConfig;
|
|
13211
13324
|
/** The `email` claim of the token. */
|
|
13212
13325
|
email: string;
|
|
@@ -13218,7 +13331,7 @@ declare const createAuthToken: ({ collectionConfig, email, req, shouldCreateRefr
|
|
|
13218
13331
|
*/
|
|
13219
13332
|
shouldCreateRefreshToken?: boolean;
|
|
13220
13333
|
user: AuthenticatedUser;
|
|
13221
|
-
}) => Promise<{
|
|
13334
|
+
} & Pick<UserSession, "label" | "metadata" | "type">) => Promise<{
|
|
13222
13335
|
exp: number;
|
|
13223
13336
|
refreshToken?: string;
|
|
13224
13337
|
/**
|
|
@@ -13309,12 +13422,12 @@ type Result<TData> = {
|
|
|
13309
13422
|
};
|
|
13310
13423
|
declare const registerFirstUserOperation: <TSlug extends AuthCollectionSlug>(args: Arguments$7<TSlug>) => Promise<Result<DataFromCollectionSlug<TSlug>>>;
|
|
13311
13424
|
|
|
13312
|
-
type Args$
|
|
13425
|
+
type Args$i = {
|
|
13313
13426
|
collection: Collection;
|
|
13314
13427
|
req: PayloadRequest;
|
|
13315
13428
|
token: string;
|
|
13316
13429
|
};
|
|
13317
|
-
declare const verifyEmailOperation: (args: Args$
|
|
13430
|
+
declare const verifyEmailOperation: (args: Args$i) => Promise<boolean>;
|
|
13318
13431
|
|
|
13319
13432
|
/**
|
|
13320
13433
|
* Trades a refresh token from `createAuthToken` or an earlier refresh for a new token and a new
|
|
@@ -13328,11 +13441,18 @@ declare const verifyEmailOperation: (args: Args$k) => Promise<boolean>;
|
|
|
13328
13441
|
* @returns `null` when the refresh token is invalid, its session ended, it was reused, or its user
|
|
13329
13442
|
* is in the trash or not verified
|
|
13330
13443
|
*/
|
|
13331
|
-
declare const redeemRefreshToken: ({ collection, refreshToken, req, }: {
|
|
13444
|
+
declare const redeemRefreshToken: ({ collection, refreshToken, req, reuseInterval, }: {
|
|
13332
13445
|
/** Only accept refresh tokens of this collection. */
|
|
13333
13446
|
collection?: string;
|
|
13334
13447
|
refreshToken: string;
|
|
13335
13448
|
req: PayloadRequest;
|
|
13449
|
+
/**
|
|
13450
|
+
* How long the refresh token from right before the latest refresh still works, in milliseconds.
|
|
13451
|
+
* Clients that send requests in parallel can refresh twice at once. `0` means none.
|
|
13452
|
+
*
|
|
13453
|
+
* @default 30000
|
|
13454
|
+
*/
|
|
13455
|
+
reuseInterval?: number;
|
|
13336
13456
|
}) => Promise<{
|
|
13337
13457
|
collectionConfig: SanitizedCollectionConfig;
|
|
13338
13458
|
exp: number;
|
|
@@ -13396,20 +13516,20 @@ declare const rotateSecret: ({ batchSize, collections, dryRun, oldSecret, payloa
|
|
|
13396
13516
|
*/
|
|
13397
13517
|
declare const JWTAuthentication: AuthStrategyFunction;
|
|
13398
13518
|
|
|
13399
|
-
type Args$
|
|
13519
|
+
type Args$h = {
|
|
13400
13520
|
collection: SanitizedCollectionConfig;
|
|
13401
13521
|
payload: Payload;
|
|
13402
13522
|
user: User;
|
|
13403
13523
|
};
|
|
13404
|
-
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$
|
|
13524
|
+
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$h) => Promise<void>;
|
|
13405
13525
|
|
|
13406
|
-
type Args$
|
|
13526
|
+
type Args$g = {
|
|
13407
13527
|
collection: SanitizedCollectionConfig;
|
|
13408
13528
|
doc: Record<string, unknown> & TypeWithID;
|
|
13409
13529
|
payload: Payload;
|
|
13410
13530
|
req: PayloadRequest;
|
|
13411
13531
|
};
|
|
13412
|
-
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$
|
|
13532
|
+
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$g) => Promise<void>;
|
|
13413
13533
|
|
|
13414
13534
|
declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fields, importMap, imports, }: {
|
|
13415
13535
|
addToImportMap: AddToImportMap;
|
|
@@ -13643,6 +13763,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13643
13763
|
depth?: number | undefined;
|
|
13644
13764
|
fallbackLocale?: string | false | undefined;
|
|
13645
13765
|
locale?: string | undefined;
|
|
13766
|
+
trash?: boolean | undefined;
|
|
13646
13767
|
where?: unknown;
|
|
13647
13768
|
}, {
|
|
13648
13769
|
slug: string;
|
|
@@ -13650,6 +13771,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13650
13771
|
id?: string | number | undefined;
|
|
13651
13772
|
fallbackLocale?: string | false | undefined;
|
|
13652
13773
|
locale?: string | undefined;
|
|
13774
|
+
trash?: boolean | undefined;
|
|
13653
13775
|
where?: Where | undefined;
|
|
13654
13776
|
}> & z.ZodMiniObject<{
|
|
13655
13777
|
id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
|
|
@@ -13657,6 +13779,7 @@ declare const deleteDocumentsInputSchema: _standard_schema_spec.StandardJSONSche
|
|
|
13657
13779
|
depth: z.ZodMiniDefault<z.ZodMiniInt>;
|
|
13658
13780
|
fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
|
|
13659
13781
|
locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
13782
|
+
trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
13660
13783
|
where: z.ZodMiniOptional<z.ZodMiniType<Where, unknown, z.core.$ZodTypeInternals<Where, unknown>>>;
|
|
13661
13784
|
}, z.core.$strict>;
|
|
13662
13785
|
/** For trusted local callers only. Includes access bypass. */
|
|
@@ -13667,6 +13790,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13667
13790
|
depth?: number | undefined;
|
|
13668
13791
|
fallbackLocale?: string | false | undefined;
|
|
13669
13792
|
locale?: string | undefined;
|
|
13793
|
+
trash?: boolean | undefined;
|
|
13670
13794
|
where?: unknown;
|
|
13671
13795
|
}, {
|
|
13672
13796
|
overrideAccess: boolean;
|
|
@@ -13675,6 +13799,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13675
13799
|
id?: string | number | undefined;
|
|
13676
13800
|
fallbackLocale?: string | false | undefined;
|
|
13677
13801
|
locale?: string | undefined;
|
|
13802
|
+
trash?: boolean | undefined;
|
|
13678
13803
|
where?: Where | undefined;
|
|
13679
13804
|
}> & z.ZodMiniObject<{
|
|
13680
13805
|
overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
|
|
@@ -13683,6 +13808,7 @@ declare const deleteDocumentsLocalInputSchema: _standard_schema_spec.StandardJSO
|
|
|
13683
13808
|
depth: z.ZodMiniDefault<z.ZodMiniInt>;
|
|
13684
13809
|
fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
|
|
13685
13810
|
locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
13811
|
+
trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
13686
13812
|
where: z.ZodMiniOptional<z.ZodMiniType<Where, unknown, z.core.$ZodTypeInternals<Where, unknown>>>;
|
|
13687
13813
|
}, z.core.$strict>;
|
|
13688
13814
|
declare const duplicateDocumentInputSchema: _standard_schema_spec.StandardJSONSchemaV1<{
|
|
@@ -14559,7 +14685,7 @@ declare const writeMigrationIndex: (args: {
|
|
|
14559
14685
|
migrationsDir: string;
|
|
14560
14686
|
}) => void;
|
|
14561
14687
|
|
|
14562
|
-
type Args$
|
|
14688
|
+
type Args$f = {
|
|
14563
14689
|
errors?: {
|
|
14564
14690
|
path: string;
|
|
14565
14691
|
}[];
|
|
@@ -14577,9 +14703,9 @@ type Args$h = {
|
|
|
14577
14703
|
collectionConfig?: never | undefined;
|
|
14578
14704
|
globalConfig: SanitizedGlobalConfig;
|
|
14579
14705
|
});
|
|
14580
|
-
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, showHiddenFields, versionFields, where, }: Args$
|
|
14706
|
+
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, showHiddenFields, versionFields, where, }: Args$f): Promise<void>;
|
|
14581
14707
|
|
|
14582
|
-
type Args$
|
|
14708
|
+
type Args$e = {
|
|
14583
14709
|
collectionConfig?: SanitizedCollectionConfig;
|
|
14584
14710
|
constraint: WhereField;
|
|
14585
14711
|
errors: {
|
|
@@ -14601,7 +14727,7 @@ type Args$g = {
|
|
|
14601
14727
|
/**
|
|
14602
14728
|
* Validate the Payload key / value / operator
|
|
14603
14729
|
*/
|
|
14604
|
-
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, showHiddenFields, val, versionFields, }: Args$
|
|
14730
|
+
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, showHiddenFields, val, versionFields, }: Args$e): Promise<void>;
|
|
14605
14731
|
|
|
14606
14732
|
type AuthorshipFieldArgs = {
|
|
14607
14733
|
/**
|
|
@@ -14628,7 +14754,7 @@ declare const baseBlockFields: Field[];
|
|
|
14628
14754
|
|
|
14629
14755
|
declare const baseIDField: TextField;
|
|
14630
14756
|
|
|
14631
|
-
type Args$
|
|
14757
|
+
type Args$d = {
|
|
14632
14758
|
collection: SanitizedCollectionConfig;
|
|
14633
14759
|
field: string;
|
|
14634
14760
|
/** Exclude this doc from the check, so a regenerate can reuse its own value. */
|
|
@@ -14645,7 +14771,7 @@ type Args$f = {
|
|
|
14645
14771
|
* The format is: `<singular>-<N>`, where `N` is the first available integer. Uses the collection's singular
|
|
14646
14772
|
* label when it resolves to a plain string, otherwise the collection slug. See {@link getUniqueFieldValue}.
|
|
14647
14773
|
*/
|
|
14648
|
-
declare const getSlugFallbackValue: ({ id, collection, field, locale, overrideAccess, req, slugify, }: Args$
|
|
14774
|
+
declare const getSlugFallbackValue: ({ id, collection, field, locale, overrideAccess, req, slugify, }: Args$d) => Promise<string>;
|
|
14649
14775
|
|
|
14650
14776
|
/**
|
|
14651
14777
|
* Info about an orderable join field, collected during sanitization
|
|
@@ -14756,16 +14882,16 @@ type SanitizeFieldResult = {
|
|
|
14756
14882
|
declare const sanitizeField: ({ collectionConfig, config, existingFieldNames, field, globalConfig, index, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizers, validRelationships, }: SanitizeFieldArgs) => SanitizeFieldResult;
|
|
14757
14883
|
declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizers, validRelationships, }: SanitizeFieldsArgs) => Field[];
|
|
14758
14884
|
|
|
14759
|
-
type Args$
|
|
14885
|
+
type Args$c = {
|
|
14760
14886
|
defaultValue: DefaultValue;
|
|
14761
14887
|
locale: string | undefined;
|
|
14762
14888
|
req: PayloadRequest;
|
|
14763
14889
|
user: PayloadRequest['user'];
|
|
14764
14890
|
value?: JsonValue;
|
|
14765
14891
|
};
|
|
14766
|
-
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$
|
|
14892
|
+
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$c) => Promise<JsonValue>;
|
|
14767
14893
|
|
|
14768
|
-
type Args$
|
|
14894
|
+
type Args$b = {
|
|
14769
14895
|
/**
|
|
14770
14896
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14771
14897
|
*/
|
|
@@ -14791,9 +14917,9 @@ type Args$d = {
|
|
|
14791
14917
|
siblingDoc: JsonObject;
|
|
14792
14918
|
siblingFields?: (Field | TabAsField)[];
|
|
14793
14919
|
};
|
|
14794
|
-
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$
|
|
14920
|
+
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>;
|
|
14795
14921
|
|
|
14796
|
-
type Args$
|
|
14922
|
+
type Args$a = {
|
|
14797
14923
|
/**
|
|
14798
14924
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14799
14925
|
*/
|
|
@@ -14841,9 +14967,9 @@ type Args$c = {
|
|
|
14841
14967
|
triggerAccessControl?: boolean;
|
|
14842
14968
|
triggerHooks?: boolean;
|
|
14843
14969
|
} & Required<Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>>;
|
|
14844
|
-
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$
|
|
14970
|
+
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>;
|
|
14845
14971
|
|
|
14846
|
-
type Args$
|
|
14972
|
+
type Args$9 = {
|
|
14847
14973
|
/**
|
|
14848
14974
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14849
14975
|
*/
|
|
@@ -14890,9 +15016,9 @@ type Args$b = {
|
|
|
14890
15016
|
triggerAccessControl?: boolean;
|
|
14891
15017
|
triggerHooks?: boolean;
|
|
14892
15018
|
};
|
|
14893
|
-
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$
|
|
15019
|
+
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;
|
|
14894
15020
|
|
|
14895
|
-
type Args$
|
|
15021
|
+
type Args$8 = {
|
|
14896
15022
|
/**
|
|
14897
15023
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14898
15024
|
*/
|
|
@@ -14952,9 +15078,9 @@ type Args$a = {
|
|
|
14952
15078
|
* - Transform data for storage
|
|
14953
15079
|
* - Unflatten locales. The input `data` is the normal document for one locale. The output result will become the document with locales.
|
|
14954
15080
|
*/
|
|
14955
|
-
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$
|
|
15081
|
+
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>;
|
|
14956
15082
|
|
|
14957
|
-
type Args$
|
|
15083
|
+
type Args$7<T> = {
|
|
14958
15084
|
/**
|
|
14959
15085
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
14960
15086
|
*/
|
|
@@ -14990,7 +15116,7 @@ type Args$9<T> = {
|
|
|
14990
15116
|
*/
|
|
14991
15117
|
siblingDoc: JsonObject;
|
|
14992
15118
|
};
|
|
14993
|
-
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$
|
|
15119
|
+
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>;
|
|
14994
15120
|
|
|
14995
15121
|
declare const sortableFieldTypes: string[];
|
|
14996
15122
|
|
|
@@ -15409,7 +15535,7 @@ type Arguments = {
|
|
|
15409
15535
|
};
|
|
15410
15536
|
declare const restoreVersionOperation: <T extends JsonObject = any>(args: Arguments) => Promise<T>;
|
|
15411
15537
|
|
|
15412
|
-
type Args$
|
|
15538
|
+
type Args$6<TSlug extends GlobalSlug> = {
|
|
15413
15539
|
autosave?: boolean;
|
|
15414
15540
|
data: DeepPartial<Omit<DataFromGlobalSlug<TSlug>, 'id'>>;
|
|
15415
15541
|
depth?: number;
|
|
@@ -15425,7 +15551,7 @@ type Args$8<TSlug extends GlobalSlug> = {
|
|
|
15425
15551
|
slug: string;
|
|
15426
15552
|
unpublishAllLocales?: boolean;
|
|
15427
15553
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
15428
|
-
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$
|
|
15554
|
+
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$6<TSlug>) => Promise<TransformGlobalWithSelect<TSlug, TSelect>>;
|
|
15429
15555
|
|
|
15430
15556
|
/**
|
|
15431
15557
|
* Default field names and constants for hierarchy feature
|
|
@@ -15719,6 +15845,24 @@ declare function generatePayloadFileURL({ collectionSlug, config, filename, pref
|
|
|
15719
15845
|
|
|
15720
15846
|
declare const getFileByPath: (filePath: string) => Promise<PayloadRequest["file"]>;
|
|
15721
15847
|
|
|
15848
|
+
/**
|
|
15849
|
+
* Registers a transformer's image sizes on upload collections. Call it from a transformer's
|
|
15850
|
+
* `init`. It checks each collection and size name, then writes the sizes (name and admin options
|
|
15851
|
+
* only) to the collection's sanitized `upload.variants`. Only one transformer can register sizes
|
|
15852
|
+
* on a collection. It writes onto copies and never changes the given config.
|
|
15853
|
+
*
|
|
15854
|
+
* @param transformerSlug The registering transformer's `slug`, saved as the owner of the sizes and
|
|
15855
|
+
* used in error messages. It must match a transformer in `upload.transformers`. Payload writes
|
|
15856
|
+
* size entries with no stored file only when this transformer builds files at request time.
|
|
15857
|
+
*/
|
|
15858
|
+
declare function registerUploadVariants({ collections, config, transformerSlug, }: {
|
|
15859
|
+
collections: Partial<Record<string, {
|
|
15860
|
+
variants?: ImageSize[];
|
|
15861
|
+
}>>;
|
|
15862
|
+
config: Config;
|
|
15863
|
+
transformerSlug: string;
|
|
15864
|
+
}): Config;
|
|
15865
|
+
|
|
15722
15866
|
/**
|
|
15723
15867
|
* @internal this is used to mock the IP `lookup` function in integration tests
|
|
15724
15868
|
*/
|
|
@@ -15802,7 +15946,7 @@ type CreatePayloadRequestArgs = {
|
|
|
15802
15946
|
type CreatePayloadRequest = (args: CreatePayloadRequestArgs) => Promise<PayloadRequest>;
|
|
15803
15947
|
declare const createPayloadRequest: CreatePayloadRequest;
|
|
15804
15948
|
|
|
15805
|
-
type Args$
|
|
15949
|
+
type Args$5 = {
|
|
15806
15950
|
canSetHeaders?: boolean;
|
|
15807
15951
|
config: Promise<SanitizedConfig> | SanitizedConfig;
|
|
15808
15952
|
params?: {
|
|
@@ -15810,8 +15954,14 @@ type Args$7 = {
|
|
|
15810
15954
|
};
|
|
15811
15955
|
payloadInstanceCacheKey?: string;
|
|
15812
15956
|
request: Request;
|
|
15957
|
+
/**
|
|
15958
|
+
* Run the auth strategies and set `req.user`.
|
|
15959
|
+
*
|
|
15960
|
+
* @default true
|
|
15961
|
+
*/
|
|
15962
|
+
shouldAuthenticate?: boolean;
|
|
15813
15963
|
};
|
|
15814
|
-
declare const createPayloadRequestFromWebRequest: ({ canSetHeaders, config: configPromise, params, payloadInstanceCacheKey, request, }: Args$
|
|
15964
|
+
declare const createPayloadRequestFromWebRequest: ({ canSetHeaders, config: configPromise, params, payloadInstanceCacheKey, request, shouldAuthenticate, }: Args$5) => Promise<PayloadRequest>;
|
|
15815
15965
|
|
|
15816
15966
|
declare const deepCopyObject: <T>(o: T) => T;
|
|
15817
15967
|
/**
|
|
@@ -16116,7 +16266,7 @@ type GetRequestLanguageArgs = {
|
|
|
16116
16266
|
};
|
|
16117
16267
|
declare const getRequestLanguage: ({ config, cookies, headers, }: GetRequestLanguageArgs) => AcceptedLanguages;
|
|
16118
16268
|
|
|
16119
|
-
type Args$
|
|
16269
|
+
type Args$4 = {
|
|
16120
16270
|
collection: string;
|
|
16121
16271
|
/** Also treat a value taken by a draft-only version as unavailable. */
|
|
16122
16272
|
draftsEnabled?: boolean;
|
|
@@ -16139,7 +16289,7 @@ type Args$6 = {
|
|
|
16139
16289
|
* Returns the first available value for `field` in `collection` — either the bare `value` or a
|
|
16140
16290
|
* `value-N` variant. Useful when a unique field value is minted outside the operation pipeline.
|
|
16141
16291
|
*/
|
|
16142
|
-
declare const getUniqueFieldValue: ({ id, collection, draftsEnabled, field, locale, overrideAccess, req, startIndex, value, }: Args$
|
|
16292
|
+
declare const getUniqueFieldValue: ({ id, collection, draftsEnabled, field, locale, overrideAccess, req, startIndex, value, }: Args$4) => Promise<string>;
|
|
16143
16293
|
|
|
16144
16294
|
type EntityConfig = Pick<CollectionConfig | GlobalConfig, 'versions'>;
|
|
16145
16295
|
/**
|
|
@@ -16327,7 +16477,7 @@ type ParsedParams = {
|
|
|
16327
16477
|
*/
|
|
16328
16478
|
declare const parseParams: (params: RawParams) => ParsedParams;
|
|
16329
16479
|
|
|
16330
|
-
interface Args$
|
|
16480
|
+
interface Args$3 {
|
|
16331
16481
|
fallbackLocale: TypedFallbackLocale;
|
|
16332
16482
|
locale: string;
|
|
16333
16483
|
localization: SanitizedLocalizationConfig;
|
|
@@ -16340,7 +16490,7 @@ interface Args$5 {
|
|
|
16340
16490
|
* - determines if a locale specific fallback should be used in place of the default locale
|
|
16341
16491
|
* - sets the fallbackLocale to 'null' if no fallback locale should be used
|
|
16342
16492
|
*/
|
|
16343
|
-
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$
|
|
16493
|
+
declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$3) => TypedFallbackLocale;
|
|
16344
16494
|
|
|
16345
16495
|
/**
|
|
16346
16496
|
* Sanitizes REST populate query to PopulateType
|
|
@@ -16441,7 +16591,7 @@ declare const versionDefaults: {
|
|
|
16441
16591
|
autosaveInterval: number;
|
|
16442
16592
|
};
|
|
16443
16593
|
|
|
16444
|
-
type Args$
|
|
16594
|
+
type Args$2 = {
|
|
16445
16595
|
id?: number | string;
|
|
16446
16596
|
/**
|
|
16447
16597
|
* Delete the versions of many parent documents at once. Takes precedence over `id`.
|
|
@@ -16457,7 +16607,7 @@ type Args$4 = {
|
|
|
16457
16607
|
* @internal - this may break or be removed at any time. It is exported from the package root only
|
|
16458
16608
|
* so that Payload 2.x `payload/versions` imports keep resolving, not as an API to build on.
|
|
16459
16609
|
*/
|
|
16460
|
-
declare const deleteCollectionVersions: ({ id, slug, ids, payload, req, }: Args$
|
|
16610
|
+
declare const deleteCollectionVersions: ({ id, slug, ids, payload, req, }: Args$2) => Promise<void>;
|
|
16461
16611
|
|
|
16462
16612
|
declare const appendVersionToQueryKey: (query?: Where) => Where;
|
|
16463
16613
|
|
|
@@ -16470,7 +16620,7 @@ declare const getQueryDraftsSort: ({ collectionConfig, sort, }: {
|
|
|
16470
16620
|
sort?: Sort;
|
|
16471
16621
|
}) => Sort;
|
|
16472
16622
|
|
|
16473
|
-
type Args$
|
|
16623
|
+
type Args$1 = {
|
|
16474
16624
|
collection?: SanitizedCollectionConfig;
|
|
16475
16625
|
global?: SanitizedGlobalConfig;
|
|
16476
16626
|
id?: number | string;
|
|
@@ -16478,31 +16628,7 @@ type Args$3 = {
|
|
|
16478
16628
|
payload: Payload;
|
|
16479
16629
|
req?: PayloadRequest;
|
|
16480
16630
|
};
|
|
16481
|
-
declare const enforceMaxVersions: ({ id, collection, global: globalConfig, max, payload, req, }: Args$
|
|
16482
|
-
|
|
16483
|
-
type Args$2 = {
|
|
16484
|
-
config: SanitizedCollectionConfig;
|
|
16485
|
-
id: number | string;
|
|
16486
|
-
payload: Payload;
|
|
16487
|
-
published?: boolean;
|
|
16488
|
-
query: FindOneArgs;
|
|
16489
|
-
req?: PayloadRequest;
|
|
16490
|
-
};
|
|
16491
|
-
declare const getLatestCollectionVersion: <T extends TypeWithID = any>({ id, config, payload, published, query, req, }: Args$2) => Promise<T | undefined>;
|
|
16492
|
-
|
|
16493
|
-
type Args$1 = {
|
|
16494
|
-
config: SanitizedGlobalConfig;
|
|
16495
|
-
locale?: string;
|
|
16496
|
-
payload: Payload;
|
|
16497
|
-
published?: boolean;
|
|
16498
|
-
req?: PayloadRequest;
|
|
16499
|
-
slug: string;
|
|
16500
|
-
where: Where;
|
|
16501
|
-
};
|
|
16502
|
-
declare const getLatestGlobalVersion: ({ slug, config, locale, payload, published, req, where, }: Args$1) => Promise<{
|
|
16503
|
-
global: Document;
|
|
16504
|
-
globalExists: boolean;
|
|
16505
|
-
}>;
|
|
16631
|
+
declare const enforceMaxVersions: ({ id, collection, global: globalConfig, max, payload, req, }: Args$1) => Promise<void>;
|
|
16506
16632
|
|
|
16507
16633
|
type Args<T extends JsonObject = JsonObject> = {
|
|
16508
16634
|
autosave?: boolean;
|
|
@@ -17108,5 +17234,5 @@ interface GlobalAdminCustom extends Record<string, any> {
|
|
|
17108
17234
|
interface GlobalAdminCustom extends Record<string, any> {
|
|
17109
17235
|
}
|
|
17110
17236
|
|
|
17111
|
-
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JWT_AUTH_VERSION, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, TransformerContractError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addDefaultsToConfig, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, batchProcessing, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countDocumentsInputSchema, countDocumentsLocalInputSchema, countGlobalVersionsInputSchema, countGlobalVersionsLocalInputSchema, countOperation, countRunnableOrActiveJobsForQueue, countVersionsInputSchema, countVersionsLocalInputSchema, createAPIKeyFields, createArrayFromCommaDelineated, createAuthToken, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createCreatedByField, createDatabaseAdapter, createDataloaderCacheKey, createDocumentsInputSchema, createDocumentsLocalInputSchema, createFolderField, createMigration, createOperation, createPayloadRequest, createPayloadRequestFromWebRequest, createTagField, createUnauthenticatedClientConfig, createUpdatedByField, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteDocumentsInputSchema, deleteDocumentsLocalInputSchema, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateDocumentInputSchema, duplicateDocumentLocalInputSchema, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, entityToStandaloneJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findDistinctInputSchema, findDistinctLocalInputSchema, findDocumentsInputSchema, findDocumentsLocalInputSchema, findGlobalInputSchema, findGlobalLocalInputSchema, findGlobalVersionByIDInputSchema, findGlobalVersionByIDLocalInputSchema, findGlobalVersionsInputSchema, findGlobalVersionsLocalInputSchema, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDInputSchema, findVersionByIDLocalInputSchema, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsInputSchema, findVersionsLocalInputSchema, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, generatePayloadFileURL, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCollectionInputSchema, getCollectionSchemaInputSchema, getCollectionVirtualFieldNames, getConfigInfoInputSchema, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getGlobalInputSchema, getGlobalSchemaInputSchema, getGlobalVirtualFieldNames, getHierarchyFieldName, getInitialTreeData,
|
|
17112
|
-
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, 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 };
|
|
17237
|
+
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JWT_AUTH_VERSION, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, TransformerContractError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addDefaultsToConfig, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, batchProcessing, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countDocumentsInputSchema, countDocumentsLocalInputSchema, countGlobalVersionsInputSchema, countGlobalVersionsLocalInputSchema, countOperation, countRunnableOrActiveJobsForQueue, countVersionsInputSchema, countVersionsLocalInputSchema, createAPIKeyFields, createArrayFromCommaDelineated, createAuthToken, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createCreatedByField, createDatabaseAdapter, createDataloaderCacheKey, createDocumentsInputSchema, createDocumentsLocalInputSchema, createFolderField, createMigration, createOperation, createPayloadRequest, createPayloadRequestFromWebRequest, createTagField, createUnauthenticatedClientConfig, createUpdatedByField, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteDocumentsInputSchema, deleteDocumentsLocalInputSchema, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateDocumentInputSchema, duplicateDocumentLocalInputSchema, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, entityToStandaloneJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findDistinctInputSchema, findDistinctLocalInputSchema, findDocumentsInputSchema, findDocumentsLocalInputSchema, findGlobalInputSchema, findGlobalLocalInputSchema, findGlobalVersionByIDInputSchema, findGlobalVersionByIDLocalInputSchema, findGlobalVersionsInputSchema, findGlobalVersionsLocalInputSchema, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDInputSchema, findVersionByIDLocalInputSchema, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsInputSchema, findVersionsLocalInputSchema, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, generatePayloadFileURL, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCollectionInputSchema, getCollectionSchemaInputSchema, getCollectionVirtualFieldNames, getConfigInfoInputSchema, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getGlobalInputSchema, getGlobalSchemaInputSchema, getGlobalVirtualFieldNames, getHierarchyFieldName, getInitialTreeData, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRegisteredDevReloadStrategy, getRequestLanguage, getSlugFallbackValue, getUniqueFieldValue, handleEndpoints, hasDraftValidationEnabled, hasDraftsEnabled, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isUserMenuSettingsGroup, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, 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 };
|
|
17238
|
+
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, 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, 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 };
|