payload 3.80.0-internal.cdd7ef7 → 3.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/elements/Nav.d.ts +0 -13
- 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 +38 -1
- 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 +4 -5
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/admin/views/folderList.d.ts +56 -0
- package/dist/admin/views/folderList.d.ts.map +1 -0
- package/dist/admin/views/folderList.js +3 -0
- package/dist/admin/views/folderList.js.map +1 -0
- package/dist/admin/views/index.d.ts +3 -1
- 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 +2 -43
- 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 +0 -1
- 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 +0 -7
- package/dist/bin/generateImportMap/iterateConfig.js.map +1 -1
- package/dist/collections/config/client.d.ts +1 -3
- package/dist/collections/config/client.d.ts.map +1 -1
- package/dist/collections/config/client.js +0 -11
- 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 +7 -3
- package/dist/collections/config/sanitize.js.map +1 -1
- package/dist/collections/config/types.d.ts +7 -29
- package/dist/collections/config/types.d.ts.map +1 -1
- package/dist/collections/config/types.js.map +1 -1
- package/dist/collections/operations/create.js +17 -17
- package/dist/collections/operations/create.js.map +1 -1
- package/dist/collections/operations/findByID.js +3 -3
- package/dist/collections/operations/findByID.js.map +1 -1
- package/dist/collections/operations/update.js +1 -1
- package/dist/collections/operations/update.js.map +1 -1
- package/dist/collections/operations/utilities/update.d.ts.map +1 -1
- package/dist/collections/operations/utilities/update.js +6 -6
- package/dist/collections/operations/utilities/update.js.map +1 -1
- package/dist/config/client.d.ts.map +1 -1
- package/dist/config/client.js +10 -0
- package/dist/config/client.js.map +1 -1
- package/dist/config/defaults.d.ts.map +1 -1
- package/dist/config/defaults.js +15 -0
- package/dist/config/defaults.js.map +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/config/sanitize.js +26 -3
- package/dist/config/sanitize.js.map +1 -1
- package/dist/config/types.d.ts +12 -26
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/exports/shared.d.ts +3 -2
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js +2 -1
- package/dist/exports/shared.js.map +1 -1
- package/dist/fields/baseFields/slug/index.d.ts +7 -0
- package/dist/fields/baseFields/slug/index.d.ts.map +1 -1
- package/dist/fields/baseFields/slug/index.js +2 -2
- package/dist/fields/baseFields/slug/index.js.map +1 -1
- package/dist/fields/config/sanitize.d.ts.map +1 -1
- package/dist/fields/config/sanitize.js +0 -4
- 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 +0 -3
- package/dist/fields/config/sanitizeJoinField.js.map +1 -1
- package/dist/folders/addFolderCollection.d.ts +10 -0
- package/dist/folders/addFolderCollection.d.ts.map +1 -0
- package/dist/folders/addFolderCollection.js +26 -0
- package/dist/folders/addFolderCollection.js.map +1 -0
- package/dist/folders/addFolderFieldToCollection.d.ts +8 -0
- package/dist/folders/addFolderFieldToCollection.d.ts.map +1 -0
- package/dist/folders/addFolderFieldToCollection.js +20 -0
- package/dist/folders/addFolderFieldToCollection.js.map +1 -0
- package/dist/folders/buildFolderField.d.ts +8 -0
- package/dist/folders/buildFolderField.d.ts.map +1 -0
- package/dist/folders/buildFolderField.js +87 -0
- package/dist/folders/buildFolderField.js.map +1 -0
- package/dist/folders/constants.d.ts +3 -0
- package/dist/folders/constants.d.ts.map +1 -0
- package/dist/folders/constants.js +4 -0
- package/dist/folders/constants.js.map +1 -0
- package/dist/folders/createFolderCollection.d.ts +11 -0
- package/dist/folders/createFolderCollection.d.ts.map +1 -0
- package/dist/folders/createFolderCollection.js +115 -0
- package/dist/folders/createFolderCollection.js.map +1 -0
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.d.ts +8 -0
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.d.ts.map +1 -0
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.js +15 -0
- package/dist/folders/hooks/deleteSubfoldersAfterDelete.js.map +1 -0
- package/dist/folders/hooks/dissasociateAfterDelete.d.ts +8 -0
- package/dist/folders/hooks/dissasociateAfterDelete.d.ts.map +1 -0
- package/dist/folders/hooks/dissasociateAfterDelete.js +20 -0
- package/dist/folders/hooks/dissasociateAfterDelete.js.map +1 -0
- package/dist/folders/hooks/ensureSafeCollectionsChange.d.ts +5 -0
- package/dist/folders/hooks/ensureSafeCollectionsChange.d.ts.map +1 -0
- package/dist/folders/hooks/ensureSafeCollectionsChange.js +107 -0
- package/dist/folders/hooks/ensureSafeCollectionsChange.js.map +1 -0
- package/dist/folders/hooks/reparentChildFolder.d.ts +24 -0
- package/dist/folders/hooks/reparentChildFolder.d.ts.map +1 -0
- package/dist/folders/hooks/reparentChildFolder.js +72 -0
- package/dist/folders/hooks/reparentChildFolder.js.map +1 -0
- package/dist/folders/types.d.ts +118 -0
- package/dist/folders/types.d.ts.map +1 -0
- package/dist/folders/types.js +3 -0
- package/dist/folders/types.js.map +1 -0
- package/dist/folders/utils/buildFolderWhereConstraints.d.ts +13 -0
- package/dist/folders/utils/buildFolderWhereConstraints.d.ts.map +1 -0
- package/dist/folders/utils/buildFolderWhereConstraints.js +45 -0
- package/dist/folders/utils/buildFolderWhereConstraints.js.map +1 -0
- package/dist/folders/utils/formatFolderOrDocumentItem.d.ts +12 -0
- package/dist/folders/utils/formatFolderOrDocumentItem.d.ts.map +1 -0
- package/dist/folders/utils/formatFolderOrDocumentItem.js +30 -0
- package/dist/folders/utils/formatFolderOrDocumentItem.js.map +1 -0
- package/dist/folders/utils/getFolderBreadcrumbs.d.ts +14 -0
- package/dist/folders/utils/getFolderBreadcrumbs.d.ts.map +1 -0
- package/dist/folders/utils/getFolderBreadcrumbs.js +45 -0
- package/dist/folders/utils/getFolderBreadcrumbs.js.map +1 -0
- package/dist/folders/utils/getFolderData.d.ts +33 -0
- package/dist/folders/utils/getFolderData.d.ts.map +1 -0
- package/dist/folders/utils/getFolderData.js +88 -0
- package/dist/folders/utils/getFolderData.js.map +1 -0
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.d.ts +24 -0
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.d.ts.map +1 -0
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.js +66 -0
- package/dist/folders/utils/getFoldersAndDocumentsFromJoin.js.map +1 -0
- package/dist/folders/utils/getOrphanedDocs.d.ts +15 -0
- package/dist/folders/utils/getOrphanedDocs.d.ts.map +1 -0
- package/dist/folders/utils/getOrphanedDocs.js +40 -0
- package/dist/folders/utils/getOrphanedDocs.js.map +1 -0
- package/dist/globals/config/types.d.ts +0 -4
- package/dist/globals/config/types.d.ts.map +1 -1
- package/dist/globals/config/types.js.map +1 -1
- package/dist/globals/operations/update.d.ts.map +1 -1
- package/dist/globals/operations/update.js +2 -1
- package/dist/globals/operations/update.js.map +1 -1
- package/dist/index.bundled.d.ts +288 -577
- package/dist/index.d.ts +9 -23
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -13
- package/dist/index.js.map +1 -1
- package/dist/preferences/keys.d.ts +4 -8
- package/dist/preferences/keys.d.ts.map +1 -1
- package/dist/preferences/keys.js +4 -7
- package/dist/preferences/keys.js.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utilities/addDataAndFileToRequest.d.ts.map +1 -1
- package/dist/utilities/addDataAndFileToRequest.js +7 -1
- package/dist/utilities/addDataAndFileToRequest.js.map +1 -1
- package/dist/utilities/extractID.js +1 -1
- package/dist/utilities/extractID.js.map +1 -1
- package/dist/utilities/formatAdminURL.d.ts +2 -13
- package/dist/utilities/formatAdminURL.d.ts.map +1 -1
- package/dist/utilities/formatAdminURL.js.map +1 -1
- package/dist/versions/saveVersion.d.ts +1 -0
- package/dist/versions/saveVersion.d.ts.map +1 -1
- package/dist/versions/saveVersion.js +16 -66
- package/dist/versions/saveVersion.js.map +1 -1
- package/dist/versions/updateLatestVersion.d.ts +24 -0
- package/dist/versions/updateLatestVersion.d.ts.map +1 -0
- package/dist/versions/updateLatestVersion.js +64 -0
- package/dist/versions/updateLatestVersion.js.map +1 -0
- package/package.json +4 -4
- package/dist/admin/views/hierarchyList.d.ts +0 -9
- package/dist/admin/views/hierarchyList.d.ts.map +0 -1
- package/dist/admin/views/hierarchyList.js +0 -3
- package/dist/admin/views/hierarchyList.js.map +0 -1
- package/dist/hierarchy/addHierarchyToCollection.d.ts +0 -8
- package/dist/hierarchy/addHierarchyToCollection.d.ts.map +0 -1
- package/dist/hierarchy/addHierarchyToCollection.js +0 -62
- package/dist/hierarchy/addHierarchyToCollection.js.map +0 -1
- package/dist/hierarchy/buildParentField.d.ts +0 -11
- package/dist/hierarchy/buildParentField.d.ts.map +0 -1
- package/dist/hierarchy/buildParentField.js +0 -42
- package/dist/hierarchy/buildParentField.js.map +0 -1
- package/dist/hierarchy/constants.d.ts +0 -15
- package/dist/hierarchy/constants.d.ts.map +0 -1
- package/dist/hierarchy/constants.js +0 -11
- package/dist/hierarchy/constants.js.map +0 -1
- package/dist/hierarchy/createFolderField.d.ts +0 -39
- package/dist/hierarchy/createFolderField.d.ts.map +0 -1
- package/dist/hierarchy/createFolderField.js +0 -54
- package/dist/hierarchy/createFolderField.js.map +0 -1
- package/dist/hierarchy/createFoldersCollection.d.ts +0 -57
- package/dist/hierarchy/createFoldersCollection.d.ts.map +0 -1
- package/dist/hierarchy/createFoldersCollection.js +0 -63
- package/dist/hierarchy/createFoldersCollection.js.map +0 -1
- package/dist/hierarchy/createTagField.d.ts +0 -44
- package/dist/hierarchy/createTagField.d.ts.map +0 -1
- package/dist/hierarchy/createTagField.js +0 -48
- package/dist/hierarchy/createTagField.js.map +0 -1
- package/dist/hierarchy/createTagsCollection.d.ts +0 -54
- package/dist/hierarchy/createTagsCollection.d.ts.map +0 -1
- package/dist/hierarchy/createTagsCollection.js +0 -56
- package/dist/hierarchy/createTagsCollection.js.map +0 -1
- package/dist/hierarchy/getInitialTreeData.d.ts +0 -27
- package/dist/hierarchy/getInitialTreeData.d.ts.map +0 -1
- package/dist/hierarchy/getInitialTreeData.js +0 -125
- package/dist/hierarchy/getInitialTreeData.js.map +0 -1
- package/dist/hierarchy/hooks/collectionAfterDelete.d.ts +0 -14
- package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +0 -1
- package/dist/hierarchy/hooks/collectionAfterDelete.js +0 -21
- package/dist/hierarchy/hooks/collectionAfterDelete.js.map +0 -1
- package/dist/hierarchy/hooks/collectionAfterRead.d.ts +0 -27
- package/dist/hierarchy/hooks/collectionAfterRead.d.ts.map +0 -1
- package/dist/hierarchy/hooks/collectionAfterRead.js +0 -64
- package/dist/hierarchy/hooks/collectionAfterRead.js.map +0 -1
- package/dist/hierarchy/hooks/collectionBeforeChange.d.ts +0 -19
- package/dist/hierarchy/hooks/collectionBeforeChange.d.ts.map +0 -1
- package/dist/hierarchy/hooks/collectionBeforeChange.js +0 -90
- package/dist/hierarchy/hooks/collectionBeforeChange.js.map +0 -1
- package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts +0 -15
- package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +0 -1
- package/dist/hierarchy/hooks/collectionBeforeDelete.js +0 -20
- package/dist/hierarchy/hooks/collectionBeforeDelete.js.map +0 -1
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts +0 -8
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts.map +0 -1
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.js +0 -108
- package/dist/hierarchy/hooks/ensureSafeCollectionsChange.js.map +0 -1
- package/dist/hierarchy/injectHierarchyButton.d.ts +0 -14
- package/dist/hierarchy/injectHierarchyButton.d.ts.map +0 -1
- package/dist/hierarchy/injectHierarchyButton.js +0 -37
- package/dist/hierarchy/injectHierarchyButton.js.map +0 -1
- package/dist/hierarchy/resolveHierarchyCollections.d.ts +0 -23
- package/dist/hierarchy/resolveHierarchyCollections.d.ts.map +0 -1
- package/dist/hierarchy/resolveHierarchyCollections.js +0 -312
- package/dist/hierarchy/resolveHierarchyCollections.js.map +0 -1
- package/dist/hierarchy/sanitizeHierarchyCollection.d.ts +0 -14
- package/dist/hierarchy/sanitizeHierarchyCollection.d.ts.map +0 -1
- package/dist/hierarchy/sanitizeHierarchyCollection.js +0 -112
- package/dist/hierarchy/sanitizeHierarchyCollection.js.map +0 -1
- package/dist/hierarchy/types.d.ts +0 -137
- package/dist/hierarchy/types.d.ts.map +0 -1
- package/dist/hierarchy/types.js +0 -6
- package/dist/hierarchy/types.js.map +0 -1
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.d.ts +0 -71
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.d.ts.map +0 -1
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.js +0 -65
- package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.js.map +0 -1
- package/dist/hierarchy/utils/computePaths.d.ts +0 -31
- package/dist/hierarchy/utils/computePaths.d.ts.map +0 -1
- package/dist/hierarchy/utils/computePaths.js +0 -371
- package/dist/hierarchy/utils/computePaths.js.map +0 -1
- package/dist/hierarchy/utils/findUseAsTitle.d.ts +0 -6
- package/dist/hierarchy/utils/findUseAsTitle.d.ts.map +0 -1
- package/dist/hierarchy/utils/findUseAsTitle.js +0 -72
- package/dist/hierarchy/utils/findUseAsTitle.js.map +0 -1
- package/dist/hierarchy/utils/getAncestors.d.ts +0 -34
- package/dist/hierarchy/utils/getAncestors.d.ts.map +0 -1
- package/dist/hierarchy/utils/getAncestors.js +0 -94
- package/dist/hierarchy/utils/getAncestors.js.map +0 -1
- package/dist/hierarchy/utils/getLocalizedValue.d.ts +0 -30
- package/dist/hierarchy/utils/getLocalizedValue.d.ts.map +0 -1
- package/dist/hierarchy/utils/getLocalizedValue.js +0 -46
- package/dist/hierarchy/utils/getLocalizedValue.js.map +0 -1
- package/dist/hierarchy/utils/getLocalizedValue.spec.js +0 -250
- package/dist/hierarchy/utils/getLocalizedValue.spec.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" | "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: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: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:filter" | "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: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: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")[];
|
|
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: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")[];
|
|
23
23
|
|
|
24
24
|
declare const enTranslations: {
|
|
25
25
|
authentication: {
|
|
@@ -205,6 +205,29 @@ declare const enTranslations: {
|
|
|
205
205
|
toggleBlock: string;
|
|
206
206
|
uploadNewLabel: string;
|
|
207
207
|
};
|
|
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
|
+
};
|
|
208
231
|
general: {
|
|
209
232
|
name: string;
|
|
210
233
|
aboutToDelete: string;
|
|
@@ -219,7 +242,6 @@ declare const enTranslations: {
|
|
|
219
242
|
aboutToRestoreCount: string;
|
|
220
243
|
aboutToTrash: string;
|
|
221
244
|
aboutToTrashCount: string;
|
|
222
|
-
accepts: string;
|
|
223
245
|
addBelow: string;
|
|
224
246
|
addFilter: string;
|
|
225
247
|
adminTheme: string;
|
|
@@ -239,7 +261,6 @@ declare const enTranslations: {
|
|
|
239
261
|
clearAll: string;
|
|
240
262
|
close: string;
|
|
241
263
|
collapse: string;
|
|
242
|
-
collection: string;
|
|
243
264
|
collections: string;
|
|
244
265
|
columns: string;
|
|
245
266
|
columnToSort: string;
|
|
@@ -327,7 +348,6 @@ declare const enTranslations: {
|
|
|
327
348
|
light: string;
|
|
328
349
|
livePreview: string;
|
|
329
350
|
loading: string;
|
|
330
|
-
loadMore: string;
|
|
331
351
|
locale: string;
|
|
332
352
|
locales: string;
|
|
333
353
|
lock: string;
|
|
@@ -385,7 +405,6 @@ declare const enTranslations: {
|
|
|
385
405
|
restoreAsPublished: string;
|
|
386
406
|
restoredCountSuccessfully: string;
|
|
387
407
|
restoring: string;
|
|
388
|
-
retry: string;
|
|
389
408
|
row: string;
|
|
390
409
|
rows: string;
|
|
391
410
|
save: string;
|
|
@@ -444,15 +463,6 @@ declare const enTranslations: {
|
|
|
444
463
|
welcome: string;
|
|
445
464
|
yes: string;
|
|
446
465
|
};
|
|
447
|
-
hierarchy: {
|
|
448
|
-
itemsMovedTo: string;
|
|
449
|
-
itemsMovedToRoot: string;
|
|
450
|
-
moveItemsToRootConfirmation: string;
|
|
451
|
-
moveToRoot: string;
|
|
452
|
-
noParent: string;
|
|
453
|
-
noResults: string;
|
|
454
|
-
searchLabel: string;
|
|
455
|
-
};
|
|
456
466
|
localization: {
|
|
457
467
|
cannotCopySameLocale: string;
|
|
458
468
|
copyFrom: string;
|
|
@@ -2079,10 +2089,6 @@ type GlobalAdminOptions = {
|
|
|
2079
2089
|
* Inject custom components before the document controls
|
|
2080
2090
|
*/
|
|
2081
2091
|
beforeDocumentControls?: CustomComponent[];
|
|
2082
|
-
/**
|
|
2083
|
-
* Inject custom components before the document metadata (left of status/timestamps)
|
|
2084
|
-
*/
|
|
2085
|
-
BeforeDocumentMeta?: CustomComponent[];
|
|
2086
2092
|
Description?: EntityDescriptionComponent;
|
|
2087
2093
|
/**
|
|
2088
2094
|
* Replaces the "Preview" button
|
|
@@ -4029,133 +4035,6 @@ declare const createClientFields: ({ defaultIDType, disableAddingID, fields, i18
|
|
|
4029
4035
|
importMap: ImportMap;
|
|
4030
4036
|
}) => ClientField[];
|
|
4031
4037
|
|
|
4032
|
-
/**
|
|
4033
|
-
* User-configurable options for the hierarchy join field.
|
|
4034
|
-
* Excludes properties that are auto-generated: type, collection, on, hasMany
|
|
4035
|
-
*/
|
|
4036
|
-
type HierarchyJoinFieldConfig = {
|
|
4037
|
-
name: string;
|
|
4038
|
-
} & Omit<Partial<JoinField>, 'collection' | 'hasMany' | 'name' | 'on' | 'type'>;
|
|
4039
|
-
/**
|
|
4040
|
-
* Configuration options for hierarchy feature
|
|
4041
|
-
*
|
|
4042
|
-
* Hierarchies are always self-referential - documents can only nest under other documents
|
|
4043
|
-
* from the same collection.
|
|
4044
|
-
*/
|
|
4045
|
-
type HierarchyConfig = {
|
|
4046
|
-
/**
|
|
4047
|
-
* UI configuration for hierarchy
|
|
4048
|
-
*/
|
|
4049
|
-
admin?: {
|
|
4050
|
-
/**
|
|
4051
|
-
* Custom components for hierarchy UI
|
|
4052
|
-
*/
|
|
4053
|
-
components?: {
|
|
4054
|
-
/**
|
|
4055
|
-
* Custom icon component for hierarchy items
|
|
4056
|
-
*/
|
|
4057
|
-
Icon?: PayloadComponent;
|
|
4058
|
-
};
|
|
4059
|
-
/**
|
|
4060
|
-
* Maximum number of items to load in tree views
|
|
4061
|
-
* @default 100
|
|
4062
|
-
*/
|
|
4063
|
-
treeLimit?: number;
|
|
4064
|
-
/**
|
|
4065
|
-
* Whether to use a header button for parent selection instead of inline field.
|
|
4066
|
-
* When true, the parent field is hidden and a button is injected into the document header.
|
|
4067
|
-
* @default true
|
|
4068
|
-
*/
|
|
4069
|
-
useHeaderButton?: boolean;
|
|
4070
|
-
};
|
|
4071
|
-
/**
|
|
4072
|
-
* Whether related documents can have multiple values of this hierarchy
|
|
4073
|
-
* Set to false for folder-like behavior (single parent), true for tag-like behavior (multiple)
|
|
4074
|
-
* @default true
|
|
4075
|
-
*/
|
|
4076
|
-
allowHasMany?: boolean;
|
|
4077
|
-
/**
|
|
4078
|
-
* Whether this hierarchy is scoped to specific collections
|
|
4079
|
-
* When true or an object, hierarchy items can be restricted to certain collections
|
|
4080
|
-
* @default false
|
|
4081
|
-
*/
|
|
4082
|
-
collectionSpecific?: {
|
|
4083
|
-
/**
|
|
4084
|
-
* Name of the select field for specifying allowed collections
|
|
4085
|
-
* @default 'hierarchyType'
|
|
4086
|
-
*/
|
|
4087
|
-
fieldName?: string;
|
|
4088
|
-
} | boolean;
|
|
4089
|
-
/**
|
|
4090
|
-
* Configure a join field to query all children (nested hierarchy items and related documents)
|
|
4091
|
-
* If not set, no join field is created.
|
|
4092
|
-
* You can pass additional JoinField options (admin, defaultLimit, defaultSort, etc.)
|
|
4093
|
-
* that will be merged with the auto-generated config.
|
|
4094
|
-
*/
|
|
4095
|
-
joinField?: HierarchyJoinFieldConfig;
|
|
4096
|
-
/**
|
|
4097
|
-
* Name of the field that references the parent document
|
|
4098
|
-
* Will automatically create this field if it does not exist
|
|
4099
|
-
* @default '_h_${collectionSlug}' (e.g., '_h_folders' for a collection with slug 'folders')
|
|
4100
|
-
*/
|
|
4101
|
-
parentFieldName: string;
|
|
4102
|
-
/**
|
|
4103
|
-
* Custom function to slugify text for path generation
|
|
4104
|
-
* Used by computeSlugPath() utility for generating slug-based breadcrumb paths
|
|
4105
|
-
* Defaults to internal slugify implementation
|
|
4106
|
-
*/
|
|
4107
|
-
slugify?: (text: string) => string;
|
|
4108
|
-
/**
|
|
4109
|
-
* Name of the virtual field that will contain the slug-based breadcrumb path
|
|
4110
|
-
* @default HIERARCHY_SLUG_PATH_FIELD ('_h_slugPath')
|
|
4111
|
-
*/
|
|
4112
|
-
slugPathFieldName?: string;
|
|
4113
|
-
/**
|
|
4114
|
-
* Name of the virtual field that will contain the title-based breadcrumb path
|
|
4115
|
-
* @default HIERARCHY_TITLE_PATH_FIELD ('_h_titlePath')
|
|
4116
|
-
*/
|
|
4117
|
-
titlePathFieldName?: string;
|
|
4118
|
-
};
|
|
4119
|
-
/**
|
|
4120
|
-
* Sanitized hierarchy configuration with all defaults applied
|
|
4121
|
-
*/
|
|
4122
|
-
type SanitizedHierarchyConfig = {
|
|
4123
|
-
admin: {
|
|
4124
|
-
components: {
|
|
4125
|
-
Icon: PayloadComponent;
|
|
4126
|
-
};
|
|
4127
|
-
treeLimit: number;
|
|
4128
|
-
useHeaderButton: boolean;
|
|
4129
|
-
};
|
|
4130
|
-
allowHasMany: boolean;
|
|
4131
|
-
collectionSpecific: {
|
|
4132
|
-
fieldName: string;
|
|
4133
|
-
} | false;
|
|
4134
|
-
/**
|
|
4135
|
-
* Join field configuration, or undefined if not enabled
|
|
4136
|
-
*/
|
|
4137
|
-
joinField?: HierarchyJoinFieldConfig;
|
|
4138
|
-
parentFieldName: string;
|
|
4139
|
-
/**
|
|
4140
|
-
* Auto-populated during validation - maps collection slug to field info
|
|
4141
|
-
*/
|
|
4142
|
-
relatedCollections: Record<string, SanitizedHierarchyRelatedCollection>;
|
|
4143
|
-
slugify: (text: string) => string;
|
|
4144
|
-
slugPathFieldName: string;
|
|
4145
|
-
titlePathFieldName: string;
|
|
4146
|
-
};
|
|
4147
|
-
/**
|
|
4148
|
-
* Information about how a collection relates to this hierarchy
|
|
4149
|
-
*/
|
|
4150
|
-
type SanitizedHierarchyRelatedCollection = {
|
|
4151
|
-
fieldName: string;
|
|
4152
|
-
hasMany: boolean;
|
|
4153
|
-
};
|
|
4154
|
-
/**
|
|
4155
|
-
* Client-safe hierarchy configuration (excludes functions that can't cross server-client boundary)
|
|
4156
|
-
*/
|
|
4157
|
-
type ClientHierarchyConfig = Omit<SanitizedHierarchyConfig, 'slugify'>;
|
|
4158
|
-
|
|
4159
4038
|
type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'access' | 'custom' | 'endpoints' | 'flattenedFields' | 'hooks' | 'indexes' | 'joins' | 'polymorphicJoins' | 'sanitizedIndexes'>;
|
|
4160
4039
|
type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
|
|
4161
4040
|
type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
|
|
@@ -4169,12 +4048,11 @@ type ClientCollectionConfig = {
|
|
|
4169
4048
|
verify?: true;
|
|
4170
4049
|
} & Omit<SanitizedCollectionConfig['auth'], 'forgotPassword' | 'strategies' | 'verify'>;
|
|
4171
4050
|
fields: ClientField[];
|
|
4172
|
-
hierarchy?: ClientHierarchyConfig | false;
|
|
4173
4051
|
labels: {
|
|
4174
4052
|
plural: StaticLabel;
|
|
4175
4053
|
singular: StaticLabel;
|
|
4176
4054
|
};
|
|
4177
|
-
} & Omit<SanitizedCollectionConfig, 'admin' | 'auth' | 'fields' | '
|
|
4055
|
+
} & Omit<SanitizedCollectionConfig, 'admin' | 'auth' | 'fields' | 'labels' | ServerOnlyCollectionProperties>;
|
|
4178
4056
|
declare const createClientCollectionConfig: ({ collection, defaultIDType, i18n, importMap, }: {
|
|
4179
4057
|
collection: SanitizedCollectionConfig;
|
|
4180
4058
|
defaultIDType: Payload["config"]["db"]["defaultIDType"];
|
|
@@ -4376,6 +4254,7 @@ type AdminViewConfig = {
|
|
|
4376
4254
|
strict?: boolean;
|
|
4377
4255
|
};
|
|
4378
4256
|
type AdminViewClientProps = {
|
|
4257
|
+
browseByFolderSlugs?: SanitizedCollectionConfig['slug'][];
|
|
4379
4258
|
clientConfig: ClientConfig;
|
|
4380
4259
|
documentSubViewType?: DocumentSubViewTypes;
|
|
4381
4260
|
viewType: ViewTypes;
|
|
@@ -4388,6 +4267,7 @@ type AdminViewServerPropsOnly = {
|
|
|
4388
4267
|
* @todo remove `docID` here as it is already contained in `initPageResult`
|
|
4389
4268
|
*/
|
|
4390
4269
|
readonly docID?: number | string;
|
|
4270
|
+
readonly folderID?: number | string;
|
|
4391
4271
|
readonly globalConfig?: SanitizedGlobalConfig;
|
|
4392
4272
|
readonly importMap: ImportMap;
|
|
4393
4273
|
readonly initialData?: Data;
|
|
@@ -4426,7 +4306,7 @@ type InitPageResult = {
|
|
|
4426
4306
|
/**
|
|
4427
4307
|
* @todo This should be renamed to `ViewType` (singular)
|
|
4428
4308
|
*/
|
|
4429
|
-
type ViewTypes = 'account' | 'createFirstUser' | 'dashboard' | 'document' | 'list' | 'reset' | 'trash' | 'verify' | 'version';
|
|
4309
|
+
type ViewTypes = 'account' | 'collection-folders' | 'createFirstUser' | 'dashboard' | 'document' | 'folders' | 'list' | 'reset' | 'trash' | 'verify' | 'version';
|
|
4430
4310
|
type ServerPropsFromView = {
|
|
4431
4311
|
collectionConfig?: SanitizedConfig['collections'][number];
|
|
4432
4312
|
globalConfig?: SanitizedConfig['globals'][number];
|
|
@@ -4563,6 +4443,94 @@ declare class UnverifiedEmail extends APIError {
|
|
|
4563
4443
|
*/
|
|
4564
4444
|
type ErrorName = 'APIError' | 'AuthenticationError' | 'ErrorDeletingFile' | 'FileRetrievalError' | 'FileUploadError' | 'Forbidden' | 'Locked' | 'LockedAuth' | 'MissingFile' | 'NotFound' | 'QueryError' | 'UnverifiedEmail' | 'ValidationError';
|
|
4565
4445
|
|
|
4446
|
+
type FolderBreadcrumb = {
|
|
4447
|
+
folderType?: CollectionSlug[];
|
|
4448
|
+
id: null | number | string;
|
|
4449
|
+
name: string;
|
|
4450
|
+
};
|
|
4451
|
+
/**
|
|
4452
|
+
* `${relationTo}-${id}` is used as a key for the item
|
|
4453
|
+
*/
|
|
4454
|
+
type FolderDocumentItemKey = `${string}-${number | string}`;
|
|
4455
|
+
/**
|
|
4456
|
+
* Needed for document card view for upload enabled collections
|
|
4457
|
+
*/
|
|
4458
|
+
type DocumentMediaData = {
|
|
4459
|
+
filename?: string;
|
|
4460
|
+
mimeType?: string;
|
|
4461
|
+
url?: string;
|
|
4462
|
+
};
|
|
4463
|
+
/**
|
|
4464
|
+
* A generic structure for a folder or document item.
|
|
4465
|
+
*/
|
|
4466
|
+
type FolderOrDocument = {
|
|
4467
|
+
itemKey: FolderDocumentItemKey;
|
|
4468
|
+
relationTo: CollectionSlug;
|
|
4469
|
+
value: {
|
|
4470
|
+
_folderOrDocumentTitle: string;
|
|
4471
|
+
createdAt?: string;
|
|
4472
|
+
folderID?: number | string;
|
|
4473
|
+
folderType: CollectionSlug[];
|
|
4474
|
+
id: number | string;
|
|
4475
|
+
updatedAt?: string;
|
|
4476
|
+
} & DocumentMediaData;
|
|
4477
|
+
};
|
|
4478
|
+
type GetFolderDataResult = {
|
|
4479
|
+
breadcrumbs: FolderBreadcrumb[] | null;
|
|
4480
|
+
documents: FolderOrDocument[];
|
|
4481
|
+
folderAssignedCollections: CollectionSlug[] | undefined;
|
|
4482
|
+
subfolders: FolderOrDocument[];
|
|
4483
|
+
};
|
|
4484
|
+
type RootFoldersConfiguration = {
|
|
4485
|
+
/**
|
|
4486
|
+
* If true, the browse by folder view will be enabled
|
|
4487
|
+
*
|
|
4488
|
+
* @default true
|
|
4489
|
+
*/
|
|
4490
|
+
browseByFolder?: boolean;
|
|
4491
|
+
/**
|
|
4492
|
+
* An array of functions to be ran when the folder collection is initialized
|
|
4493
|
+
* This allows plugins to modify the collection configuration
|
|
4494
|
+
*/
|
|
4495
|
+
collectionOverrides?: (({ collection, }: {
|
|
4496
|
+
collection: Omit<CollectionConfig, 'trash'>;
|
|
4497
|
+
}) => Omit<CollectionConfig, 'trash'> | Promise<Omit<CollectionConfig, 'trash'>>)[];
|
|
4498
|
+
/**
|
|
4499
|
+
* If true, you can scope folders to specific collections.
|
|
4500
|
+
*
|
|
4501
|
+
* @default true
|
|
4502
|
+
*/
|
|
4503
|
+
collectionSpecific?: boolean;
|
|
4504
|
+
/**
|
|
4505
|
+
* Ability to view hidden fields and collections related to folders
|
|
4506
|
+
*
|
|
4507
|
+
* @default false
|
|
4508
|
+
*/
|
|
4509
|
+
debug?: boolean;
|
|
4510
|
+
/**
|
|
4511
|
+
* The Folder field name
|
|
4512
|
+
*
|
|
4513
|
+
* @default "folder"
|
|
4514
|
+
*/
|
|
4515
|
+
fieldName?: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* Slug for the folder collection
|
|
4518
|
+
*
|
|
4519
|
+
* @default "payload-folders"
|
|
4520
|
+
*/
|
|
4521
|
+
slug?: string;
|
|
4522
|
+
};
|
|
4523
|
+
type CollectionFoldersConfiguration = {
|
|
4524
|
+
/**
|
|
4525
|
+
* If true, the collection will be included in the browse by folder view
|
|
4526
|
+
*
|
|
4527
|
+
* @default true
|
|
4528
|
+
*/
|
|
4529
|
+
browseByFolder?: boolean;
|
|
4530
|
+
};
|
|
4531
|
+
type BaseFolderSortKeys = 'createdAt' | 'name' | 'updatedAt';
|
|
4532
|
+
type FolderSortKeys = `-${BaseFolderSortKeys}` | BaseFolderSortKeys;
|
|
4533
|
+
|
|
4566
4534
|
declare const operations: readonly ["read", "update", "delete"];
|
|
4567
4535
|
type ConstraintOperation = (typeof operations)[number];
|
|
4568
4536
|
type DefaultConstraint = 'everyone' | 'onlyMe' | 'specificUsers';
|
|
@@ -5930,27 +5898,6 @@ type DashboardConfig = {
|
|
|
5930
5898
|
type SanitizedDashboardConfig = {
|
|
5931
5899
|
widgets: Array<Omit<Widget, 'Component'>>;
|
|
5932
5900
|
};
|
|
5933
|
-
type SidebarTab = {
|
|
5934
|
-
/** Tab components */
|
|
5935
|
-
components: {
|
|
5936
|
-
/** Component to render as tab content */
|
|
5937
|
-
Content: CustomComponent;
|
|
5938
|
-
/** Component to render as tab icon */
|
|
5939
|
-
Icon: PayloadComponent;
|
|
5940
|
-
};
|
|
5941
|
-
/** Disable this tab */
|
|
5942
|
-
disabled?: boolean;
|
|
5943
|
-
/** Make this tab active by default */
|
|
5944
|
-
isDefaultActive?: boolean;
|
|
5945
|
-
/**
|
|
5946
|
-
* Label for accessibility and tab display.
|
|
5947
|
-
* Supports i18n by passing an object with locale keys, or a function with `t` for translations.
|
|
5948
|
-
* If not provided, the slug will be used as fallback.
|
|
5949
|
-
*/
|
|
5950
|
-
label?: LabelFunction | StaticLabel;
|
|
5951
|
-
/** Unique identifier for override/disable */
|
|
5952
|
-
slug: string;
|
|
5953
|
-
};
|
|
5954
5901
|
/**
|
|
5955
5902
|
* This is the central configuration
|
|
5956
5903
|
*
|
|
@@ -6061,11 +6008,6 @@ type Config = {
|
|
|
6061
6008
|
* These components will be rendered in a popup menu above the logout button.
|
|
6062
6009
|
*/
|
|
6063
6010
|
settingsMenu?: CustomComponent[];
|
|
6064
|
-
/** Sidebar configuration */
|
|
6065
|
-
sidebar?: {
|
|
6066
|
-
/** Extensible tab system */
|
|
6067
|
-
tabs?: SidebarTab[];
|
|
6068
|
-
};
|
|
6069
6011
|
/**
|
|
6070
6012
|
* Replace or modify top-level admin routes, or add new ones:
|
|
6071
6013
|
* + `Account` - `/admin/account`
|
|
@@ -6138,6 +6080,11 @@ type Config = {
|
|
|
6138
6080
|
* @default '/account'
|
|
6139
6081
|
*/
|
|
6140
6082
|
account?: `/${string}`;
|
|
6083
|
+
/** The route for the browse by folder view.
|
|
6084
|
+
*
|
|
6085
|
+
* @default '/browse-by-folder'
|
|
6086
|
+
*/
|
|
6087
|
+
browseByFolder?: `/${string}`;
|
|
6141
6088
|
/** The route for the create first user page.
|
|
6142
6089
|
*
|
|
6143
6090
|
* @default '/create-first-user'
|
|
@@ -6321,6 +6268,12 @@ type Config = {
|
|
|
6321
6268
|
*/
|
|
6322
6269
|
localizeStatus?: boolean;
|
|
6323
6270
|
};
|
|
6271
|
+
/**
|
|
6272
|
+
* Options for folder view within the admin panel
|
|
6273
|
+
*
|
|
6274
|
+
* @experimental This feature may change in minor versions until it is fully stable
|
|
6275
|
+
*/
|
|
6276
|
+
folders?: false | RootFoldersConfiguration;
|
|
6324
6277
|
/**
|
|
6325
6278
|
* @see https://payloadcms.com/docs/configuration/globals#global-configs
|
|
6326
6279
|
*/
|
|
@@ -6999,7 +6952,6 @@ type EditMenuItemsServerPropsOnly = {} & ServerProps;
|
|
|
6999
6952
|
type EditMenuItemsServerProps = EditMenuItemsClientProps & EditMenuItemsServerPropsOnly;
|
|
7000
6953
|
|
|
7001
6954
|
type NavPreferences = {
|
|
7002
|
-
activeTab?: string;
|
|
7003
6955
|
groups: NavGroupPreferences;
|
|
7004
6956
|
open: boolean;
|
|
7005
6957
|
};
|
|
@@ -7008,14 +6960,6 @@ type NavGroupPreferences = {
|
|
|
7008
6960
|
open: boolean;
|
|
7009
6961
|
};
|
|
7010
6962
|
};
|
|
7011
|
-
type SidebarTabClientProps = {
|
|
7012
|
-
documentSubViewType?: DocumentSubViewTypes;
|
|
7013
|
-
viewType?: ViewTypes;
|
|
7014
|
-
};
|
|
7015
|
-
type SidebarTabServerPropsOnly = {
|
|
7016
|
-
req?: PayloadRequest;
|
|
7017
|
-
} & ServerProps;
|
|
7018
|
-
type SidebarTabServerProps = SidebarTabClientProps & SidebarTabServerPropsOnly;
|
|
7019
6963
|
|
|
7020
6964
|
type PreviewButtonClientProps = {};
|
|
7021
6965
|
type PreviewButtonServerPropsOnly = {} & ServerProps;
|
|
@@ -7562,6 +7506,13 @@ type SlugFieldArgs = {
|
|
|
7562
7506
|
* @default 'generateSlug'
|
|
7563
7507
|
*/
|
|
7564
7508
|
checkboxName?: string;
|
|
7509
|
+
/**
|
|
7510
|
+
* Disables the unique index on the field.
|
|
7511
|
+
* This is useful if instead, you want to add a compound unique index to the collection `indexes` config,
|
|
7512
|
+
* for example with the multi tenant plugin, where the slug is only unique per tenant, not globally.
|
|
7513
|
+
* @default false
|
|
7514
|
+
*/
|
|
7515
|
+
disableUnique?: boolean;
|
|
7565
7516
|
/**
|
|
7566
7517
|
* @deprecated use `useAsSlug` instead.
|
|
7567
7518
|
*/
|
|
@@ -7718,6 +7669,43 @@ type BuildTableStateArgs = {
|
|
|
7718
7669
|
renderRowTypes?: boolean;
|
|
7719
7670
|
tableAppearance?: 'condensed' | 'default';
|
|
7720
7671
|
};
|
|
7672
|
+
type BuildCollectionFolderViewResult = {
|
|
7673
|
+
View: React.ReactNode;
|
|
7674
|
+
};
|
|
7675
|
+
type GetFolderResultsComponentAndDataArgs = {
|
|
7676
|
+
/**
|
|
7677
|
+
* If true and no folderID is provided, only folders will be returned.
|
|
7678
|
+
* If false, the results will include documents from the active collections.
|
|
7679
|
+
*/
|
|
7680
|
+
browseByFolder: boolean;
|
|
7681
|
+
/**
|
|
7682
|
+
* Used to filter document types to include in the results/display.
|
|
7683
|
+
*
|
|
7684
|
+
* i.e. ['folders', 'posts'] will only include folders and posts in the results.
|
|
7685
|
+
*
|
|
7686
|
+
* collectionsToQuery?
|
|
7687
|
+
*/
|
|
7688
|
+
collectionsToDisplay: CollectionSlug[];
|
|
7689
|
+
/**
|
|
7690
|
+
* Used to determine how the results should be displayed.
|
|
7691
|
+
*/
|
|
7692
|
+
displayAs: 'grid' | 'list';
|
|
7693
|
+
/**
|
|
7694
|
+
* Used to filter folders by the collections they are assigned to.
|
|
7695
|
+
*
|
|
7696
|
+
* i.e. ['posts'] will only include folders that are assigned to the posts collections.
|
|
7697
|
+
*/
|
|
7698
|
+
folderAssignedCollections: CollectionSlug[];
|
|
7699
|
+
/**
|
|
7700
|
+
* The ID of the folder to filter results by.
|
|
7701
|
+
*/
|
|
7702
|
+
folderID: number | string | undefined;
|
|
7703
|
+
req: PayloadRequest;
|
|
7704
|
+
/**
|
|
7705
|
+
* The sort order for the results.
|
|
7706
|
+
*/
|
|
7707
|
+
sort: FolderSortKeys;
|
|
7708
|
+
};
|
|
7721
7709
|
type SlugifyServerFunctionArgs = {
|
|
7722
7710
|
collectionSlug?: CollectionSlug;
|
|
7723
7711
|
globalSlug?: GlobalSlug;
|
|
@@ -7747,44 +7735,59 @@ type WidgetServerProps<TWidget extends {
|
|
|
7747
7735
|
} & Exclude<TWidget, never>>;
|
|
7748
7736
|
} & Pick<InitReqResult, 'cookies' | 'locale' | 'permissions' | 'req'>;
|
|
7749
7737
|
|
|
7750
|
-
type
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7738
|
+
type FolderListViewSlots = {
|
|
7739
|
+
AfterFolderList?: React.ReactNode;
|
|
7740
|
+
AfterFolderListTable?: React.ReactNode;
|
|
7741
|
+
BeforeFolderList?: React.ReactNode;
|
|
7742
|
+
BeforeFolderListTable?: React.ReactNode;
|
|
7743
|
+
Description?: React.ReactNode;
|
|
7744
|
+
listMenuItems?: React.ReactNode[];
|
|
7756
7745
|
};
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
}
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7746
|
+
type FolderListViewServerPropsOnly = {
|
|
7747
|
+
collectionConfig: SanitizedCollectionConfig;
|
|
7748
|
+
documents: FolderOrDocument[];
|
|
7749
|
+
subfolders: FolderOrDocument[];
|
|
7750
|
+
} & ServerProps;
|
|
7751
|
+
type FolderListViewServerProps = FolderListViewClientProps & FolderListViewServerPropsOnly;
|
|
7752
|
+
type FolderListViewClientProps = {
|
|
7753
|
+
activeCollectionFolderSlugs?: SanitizedCollectionConfig['slug'][];
|
|
7754
|
+
allCollectionFolderSlugs: SanitizedCollectionConfig['slug'][];
|
|
7755
|
+
allowCreateCollectionSlugs: SanitizedCollectionConfig['slug'][];
|
|
7756
|
+
baseFolderPath: `/${string}`;
|
|
7757
|
+
beforeActions?: React.ReactNode[];
|
|
7758
|
+
breadcrumbs: FolderBreadcrumb[];
|
|
7759
|
+
collectionSlug?: SanitizedCollectionConfig['slug'];
|
|
7760
|
+
disableBulkDelete?: boolean;
|
|
7761
|
+
disableBulkEdit?: boolean;
|
|
7762
|
+
documents: FolderOrDocument[];
|
|
7763
|
+
enableRowSelections?: boolean;
|
|
7764
|
+
folderAssignedCollections?: SanitizedCollectionConfig['slug'][];
|
|
7765
|
+
folderFieldName: string;
|
|
7766
|
+
folderID: null | number | string;
|
|
7767
|
+
FolderResultsComponent: React.ReactNode;
|
|
7768
|
+
search?: string;
|
|
7769
|
+
sort?: FolderSortKeys;
|
|
7770
|
+
subfolders: FolderOrDocument[];
|
|
7771
|
+
viewPreference: 'grid' | 'list';
|
|
7772
|
+
} & FolderListViewSlots;
|
|
7773
|
+
type FolderListViewSlotSharedClientProps = {
|
|
7774
|
+
collectionSlug: SanitizedCollectionConfig['slug'];
|
|
7775
|
+
hasCreatePermission: boolean;
|
|
7776
|
+
newDocumentURL: string;
|
|
7787
7777
|
};
|
|
7778
|
+
type BeforeFolderListClientProps = FolderListViewSlotSharedClientProps;
|
|
7779
|
+
type BeforeFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7780
|
+
type BeforeFolderListServerProps = BeforeFolderListClientProps & BeforeFolderListServerPropsOnly;
|
|
7781
|
+
type BeforeFolderListTableClientProps = FolderListViewSlotSharedClientProps;
|
|
7782
|
+
type BeforeFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7783
|
+
type BeforeFolderListTableServerProps = BeforeFolderListTableClientProps & BeforeFolderListTableServerPropsOnly;
|
|
7784
|
+
type AfterFolderListClientProps = FolderListViewSlotSharedClientProps;
|
|
7785
|
+
type AfterFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7786
|
+
type AfterFolderListServerProps = AfterFolderListClientProps & AfterFolderListServerPropsOnly;
|
|
7787
|
+
type AfterFolderListTableClientProps = FolderListViewSlotSharedClientProps;
|
|
7788
|
+
type AfterFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
|
|
7789
|
+
type AfterFolderListTableServerProps = AfterFolderListTableClientProps & AfterFolderListTableServerPropsOnly;
|
|
7790
|
+
|
|
7788
7791
|
type ListViewSlots = {
|
|
7789
7792
|
AfterList?: React.ReactNode;
|
|
7790
7793
|
AfterListTable?: React.ReactNode;
|
|
@@ -7809,7 +7812,6 @@ type ListViewServerPropsOnly = {
|
|
|
7809
7812
|
} & ServerProps;
|
|
7810
7813
|
type ListViewServerProps = ListViewClientProps & ListViewServerPropsOnly;
|
|
7811
7814
|
type ListViewClientProps = {
|
|
7812
|
-
baseFilter?: Where;
|
|
7813
7815
|
beforeActions?: React.ReactNode[];
|
|
7814
7816
|
collectionSlug: SanitizedCollectionConfig['slug'];
|
|
7815
7817
|
columnState: Column[];
|
|
@@ -7820,14 +7822,6 @@ type ListViewClientProps = {
|
|
|
7820
7822
|
hasCreatePermission: boolean;
|
|
7821
7823
|
hasDeletePermission?: boolean;
|
|
7822
7824
|
hasTrashPermission?: boolean;
|
|
7823
|
-
/**
|
|
7824
|
-
* Hierarchy view data - present when viewing a hierarchy collection with a parent selected
|
|
7825
|
-
*/
|
|
7826
|
-
hierarchyData?: HierarchyViewData;
|
|
7827
|
-
/**
|
|
7828
|
-
* Resolved icon component for hierarchy collections
|
|
7829
|
-
*/
|
|
7830
|
-
HierarchyIcon?: React.ReactNode;
|
|
7831
7825
|
/**
|
|
7832
7826
|
* @deprecated
|
|
7833
7827
|
*/
|
|
@@ -7926,7 +7920,6 @@ type FieldRow = {
|
|
|
7926
7920
|
};
|
|
7927
7921
|
type DocumentSlots = {
|
|
7928
7922
|
BeforeDocumentControls?: React$1.ReactNode;
|
|
7929
|
-
BeforeDocumentMeta?: React$1.ReactNode;
|
|
7930
7923
|
Description?: React$1.ReactNode;
|
|
7931
7924
|
EditMenuItems?: React$1.ReactNode;
|
|
7932
7925
|
LivePreview?: React$1.ReactNode;
|
|
@@ -9252,10 +9245,6 @@ type CollectionAdminOptions = {
|
|
|
9252
9245
|
* Inject custom components before the document controls
|
|
9253
9246
|
*/
|
|
9254
9247
|
beforeDocumentControls?: CustomComponent[];
|
|
9255
|
-
/**
|
|
9256
|
-
* Inject custom components before the document metadata (left of status/timestamps)
|
|
9257
|
-
*/
|
|
9258
|
-
BeforeDocumentMeta?: CustomComponent[];
|
|
9259
9248
|
/**
|
|
9260
9249
|
* Inject custom components within the 3-dot menu dropdown
|
|
9261
9250
|
*/
|
|
@@ -9471,6 +9460,10 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9471
9460
|
*/
|
|
9472
9461
|
endpoints?: false | Omit<Endpoint, 'root'>[];
|
|
9473
9462
|
fields: Field[];
|
|
9463
|
+
/**
|
|
9464
|
+
* Enables folders for this collection
|
|
9465
|
+
*/
|
|
9466
|
+
folders?: boolean | CollectionFoldersConfiguration;
|
|
9474
9467
|
/**
|
|
9475
9468
|
* Specify which fields should be selected always, regardless of the `select` query which can be useful that the field exists for access control / hooks
|
|
9476
9469
|
*/
|
|
@@ -9484,25 +9477,6 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
|
|
|
9484
9477
|
pluralName?: string;
|
|
9485
9478
|
singularName?: string;
|
|
9486
9479
|
} | false;
|
|
9487
|
-
/**
|
|
9488
|
-
* Enable hierarchical tree structure for this collection
|
|
9489
|
-
*
|
|
9490
|
-
* Use `true` to enable with defaults (auto-detects parent field)
|
|
9491
|
-
* or provide configuration object
|
|
9492
|
-
*
|
|
9493
|
-
* @example
|
|
9494
|
-
* // Enable with defaults
|
|
9495
|
-
* hierarchy: true
|
|
9496
|
-
*
|
|
9497
|
-
* @example
|
|
9498
|
-
* // Customize field names and slugify function
|
|
9499
|
-
* hierarchy: {
|
|
9500
|
-
* parentFieldName: 'parent',
|
|
9501
|
-
* slugify: (text) => customSlugify(text),
|
|
9502
|
-
* slugPathFieldName: '_breadcrumbPath'
|
|
9503
|
-
* }
|
|
9504
|
-
*/
|
|
9505
|
-
hierarchy?: boolean | HierarchyConfig;
|
|
9506
9480
|
/**
|
|
9507
9481
|
* Hooks to modify Payload functionality
|
|
9508
9482
|
*/
|
|
@@ -9639,7 +9613,7 @@ type SanitizedJoins = {
|
|
|
9639
9613
|
* @todo remove the `DeepRequired` in v4.
|
|
9640
9614
|
* We don't actually guarantee that all properties are set when sanitizing configs.
|
|
9641
9615
|
*/
|
|
9642
|
-
interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>, 'admin' | 'auth' | 'endpoints' | 'fields' | '
|
|
9616
|
+
interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>, 'admin' | 'auth' | 'endpoints' | 'fields' | 'folders' | 'slug' | 'upload' | 'versions'> {
|
|
9643
9617
|
admin: CollectionAdminOptions;
|
|
9644
9618
|
auth: Auth;
|
|
9645
9619
|
endpoints: Endpoint[] | false;
|
|
@@ -9649,13 +9623,10 @@ interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>,
|
|
|
9649
9623
|
* Rows / collapsible / tabs w/o name `fields` merged to top, UIs are excluded
|
|
9650
9624
|
*/
|
|
9651
9625
|
flattenedFields: FlattenedField$1[];
|
|
9652
|
-
/**
|
|
9653
|
-
* Hierarchy configuration (when collection is a hierarchy type like folders or tags)
|
|
9654
|
-
*/
|
|
9655
|
-
hierarchy: false | SanitizedHierarchyConfig;
|
|
9656
9626
|
/**
|
|
9657
9627
|
* Object of collections to join 'Join Fields object keyed by collection
|
|
9658
9628
|
*/
|
|
9629
|
+
folders: CollectionFoldersConfiguration | false;
|
|
9659
9630
|
joins: SanitizedJoins;
|
|
9660
9631
|
/**
|
|
9661
9632
|
* List of all polymorphic join fields
|
|
@@ -11267,8 +11238,6 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
|
|
|
11267
11238
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
11268
11239
|
type Options<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
|
|
11269
11240
|
|
|
11270
|
-
declare const accountLockFields: Field[];
|
|
11271
|
-
|
|
11272
11241
|
// Generated by dts-bundle-generator v9.5.1
|
|
11273
11242
|
|
|
11274
11243
|
type CatchCallbackFn = (e: unknown, job: Cron) => void;
|
|
@@ -11799,6 +11768,8 @@ type CountVersionsOptions<TSlug extends CollectionSlug> = {
|
|
|
11799
11768
|
where?: Where;
|
|
11800
11769
|
};
|
|
11801
11770
|
|
|
11771
|
+
declare const accountLockFields: Field[];
|
|
11772
|
+
|
|
11802
11773
|
declare const apiKeyFields: Field[];
|
|
11803
11774
|
|
|
11804
11775
|
declare const baseAuthFields: Field[];
|
|
@@ -11879,32 +11850,32 @@ type Result<TData> = {
|
|
|
11879
11850
|
};
|
|
11880
11851
|
declare const registerFirstUserOperation: <TSlug extends AuthCollectionSlug>(args: Arguments$7<TSlug>) => Promise<Result<DataFromCollectionSlug<TSlug>>>;
|
|
11881
11852
|
|
|
11882
|
-
type Args$
|
|
11853
|
+
type Args$l = {
|
|
11883
11854
|
collection: Collection;
|
|
11884
11855
|
req: PayloadRequest;
|
|
11885
11856
|
token: string;
|
|
11886
11857
|
};
|
|
11887
|
-
declare const verifyEmailOperation: (args: Args$
|
|
11858
|
+
declare const verifyEmailOperation: (args: Args$l) => Promise<boolean>;
|
|
11888
11859
|
|
|
11889
11860
|
/**
|
|
11890
11861
|
* Authentication strategy function for JWT tokens
|
|
11891
11862
|
*/
|
|
11892
11863
|
declare const JWTAuthentication: AuthStrategyFunction;
|
|
11893
11864
|
|
|
11894
|
-
type Args$
|
|
11865
|
+
type Args$k = {
|
|
11895
11866
|
collection: SanitizedCollectionConfig;
|
|
11896
11867
|
payload: Payload;
|
|
11897
11868
|
user: TypedUser;
|
|
11898
11869
|
};
|
|
11899
|
-
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$
|
|
11870
|
+
declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$k) => Promise<void>;
|
|
11900
11871
|
|
|
11901
|
-
type Args$
|
|
11872
|
+
type Args$j = {
|
|
11902
11873
|
collection: SanitizedCollectionConfig;
|
|
11903
11874
|
doc: Record<string, unknown> & TypeWithID;
|
|
11904
11875
|
payload: Payload;
|
|
11905
11876
|
req: PayloadRequest;
|
|
11906
11877
|
};
|
|
11907
|
-
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$
|
|
11878
|
+
declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$j) => Promise<void>;
|
|
11908
11879
|
|
|
11909
11880
|
declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fields, importMap, imports, }: {
|
|
11910
11881
|
addToImportMap: AddToImportMap;
|
|
@@ -11915,7 +11886,7 @@ declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fi
|
|
|
11915
11886
|
imports: Imports;
|
|
11916
11887
|
}): void;
|
|
11917
11888
|
|
|
11918
|
-
type Args$
|
|
11889
|
+
type Args$i = {
|
|
11919
11890
|
config: SanitizedConfig;
|
|
11920
11891
|
/**
|
|
11921
11892
|
* Override the migration directory. Useful for testing when the CWD differs
|
|
@@ -11924,7 +11895,7 @@ type Args$h = {
|
|
|
11924
11895
|
migrationDir?: string;
|
|
11925
11896
|
parsedArgs: ParsedArgs;
|
|
11926
11897
|
};
|
|
11927
|
-
declare const migrate$1: ({ config, migrationDir, parsedArgs }: Args$
|
|
11898
|
+
declare const migrate$1: ({ config, migrationDir, parsedArgs }: Args$i) => Promise<void>;
|
|
11928
11899
|
|
|
11929
11900
|
declare const getDataLoader: (req: PayloadRequest) => {
|
|
11930
11901
|
find: Payload["find"];
|
|
@@ -12133,7 +12104,7 @@ declare const writeMigrationIndex: (args: {
|
|
|
12133
12104
|
migrationsDir: string;
|
|
12134
12105
|
}) => void;
|
|
12135
12106
|
|
|
12136
|
-
type Args$
|
|
12107
|
+
type Args$h = {
|
|
12137
12108
|
errors?: {
|
|
12138
12109
|
path: string;
|
|
12139
12110
|
}[];
|
|
@@ -12150,9 +12121,9 @@ type Args$g = {
|
|
|
12150
12121
|
collectionConfig?: never | undefined;
|
|
12151
12122
|
globalConfig: SanitizedGlobalConfig;
|
|
12152
12123
|
});
|
|
12153
|
-
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args$
|
|
12124
|
+
declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args$h): Promise<void>;
|
|
12154
12125
|
|
|
12155
|
-
type Args$
|
|
12126
|
+
type Args$g = {
|
|
12156
12127
|
collectionConfig?: SanitizedCollectionConfig;
|
|
12157
12128
|
constraint: WhereField;
|
|
12158
12129
|
errors: {
|
|
@@ -12173,13 +12144,13 @@ type Args$f = {
|
|
|
12173
12144
|
/**
|
|
12174
12145
|
* Validate the Payload key / value / operator
|
|
12175
12146
|
*/
|
|
12176
|
-
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, val, versionFields, }: Args$
|
|
12147
|
+
declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, val, versionFields, }: Args$g): Promise<void>;
|
|
12177
12148
|
|
|
12178
12149
|
declare const baseBlockFields: Field[];
|
|
12179
12150
|
|
|
12180
12151
|
declare const baseIDField: TextField;
|
|
12181
12152
|
|
|
12182
|
-
type Args$
|
|
12153
|
+
type Args$f = {
|
|
12183
12154
|
collectionConfig?: CollectionConfig;
|
|
12184
12155
|
config: Config;
|
|
12185
12156
|
existingFieldNames?: Set<string>;
|
|
@@ -12222,18 +12193,18 @@ type Args$e = {
|
|
|
12222
12193
|
*/
|
|
12223
12194
|
validRelationships: null | string[];
|
|
12224
12195
|
};
|
|
12225
|
-
declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizationPromises, validRelationships, }: Args$
|
|
12196
|
+
declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizationPromises, validRelationships, }: Args$f) => Promise<Field[]>;
|
|
12226
12197
|
|
|
12227
|
-
type Args$
|
|
12198
|
+
type Args$e = {
|
|
12228
12199
|
defaultValue: DefaultValue;
|
|
12229
12200
|
locale: string | undefined;
|
|
12230
12201
|
req: PayloadRequest;
|
|
12231
12202
|
user: PayloadRequest['user'];
|
|
12232
12203
|
value?: JsonValue;
|
|
12233
12204
|
};
|
|
12234
|
-
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$
|
|
12205
|
+
declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$e) => Promise<JsonValue>;
|
|
12235
12206
|
|
|
12236
|
-
type Args$
|
|
12207
|
+
type Args$d = {
|
|
12237
12208
|
/**
|
|
12238
12209
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12239
12210
|
*/
|
|
@@ -12259,9 +12230,9 @@ type Args$c = {
|
|
|
12259
12230
|
siblingDoc: JsonObject;
|
|
12260
12231
|
siblingFields?: (Field | TabAsField)[];
|
|
12261
12232
|
};
|
|
12262
|
-
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$
|
|
12233
|
+
declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$d) => Promise<void>;
|
|
12263
12234
|
|
|
12264
|
-
type Args$
|
|
12235
|
+
type Args$c = {
|
|
12265
12236
|
/**
|
|
12266
12237
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12267
12238
|
*/
|
|
@@ -12309,9 +12280,9 @@ type Args$b = {
|
|
|
12309
12280
|
triggerAccessControl?: boolean;
|
|
12310
12281
|
triggerHooks?: boolean;
|
|
12311
12282
|
} & Required<Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>>;
|
|
12312
|
-
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$
|
|
12283
|
+
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$c) => Promise<void>;
|
|
12313
12284
|
|
|
12314
|
-
type Args$
|
|
12285
|
+
type Args$b = {
|
|
12315
12286
|
/**
|
|
12316
12287
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12317
12288
|
*/
|
|
@@ -12358,9 +12329,9 @@ type Args$a = {
|
|
|
12358
12329
|
triggerAccessControl?: boolean;
|
|
12359
12330
|
triggerHooks?: boolean;
|
|
12360
12331
|
};
|
|
12361
|
-
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$
|
|
12332
|
+
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$b) => void;
|
|
12362
12333
|
|
|
12363
|
-
type Args$
|
|
12334
|
+
type Args$a = {
|
|
12364
12335
|
/**
|
|
12365
12336
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12366
12337
|
*/
|
|
@@ -12416,9 +12387,9 @@ type Args$9 = {
|
|
|
12416
12387
|
* - Transform data for storage
|
|
12417
12388
|
* - Unflatten locales. The input `data` is the normal document for one locale. The output result will become the document with locales.
|
|
12418
12389
|
*/
|
|
12419
|
-
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$
|
|
12390
|
+
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$a) => Promise<void>;
|
|
12420
12391
|
|
|
12421
|
-
type Args$
|
|
12392
|
+
type Args$9<T> = {
|
|
12422
12393
|
/**
|
|
12423
12394
|
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
|
|
12424
12395
|
*/
|
|
@@ -12449,10 +12420,39 @@ type Args$8<T> = {
|
|
|
12449
12420
|
*/
|
|
12450
12421
|
siblingDoc: JsonObject;
|
|
12451
12422
|
};
|
|
12452
|
-
declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, fields, global, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$
|
|
12423
|
+
declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, fields, global, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$9<T>) => Promise<void>;
|
|
12453
12424
|
|
|
12454
12425
|
declare const sortableFieldTypes: string[];
|
|
12455
12426
|
|
|
12427
|
+
type Args$8 = {
|
|
12428
|
+
/**
|
|
12429
|
+
* Specify to query documents from a specific collection
|
|
12430
|
+
* @default undefined
|
|
12431
|
+
* @example 'posts'
|
|
12432
|
+
*/
|
|
12433
|
+
collectionSlug?: CollectionSlug;
|
|
12434
|
+
/**
|
|
12435
|
+
* Optional where clause to filter documents by
|
|
12436
|
+
* @default undefined
|
|
12437
|
+
*/
|
|
12438
|
+
documentWhere?: Where;
|
|
12439
|
+
/**
|
|
12440
|
+
* The ID of the folder to query documents from
|
|
12441
|
+
* @default undefined
|
|
12442
|
+
*/
|
|
12443
|
+
folderID?: number | string;
|
|
12444
|
+
/** Optional where clause to filter subfolders by
|
|
12445
|
+
* @default undefined
|
|
12446
|
+
*/
|
|
12447
|
+
folderWhere?: Where;
|
|
12448
|
+
req: PayloadRequest;
|
|
12449
|
+
sort: FolderSortKeys;
|
|
12450
|
+
};
|
|
12451
|
+
/**
|
|
12452
|
+
* Query for documents, subfolders and breadcrumbs for a given folder
|
|
12453
|
+
*/
|
|
12454
|
+
declare const getFolderData: ({ collectionSlug, documentWhere, folderID: _folderID, folderWhere, req, sort, }: Args$8) => Promise<GetFolderDataResult>;
|
|
12455
|
+
|
|
12456
12456
|
type Arguments$3 = {
|
|
12457
12457
|
/**
|
|
12458
12458
|
* If the document data is passed, it will be used to check access instead of fetching the document from the database.
|
|
@@ -12522,296 +12522,6 @@ type Args$7<TSlug extends GlobalSlug> = {
|
|
|
12522
12522
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
12523
12523
|
declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$7<TSlug>) => Promise<TransformGlobalWithSelect<TSlug, TSelect>>;
|
|
12524
12524
|
|
|
12525
|
-
/**
|
|
12526
|
-
* Default field names and constants for hierarchy feature
|
|
12527
|
-
*/
|
|
12528
|
-
declare const HIERARCHY_SLUG_PATH_FIELD = "_h_slugPath";
|
|
12529
|
-
declare const HIERARCHY_TITLE_PATH_FIELD = "_h_titlePath";
|
|
12530
|
-
declare const HIERARCHY_DEFAULT_LOCALE = "en";
|
|
12531
|
-
/** Default limit for hierarchy tree queries */
|
|
12532
|
-
declare const DEFAULT_HIERARCHY_TREE_LIMIT = 100;
|
|
12533
|
-
/** Default value for allowing hasMany on hierarchy fields */
|
|
12534
|
-
declare const DEFAULT_ALLOW_HAS_MANY = true;
|
|
12535
|
-
/** Generate a hierarchy field name from a hierarchy slug (e.g., 'folders' -> '_h_folders') */
|
|
12536
|
-
declare const getHierarchyFieldName: (hierarchySlug: string) => string;
|
|
12537
|
-
|
|
12538
|
-
/**
|
|
12539
|
-
* Options for creating a folder relationship field.
|
|
12540
|
-
* All SingleRelationshipField properties are available except name, type, relationTo, and hasMany
|
|
12541
|
-
* which are managed by the folder system.
|
|
12542
|
-
*/
|
|
12543
|
-
type CreateFolderFieldOptions = {
|
|
12544
|
-
/**
|
|
12545
|
-
* The slug of the hierarchy collection this field references (e.g., 'folders')
|
|
12546
|
-
*/
|
|
12547
|
-
relationTo: string;
|
|
12548
|
-
} & Pick<Partial<SingleRelationshipField>, 'admin' | 'label' | 'required'>;
|
|
12549
|
-
/**
|
|
12550
|
-
* Creates a relationship field for folder-style hierarchies (single-select).
|
|
12551
|
-
*
|
|
12552
|
-
* This field:
|
|
12553
|
-
* - Has hasMany:false (single folder selection)
|
|
12554
|
-
* - Uses NullField to render nothing in the form (no DOM output)
|
|
12555
|
-
* - Injects a header button for folder selection via miller columns UI
|
|
12556
|
-
*
|
|
12557
|
-
* Use this in your collection's fields array to add a folder relationship.
|
|
12558
|
-
* The field name is automatically generated based on the hierarchy slug.
|
|
12559
|
-
*
|
|
12560
|
-
* @example
|
|
12561
|
-
* import { createFolderField } from 'payload'
|
|
12562
|
-
*
|
|
12563
|
-
* const Posts: CollectionConfig = {
|
|
12564
|
-
* slug: 'posts',
|
|
12565
|
-
* fields: [
|
|
12566
|
-
* { name: 'title', type: 'text' },
|
|
12567
|
-
* createFolderField({
|
|
12568
|
-
* relationTo: 'folders',
|
|
12569
|
-
* label: 'Folder',
|
|
12570
|
-
* }),
|
|
12571
|
-
* ],
|
|
12572
|
-
* }
|
|
12573
|
-
*/
|
|
12574
|
-
declare function createFolderField(options: CreateFolderFieldOptions): RelationshipField;
|
|
12575
|
-
|
|
12576
|
-
/**
|
|
12577
|
-
* Hierarchy options for folder collections - all fields optional since defaults are applied.
|
|
12578
|
-
* Cannot override `allowHasMany` - folders always use single-select.
|
|
12579
|
-
*/
|
|
12580
|
-
type FolderHierarchyOptions = {
|
|
12581
|
-
parentFieldName?: string;
|
|
12582
|
-
} & Partial<Omit<HierarchyConfig, 'allowHasMany' | 'parentFieldName'>>;
|
|
12583
|
-
/**
|
|
12584
|
-
* Options for creating a folder collection.
|
|
12585
|
-
* Same as CollectionConfig but with `useAsTitle` required.
|
|
12586
|
-
*/
|
|
12587
|
-
type CreateFoldersCollectionOptions = {
|
|
12588
|
-
/**
|
|
12589
|
-
* Hierarchy configuration (defaults applied for folder behavior)
|
|
12590
|
-
* Cannot override `allowHasMany` - folders always use single-select
|
|
12591
|
-
*/
|
|
12592
|
-
hierarchy?: FolderHierarchyOptions;
|
|
12593
|
-
/**
|
|
12594
|
-
* Field name to use as the display title in the folder tree.
|
|
12595
|
-
* Required to ensure folders display meaningful names.
|
|
12596
|
-
*/
|
|
12597
|
-
useAsTitle: string;
|
|
12598
|
-
} & Omit<CollectionConfig, 'admin' | 'hierarchy'> & Partial<Pick<CollectionConfig, 'admin'>>;
|
|
12599
|
-
/**
|
|
12600
|
-
* Creates a collection config for a folder-style hierarchy.
|
|
12601
|
-
*
|
|
12602
|
-
* This helper provides:
|
|
12603
|
-
* - `hierarchy.allowHasMany: false` (enforced, folders are single-select)
|
|
12604
|
-
* - Default folder icon component
|
|
12605
|
-
* - Required `useAsTitle` to ensure folders display meaningful names
|
|
12606
|
-
* - `admin.group: false` by default to hide from collections list
|
|
12607
|
-
* (folder collections are accessed via their dedicated sidebar tab)
|
|
12608
|
-
*
|
|
12609
|
-
* @example
|
|
12610
|
-
* import { createFoldersCollection, createFolderField } from 'payload'
|
|
12611
|
-
*
|
|
12612
|
-
* const Folders = createFoldersCollection({
|
|
12613
|
-
* slug: 'folders',
|
|
12614
|
-
* useAsTitle: 'name',
|
|
12615
|
-
* fields: [
|
|
12616
|
-
* { name: 'name', type: 'text', required: true },
|
|
12617
|
-
* ],
|
|
12618
|
-
* })
|
|
12619
|
-
*
|
|
12620
|
-
* // Then in related collections:
|
|
12621
|
-
* const Posts: CollectionConfig = {
|
|
12622
|
-
* slug: 'posts',
|
|
12623
|
-
* fields: [
|
|
12624
|
-
* createFolderField({ relationTo: 'folders' }),
|
|
12625
|
-
* ],
|
|
12626
|
-
* }
|
|
12627
|
-
*/
|
|
12628
|
-
declare function createFoldersCollection(options: CreateFoldersCollectionOptions): CollectionConfig;
|
|
12629
|
-
|
|
12630
|
-
/**
|
|
12631
|
-
* Options for creating a tag relationship field.
|
|
12632
|
-
* All RelationshipFieldMany properties are available except name, type, and relationTo
|
|
12633
|
-
* which are managed by the tag system.
|
|
12634
|
-
*/
|
|
12635
|
-
type CreateTagFieldOptions = {
|
|
12636
|
-
/**
|
|
12637
|
-
* Whether to allow multiple tags (defaults to true)
|
|
12638
|
-
* @default true
|
|
12639
|
-
*/
|
|
12640
|
-
hasMany?: boolean;
|
|
12641
|
-
/**
|
|
12642
|
-
* The slug of the hierarchy collection this field references (e.g., 'tags')
|
|
12643
|
-
*/
|
|
12644
|
-
relationTo: string;
|
|
12645
|
-
} & Pick<Partial<RelationshipField>, 'admin' | 'label' | 'required'>;
|
|
12646
|
-
/**
|
|
12647
|
-
* Creates a relationship field for tag-style hierarchies (multi-select by default).
|
|
12648
|
-
*
|
|
12649
|
-
* This field:
|
|
12650
|
-
* - Has hasMany:true by default (multiple tag selection)
|
|
12651
|
-
* - Is positioned in the sidebar by default
|
|
12652
|
-
* - Does NOT inject a header button (tags use standard relationship UI)
|
|
12653
|
-
*
|
|
12654
|
-
* Use this in your collection's fields array to add a tag relationship.
|
|
12655
|
-
* The field name is automatically generated based on the hierarchy slug.
|
|
12656
|
-
*
|
|
12657
|
-
* @example
|
|
12658
|
-
* import { createTagField } from 'payload'
|
|
12659
|
-
*
|
|
12660
|
-
* const Posts: CollectionConfig = {
|
|
12661
|
-
* slug: 'posts',
|
|
12662
|
-
* fields: [
|
|
12663
|
-
* { name: 'title', type: 'text' },
|
|
12664
|
-
* createTagField({
|
|
12665
|
-
* relationTo: 'tags',
|
|
12666
|
-
* label: 'Tags',
|
|
12667
|
-
* }),
|
|
12668
|
-
* ],
|
|
12669
|
-
* }
|
|
12670
|
-
*/
|
|
12671
|
-
declare function createTagField(options: CreateTagFieldOptions): RelationshipField;
|
|
12672
|
-
|
|
12673
|
-
/**
|
|
12674
|
-
* Hierarchy options for tag collections - all fields optional since defaults are applied.
|
|
12675
|
-
*/
|
|
12676
|
-
type TagHierarchyOptions = {
|
|
12677
|
-
parentFieldName?: string;
|
|
12678
|
-
} & Partial<Omit<HierarchyConfig, 'parentFieldName'>>;
|
|
12679
|
-
/**
|
|
12680
|
-
* Options for creating a tag collection.
|
|
12681
|
-
* Same as CollectionConfig but with `useAsTitle` required.
|
|
12682
|
-
*/
|
|
12683
|
-
type CreateTagsCollectionOptions = {
|
|
12684
|
-
/**
|
|
12685
|
-
* Hierarchy configuration (defaults applied for tag behavior)
|
|
12686
|
-
* `allowHasMany` defaults to true but can be overridden
|
|
12687
|
-
*/
|
|
12688
|
-
hierarchy?: TagHierarchyOptions;
|
|
12689
|
-
/**
|
|
12690
|
-
* Field name to use as the display title in the tag tree.
|
|
12691
|
-
* Required to ensure tags display meaningful names.
|
|
12692
|
-
*/
|
|
12693
|
-
useAsTitle: string;
|
|
12694
|
-
} & Omit<CollectionConfig, 'admin' | 'hierarchy'> & Partial<Pick<CollectionConfig, 'admin'>>;
|
|
12695
|
-
/**
|
|
12696
|
-
* Creates a collection config for a tag-style hierarchy.
|
|
12697
|
-
*
|
|
12698
|
-
* This helper provides:
|
|
12699
|
-
* - `hierarchy.allowHasMany: true` by default (can be overridden)
|
|
12700
|
-
* - Default tag icon component
|
|
12701
|
-
* - Required `useAsTitle` to ensure tags display meaningful names
|
|
12702
|
-
*
|
|
12703
|
-
* @example
|
|
12704
|
-
* import { createTagsCollection, createTagField } from 'payload'
|
|
12705
|
-
*
|
|
12706
|
-
* const Tags = createTagsCollection({
|
|
12707
|
-
* slug: 'tags',
|
|
12708
|
-
* useAsTitle: 'name',
|
|
12709
|
-
* fields: [
|
|
12710
|
-
* { name: 'name', type: 'text', required: true },
|
|
12711
|
-
* ],
|
|
12712
|
-
* })
|
|
12713
|
-
*
|
|
12714
|
-
* // Then in related collections:
|
|
12715
|
-
* const Posts: CollectionConfig = {
|
|
12716
|
-
* slug: 'posts',
|
|
12717
|
-
* fields: [
|
|
12718
|
-
* createTagField({ relationTo: 'tags' }),
|
|
12719
|
-
* ],
|
|
12720
|
-
* }
|
|
12721
|
-
*/
|
|
12722
|
-
declare function createTagsCollection(options: CreateTagsCollectionOptions): CollectionConfig;
|
|
12723
|
-
|
|
12724
|
-
type GetInitialTreeDataArgs = {
|
|
12725
|
-
/** Base filter to apply to all queries (e.g., tenant filter) */
|
|
12726
|
-
baseFilter?: null | Where;
|
|
12727
|
-
collectionSlug: string;
|
|
12728
|
-
expandedNodeIds?: (number | string)[];
|
|
12729
|
-
/** Filter tree to only show folders that allow these collection types (or are unrestricted) */
|
|
12730
|
-
filterByCollections?: string[];
|
|
12731
|
-
limit?: number;
|
|
12732
|
-
payload: PayloadRequest['payload'];
|
|
12733
|
-
/** The currently selected node ID. When provided, ensures siblings are loaded to include this node. */
|
|
12734
|
-
selectedNodeId?: null | number | string;
|
|
12735
|
-
/** The parent ID of the selected node. Required when selectedNodeId is provided. */
|
|
12736
|
-
selectedNodeParentId?: null | number | string;
|
|
12737
|
-
user: PayloadRequest['user'];
|
|
12738
|
-
};
|
|
12739
|
-
type InitialTreeData = {
|
|
12740
|
-
docs: TypeWithID[];
|
|
12741
|
-
loadedParents: Record<string, {
|
|
12742
|
-
hasMore: boolean;
|
|
12743
|
-
loadedCount?: number;
|
|
12744
|
-
totalDocs: number;
|
|
12745
|
-
}>;
|
|
12746
|
-
};
|
|
12747
|
-
declare const getInitialTreeData: ({ baseFilter, collectionSlug, expandedNodeIds, filterByCollections, limit, payload, selectedNodeId, selectedNodeParentId, user, }: GetInitialTreeDataArgs) => Promise<InitialTreeData>;
|
|
12748
|
-
|
|
12749
|
-
/**
|
|
12750
|
-
* Injects the HierarchyButton component into a collection's BeforeDocumentMeta slot.
|
|
12751
|
-
*
|
|
12752
|
-
* The HierarchyButton provides a header UI for selecting parent hierarchy items
|
|
12753
|
-
* via miller columns, replacing the standard relationship field input.
|
|
12754
|
-
*/
|
|
12755
|
-
declare const injectHierarchyButton: ({ collection, fieldName, hierarchyCollectionSlug, parentFieldName, }: {
|
|
12756
|
-
collection: CollectionConfig;
|
|
12757
|
-
fieldName: string;
|
|
12758
|
-
hierarchyCollectionSlug: string;
|
|
12759
|
-
parentFieldName: string;
|
|
12760
|
-
}) => void;
|
|
12761
|
-
|
|
12762
|
-
/**
|
|
12763
|
-
* Resolves hierarchy relationships across collections.
|
|
12764
|
-
*
|
|
12765
|
-
* This function runs after individual collection sanitization to establish
|
|
12766
|
-
* cross-collection hierarchy relationships. It discovers which collections
|
|
12767
|
-
* reference each hierarchy and configures the necessary fields, components,
|
|
12768
|
-
* and hooks.
|
|
12769
|
-
*
|
|
12770
|
-
* @remarks
|
|
12771
|
-
* Must be called after all collections are sanitized.
|
|
12772
|
-
*
|
|
12773
|
-
* **What it does:**
|
|
12774
|
-
* - Discovers related collections by scanning for hierarchy relationship fields
|
|
12775
|
-
* - Injects `HierarchyButton` component when `custom.hierarchy.injectHeaderButton` is set
|
|
12776
|
-
* - Adds `collectionSpecific` validation to ensure hierarchy items accept the document type
|
|
12777
|
-
* - Injects the `hierarchyType` select field when `collectionSpecific` is enabled
|
|
12778
|
-
* - Injects join field when `joinField` is configured
|
|
12779
|
-
* - Adds `afterDelete` hook to clear hierarchy references when items are deleted
|
|
12780
|
-
* - Populates `relatedCollections` in the sanitized hierarchy config
|
|
12781
|
-
*/
|
|
12782
|
-
declare const resolveHierarchyCollections: (config: Config) => void;
|
|
12783
|
-
|
|
12784
|
-
type Ancestor = {
|
|
12785
|
-
id: number | string;
|
|
12786
|
-
title: string;
|
|
12787
|
-
};
|
|
12788
|
-
type GetAncestorsArgs = {
|
|
12789
|
-
/**
|
|
12790
|
-
* The collection slug
|
|
12791
|
-
*/
|
|
12792
|
-
collectionSlug: CollectionSlug;
|
|
12793
|
-
/**
|
|
12794
|
-
* The document ID to get ancestors for
|
|
12795
|
-
*/
|
|
12796
|
-
id: number | string;
|
|
12797
|
-
/**
|
|
12798
|
-
* Include the document itself in the returned ancestors (as last item)
|
|
12799
|
-
* @default true
|
|
12800
|
-
*/
|
|
12801
|
-
includeSelf?: boolean;
|
|
12802
|
-
/**
|
|
12803
|
-
* The request object
|
|
12804
|
-
*/
|
|
12805
|
-
req: PayloadRequest;
|
|
12806
|
-
};
|
|
12807
|
-
/**
|
|
12808
|
-
* Get ancestor chain for a hierarchical document.
|
|
12809
|
-
* Returns array of {id, title} from root to the document.
|
|
12810
|
-
*
|
|
12811
|
-
* Uses request context caching for efficiency when called multiple times.
|
|
12812
|
-
*/
|
|
12813
|
-
declare function getAncestors({ id, collectionSlug, includeSelf, req, }: GetAncestorsArgs): Promise<Ancestor[]>;
|
|
12814
|
-
|
|
12815
12525
|
declare class DatabaseKVAdapter implements KVAdapter {
|
|
12816
12526
|
readonly payload: Payload;
|
|
12817
12527
|
readonly collectionSlug: string;
|
|
@@ -13545,6 +13255,7 @@ type Args<T extends JsonObject = JsonObject> = {
|
|
|
13545
13255
|
returning?: boolean;
|
|
13546
13256
|
select?: SelectType;
|
|
13547
13257
|
snapshot?: any;
|
|
13258
|
+
unpublish?: boolean;
|
|
13548
13259
|
};
|
|
13549
13260
|
declare function saveVersion<TData extends JsonObject = JsonObject>(args: {
|
|
13550
13261
|
returning: false;
|
|
@@ -13997,5 +13708,5 @@ interface GlobalCustom extends Record<string, any> {
|
|
|
13997
13708
|
interface GlobalAdminCustom extends Record<string, any> {
|
|
13998
13709
|
}
|
|
13999
13710
|
|
|
14000
|
-
export { APIError, APIErrorName, Action, AuthenticationError, BasePayload,
|
|
14001
|
-
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, CreateFoldersCollectionOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateTagsCollectionOptions, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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 };
|
|
13711
|
+
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, 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, getFolderData, getLatestCollectionVersion, getLatestGlobalVersion, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRequestLanguage, handleEndpoints, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, 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, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, 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 };
|
|
13712
|
+
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, 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, 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, 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, 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, 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 };
|