payload 3.80.0-internal-debug.cd99b1f → 3.80.0-internal.21e9c47

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.
Files changed (259) hide show
  1. package/dist/admin/elements/Nav.d.ts +10 -0
  2. package/dist/admin/elements/Nav.d.ts.map +1 -1
  3. package/dist/admin/elements/Nav.js.map +1 -1
  4. package/dist/admin/functions/index.d.ts +1 -38
  5. package/dist/admin/functions/index.d.ts.map +1 -1
  6. package/dist/admin/functions/index.js.map +1 -1
  7. package/dist/admin/types.d.ts +5 -4
  8. package/dist/admin/types.d.ts.map +1 -1
  9. package/dist/admin/types.js.map +1 -1
  10. package/dist/admin/views/hierarchyList.d.ts +9 -0
  11. package/dist/admin/views/hierarchyList.d.ts.map +1 -0
  12. package/dist/admin/views/hierarchyList.js +3 -0
  13. package/dist/admin/views/hierarchyList.js.map +1 -0
  14. package/dist/admin/views/index.d.ts +1 -3
  15. package/dist/admin/views/index.d.ts.map +1 -1
  16. package/dist/admin/views/index.js.map +1 -1
  17. package/dist/admin/views/list.d.ts +37 -1
  18. package/dist/admin/views/list.d.ts.map +1 -1
  19. package/dist/admin/views/list.js.map +1 -1
  20. package/dist/auth/operations/me.js +5 -5
  21. package/dist/auth/operations/me.js.map +1 -1
  22. package/dist/bin/generateImportMap/iterateCollections.d.ts.map +1 -1
  23. package/dist/bin/generateImportMap/iterateCollections.js +1 -0
  24. package/dist/bin/generateImportMap/iterateCollections.js.map +1 -1
  25. package/dist/bin/generateImportMap/iterateConfig.d.ts.map +1 -1
  26. package/dist/bin/generateImportMap/iterateConfig.js +7 -0
  27. package/dist/bin/generateImportMap/iterateConfig.js.map +1 -1
  28. package/dist/collections/config/client.d.ts +3 -1
  29. package/dist/collections/config/client.d.ts.map +1 -1
  30. package/dist/collections/config/client.js +11 -0
  31. package/dist/collections/config/client.js.map +1 -1
  32. package/dist/collections/config/defaults.js +1 -1
  33. package/dist/collections/config/defaults.js.map +1 -1
  34. package/dist/collections/config/sanitize.d.ts.map +1 -1
  35. package/dist/collections/config/sanitize.js +3 -7
  36. package/dist/collections/config/sanitize.js.map +1 -1
  37. package/dist/collections/config/types.d.ts +29 -7
  38. package/dist/collections/config/types.d.ts.map +1 -1
  39. package/dist/collections/config/types.js.map +1 -1
  40. package/dist/collections/operations/create.js +17 -17
  41. package/dist/collections/operations/create.js.map +1 -1
  42. package/dist/collections/operations/findByID.js +3 -3
  43. package/dist/collections/operations/findByID.js.map +1 -1
  44. package/dist/collections/operations/utilities/update.d.ts.map +1 -1
  45. package/dist/collections/operations/utilities/update.js +5 -4
  46. package/dist/collections/operations/utilities/update.js.map +1 -1
  47. package/dist/config/client.d.ts.map +1 -1
  48. package/dist/config/client.js +0 -10
  49. package/dist/config/client.js.map +1 -1
  50. package/dist/config/defaults.d.ts.map +1 -1
  51. package/dist/config/defaults.js +0 -15
  52. package/dist/config/defaults.js.map +1 -1
  53. package/dist/config/sanitize.d.ts.map +1 -1
  54. package/dist/config/sanitize.js +3 -26
  55. package/dist/config/sanitize.js.map +1 -1
  56. package/dist/config/types.d.ts +26 -12
  57. package/dist/config/types.d.ts.map +1 -1
  58. package/dist/config/types.js.map +1 -1
  59. package/dist/exports/shared.d.ts +2 -3
  60. package/dist/exports/shared.d.ts.map +1 -1
  61. package/dist/exports/shared.js +1 -2
  62. package/dist/exports/shared.js.map +1 -1
  63. package/dist/fields/config/sanitize.d.ts.map +1 -1
  64. package/dist/fields/config/sanitize.js +4 -0
  65. package/dist/fields/config/sanitize.js.map +1 -1
  66. package/dist/fields/config/sanitizeJoinField.d.ts.map +1 -1
  67. package/dist/fields/config/sanitizeJoinField.js +3 -0
  68. package/dist/fields/config/sanitizeJoinField.js.map +1 -1
  69. package/dist/globals/config/types.d.ts +4 -0
  70. package/dist/globals/config/types.d.ts.map +1 -1
  71. package/dist/globals/config/types.js.map +1 -1
  72. package/dist/hierarchy/addHierarchyToCollection.d.ts +8 -0
  73. package/dist/hierarchy/addHierarchyToCollection.d.ts.map +1 -0
  74. package/dist/hierarchy/addHierarchyToCollection.js +62 -0
  75. package/dist/hierarchy/addHierarchyToCollection.js.map +1 -0
  76. package/dist/hierarchy/buildParentField.d.ts +11 -0
  77. package/dist/hierarchy/buildParentField.d.ts.map +1 -0
  78. package/dist/hierarchy/buildParentField.js +42 -0
  79. package/dist/hierarchy/buildParentField.js.map +1 -0
  80. package/dist/hierarchy/constants.d.ts +15 -0
  81. package/dist/hierarchy/constants.d.ts.map +1 -0
  82. package/dist/hierarchy/constants.js +11 -0
  83. package/dist/hierarchy/constants.js.map +1 -0
  84. package/dist/hierarchy/createFolderField.d.ts +39 -0
  85. package/dist/hierarchy/createFolderField.d.ts.map +1 -0
  86. package/dist/hierarchy/createFolderField.js +54 -0
  87. package/dist/hierarchy/createFolderField.js.map +1 -0
  88. package/dist/hierarchy/createFoldersCollection.d.ts +57 -0
  89. package/dist/hierarchy/createFoldersCollection.d.ts.map +1 -0
  90. package/dist/hierarchy/createFoldersCollection.js +63 -0
  91. package/dist/hierarchy/createFoldersCollection.js.map +1 -0
  92. package/dist/hierarchy/createTagField.d.ts +44 -0
  93. package/dist/hierarchy/createTagField.d.ts.map +1 -0
  94. package/dist/hierarchy/createTagField.js +48 -0
  95. package/dist/hierarchy/createTagField.js.map +1 -0
  96. package/dist/hierarchy/createTagsCollection.d.ts +54 -0
  97. package/dist/hierarchy/createTagsCollection.d.ts.map +1 -0
  98. package/dist/hierarchy/createTagsCollection.js +56 -0
  99. package/dist/hierarchy/createTagsCollection.js.map +1 -0
  100. package/dist/hierarchy/endpoints/findRelated.d.ts +7 -0
  101. package/dist/hierarchy/endpoints/findRelated.d.ts.map +1 -0
  102. package/dist/hierarchy/endpoints/findRelated.js +36 -0
  103. package/dist/hierarchy/endpoints/findRelated.js.map +1 -0
  104. package/dist/hierarchy/getInitialTreeData.d.ts +24 -0
  105. package/dist/hierarchy/getInitialTreeData.d.ts.map +1 -0
  106. package/dist/hierarchy/getInitialTreeData.js +120 -0
  107. package/dist/hierarchy/getInitialTreeData.js.map +1 -0
  108. package/dist/hierarchy/hooks/collectionAfterDelete.d.ts +14 -0
  109. package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +1 -0
  110. package/dist/hierarchy/hooks/collectionAfterDelete.js +21 -0
  111. package/dist/hierarchy/hooks/collectionAfterDelete.js.map +1 -0
  112. package/dist/hierarchy/hooks/collectionAfterRead.d.ts +27 -0
  113. package/dist/hierarchy/hooks/collectionAfterRead.d.ts.map +1 -0
  114. package/dist/hierarchy/hooks/collectionAfterRead.js +64 -0
  115. package/dist/hierarchy/hooks/collectionAfterRead.js.map +1 -0
  116. package/dist/hierarchy/hooks/collectionBeforeChange.d.ts +19 -0
  117. package/dist/hierarchy/hooks/collectionBeforeChange.d.ts.map +1 -0
  118. package/dist/hierarchy/hooks/collectionBeforeChange.js +90 -0
  119. package/dist/hierarchy/hooks/collectionBeforeChange.js.map +1 -0
  120. package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts +15 -0
  121. package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +1 -0
  122. package/dist/hierarchy/hooks/collectionBeforeDelete.js +20 -0
  123. package/dist/hierarchy/hooks/collectionBeforeDelete.js.map +1 -0
  124. package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts +8 -0
  125. package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts.map +1 -0
  126. package/dist/hierarchy/hooks/ensureSafeCollectionsChange.js +108 -0
  127. package/dist/hierarchy/hooks/ensureSafeCollectionsChange.js.map +1 -0
  128. package/dist/hierarchy/injectHierarchyButton.d.ts +14 -0
  129. package/dist/hierarchy/injectHierarchyButton.d.ts.map +1 -0
  130. package/dist/hierarchy/injectHierarchyButton.js +37 -0
  131. package/dist/hierarchy/injectHierarchyButton.js.map +1 -0
  132. package/dist/hierarchy/operations/findRelatedDocuments.d.ts +24 -0
  133. package/dist/hierarchy/operations/findRelatedDocuments.d.ts.map +1 -0
  134. package/dist/hierarchy/operations/findRelatedDocuments.js +73 -0
  135. package/dist/hierarchy/operations/findRelatedDocuments.js.map +1 -0
  136. package/dist/hierarchy/operations/index.d.ts +2 -0
  137. package/dist/hierarchy/operations/index.d.ts.map +1 -0
  138. package/dist/hierarchy/operations/index.js +3 -0
  139. package/dist/hierarchy/operations/index.js.map +1 -0
  140. package/dist/hierarchy/resolveHierarchyCollections.d.ts +23 -0
  141. package/dist/hierarchy/resolveHierarchyCollections.d.ts.map +1 -0
  142. package/dist/hierarchy/resolveHierarchyCollections.js +312 -0
  143. package/dist/hierarchy/resolveHierarchyCollections.js.map +1 -0
  144. package/dist/hierarchy/sanitizeHierarchyCollection.d.ts +14 -0
  145. package/dist/hierarchy/sanitizeHierarchyCollection.d.ts.map +1 -0
  146. package/dist/hierarchy/sanitizeHierarchyCollection.js +125 -0
  147. package/dist/hierarchy/sanitizeHierarchyCollection.js.map +1 -0
  148. package/dist/hierarchy/types.d.ts +137 -0
  149. package/dist/hierarchy/types.d.ts.map +1 -0
  150. package/dist/hierarchy/types.js +6 -0
  151. package/dist/hierarchy/types.js.map +1 -0
  152. package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.d.ts +71 -0
  153. package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.d.ts.map +1 -0
  154. package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.js +65 -0
  155. package/dist/hierarchy/utils/buildLocalizedHierarchyPaths.js.map +1 -0
  156. package/dist/hierarchy/utils/computePaths.d.ts +31 -0
  157. package/dist/hierarchy/utils/computePaths.d.ts.map +1 -0
  158. package/dist/hierarchy/utils/computePaths.js +371 -0
  159. package/dist/hierarchy/utils/computePaths.js.map +1 -0
  160. package/dist/hierarchy/utils/findUseAsTitle.d.ts +6 -0
  161. package/dist/hierarchy/utils/findUseAsTitle.d.ts.map +1 -0
  162. package/dist/hierarchy/utils/findUseAsTitle.js +72 -0
  163. package/dist/hierarchy/utils/findUseAsTitle.js.map +1 -0
  164. package/dist/hierarchy/utils/getAncestors.d.ts +34 -0
  165. package/dist/hierarchy/utils/getAncestors.d.ts.map +1 -0
  166. package/dist/hierarchy/utils/getAncestors.js +94 -0
  167. package/dist/hierarchy/utils/getAncestors.js.map +1 -0
  168. package/dist/hierarchy/utils/getLocalizedValue.d.ts +30 -0
  169. package/dist/hierarchy/utils/getLocalizedValue.d.ts.map +1 -0
  170. package/dist/hierarchy/utils/getLocalizedValue.js +46 -0
  171. package/dist/hierarchy/utils/getLocalizedValue.js.map +1 -0
  172. package/dist/hierarchy/utils/getLocalizedValue.spec.js +250 -0
  173. package/dist/hierarchy/utils/getLocalizedValue.spec.js.map +1 -0
  174. package/dist/index.bundled.d.ts +567 -280
  175. package/dist/index.d.ts +23 -9
  176. package/dist/index.d.ts.map +1 -1
  177. package/dist/index.js +13 -5
  178. package/dist/index.js.map +1 -1
  179. package/dist/preferences/keys.d.ts +8 -4
  180. package/dist/preferences/keys.d.ts.map +1 -1
  181. package/dist/preferences/keys.js +7 -4
  182. package/dist/preferences/keys.js.map +1 -1
  183. package/dist/types/index.d.ts +1 -0
  184. package/dist/types/index.d.ts.map +1 -1
  185. package/dist/types/index.js.map +1 -1
  186. package/dist/utilities/extractID.js +1 -1
  187. package/dist/utilities/extractID.js.map +1 -1
  188. package/dist/utilities/formatAdminURL.d.ts +13 -2
  189. package/dist/utilities/formatAdminURL.d.ts.map +1 -1
  190. package/dist/utilities/formatAdminURL.js.map +1 -1
  191. package/package.json +2 -2
  192. package/dist/admin/views/folderList.d.ts +0 -56
  193. package/dist/admin/views/folderList.d.ts.map +0 -1
  194. package/dist/admin/views/folderList.js +0 -3
  195. package/dist/admin/views/folderList.js.map +0 -1
  196. package/dist/folders/addFolderCollection.d.ts +0 -10
  197. package/dist/folders/addFolderCollection.d.ts.map +0 -1
  198. package/dist/folders/addFolderCollection.js +0 -26
  199. package/dist/folders/addFolderCollection.js.map +0 -1
  200. package/dist/folders/addFolderFieldToCollection.d.ts +0 -8
  201. package/dist/folders/addFolderFieldToCollection.d.ts.map +0 -1
  202. package/dist/folders/addFolderFieldToCollection.js +0 -20
  203. package/dist/folders/addFolderFieldToCollection.js.map +0 -1
  204. package/dist/folders/buildFolderField.d.ts +0 -8
  205. package/dist/folders/buildFolderField.d.ts.map +0 -1
  206. package/dist/folders/buildFolderField.js +0 -87
  207. package/dist/folders/buildFolderField.js.map +0 -1
  208. package/dist/folders/constants.d.ts +0 -3
  209. package/dist/folders/constants.d.ts.map +0 -1
  210. package/dist/folders/constants.js +0 -4
  211. package/dist/folders/constants.js.map +0 -1
  212. package/dist/folders/createFolderCollection.d.ts +0 -11
  213. package/dist/folders/createFolderCollection.d.ts.map +0 -1
  214. package/dist/folders/createFolderCollection.js +0 -115
  215. package/dist/folders/createFolderCollection.js.map +0 -1
  216. package/dist/folders/hooks/deleteSubfoldersAfterDelete.d.ts +0 -8
  217. package/dist/folders/hooks/deleteSubfoldersAfterDelete.d.ts.map +0 -1
  218. package/dist/folders/hooks/deleteSubfoldersAfterDelete.js +0 -15
  219. package/dist/folders/hooks/deleteSubfoldersAfterDelete.js.map +0 -1
  220. package/dist/folders/hooks/dissasociateAfterDelete.d.ts +0 -8
  221. package/dist/folders/hooks/dissasociateAfterDelete.d.ts.map +0 -1
  222. package/dist/folders/hooks/dissasociateAfterDelete.js +0 -20
  223. package/dist/folders/hooks/dissasociateAfterDelete.js.map +0 -1
  224. package/dist/folders/hooks/ensureSafeCollectionsChange.d.ts +0 -5
  225. package/dist/folders/hooks/ensureSafeCollectionsChange.d.ts.map +0 -1
  226. package/dist/folders/hooks/ensureSafeCollectionsChange.js +0 -107
  227. package/dist/folders/hooks/ensureSafeCollectionsChange.js.map +0 -1
  228. package/dist/folders/hooks/reparentChildFolder.d.ts +0 -24
  229. package/dist/folders/hooks/reparentChildFolder.d.ts.map +0 -1
  230. package/dist/folders/hooks/reparentChildFolder.js +0 -72
  231. package/dist/folders/hooks/reparentChildFolder.js.map +0 -1
  232. package/dist/folders/types.d.ts +0 -118
  233. package/dist/folders/types.d.ts.map +0 -1
  234. package/dist/folders/types.js +0 -3
  235. package/dist/folders/types.js.map +0 -1
  236. package/dist/folders/utils/buildFolderWhereConstraints.d.ts +0 -13
  237. package/dist/folders/utils/buildFolderWhereConstraints.d.ts.map +0 -1
  238. package/dist/folders/utils/buildFolderWhereConstraints.js +0 -45
  239. package/dist/folders/utils/buildFolderWhereConstraints.js.map +0 -1
  240. package/dist/folders/utils/formatFolderOrDocumentItem.d.ts +0 -12
  241. package/dist/folders/utils/formatFolderOrDocumentItem.d.ts.map +0 -1
  242. package/dist/folders/utils/formatFolderOrDocumentItem.js +0 -30
  243. package/dist/folders/utils/formatFolderOrDocumentItem.js.map +0 -1
  244. package/dist/folders/utils/getFolderBreadcrumbs.d.ts +0 -14
  245. package/dist/folders/utils/getFolderBreadcrumbs.d.ts.map +0 -1
  246. package/dist/folders/utils/getFolderBreadcrumbs.js +0 -45
  247. package/dist/folders/utils/getFolderBreadcrumbs.js.map +0 -1
  248. package/dist/folders/utils/getFolderData.d.ts +0 -33
  249. package/dist/folders/utils/getFolderData.d.ts.map +0 -1
  250. package/dist/folders/utils/getFolderData.js +0 -88
  251. package/dist/folders/utils/getFolderData.js.map +0 -1
  252. package/dist/folders/utils/getFoldersAndDocumentsFromJoin.d.ts +0 -24
  253. package/dist/folders/utils/getFoldersAndDocumentsFromJoin.d.ts.map +0 -1
  254. package/dist/folders/utils/getFoldersAndDocumentsFromJoin.js +0 -66
  255. package/dist/folders/utils/getFoldersAndDocumentsFromJoin.js.map +0 -1
  256. package/dist/folders/utils/getOrphanedDocs.d.ts +0 -15
  257. package/dist/folders/utils/getOrphanedDocs.d.ts.map +0 -1
  258. package/dist/folders/utils/getOrphanedDocs.js +0 -40
  259. package/dist/folders/utils/getOrphanedDocs.js.map +0 -1
@@ -19,7 +19,7 @@ import { ReadonlyRequestCookies } from 'next/dist/server/web/spec-extension/adap
19
19
  import { PinoPretty } from 'pino-pretty';
20
20
  import { DatePickerProps } from 'react-datepicker';
21
21
 
22
- declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "folder:browseByFolder" | "folder:byFolder" | "folder:deleteFolder" | "folder:folderName" | "folder:folders" | "folder:folderTypeDescription" | "folder:itemHasBeenMoved" | "folder:itemHasBeenMovedToRoot" | "folder:itemsMovedToFolder" | "folder:itemsMovedToRoot" | "folder:moveFolder" | "folder:moveItemsToFolderConfirmation" | "folder:moveItemsToRootConfirmation" | "folder:moveItemToFolderConfirmation" | "folder:moveItemToRootConfirmation" | "folder:movingFromFolder" | "folder:newFolder" | "folder:noFolder" | "folder:renameFolder" | "folder:searchByNameInFolder" | "folder:selectFolderForItem" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:cancel" | "general:changesNotSaved" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNew" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:delete" | "general:deleted" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:import" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:locale" | "general:locales" | "general:lock" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:none" | "general:noOptions" | "general:noResults" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
22
+ declare const clientTranslationKeys: ("authentication:account" | "authentication:accountOfCurrentUser" | "authentication:accountVerified" | "authentication:alreadyActivated" | "authentication:alreadyLoggedIn" | "authentication:apiKey" | "authentication:authenticated" | "authentication:backToLogin" | "authentication:beginCreateFirstUser" | "authentication:changePassword" | "authentication:checkYourEmailForPasswordReset" | "authentication:confirmGeneration" | "authentication:confirmPassword" | "authentication:createFirstUser" | "authentication:emailNotValid" | "authentication:emailOrUsername" | "authentication:emailSent" | "authentication:emailVerified" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "authentication:forgotPassword" | "authentication:forgotPasswordEmailInstructions" | "authentication:forgotPasswordUsernameInstructions" | "authentication:usernameNotValid" | "authentication:forgotPasswordQuestion" | "authentication:generate" | "authentication:generateNewAPIKey" | "authentication:generatingNewAPIKeyWillInvalidate" | "authentication:logBackIn" | "authentication:loggedIn" | "authentication:loggedInChangePassword" | "authentication:loggedOutInactivity" | "authentication:loggedOutSuccessfully" | "authentication:loggingOut" | "authentication:login" | "authentication:logOut" | "authentication:logout" | "authentication:logoutSuccessful" | "authentication:logoutUser" | "authentication:newAPIKeyGenerated" | "authentication:newPassword" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields: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")[];
23
23
 
24
24
  declare const enTranslations: {
25
25
  authentication: {
@@ -205,29 +205,6 @@ 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
- };
231
208
  general: {
232
209
  name: string;
233
210
  aboutToDelete: string;
@@ -242,6 +219,7 @@ declare const enTranslations: {
242
219
  aboutToRestoreCount: string;
243
220
  aboutToTrash: string;
244
221
  aboutToTrashCount: string;
222
+ accepts: string;
245
223
  addBelow: string;
246
224
  addFilter: string;
247
225
  adminTheme: string;
@@ -261,6 +239,7 @@ declare const enTranslations: {
261
239
  clearAll: string;
262
240
  close: string;
263
241
  collapse: string;
242
+ collection: string;
264
243
  collections: string;
265
244
  columns: string;
266
245
  columnToSort: string;
@@ -348,6 +327,7 @@ declare const enTranslations: {
348
327
  light: string;
349
328
  livePreview: string;
350
329
  loading: string;
330
+ loadMore: string;
351
331
  locale: string;
352
332
  locales: string;
353
333
  lock: string;
@@ -405,6 +385,7 @@ declare const enTranslations: {
405
385
  restoreAsPublished: string;
406
386
  restoredCountSuccessfully: string;
407
387
  restoring: string;
388
+ retry: string;
408
389
  row: string;
409
390
  rows: string;
410
391
  save: string;
@@ -463,6 +444,15 @@ declare const enTranslations: {
463
444
  welcome: string;
464
445
  yes: string;
465
446
  };
447
+ hierarchy: {
448
+ itemsMovedTo: string;
449
+ itemsMovedToRoot: string;
450
+ moveItemsToRootConfirmation: string;
451
+ moveToRoot: string;
452
+ noParent: string;
453
+ noResults: string;
454
+ searchLabel: string;
455
+ };
466
456
  localization: {
467
457
  cannotCopySameLocale: string;
468
458
  copyFrom: string;
@@ -2089,6 +2079,10 @@ type GlobalAdminOptions = {
2089
2079
  * Inject custom components before the document controls
2090
2080
  */
2091
2081
  beforeDocumentControls?: CustomComponent[];
2082
+ /**
2083
+ * Inject custom components before the document metadata (left of status/timestamps)
2084
+ */
2085
+ BeforeDocumentMeta?: CustomComponent[];
2092
2086
  Description?: EntityDescriptionComponent;
2093
2087
  /**
2094
2088
  * Replaces the "Preview" button
@@ -4035,6 +4029,133 @@ declare const createClientFields: ({ defaultIDType, disableAddingID, fields, i18
4035
4029
  importMap: ImportMap;
4036
4030
  }) => ClientField[];
4037
4031
 
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
+
4038
4159
  type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'access' | 'custom' | 'endpoints' | 'flattenedFields' | 'hooks' | 'indexes' | 'joins' | 'polymorphicJoins' | 'sanitizedIndexes'>;
4039
4160
  type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
4040
4161
  type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
@@ -4048,11 +4169,12 @@ type ClientCollectionConfig = {
4048
4169
  verify?: true;
4049
4170
  } & Omit<SanitizedCollectionConfig['auth'], 'forgotPassword' | 'strategies' | 'verify'>;
4050
4171
  fields: ClientField[];
4172
+ hierarchy?: ClientHierarchyConfig | false;
4051
4173
  labels: {
4052
4174
  plural: StaticLabel;
4053
4175
  singular: StaticLabel;
4054
4176
  };
4055
- } & Omit<SanitizedCollectionConfig, 'admin' | 'auth' | 'fields' | 'labels' | ServerOnlyCollectionProperties>;
4177
+ } & Omit<SanitizedCollectionConfig, 'admin' | 'auth' | 'fields' | 'hierarchy' | 'labels' | ServerOnlyCollectionProperties>;
4056
4178
  declare const createClientCollectionConfig: ({ collection, defaultIDType, i18n, importMap, }: {
4057
4179
  collection: SanitizedCollectionConfig;
4058
4180
  defaultIDType: Payload["config"]["db"]["defaultIDType"];
@@ -4254,7 +4376,6 @@ type AdminViewConfig = {
4254
4376
  strict?: boolean;
4255
4377
  };
4256
4378
  type AdminViewClientProps = {
4257
- browseByFolderSlugs?: SanitizedCollectionConfig['slug'][];
4258
4379
  clientConfig: ClientConfig;
4259
4380
  documentSubViewType?: DocumentSubViewTypes;
4260
4381
  viewType: ViewTypes;
@@ -4267,7 +4388,6 @@ type AdminViewServerPropsOnly = {
4267
4388
  * @todo remove `docID` here as it is already contained in `initPageResult`
4268
4389
  */
4269
4390
  readonly docID?: number | string;
4270
- readonly folderID?: number | string;
4271
4391
  readonly globalConfig?: SanitizedGlobalConfig;
4272
4392
  readonly importMap: ImportMap;
4273
4393
  readonly initialData?: Data;
@@ -4306,7 +4426,7 @@ type InitPageResult = {
4306
4426
  /**
4307
4427
  * @todo This should be renamed to `ViewType` (singular)
4308
4428
  */
4309
- type ViewTypes = 'account' | 'collection-folders' | 'createFirstUser' | 'dashboard' | 'document' | 'folders' | 'list' | 'reset' | 'trash' | 'verify' | 'version';
4429
+ type ViewTypes = 'account' | 'createFirstUser' | 'dashboard' | 'document' | 'list' | 'reset' | 'trash' | 'verify' | 'version';
4310
4430
  type ServerPropsFromView = {
4311
4431
  collectionConfig?: SanitizedConfig['collections'][number];
4312
4432
  globalConfig?: SanitizedConfig['globals'][number];
@@ -4443,94 +4563,6 @@ declare class UnverifiedEmail extends APIError {
4443
4563
  */
4444
4564
  type ErrorName = 'APIError' | 'AuthenticationError' | 'ErrorDeletingFile' | 'FileRetrievalError' | 'FileUploadError' | 'Forbidden' | 'Locked' | 'LockedAuth' | 'MissingFile' | 'NotFound' | 'QueryError' | 'UnverifiedEmail' | 'ValidationError';
4445
4565
 
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
-
4534
4566
  declare const operations: readonly ["read", "update", "delete"];
4535
4567
  type ConstraintOperation = (typeof operations)[number];
4536
4568
  type DefaultConstraint = 'everyone' | 'onlyMe' | 'specificUsers';
@@ -5898,6 +5930,27 @@ type DashboardConfig = {
5898
5930
  type SanitizedDashboardConfig = {
5899
5931
  widgets: Array<Omit<Widget, 'Component'>>;
5900
5932
  };
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
+ };
5901
5954
  /**
5902
5955
  * This is the central configuration
5903
5956
  *
@@ -6008,6 +6061,11 @@ type Config = {
6008
6061
  * These components will be rendered in a popup menu above the logout button.
6009
6062
  */
6010
6063
  settingsMenu?: CustomComponent[];
6064
+ /** Sidebar configuration */
6065
+ sidebar?: {
6066
+ /** Extensible tab system */
6067
+ tabs?: SidebarTab[];
6068
+ };
6011
6069
  /**
6012
6070
  * Replace or modify top-level admin routes, or add new ones:
6013
6071
  * + `Account` - `/admin/account`
@@ -6080,11 +6138,6 @@ type Config = {
6080
6138
  * @default '/account'
6081
6139
  */
6082
6140
  account?: `/${string}`;
6083
- /** The route for the browse by folder view.
6084
- *
6085
- * @default '/browse-by-folder'
6086
- */
6087
- browseByFolder?: `/${string}`;
6088
6141
  /** The route for the create first user page.
6089
6142
  *
6090
6143
  * @default '/create-first-user'
@@ -6268,12 +6321,6 @@ type Config = {
6268
6321
  */
6269
6322
  localizeStatus?: boolean;
6270
6323
  };
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;
6277
6324
  /**
6278
6325
  * @see https://payloadcms.com/docs/configuration/globals#global-configs
6279
6326
  */
@@ -6952,6 +6999,7 @@ type EditMenuItemsServerPropsOnly = {} & ServerProps;
6952
6999
  type EditMenuItemsServerProps = EditMenuItemsClientProps & EditMenuItemsServerPropsOnly;
6953
7000
 
6954
7001
  type NavPreferences = {
7002
+ activeTab?: string;
6955
7003
  groups: NavGroupPreferences;
6956
7004
  open: boolean;
6957
7005
  };
@@ -6960,6 +7008,12 @@ type NavGroupPreferences = {
6960
7008
  open: boolean;
6961
7009
  };
6962
7010
  };
7011
+ type SidebarTabClientProps = {
7012
+ documentSubViewType?: DocumentSubViewTypes;
7013
+ viewType?: ViewTypes;
7014
+ };
7015
+ type SidebarTabServerPropsOnly = {} & ServerProps;
7016
+ type SidebarTabServerProps = SidebarTabClientProps & SidebarTabServerPropsOnly;
6963
7017
 
6964
7018
  type PreviewButtonClientProps = {};
6965
7019
  type PreviewButtonServerPropsOnly = {} & ServerProps;
@@ -7662,43 +7716,6 @@ type BuildTableStateArgs = {
7662
7716
  renderRowTypes?: boolean;
7663
7717
  tableAppearance?: 'condensed' | 'default';
7664
7718
  };
7665
- type BuildCollectionFolderViewResult = {
7666
- View: React.ReactNode;
7667
- };
7668
- type GetFolderResultsComponentAndDataArgs = {
7669
- /**
7670
- * If true and no folderID is provided, only folders will be returned.
7671
- * If false, the results will include documents from the active collections.
7672
- */
7673
- browseByFolder: boolean;
7674
- /**
7675
- * Used to filter document types to include in the results/display.
7676
- *
7677
- * i.e. ['folders', 'posts'] will only include folders and posts in the results.
7678
- *
7679
- * collectionsToQuery?
7680
- */
7681
- collectionsToDisplay: CollectionSlug[];
7682
- /**
7683
- * Used to determine how the results should be displayed.
7684
- */
7685
- displayAs: 'grid' | 'list';
7686
- /**
7687
- * Used to filter folders by the collections they are assigned to.
7688
- *
7689
- * i.e. ['posts'] will only include folders that are assigned to the posts collections.
7690
- */
7691
- folderAssignedCollections: CollectionSlug[];
7692
- /**
7693
- * The ID of the folder to filter results by.
7694
- */
7695
- folderID: number | string | undefined;
7696
- req: PayloadRequest;
7697
- /**
7698
- * The sort order for the results.
7699
- */
7700
- sort: FolderSortKeys;
7701
- };
7702
7719
  type SlugifyServerFunctionArgs = {
7703
7720
  collectionSlug?: CollectionSlug;
7704
7721
  globalSlug?: GlobalSlug;
@@ -7728,59 +7745,40 @@ type WidgetServerProps<TWidget extends {
7728
7745
  } & Exclude<TWidget, never>>;
7729
7746
  } & Pick<InitReqResult, 'cookies' | 'locale' | 'permissions' | 'req'>;
7730
7747
 
7731
- type FolderListViewSlots = {
7732
- AfterFolderList?: React.ReactNode;
7733
- AfterFolderListTable?: React.ReactNode;
7734
- BeforeFolderList?: React.ReactNode;
7735
- BeforeFolderListTable?: React.ReactNode;
7736
- Description?: React.ReactNode;
7737
- listMenuItems?: React.ReactNode[];
7738
- };
7739
- type FolderListViewServerPropsOnly = {
7740
- collectionConfig: SanitizedCollectionConfig;
7741
- documents: FolderOrDocument[];
7742
- subfolders: FolderOrDocument[];
7743
- } & ServerProps;
7744
- type FolderListViewServerProps = FolderListViewClientProps & FolderListViewServerPropsOnly;
7745
- type FolderListViewClientProps = {
7746
- activeCollectionFolderSlugs?: SanitizedCollectionConfig['slug'][];
7747
- allCollectionFolderSlugs: SanitizedCollectionConfig['slug'][];
7748
- allowCreateCollectionSlugs: SanitizedCollectionConfig['slug'][];
7749
- baseFolderPath: `/${string}`;
7750
- beforeActions?: React.ReactNode[];
7751
- breadcrumbs: FolderBreadcrumb[];
7752
- collectionSlug?: SanitizedCollectionConfig['slug'];
7753
- disableBulkDelete?: boolean;
7754
- disableBulkEdit?: boolean;
7755
- documents: FolderOrDocument[];
7756
- enableRowSelections?: boolean;
7757
- folderAssignedCollections?: SanitizedCollectionConfig['slug'][];
7758
- folderFieldName: string;
7759
- folderID: null | number | string;
7760
- FolderResultsComponent: React.ReactNode;
7761
- search?: string;
7762
- sort?: FolderSortKeys;
7763
- subfolders: FolderOrDocument[];
7764
- viewPreference: 'grid' | 'list';
7765
- } & FolderListViewSlots;
7766
- type FolderListViewSlotSharedClientProps = {
7767
- collectionSlug: SanitizedCollectionConfig['slug'];
7768
- hasCreatePermission: boolean;
7769
- newDocumentURL: string;
7748
+ type RelatedDocumentsGrouped = {
7749
+ [collectionSlug: string]: {
7750
+ hasMany: boolean;
7751
+ label: string;
7752
+ result: PaginatedDocs;
7753
+ };
7770
7754
  };
7771
- type BeforeFolderListClientProps = FolderListViewSlotSharedClientProps;
7772
- type BeforeFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
7773
- type BeforeFolderListServerProps = BeforeFolderListClientProps & BeforeFolderListServerPropsOnly;
7774
- type BeforeFolderListTableClientProps = FolderListViewSlotSharedClientProps;
7775
- type BeforeFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
7776
- type BeforeFolderListTableServerProps = BeforeFolderListTableClientProps & BeforeFolderListTableServerPropsOnly;
7777
- type AfterFolderListClientProps = FolderListViewSlotSharedClientProps;
7778
- type AfterFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
7779
- type AfterFolderListServerProps = AfterFolderListClientProps & AfterFolderListServerPropsOnly;
7780
- type AfterFolderListTableClientProps = FolderListViewSlotSharedClientProps;
7781
- type AfterFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
7782
- type AfterFolderListTableServerProps = AfterFolderListTableClientProps & AfterFolderListTableServerPropsOnly;
7783
7755
 
7756
+ type HierarchyViewData = {
7757
+ /**
7758
+ * Collections allowed for creation based on parent's collectionSpecific field.
7759
+ * Undefined means all related collections are allowed.
7760
+ * Always includes the hierarchy collection itself.
7761
+ */
7762
+ allowedCollections?: Array<{
7763
+ label: string;
7764
+ slug: string;
7765
+ }>;
7766
+ /** Breadcrumb trail to the current parent */
7767
+ breadcrumbs: Array<{
7768
+ id: number | string;
7769
+ title: string;
7770
+ }>;
7771
+ /** Children of the current parent (same collection) */
7772
+ childrenData: PaginatedDocs;
7773
+ /** The current parent document data (for display and collectionSpecific field access) */
7774
+ parent: null | (Record<string, unknown> & TypeWithID);
7775
+ /** The parent field name for building queries */
7776
+ parentFieldName: string;
7777
+ /** The parent ID being viewed */
7778
+ parentId: null | number | string;
7779
+ /** Related documents grouped by collection */
7780
+ relatedDocumentsByCollection: RelatedDocumentsGrouped;
7781
+ };
7784
7782
  type ListViewSlots = {
7785
7783
  AfterList?: React.ReactNode;
7786
7784
  AfterListTable?: React.ReactNode;
@@ -7815,6 +7813,14 @@ type ListViewClientProps = {
7815
7813
  hasCreatePermission: boolean;
7816
7814
  hasDeletePermission?: boolean;
7817
7815
  hasTrashPermission?: boolean;
7816
+ /**
7817
+ * Hierarchy view data - present when viewing a hierarchy collection with a parent selected
7818
+ */
7819
+ hierarchyData?: HierarchyViewData;
7820
+ /**
7821
+ * Resolved icon component for hierarchy collections
7822
+ */
7823
+ HierarchyIcon?: React.ReactNode;
7818
7824
  /**
7819
7825
  * @deprecated
7820
7826
  */
@@ -7913,6 +7919,7 @@ type FieldRow = {
7913
7919
  };
7914
7920
  type DocumentSlots = {
7915
7921
  BeforeDocumentControls?: React$1.ReactNode;
7922
+ BeforeDocumentMeta?: React$1.ReactNode;
7916
7923
  Description?: React$1.ReactNode;
7917
7924
  EditMenuItems?: React$1.ReactNode;
7918
7925
  LivePreview?: React$1.ReactNode;
@@ -9238,6 +9245,10 @@ type CollectionAdminOptions = {
9238
9245
  * Inject custom components before the document controls
9239
9246
  */
9240
9247
  beforeDocumentControls?: CustomComponent[];
9248
+ /**
9249
+ * Inject custom components before the document metadata (left of status/timestamps)
9250
+ */
9251
+ BeforeDocumentMeta?: CustomComponent[];
9241
9252
  /**
9242
9253
  * Inject custom components within the 3-dot menu dropdown
9243
9254
  */
@@ -9453,10 +9464,6 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
9453
9464
  */
9454
9465
  endpoints?: false | Omit<Endpoint, 'root'>[];
9455
9466
  fields: Field[];
9456
- /**
9457
- * Enables folders for this collection
9458
- */
9459
- folders?: boolean | CollectionFoldersConfiguration;
9460
9467
  /**
9461
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
9462
9469
  */
@@ -9470,6 +9477,25 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
9470
9477
  pluralName?: string;
9471
9478
  singularName?: string;
9472
9479
  } | false;
9480
+ /**
9481
+ * Enable hierarchical tree structure for this collection
9482
+ *
9483
+ * Use `true` to enable with defaults (auto-detects parent field)
9484
+ * or provide configuration object
9485
+ *
9486
+ * @example
9487
+ * // Enable with defaults
9488
+ * hierarchy: true
9489
+ *
9490
+ * @example
9491
+ * // Customize field names and slugify function
9492
+ * hierarchy: {
9493
+ * parentFieldName: 'parent',
9494
+ * slugify: (text) => customSlugify(text),
9495
+ * slugPathFieldName: '_breadcrumbPath'
9496
+ * }
9497
+ */
9498
+ hierarchy?: boolean | HierarchyConfig;
9473
9499
  /**
9474
9500
  * Hooks to modify Payload functionality
9475
9501
  */
@@ -9606,7 +9632,7 @@ type SanitizedJoins = {
9606
9632
  * @todo remove the `DeepRequired` in v4.
9607
9633
  * We don't actually guarantee that all properties are set when sanitizing configs.
9608
9634
  */
9609
- interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>, 'admin' | 'auth' | 'endpoints' | 'fields' | 'folders' | 'slug' | 'upload' | 'versions'> {
9635
+ interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>, 'admin' | 'auth' | 'endpoints' | 'fields' | 'folder' | 'folders' | 'hierarchy' | 'slug' | 'upload' | 'versions'> {
9610
9636
  admin: CollectionAdminOptions;
9611
9637
  auth: Auth;
9612
9638
  endpoints: Endpoint[] | false;
@@ -9616,10 +9642,13 @@ interface SanitizedCollectionConfig extends Omit<DeepRequired<CollectionConfig>,
9616
9642
  * Rows / collapsible / tabs w/o name `fields` merged to top, UIs are excluded
9617
9643
  */
9618
9644
  flattenedFields: FlattenedField$1[];
9645
+ /**
9646
+ * Hierarchy configuration (when collection is a hierarchy type like folders or tags)
9647
+ */
9648
+ hierarchy: false | SanitizedHierarchyConfig;
9619
9649
  /**
9620
9650
  * Object of collections to join 'Join Fields object keyed by collection
9621
9651
  */
9622
- folders: CollectionFoldersConfiguration | false;
9623
9652
  joins: SanitizedJoins;
9624
9653
  /**
9625
9654
  * List of all polymorphic join fields
@@ -11231,6 +11260,8 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
11231
11260
  } & Pick<FindOptions<string, SelectType>, 'select'>;
11232
11261
  type Options<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
11233
11262
 
11263
+ declare const accountLockFields: Field[];
11264
+
11234
11265
  // Generated by dts-bundle-generator v9.5.1
11235
11266
 
11236
11267
  type CatchCallbackFn = (e: unknown, job: Cron) => void;
@@ -11761,8 +11792,6 @@ type CountVersionsOptions<TSlug extends CollectionSlug> = {
11761
11792
  where?: Where;
11762
11793
  };
11763
11794
 
11764
- declare const accountLockFields: Field[];
11765
-
11766
11795
  declare const apiKeyFields: Field[];
11767
11796
 
11768
11797
  declare const baseAuthFields: Field[];
@@ -11843,32 +11872,32 @@ type Result<TData> = {
11843
11872
  };
11844
11873
  declare const registerFirstUserOperation: <TSlug extends AuthCollectionSlug>(args: Arguments$7<TSlug>) => Promise<Result<DataFromCollectionSlug<TSlug>>>;
11845
11874
 
11846
- type Args$l = {
11875
+ type Args$k = {
11847
11876
  collection: Collection;
11848
11877
  req: PayloadRequest;
11849
11878
  token: string;
11850
11879
  };
11851
- declare const verifyEmailOperation: (args: Args$l) => Promise<boolean>;
11880
+ declare const verifyEmailOperation: (args: Args$k) => Promise<boolean>;
11852
11881
 
11853
11882
  /**
11854
11883
  * Authentication strategy function for JWT tokens
11855
11884
  */
11856
11885
  declare const JWTAuthentication: AuthStrategyFunction;
11857
11886
 
11858
- type Args$k = {
11887
+ type Args$j = {
11859
11888
  collection: SanitizedCollectionConfig;
11860
11889
  payload: Payload;
11861
11890
  user: TypedUser;
11862
11891
  };
11863
- declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$k) => Promise<void>;
11892
+ declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$j) => Promise<void>;
11864
11893
 
11865
- type Args$j = {
11894
+ type Args$i = {
11866
11895
  collection: SanitizedCollectionConfig;
11867
11896
  doc: Record<string, unknown> & TypeWithID;
11868
11897
  payload: Payload;
11869
11898
  req: PayloadRequest;
11870
11899
  };
11871
- declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$j) => Promise<void>;
11900
+ declare const resetLoginAttempts: ({ collection, doc, payload, req, }: Args$i) => Promise<void>;
11872
11901
 
11873
11902
  declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fields, importMap, imports, }: {
11874
11903
  addToImportMap: AddToImportMap;
@@ -11879,7 +11908,7 @@ declare function genImportMapIterateFields({ addToImportMap, baseDir, config, fi
11879
11908
  imports: Imports;
11880
11909
  }): void;
11881
11910
 
11882
- type Args$i = {
11911
+ type Args$h = {
11883
11912
  config: SanitizedConfig;
11884
11913
  /**
11885
11914
  * Override the migration directory. Useful for testing when the CWD differs
@@ -11888,7 +11917,7 @@ type Args$i = {
11888
11917
  migrationDir?: string;
11889
11918
  parsedArgs: ParsedArgs;
11890
11919
  };
11891
- declare const migrate$1: ({ config, migrationDir, parsedArgs }: Args$i) => Promise<void>;
11920
+ declare const migrate$1: ({ config, migrationDir, parsedArgs }: Args$h) => Promise<void>;
11892
11921
 
11893
11922
  declare const getDataLoader: (req: PayloadRequest) => {
11894
11923
  find: Payload["find"];
@@ -12097,7 +12126,7 @@ declare const writeMigrationIndex: (args: {
12097
12126
  migrationsDir: string;
12098
12127
  }) => void;
12099
12128
 
12100
- type Args$h = {
12129
+ type Args$g = {
12101
12130
  errors?: {
12102
12131
  path: string;
12103
12132
  }[];
@@ -12114,9 +12143,9 @@ type Args$h = {
12114
12143
  collectionConfig?: never | undefined;
12115
12144
  globalConfig: SanitizedGlobalConfig;
12116
12145
  });
12117
- declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args$h): Promise<void>;
12146
+ declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args$g): Promise<void>;
12118
12147
 
12119
- type Args$g = {
12148
+ type Args$f = {
12120
12149
  collectionConfig?: SanitizedCollectionConfig;
12121
12150
  constraint: WhereField;
12122
12151
  errors: {
@@ -12137,13 +12166,13 @@ type Args$g = {
12137
12166
  /**
12138
12167
  * Validate the Payload key / value / operator
12139
12168
  */
12140
- declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, val, versionFields, }: Args$g): Promise<void>;
12169
+ declare function validateSearchParam({ collectionConfig, constraint, errors, fields, globalConfig, operator, overrideAccess, parentIsLocalized, path: incomingPath, policies, polymorphicJoin, req, val, versionFields, }: Args$f): Promise<void>;
12141
12170
 
12142
12171
  declare const baseBlockFields: Field[];
12143
12172
 
12144
12173
  declare const baseIDField: TextField;
12145
12174
 
12146
- type Args$f = {
12175
+ type Args$e = {
12147
12176
  collectionConfig?: CollectionConfig;
12148
12177
  config: Config;
12149
12178
  existingFieldNames?: Set<string>;
@@ -12186,18 +12215,18 @@ type Args$f = {
12186
12215
  */
12187
12216
  validRelationships: null | string[];
12188
12217
  };
12189
- declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizationPromises, validRelationships, }: Args$f) => Promise<Field[]>;
12218
+ declare const sanitizeFields: ({ collectionConfig, config, existingFieldNames, fields, globalConfig, isTopLevelField, joinPath, joins, parentIndexPath, parentIsLocalized, parentSchemaPath, polymorphicJoins, requireFieldLevelRichTextEditor, richTextSanitizationPromises, validRelationships, }: Args$e) => Promise<Field[]>;
12190
12219
 
12191
- type Args$e = {
12220
+ type Args$d = {
12192
12221
  defaultValue: DefaultValue;
12193
12222
  locale: string | undefined;
12194
12223
  req: PayloadRequest;
12195
12224
  user: PayloadRequest['user'];
12196
12225
  value?: JsonValue;
12197
12226
  };
12198
- declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$e) => Promise<JsonValue>;
12227
+ declare const getDefaultValue: ({ defaultValue, locale, req, user, value, }: Args$d) => Promise<JsonValue>;
12199
12228
 
12200
- type Args$d = {
12229
+ type Args$c = {
12201
12230
  /**
12202
12231
  * Data of the nearest parent block. If no parent block exists, this will be the `undefined`
12203
12232
  */
@@ -12223,9 +12252,9 @@ type Args$d = {
12223
12252
  siblingDoc: JsonObject;
12224
12253
  siblingFields?: (Field | TabAsField)[];
12225
12254
  };
12226
- 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>;
12255
+ declare const traverseFields$4: ({ blockData, collection, context, data, doc, fields, global, operation, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, previousDoc, previousSiblingDoc, req, siblingData, siblingDoc, siblingFields, }: Args$c) => Promise<void>;
12227
12256
 
12228
- type Args$c = {
12257
+ type Args$b = {
12229
12258
  /**
12230
12259
  * Data of the nearest parent block. If no parent block exists, this will be the `undefined`
12231
12260
  */
@@ -12273,9 +12302,9 @@ type Args$c = {
12273
12302
  triggerAccessControl?: boolean;
12274
12303
  triggerHooks?: boolean;
12275
12304
  } & Required<Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>>;
12276
- 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>;
12305
+ declare const promise: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, field, fieldDepth, fieldIndex, fieldPromises, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, siblingFields, triggerAccessControl, triggerHooks, }: Args$b) => Promise<void>;
12277
12306
 
12278
- type Args$b = {
12307
+ type Args$a = {
12279
12308
  /**
12280
12309
  * Data of the nearest parent block. If no parent block exists, this will be the `undefined`
12281
12310
  */
@@ -12322,9 +12351,9 @@ type Args$b = {
12322
12351
  triggerAccessControl?: boolean;
12323
12352
  triggerHooks?: boolean;
12324
12353
  };
12325
- 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;
12354
+ declare const traverseFields$3: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, fieldDepth, fieldPromises, fields, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, triggerAccessControl, triggerHooks, }: Args$a) => void;
12326
12355
 
12327
- type Args$a = {
12356
+ type Args$9 = {
12328
12357
  /**
12329
12358
  * Data of the nearest parent block. If no parent block exists, this will be the `undefined`
12330
12359
  */
@@ -12380,9 +12409,9 @@ type Args$a = {
12380
12409
  * - Transform data for storage
12381
12410
  * - Unflatten locales. The input `data` is the normal document for one locale. The output result will become the document with locales.
12382
12411
  */
12383
- 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>;
12412
+ declare const traverseFields$2: ({ id, blockData, collection, context, data, doc, docWithLocales, errors, fieldLabelPath, fields, global, mergeLocaleActions, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, siblingDocWithLocales, skipValidation, }: Args$9) => Promise<void>;
12384
12413
 
12385
- type Args$9<T> = {
12414
+ type Args$8<T> = {
12386
12415
  /**
12387
12416
  * Data of the nearest parent block. If no parent block exists, this will be the `undefined`
12388
12417
  */
@@ -12413,39 +12442,10 @@ type Args$9<T> = {
12413
12442
  */
12414
12443
  siblingDoc: JsonObject;
12415
12444
  };
12416
- 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>;
12445
+ declare const traverseFields$1: <T>({ id, blockData, collection, context, data, doc, fields, global, operation, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, req, siblingData, siblingDoc, }: Args$8<T>) => Promise<void>;
12417
12446
 
12418
12447
  declare const sortableFieldTypes: string[];
12419
12448
 
12420
- type Args$8 = {
12421
- /**
12422
- * Specify to query documents from a specific collection
12423
- * @default undefined
12424
- * @example 'posts'
12425
- */
12426
- collectionSlug?: CollectionSlug;
12427
- /**
12428
- * Optional where clause to filter documents by
12429
- * @default undefined
12430
- */
12431
- documentWhere?: Where;
12432
- /**
12433
- * The ID of the folder to query documents from
12434
- * @default undefined
12435
- */
12436
- folderID?: number | string;
12437
- /** Optional where clause to filter subfolders by
12438
- * @default undefined
12439
- */
12440
- folderWhere?: Where;
12441
- req: PayloadRequest;
12442
- sort: FolderSortKeys;
12443
- };
12444
- /**
12445
- * Query for documents, subfolders and breadcrumbs for a given folder
12446
- */
12447
- declare const getFolderData: ({ collectionSlug, documentWhere, folderID: _folderID, folderWhere, req, sort, }: Args$8) => Promise<GetFolderDataResult>;
12448
-
12449
12449
  type Arguments$3 = {
12450
12450
  /**
12451
12451
  * If the document data is passed, it will be used to check access instead of fetching the document from the database.
@@ -12515,6 +12515,293 @@ type Args$7<TSlug extends GlobalSlug> = {
12515
12515
  } & Pick<FindOptions<string, SelectType>, 'select'>;
12516
12516
  declare const updateOperation: <TSlug extends GlobalSlug, TSelect extends SelectFromGlobalSlug<TSlug>>(args: Args$7<TSlug>) => Promise<TransformGlobalWithSelect<TSlug, TSelect>>;
12517
12517
 
12518
+ /**
12519
+ * Default field names and constants for hierarchy feature
12520
+ */
12521
+ declare const HIERARCHY_SLUG_PATH_FIELD = "_h_slugPath";
12522
+ declare const HIERARCHY_TITLE_PATH_FIELD = "_h_titlePath";
12523
+ declare const HIERARCHY_DEFAULT_LOCALE = "en";
12524
+ /** Default limit for hierarchy tree queries */
12525
+ declare const DEFAULT_HIERARCHY_TREE_LIMIT = 100;
12526
+ /** Default value for allowing hasMany on hierarchy fields */
12527
+ declare const DEFAULT_ALLOW_HAS_MANY = true;
12528
+ /** Generate a hierarchy field name from a hierarchy slug (e.g., 'folders' -> '_h_folders') */
12529
+ declare const getHierarchyFieldName: (hierarchySlug: string) => string;
12530
+
12531
+ /**
12532
+ * Options for creating a folder relationship field.
12533
+ * All SingleRelationshipField properties are available except name, type, relationTo, and hasMany
12534
+ * which are managed by the folder system.
12535
+ */
12536
+ type CreateFolderFieldOptions = {
12537
+ /**
12538
+ * The slug of the hierarchy collection this field references (e.g., 'folders')
12539
+ */
12540
+ relationTo: string;
12541
+ } & Pick<Partial<SingleRelationshipField>, 'admin' | 'label' | 'required'>;
12542
+ /**
12543
+ * Creates a relationship field for folder-style hierarchies (single-select).
12544
+ *
12545
+ * This field:
12546
+ * - Has hasMany:false (single folder selection)
12547
+ * - Uses NullField to render nothing in the form (no DOM output)
12548
+ * - Injects a header button for folder selection via miller columns UI
12549
+ *
12550
+ * Use this in your collection's fields array to add a folder relationship.
12551
+ * The field name is automatically generated based on the hierarchy slug.
12552
+ *
12553
+ * @example
12554
+ * import { createFolderField } from 'payload'
12555
+ *
12556
+ * const Posts: CollectionConfig = {
12557
+ * slug: 'posts',
12558
+ * fields: [
12559
+ * { name: 'title', type: 'text' },
12560
+ * createFolderField({
12561
+ * relationTo: 'folders',
12562
+ * label: 'Folder',
12563
+ * }),
12564
+ * ],
12565
+ * }
12566
+ */
12567
+ declare function createFolderField(options: CreateFolderFieldOptions): RelationshipField;
12568
+
12569
+ /**
12570
+ * Hierarchy options for folder collections - all fields optional since defaults are applied.
12571
+ * Cannot override `allowHasMany` - folders always use single-select.
12572
+ */
12573
+ type FolderHierarchyOptions = {
12574
+ parentFieldName?: string;
12575
+ } & Partial<Omit<HierarchyConfig, 'allowHasMany' | 'parentFieldName'>>;
12576
+ /**
12577
+ * Options for creating a folder collection.
12578
+ * Same as CollectionConfig but with `useAsTitle` required.
12579
+ */
12580
+ type CreateFoldersCollectionOptions = {
12581
+ /**
12582
+ * Hierarchy configuration (defaults applied for folder behavior)
12583
+ * Cannot override `allowHasMany` - folders always use single-select
12584
+ */
12585
+ hierarchy?: FolderHierarchyOptions;
12586
+ /**
12587
+ * Field name to use as the display title in the folder tree.
12588
+ * Required to ensure folders display meaningful names.
12589
+ */
12590
+ useAsTitle: string;
12591
+ } & Omit<CollectionConfig, 'admin' | 'hierarchy'> & Partial<Pick<CollectionConfig, 'admin'>>;
12592
+ /**
12593
+ * Creates a collection config for a folder-style hierarchy.
12594
+ *
12595
+ * This helper provides:
12596
+ * - `hierarchy.allowHasMany: false` (enforced, folders are single-select)
12597
+ * - Default folder icon component
12598
+ * - Required `useAsTitle` to ensure folders display meaningful names
12599
+ * - `admin.group: false` by default to hide from collections list
12600
+ * (folder collections are accessed via their dedicated sidebar tab)
12601
+ *
12602
+ * @example
12603
+ * import { createFoldersCollection, createFolderField } from 'payload'
12604
+ *
12605
+ * const Folders = createFoldersCollection({
12606
+ * slug: 'folders',
12607
+ * useAsTitle: 'name',
12608
+ * fields: [
12609
+ * { name: 'name', type: 'text', required: true },
12610
+ * ],
12611
+ * })
12612
+ *
12613
+ * // Then in related collections:
12614
+ * const Posts: CollectionConfig = {
12615
+ * slug: 'posts',
12616
+ * fields: [
12617
+ * createFolderField({ relationTo: 'folders' }),
12618
+ * ],
12619
+ * }
12620
+ */
12621
+ declare function createFoldersCollection(options: CreateFoldersCollectionOptions): CollectionConfig;
12622
+
12623
+ /**
12624
+ * Options for creating a tag relationship field.
12625
+ * All RelationshipFieldMany properties are available except name, type, and relationTo
12626
+ * which are managed by the tag system.
12627
+ */
12628
+ type CreateTagFieldOptions = {
12629
+ /**
12630
+ * Whether to allow multiple tags (defaults to true)
12631
+ * @default true
12632
+ */
12633
+ hasMany?: boolean;
12634
+ /**
12635
+ * The slug of the hierarchy collection this field references (e.g., 'tags')
12636
+ */
12637
+ relationTo: string;
12638
+ } & Pick<Partial<RelationshipField>, 'admin' | 'label' | 'required'>;
12639
+ /**
12640
+ * Creates a relationship field for tag-style hierarchies (multi-select by default).
12641
+ *
12642
+ * This field:
12643
+ * - Has hasMany:true by default (multiple tag selection)
12644
+ * - Is positioned in the sidebar by default
12645
+ * - Does NOT inject a header button (tags use standard relationship UI)
12646
+ *
12647
+ * Use this in your collection's fields array to add a tag relationship.
12648
+ * The field name is automatically generated based on the hierarchy slug.
12649
+ *
12650
+ * @example
12651
+ * import { createTagField } from 'payload'
12652
+ *
12653
+ * const Posts: CollectionConfig = {
12654
+ * slug: 'posts',
12655
+ * fields: [
12656
+ * { name: 'title', type: 'text' },
12657
+ * createTagField({
12658
+ * relationTo: 'tags',
12659
+ * label: 'Tags',
12660
+ * }),
12661
+ * ],
12662
+ * }
12663
+ */
12664
+ declare function createTagField(options: CreateTagFieldOptions): RelationshipField;
12665
+
12666
+ /**
12667
+ * Hierarchy options for tag collections - all fields optional since defaults are applied.
12668
+ */
12669
+ type TagHierarchyOptions = {
12670
+ parentFieldName?: string;
12671
+ } & Partial<Omit<HierarchyConfig, 'parentFieldName'>>;
12672
+ /**
12673
+ * Options for creating a tag collection.
12674
+ * Same as CollectionConfig but with `useAsTitle` required.
12675
+ */
12676
+ type CreateTagsCollectionOptions = {
12677
+ /**
12678
+ * Hierarchy configuration (defaults applied for tag behavior)
12679
+ * `allowHasMany` defaults to true but can be overridden
12680
+ */
12681
+ hierarchy?: TagHierarchyOptions;
12682
+ /**
12683
+ * Field name to use as the display title in the tag tree.
12684
+ * Required to ensure tags display meaningful names.
12685
+ */
12686
+ useAsTitle: string;
12687
+ } & Omit<CollectionConfig, 'admin' | 'hierarchy'> & Partial<Pick<CollectionConfig, 'admin'>>;
12688
+ /**
12689
+ * Creates a collection config for a tag-style hierarchy.
12690
+ *
12691
+ * This helper provides:
12692
+ * - `hierarchy.allowHasMany: true` by default (can be overridden)
12693
+ * - Default tag icon component
12694
+ * - Required `useAsTitle` to ensure tags display meaningful names
12695
+ *
12696
+ * @example
12697
+ * import { createTagsCollection, createTagField } from 'payload'
12698
+ *
12699
+ * const Tags = createTagsCollection({
12700
+ * slug: 'tags',
12701
+ * useAsTitle: 'name',
12702
+ * fields: [
12703
+ * { name: 'name', type: 'text', required: true },
12704
+ * ],
12705
+ * })
12706
+ *
12707
+ * // Then in related collections:
12708
+ * const Posts: CollectionConfig = {
12709
+ * slug: 'posts',
12710
+ * fields: [
12711
+ * createTagField({ relationTo: 'tags' }),
12712
+ * ],
12713
+ * }
12714
+ */
12715
+ declare function createTagsCollection(options: CreateTagsCollectionOptions): CollectionConfig;
12716
+
12717
+ type GetInitialTreeDataArgs = {
12718
+ collectionSlug: string;
12719
+ expandedNodeIds?: (number | string)[];
12720
+ /** Filter tree to only show folders that allow these collection types (or are unrestricted) */
12721
+ filterByCollections?: string[];
12722
+ limit?: number;
12723
+ req: PayloadRequest;
12724
+ /** The currently selected node ID. When provided, ensures siblings are loaded to include this node. */
12725
+ selectedNodeId?: null | number | string;
12726
+ /** The parent ID of the selected node. Required when selectedNodeId is provided. */
12727
+ selectedNodeParentId?: null | number | string;
12728
+ };
12729
+ type InitialTreeData = {
12730
+ docs: TypeWithID[];
12731
+ loadedParents: Record<string, {
12732
+ hasMore: boolean;
12733
+ loadedCount?: number;
12734
+ totalDocs: number;
12735
+ }>;
12736
+ };
12737
+ declare const getInitialTreeData: ({ collectionSlug, expandedNodeIds, filterByCollections, limit, req, selectedNodeId, selectedNodeParentId, }: GetInitialTreeDataArgs) => Promise<InitialTreeData>;
12738
+
12739
+ /**
12740
+ * Injects the HierarchyButton component into a collection's BeforeDocumentMeta slot.
12741
+ *
12742
+ * The HierarchyButton provides a header UI for selecting parent hierarchy items
12743
+ * via miller columns, replacing the standard relationship field input.
12744
+ */
12745
+ declare const injectHierarchyButton: ({ collection, fieldName, hierarchyCollectionSlug, parentFieldName, }: {
12746
+ collection: CollectionConfig;
12747
+ fieldName: string;
12748
+ hierarchyCollectionSlug: string;
12749
+ parentFieldName: string;
12750
+ }) => void;
12751
+
12752
+ /**
12753
+ * Resolves hierarchy relationships across collections.
12754
+ *
12755
+ * This function runs after individual collection sanitization to establish
12756
+ * cross-collection hierarchy relationships. It discovers which collections
12757
+ * reference each hierarchy and configures the necessary fields, components,
12758
+ * and hooks.
12759
+ *
12760
+ * @remarks
12761
+ * Must be called after all collections are sanitized.
12762
+ *
12763
+ * **What it does:**
12764
+ * - Discovers related collections by scanning for hierarchy relationship fields
12765
+ * - Injects `HierarchyButton` component when `custom.hierarchy.injectHeaderButton` is set
12766
+ * - Adds `collectionSpecific` validation to ensure hierarchy items accept the document type
12767
+ * - Injects the `hierarchyType` select field when `collectionSpecific` is enabled
12768
+ * - Injects join field when `joinField` is configured
12769
+ * - Adds `afterDelete` hook to clear hierarchy references when items are deleted
12770
+ * - Populates `relatedCollections` in the sanitized hierarchy config
12771
+ */
12772
+ declare const resolveHierarchyCollections: (config: Config) => void;
12773
+
12774
+ type Ancestor = {
12775
+ id: number | string;
12776
+ title: string;
12777
+ };
12778
+ type GetAncestorsArgs = {
12779
+ /**
12780
+ * The collection slug
12781
+ */
12782
+ collectionSlug: CollectionSlug;
12783
+ /**
12784
+ * The document ID to get ancestors for
12785
+ */
12786
+ id: number | string;
12787
+ /**
12788
+ * Include the document itself in the returned ancestors (as last item)
12789
+ * @default true
12790
+ */
12791
+ includeSelf?: boolean;
12792
+ /**
12793
+ * The request object
12794
+ */
12795
+ req: PayloadRequest;
12796
+ };
12797
+ /**
12798
+ * Get ancestor chain for a hierarchical document.
12799
+ * Returns array of {id, title} from root to the document.
12800
+ *
12801
+ * Uses request context caching for efficiency when called multiple times.
12802
+ */
12803
+ declare function getAncestors({ id, collectionSlug, includeSelf, req, }: GetAncestorsArgs): Promise<Ancestor[]>;
12804
+
12518
12805
  declare class DatabaseKVAdapter implements KVAdapter {
12519
12806
  readonly payload: Payload;
12520
12807
  readonly collectionSlug: string;
@@ -13697,5 +13984,5 @@ interface GlobalCustom extends Record<string, any> {
13697
13984
  interface GlobalAdminCustom extends Record<string, any> {
13698
13985
  }
13699
13986
 
13700
- 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 };
13701
- 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 };
13987
+ export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, apiKeyFields as baseAPIKeyFields, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createFolderField, createFoldersCollection, createLocalReq, createMigration, createOperation, createPayloadRequest, createTagField, createTagsCollection, 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, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getHierarchyFieldName, getInitialTreeData, getLatestCollectionVersion, getLatestGlobalVersion, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRequestLanguage, handleEndpoints, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, localizeStatus, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrate$1 as migrateCLI, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, refreshOperation, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, 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 };
13988
+ 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 };