payload 3.84.1 → 4.0.0-internal.d28e9fb
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/README.md +5 -5
- package/dist/admin/elements/Nav.d.ts +13 -0
- package/dist/admin/elements/Nav.d.ts.map +1 -1
- package/dist/admin/elements/Nav.js.map +1 -1
- package/dist/admin/functions/index.d.ts +1 -38
- package/dist/admin/functions/index.d.ts.map +1 -1
- package/dist/admin/functions/index.js.map +1 -1
- package/dist/admin/types.d.ts +5 -4
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/admin/views/hierarchyList.d.ts +9 -0
- package/dist/admin/views/hierarchyList.d.ts.map +1 -0
- package/dist/admin/views/hierarchyList.js +3 -0
- package/dist/admin/views/hierarchyList.js.map +1 -0
- package/dist/admin/views/index.d.ts +1 -3
- package/dist/admin/views/index.d.ts.map +1 -1
- package/dist/admin/views/index.js.map +1 -1
- package/dist/admin/views/list.d.ts +43 -2
- package/dist/admin/views/list.d.ts.map +1 -1
- package/dist/admin/views/list.js.map +1 -1
- package/dist/bin/generateImportMap/iterateCollections.d.ts.map +1 -1
- package/dist/bin/generateImportMap/iterateCollections.js +1 -0
- package/dist/bin/generateImportMap/iterateCollections.js.map +1 -1
- package/dist/bin/generateImportMap/iterateConfig.d.ts.map +1 -1
- package/dist/bin/generateImportMap/iterateConfig.js +7 -0
- package/dist/bin/generateImportMap/iterateConfig.js.map +1 -1
- package/dist/bin/generateImportMap/iterateGlobals.d.ts.map +1 -1
- package/dist/bin/generateImportMap/iterateGlobals.js +20 -8
- package/dist/bin/generateImportMap/iterateGlobals.js.map +1 -1
- package/dist/bin/index.d.ts.map +1 -1
- package/dist/bin/index.js +1 -3
- package/dist/bin/index.js.map +1 -1
- package/dist/collections/config/client.d.ts +4 -2
- package/dist/collections/config/client.d.ts.map +1 -1
- package/dist/collections/config/client.js +13 -1
- package/dist/collections/config/client.js.map +1 -1
- package/dist/collections/config/defaults.js +1 -1
- package/dist/collections/config/defaults.js.map +1 -1
- package/dist/collections/config/sanitize.d.ts.map +1 -1
- package/dist/collections/config/sanitize.js +231 -184
- package/dist/collections/config/sanitize.js.map +1 -1
- package/dist/collections/config/types.d.ts +76 -91
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/operations/create.d.ts.map +1 -1
- package/dist/collections/operations/create.js +24 -19
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/collections/operations/delete.d.ts.map +1 -1
- package/dist/collections/operations/delete.js +7 -2
- package/dist/collections/operations/delete.js.map +1 -1
- package/dist/collections/operations/deleteByID.d.ts.map +1 -1
- package/dist/collections/operations/deleteByID.js +7 -2
- package/dist/collections/operations/deleteByID.js.map +1 -1
- package/dist/collections/operations/find.d.ts.map +1 -1
- package/dist/collections/operations/find.js +7 -2
- package/dist/collections/operations/find.js.map +1 -1
- package/dist/collections/operations/findByID.d.ts.map +1 -1
- package/dist/collections/operations/findByID.js +10 -5
- package/dist/collections/operations/findByID.js.map +1 -1
- package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
- package/dist/collections/operations/findVersionByID.js +6 -4
- package/dist/collections/operations/findVersionByID.js.map +1 -1
- package/dist/collections/operations/findVersions.d.ts.map +1 -1
- package/dist/collections/operations/findVersions.js +6 -4
- package/dist/collections/operations/findVersions.js.map +1 -1
- package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
- package/dist/collections/operations/restoreVersion.js +7 -2
- 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 +7 -2
- package/dist/collections/operations/update.js.map +1 -1
- package/dist/collections/operations/updateByID.d.ts.map +1 -1
- package/dist/collections/operations/updateByID.js +7 -2
- package/dist/collections/operations/updateByID.js.map +1 -1
- package/dist/collections/operations/utilities/update.d.ts.map +1 -1
- package/dist/collections/operations/utilities/update.js +5 -4
- package/dist/collections/operations/utilities/update.js.map +1 -1
- package/dist/config/client.d.ts.map +1 -1
- package/dist/config/client.js +0 -10
- package/dist/config/client.js.map +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +0 -15
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/orderable/index.d.ts.map +1 -1
- package/dist/config/orderable/index.js +0 -4
- package/dist/config/orderable/index.js.map +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/config/sanitize.js +252 -266
- package/dist/config/sanitize.js.map +1 -1
- package/dist/config/types.d.ts +120 -13
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/exports/internal.d.ts +1 -0
- 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 +5 -3
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js +3 -2
- package/dist/exports/shared.js.map +1 -1
- package/dist/fields/baseFields/slug/index.d.ts.map +1 -1
- package/dist/fields/baseFields/slug/index.js +6 -4
- package/dist/fields/baseFields/slug/index.js.map +1 -1
- package/dist/fields/config/client.d.ts.map +1 -1
- package/dist/fields/config/client.js +3 -2
- package/dist/fields/config/client.js.map +1 -1
- package/dist/fields/config/sanitize.d.ts.map +1 -1
- package/dist/fields/config/sanitize.js +335 -322
- package/dist/fields/config/sanitize.js.map +1 -1
- package/dist/fields/config/sanitizeJoinField.d.ts.map +1 -1
- package/dist/fields/config/sanitizeJoinField.js +3 -0
- package/dist/fields/config/sanitizeJoinField.js.map +1 -1
- package/dist/fields/config/types.d.ts +17 -73
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js +11 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/fields/isFieldDisabled.d.ts +12 -0
- package/dist/fields/isFieldDisabled.d.ts.map +1 -0
- package/dist/fields/isFieldDisabled.js +15 -0
- package/dist/fields/isFieldDisabled.js.map +1 -0
- package/dist/fields/isFieldDisabled.spec.js +134 -0
- package/dist/fields/isFieldDisabled.spec.js.map +1 -0
- package/dist/fields/validations.js +1 -1
- package/dist/fields/validations.js.map +1 -1
- package/dist/globals/config/client.d.ts +1 -1
- package/dist/globals/config/client.d.ts.map +1 -1
- package/dist/globals/config/client.js +2 -1
- package/dist/globals/config/client.js.map +1 -1
- package/dist/globals/config/sanitize.d.ts.map +1 -1
- package/dist/globals/config/sanitize.js +132 -122
- package/dist/globals/config/sanitize.js.map +1 -1
- package/dist/globals/config/types.d.ts +4 -57
- package/dist/globals/config/types.d.ts.map +1 -1
- package/dist/globals/config/types.js.map +1 -1
- package/dist/globals/operations/findOne.d.ts.map +1 -1
- package/dist/globals/operations/findOne.js +7 -2
- package/dist/globals/operations/findOne.js.map +1 -1
- package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
- package/dist/globals/operations/findVersionByID.js +6 -4
- package/dist/globals/operations/findVersionByID.js.map +1 -1
- package/dist/globals/operations/findVersions.d.ts.map +1 -1
- package/dist/globals/operations/findVersions.js +6 -4
- package/dist/globals/operations/findVersions.js.map +1 -1
- package/dist/globals/operations/update.d.ts.map +1 -1
- package/dist/globals/operations/update.js +7 -2
- package/dist/globals/operations/update.js.map +1 -1
- package/dist/hierarchy/addHierarchyToCollection.d.ts +9 -0
- package/dist/hierarchy/addHierarchyToCollection.d.ts.map +1 -0
- package/dist/hierarchy/addHierarchyToCollection.js +76 -0
- package/dist/hierarchy/addHierarchyToCollection.js.map +1 -0
- package/dist/hierarchy/buildParentField.d.ts +11 -0
- package/dist/hierarchy/buildParentField.d.ts.map +1 -0
- package/dist/hierarchy/buildParentField.js +42 -0
- package/dist/hierarchy/buildParentField.js.map +1 -0
- package/dist/hierarchy/constants.d.ts +15 -0
- package/dist/hierarchy/constants.d.ts.map +1 -0
- package/dist/hierarchy/constants.js +11 -0
- package/dist/hierarchy/constants.js.map +1 -0
- package/dist/hierarchy/createFolderField.d.ts +39 -0
- package/dist/hierarchy/createFolderField.d.ts.map +1 -0
- package/dist/hierarchy/createFolderField.js +54 -0
- package/dist/hierarchy/createFolderField.js.map +1 -0
- package/dist/hierarchy/createTagField.d.ts +44 -0
- package/dist/hierarchy/createTagField.d.ts.map +1 -0
- package/dist/hierarchy/createTagField.js +48 -0
- package/dist/hierarchy/createTagField.js.map +1 -0
- package/dist/hierarchy/getInitialTreeData.d.ts +27 -0
- package/dist/hierarchy/getInitialTreeData.d.ts.map +1 -0
- package/dist/hierarchy/getInitialTreeData.js +125 -0
- package/dist/hierarchy/getInitialTreeData.js.map +1 -0
- package/dist/hierarchy/hooks/collectionAfterDelete.d.ts +14 -0
- package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +1 -0
- package/dist/hierarchy/hooks/collectionAfterDelete.js +21 -0
- package/dist/hierarchy/hooks/collectionAfterDelete.js.map +1 -0
- package/dist/hierarchy/hooks/collectionAfterRead.d.ts +27 -0
- package/dist/hierarchy/hooks/collectionAfterRead.d.ts.map +1 -0
- package/dist/hierarchy/hooks/collectionAfterRead.js +72 -0
- package/dist/hierarchy/hooks/collectionAfterRead.js.map +1 -0
- package/dist/hierarchy/hooks/collectionBeforeChange.d.ts +19 -0
- package/dist/hierarchy/hooks/collectionBeforeChange.d.ts.map +1 -0
- package/dist/hierarchy/hooks/collectionBeforeChange.js +90 -0
- package/dist/hierarchy/hooks/collectionBeforeChange.js.map +1 -0
- package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts +15 -0
- package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +1 -0
- package/dist/hierarchy/hooks/collectionBeforeDelete.js +20 -0
- package/dist/hierarchy/hooks/collectionBeforeDelete.js.map +1 -0
- package/dist/hierarchy/hooks/collectionBeforeOperation.d.ts +33 -0
- package/dist/hierarchy/hooks/collectionBeforeOperation.d.ts.map +1 -0
- package/dist/hierarchy/hooks/collectionBeforeOperation.js +66 -0
- package/dist/hierarchy/hooks/collectionBeforeOperation.js.map +1 -0
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts +8 -0
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts.map +1 -0
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.js +108 -0
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.js.map +1 -0
- package/dist/hierarchy/injectHierarchyButton.d.ts +14 -0
- package/dist/hierarchy/injectHierarchyButton.d.ts.map +1 -0
- package/dist/hierarchy/injectHierarchyButton.js +37 -0
- package/dist/hierarchy/injectHierarchyButton.js.map +1 -0
- package/dist/hierarchy/presets.d.ts +13 -0
- package/dist/hierarchy/presets.d.ts.map +1 -0
- package/dist/hierarchy/presets.js +52 -0
- package/dist/hierarchy/presets.js.map +1 -0
- package/dist/hierarchy/resolveHierarchyCollections.d.ts +23 -0
- package/dist/hierarchy/resolveHierarchyCollections.d.ts.map +1 -0
- package/dist/hierarchy/resolveHierarchyCollections.js +321 -0
- package/dist/hierarchy/resolveHierarchyCollections.js.map +1 -0
- package/dist/hierarchy/sanitizeHierarchyCollection.d.ts +14 -0
- package/dist/hierarchy/sanitizeHierarchyCollection.d.ts.map +1 -0
- package/dist/hierarchy/sanitizeHierarchyCollection.js +117 -0
- package/dist/hierarchy/sanitizeHierarchyCollection.js.map +1 -0
- package/dist/hierarchy/types.d.ts +155 -0
- package/dist/hierarchy/types.d.ts.map +1 -0
- package/dist/hierarchy/types.js +6 -0
- package/dist/hierarchy/types.js.map +1 -0
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.d.ts +77 -0
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.d.ts.map +1 -0
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.js +77 -0
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.js.map +1 -0
- package/dist/hierarchy/utils/computePaths.d.ts +31 -0
- package/dist/hierarchy/utils/computePaths.d.ts.map +1 -0
- package/dist/hierarchy/utils/computePaths.js +445 -0
- package/dist/hierarchy/utils/computePaths.js.map +1 -0
- package/dist/hierarchy/utils/findUseAsTitle.d.ts +14 -0
- package/dist/hierarchy/utils/findUseAsTitle.d.ts.map +1 -0
- package/dist/hierarchy/utils/findUseAsTitle.js +89 -0
- package/dist/hierarchy/utils/findUseAsTitle.js.map +1 -0
- package/dist/hierarchy/utils/getAncestors.d.ts +34 -0
- package/dist/hierarchy/utils/getAncestors.d.ts.map +1 -0
- package/dist/hierarchy/utils/getAncestors.js +94 -0
- package/dist/hierarchy/utils/getAncestors.js.map +1 -0
- package/dist/hierarchy/utils/getLocalizedValue.d.ts +30 -0
- package/dist/hierarchy/utils/getLocalizedValue.d.ts.map +1 -0
- package/dist/hierarchy/utils/getLocalizedValue.js +46 -0
- package/dist/hierarchy/utils/getLocalizedValue.js.map +1 -0
- package/dist/hierarchy/utils/getLocalizedValue.spec.js +250 -0
- package/dist/hierarchy/utils/getLocalizedValue.spec.js.map +1 -0
- package/dist/index.bundled.d.ts +709 -530
- package/dist/index.d.ts +28 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -8
- package/dist/index.js.map +1 -1
- package/dist/preferences/keys.d.ts +8 -4
- package/dist/preferences/keys.d.ts.map +1 -1
- package/dist/preferences/keys.js +7 -4
- package/dist/preferences/keys.js.map +1 -1
- package/dist/preferences/types.d.ts +1 -1
- package/dist/preferences/types.d.ts.map +1 -1
- package/dist/preferences/types.js.map +1 -1
- package/dist/query-presets/config.d.ts.map +1 -1
- package/dist/query-presets/config.js +5 -1
- package/dist/query-presets/config.js.map +1 -1
- package/dist/queues/config/types/index.d.ts +0 -21
- package/dist/queues/config/types/index.d.ts.map +1 -1
- package/dist/queues/config/types/index.js.map +1 -1
- package/dist/queues/config/types/taskTypes.d.ts +0 -20
- package/dist/queues/config/types/taskTypes.d.ts.map +1 -1
- package/dist/queues/config/types/taskTypes.js.map +1 -1
- package/dist/queues/errors/handleWorkflowError.d.ts.map +1 -1
- package/dist/queues/errors/handleWorkflowError.js +9 -1
- package/dist/queues/errors/handleWorkflowError.js.map +1 -1
- package/dist/queues/localAPI.d.ts.map +1 -1
- package/dist/queues/localAPI.js +26 -67
- package/dist/queues/localAPI.js.map +1 -1
- package/dist/queues/operations/handleSchedules/index.d.ts.map +1 -1
- package/dist/queues/operations/handleSchedules/index.js +1 -4
- package/dist/queues/operations/handleSchedules/index.js.map +1 -1
- package/dist/queues/operations/runJobs/index.d.ts.map +1 -1
- package/dist/queues/operations/runJobs/index.js +40 -37
- package/dist/queues/operations/runJobs/index.js.map +1 -1
- package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.d.ts.map +1 -1
- package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.js +3 -22
- package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.js.map +1 -1
- package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.d.ts.map +1 -1
- package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.js +0 -2
- package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.js.map +1 -1
- package/dist/queues/utilities/updateJob.d.ts +1 -3
- package/dist/queues/utilities/updateJob.d.ts.map +1 -1
- package/dist/queues/utilities/updateJob.js +2 -18
- package/dist/queues/utilities/updateJob.js.map +1 -1
- package/dist/types/index.d.ts +44 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/uploads/getBaseFields.d.ts.map +1 -1
- package/dist/uploads/getBaseFields.js +35 -69
- package/dist/uploads/getBaseFields.js.map +1 -1
- package/dist/uploads/getSafeFilename.d.ts +9 -4
- package/dist/uploads/getSafeFilename.d.ts.map +1 -1
- package/dist/uploads/getSafeFilename.js +5 -5
- package/dist/uploads/getSafeFilename.js.map +1 -1
- package/dist/utilities/appendDateTimezoneSelectFields.d.ts +13 -0
- package/dist/utilities/appendDateTimezoneSelectFields.d.ts.map +1 -0
- package/dist/utilities/appendDateTimezoneSelectFields.js +47 -0
- package/dist/utilities/appendDateTimezoneSelectFields.js.map +1 -0
- package/dist/utilities/appendUploadSelectFields.d.ts.map +1 -1
- package/dist/utilities/appendUploadSelectFields.js +3 -0
- package/dist/utilities/appendUploadSelectFields.js.map +1 -1
- package/dist/utilities/extractID.js +1 -1
- package/dist/utilities/extractID.js.map +1 -1
- package/dist/utilities/flattenAllFields.d.ts.map +1 -1
- package/dist/utilities/flattenAllFields.js +102 -93
- package/dist/utilities/flattenAllFields.js.map +1 -1
- package/dist/utilities/formatAdminURL.d.ts +13 -2
- package/dist/utilities/formatAdminURL.d.ts.map +1 -1
- package/dist/utilities/formatAdminURL.js.map +1 -1
- package/dist/utilities/handleEndpoints.d.ts.map +1 -1
- package/dist/utilities/handleEndpoints.js +0 -1
- package/dist/utilities/handleEndpoints.js.map +1 -1
- package/dist/utilities/resolveSelect.d.ts +16 -0
- package/dist/utilities/resolveSelect.d.ts.map +1 -0
- package/dist/utilities/resolveSelect.js +19 -0
- package/dist/utilities/resolveSelect.js.map +1 -0
- package/dist/utilities/sanitizeProfiler.d.ts +38 -0
- package/dist/utilities/sanitizeProfiler.d.ts.map +1 -0
- package/dist/utilities/sanitizeProfiler.js +101 -0
- package/dist/utilities/sanitizeProfiler.js.map +1 -0
- package/dist/utilities/sanitizeSelect.d.ts +1 -2
- package/dist/utilities/sanitizeSelect.d.ts.map +1 -1
- package/dist/utilities/sanitizeSelect.js +19 -25
- package/dist/utilities/sanitizeSelect.js.map +1 -1
- package/dist/versions/baseFields.d.ts.map +1 -1
- package/dist/versions/baseFields.js +3 -2
- package/dist/versions/baseFields.js.map +1 -1
- package/dist/versions/buildCollectionFields.d.ts.map +1 -1
- package/dist/versions/buildCollectionFields.js +0 -1
- package/dist/versions/buildCollectionFields.js.map +1 -1
- package/dist/versions/buildGlobalFields.d.ts.map +1 -1
- package/dist/versions/buildGlobalFields.js +0 -1
- package/dist/versions/buildGlobalFields.js.map +1 -1
- package/dist/versions/payloadPackageList.d.ts.map +1 -1
- package/dist/versions/payloadPackageList.js +0 -1
- package/dist/versions/payloadPackageList.js.map +1 -1
- package/package.json +4 -4
- package/dist/admin/views/folderList.d.ts +0 -56
- package/dist/admin/views/folderList.d.ts.map +0 -1
- package/dist/admin/views/folderList.js +0 -3
- package/dist/admin/views/folderList.js.map +0 -1
- package/dist/folders/addFolderCollection.d.ts +0 -10
- package/dist/folders/addFolderCollection.d.ts.map +0 -1
- package/dist/folders/addFolderCollection.js +0 -26
- package/dist/folders/addFolderCollection.js.map +0 -1
- package/dist/folders/addFolderFieldToCollection.d.ts +0 -8
- package/dist/folders/addFolderFieldToCollection.d.ts.map +0 -1
- package/dist/folders/addFolderFieldToCollection.js +0 -20
- package/dist/folders/addFolderFieldToCollection.js.map +0 -1
- package/dist/folders/buildFolderField.d.ts +0 -8
- package/dist/folders/buildFolderField.d.ts.map +0 -1
- package/dist/folders/buildFolderField.js +0 -87
- package/dist/folders/buildFolderField.js.map +0 -1
- package/dist/folders/constants.d.ts +0 -3
- package/dist/folders/constants.d.ts.map +0 -1
- package/dist/folders/constants.js +0 -4
- package/dist/folders/constants.js.map +0 -1
- package/dist/folders/createFolderCollection.d.ts +0 -11
- package/dist/folders/createFolderCollection.d.ts.map +0 -1
- package/dist/folders/createFolderCollection.js +0 -115
- package/dist/folders/createFolderCollection.js.map +0 -1
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.d.ts +0 -8
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.d.ts.map +0 -1
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.js +0 -15
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.js.map +0 -1
- package/dist/folders/hooks/dissasociateAfterDelete.d.ts +0 -8
- package/dist/folders/hooks/dissasociateAfterDelete.d.ts.map +0 -1
- package/dist/folders/hooks/dissasociateAfterDelete.js +0 -20
- package/dist/folders/hooks/dissasociateAfterDelete.js.map +0 -1
- package/dist/folders/hooks/ensureSafeCollectionsChange.d.ts +0 -5
- package/dist/folders/hooks/ensureSafeCollectionsChange.d.ts.map +0 -1
- package/dist/folders/hooks/ensureSafeCollectionsChange.js +0 -107
- package/dist/folders/hooks/ensureSafeCollectionsChange.js.map +0 -1
- package/dist/folders/hooks/reparentChildFolder.d.ts +0 -24
- package/dist/folders/hooks/reparentChildFolder.d.ts.map +0 -1
- package/dist/folders/hooks/reparentChildFolder.js +0 -72
- package/dist/folders/hooks/reparentChildFolder.js.map +0 -1
- package/dist/folders/types.d.ts +0 -118
- package/dist/folders/types.d.ts.map +0 -1
- package/dist/folders/types.js +0 -3
- package/dist/folders/types.js.map +0 -1
- package/dist/folders/utils/buildFolderWhereConstraints.d.ts +0 -13
- package/dist/folders/utils/buildFolderWhereConstraints.d.ts.map +0 -1
- package/dist/folders/utils/buildFolderWhereConstraints.js +0 -45
- package/dist/folders/utils/buildFolderWhereConstraints.js.map +0 -1
- package/dist/folders/utils/formatFolderOrDocumentItem.d.ts +0 -12
- package/dist/folders/utils/formatFolderOrDocumentItem.d.ts.map +0 -1
- package/dist/folders/utils/formatFolderOrDocumentItem.js +0 -30
- package/dist/folders/utils/formatFolderOrDocumentItem.js.map +0 -1
- package/dist/folders/utils/getFolderBreadcrumbs.d.ts +0 -14
- package/dist/folders/utils/getFolderBreadcrumbs.d.ts.map +0 -1
- package/dist/folders/utils/getFolderBreadcrumbs.js +0 -45
- package/dist/folders/utils/getFolderBreadcrumbs.js.map +0 -1
- package/dist/folders/utils/getFolderData.d.ts +0 -33
- package/dist/folders/utils/getFolderData.d.ts.map +0 -1
- package/dist/folders/utils/getFolderData.js +0 -88
- package/dist/folders/utils/getFolderData.js.map +0 -1
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.d.ts +0 -24
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.d.ts.map +0 -1
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.js +0 -66
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.js.map +0 -1
- package/dist/folders/utils/getOrphanedDocs.d.ts +0 -15
- package/dist/folders/utils/getOrphanedDocs.d.ts.map +0 -1
- package/dist/folders/utils/getOrphanedDocs.js +0 -40
- package/dist/folders/utils/getOrphanedDocs.js.map +0 -1
package/dist/index.bundled.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import { ReadonlyRequestCookies } from 'next/dist/server/web/spec-extension/adap
|
|
|
19
19
|
import { PinoPretty } from 'pino-pretty';
|
|
20
20
|
import { DatePickerProps } from 'react-datepicker';
|
|
21
21
|
|
|
22
|
-
declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "folder:browseByFolder" | "folder:byFolder" | "folder:deleteFolder" | "folder:folderName" | "folder:folders" | "folder:folderTypeDescription" | "folder:itemHasBeenMoved" | "folder:itemHasBeenMovedToRoot" | "folder:itemsMovedToFolder" | "folder:itemsMovedToRoot" | "folder:moveFolder" | "folder:moveItemsToFolderConfirmation" | "folder:moveItemsToRootConfirmation" | "folder:moveItemToFolderConfirmation" | "folder:moveItemToRootConfirmation" | "folder:movingFromFolder" | "folder:newFolder" | "folder:noFolder" | "folder:renameFolder" | "folder:searchByNameInFolder" | "folder:selectFolderForItem" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:cancel" | "general:changesNotSaved" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNew" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:delete" | "general:deleted" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:import" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:locale" | "general:locales" | "general:lock" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:none" | "general:noOptions" | "general:noResults" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
|
|
22
|
+
declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collection" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNew" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:none" | "general:noOptions" | "general:noResults" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "hierarchy:noResults" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveItemsToRootConfirmation" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:searchLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
|
|
23
23
|
|
|
24
24
|
declare const enTranslations: {
|
|
25
25
|
authentication: {
|
|
@@ -179,6 +179,7 @@ declare const enTranslations: {
|
|
|
179
179
|
editLink: string;
|
|
180
180
|
editRelationship: string;
|
|
181
181
|
enterURL: string;
|
|
182
|
+
hidePassword: string;
|
|
182
183
|
internalLink: string;
|
|
183
184
|
itemsAndMore: string;
|
|
184
185
|
labelRelationship: string;
|
|
@@ -199,35 +200,13 @@ declare const enTranslations: {
|
|
|
199
200
|
selectExistingLabel: string;
|
|
200
201
|
selectFieldsToEdit: string;
|
|
201
202
|
showAll: string;
|
|
203
|
+
showPassword: string;
|
|
202
204
|
swapRelationship: string;
|
|
203
205
|
swapUpload: string;
|
|
204
206
|
textToDisplay: string;
|
|
205
207
|
toggleBlock: string;
|
|
206
208
|
uploadNewLabel: string;
|
|
207
209
|
};
|
|
208
|
-
folder: {
|
|
209
|
-
browseByFolder: string;
|
|
210
|
-
byFolder: string;
|
|
211
|
-
deleteFolder: string;
|
|
212
|
-
folderName: string;
|
|
213
|
-
folders: string;
|
|
214
|
-
folderTypeDescription: string;
|
|
215
|
-
itemHasBeenMoved: string;
|
|
216
|
-
itemHasBeenMovedToRoot: string;
|
|
217
|
-
itemsMovedToFolder: string;
|
|
218
|
-
itemsMovedToRoot: string;
|
|
219
|
-
moveFolder: string;
|
|
220
|
-
moveItemsToFolderConfirmation: string;
|
|
221
|
-
moveItemsToRootConfirmation: string;
|
|
222
|
-
moveItemToFolderConfirmation: string;
|
|
223
|
-
moveItemToRootConfirmation: string;
|
|
224
|
-
movingFromFolder: string;
|
|
225
|
-
newFolder: string;
|
|
226
|
-
noFolder: string;
|
|
227
|
-
renameFolder: string;
|
|
228
|
-
searchByNameInFolder: string;
|
|
229
|
-
selectFolderForItem: string;
|
|
230
|
-
};
|
|
231
210
|
general: {
|
|
232
211
|
name: string;
|
|
233
212
|
aboutToDelete: string;
|
|
@@ -242,6 +221,7 @@ declare const enTranslations: {
|
|
|
242
221
|
aboutToRestoreCount: string;
|
|
243
222
|
aboutToTrash: string;
|
|
244
223
|
aboutToTrashCount: string;
|
|
224
|
+
accepts: string;
|
|
245
225
|
addBelow: string;
|
|
246
226
|
addFilter: string;
|
|
247
227
|
adminTheme: string;
|
|
@@ -255,12 +235,14 @@ declare const enTranslations: {
|
|
|
255
235
|
ascending: string;
|
|
256
236
|
automatic: string;
|
|
257
237
|
backToDashboard: string;
|
|
238
|
+
by: string;
|
|
258
239
|
cancel: string;
|
|
259
240
|
changesNotSaved: string;
|
|
260
241
|
clear: string;
|
|
261
242
|
clearAll: string;
|
|
262
243
|
close: string;
|
|
263
244
|
collapse: string;
|
|
245
|
+
collection: string;
|
|
264
246
|
collections: string;
|
|
265
247
|
columns: string;
|
|
266
248
|
columnToSort: string;
|
|
@@ -291,6 +273,7 @@ declare const enTranslations: {
|
|
|
291
273
|
custom: string;
|
|
292
274
|
dark: string;
|
|
293
275
|
dashboard: string;
|
|
276
|
+
decrement: string;
|
|
294
277
|
delete: string;
|
|
295
278
|
deleted: string;
|
|
296
279
|
deletedAt: string;
|
|
@@ -323,6 +306,7 @@ declare const enTranslations: {
|
|
|
323
306
|
emailAddress: string;
|
|
324
307
|
emptyTrash: string;
|
|
325
308
|
emptyTrashLabel: string;
|
|
309
|
+
enterANumber: string;
|
|
326
310
|
enterAValue: string;
|
|
327
311
|
error: string;
|
|
328
312
|
errors: string;
|
|
@@ -337,6 +321,7 @@ declare const enTranslations: {
|
|
|
337
321
|
goBack: string;
|
|
338
322
|
groupByLabel: string;
|
|
339
323
|
import: string;
|
|
324
|
+
increment: string;
|
|
340
325
|
isEditing: string;
|
|
341
326
|
item: string;
|
|
342
327
|
items: string;
|
|
@@ -348,6 +333,7 @@ declare const enTranslations: {
|
|
|
348
333
|
light: string;
|
|
349
334
|
livePreview: string;
|
|
350
335
|
loading: string;
|
|
336
|
+
loadMore: string;
|
|
351
337
|
locale: string;
|
|
352
338
|
locales: string;
|
|
353
339
|
lock: string;
|
|
@@ -406,6 +392,7 @@ declare const enTranslations: {
|
|
|
406
392
|
restoreAsPublished: string;
|
|
407
393
|
restoredCountSuccessfully: string;
|
|
408
394
|
restoring: string;
|
|
395
|
+
retry: string;
|
|
409
396
|
row: string;
|
|
410
397
|
rows: string;
|
|
411
398
|
save: string;
|
|
@@ -464,6 +451,15 @@ declare const enTranslations: {
|
|
|
464
451
|
welcome: string;
|
|
465
452
|
yes: string;
|
|
466
453
|
};
|
|
454
|
+
hierarchy: {
|
|
455
|
+
itemsMovedTo: string;
|
|
456
|
+
itemsMovedToRoot: string;
|
|
457
|
+
moveItemsToRootConfirmation: string;
|
|
458
|
+
moveToRoot: string;
|
|
459
|
+
noParent: string;
|
|
460
|
+
noResults: string;
|
|
461
|
+
searchLabel: string;
|
|
462
|
+
};
|
|
467
463
|
localization: {
|
|
468
464
|
cannotCopySameLocale: string;
|
|
469
465
|
copyFrom: string;
|
|
@@ -1082,7 +1078,7 @@ type CollectionPreferences = {
|
|
|
1082
1078
|
editViewType?: 'default' | 'live-preview';
|
|
1083
1079
|
groupBy?: string;
|
|
1084
1080
|
limit?: number;
|
|
1085
|
-
listViewType?: '
|
|
1081
|
+
listViewType?: 'hierarchy' | 'list';
|
|
1086
1082
|
preset?: DefaultDocumentIDType;
|
|
1087
1083
|
sort?: string;
|
|
1088
1084
|
};
|
|
@@ -2086,51 +2082,7 @@ type GlobalAdminOptions = {
|
|
|
2086
2082
|
/**
|
|
2087
2083
|
* Custom admin components
|
|
2088
2084
|
*/
|
|
2089
|
-
components?:
|
|
2090
|
-
elements?: {
|
|
2091
|
-
/**
|
|
2092
|
-
* Inject custom components before the document controls
|
|
2093
|
-
*/
|
|
2094
|
-
beforeDocumentControls?: CustomComponent[];
|
|
2095
|
-
Description?: EntityDescriptionComponent;
|
|
2096
|
-
/**
|
|
2097
|
-
* Replaces the "Preview" button
|
|
2098
|
-
*/
|
|
2099
|
-
PreviewButton?: CustomComponent;
|
|
2100
|
-
/**
|
|
2101
|
-
* Replaces the "Publish" button
|
|
2102
|
-
* + drafts must be enabled
|
|
2103
|
-
*/
|
|
2104
|
-
PublishButton?: PayloadComponent<PublishButtonServerProps, PublishButtonClientProps>;
|
|
2105
|
-
/**
|
|
2106
|
-
* Replaces the "Save" button
|
|
2107
|
-
* + drafts must be disabled
|
|
2108
|
-
*/
|
|
2109
|
-
SaveButton?: CustomComponent;
|
|
2110
|
-
/**
|
|
2111
|
-
* Replaces the "Save Draft" button
|
|
2112
|
-
* + drafts must be enabled
|
|
2113
|
-
* + autosave must be disabled
|
|
2114
|
-
*/
|
|
2115
|
-
SaveDraftButton?: CustomComponent;
|
|
2116
|
-
/**
|
|
2117
|
-
* Replaces the "Status" section
|
|
2118
|
-
*/
|
|
2119
|
-
Status?: CustomStatus;
|
|
2120
|
-
/**
|
|
2121
|
-
* Replaces the "Unpublish" button
|
|
2122
|
-
* + drafts must be enabled
|
|
2123
|
-
*/
|
|
2124
|
-
UnpublishButton?: PayloadComponent<UnpublishButtonServerProps, UnpublishButtonClientProps>;
|
|
2125
|
-
};
|
|
2126
|
-
views?: {
|
|
2127
|
-
/**
|
|
2128
|
-
* Set to a React component to replace the entire Edit View, including all nested routes.
|
|
2129
|
-
* Set to an object to replace or modify individual nested routes, or to add new ones.
|
|
2130
|
-
*/
|
|
2131
|
-
edit?: EditConfig;
|
|
2132
|
-
};
|
|
2133
|
-
};
|
|
2085
|
+
components?: SharedAdminComponents;
|
|
2134
2086
|
/** Extension point to add your custom data. Available in server and client. */
|
|
2135
2087
|
custom?: GlobalAdminCustom;
|
|
2136
2088
|
/**
|
|
@@ -2150,10 +2102,6 @@ type GlobalAdminOptions = {
|
|
|
2150
2102
|
hidden?: ((args: {
|
|
2151
2103
|
user: PayloadRequest['user'];
|
|
2152
2104
|
}) => boolean) | boolean;
|
|
2153
|
-
/**
|
|
2154
|
-
* Hide the API URL within the Edit View
|
|
2155
|
-
*/
|
|
2156
|
-
hideAPIURL?: boolean;
|
|
2157
2105
|
/**
|
|
2158
2106
|
* Live preview options
|
|
2159
2107
|
*/
|
|
@@ -2184,10 +2132,6 @@ type GlobalConfig<TSlug extends GlobalSlug = any> = {
|
|
|
2184
2132
|
dbName?: DBIdentifierName;
|
|
2185
2133
|
endpoints?: false | Omit<Endpoint, 'root'>[];
|
|
2186
2134
|
fields: Field[];
|
|
2187
|
-
/**
|
|
2188
|
-
* Specify which fields should be selected always, regardless of the `select` query which can be useful that the field exists for access control / hooks
|
|
2189
|
-
*/
|
|
2190
|
-
forceSelect?: IsAny$1<SelectFromGlobalSlug<TSlug>> extends true ? SelectIncludeType : SelectFromGlobalSlug<TSlug>;
|
|
2191
2135
|
graphQL?: {
|
|
2192
2136
|
disableMutations?: true;
|
|
2193
2137
|
disableQueries?: true;
|
|
@@ -2220,7 +2164,7 @@ type GlobalConfig<TSlug extends GlobalSlug = any> = {
|
|
|
2220
2164
|
interface?: string;
|
|
2221
2165
|
};
|
|
2222
2166
|
versions?: boolean | IncomingGlobalVersions;
|
|
2223
|
-
}
|
|
2167
|
+
} & Pick<WithSelectFn<IsAny$1<SelectFromGlobalSlug<TSlug>> extends true ? SelectIncludeType : SelectFromGlobalSlug<TSlug>>, 'select'>;
|
|
2224
2168
|
interface SanitizedGlobalConfig extends Omit<DeepRequired<GlobalConfig>, 'endpoints' | 'fields' | 'slug' | 'versions'> {
|
|
2225
2169
|
endpoints: Endpoint[] | false;
|
|
2226
2170
|
fields: Field[];
|
|
@@ -2243,6 +2187,14 @@ type Globals = {
|
|
|
2243
2187
|
} | false;
|
|
2244
2188
|
};
|
|
2245
2189
|
|
|
2190
|
+
type DisabledOptions = {
|
|
2191
|
+
bulkEdit?: boolean;
|
|
2192
|
+
column?: boolean;
|
|
2193
|
+
field?: boolean;
|
|
2194
|
+
filter?: boolean;
|
|
2195
|
+
groupBy?: boolean;
|
|
2196
|
+
};
|
|
2197
|
+
|
|
2246
2198
|
type TextFieldValidation = Validate<string, unknown, unknown, TextField>;
|
|
2247
2199
|
type TextFieldManyValidation = Validate<string[], unknown, unknown, TextField>;
|
|
2248
2200
|
type TextFieldSingleValidation = Validate<string, unknown, unknown, TextField>;
|
|
@@ -2510,23 +2462,12 @@ type FieldAdmin = {
|
|
|
2510
2462
|
* we use the field description to generate JSDoc comments for the generated TypeScript types.
|
|
2511
2463
|
*/
|
|
2512
2464
|
description?: Description;
|
|
2513
|
-
disableBulkEdit?: boolean;
|
|
2514
|
-
disabled?: boolean;
|
|
2515
|
-
/**
|
|
2516
|
-
* Shows / hides fields from appearing in the list view groupBy options.
|
|
2517
|
-
* @type boolean
|
|
2518
|
-
*/
|
|
2519
|
-
disableGroupBy?: boolean;
|
|
2520
|
-
/**
|
|
2521
|
-
* Shows / hides fields from appearing in the list view column selector.
|
|
2522
|
-
* @type boolean
|
|
2523
|
-
*/
|
|
2524
|
-
disableListColumn?: boolean;
|
|
2525
2465
|
/**
|
|
2526
|
-
*
|
|
2527
|
-
*
|
|
2466
|
+
* Controls where this field is disabled in the admin UI.
|
|
2467
|
+
* - `true` disables the field everywhere (edit form, list column, list filter, groupBy, bulk edit).
|
|
2468
|
+
* - An object enables granular control per area: `{ field?, column?, filter?, groupBy?, bulkEdit? }`.
|
|
2528
2469
|
*/
|
|
2529
|
-
|
|
2470
|
+
disabled?: boolean | DisabledOptions;
|
|
2530
2471
|
hidden?: boolean;
|
|
2531
2472
|
position?: FieldPosition;
|
|
2532
2473
|
readOnly?: boolean;
|
|
@@ -2538,23 +2479,12 @@ type AdminClient = {
|
|
|
2538
2479
|
/** Extension point to add your custom data. Available in server and client. */
|
|
2539
2480
|
custom?: Record<string, any>;
|
|
2540
2481
|
description?: StaticDescription;
|
|
2541
|
-
disableBulkEdit?: boolean;
|
|
2542
|
-
disabled?: boolean;
|
|
2543
|
-
/**
|
|
2544
|
-
* Shows / hides fields from appearing in the list view groupBy options.
|
|
2545
|
-
* @type boolean
|
|
2546
|
-
*/
|
|
2547
|
-
disableGroupBy?: boolean;
|
|
2548
2482
|
/**
|
|
2549
|
-
*
|
|
2550
|
-
*
|
|
2483
|
+
* Controls where this field is disabled in the admin UI.
|
|
2484
|
+
* - `true` disables the field everywhere (edit form, list column, list filter, groupBy, bulk edit).
|
|
2485
|
+
* - An object enables granular control per area: `{ field?, column?, filter?, groupBy?, bulkEdit? }`.
|
|
2551
2486
|
*/
|
|
2552
|
-
|
|
2553
|
-
/**
|
|
2554
|
-
* Shows / hides fields from appearing in the list view filter options.
|
|
2555
|
-
* @type boolean
|
|
2556
|
-
*/
|
|
2557
|
-
disableListFilter?: boolean;
|
|
2487
|
+
disabled?: boolean | DisabledOptions;
|
|
2558
2488
|
hidden?: boolean;
|
|
2559
2489
|
position?: FieldPosition;
|
|
2560
2490
|
readOnly?: boolean;
|
|
@@ -3017,15 +2947,12 @@ type UIField = {
|
|
|
3017
2947
|
/** Extension point to add your custom data. Available in server and client. */
|
|
3018
2948
|
custom?: Record<string, any>;
|
|
3019
2949
|
/**
|
|
3020
|
-
*
|
|
3021
|
-
*
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
/**
|
|
3025
|
-
* Shows / hides fields from appearing in the list view column selector.
|
|
3026
|
-
* @type boolean
|
|
2950
|
+
* Controls where this UI field is disabled in the admin UI.
|
|
2951
|
+
* - `true` disables the field everywhere.
|
|
2952
|
+
* - An object enables granular control per area: `{ field?, column?, filter?, groupBy?, bulkEdit? }`.
|
|
2953
|
+
* UI fields default to `disabled: { bulkEdit: true }` via sanitize.
|
|
3027
2954
|
*/
|
|
3028
|
-
|
|
2955
|
+
disabled?: boolean | DisabledOptions;
|
|
3029
2956
|
position?: string;
|
|
3030
2957
|
width?: CSSProperties['width'];
|
|
3031
2958
|
};
|
|
@@ -3036,7 +2963,7 @@ type UIField = {
|
|
|
3036
2963
|
type: 'ui';
|
|
3037
2964
|
};
|
|
3038
2965
|
type UIFieldClient = {
|
|
3039
|
-
admin: DeepUndefinable<FieldBaseClient['admin']> & Pick<UIField['admin'], 'custom' | '
|
|
2966
|
+
admin: DeepUndefinable<FieldBaseClient['admin']> & Pick<UIField['admin'], 'custom' | 'disabled' | 'position' | 'width'>;
|
|
3040
2967
|
} & Omit<DeepUndefinable<FieldBaseClient>, 'admin'> & // still include FieldBaseClient (even if it's undefinable) so that we don't need constant type checks (e.g. if('xy' in field))
|
|
3041
2968
|
Pick<UIField, 'label' | 'name' | 'type'>;
|
|
3042
2969
|
type SharedUploadProperties = {
|
|
@@ -3054,32 +2981,16 @@ type SharedUploadProperties = {
|
|
|
3054
2981
|
type: 'upload';
|
|
3055
2982
|
} & ({
|
|
3056
2983
|
hasMany: true;
|
|
3057
|
-
/**
|
|
3058
|
-
* @deprecated Use 'maxRows' instead
|
|
3059
|
-
*/
|
|
3060
|
-
max?: number;
|
|
3061
2984
|
maxRows?: number;
|
|
3062
|
-
/**
|
|
3063
|
-
* @deprecated Use 'minRows' instead
|
|
3064
|
-
*/
|
|
3065
|
-
min?: number;
|
|
3066
2985
|
minRows?: number;
|
|
3067
2986
|
validate?: UploadFieldManyValidation;
|
|
3068
2987
|
} | {
|
|
3069
2988
|
hasMany?: false | undefined;
|
|
3070
|
-
/**
|
|
3071
|
-
* @deprecated Use 'maxRows' instead
|
|
3072
|
-
*/
|
|
3073
|
-
max?: undefined;
|
|
3074
2989
|
maxRows?: undefined;
|
|
3075
|
-
/**
|
|
3076
|
-
* @deprecated Use 'minRows' instead
|
|
3077
|
-
*/
|
|
3078
|
-
min?: undefined;
|
|
3079
2990
|
minRows?: undefined;
|
|
3080
2991
|
validate?: UploadFieldSingleValidation;
|
|
3081
2992
|
}) & FieldGraphQLType & Omit<FieldBase, 'validate'>;
|
|
3082
|
-
type SharedUploadPropertiesClient = FieldBaseClient & Pick<SharedUploadProperties, 'hasMany' | '
|
|
2993
|
+
type SharedUploadPropertiesClient = FieldBaseClient & Pick<SharedUploadProperties, 'hasMany' | 'maxDepth' | 'maxRows' | 'minRows' | 'type'>;
|
|
3083
2994
|
type UploadAdmin = {
|
|
3084
2995
|
allowCreate?: boolean;
|
|
3085
2996
|
components?: {
|
|
@@ -3220,32 +3131,16 @@ type SharedRelationshipProperties = {
|
|
|
3220
3131
|
type: 'relationship';
|
|
3221
3132
|
} & ({
|
|
3222
3133
|
hasMany: true;
|
|
3223
|
-
/**
|
|
3224
|
-
* @deprecated Use 'maxRows' instead
|
|
3225
|
-
*/
|
|
3226
|
-
max?: number;
|
|
3227
3134
|
maxRows?: number;
|
|
3228
|
-
/**
|
|
3229
|
-
* @deprecated Use 'minRows' instead
|
|
3230
|
-
*/
|
|
3231
|
-
min?: number;
|
|
3232
3135
|
minRows?: number;
|
|
3233
3136
|
validate?: RelationshipFieldManyValidation;
|
|
3234
3137
|
} | {
|
|
3235
3138
|
hasMany?: false | undefined;
|
|
3236
|
-
/**
|
|
3237
|
-
* @deprecated Use 'maxRows' instead
|
|
3238
|
-
*/
|
|
3239
|
-
max?: undefined;
|
|
3240
3139
|
maxRows?: undefined;
|
|
3241
|
-
/**
|
|
3242
|
-
* @deprecated Use 'minRows' instead
|
|
3243
|
-
*/
|
|
3244
|
-
min?: undefined;
|
|
3245
3140
|
minRows?: undefined;
|
|
3246
3141
|
validate?: RelationshipFieldSingleValidation;
|
|
3247
3142
|
}) & FieldGraphQLType & Omit<FieldBase, 'validate'>;
|
|
3248
|
-
type SharedRelationshipPropertiesClient = FieldBaseClient & Pick<SharedRelationshipProperties, 'hasMany' | '
|
|
3143
|
+
type SharedRelationshipPropertiesClient = FieldBaseClient & Pick<SharedRelationshipProperties, 'hasMany' | 'maxDepth' | 'maxRows' | 'minRows' | 'type'>;
|
|
3249
3144
|
type RelationshipAdmin = {
|
|
3250
3145
|
allowCreate?: boolean;
|
|
3251
3146
|
allowEdit?: boolean;
|
|
@@ -4039,7 +3934,152 @@ declare const createClientFields: ({ defaultIDType, disableAddingID, fields, i18
|
|
|
4039
3934
|
importMap: ImportMap;
|
|
4040
3935
|
}) => ClientField[];
|
|
4041
3936
|
|
|
4042
|
-
|
|
3937
|
+
/**
|
|
3938
|
+
* User-configurable options for the hierarchy join field.
|
|
3939
|
+
* Excludes properties that are auto-generated: type, collection, on, hasMany
|
|
3940
|
+
*/
|
|
3941
|
+
type HierarchyJoinFieldConfig = {
|
|
3942
|
+
name: string;
|
|
3943
|
+
} & Omit<Partial<JoinField>, 'collection' | 'hasMany' | 'name' | 'on' | 'type'>;
|
|
3944
|
+
/**
|
|
3945
|
+
* Configuration options for hierarchy feature
|
|
3946
|
+
*
|
|
3947
|
+
* Hierarchies are always self-referential - documents can only nest under other documents
|
|
3948
|
+
* from the same collection.
|
|
3949
|
+
*/
|
|
3950
|
+
type HierarchyConfig = {
|
|
3951
|
+
/**
|
|
3952
|
+
* UI configuration for hierarchy
|
|
3953
|
+
*/
|
|
3954
|
+
admin?: {
|
|
3955
|
+
/**
|
|
3956
|
+
* Custom components for hierarchy UI
|
|
3957
|
+
*/
|
|
3958
|
+
components?: {
|
|
3959
|
+
/**
|
|
3960
|
+
* Custom icon component for hierarchy items
|
|
3961
|
+
*/
|
|
3962
|
+
Icon?: PayloadComponent;
|
|
3963
|
+
};
|
|
3964
|
+
/**
|
|
3965
|
+
* Whether to inject a sidebar tab for this hierarchy collection
|
|
3966
|
+
* @default true
|
|
3967
|
+
*/
|
|
3968
|
+
injectSidebarTab?: boolean;
|
|
3969
|
+
/**
|
|
3970
|
+
* Maximum number of items to load in tree views
|
|
3971
|
+
* @default 100
|
|
3972
|
+
*/
|
|
3973
|
+
treeLimit?: number;
|
|
3974
|
+
/**
|
|
3975
|
+
* Whether to use a header button for parent selection instead of inline field.
|
|
3976
|
+
* When true, the parent field is hidden and a button is injected into the document header.
|
|
3977
|
+
* @default true
|
|
3978
|
+
*/
|
|
3979
|
+
useHeaderButton?: boolean;
|
|
3980
|
+
};
|
|
3981
|
+
/**
|
|
3982
|
+
* Whether related documents can have multiple values of this hierarchy
|
|
3983
|
+
* Set to false for folder-like behavior (single parent), true for tag-like behavior (multiple)
|
|
3984
|
+
* @default true
|
|
3985
|
+
*/
|
|
3986
|
+
allowHasMany?: boolean;
|
|
3987
|
+
/**
|
|
3988
|
+
* Whether this hierarchy is scoped to specific collections
|
|
3989
|
+
* When true or an object, hierarchy items can be restricted to certain collections
|
|
3990
|
+
* @default false
|
|
3991
|
+
*/
|
|
3992
|
+
collectionSpecific?: {
|
|
3993
|
+
/**
|
|
3994
|
+
* Name of the select field for specifying allowed collections
|
|
3995
|
+
* @default 'hierarchyType'
|
|
3996
|
+
*/
|
|
3997
|
+
fieldName?: string;
|
|
3998
|
+
} | boolean;
|
|
3999
|
+
/**
|
|
4000
|
+
* Configure a join field to query all children (nested hierarchy items and related documents)
|
|
4001
|
+
* If not set, no join field is created.
|
|
4002
|
+
* You can pass additional JoinField options (admin, defaultLimit, defaultSort, etc.)
|
|
4003
|
+
* that will be merged with the auto-generated config.
|
|
4004
|
+
*/
|
|
4005
|
+
joinField?: HierarchyJoinFieldConfig;
|
|
4006
|
+
/**
|
|
4007
|
+
* Name of the field that references the parent document
|
|
4008
|
+
* Will automatically create this field if it does not exist
|
|
4009
|
+
* @default '_h_${collectionSlug}' (e.g., '_h_folders' for a collection with slug 'folders')
|
|
4010
|
+
*/
|
|
4011
|
+
parentFieldName: string;
|
|
4012
|
+
/**
|
|
4013
|
+
* Name of the field to use for slug path generation.
|
|
4014
|
+
* When set, uses this field's value directly instead of slugifying the title.
|
|
4015
|
+
* Useful when you have a dedicated slug field (e.g., 'slug') separate from the title.
|
|
4016
|
+
* @example 'slug' - uses the 'slug' field value as-is for path segments
|
|
4017
|
+
*/
|
|
4018
|
+
slugField?: string;
|
|
4019
|
+
/**
|
|
4020
|
+
* Custom function to slugify text for path generation
|
|
4021
|
+
* Used by computeSlugPath() utility for generating slug-based breadcrumb paths
|
|
4022
|
+
* Only used when slugField is not set.
|
|
4023
|
+
* Defaults to internal slugify implementation
|
|
4024
|
+
*/
|
|
4025
|
+
slugify?: (text: string) => string;
|
|
4026
|
+
/**
|
|
4027
|
+
* Name of the virtual field that will contain the slug-based breadcrumb path
|
|
4028
|
+
* @default HIERARCHY_SLUG_PATH_FIELD ('_h_slugPath')
|
|
4029
|
+
*/
|
|
4030
|
+
slugPathFieldName?: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* Name of the virtual field that will contain the title-based breadcrumb path
|
|
4033
|
+
* @default HIERARCHY_TITLE_PATH_FIELD ('_h_titlePath')
|
|
4034
|
+
*/
|
|
4035
|
+
titlePathFieldName?: string;
|
|
4036
|
+
};
|
|
4037
|
+
/**
|
|
4038
|
+
* Sanitized hierarchy configuration with all defaults applied
|
|
4039
|
+
*/
|
|
4040
|
+
type SanitizedHierarchyConfig = {
|
|
4041
|
+
admin: {
|
|
4042
|
+
components: {
|
|
4043
|
+
Icon: PayloadComponent;
|
|
4044
|
+
};
|
|
4045
|
+
injectSidebarTab: boolean;
|
|
4046
|
+
treeLimit: number;
|
|
4047
|
+
useHeaderButton: boolean;
|
|
4048
|
+
};
|
|
4049
|
+
allowHasMany: boolean;
|
|
4050
|
+
collectionSpecific: {
|
|
4051
|
+
fieldName: string;
|
|
4052
|
+
} | false;
|
|
4053
|
+
/**
|
|
4054
|
+
* Join field configuration, or undefined if not enabled
|
|
4055
|
+
*/
|
|
4056
|
+
joinField?: HierarchyJoinFieldConfig;
|
|
4057
|
+
parentFieldName: string;
|
|
4058
|
+
/**
|
|
4059
|
+
* Auto-populated during validation - maps collection slug to field info
|
|
4060
|
+
*/
|
|
4061
|
+
relatedCollections: Record<string, SanitizedHierarchyRelatedCollection>;
|
|
4062
|
+
/**
|
|
4063
|
+
* Field name for slug values, or undefined to use slugified title
|
|
4064
|
+
*/
|
|
4065
|
+
slugField?: string;
|
|
4066
|
+
slugify: (text: string) => string;
|
|
4067
|
+
slugPathFieldName: string;
|
|
4068
|
+
titlePathFieldName: string;
|
|
4069
|
+
};
|
|
4070
|
+
/**
|
|
4071
|
+
* Information about how a collection relates to this hierarchy
|
|
4072
|
+
*/
|
|
4073
|
+
type SanitizedHierarchyRelatedCollection = {
|
|
4074
|
+
fieldName: string;
|
|
4075
|
+
hasMany: boolean;
|
|
4076
|
+
};
|
|
4077
|
+
/**
|
|
4078
|
+
* Client-safe hierarchy configuration (excludes functions that can't cross server-client boundary)
|
|
4079
|
+
*/
|
|
4080
|
+
type ClientHierarchyConfig = Omit<SanitizedHierarchyConfig, 'slugify'>;
|
|
4081
|
+
|
|
4082
|
+
type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'access' | 'custom' | 'endpoints' | 'flattenedFields' | 'hooks' | 'indexes' | 'joins' | 'polymorphicJoins' | 'sanitizedIndexes' | 'select'>;
|
|
4043
4083
|
type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
|
|
4044
4084
|
type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
|
|
4045
4085
|
type ClientCollectionConfig = {
|
|
@@ -4052,11 +4092,12 @@ type ClientCollectionConfig = {
|
|
|
4052
4092
|
verify?: true;
|
|
4053
4093
|
} & Omit<SanitizedCollectionConfig['auth'], 'forgotPassword' | 'strategies' | 'verify'>;
|
|
4054
4094
|
fields: ClientField[];
|
|
4095
|
+
hierarchy?: ClientHierarchyConfig | false;
|
|
4055
4096
|
labels: {
|
|
4056
4097
|
plural: StaticLabel;
|
|
4057
4098
|
singular: StaticLabel;
|
|
4058
4099
|
};
|
|
4059
|
-
} & Omit<SanitizedCollectionConfig, 'admin' | 'auth' | 'fields' | 'labels' | ServerOnlyCollectionProperties>;
|
|
4100
|
+
} & Omit<SanitizedCollectionConfig, 'admin' | 'auth' | 'fields' | 'hierarchy' | 'labels' | ServerOnlyCollectionProperties>;
|
|
4060
4101
|
declare const createClientCollectionConfig: ({ collection, defaultIDType, i18n, importMap, }: {
|
|
4061
4102
|
collection: SanitizedCollectionConfig;
|
|
4062
4103
|
defaultIDType: Payload["config"]["db"]["defaultIDType"];
|
|
@@ -4070,7 +4111,7 @@ declare const createClientCollectionConfigs: ({ collections, defaultIDType, i18n
|
|
|
4070
4111
|
importMap: ImportMap;
|
|
4071
4112
|
}) => ClientCollectionConfig[];
|
|
4072
4113
|
|
|
4073
|
-
type ServerOnlyGlobalProperties = keyof Pick<SanitizedGlobalConfig, 'access' | 'admin' | 'custom' | 'endpoints' | 'fields' | 'flattenedFields' | 'hooks'>;
|
|
4114
|
+
type ServerOnlyGlobalProperties = keyof Pick<SanitizedGlobalConfig, 'access' | 'admin' | 'custom' | 'endpoints' | 'fields' | 'flattenedFields' | 'hooks' | 'select'>;
|
|
4074
4115
|
type ServerOnlyGlobalAdminProperties = keyof Pick<SanitizedGlobalConfig['admin'], 'components' | 'hidden'>;
|
|
4075
4116
|
type ClientGlobalConfig = {
|
|
4076
4117
|
admin: {
|
|
@@ -4258,7 +4299,6 @@ type AdminViewConfig = {
|
|
|
4258
4299
|
strict?: boolean;
|
|
4259
4300
|
};
|
|
4260
4301
|
type AdminViewClientProps = {
|
|
4261
|
-
browseByFolderSlugs?: SanitizedCollectionConfig['slug'][];
|
|
4262
4302
|
clientConfig: ClientConfig;
|
|
4263
4303
|
collectionSlug?: SanitizedCollectionConfig['slug'];
|
|
4264
4304
|
docID?: number | string;
|
|
@@ -4275,7 +4315,6 @@ type AdminViewServerPropsOnly = {
|
|
|
4275
4315
|
* @todo remove `docID` here as it is already contained in `initPageResult`
|
|
4276
4316
|
*/
|
|
4277
4317
|
readonly docID?: number | string;
|
|
4278
|
-
readonly folderID?: number | string;
|
|
4279
4318
|
readonly globalConfig?: SanitizedGlobalConfig;
|
|
4280
4319
|
readonly importMap: ImportMap;
|
|
4281
4320
|
readonly initialData?: Data;
|
|
@@ -4314,7 +4353,7 @@ type InitPageResult = {
|
|
|
4314
4353
|
/**
|
|
4315
4354
|
* @todo This should be renamed to `ViewType` (singular)
|
|
4316
4355
|
*/
|
|
4317
|
-
type ViewTypes = 'account' | '
|
|
4356
|
+
type ViewTypes = 'account' | 'createFirstUser' | 'dashboard' | 'document' | 'hierarchy' | 'list' | 'reset' | 'trash' | 'verify' | 'version' | ({} & string);
|
|
4318
4357
|
type ServerPropsFromView = {
|
|
4319
4358
|
collectionConfig?: SanitizedConfig['collections'][number];
|
|
4320
4359
|
globalConfig?: SanitizedConfig['globals'][number];
|
|
@@ -4451,94 +4490,6 @@ declare class UnverifiedEmail extends APIError {
|
|
|
4451
4490
|
*/
|
|
4452
4491
|
type ErrorName = 'APIError' | 'AuthenticationError' | 'ErrorDeletingFile' | 'FileRetrievalError' | 'FileUploadError' | 'Forbidden' | 'Locked' | 'LockedAuth' | 'MissingFile' | 'NotFound' | 'QueryError' | 'UnverifiedEmail' | 'ValidationError';
|
|
4453
4492
|
|
|
4454
|
-
type FolderBreadcrumb = {
|
|
4455
|
-
folderType?: CollectionSlug[];
|
|
4456
|
-
id: null | number | string;
|
|
4457
|
-
name: string;
|
|
4458
|
-
};
|
|
4459
|
-
/**
|
|
4460
|
-
* `${relationTo}-${id}` is used as a key for the item
|
|
4461
|
-
*/
|
|
4462
|
-
type FolderDocumentItemKey = `${string}-${number | string}`;
|
|
4463
|
-
/**
|
|
4464
|
-
* Needed for document card view for upload enabled collections
|
|
4465
|
-
*/
|
|
4466
|
-
type DocumentMediaData = {
|
|
4467
|
-
filename?: string;
|
|
4468
|
-
mimeType?: string;
|
|
4469
|
-
url?: string;
|
|
4470
|
-
};
|
|
4471
|
-
/**
|
|
4472
|
-
* A generic structure for a folder or document item.
|
|
4473
|
-
*/
|
|
4474
|
-
type FolderOrDocument = {
|
|
4475
|
-
itemKey: FolderDocumentItemKey;
|
|
4476
|
-
relationTo: CollectionSlug;
|
|
4477
|
-
value: {
|
|
4478
|
-
_folderOrDocumentTitle: string;
|
|
4479
|
-
createdAt?: string;
|
|
4480
|
-
folderID?: number | string;
|
|
4481
|
-
folderType: CollectionSlug[];
|
|
4482
|
-
id: number | string;
|
|
4483
|
-
updatedAt?: string;
|
|
4484
|
-
} & DocumentMediaData;
|
|
4485
|
-
};
|
|
4486
|
-
type GetFolderDataResult = {
|
|
4487
|
-
breadcrumbs: FolderBreadcrumb[] | null;
|
|
4488
|
-
documents: FolderOrDocument[];
|
|
4489
|
-
folderAssignedCollections: CollectionSlug[] | undefined;
|
|
4490
|
-
subfolders: FolderOrDocument[];
|
|
4491
|
-
};
|
|
4492
|
-
type RootFoldersConfiguration = {
|
|
4493
|
-
/**
|
|
4494
|
-
* If true, the browse by folder view will be enabled
|
|
4495
|
-
*
|
|
4496
|
-
* @default true
|
|
4497
|
-
*/
|
|
4498
|
-
browseByFolder?: boolean;
|
|
4499
|
-
/**
|
|
4500
|
-
* An array of functions to be ran when the folder collection is initialized
|
|
4501
|
-
* This allows plugins to modify the collection configuration
|
|
4502
|
-
*/
|
|
4503
|
-
collectionOverrides?: (({ collection, }: {
|
|
4504
|
-
collection: Omit<CollectionConfig, 'trash'>;
|
|
4505
|
-
}) => Omit<CollectionConfig, 'trash'> | Promise<Omit<CollectionConfig, 'trash'>>)[];
|
|
4506
|
-
/**
|
|
4507
|
-
* If true, you can scope folders to specific collections.
|
|
4508
|
-
*
|
|
4509
|
-
* @default true
|
|
4510
|
-
*/
|
|
4511
|
-
collectionSpecific?: boolean;
|
|
4512
|
-
/**
|
|
4513
|
-
* Ability to view hidden fields and collections related to folders
|
|
4514
|
-
*
|
|
4515
|
-
* @default false
|
|
4516
|
-
*/
|
|
4517
|
-
debug?: boolean;
|
|
4518
|
-
/**
|
|
4519
|
-
* The Folder field name
|
|
4520
|
-
*
|
|
4521
|
-
* @default "folder"
|
|
4522
|
-
*/
|
|
4523
|
-
fieldName?: string;
|
|
4524
|
-
/**
|
|
4525
|
-
* Slug for the folder collection
|
|
4526
|
-
*
|
|
4527
|
-
* @default "payload-folders"
|
|
4528
|
-
*/
|
|
4529
|
-
slug?: string;
|
|
4530
|
-
};
|
|
4531
|
-
type CollectionFoldersConfiguration = {
|
|
4532
|
-
/**
|
|
4533
|
-
* If true, the collection will be included in the browse by folder view
|
|
4534
|
-
*
|
|
4535
|
-
* @default true
|
|
4536
|
-
*/
|
|
4537
|
-
browseByFolder?: boolean;
|
|
4538
|
-
};
|
|
4539
|
-
type BaseFolderSortKeys = 'createdAt' | 'name' | 'updatedAt';
|
|
4540
|
-
type FolderSortKeys = `-${BaseFolderSortKeys}` | BaseFolderSortKeys;
|
|
4541
|
-
|
|
4542
4493
|
declare const operations: readonly ["read", "update", "delete"];
|
|
4543
4494
|
type ConstraintOperation = (typeof operations)[number];
|
|
4544
4495
|
type DefaultConstraint = 'everyone' | 'onlyMe' | 'specificUsers';
|
|
@@ -4582,17 +4533,7 @@ type TaskInputOutput = {
|
|
|
4582
4533
|
output: object;
|
|
4583
4534
|
};
|
|
4584
4535
|
type TaskHandlerResult<TTaskSlugOrInputOutput extends keyof TypedJobs['tasks'] | TaskInputOutput> = {
|
|
4585
|
-
/**
|
|
4586
|
-
* @deprecated Returning `state: 'failed'` is deprecated. Throw an error instead.
|
|
4587
|
-
*/
|
|
4588
|
-
errorMessage?: string;
|
|
4589
|
-
/**
|
|
4590
|
-
* @deprecated Returning `state: 'failed'` is deprecated. Throw an error instead.
|
|
4591
|
-
*/
|
|
4592
|
-
state: 'failed';
|
|
4593
|
-
} | {
|
|
4594
4536
|
output: TTaskSlugOrInputOutput extends keyof TypedJobs['tasks'] ? TypedJobs['tasks'][TTaskSlugOrInputOutput]['output'] : TTaskSlugOrInputOutput extends TaskInputOutput ? TTaskSlugOrInputOutput['output'] : never;
|
|
4595
|
-
state?: 'succeeded';
|
|
4596
4537
|
};
|
|
4597
4538
|
type TaskHandlerArgs<TTaskSlugOrInputOutput extends keyof TypedJobs['tasks'] | TaskInputOutput, TWorkflowSlug extends keyof TypedJobs['workflows'] = string> = {
|
|
4598
4539
|
/**
|
|
@@ -4655,17 +4596,7 @@ type RunInlineTaskFunction = <TTaskInput extends object, TTaskOutput extends obj
|
|
|
4655
4596
|
req: PayloadRequest;
|
|
4656
4597
|
tasks: RunTaskFunctions;
|
|
4657
4598
|
}) => MaybePromise<{
|
|
4658
|
-
/**
|
|
4659
|
-
* @deprecated Returning `state: 'failed'` is deprecated. Throw an error instead.
|
|
4660
|
-
*/
|
|
4661
|
-
errorMessage?: string;
|
|
4662
|
-
/**
|
|
4663
|
-
* @deprecated Returning `state: 'failed'` is deprecated. Throw an error instead.
|
|
4664
|
-
*/
|
|
4665
|
-
state: 'failed';
|
|
4666
|
-
} | {
|
|
4667
4599
|
output: TTaskOutput;
|
|
4668
|
-
state?: 'succeeded';
|
|
4669
4600
|
}>;
|
|
4670
4601
|
}) => Promise<TTaskOutput>;
|
|
4671
4602
|
type TaskCallbackArgs = {
|
|
@@ -5158,17 +5089,6 @@ type JobsConfig = {
|
|
|
5158
5089
|
* Determine whether or not to delete a job after it has successfully completed.
|
|
5159
5090
|
*/
|
|
5160
5091
|
deleteJobOnComplete?: boolean;
|
|
5161
|
-
/**
|
|
5162
|
-
* Specify depth for retrieving jobs from the queue.
|
|
5163
|
-
* This should be as low as possible in order for job retrieval
|
|
5164
|
-
* to be as efficient as possible. Setting it to anything higher than
|
|
5165
|
-
* 0 will drastically affect performance, as less efficient database
|
|
5166
|
-
* queries will be used.
|
|
5167
|
-
*
|
|
5168
|
-
* @default 0
|
|
5169
|
-
* @deprecated - this will be removed in 4.0
|
|
5170
|
-
*/
|
|
5171
|
-
depth?: number;
|
|
5172
5092
|
/**
|
|
5173
5093
|
* Enable concurrency controls for workflows and tasks.
|
|
5174
5094
|
* When enabled, adds a `concurrencyKey` field to the jobs collection schema.
|
|
@@ -5201,16 +5121,6 @@ type JobsConfig = {
|
|
|
5201
5121
|
[queue: string]: Sort;
|
|
5202
5122
|
};
|
|
5203
5123
|
} | Sort;
|
|
5204
|
-
/**
|
|
5205
|
-
* By default, the job system uses direct database calls for optimal performance.
|
|
5206
|
-
* If you added custom hooks to your jobs collection, you can set this to true to
|
|
5207
|
-
* use the standard Payload API for all job operations. This is discouraged, as it will
|
|
5208
|
-
* drastically affect performance.
|
|
5209
|
-
*
|
|
5210
|
-
* @default false
|
|
5211
|
-
* @deprecated - this will be removed in 4.0
|
|
5212
|
-
*/
|
|
5213
|
-
runHooks?: boolean;
|
|
5214
5124
|
/**
|
|
5215
5125
|
* A function that will be executed before Payload picks up jobs which are configured by the `jobs.autorun` function.
|
|
5216
5126
|
* If this function returns true, jobs will be queried and picked up. If it returns false, jobs will not be run.
|
|
@@ -5927,6 +5837,27 @@ type DashboardConfig = {
|
|
|
5927
5837
|
type SanitizedDashboardConfig = {
|
|
5928
5838
|
widgets: Array<Omit<Widget, 'Component'>>;
|
|
5929
5839
|
};
|
|
5840
|
+
type SidebarTab = {
|
|
5841
|
+
/** Tab components */
|
|
5842
|
+
components: {
|
|
5843
|
+
/** Component to render as tab content */
|
|
5844
|
+
Content: CustomComponent;
|
|
5845
|
+
/** Component to render as tab icon */
|
|
5846
|
+
Icon: PayloadComponent;
|
|
5847
|
+
};
|
|
5848
|
+
/** Disable this tab */
|
|
5849
|
+
disabled?: boolean;
|
|
5850
|
+
/** Make this tab active by default */
|
|
5851
|
+
isDefaultActive?: boolean;
|
|
5852
|
+
/**
|
|
5853
|
+
* Label for accessibility and tab display.
|
|
5854
|
+
* Supports i18n by passing an object with locale keys, or a function with `t` for translations.
|
|
5855
|
+
* If not provided, the slug will be used as fallback.
|
|
5856
|
+
*/
|
|
5857
|
+
label?: LabelFunction | StaticLabel;
|
|
5858
|
+
/** Unique identifier for override/disable */
|
|
5859
|
+
slug: string;
|
|
5860
|
+
};
|
|
5930
5861
|
/**
|
|
5931
5862
|
* This is the central configuration
|
|
5932
5863
|
*
|
|
@@ -6037,6 +5968,11 @@ type Config = {
|
|
|
6037
5968
|
* These components will be rendered in a popup menu above the logout button.
|
|
6038
5969
|
*/
|
|
6039
5970
|
settingsMenu?: CustomComponent[];
|
|
5971
|
+
/** Sidebar configuration */
|
|
5972
|
+
sidebar?: {
|
|
5973
|
+
/** Extensible tab system */
|
|
5974
|
+
tabs?: SidebarTab[];
|
|
5975
|
+
};
|
|
6040
5976
|
/**
|
|
6041
5977
|
* Replace or modify top-level admin routes, or add new ones:
|
|
6042
5978
|
* + `Account` - `/admin/account`
|
|
@@ -6109,11 +6045,6 @@ type Config = {
|
|
|
6109
6045
|
* @default '/account'
|
|
6110
6046
|
*/
|
|
6111
6047
|
account?: `/${string}`;
|
|
6112
|
-
/** The route for the browse by folder view.
|
|
6113
|
-
*
|
|
6114
|
-
* @default '/browse-by-folder'
|
|
6115
|
-
*/
|
|
6116
|
-
browseByFolder?: `/${string}`;
|
|
6117
6048
|
/** The route for the create first user page.
|
|
6118
6049
|
*
|
|
6119
6050
|
* @default '/create-first-user'
|
|
@@ -6297,12 +6228,6 @@ type Config = {
|
|
|
6297
6228
|
*/
|
|
6298
6229
|
localizeStatus?: boolean;
|
|
6299
6230
|
};
|
|
6300
|
-
/**
|
|
6301
|
-
* Options for folder view within the admin panel
|
|
6302
|
-
*
|
|
6303
|
-
* @experimental This feature may change in minor versions until it is fully stable
|
|
6304
|
-
*/
|
|
6305
|
-
folders?: false | RootFoldersConfiguration;
|
|
6306
6231
|
/**
|
|
6307
6232
|
* @see https://payloadcms.com/docs/configuration/globals#global-configs
|
|
6308
6233
|
*/
|
|
@@ -6703,6 +6628,99 @@ type EditConfigWithoutRoot = {
|
|
|
6703
6628
|
versions?: DefaultDocumentViewConfig;
|
|
6704
6629
|
};
|
|
6705
6630
|
type EntityDescriptionComponent = CustomComponent;
|
|
6631
|
+
/**
|
|
6632
|
+
* Custom components rendered within the Edit View.
|
|
6633
|
+
* Shared by Collection and Global configs.
|
|
6634
|
+
*/
|
|
6635
|
+
type SharedEditViewComponents = {
|
|
6636
|
+
/**
|
|
6637
|
+
* Inject custom components before the document controls
|
|
6638
|
+
*/
|
|
6639
|
+
beforeDocumentControls?: CustomComponent[];
|
|
6640
|
+
/**
|
|
6641
|
+
* Inject custom components before the document metadata (left of status/timestamps)
|
|
6642
|
+
*/
|
|
6643
|
+
BeforeDocumentMeta?: CustomComponent[];
|
|
6644
|
+
/**
|
|
6645
|
+
* Inject custom components within the 3-dot menu dropdown
|
|
6646
|
+
*/
|
|
6647
|
+
editMenuItems?: CustomComponent[];
|
|
6648
|
+
/**
|
|
6649
|
+
* Replaces the "Preview" button
|
|
6650
|
+
*/
|
|
6651
|
+
PreviewButton?: CustomComponent;
|
|
6652
|
+
/**
|
|
6653
|
+
* Replaces the "Publish" button
|
|
6654
|
+
* + drafts must be enabled
|
|
6655
|
+
*/
|
|
6656
|
+
PublishButton?: PayloadComponent<PublishButtonServerProps, PublishButtonClientProps>;
|
|
6657
|
+
/**
|
|
6658
|
+
* Replaces the "Save" button
|
|
6659
|
+
* + drafts must be disabled
|
|
6660
|
+
*/
|
|
6661
|
+
SaveButton?: CustomComponent;
|
|
6662
|
+
/**
|
|
6663
|
+
* Replaces the "Save Draft" button
|
|
6664
|
+
* + drafts must be enabled
|
|
6665
|
+
* + autosave must be disabled
|
|
6666
|
+
*/
|
|
6667
|
+
SaveDraftButton?: CustomComponent;
|
|
6668
|
+
/**
|
|
6669
|
+
* Replaces the "Status" section
|
|
6670
|
+
*/
|
|
6671
|
+
Status?: CustomStatus;
|
|
6672
|
+
/**
|
|
6673
|
+
* Replaces the "Unpublish" button
|
|
6674
|
+
* + drafts must be enabled
|
|
6675
|
+
*/
|
|
6676
|
+
UnpublishButton?: PayloadComponent<UnpublishButtonServerProps, UnpublishButtonClientProps>;
|
|
6677
|
+
};
|
|
6678
|
+
/**
|
|
6679
|
+
* Custom views object shared by Collection and Global configs.
|
|
6680
|
+
* Allows custom view keys (matched by path) alongside the document `edit` view.
|
|
6681
|
+
*/
|
|
6682
|
+
type SharedEntityViews = {
|
|
6683
|
+
/**
|
|
6684
|
+
* Add custom views.
|
|
6685
|
+
* Any additional keys define custom views that are matched by path and rendered at the entity level.
|
|
6686
|
+
* @link https://payloadcms.com/docs/custom-components/custom-views
|
|
6687
|
+
* @example
|
|
6688
|
+
* ```ts
|
|
6689
|
+
* views: {
|
|
6690
|
+
* audit: {
|
|
6691
|
+
* Component: '/path/to/AuditView',
|
|
6692
|
+
* path: '/audit',
|
|
6693
|
+
* exact: true,
|
|
6694
|
+
* }
|
|
6695
|
+
* }
|
|
6696
|
+
* ```
|
|
6697
|
+
*/
|
|
6698
|
+
[key: string]: {
|
|
6699
|
+
actions?: CustomComponent[];
|
|
6700
|
+
Component?: PayloadComponent;
|
|
6701
|
+
} | AdminViewConfig | EditConfig | undefined;
|
|
6702
|
+
/**
|
|
6703
|
+
* Replace, modify, or add new "document" views.
|
|
6704
|
+
* @link https://payloadcms.com/docs/custom-components/document-views
|
|
6705
|
+
*/
|
|
6706
|
+
edit?: EditConfig;
|
|
6707
|
+
};
|
|
6708
|
+
/**
|
|
6709
|
+
* Admin component slots shared by Collection and Global configs.
|
|
6710
|
+
* Collection extends this with list-only slots and `edit.Upload`; Global uses it as-is.
|
|
6711
|
+
*/
|
|
6712
|
+
type SharedAdminComponents = {
|
|
6713
|
+
/**
|
|
6714
|
+
* Custom Description component for the entity. Rendered in the Edit View
|
|
6715
|
+
* (and List View for Collections).
|
|
6716
|
+
*/
|
|
6717
|
+
Description?: EntityDescriptionComponent;
|
|
6718
|
+
/**
|
|
6719
|
+
* Components within the edit view
|
|
6720
|
+
*/
|
|
6721
|
+
edit?: SharedEditViewComponents;
|
|
6722
|
+
views?: SharedEntityViews;
|
|
6723
|
+
};
|
|
6706
6724
|
type EntityDescriptionFunction = ({ t }: {
|
|
6707
6725
|
t: TFunction;
|
|
6708
6726
|
}) => string;
|
|
@@ -7001,6 +7019,7 @@ type EditMenuItemsServerPropsOnly = {} & ServerProps;
|
|
|
7001
7019
|
type EditMenuItemsServerProps = EditMenuItemsClientProps & EditMenuItemsServerPropsOnly;
|
|
7002
7020
|
|
|
7003
7021
|
type NavPreferences = {
|
|
7022
|
+
activeTab?: string;
|
|
7004
7023
|
groups: NavGroupPreferences;
|
|
7005
7024
|
open: boolean;
|
|
7006
7025
|
};
|
|
@@ -7009,6 +7028,14 @@ type NavGroupPreferences = {
|
|
|
7009
7028
|
open: boolean;
|
|
7010
7029
|
};
|
|
7011
7030
|
};
|
|
7031
|
+
type SidebarTabClientProps = {
|
|
7032
|
+
documentSubViewType?: DocumentSubViewTypes;
|
|
7033
|
+
viewType?: ViewTypes;
|
|
7034
|
+
};
|
|
7035
|
+
type SidebarTabServerPropsOnly = {
|
|
7036
|
+
req?: PayloadRequest;
|
|
7037
|
+
} & ServerProps;
|
|
7038
|
+
type SidebarTabServerProps = SidebarTabClientProps & SidebarTabServerPropsOnly;
|
|
7012
7039
|
|
|
7013
7040
|
type PreviewButtonClientProps = {};
|
|
7014
7041
|
type PreviewButtonServerPropsOnly = {} & ServerProps;
|
|
@@ -7718,43 +7745,6 @@ type BuildTableStateArgs = {
|
|
|
7718
7745
|
renderRowTypes?: boolean;
|
|
7719
7746
|
tableAppearance?: 'condensed' | 'default';
|
|
7720
7747
|
};
|
|
7721
|
-
type BuildCollectionFolderViewResult = {
|
|
7722
|
-
View: React.ReactNode;
|
|
7723
|
-
};
|
|
7724
|
-
type GetFolderResultsComponentAndDataArgs = {
|
|
7725
|
-
/**
|
|
7726
|
-
* If true and no folderID is provided, only folders will be returned.
|
|
7727
|
-
* If false, the results will include documents from the active collections.
|
|
7728
|
-
*/
|
|
7729
|
-
browseByFolder: boolean;
|
|
7730
|
-
/**
|
|
7731
|
-
* Used to filter document types to include in the results/display.
|
|
7732
|
-
*
|
|
7733
|
-
* i.e. ['folders', 'posts'] will only include folders and posts in the results.
|
|
7734
|
-
*
|
|
7735
|
-
* collectionsToQuery?
|
|
7736
|
-
*/
|
|
7737
|
-
collectionsToDisplay: CollectionSlug[];
|
|
7738
|
-
/**
|
|
7739
|
-
* Used to determine how the results should be displayed.
|
|
7740
|
-
*/
|
|
7741
|
-
displayAs: 'grid' | 'list';
|
|
7742
|
-
/**
|
|
7743
|
-
* Used to filter folders by the collections they are assigned to.
|
|
7744
|
-
*
|
|
7745
|
-
* i.e. ['posts'] will only include folders that are assigned to the posts collections.
|
|
7746
|
-
*/
|
|
7747
|
-
folderAssignedCollections: CollectionSlug[];
|
|
7748
|
-
/**
|
|
7749
|
-
* The ID of the folder to filter results by.
|
|
7750
|
-
*/
|
|
7751
|
-
folderID: number | string | undefined;
|
|
7752
|
-
req: PayloadRequest;
|
|
7753
|
-
/**
|
|
7754
|
-
* The sort order for the results.
|
|
7755
|
-
*/
|
|
7756
|
-
sort: FolderSortKeys;
|
|
7757
|
-
};
|
|
7758
7748
|
type SlugifyServerFunctionArgs = {
|
|
7759
7749
|
collectionSlug?: CollectionSlug;
|
|
7760
7750
|
globalSlug?: GlobalSlug;
|
|
@@ -7784,59 +7774,44 @@ type WidgetServerProps<TWidget extends {
|
|
|
7784
7774
|
} & Exclude<TWidget, never>>;
|
|
7785
7775
|
} & Pick<InitReqResult, 'cookies' | 'locale' | 'permissions' | 'req'>;
|
|
7786
7776
|
|
|
7787
|
-
type
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
listMenuItems?: React.ReactNode[];
|
|
7794
|
-
};
|
|
7795
|
-
type FolderListViewServerPropsOnly = {
|
|
7796
|
-
collectionConfig: SanitizedCollectionConfig;
|
|
7797
|
-
documents: FolderOrDocument[];
|
|
7798
|
-
subfolders: FolderOrDocument[];
|
|
7799
|
-
} & ServerProps;
|
|
7800
|
-
type FolderListViewServerProps = FolderListViewClientProps & FolderListViewServerPropsOnly;
|
|
7801
|
-
type FolderListViewClientProps = {
|
|
7802
|
-
activeCollectionFolderSlugs?: SanitizedCollectionConfig['slug'][];
|
|
7803
|
-
allCollectionFolderSlugs: SanitizedCollectionConfig['slug'][];
|
|
7804
|
-
allowCreateCollectionSlugs: SanitizedCollectionConfig['slug'][];
|
|
7805
|
-
baseFolderPath: `/${string}`;
|
|
7806
|
-
beforeActions?: React.ReactNode[];
|
|
7807
|
-
breadcrumbs: FolderBreadcrumb[];
|
|
7808
|
-
collectionSlug?: SanitizedCollectionConfig['slug'];
|
|
7809
|
-
disableBulkDelete?: boolean;
|
|
7810
|
-
disableBulkEdit?: boolean;
|
|
7811
|
-
documents: FolderOrDocument[];
|
|
7812
|
-
enableRowSelections?: boolean;
|
|
7813
|
-
folderAssignedCollections?: SanitizedCollectionConfig['slug'][];
|
|
7814
|
-
folderFieldName: string;
|
|
7815
|
-
folderID: null | number | string;
|
|
7816
|
-
FolderResultsComponent: React.ReactNode;
|
|
7817
|
-
search?: string;
|
|
7818
|
-
sort?: FolderSortKeys;
|
|
7819
|
-
subfolders: FolderOrDocument[];
|
|
7820
|
-
viewPreference: 'grid' | 'list';
|
|
7821
|
-
} & FolderListViewSlots;
|
|
7822
|
-
type FolderListViewSlotSharedClientProps = {
|
|
7823
|
-
collectionSlug: SanitizedCollectionConfig['slug'];
|
|
7824
|
-
hasCreatePermission: boolean;
|
|
7825
|
-
newDocumentURL: string;
|
|
7777
|
+
type RelatedDocumentsGrouped = {
|
|
7778
|
+
[collectionSlug: string]: {
|
|
7779
|
+
hasMany: boolean;
|
|
7780
|
+
label: string;
|
|
7781
|
+
result: PaginatedDocs;
|
|
7782
|
+
};
|
|
7826
7783
|
};
|
|
7827
|
-
type BeforeFolderListClientProps = FolderListViewSlotSharedClientProps;
|
|
7828
|
-
type BeforeFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7829
|
-
type BeforeFolderListServerProps = BeforeFolderListClientProps & BeforeFolderListServerPropsOnly;
|
|
7830
|
-
type BeforeFolderListTableClientProps = FolderListViewSlotSharedClientProps;
|
|
7831
|
-
type BeforeFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7832
|
-
type BeforeFolderListTableServerProps = BeforeFolderListTableClientProps & BeforeFolderListTableServerPropsOnly;
|
|
7833
|
-
type AfterFolderListClientProps = FolderListViewSlotSharedClientProps;
|
|
7834
|
-
type AfterFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7835
|
-
type AfterFolderListServerProps = AfterFolderListClientProps & AfterFolderListServerPropsOnly;
|
|
7836
|
-
type AfterFolderListTableClientProps = FolderListViewSlotSharedClientProps;
|
|
7837
|
-
type AfterFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7838
|
-
type AfterFolderListTableServerProps = AfterFolderListTableClientProps & AfterFolderListTableServerPropsOnly;
|
|
7839
7784
|
|
|
7785
|
+
type HierarchyViewData = {
|
|
7786
|
+
/**
|
|
7787
|
+
* Collections allowed for creation based on parent's collectionSpecific field.
|
|
7788
|
+
* Undefined means all related collections are allowed.
|
|
7789
|
+
* Always includes the hierarchy collection itself.
|
|
7790
|
+
*/
|
|
7791
|
+
allowedCollections?: Array<{
|
|
7792
|
+
label: string;
|
|
7793
|
+
slug: string;
|
|
7794
|
+
}>;
|
|
7795
|
+
/** Base filter applied to hierarchy collection queries (e.g., tenant filter) */
|
|
7796
|
+
baseFilter?: Where;
|
|
7797
|
+
/** Breadcrumb trail to the current parent */
|
|
7798
|
+
breadcrumbs: Array<{
|
|
7799
|
+
id: number | string;
|
|
7800
|
+
title: string;
|
|
7801
|
+
}>;
|
|
7802
|
+
/** Children of the current parent (same collection) */
|
|
7803
|
+
childrenData: PaginatedDocs;
|
|
7804
|
+
/** The current parent document data (for display and collectionSpecific field access) */
|
|
7805
|
+
parent: null | (Record<string, unknown> & TypeWithID);
|
|
7806
|
+
/** The parent field name for building queries */
|
|
7807
|
+
parentFieldName: string;
|
|
7808
|
+
/** The parent ID being viewed */
|
|
7809
|
+
parentId: null | number | string;
|
|
7810
|
+
/** Base filters for related collections (keyed by collection slug) */
|
|
7811
|
+
relatedBaseFilters?: Record<string, Where>;
|
|
7812
|
+
/** Related documents grouped by collection */
|
|
7813
|
+
relatedDocumentsByCollection: RelatedDocumentsGrouped;
|
|
7814
|
+
};
|
|
7840
7815
|
type ListViewSlots = {
|
|
7841
7816
|
AfterList?: React.ReactNode;
|
|
7842
7817
|
AfterListTable?: React.ReactNode;
|
|
@@ -7861,6 +7836,7 @@ type ListViewServerPropsOnly = {
|
|
|
7861
7836
|
} & ServerProps;
|
|
7862
7837
|
type ListViewServerProps = ListViewClientProps & ListViewServerPropsOnly;
|
|
7863
7838
|
type ListViewClientProps = {
|
|
7839
|
+
baseFilter?: Where;
|
|
7864
7840
|
beforeActions?: React.ReactNode[];
|
|
7865
7841
|
collectionSlug: SanitizedCollectionConfig['slug'];
|
|
7866
7842
|
columnState: Column[];
|
|
@@ -7871,6 +7847,14 @@ type ListViewClientProps = {
|
|
|
7871
7847
|
hasCreatePermission: boolean;
|
|
7872
7848
|
hasDeletePermission?: boolean;
|
|
7873
7849
|
hasTrashPermission?: boolean;
|
|
7850
|
+
/**
|
|
7851
|
+
* Hierarchy view data - present when viewing a hierarchy collection with a parent selected
|
|
7852
|
+
*/
|
|
7853
|
+
hierarchyData?: HierarchyViewData;
|
|
7854
|
+
/**
|
|
7855
|
+
* Resolved icon component for hierarchy collections
|
|
7856
|
+
*/
|
|
7857
|
+
HierarchyIcon?: React.ReactNode;
|
|
7874
7858
|
/**
|
|
7875
7859
|
* @deprecated
|
|
7876
7860
|
*/
|
|
@@ -7969,6 +7953,7 @@ type FieldRow = {
|
|
|
7969
7953
|
};
|
|
7970
7954
|
type DocumentSlots = {
|
|
7971
7955
|
BeforeDocumentControls?: React$1.ReactNode;
|
|
7956
|
+
BeforeDocumentMeta?: React$1.ReactNode;
|
|
7972
7957
|
Description?: React$1.ReactNode;
|
|
7973
7958
|
EditMenuItems?: React$1.ReactNode;
|
|
7974
7959
|
LivePreview?: React$1.ReactNode;
|
|
@@ -9250,6 +9235,36 @@ type AfterForgotPasswordHook = (args: {
|
|
|
9250
9235
|
collection: SanitizedCollectionConfig;
|
|
9251
9236
|
context: RequestContext;
|
|
9252
9237
|
}) => any;
|
|
9238
|
+
/**
|
|
9239
|
+
* Configuration options for folder hierarchy preset.
|
|
9240
|
+
* Subset of HierarchyConfig with folder-appropriate defaults applied.
|
|
9241
|
+
*/
|
|
9242
|
+
type FoldersConfig = {
|
|
9243
|
+
admin?: {
|
|
9244
|
+
components?: {
|
|
9245
|
+
Icon?: PayloadComponent;
|
|
9246
|
+
};
|
|
9247
|
+
injectSidebarTab?: boolean;
|
|
9248
|
+
treeLimit?: number;
|
|
9249
|
+
useHeaderButton?: boolean;
|
|
9250
|
+
};
|
|
9251
|
+
collectionSpecific?: {
|
|
9252
|
+
fieldName?: string;
|
|
9253
|
+
} | boolean;
|
|
9254
|
+
joinField?: HierarchyJoinFieldConfig;
|
|
9255
|
+
parentFieldName?: string;
|
|
9256
|
+
slugField?: string;
|
|
9257
|
+
slugify?: (text: string) => string;
|
|
9258
|
+
slugPathFieldName?: string;
|
|
9259
|
+
titlePathFieldName?: string;
|
|
9260
|
+
};
|
|
9261
|
+
/**
|
|
9262
|
+
* Configuration options for tags hierarchy preset.
|
|
9263
|
+
* Same as FoldersConfig but allowHasMany can be overridden.
|
|
9264
|
+
*/
|
|
9265
|
+
type TagsConfig = {
|
|
9266
|
+
allowHasMany?: boolean;
|
|
9267
|
+
} & FoldersConfig;
|
|
9253
9268
|
type BaseFilter = (args: {
|
|
9254
9269
|
limit: number;
|
|
9255
9270
|
locale?: TypedLocale;
|
|
@@ -9290,80 +9305,18 @@ type CollectionAdminOptions = {
|
|
|
9290
9305
|
afterListTable?: CustomComponent[];
|
|
9291
9306
|
beforeList?: CustomComponent[];
|
|
9292
9307
|
beforeListTable?: CustomComponent[];
|
|
9293
|
-
Description?: EntityDescriptionComponent;
|
|
9294
9308
|
/**
|
|
9295
9309
|
* Components within the edit view
|
|
9296
9310
|
*/
|
|
9297
9311
|
edit?: {
|
|
9298
|
-
/**
|
|
9299
|
-
* Inject custom components before the document controls
|
|
9300
|
-
*/
|
|
9301
|
-
beforeDocumentControls?: CustomComponent[];
|
|
9302
|
-
/**
|
|
9303
|
-
* Inject custom components within the 3-dot menu dropdown
|
|
9304
|
-
*/
|
|
9305
|
-
editMenuItems?: CustomComponent[];
|
|
9306
|
-
/**
|
|
9307
|
-
* Replaces the "Preview" button
|
|
9308
|
-
*/
|
|
9309
|
-
PreviewButton?: CustomComponent;
|
|
9310
|
-
/**
|
|
9311
|
-
* Replaces the "Publish" button
|
|
9312
|
-
* + drafts must be enabled
|
|
9313
|
-
*/
|
|
9314
|
-
PublishButton?: PayloadComponent<PublishButtonServerProps, PublishButtonClientProps>;
|
|
9315
|
-
/**
|
|
9316
|
-
* Replaces the "Save" button
|
|
9317
|
-
* + drafts must be disabled
|
|
9318
|
-
*/
|
|
9319
|
-
SaveButton?: CustomComponent;
|
|
9320
|
-
/**
|
|
9321
|
-
* Replaces the "Save Draft" button
|
|
9322
|
-
* + drafts must be enabled
|
|
9323
|
-
* + autosave must be disabled
|
|
9324
|
-
*/
|
|
9325
|
-
SaveDraftButton?: CustomComponent;
|
|
9326
|
-
/**
|
|
9327
|
-
* Replaces the "Status" section
|
|
9328
|
-
*/
|
|
9329
|
-
Status?: CustomStatus;
|
|
9330
|
-
/**
|
|
9331
|
-
* Replaces the "Unpublish" button
|
|
9332
|
-
* + drafts must be enabled
|
|
9333
|
-
*/
|
|
9334
|
-
UnpublishButton?: PayloadComponent<UnpublishButtonServerProps, UnpublishButtonClientProps>;
|
|
9335
9312
|
/**
|
|
9336
9313
|
* Replaces the "Upload" section
|
|
9337
9314
|
* + upload must be enabled
|
|
9338
9315
|
*/
|
|
9339
9316
|
Upload?: CustomUpload;
|
|
9340
|
-
};
|
|
9317
|
+
} & SharedEditViewComponents;
|
|
9341
9318
|
listMenuItems?: CustomComponent[];
|
|
9342
9319
|
views?: {
|
|
9343
|
-
/**
|
|
9344
|
-
* Add custom collection views.
|
|
9345
|
-
* Any additional keys define custom collection views that are matched by path and rendered at the collection level.
|
|
9346
|
-
* @link https://payloadcms.com/docs/custom-components/custom-views
|
|
9347
|
-
* @example
|
|
9348
|
-
* ```ts
|
|
9349
|
-
* views: {
|
|
9350
|
-
* grid: {
|
|
9351
|
-
* Component: '/path/to/GridView',
|
|
9352
|
-
* path: '/grid',
|
|
9353
|
-
* exact: true,
|
|
9354
|
-
* }
|
|
9355
|
-
* }
|
|
9356
|
-
* ```
|
|
9357
|
-
*/
|
|
9358
|
-
[key: string]: {
|
|
9359
|
-
actions?: CustomComponent[];
|
|
9360
|
-
Component?: PayloadComponent;
|
|
9361
|
-
} | AdminViewConfig | EditConfig | undefined;
|
|
9362
|
-
/**
|
|
9363
|
-
* Replace, modify, or add new "document" views.
|
|
9364
|
-
* @link https://payloadcms.com/docs/custom-components/document-views
|
|
9365
|
-
*/
|
|
9366
|
-
edit?: EditConfig;
|
|
9367
9320
|
/**
|
|
9368
9321
|
* Replace or modify the "list" view.
|
|
9369
9322
|
* @link https://payloadcms.com/docs/custom-components/list-view
|
|
@@ -9372,8 +9325,8 @@ type CollectionAdminOptions = {
|
|
|
9372
9325
|
actions?: CustomComponent[];
|
|
9373
9326
|
Component?: PayloadComponent;
|
|
9374
9327
|
};
|
|
9375
|
-
};
|
|
9376
|
-
}
|
|
9328
|
+
} & SharedEntityViews;
|
|
9329
|
+
} & Omit<SharedAdminComponents, 'edit' | 'views'>;
|
|
9377
9330
|
/** Extension point to add your custom data. Available in server and client. */
|
|
9378
9331
|
custom?: CollectionAdminCustom;
|
|
9379
9332
|
/**
|
|
@@ -9389,15 +9342,6 @@ type CollectionAdminOptions = {
|
|
|
9389
9342
|
* @default false
|
|
9390
9343
|
*/
|
|
9391
9344
|
disableCopyToLocale?: boolean;
|
|
9392
|
-
/**
|
|
9393
|
-
* Performance opt-in. If true, will use the [Select API](https://payloadcms.com/docs/queries/select) when
|
|
9394
|
-
* loading the list view to query only the active columns, as opposed to the entire documents.
|
|
9395
|
-
* If your cells require specific fields that may be unselected, such as within hooks, etc.,
|
|
9396
|
-
* use `forceSelect` in conjunction with this property.
|
|
9397
|
-
*
|
|
9398
|
-
* @experimental This is an experimental feature and may change in the future. Use at your own risk.
|
|
9399
|
-
*/
|
|
9400
|
-
enableListViewSelectAPI?: boolean;
|
|
9401
9345
|
enableRichTextLink?: boolean;
|
|
9402
9346
|
enableRichTextRelationship?: boolean;
|
|
9403
9347
|
/**
|
|
@@ -9441,10 +9385,6 @@ type CollectionAdminOptions = {
|
|
|
9441
9385
|
hidden?: ((args: {
|
|
9442
9386
|
user: ClientUser;
|
|
9443
9387
|
}) => boolean) | boolean;
|
|
9444
|
-
/**
|
|
9445
|
-
* Hide the API URL within the Edit view
|
|
9446
|
-
*/
|
|
9447
|
-
hideAPIURL?: boolean;
|
|
9448
9388
|
/**
|
|
9449
9389
|
* Additional fields to be searched via the full text search
|
|
9450
9390
|
*/
|
|
@@ -9534,13 +9474,13 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9534
9474
|
endpoints?: false | Omit<Endpoint, 'root'>[];
|
|
9535
9475
|
fields: Field[];
|
|
9536
9476
|
/**
|
|
9537
|
-
*
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
*
|
|
9477
|
+
* Enable folder hierarchy preset for this collection.
|
|
9478
|
+
* Sets hierarchy with folder defaults: allowHasMany: false, FolderIcon, useHeaderButton: true
|
|
9479
|
+
*
|
|
9480
|
+
* Use `true` for defaults, or object for customization.
|
|
9481
|
+
* Cannot be used together with `tags` or `hierarchy`.
|
|
9542
9482
|
*/
|
|
9543
|
-
|
|
9483
|
+
folders?: boolean | FoldersConfig;
|
|
9544
9484
|
/**
|
|
9545
9485
|
* GraphQL configuration
|
|
9546
9486
|
*/
|
|
@@ -9550,6 +9490,25 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9550
9490
|
pluralName?: string;
|
|
9551
9491
|
singularName?: string;
|
|
9552
9492
|
} | false;
|
|
9493
|
+
/**
|
|
9494
|
+
* Enable hierarchical tree structure for this collection
|
|
9495
|
+
*
|
|
9496
|
+
* Use `true` to enable with defaults (auto-detects parent field)
|
|
9497
|
+
* or provide configuration object
|
|
9498
|
+
*
|
|
9499
|
+
* @example
|
|
9500
|
+
* // Enable with defaults
|
|
9501
|
+
* hierarchy: true
|
|
9502
|
+
*
|
|
9503
|
+
* @example
|
|
9504
|
+
* // Customize field names and slugify function
|
|
9505
|
+
* hierarchy: {
|
|
9506
|
+
* parentFieldName: 'parent',
|
|
9507
|
+
* slugify: (text) => customSlugify(text),
|
|
9508
|
+
* slugPathFieldName: '_breadcrumbPath'
|
|
9509
|
+
* }
|
|
9510
|
+
*/
|
|
9511
|
+
hierarchy?: boolean | HierarchyConfig;
|
|
9553
9512
|
/**
|
|
9554
9513
|
* Hooks to modify Payload functionality
|
|
9555
9514
|
*/
|
|
@@ -9620,6 +9579,14 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9620
9579
|
*/
|
|
9621
9580
|
orderable?: boolean;
|
|
9622
9581
|
slug: string;
|
|
9582
|
+
/**
|
|
9583
|
+
* Enable tags hierarchy preset for this collection.
|
|
9584
|
+
* Sets hierarchy with tag defaults: allowHasMany: true, TagIcon
|
|
9585
|
+
*
|
|
9586
|
+
* Use `true` for defaults, or object for customization.
|
|
9587
|
+
* Cannot be used together with `folders` or `hierarchy`.
|
|
9588
|
+
*/
|
|
9589
|
+
tags?: boolean | TagsConfig;
|
|
9623
9590
|
/**
|
|
9624
9591
|
* Add `createdAt`, `deletedAt` and `updatedAt` fields
|
|
9625
9592
|
*
|
|
@@ -9659,7 +9626,7 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9659
9626
|
* @default false // disable versioning
|
|
9660
9627
|
*/
|
|
9661
9628
|
versions?: boolean | IncomingCollectionVersions;
|
|
9662
|
-
}
|
|
9629
|
+
} & Pick<WithSelectFn<IsAny$1<SelectFromCollectionSlug<TSlug>> extends true ? SelectIncludeType : SelectFromCollectionSlug<TSlug>>, 'select'>;
|
|
9663
9630
|
type SanitizedJoin = {
|
|
9664
9631
|
/**
|
|
9665
9632
|
* The field configuration defining the join
|
|
@@ -9686,7 +9653,7 @@ type SanitizedJoins = {
|
|
|
9686
9653
|
* @todo remove the `DeepRequired` in v4.
|
|
9687
9654
|
* We don't actually guarantee that all properties are set when sanitizing configs.
|
|
9688
9655
|
*/
|
|
9689
|
-
interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>, 'admin' | 'auth' | 'endpoints' | 'fields' | 'folders' | 'slug' | 'upload' | 'versions'> {
|
|
9656
|
+
interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>, 'admin' | 'auth' | 'endpoints' | 'fields' | 'folder' | 'folders' | 'hierarchy' | 'slug' | 'tags' | 'upload' | 'versions'> {
|
|
9690
9657
|
admin: CollectionAdminOptions;
|
|
9691
9658
|
auth: Auth;
|
|
9692
9659
|
endpoints: Endpoint[] | false;
|
|
@@ -9696,10 +9663,13 @@ interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>,
|
|
|
9696
9663
|
* Rows / collapsible / tabs w/o name `fields` merged to top, UIs are excluded
|
|
9697
9664
|
*/
|
|
9698
9665
|
flattenedFields: FlattenedField$1[];
|
|
9666
|
+
/**
|
|
9667
|
+
* Hierarchy configuration (when collection is a hierarchy type like folders or tags)
|
|
9668
|
+
*/
|
|
9669
|
+
hierarchy: false | SanitizedHierarchyConfig;
|
|
9699
9670
|
/**
|
|
9700
9671
|
* Object of collections to join 'Join Fields object keyed by collection
|
|
9701
9672
|
*/
|
|
9702
|
-
folders: CollectionFoldersConfiguration | false;
|
|
9703
9673
|
joins: SanitizedJoins;
|
|
9704
9674
|
/**
|
|
9705
9675
|
* List of all polymorphic join fields
|
|
@@ -9901,6 +9871,49 @@ type SelectExcludeType = {
|
|
|
9901
9871
|
};
|
|
9902
9872
|
type SelectMode = 'exclude' | 'include';
|
|
9903
9873
|
type SelectType = SelectExcludeType | SelectIncludeType;
|
|
9874
|
+
/**
|
|
9875
|
+
* Operations that invoke an entity-level `select` function.
|
|
9876
|
+
*
|
|
9877
|
+
* Narrower than `HookOperationType`: `select` runs only for read- and
|
|
9878
|
+
* write-path operations that materialize a document (`create`, `delete`,
|
|
9879
|
+
* `read`, `restoreVersion`, `update`). Operations like `autosave`, `count`,
|
|
9880
|
+
* `countVersions`, `forgotPassword`, `login`, `readDistinct`, `refresh`, and
|
|
9881
|
+
* `resetPassword` do not invoke `select` and are intentionally excluded.
|
|
9882
|
+
*/
|
|
9883
|
+
type SelectFnOperation = 'create' | 'delete' | 'read' | 'restoreVersion' | 'update';
|
|
9884
|
+
type SelectFnArgs = {
|
|
9885
|
+
operation: SelectFnOperation;
|
|
9886
|
+
req: PayloadRequest;
|
|
9887
|
+
/** The caller's `select` arg, or `undefined` if not provided. */
|
|
9888
|
+
select?: SelectType;
|
|
9889
|
+
};
|
|
9890
|
+
type SelectFn<TSelect extends SelectType = SelectType> = (args: SelectFnArgs) => TSelect | undefined;
|
|
9891
|
+
/**
|
|
9892
|
+
* Shared shape for the entity-level `select` config used by Collections and Globals.
|
|
9893
|
+
* The JSDoc on the `select` property is the single source of truth — pick from this
|
|
9894
|
+
* type when defining the config:
|
|
9895
|
+
*
|
|
9896
|
+
* & Pick<WithSelectFn<...>, 'select'>
|
|
9897
|
+
*/
|
|
9898
|
+
type WithSelectFn<TSelect extends SelectType = SelectType> = {
|
|
9899
|
+
/**
|
|
9900
|
+
* Entity-level Select API configuration.
|
|
9901
|
+
*
|
|
9902
|
+
* A function that receives the current request context (`operation`, `req`,
|
|
9903
|
+
* the caller's `select`) and returns the final `select` to apply, replacing
|
|
9904
|
+
* the caller's. Return `undefined` to leave the caller's `select` unchanged.
|
|
9905
|
+
*
|
|
9906
|
+
* Useful to dynamically modify the caller's selection based on the request context:
|
|
9907
|
+
* - Forcing a field to be populated for reference within hooks / access control.
|
|
9908
|
+
* - Differentiating between API requests and admin panel requests, to optimize
|
|
9909
|
+
* the amount of data being queried in each case.
|
|
9910
|
+
*
|
|
9911
|
+
* Note: per-document data is not available — this runs before the read.
|
|
9912
|
+
*
|
|
9913
|
+
* @see https://payloadcms.com/docs/queries/select
|
|
9914
|
+
*/
|
|
9915
|
+
select?: SelectFn<TSelect>;
|
|
9916
|
+
};
|
|
9904
9917
|
type ApplyDisableErrors<T, DisableErrors = false> = false extends DisableErrors ? T : null | T;
|
|
9905
9918
|
type TransformDataWithSelect<Data extends Record<string, any>, Select extends SelectType> = Select extends never ? Data : string extends keyof Select ? Data : string extends keyof Omit<Data, 'id'> ? Select extends SelectIncludeType ? {
|
|
9906
9919
|
[K in Data extends TypeWithID ? 'id' | keyof Select : keyof Select]: K extends 'id' ? number | string : unknown;
|
|
@@ -11317,6 +11330,8 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
|
11317
11330
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
11318
11331
|
type Options<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
|
|
11319
11332
|
|
|
11333
|
+
declare const accountLockFields: Field[];
|
|
11334
|
+
|
|
11320
11335
|
// Generated by dts-bundle-generator v9.5.1
|
|
11321
11336
|
|
|
11322
11337
|
/**
|
|
@@ -12095,8 +12110,6 @@ type CountVersionsOptions<TSlug extends CollectionSlug> = {
|
|
|
12095
12110
|
where?: Where;
|
|
12096
12111
|
};
|
|
12097
12112
|
|
|
12098
|
-
declare const accountLockFields: Field[];
|
|
12099
|
-
|
|
12100
12113
|
declare const apiKeyFields: Field[];
|
|
12101
12114
|
|
|
12102
12115
|
declare const baseAuthFields: Field[];
|
|
@@ -12177,32 +12190,32 @@ type Result<TData> = {
|
|
|
12177
12190
|
};
|
|
12178
12191
|
declare const registerFirstUserOperation: <TSlug extends AuthCollectionSlug>(args: Arguments$7<TSlug>) => Promise<Result<DataFromCollectionSlug<TSlug>>>;
|
|
12179
12192
|
|
|
12180
|
-
type Args$
|
|
12193
|
+
type Args$j = {
|
|
12181
12194
|
collection: Collection;
|
|
12182
12195
|
req: PayloadRequest;
|
|
12183
12196
|
token: string;
|
|
12184
12197
|
};
|
|
12185
|
-
declare const verifyEmailOperation: (args: Args$
|
|
12198
|
+
declare const verifyEmailOperation: (args: Args$j) => Promise<boolean>;
|
|
12186
12199
|
|
|
12187
12200
|
/**
|
|
12188
12201
|
* Authentication strategy function for JWT tokens
|
|
12189
12202
|
*/
|
|
12190
12203
|
declare const JWTAuthentication: AuthStrategyFunction;
|
|
12191
12204
|
|
|
12192
|
-
type Args$
|
|
12205
|
+
type Args$i = {
|
|
12193
12206
|
collection: SanitizedCollectionConfig;
|
|
12194
12207
|
payload: Payload;
|
|
12195
12208
|
user: TypedUser;
|
|
12196
12209
|
};
|
|
12197
|
-
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$
|
|
12210
|
+
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$i) => Promise<void>;
|
|
12198
12211
|
|
|
12199
|
-
type Args$
|
|
12212
|
+
type Args$h = {
|
|
12200
12213
|
collection: SanitizedCollectionConfig;
|
|
12201
12214
|
doc: Record<string, unknown> & TypeWithID;
|
|
12202
12215
|
payload: Payload;
|
|
12203
12216
|
req: PayloadRequest;
|
|
12204
12217
|
};
|
|
12205
|
-
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$
|
|
12218
|
+
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$h) => Promise<void>;
|
|
12206
12219
|
|
|
12207
12220
|
declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fields, importMap, imports, }: {
|
|
12208
12221
|
addToImportMap: AddToImportMap;
|
|
@@ -12213,7 +12226,7 @@ declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fi
|
|
|
12213
12226
|
imports: Imports;
|
|
12214
12227
|
}): void;
|
|
12215
12228
|
|
|
12216
|
-
type Args$
|
|
12229
|
+
type Args$g = {
|
|
12217
12230
|
config: SanitizedConfig;
|
|
12218
12231
|
/**
|
|
12219
12232
|
* Override the migration directory. Useful for testing when the CWD differs
|
|
@@ -12222,7 +12235,7 @@ type Args$h = {
|
|
|
12222
12235
|
migrationDir?: string;
|
|
12223
12236
|
parsedArgs: ParsedArgs;
|
|
12224
12237
|
};
|
|
12225
|
-
declare const migrate$1: ({ config, migrationDir, parsedArgs }: Args$
|
|
12238
|
+
declare const migrate$1: ({ config, migrationDir, parsedArgs }: Args$g) => Promise<void>;
|
|
12226
12239
|
|
|
12227
12240
|
declare const getDataLoader: (req: PayloadRequest) => {
|
|
12228
12241
|
find: Payload["find"];
|
|
@@ -12471,7 +12484,7 @@ declare const writeMigrationIndex: (args: {
|
|
|
12471
12484
|
migrationsDir: string;
|
|
12472
12485
|
}) => void;
|
|
12473
12486
|
|
|
12474
|
-
type Args$
|
|
12487
|
+
type Args$f = {
|
|
12475
12488
|
errors?: {
|
|
12476
12489
|
path: string;
|
|
12477
12490
|
}[];
|
|
@@ -12488,9 +12501,9 @@ type Args$g = {
|
|
|
12488
12501
|
collectionConfig?: never | undefined;
|
|
12489
12502
|
globalConfig: SanitizedGlobalConfig;
|
|
12490
12503
|
});
|
|
12491
|
-
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args$
|
|
12504
|
+
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args$f): Promise<void>;
|
|
12492
12505
|
|
|
12493
|
-
type Args$
|
|
12506
|
+
type Args$e = {
|
|
12494
12507
|
collectionConfig?: SanitizedCollectionConfig;
|
|
12495
12508
|
constraint: WhereField;
|
|
12496
12509
|
errors: {
|
|
@@ -12511,7 +12524,7 @@ type Args$f = {
|
|
|
12511
12524
|
/**
|
|
12512
12525
|
* Validate the Payload key / value / operator
|
|
12513
12526
|
*/
|
|
12514
|
-
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, val, versionFields, }: Args$
|
|
12527
|
+
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, val, versionFields, }: Args$e): Promise<void>;
|
|
12515
12528
|
|
|
12516
12529
|
declare const baseBlockFields: Field[];
|
|
12517
12530
|
|
|
@@ -12626,16 +12639,16 @@ type SanitizeFieldResult = {
|
|
|
12626
12639
|
declare const sanitizeField: ({ collectionConfig, config, existingFieldNames, field, globalConfig, index, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizationPromises, validRelationships, }: SanitizeFieldArgs) => Promise<SanitizeFieldResult>;
|
|
12627
12640
|
declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, orderableJoins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizationPromises, validRelationships, }: SanitizeFieldsArgs) => Promise<Field[]>;
|
|
12628
12641
|
|
|
12629
|
-
type Args$
|
|
12642
|
+
type Args$d = {
|
|
12630
12643
|
defaultValue: DefaultValue;
|
|
12631
12644
|
locale: string | undefined;
|
|
12632
12645
|
req: PayloadRequest;
|
|
12633
12646
|
user: PayloadRequest['user'];
|
|
12634
12647
|
value?: JsonValue;
|
|
12635
12648
|
};
|
|
12636
|
-
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$
|
|
12649
|
+
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$d) => Promise<JsonValue>;
|
|
12637
12650
|
|
|
12638
|
-
type Args$
|
|
12651
|
+
type Args$c = {
|
|
12639
12652
|
/**
|
|
12640
12653
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12641
12654
|
*/
|
|
@@ -12661,9 +12674,9 @@ type Args$d = {
|
|
|
12661
12674
|
siblingDoc: JsonObject;
|
|
12662
12675
|
siblingFields?: (Field | TabAsField)[];
|
|
12663
12676
|
};
|
|
12664
|
-
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$
|
|
12677
|
+
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$c) => Promise<void>;
|
|
12665
12678
|
|
|
12666
|
-
type Args$
|
|
12679
|
+
type Args$b = {
|
|
12667
12680
|
/**
|
|
12668
12681
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12669
12682
|
*/
|
|
@@ -12711,9 +12724,9 @@ type Args$c = {
|
|
|
12711
12724
|
triggerAccessControl?: boolean;
|
|
12712
12725
|
triggerHooks?: boolean;
|
|
12713
12726
|
} & Required<Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>>;
|
|
12714
|
-
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$
|
|
12727
|
+
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$b) => Promise<void>;
|
|
12715
12728
|
|
|
12716
|
-
type Args$
|
|
12729
|
+
type Args$a = {
|
|
12717
12730
|
/**
|
|
12718
12731
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12719
12732
|
*/
|
|
@@ -12760,9 +12773,9 @@ type Args$b = {
|
|
|
12760
12773
|
triggerAccessControl?: boolean;
|
|
12761
12774
|
triggerHooks?: boolean;
|
|
12762
12775
|
};
|
|
12763
|
-
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$
|
|
12776
|
+
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$a) => void;
|
|
12764
12777
|
|
|
12765
|
-
type Args$
|
|
12778
|
+
type Args$9 = {
|
|
12766
12779
|
/**
|
|
12767
12780
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12768
12781
|
*/
|
|
@@ -12818,9 +12831,9 @@ type Args$a = {
|
|
|
12818
12831
|
* - Transform data for storage
|
|
12819
12832
|
* - Unflatten locales. The input `data` is the normal document for one locale. The output result will become the document with locales.
|
|
12820
12833
|
*/
|
|
12821
|
-
declare const traverseFields$2: ({ id, blockData, collection, context, data, doc, docWithLocales, errors, fieldLabelPath, fields, global, mergeLocaleActions, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, siblingDocWithLocales, skipValidation, }: Args$
|
|
12834
|
+
declare const traverseFields$2: ({ id, blockData, collection, context, data, doc, docWithLocales, errors, fieldLabelPath, fields, global, mergeLocaleActions, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, siblingDocWithLocales, skipValidation, }: Args$9) => Promise<void>;
|
|
12822
12835
|
|
|
12823
|
-
type Args$
|
|
12836
|
+
type Args$8<T> = {
|
|
12824
12837
|
/**
|
|
12825
12838
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12826
12839
|
*/
|
|
@@ -12851,39 +12864,10 @@ type Args$9<T> = {
|
|
|
12851
12864
|
*/
|
|
12852
12865
|
siblingDoc: JsonObject;
|
|
12853
12866
|
};
|
|
12854
|
-
declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, fields, global, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$
|
|
12867
|
+
declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, fields, global, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$8<T>) => Promise<void>;
|
|
12855
12868
|
|
|
12856
12869
|
declare const sortableFieldTypes: string[];
|
|
12857
12870
|
|
|
12858
|
-
type Args$8 = {
|
|
12859
|
-
/**
|
|
12860
|
-
* Specify to query documents from a specific collection
|
|
12861
|
-
* @default undefined
|
|
12862
|
-
* @example 'posts'
|
|
12863
|
-
*/
|
|
12864
|
-
collectionSlug?: CollectionSlug;
|
|
12865
|
-
/**
|
|
12866
|
-
* Optional where clause to filter documents by
|
|
12867
|
-
* @default undefined
|
|
12868
|
-
*/
|
|
12869
|
-
documentWhere?: Where;
|
|
12870
|
-
/**
|
|
12871
|
-
* The ID of the folder to query documents from
|
|
12872
|
-
* @default undefined
|
|
12873
|
-
*/
|
|
12874
|
-
folderID?: number | string;
|
|
12875
|
-
/** Optional where clause to filter subfolders by
|
|
12876
|
-
* @default undefined
|
|
12877
|
-
*/
|
|
12878
|
-
folderWhere?: Where;
|
|
12879
|
-
req: PayloadRequest;
|
|
12880
|
-
sort: FolderSortKeys;
|
|
12881
|
-
};
|
|
12882
|
-
/**
|
|
12883
|
-
* Query for documents, subfolders and breadcrumbs for a given folder
|
|
12884
|
-
*/
|
|
12885
|
-
declare const getFolderData: ({ collectionSlug, documentWhere, folderID: _folderID, folderWhere, req, sort, }: Args$8) => Promise<GetFolderDataResult>;
|
|
12886
|
-
|
|
12887
12871
|
type Arguments$3 = {
|
|
12888
12872
|
/**
|
|
12889
12873
|
* If the document data is passed, it will be used to check access instead of fetching the document from the database.
|
|
@@ -12953,6 +12937,191 @@ type Args$7<TSlug extends GlobalSlug> = {
|
|
|
12953
12937
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
12954
12938
|
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$7<TSlug>) => Promise<TransformGlobalWithSelect<TSlug, TSelect>>;
|
|
12955
12939
|
|
|
12940
|
+
/**
|
|
12941
|
+
* Default field names and constants for hierarchy feature
|
|
12942
|
+
*/
|
|
12943
|
+
declare const HIERARCHY_SLUG_PATH_FIELD = "_h_slugPath";
|
|
12944
|
+
declare const HIERARCHY_TITLE_PATH_FIELD = "_h_titlePath";
|
|
12945
|
+
declare const HIERARCHY_DEFAULT_LOCALE = "en";
|
|
12946
|
+
/** Default limit for hierarchy tree queries */
|
|
12947
|
+
declare const DEFAULT_HIERARCHY_TREE_LIMIT = 100;
|
|
12948
|
+
/** Default value for allowing hasMany on hierarchy fields */
|
|
12949
|
+
declare const DEFAULT_ALLOW_HAS_MANY = true;
|
|
12950
|
+
/** Generate a hierarchy field name from a hierarchy slug (e.g., 'folders' -> '_h_folders') */
|
|
12951
|
+
declare const getHierarchyFieldName: (hierarchySlug: string) => string;
|
|
12952
|
+
|
|
12953
|
+
/**
|
|
12954
|
+
* Options for creating a folder relationship field.
|
|
12955
|
+
* All SingleRelationshipField properties are available except name, type, relationTo, and hasMany
|
|
12956
|
+
* which are managed by the folder system.
|
|
12957
|
+
*/
|
|
12958
|
+
type CreateFolderFieldOptions = {
|
|
12959
|
+
/**
|
|
12960
|
+
* The slug of the hierarchy collection this field references (e.g., 'folders')
|
|
12961
|
+
*/
|
|
12962
|
+
relationTo: string;
|
|
12963
|
+
} & Pick<Partial<SingleRelationshipField>, 'admin' | 'label' | 'required'>;
|
|
12964
|
+
/**
|
|
12965
|
+
* Creates a relationship field for folder-style hierarchies (single-select).
|
|
12966
|
+
*
|
|
12967
|
+
* This field:
|
|
12968
|
+
* - Has hasMany:false (single folder selection)
|
|
12969
|
+
* - Uses NullField to render nothing in the form (no DOM output)
|
|
12970
|
+
* - Injects a header button for folder selection via miller columns UI
|
|
12971
|
+
*
|
|
12972
|
+
* Use this in your collection's fields array to add a folder relationship.
|
|
12973
|
+
* The field name is automatically generated based on the hierarchy slug.
|
|
12974
|
+
*
|
|
12975
|
+
* @example
|
|
12976
|
+
* import { createFolderField } from 'payload'
|
|
12977
|
+
*
|
|
12978
|
+
* const Posts: CollectionConfig = {
|
|
12979
|
+
* slug: 'posts',
|
|
12980
|
+
* fields: [
|
|
12981
|
+
* { name: 'title', type: 'text' },
|
|
12982
|
+
* createFolderField({
|
|
12983
|
+
* relationTo: 'folders',
|
|
12984
|
+
* label: 'Folder',
|
|
12985
|
+
* }),
|
|
12986
|
+
* ],
|
|
12987
|
+
* }
|
|
12988
|
+
*/
|
|
12989
|
+
declare function createFolderField(options: CreateFolderFieldOptions): RelationshipField;
|
|
12990
|
+
|
|
12991
|
+
/**
|
|
12992
|
+
* Options for creating a tag relationship field.
|
|
12993
|
+
* All RelationshipFieldMany properties are available except name, type, and relationTo
|
|
12994
|
+
* which are managed by the tag system.
|
|
12995
|
+
*/
|
|
12996
|
+
type CreateTagFieldOptions = {
|
|
12997
|
+
/**
|
|
12998
|
+
* Whether to allow multiple tags (defaults to true)
|
|
12999
|
+
* @default true
|
|
13000
|
+
*/
|
|
13001
|
+
hasMany?: boolean;
|
|
13002
|
+
/**
|
|
13003
|
+
* The slug of the hierarchy collection this field references (e.g., 'tags')
|
|
13004
|
+
*/
|
|
13005
|
+
relationTo: string;
|
|
13006
|
+
} & Pick<Partial<RelationshipField>, 'admin' | 'label' | 'required'>;
|
|
13007
|
+
/**
|
|
13008
|
+
* Creates a relationship field for tag-style hierarchies (multi-select by default).
|
|
13009
|
+
*
|
|
13010
|
+
* This field:
|
|
13011
|
+
* - Has hasMany:true by default (multiple tag selection)
|
|
13012
|
+
* - Is positioned in the sidebar by default
|
|
13013
|
+
* - Does NOT inject a header button (tags use standard relationship UI)
|
|
13014
|
+
*
|
|
13015
|
+
* Use this in your collection's fields array to add a tag relationship.
|
|
13016
|
+
* The field name is automatically generated based on the hierarchy slug.
|
|
13017
|
+
*
|
|
13018
|
+
* @example
|
|
13019
|
+
* import { createTagField } from 'payload'
|
|
13020
|
+
*
|
|
13021
|
+
* const Posts: CollectionConfig = {
|
|
13022
|
+
* slug: 'posts',
|
|
13023
|
+
* fields: [
|
|
13024
|
+
* { name: 'title', type: 'text' },
|
|
13025
|
+
* createTagField({
|
|
13026
|
+
* relationTo: 'tags',
|
|
13027
|
+
* label: 'Tags',
|
|
13028
|
+
* }),
|
|
13029
|
+
* ],
|
|
13030
|
+
* }
|
|
13031
|
+
*/
|
|
13032
|
+
declare function createTagField(options: CreateTagFieldOptions): RelationshipField;
|
|
13033
|
+
|
|
13034
|
+
type GetInitialTreeDataArgs = {
|
|
13035
|
+
/** Base filter to apply to all queries (e.g., tenant filter) */
|
|
13036
|
+
baseFilter?: null | Where;
|
|
13037
|
+
collectionSlug: string;
|
|
13038
|
+
expandedNodeIds?: (number | string)[];
|
|
13039
|
+
/** Filter tree to only show folders that allow these collection types (or are unrestricted) */
|
|
13040
|
+
filterByCollections?: string[];
|
|
13041
|
+
limit?: number;
|
|
13042
|
+
payload: PayloadRequest['payload'];
|
|
13043
|
+
/** The currently selected node ID. When provided, ensures siblings are loaded to include this node. */
|
|
13044
|
+
selectedNodeId?: null | number | string;
|
|
13045
|
+
/** The parent ID of the selected node. Required when selectedNodeId is provided. */
|
|
13046
|
+
selectedNodeParentId?: null | number | string;
|
|
13047
|
+
user: PayloadRequest['user'];
|
|
13048
|
+
};
|
|
13049
|
+
type InitialTreeData = {
|
|
13050
|
+
docs: TypeWithID[];
|
|
13051
|
+
loadedParents: Record<string, {
|
|
13052
|
+
hasMore: boolean;
|
|
13053
|
+
loadedCount?: number;
|
|
13054
|
+
totalDocs: number;
|
|
13055
|
+
}>;
|
|
13056
|
+
};
|
|
13057
|
+
declare const getInitialTreeData: ({ baseFilter, collectionSlug, expandedNodeIds, filterByCollections, limit, payload, selectedNodeId, selectedNodeParentId, user, }: GetInitialTreeDataArgs) => Promise<InitialTreeData>;
|
|
13058
|
+
|
|
13059
|
+
/**
|
|
13060
|
+
* Injects the HierarchyButton component into a collection's BeforeDocumentMeta slot.
|
|
13061
|
+
*
|
|
13062
|
+
* The HierarchyButton provides a header UI for selecting parent hierarchy items
|
|
13063
|
+
* via miller columns, replacing the standard relationship field input.
|
|
13064
|
+
*/
|
|
13065
|
+
declare const injectHierarchyButton: ({ collection, fieldName, hierarchyCollectionSlug, parentFieldName, }: {
|
|
13066
|
+
collection: CollectionConfig;
|
|
13067
|
+
fieldName: string;
|
|
13068
|
+
hierarchyCollectionSlug: string;
|
|
13069
|
+
parentFieldName: string;
|
|
13070
|
+
}) => void;
|
|
13071
|
+
|
|
13072
|
+
/**
|
|
13073
|
+
* Resolves hierarchy relationships across collections.
|
|
13074
|
+
*
|
|
13075
|
+
* This function runs after individual collection sanitization to establish
|
|
13076
|
+
* cross-collection hierarchy relationships. It discovers which collections
|
|
13077
|
+
* reference each hierarchy and configures the necessary fields, components,
|
|
13078
|
+
* and hooks.
|
|
13079
|
+
*
|
|
13080
|
+
* @remarks
|
|
13081
|
+
* Must be called after all collections are sanitized.
|
|
13082
|
+
*
|
|
13083
|
+
* **What it does:**
|
|
13084
|
+
* - Discovers related collections by scanning for hierarchy relationship fields
|
|
13085
|
+
* - Injects `HierarchyButton` component when `custom.hierarchy.injectHeaderButton` is set
|
|
13086
|
+
* - Adds `collectionSpecific` validation to ensure hierarchy items accept the document type
|
|
13087
|
+
* - Injects the `hierarchyType` select field when `collectionSpecific` is enabled
|
|
13088
|
+
* - Injects join field when `joinField` is configured
|
|
13089
|
+
* - Adds `afterDelete` hook to clear hierarchy references when items are deleted
|
|
13090
|
+
* - Populates `relatedCollections` in the sanitized hierarchy config
|
|
13091
|
+
*/
|
|
13092
|
+
declare const resolveHierarchyCollections: (config: Config) => void;
|
|
13093
|
+
|
|
13094
|
+
type Ancestor = {
|
|
13095
|
+
id: number | string;
|
|
13096
|
+
title: string;
|
|
13097
|
+
};
|
|
13098
|
+
type GetAncestorsArgs = {
|
|
13099
|
+
/**
|
|
13100
|
+
* The collection slug
|
|
13101
|
+
*/
|
|
13102
|
+
collectionSlug: CollectionSlug;
|
|
13103
|
+
/**
|
|
13104
|
+
* The document ID to get ancestors for
|
|
13105
|
+
*/
|
|
13106
|
+
id: number | string;
|
|
13107
|
+
/**
|
|
13108
|
+
* Include the document itself in the returned ancestors (as last item)
|
|
13109
|
+
* @default true
|
|
13110
|
+
*/
|
|
13111
|
+
includeSelf?: boolean;
|
|
13112
|
+
/**
|
|
13113
|
+
* The request object
|
|
13114
|
+
*/
|
|
13115
|
+
req: PayloadRequest;
|
|
13116
|
+
};
|
|
13117
|
+
/**
|
|
13118
|
+
* Get ancestor chain for a hierarchical document.
|
|
13119
|
+
* Returns array of {id, title} from root to the document.
|
|
13120
|
+
*
|
|
13121
|
+
* Uses request context caching for efficiency when called multiple times.
|
|
13122
|
+
*/
|
|
13123
|
+
declare function getAncestors({ id, collectionSlug, includeSelf, req, }: GetAncestorsArgs): Promise<Ancestor[]>;
|
|
13124
|
+
|
|
12956
13125
|
declare class DatabaseKVAdapter implements KVAdapter {
|
|
12957
13126
|
readonly payload: Payload;
|
|
12958
13127
|
readonly collectionSlug: string;
|
|
@@ -14145,16 +14314,26 @@ interface RequestContext {
|
|
|
14145
14314
|
interface DatabaseAdapter extends BaseDatabaseAdapter {
|
|
14146
14315
|
}
|
|
14147
14316
|
|
|
14317
|
+
interface FieldCustom extends Record<string, any> {
|
|
14318
|
+
}
|
|
14148
14319
|
interface FieldCustom extends Record<string, any> {
|
|
14149
14320
|
}
|
|
14150
14321
|
interface CollectionCustom extends Record<string, any> {
|
|
14151
14322
|
}
|
|
14323
|
+
interface CollectionCustom extends Record<string, any> {
|
|
14324
|
+
}
|
|
14325
|
+
interface CollectionAdminCustom extends Record<string, any> {
|
|
14326
|
+
}
|
|
14152
14327
|
interface CollectionAdminCustom extends Record<string, any> {
|
|
14153
14328
|
}
|
|
14154
14329
|
interface GlobalCustom extends Record<string, any> {
|
|
14155
14330
|
}
|
|
14331
|
+
interface GlobalCustom extends Record<string, any> {
|
|
14332
|
+
}
|
|
14333
|
+
interface GlobalAdminCustom extends Record<string, any> {
|
|
14334
|
+
}
|
|
14156
14335
|
interface GlobalAdminCustom extends Record<string, any> {
|
|
14157
14336
|
}
|
|
14158
14337
|
|
|
14159
|
-
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, apiKeyFields as baseAPIKeyFields, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createLocalReq, createMigration, createOperation, createPayloadRequest, createUnauthenticatedClientConfig, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaults, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, getAccessResults, getBlockSelect, getCollectionIDFieldTypes, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath,
|
|
14160
|
-
export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterFolderListClientProps, AfterFolderListServerProps, AfterFolderListServerPropsOnly, AfterFolderListTableClientProps, AfterFolderListTableServerProps, AfterFolderListTableServerPropsOnly, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, BaseDatabaseAdapter, BaseFilter, BaseJob, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeFolderListClientProps, BeforeFolderListServerProps, BeforeFolderListServerPropsOnly, BeforeFolderListTableClientProps, BeforeFolderListTableServerProps, BeforeFolderListTableServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeginTransaction, BinScript, BinScriptConfig, Block, BlockJSX, BlockPermissions, BlockRowLabelClientComponent, BlockRowLabelServerComponent, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientComponent, BlocksFieldClientProps, BlocksFieldDescriptionClientComponent, BlocksFieldDescriptionServerComponent, BlocksFieldDiffClientComponent, BlocksFieldDiffServerComponent, BlocksFieldErrorClientComponent, BlocksFieldErrorServerComponent, BlocksFieldLabelClientComponent, BlocksFieldLabelServerComponent, BlocksFieldServerComponent, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BuildCollectionFolderViewResult, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CORSConfig, CheckboxField, CheckboxFieldClient, CheckboxFieldClientComponent, CheckboxFieldClientProps, CheckboxFieldDescriptionClientComponent, CheckboxFieldDescriptionServerComponent, CheckboxFieldDiffClientComponent, CheckboxFieldDiffServerComponent, CheckboxFieldErrorClientComponent, CheckboxFieldErrorServerComponent, CheckboxFieldLabelClientComponent, CheckboxFieldLabelServerComponent, CheckboxFieldServerComponent, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUser, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientComponent, CodeFieldClientProps, CodeFieldDescriptionClientComponent, CodeFieldDescriptionServerComponent, CodeFieldDiffClientComponent, CodeFieldDiffServerComponent, CodeFieldErrorClientComponent, CodeFieldErrorServerComponent, CodeFieldLabelClientComponent, CodeFieldLabelServerComponent, CodeFieldServerComponent, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientComponent, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientComponent, CollapsibleFieldDescriptionServerComponent, CollapsibleFieldDiffClientComponent, CollapsibleFieldDiffServerComponent, CollapsibleFieldErrorClientComponent, CollapsibleFieldErrorServerComponent, CollapsibleFieldLabelClientComponent, CollapsibleFieldLabelServerComponent, CollapsibleFieldServerComponent, CollapsibleFieldServerProps, Collection, 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, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateVersion, CreateVersionArgs, 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, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, 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, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, File$1 as File, FileAllowList, FileData, FileSize, FileSizeImproved, 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, FolderListViewClientProps, FolderListViewServerProps, FolderListViewServerPropsOnly, FolderListViewSlotSharedClientProps, FolderListViewSlots, FolderSortKeys, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetFolderResultsComponentAndDataArgs, 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, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientComponent, GroupFieldClientProps, GroupFieldDescriptionClientComponent, GroupFieldDescriptionServerComponent, GroupFieldDiffClientComponent, GroupFieldDiffServerComponent, GroupFieldErrorClientComponent, GroupFieldErrorServerComponent, GroupFieldLabelClientComponent, GroupFieldLabelServerComponent, GroupFieldServerComponent, GroupFieldServerProps, HiddenFieldProps, HookName, HookOperationType, IfAny, ImageSize, ImageUploadFormatOptions, ImageUploadTrimOptions, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitReqResult, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientComponent, JSONFieldClientProps, JSONFieldDescriptionClientComponent, JSONFieldDescriptionServerComponent, JSONFieldDiffClientComponent, JSONFieldDiffServerComponent, JSONFieldErrorClientComponent, JSONFieldErrorServerComponent, JSONFieldLabelClientComponent, JSONFieldLabelServerComponent, JSONFieldServerComponent, JSONFieldServerProps, JSONFieldValidation, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientComponent, JoinFieldClientProps, JoinFieldDescriptionClientComponent, JoinFieldDescriptionServerComponent, JoinFieldDiffClientComponent, JoinFieldDiffServerComponent, JoinFieldErrorClientComponent, JoinFieldErrorServerComponent, JoinFieldLabelClientComponent, JoinFieldLabelServerComponent, JoinFieldServerComponent, JoinFieldServerProps, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, LocalizeStatusArgs$1 as MongoLocalizeStatusArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawPayloadComponent, RegisteredPlugins, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedProps, SharpDependency, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, LocalizeStatusArgs as SqlLocalizeStatusArgs, StaticDescription, StaticLabel, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };
|
|
14338
|
+
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, apiKeyFields as baseAPIKeyFields, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createFolderField, createLocalReq, createMigration, createOperation, createPayloadRequest, createTagField, createUnauthenticatedClientConfig, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaults, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getHierarchyFieldName, getInitialTreeData, getLatestCollectionVersion, getLatestGlobalVersion, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRequestLanguage, handleEndpoints, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, localizeStatus, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrate$1 as migrateCLI, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, refreshOperation, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, saveVersion, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, slugField, sortableFieldTypes, stripUnselectedFields, toWords, traverseFields, unlockOperation, updateByIDOperation, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeMigrationIndex };
|
|
14339
|
+
export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, BaseDatabaseAdapter, BaseFilter, BaseJob, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeginTransaction, BinScript, BinScriptConfig, Block, BlockJSX, BlockPermissions, BlockRowLabelClientComponent, BlockRowLabelServerComponent, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientComponent, BlocksFieldClientProps, BlocksFieldDescriptionClientComponent, BlocksFieldDescriptionServerComponent, BlocksFieldDiffClientComponent, BlocksFieldDiffServerComponent, BlocksFieldErrorClientComponent, BlocksFieldErrorServerComponent, BlocksFieldLabelClientComponent, BlocksFieldLabelServerComponent, BlocksFieldServerComponent, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CORSConfig, CheckboxField, CheckboxFieldClient, CheckboxFieldClientComponent, CheckboxFieldClientProps, CheckboxFieldDescriptionClientComponent, CheckboxFieldDescriptionServerComponent, CheckboxFieldDiffClientComponent, CheckboxFieldDiffServerComponent, CheckboxFieldErrorClientComponent, CheckboxFieldErrorServerComponent, CheckboxFieldLabelClientComponent, CheckboxFieldLabelServerComponent, CheckboxFieldServerComponent, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUser, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientComponent, CodeFieldClientProps, CodeFieldDescriptionClientComponent, CodeFieldDescriptionServerComponent, CodeFieldDiffClientComponent, CodeFieldDiffServerComponent, CodeFieldErrorClientComponent, CodeFieldErrorServerComponent, CodeFieldLabelClientComponent, CodeFieldLabelServerComponent, CodeFieldServerComponent, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientComponent, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientComponent, CollapsibleFieldDescriptionServerComponent, CollapsibleFieldDiffClientComponent, CollapsibleFieldDiffServerComponent, CollapsibleFieldErrorClientComponent, CollapsibleFieldErrorServerComponent, CollapsibleFieldLabelClientComponent, CollapsibleFieldLabelServerComponent, CollapsibleFieldServerComponent, CollapsibleFieldServerProps, Collection, 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, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, 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, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, 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, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, File$1 as File, FileAllowList, FileData, FileSize, FileSizeImproved, 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, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, 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, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientComponent, GroupFieldClientProps, GroupFieldDescriptionClientComponent, GroupFieldDescriptionServerComponent, GroupFieldDiffClientComponent, GroupFieldDiffServerComponent, GroupFieldErrorClientComponent, GroupFieldErrorServerComponent, GroupFieldLabelClientComponent, GroupFieldLabelServerComponent, GroupFieldServerComponent, GroupFieldServerProps, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IfAny, ImageSize, ImageUploadFormatOptions, ImageUploadTrimOptions, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitReqResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientComponent, JSONFieldClientProps, JSONFieldDescriptionClientComponent, JSONFieldDescriptionServerComponent, JSONFieldDiffClientComponent, JSONFieldDiffServerComponent, JSONFieldErrorClientComponent, JSONFieldErrorServerComponent, JSONFieldLabelClientComponent, JSONFieldLabelServerComponent, JSONFieldServerComponent, JSONFieldServerProps, JSONFieldValidation, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientComponent, JoinFieldClientProps, JoinFieldDescriptionClientComponent, JoinFieldDescriptionServerComponent, JoinFieldDiffClientComponent, JoinFieldDiffServerComponent, JoinFieldErrorClientComponent, JoinFieldErrorServerComponent, JoinFieldLabelClientComponent, JoinFieldLabelServerComponent, JoinFieldServerComponent, JoinFieldServerProps, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, LocalizeStatusArgs$1 as MongoLocalizeStatusArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawPayloadComponent, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, 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, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedProps, SharpDependency, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, LocalizeStatusArgs as SqlLocalizeStatusArgs, StaticDescription, StaticLabel, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };
|