payload 4.0.0-internal.38b7f1d → 4.0.0-internal.5f0cd13

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 (404) hide show
  1. package/dist/admin/RichText.d.ts +3 -16
  2. package/dist/admin/RichText.d.ts.map +1 -1
  3. package/dist/admin/RichText.js.map +1 -1
  4. package/dist/admin/adapters/cookies.d.ts +21 -0
  5. package/dist/admin/adapters/cookies.d.ts.map +1 -0
  6. package/dist/admin/adapters/cookies.js +3 -0
  7. package/dist/admin/adapters/cookies.js.map +1 -0
  8. package/dist/admin/adapters/index.d.ts +4 -0
  9. package/dist/admin/adapters/index.d.ts.map +1 -0
  10. package/dist/admin/adapters/index.js +3 -0
  11. package/dist/admin/adapters/index.js.map +1 -0
  12. package/dist/admin/adapters/router.d.ts +56 -0
  13. package/dist/admin/adapters/router.d.ts.map +1 -0
  14. package/dist/admin/adapters/router.js +3 -0
  15. package/dist/admin/adapters/router.js.map +1 -0
  16. package/dist/admin/adapters/server.d.ts +23 -0
  17. package/dist/admin/adapters/server.d.ts.map +1 -0
  18. package/dist/admin/adapters/server.js +6 -0
  19. package/dist/admin/adapters/server.js.map +1 -0
  20. package/dist/admin/elements/Table.d.ts +1 -0
  21. package/dist/admin/elements/Table.d.ts.map +1 -1
  22. package/dist/admin/elements/Table.js.map +1 -1
  23. package/dist/admin/views/hierarchyList.d.ts +1 -0
  24. package/dist/admin/views/hierarchyList.d.ts.map +1 -1
  25. package/dist/admin/views/hierarchyList.js.map +1 -1
  26. package/dist/admin/views/list.d.ts +5 -1
  27. package/dist/admin/views/list.d.ts.map +1 -1
  28. package/dist/admin/views/list.js.map +1 -1
  29. package/dist/auth/cookies.d.ts.map +1 -1
  30. package/dist/auth/defaultAccess.d.ts.map +1 -1
  31. package/dist/auth/ensureUsernameOrEmail.d.ts.map +1 -1
  32. package/dist/auth/executeAccess.d.ts.map +1 -1
  33. package/dist/auth/executeAuthStrategies.d.ts.map +1 -1
  34. package/dist/auth/extractAccessFromPermission.d.ts.map +1 -1
  35. package/dist/auth/extractJWT.d.ts.map +1 -1
  36. package/dist/auth/getAuthFields.d.ts.map +1 -1
  37. package/dist/auth/getFieldsToSign.d.ts.map +1 -1
  38. package/dist/auth/getLoginOptions.d.ts.map +1 -1
  39. package/dist/auth/isUserLocked.d.ts.map +1 -1
  40. package/dist/auth/jwt.d.ts.map +1 -1
  41. package/dist/auth/operations/access.d.ts.map +1 -1
  42. package/dist/auth/operations/auth.d.ts.map +1 -1
  43. package/dist/auth/operations/forgotPassword.d.ts.map +1 -1
  44. package/dist/auth/operations/init.d.ts.map +1 -1
  45. package/dist/auth/operations/local/auth.d.ts.map +1 -1
  46. package/dist/auth/operations/login.d.ts.map +1 -1
  47. package/dist/auth/operations/logout.d.ts.map +1 -1
  48. package/dist/auth/operations/me.d.ts.map +1 -1
  49. package/dist/auth/operations/refresh.d.ts.map +1 -1
  50. package/dist/auth/operations/registerFirstUser.d.ts.map +1 -1
  51. package/dist/auth/operations/resetPassword.d.ts.map +1 -1
  52. package/dist/auth/operations/unlock.d.ts.map +1 -1
  53. package/dist/auth/operations/verifyEmail.d.ts.map +1 -1
  54. package/dist/auth/sessions.d.ts.map +1 -1
  55. package/dist/auth/strategies/apiKey.d.ts.map +1 -1
  56. package/dist/auth/strategies/apiKey.js +6 -17
  57. package/dist/auth/strategies/apiKey.js.map +1 -1
  58. package/dist/auth/strategies/local/authenticate.d.ts.map +1 -1
  59. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts.map +1 -1
  60. package/dist/auth/strategies/local/incrementLoginAttempts.d.ts.map +1 -1
  61. package/dist/auth/strategies/local/register.d.ts.map +1 -1
  62. package/dist/auth/strategies/local/resetLoginAttempts.d.ts.map +1 -1
  63. package/dist/bin/generateImportMap/iterateFields.d.ts.map +1 -1
  64. package/dist/bin/generateImportMap/iterateFields.js +4 -1
  65. package/dist/bin/generateImportMap/iterateFields.js.map +1 -1
  66. package/dist/bin/generateImportMap/utilities/getFromImportMap.d.ts.map +1 -1
  67. package/dist/bin/generateTypes.d.ts.map +1 -1
  68. package/dist/bin/generateTypes.js +7 -1
  69. package/dist/bin/generateTypes.js.map +1 -1
  70. package/dist/bin/migrate.d.ts.map +1 -1
  71. package/dist/collections/config/client.d.ts.map +1 -1
  72. package/dist/collections/config/defaults.d.ts.map +1 -1
  73. package/dist/collections/config/sanitize.d.ts +10 -1
  74. package/dist/collections/config/sanitize.d.ts.map +1 -1
  75. package/dist/collections/config/sanitizeCompoundIndexes.d.ts.map +1 -1
  76. package/dist/collections/config/useAsTitle.d.ts.map +1 -1
  77. package/dist/collections/dataloader.d.ts.map +1 -1
  78. package/dist/collections/operations/count.d.ts.map +1 -1
  79. package/dist/collections/operations/countVersions.d.ts.map +1 -1
  80. package/dist/collections/operations/create.d.ts.map +1 -1
  81. package/dist/collections/operations/delete.d.ts.map +1 -1
  82. package/dist/collections/operations/deleteByID.d.ts.map +1 -1
  83. package/dist/collections/operations/duplicate.d.ts.map +1 -1
  84. package/dist/collections/operations/find.d.ts.map +1 -1
  85. package/dist/collections/operations/findByID.d.ts.map +1 -1
  86. package/dist/collections/operations/findDistinct.d.ts.map +1 -1
  87. package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
  88. package/dist/collections/operations/findVersions.d.ts.map +1 -1
  89. package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
  90. package/dist/collections/operations/update.d.ts.map +1 -1
  91. package/dist/collections/operations/updateByID.d.ts.map +1 -1
  92. package/dist/collections/operations/utilities/buildAfterOperation.d.ts.map +1 -1
  93. package/dist/collections/operations/utilities/sanitizeSortQuery.d.ts.map +1 -1
  94. package/dist/collections/operations/utilities/update.d.ts.map +1 -1
  95. package/dist/config/build.d.ts.map +1 -1
  96. package/dist/config/build.js +8 -0
  97. package/dist/config/build.js.map +1 -1
  98. package/dist/config/client.d.ts +1 -1
  99. package/dist/config/client.d.ts.map +1 -1
  100. package/dist/config/client.js +2 -1
  101. package/dist/config/client.js.map +1 -1
  102. package/dist/config/defaults.d.ts.map +1 -1
  103. package/dist/config/orderable/index.d.ts.map +1 -1
  104. package/dist/config/sanitize.d.ts.map +1 -1
  105. package/dist/config/sanitize.js +3 -15
  106. package/dist/config/sanitize.js.map +1 -1
  107. package/dist/config/types.d.ts +68 -19
  108. package/dist/config/types.d.ts.map +1 -1
  109. package/dist/config/types.js.map +1 -1
  110. package/dist/database/combineQueries.d.ts.map +1 -1
  111. package/dist/database/migrations/findMigrationDir.d.ts.map +1 -1
  112. package/dist/database/migrations/getPredefinedMigration.d.ts.map +1 -1
  113. package/dist/database/migrations/migrate.d.ts.map +1 -1
  114. package/dist/database/migrations/migrate.js +0 -3
  115. package/dist/database/migrations/migrate.js.map +1 -1
  116. package/dist/database/migrations/readMigrationFiles.d.ts.map +1 -1
  117. package/dist/database/migrations/templates/localizeStatus.d.ts.map +1 -1
  118. package/dist/database/migrations/writeMigrationIndex.d.ts.map +1 -1
  119. package/dist/database/sanitizeJoinQuery.d.ts.map +1 -1
  120. package/dist/database/sanitizeWhereQuery.d.ts.map +1 -1
  121. package/dist/database/types.d.ts +0 -29
  122. package/dist/database/types.d.ts.map +1 -1
  123. package/dist/database/types.js.map +1 -1
  124. package/dist/duplicateDocument/index.d.ts.map +1 -1
  125. package/dist/email/getStringifiedToAddress.d.ts.map +1 -1
  126. package/dist/exports/migrations.d.ts +0 -1
  127. package/dist/exports/migrations.d.ts.map +1 -1
  128. package/dist/exports/migrations.js +1 -2
  129. package/dist/exports/migrations.js.map +1 -1
  130. package/dist/fields/baseFields/slug/countVersions.d.ts.map +1 -1
  131. package/dist/fields/baseFields/slug/generateSlug.d.ts.map +1 -1
  132. package/dist/fields/baseFields/slug/index.js +1 -1
  133. package/dist/fields/baseFields/slug/index.js.map +1 -1
  134. package/dist/fields/config/client.d.ts +1 -1
  135. package/dist/fields/config/client.d.ts.map +1 -1
  136. package/dist/fields/config/client.js +1 -1
  137. package/dist/fields/config/client.js.map +1 -1
  138. package/dist/fields/config/sanitize.d.ts.map +1 -1
  139. package/dist/fields/config/sanitize.js +1 -10
  140. package/dist/fields/config/sanitize.js.map +1 -1
  141. package/dist/fields/config/sanitizeJoinField.d.ts.map +1 -1
  142. package/dist/fields/config/types.d.ts +27 -45
  143. package/dist/fields/config/types.d.ts.map +1 -1
  144. package/dist/fields/config/types.js +1 -1
  145. package/dist/fields/config/types.js.map +1 -1
  146. package/dist/fields/getDefaultValue.d.ts.map +1 -1
  147. package/dist/fields/hooks/afterChange/index.d.ts.map +1 -1
  148. package/dist/fields/hooks/afterChange/promise.d.ts.map +1 -1
  149. package/dist/fields/hooks/afterChange/traverseFields.d.ts.map +1 -1
  150. package/dist/fields/hooks/afterRead/promise.d.ts.map +1 -1
  151. package/dist/fields/hooks/afterRead/relationshipPopulationPromise.d.ts.map +1 -1
  152. package/dist/fields/hooks/afterRead/traverseFields.d.ts.map +1 -1
  153. package/dist/fields/hooks/afterRead/virtualFieldPopulationPromise.d.ts.map +1 -1
  154. package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.d.ts.map +1 -1
  155. package/dist/fields/hooks/beforeChange/getExistingRowDoc.d.ts.map +1 -1
  156. package/dist/fields/hooks/beforeChange/index.d.ts.map +1 -1
  157. package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
  158. package/dist/fields/hooks/beforeChange/traverseFields.d.ts.map +1 -1
  159. package/dist/fields/hooks/beforeDuplicate/index.d.ts.map +1 -1
  160. package/dist/fields/hooks/beforeDuplicate/promise.d.ts.map +1 -1
  161. package/dist/fields/hooks/beforeDuplicate/traverseFields.d.ts.map +1 -1
  162. package/dist/fields/hooks/beforeValidate/index.d.ts.map +1 -1
  163. package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
  164. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts.map +1 -1
  165. package/dist/fields/isFieldDisabled.d.ts.map +1 -1
  166. package/dist/fields/mergeBaseFields.d.ts.map +1 -1
  167. package/dist/fields/setDefaultBeforeDuplicate.d.ts.map +1 -1
  168. package/dist/globals/config/client.d.ts.map +1 -1
  169. package/dist/globals/config/sanitize.d.ts +6 -1
  170. package/dist/globals/config/sanitize.d.ts.map +1 -1
  171. package/dist/globals/operations/countGlobalVersions.d.ts.map +1 -1
  172. package/dist/globals/operations/docAccess.d.ts.map +1 -1
  173. package/dist/globals/operations/findOne.d.ts.map +1 -1
  174. package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
  175. package/dist/globals/operations/findVersions.d.ts.map +1 -1
  176. package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
  177. package/dist/globals/operations/update.d.ts.map +1 -1
  178. package/dist/hierarchy/addHierarchyToCollection.d.ts.map +1 -1
  179. package/dist/hierarchy/buildParentField.d.ts.map +1 -1
  180. package/dist/hierarchy/constants.d.ts.map +1 -1
  181. package/dist/hierarchy/getInitialTreeData.d.ts.map +1 -1
  182. package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +1 -1
  183. package/dist/hierarchy/hooks/collectionAfterRead.d.ts.map +1 -1
  184. package/dist/hierarchy/hooks/collectionBeforeChange.d.ts.map +1 -1
  185. package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +1 -1
  186. package/dist/hierarchy/hooks/collectionBeforeOperation.d.ts.map +1 -1
  187. package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts.map +1 -1
  188. package/dist/hierarchy/injectHierarchyButton.d.ts.map +1 -1
  189. package/dist/hierarchy/resolveHierarchyCollections.d.ts.map +1 -1
  190. package/dist/hierarchy/resolveHierarchyCollections.js +1 -1
  191. package/dist/hierarchy/resolveHierarchyCollections.js.map +1 -1
  192. package/dist/hierarchy/sanitizeHierarchyCollection.d.ts.map +1 -1
  193. package/dist/hierarchy/sanitizeHierarchyCollection.js +3 -1
  194. package/dist/hierarchy/sanitizeHierarchyCollection.js.map +1 -1
  195. package/dist/hierarchy/types.d.ts +8 -1
  196. package/dist/hierarchy/types.d.ts.map +1 -1
  197. package/dist/hierarchy/types.js.map +1 -1
  198. package/dist/index.bundled.d.ts +310 -263
  199. package/dist/index.d.ts +4 -3
  200. package/dist/index.d.ts.map +1 -1
  201. package/dist/index.js +1 -1
  202. package/dist/index.js.map +1 -1
  203. package/dist/kv/adapters/DatabaseKVAdapter.d.ts.map +1 -1
  204. package/dist/locked-documents/config.d.ts.map +1 -1
  205. package/dist/preferences/config.d.ts.map +1 -1
  206. package/dist/preferences/deleteUserPreferences.d.ts.map +1 -1
  207. package/dist/query-presets/access.d.ts.map +1 -1
  208. package/dist/query-presets/config.d.ts.map +1 -1
  209. package/dist/query-presets/config.js +6 -6
  210. package/dist/query-presets/config.js.map +1 -1
  211. package/dist/query-presets/constraints.d.ts.map +1 -1
  212. package/dist/query-presets/constraints.js +1 -1
  213. package/dist/query-presets/constraints.js.map +1 -1
  214. package/dist/queues/config/generateJobsJSONSchemas.d.ts +1 -1
  215. package/dist/queues/config/generateJobsJSONSchemas.d.ts.map +1 -1
  216. package/dist/queues/config/generateJobsJSONSchemas.js +31 -10
  217. package/dist/queues/config/generateJobsJSONSchemas.js.map +1 -1
  218. package/dist/queues/endpoints/run.d.ts.map +1 -1
  219. package/dist/queues/localAPI.d.ts.map +1 -1
  220. package/dist/queues/operations/handleSchedules/getQueuesWithSchedules.d.ts.map +1 -1
  221. package/dist/queues/operations/runJobs/index.d.ts.map +1 -1
  222. package/dist/queues/operations/runJobs/runJSONJob/index.d.ts.map +1 -1
  223. package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.d.ts.map +1 -1
  224. package/dist/queues/operations/runJobs/runJob/index.d.ts.map +1 -1
  225. package/dist/queues/utilities/getJobTaskStatus.d.ts.map +1 -1
  226. package/dist/translations/getLocalI18n.d.ts.map +1 -1
  227. package/dist/types/index.d.ts +10 -5
  228. package/dist/types/index.d.ts.map +1 -1
  229. package/dist/types/index.js.map +1 -1
  230. package/dist/uploads/checkFileAccess.d.ts.map +1 -1
  231. package/dist/uploads/checkFileRestrictions.d.ts.map +1 -1
  232. package/dist/uploads/docWithFilenameExists.d.ts.map +1 -1
  233. package/dist/uploads/endpoints/getFileFromURL.d.ts.map +1 -1
  234. package/dist/uploads/endpoints/getFileFromURL.js +9 -5
  235. package/dist/uploads/endpoints/getFileFromURL.js.map +1 -1
  236. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.d.ts.map +1 -1
  237. package/dist/uploads/fetchAPI-multipart/processNested.d.ts.map +1 -1
  238. package/dist/uploads/fetchAPI-multipart/utilities.d.ts.map +1 -1
  239. package/dist/uploads/fileExists.d.ts.map +1 -1
  240. package/dist/uploads/generateFileData.d.ts.map +1 -1
  241. package/dist/uploads/getBaseFields.d.ts.map +1 -1
  242. package/dist/uploads/getBaseFields.js +7 -19
  243. package/dist/uploads/getBaseFields.js.map +1 -1
  244. package/dist/uploads/getExternalFile.d.ts.map +1 -1
  245. package/dist/uploads/getFileByPath.d.ts.map +1 -1
  246. package/dist/uploads/getFileTypeFallback.d.ts.map +1 -1
  247. package/dist/uploads/getSafeFilename.d.ts.map +1 -1
  248. package/dist/uploads/image-resizing/createImageSize.d.ts.map +1 -1
  249. package/dist/uploads/image-resizing/generateImageSizeFilename.d.ts.map +1 -1
  250. package/dist/uploads/image-resizing/getImageResizeAction.d.ts.map +1 -1
  251. package/dist/uploads/image-resizing/parseFilename.d.ts.map +1 -1
  252. package/dist/uploads/image-resizing/sanitizeResizeConfig.d.ts.map +1 -1
  253. package/dist/uploads/mimeTypeValidator.d.ts.map +1 -1
  254. package/dist/uploads/safeFetch.d.ts +1 -1
  255. package/dist/uploads/safeFetch.d.ts.map +1 -1
  256. package/dist/uploads/saveBufferToFile.d.ts.map +1 -1
  257. package/dist/uploads/tempFile.d.ts.map +1 -1
  258. package/dist/uploads/types.d.ts +12 -29
  259. package/dist/uploads/types.d.ts.map +1 -1
  260. package/dist/uploads/types.js.map +1 -1
  261. package/dist/uploads/uploadFiles.d.ts.map +1 -1
  262. package/dist/utilities/addLocalesToRequest.d.ts.map +1 -1
  263. package/dist/utilities/addSelectGenericsToGeneretedTypes.d.ts.map +1 -1
  264. package/dist/utilities/appendDateTimezoneSelectFields.d.ts.map +1 -1
  265. package/dist/utilities/appendNonTrashedFilter.d.ts.map +1 -1
  266. package/dist/utilities/appendUploadSelectFields.d.ts.map +1 -1
  267. package/dist/utilities/canAccessAdmin.d.ts.map +1 -1
  268. package/dist/utilities/checkDocumentLockStatus.d.ts.map +1 -1
  269. package/dist/utilities/configToJSONSchema.d.ts +34 -16
  270. package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
  271. package/dist/utilities/configToJSONSchema.js +127 -52
  272. package/dist/utilities/configToJSONSchema.js.map +1 -1
  273. package/dist/utilities/configToJSONSchema.spec.js +94 -65
  274. package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
  275. package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
  276. package/dist/utilities/deepCopyObject.d.ts.map +1 -1
  277. package/dist/utilities/dependencies/resolveFrom.d.ts.map +1 -1
  278. package/dist/utilities/escapeRegExp.d.ts.map +1 -1
  279. package/dist/utilities/extractID.d.ts.map +1 -1
  280. package/dist/utilities/flattenAllFields.d.ts.map +1 -1
  281. package/dist/utilities/formatAdminURL.d.ts.map +1 -1
  282. package/dist/utilities/formatErrors.d.ts.map +1 -1
  283. package/dist/utilities/formatLabels.d.ts.map +1 -1
  284. package/dist/utilities/getBestFitFromSizes.d.ts.map +1 -1
  285. package/dist/utilities/getBlockSelect.d.ts.map +1 -1
  286. package/dist/utilities/getDataByPath.d.ts.map +1 -1
  287. package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts.map +1 -1
  288. package/dist/utilities/getFieldByPath.d.ts.map +1 -1
  289. package/dist/utilities/getFieldPermissions.d.ts.map +1 -1
  290. package/dist/utilities/getObjectDotNotation.d.ts.map +1 -1
  291. package/dist/utilities/getRequestEntity.d.ts.map +1 -1
  292. package/dist/utilities/getRequestLanguage.d.ts.map +1 -1
  293. package/dist/utilities/getRequestOrigin.d.ts.map +1 -1
  294. package/dist/utilities/getSafeRedirect.d.ts.map +1 -1
  295. package/dist/utilities/getSelectMode.d.ts.map +1 -1
  296. package/dist/utilities/getSiblingData.d.ts.map +1 -1
  297. package/dist/utilities/getTranslatedLabel.d.ts.map +1 -1
  298. package/dist/utilities/getVersionsConfig.d.ts.map +1 -1
  299. package/dist/utilities/handleEndpoints.d.ts.map +1 -1
  300. package/dist/utilities/handleEndpoints.js +0 -1
  301. package/dist/utilities/handleEndpoints.js.map +1 -1
  302. package/dist/utilities/headersWithCors.d.ts.map +1 -1
  303. package/dist/utilities/isEntityHidden.d.ts.map +1 -1
  304. package/dist/utilities/isURLAllowed.d.ts.map +1 -1
  305. package/dist/utilities/isValidID.d.ts.map +1 -1
  306. package/dist/utilities/logError.d.ts.map +1 -1
  307. package/dist/utilities/logger.d.ts.map +1 -1
  308. package/dist/utilities/mergeHeaders.d.ts.map +1 -1
  309. package/dist/utilities/mergeListSearchAndWhere.d.ts.map +1 -1
  310. package/dist/utilities/optionsAreEqual.d.ts.map +1 -1
  311. package/dist/utilities/parseBooleanString.d.ts.map +1 -1
  312. package/dist/utilities/parseCookies.d.ts.map +1 -1
  313. package/dist/utilities/parseParams/index.d.ts.map +1 -1
  314. package/dist/utilities/profiling.d.ts.map +1 -1
  315. package/dist/utilities/reduceFieldsToValues.d.ts.map +1 -1
  316. package/dist/utilities/resolveSelect.d.ts.map +1 -1
  317. package/dist/utilities/routeError.d.ts.map +1 -1
  318. package/dist/utilities/sanitizeFallbackLocale.d.ts.map +1 -1
  319. package/dist/utilities/sanitizeInternalFields.d.ts.map +1 -1
  320. package/dist/utilities/sanitizeJoinParams.d.ts.map +1 -1
  321. package/dist/utilities/sanitizePopulateParam.d.ts.map +1 -1
  322. package/dist/utilities/sanitizeSelect.d.ts.map +1 -1
  323. package/dist/utilities/sanitizeSelectParam.d.ts.map +1 -1
  324. package/dist/utilities/sanitizeSortParams.d.ts.map +1 -1
  325. package/dist/utilities/setsAreEqual.d.ts.map +1 -1
  326. package/dist/utilities/slugify.d.ts.map +1 -1
  327. package/dist/utilities/stripUnselectedFields.d.ts.map +1 -1
  328. package/dist/utilities/telemetry/events/adminInit.d.ts.map +1 -1
  329. package/dist/utilities/telemetry/events/serverInit.d.ts.map +1 -1
  330. package/dist/utilities/telemetry/index.d.ts.map +1 -1
  331. package/dist/utilities/telemetry/oneWayHash.d.ts.map +1 -1
  332. package/dist/utilities/timestamp.d.ts.map +1 -1
  333. package/dist/utilities/toKebabCase.d.ts.map +1 -1
  334. package/dist/utilities/transformColumnPreferences.d.ts.map +1 -1
  335. package/dist/utilities/transformWhereQuery.d.ts.map +1 -1
  336. package/dist/utilities/traverseFields.d.ts.map +1 -1
  337. package/dist/utilities/traverseForLocalizedFields.d.ts.map +1 -1
  338. package/dist/utilities/unflatten.d.ts.map +1 -1
  339. package/dist/utilities/validateMimeType.d.ts.map +1 -1
  340. package/dist/utilities/validateTimezones.d.ts.map +1 -1
  341. package/dist/utilities/validateWhereQuery.d.ts.map +1 -1
  342. package/dist/utilities/wordBoundariesRegex.d.ts.map +1 -1
  343. package/dist/utilities/wrapInternalEndpoints.d.ts.map +1 -1
  344. package/dist/versions/baseFields.d.ts.map +1 -1
  345. package/dist/versions/buildCollectionFields.d.ts.map +1 -1
  346. package/dist/versions/buildGlobalFields.d.ts.map +1 -1
  347. package/dist/versions/buildVersionCompoundIndexes.d.ts.map +1 -1
  348. package/dist/versions/deleteCollectionVersions.d.ts.map +1 -1
  349. package/dist/versions/deleteScheduledPublishJobs.d.ts.map +1 -1
  350. package/dist/versions/drafts/appendVersionToQueryKey.d.ts.map +1 -1
  351. package/dist/versions/drafts/getQueryDraftsSelect.d.ts.map +1 -1
  352. package/dist/versions/drafts/getQueryDraftsSort.d.ts.map +1 -1
  353. package/dist/versions/drafts/replaceWithDraftIfAvailable.d.ts.map +1 -1
  354. package/dist/versions/enforceMaxVersions.d.ts.map +1 -1
  355. package/dist/versions/getLatestCollectionVersion.d.ts.map +1 -1
  356. package/dist/versions/getLatestGlobalVersion.d.ts.map +1 -1
  357. package/dist/versions/migrations/localizeStatus/shared.d.ts.map +1 -1
  358. package/dist/versions/saveSnapshot.d.ts.map +1 -1
  359. package/dist/versions/schedule/job.d.ts.map +1 -1
  360. package/package.json +18 -18
  361. package/dist/database/migrations/config/batchTransform.d.ts +0 -16
  362. package/dist/database/migrations/config/batchTransform.d.ts.map +0 -1
  363. package/dist/database/migrations/config/batchTransform.js +0 -17
  364. package/dist/database/migrations/config/batchTransform.js.map +0 -1
  365. package/dist/database/migrations/config/batchTransform.spec.js +0 -68
  366. package/dist/database/migrations/config/batchTransform.spec.js.map +0 -1
  367. package/dist/database/migrations/config/bootstrapConfigState.d.ts +0 -4
  368. package/dist/database/migrations/config/bootstrapConfigState.d.ts.map +0 -1
  369. package/dist/database/migrations/config/bootstrapConfigState.js +0 -10
  370. package/dist/database/migrations/config/bootstrapConfigState.js.map +0 -1
  371. package/dist/database/migrations/config/configStateStore.d.ts +0 -4
  372. package/dist/database/migrations/config/configStateStore.d.ts.map +0 -1
  373. package/dist/database/migrations/config/configStateStore.js +0 -29
  374. package/dist/database/migrations/config/configStateStore.js.map +0 -1
  375. package/dist/database/migrations/config/diffConfig.d.ts +0 -3
  376. package/dist/database/migrations/config/diffConfig.d.ts.map +0 -1
  377. package/dist/database/migrations/config/diffConfig.js +0 -123
  378. package/dist/database/migrations/config/diffConfig.js.map +0 -1
  379. package/dist/database/migrations/config/diffConfig.spec.js +0 -136
  380. package/dist/database/migrations/config/diffConfig.spec.js.map +0 -1
  381. package/dist/database/migrations/config/generateDataMigrationCode.d.ts +0 -11
  382. package/dist/database/migrations/config/generateDataMigrationCode.d.ts.map +0 -1
  383. package/dist/database/migrations/config/generateDataMigrationCode.js +0 -28
  384. package/dist/database/migrations/config/generateDataMigrationCode.js.map +0 -1
  385. package/dist/database/migrations/config/generateDataMigrationCode.spec.js +0 -52
  386. package/dist/database/migrations/config/generateDataMigrationCode.spec.js.map +0 -1
  387. package/dist/database/migrations/config/index.d.ts +0 -9
  388. package/dist/database/migrations/config/index.d.ts.map +0 -1
  389. package/dist/database/migrations/config/index.js +0 -9
  390. package/dist/database/migrations/config/index.js.map +0 -1
  391. package/dist/database/migrations/config/prompts.d.ts +0 -5
  392. package/dist/database/migrations/config/prompts.d.ts.map +0 -1
  393. package/dist/database/migrations/config/prompts.js +0 -49
  394. package/dist/database/migrations/config/prompts.js.map +0 -1
  395. package/dist/database/migrations/config/serializeConfig.d.ts +0 -4
  396. package/dist/database/migrations/config/serializeConfig.d.ts.map +0 -1
  397. package/dist/database/migrations/config/serializeConfig.js +0 -65
  398. package/dist/database/migrations/config/serializeConfig.js.map +0 -1
  399. package/dist/database/migrations/config/serializeConfig.spec.js +0 -146
  400. package/dist/database/migrations/config/serializeConfig.spec.js.map +0 -1
  401. package/dist/database/migrations/config/types.d.ts +0 -66
  402. package/dist/database/migrations/config/types.d.ts.map +0 -1
  403. package/dist/database/migrations/config/types.js +0 -3
  404. package/dist/database/migrations/config/types.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:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collection" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNew" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:none" | "general:noOptions" | "general:noResults" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "hierarchy:noResults" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveItemsToRootConfirmation" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:searchLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
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:createUser" | "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" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "commandPalette:title" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:createNew" | "general:noResults" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "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:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "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:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:manageLabel" | "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:noMatchesFound" | "general:none" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "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:searchColumns" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "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:toggle" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unchecked" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAgo" | "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: {
@@ -37,6 +37,7 @@ declare const enTranslations: {
37
37
  confirmGeneration: string;
38
38
  confirmPassword: string;
39
39
  createFirstUser: string;
40
+ createUser: string;
40
41
  emailNotValid: string;
41
42
  emailOrUsername: string;
42
43
  emailSent: string;
@@ -91,6 +92,22 @@ declare const enTranslations: {
91
92
  youAreReceivingResetPassword: string;
92
93
  youDidNotRequestPassword: string;
93
94
  };
95
+ commandPalette: {
96
+ actions: string;
97
+ createNew: string;
98
+ favorites: string;
99
+ hintActions: string;
100
+ hintClose: string;
101
+ hintCreate: string;
102
+ hintNavigate: string;
103
+ hintSelect: string;
104
+ noResults: string;
105
+ pinToFavorites: string;
106
+ placeholder: string;
107
+ recentlyVisited: string;
108
+ removeFromFavorites: string;
109
+ title: string;
110
+ };
94
111
  dashboard: {
95
112
  addButton: string;
96
113
  addWidget: string;
@@ -238,6 +255,7 @@ declare const enTranslations: {
238
255
  by: string;
239
256
  cancel: string;
240
257
  changesNotSaved: string;
258
+ checked: string;
241
259
  clear: string;
242
260
  clearAll: string;
243
261
  close: string;
@@ -276,6 +294,7 @@ declare const enTranslations: {
276
294
  decrement: string;
277
295
  delete: string;
278
296
  deleted: string;
297
+ deletedAgo: string;
279
298
  deletedAt: string;
280
299
  deletedCountSuccessfully: string;
281
300
  deletedSuccessfully: string;
@@ -291,10 +310,12 @@ declare const enTranslations: {
291
310
  documentModified: string;
292
311
  documentOutOfDate: string;
293
312
  documents: string;
313
+ dragToReorder: string;
294
314
  duplicate: string;
295
315
  duplicateWithoutSaving: string;
296
316
  edit: string;
297
317
  editAll: string;
318
+ editColumns: string;
298
319
  editedSince: string;
299
320
  editing: string;
300
321
  editingLabel_many: string;
@@ -316,12 +337,14 @@ declare const enTranslations: {
316
337
  export: string;
317
338
  fallbackToDefaultLocale: string;
318
339
  false: string;
340
+ field: string;
319
341
  filter: string;
320
342
  filters: string;
321
343
  filterWhere: string;
322
344
  globals: string;
323
345
  goBack: string;
324
346
  groupByLabel: string;
347
+ hideSidebar: string;
325
348
  import: string;
326
349
  increment: string;
327
350
  isEditing: string;
@@ -339,6 +362,7 @@ declare const enTranslations: {
339
362
  locale: string;
340
363
  locales: string;
341
364
  lock: string;
365
+ manageLabel: string;
342
366
  menu: string;
343
367
  moreOptions: string;
344
368
  move: string;
@@ -355,6 +379,7 @@ declare const enTranslations: {
355
379
  noDateSelected: string;
356
380
  noFiltersSet: string;
357
381
  noLabel: string;
382
+ noMatchesFound: string;
358
383
  none: string;
359
384
  noOptions: string;
360
385
  noResults: string;
@@ -363,6 +388,7 @@ declare const enTranslations: {
363
388
  notFound: string;
364
389
  nothingFound: string;
365
390
  noTrashResults: string;
391
+ notShownInTable: string;
366
392
  noUpcomingEventsScheduled: string;
367
393
  noValue: string;
368
394
  of: string;
@@ -380,6 +406,7 @@ declare const enTranslations: {
380
406
  permanentlyDelete: string;
381
407
  permanentlyDeletedCountSuccessfully: string;
382
408
  perPage: string;
409
+ perPageLabel: string;
383
410
  previous: string;
384
411
  reindex: string;
385
412
  reindexingAll: string;
@@ -402,6 +429,7 @@ declare const enTranslations: {
402
429
  saving: string;
403
430
  schedulePublishFor: string;
404
431
  searchBy: string;
432
+ searchColumns: string;
405
433
  select: string;
406
434
  selectAll: string;
407
435
  selectAllRows: string;
@@ -409,6 +437,8 @@ declare const enTranslations: {
409
437
  selectLabel: string;
410
438
  selectValue: string;
411
439
  showAllLabel: string;
440
+ shownInTable: string;
441
+ showSidebar: string;
412
442
  sorryNotFound: string;
413
443
  sort: string;
414
444
  sortByLabelDirection: string;
@@ -427,15 +457,18 @@ declare const enTranslations: {
427
457
  titleDeleted: string;
428
458
  titleRestored: string;
429
459
  titleTrashed: string;
460
+ toggle: string;
430
461
  trash: string;
431
462
  trashedCountSuccessfully: string;
432
463
  true: string;
433
464
  unauthorized: string;
465
+ unchecked: string;
434
466
  unlock: string;
435
467
  unsavedChanges: string;
436
468
  unsavedChangesDuplicate: string;
437
469
  untitled: string;
438
470
  upcomingEvents: string;
471
+ updatedAgo: string;
439
472
  updatedAt: string;
440
473
  updatedCountSuccessfully: string;
441
474
  updatedLabelSuccessfully: string;
@@ -640,9 +673,6 @@ type Language<TDefaultTranslations = DefaultTranslationsObject> = {
640
673
  type GenericTranslationsObject = {
641
674
  [key: string]: GenericTranslationsObject | string;
642
675
  };
643
- type GenericLanguages = {
644
- [key in AcceptedLanguages]?: GenericTranslationsObject;
645
- };
646
676
  type AcceptedLanguages = (typeof acceptedLanguages)[number];
647
677
  type SupportedLanguages<TDefaultTranslations = DefaultTranslationsObject> = {
648
678
  [key in AcceptedLanguages]?: Language<TDefaultTranslations>;
@@ -727,6 +757,49 @@ type OptionalKeys<Type> = Type extends object ? keyof {
727
757
 
728
758
  type RequiredKeys<Type> = Type extends unknown ? Exclude<keyof Type, OptionalKeys<Type>> : never;
729
759
 
760
+ type CookieStore = {
761
+ get: (name: string) => {
762
+ name: string;
763
+ value: string;
764
+ } | null | undefined;
765
+ getAll?: () => Array<{
766
+ name: string;
767
+ value: string;
768
+ }>;
769
+ set?: (name: string, value: string, options?: CookieOptions$1) => void;
770
+ };
771
+ type CookieOptions$1 = {
772
+ domain?: string;
773
+ expires?: Date;
774
+ httpOnly?: boolean;
775
+ maxAge?: number;
776
+ path?: string;
777
+ sameSite?: 'lax' | 'none' | 'strict';
778
+ secure?: boolean;
779
+ };
780
+
781
+ /**
782
+ * Server-side adapter passed into server functions (not React context).
783
+ * Abstracts framework-specific server APIs like cookies, headers, redirect.
784
+ */
785
+ type ServerAdapter = {
786
+ /**
787
+ * Throws a Next-style "forbidden" boundary (HTTP 403 semantics). Plugins
788
+ * should treat this as a control-flow `never` — execution does not return.
789
+ */
790
+ forbidden: () => never;
791
+ getCookies: () => CookieStore | Promise<CookieStore>;
792
+ getHeaders: () => Headers | Promise<Headers>;
793
+ notFound: () => never;
794
+ permanentRedirect: (path: string) => never;
795
+ redirect: (path: string) => never;
796
+ setCookie: (name: string, value: string, options?: CookieOptions$1) => Promise<void> | void;
797
+ /**
798
+ * Throws a Next-style "unauthorized" boundary (HTTP 401 semantics).
799
+ */
800
+ unauthorized: () => never;
801
+ };
802
+
730
803
  /** @deprecated Use `instanceof APIError` instead of name comparison. */
731
804
  declare const APIErrorName = "APIError";
732
805
  declare class ExtendableError<TData extends object = {
@@ -1421,30 +1494,12 @@ interface BaseDatabaseAdapter {
1421
1494
  * Run any migration down functions that have been performed
1422
1495
  */
1423
1496
  migrateDown: () => Promise<void>;
1424
- migrateFieldDelocalized?: (args: {
1425
- defaultLocale: string;
1426
- entity: 'collection' | 'global';
1427
- fieldPath: string;
1428
- req: PayloadRequest;
1429
- slug: string;
1430
- }) => Promise<void>;
1431
- migrateFieldLocalized?: (args: {
1432
- defaultLocale: string;
1433
- entity: 'collection' | 'global';
1434
- fieldPath: string;
1435
- req: PayloadRequest;
1436
- slug: string;
1437
- }) => Promise<void>;
1438
1497
  /**
1439
1498
  * Drop the current database and run all migrate up functions
1440
1499
  */
1441
1500
  migrateFresh: (args: {
1442
1501
  forceAcceptWarning?: boolean;
1443
1502
  }) => Promise<void>;
1444
- migrateLocaleRemoved?: (args: {
1445
- locale: string;
1446
- req: PayloadRequest;
1447
- }) => Promise<void>;
1448
1503
  /**
1449
1504
  * Run all migration down functions before running up
1450
1505
  */
@@ -1457,17 +1512,6 @@ interface BaseDatabaseAdapter {
1457
1512
  * Read the current state of migrations and output the result to show which have been run
1458
1513
  */
1459
1514
  migrateStatus: () => Promise<void>;
1460
- migrateVersionsDisabled?: (args: {
1461
- entity: 'collection' | 'global';
1462
- req: PayloadRequest;
1463
- slug: string;
1464
- }) => Promise<void>;
1465
- migrateVersionsEnabled?: (args: {
1466
- entity: 'collection' | 'global';
1467
- initialStatus: 'draft' | 'published';
1468
- req: PayloadRequest;
1469
- slug: string;
1470
- }) => Promise<void>;
1471
1515
  /**
1472
1516
  * Path to read and write migration files from
1473
1517
  */
@@ -2601,6 +2645,14 @@ interface FieldBase {
2601
2645
  beforeValidate?: FieldHook[];
2602
2646
  };
2603
2647
  index?: boolean;
2648
+ /**
2649
+ * Allows you to modify the base JSON schema that is generated for this field.
2650
+ * This JSON schema will be used to generate the TypeScript interface of this field, and to
2651
+ * validate the field's value in the MCP plugin.
2652
+ */
2653
+ jsonSchema?: Array<(args: {
2654
+ jsonSchema: JSONSchema4;
2655
+ }) => JSONSchema4>;
2604
2656
  label?: false | LabelFunction | StaticLabel;
2605
2657
  localized?: boolean;
2606
2658
  /**
@@ -2612,13 +2664,6 @@ interface FieldBase {
2612
2664
  name: string;
2613
2665
  required?: boolean;
2614
2666
  saveToJWT?: boolean | string;
2615
- /**
2616
- * Allows you to modify the base JSON schema that is generated during generate:types for this field.
2617
- * This JSON schema will be used to generate the TypeScript interface of this field.
2618
- */
2619
- typescriptSchema?: Array<(args: {
2620
- jsonSchema: JSONSchema4;
2621
- }) => JSONSchema4>;
2622
2667
  unique?: boolean;
2623
2668
  validate?: Validate;
2624
2669
  /**
@@ -2628,29 +2673,9 @@ interface FieldBase {
2628
2673
  */
2629
2674
  virtual?: boolean | string;
2630
2675
  }
2631
- interface FieldBaseClient {
2676
+ interface FieldBaseClient extends Pick<FieldBase, 'hidden' | 'index' | 'jsonSchema' | 'localized' | 'name' | 'required' | 'saveToJWT' | 'unique'> {
2632
2677
  admin?: AdminClient;
2633
- hidden?: boolean;
2634
- index?: boolean;
2635
2678
  label?: StaticLabel;
2636
- localized?: boolean;
2637
- /**
2638
- * The name of the field. Must be alphanumeric and cannot contain ' . '
2639
- *
2640
- * Must not be one of reserved field names: ['__v', 'salt', 'hash', 'file']
2641
- * @link https://payloadcms.com/docs/fields/overview#field-names
2642
- */
2643
- name: string;
2644
- required?: boolean;
2645
- saveToJWT?: boolean | string;
2646
- /**
2647
- * Allows you to modify the base JSON schema that is generated during generate:types for this field.
2648
- * This JSON schema will be used to generate the TypeScript interface of this field.
2649
- */
2650
- typescriptSchema?: Array<(args: {
2651
- jsonSchema: JSONSchema4;
2652
- }) => JSONSchema4>;
2653
- unique?: boolean;
2654
2679
  }
2655
2680
  type NumberField = {
2656
2681
  admin?: {
@@ -3310,8 +3335,8 @@ type RadioFieldClient = {
3310
3335
  } & FieldBaseClient & Pick<RadioField, 'interfaceName' | 'options' | 'type'>;
3311
3336
  type BlockFields = {
3312
3337
  [key: string]: any;
3313
- blockName?: string;
3314
- blockType?: string;
3338
+ blockName?: null | string;
3339
+ blockType: string;
3315
3340
  };
3316
3341
  type BlockJSX = {
3317
3342
  /**
@@ -3369,7 +3394,7 @@ type BlockJSX = {
3369
3394
  }) => Record<string, any>;
3370
3395
  openMatch?: RegExpMatchArray;
3371
3396
  props: Record<string, any>;
3372
- }) => BlockFields | false;
3397
+ }) => false | MarkOptional<BlockFields, 'blockType'>;
3373
3398
  };
3374
3399
  type Block = {
3375
3400
  /**
@@ -3452,11 +3477,12 @@ type Block = {
3452
3477
  * @deprecated Use `admin.images` instead. Preferred aspect ratio of the image is 3:2.
3453
3478
  */
3454
3479
  imageURL?: string;
3455
- /** Customize generated GraphQL and Typescript schema names.
3456
- * The slug is used by default.
3457
- *
3458
- * This is useful if you would like to generate a top level type to share amongst collections/fields.
3459
- * **Note**: Top level types can collide, ensure they are unique amongst collections, arrays, groups, blocks, tabs.
3480
+ /**
3481
+ * Override the name of the top-level TypeScript interface and GraphQL
3482
+ * type generated for this block. Blocks **always** generate a top-level
3483
+ * interface - by default it's a PascalCase form of the slug
3484
+ * (`'content-block'` `ContentBlock`). Set this to take control of the
3485
+ * generated name
3460
3486
  */
3461
3487
  interfaceName?: string;
3462
3488
  jsx?: BlockJSX;
@@ -3679,6 +3705,57 @@ type FieldWithMaxDepth = RelationshipField | UploadField;
3679
3705
  type FieldWithMaxDepthClient = JoinFieldClient | RelationshipFieldClient | UploadFieldClient;
3680
3706
  type HookName = 'afterChange' | 'afterRead' | 'beforeChange' | 'beforeRead' | 'beforeValidate';
3681
3707
 
3708
+ /**
3709
+ * Returns a JSON Schema Type with 'null' added if the field is not required.
3710
+ */
3711
+ declare function withNullableJSONSchemaType(fieldType: JSONSchema4TypeName, isRequired: boolean): JSONSchema4TypeName | JSONSchema4TypeName[];
3712
+ type ConfigToJSONSchemaOptions = {
3713
+ forceInlineBlocks?: boolean;
3714
+ };
3715
+ type FieldsToJSONSchemaArgs = {
3716
+ /**
3717
+ * Used for relationship fields, to determine whether to use a string or
3718
+ * number type for the ID. While there is a default ID field type set by
3719
+ * the db adapter, they can differ on a collection-level if they have
3720
+ * custom ID fields.
3721
+ */
3722
+ collectionIDFieldTypes: {
3723
+ [key: string]: 'number' | 'string';
3724
+ };
3725
+ config?: SanitizedConfig;
3726
+ fields: FlattenedField$1[];
3727
+ /**
3728
+ * If true, blocks are inlined into each `block` field instead of being
3729
+ * lifted to a top-level definition. Used by the MCP plugin.
3730
+ */
3731
+ forceInlineBlocks?: boolean;
3732
+ i18n?: I18n;
3733
+ /** Allows you to define new top-level interfaces that can be re-used in the output schema. */
3734
+ interfaceNameDefinitions: Map<string, JSONSchema4>;
3735
+ /**
3736
+ * Allows you to append raw TS source to `payload-types.ts`. Identical
3737
+ * strings de-dupe naturally, so the same helper written from many fields
3738
+ * ends up emitted once.
3739
+ */
3740
+ typeStringDefinitions: Set<string>;
3741
+ };
3742
+ declare function fieldsToJSONSchema({ collectionIDFieldTypes, config, fields, forceInlineBlocks, i18n, interfaceNameDefinitions, typeStringDefinitions, }: FieldsToJSONSchemaArgs): {
3743
+ properties: {
3744
+ [k: string]: JSONSchema4;
3745
+ };
3746
+ required: string[];
3747
+ };
3748
+ declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', typeStringDefinitions: Set<string>, collectionIDFieldTypes?: {
3749
+ [key: string]: 'number' | 'string';
3750
+ }, i18n?: I18n, forceInlineBlocks?: boolean): JSONSchema4;
3751
+ /**
3752
+ * This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
3753
+ */
3754
+ declare function configToJSONSchema(config: SanitizedConfig, defaultIDType?: 'number' | 'text', i18n?: I18n, { forceInlineBlocks }?: ConfigToJSONSchemaOptions): {
3755
+ jsonSchema: JSONSchema4;
3756
+ typeStringDefinitions: Set<string>;
3757
+ };
3758
+
3682
3759
  type RichTextFieldClientWithoutType<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = MarkOptional<RichTextFieldClient<TValue, TAdapterProps, TExtraProperties>, 'type'>;
3683
3760
  type RichTextFieldBaseClientProps<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = {
3684
3761
  readonly path: string;
@@ -3846,27 +3923,13 @@ type RichTextAdapterBase<Value extends object = object, AdapterProps = any, Extr
3846
3923
  siblingDoc: JsonObject;
3847
3924
  }) => void;
3848
3925
  hooks?: RichTextHooks;
3849
- /**
3850
- * @deprecated - manually merge i18n translations into the config.i18n.translations object within the adapter provider instead.
3851
- * This property will be removed in v4.
3852
- */
3853
- i18n?: Partial<GenericLanguages>;
3854
3926
  /**
3855
3927
  * Return the JSON schema for the field value. The JSON schema is read by
3856
3928
  * `json-schema-to-typescript` which is used to generate types for this richtext field
3857
3929
  * payload-types.ts)
3858
3930
  */
3859
- outputSchema?: (args: {
3860
- collectionIDFieldTypes: {
3861
- [key: string]: 'number' | 'string';
3862
- };
3863
- config?: SanitizedConfig;
3931
+ jsonSchema?: (args: Pick<FieldsToJSONSchemaArgs, 'collectionIDFieldTypes' | 'config' | 'i18n' | 'interfaceNameDefinitions' | 'typeStringDefinitions'> & {
3864
3932
  field: RichTextField<Value, AdapterProps, ExtraFieldProperties>;
3865
- i18n?: I18n;
3866
- /**
3867
- * Allows you to define new top-level interfaces that can be re-used in the output schema.
3868
- */
3869
- interfaceNameDefinitions: Map<string, JSONSchema4>;
3870
3933
  isRequired: boolean;
3871
3934
  }) => JSONSchema4;
3872
3935
  /**
@@ -3943,7 +4006,7 @@ declare function parseCookies(headers: Request['headers']): Map<string, string>;
3943
4006
 
3944
4007
  declare const extractJWT: (args: Omit<AuthStrategyFunctionArgs, "strategyName">) => null | string;
3945
4008
 
3946
- type ServerOnlyFieldProperties = 'dbName' | 'editor' | 'enumName' | 'filterOptions' | 'graphQL' | 'label' | 'typescriptSchema' | 'validate' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks'>;
4009
+ type ServerOnlyFieldProperties = 'dbName' | 'editor' | 'enumName' | 'filterOptions' | 'graphQL' | 'jsonSchema' | 'label' | 'validate' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks'>;
3947
4010
  type ServerOnlyFieldAdminProperties = keyof Pick<FieldBase['admin'], 'components' | 'condition'>;
3948
4011
  declare const createClientBlocks: ({ blocks, defaultIDType, i18n, importMap, }: {
3949
4012
  blocks: (Block | string)[];
@@ -3988,9 +4051,15 @@ type HierarchyConfig = {
3988
4051
  */
3989
4052
  components?: {
3990
4053
  /**
3991
- * Custom icon component for hierarchy items
4054
+ * Custom icon component for hierarchy items.
4055
+ * - 24x24 size icon.
3992
4056
  */
3993
4057
  Icon?: PayloadComponent;
4058
+ /**
4059
+ * Small icon component for compact hierarchy contexts:
4060
+ * - 16x16 size icon.
4061
+ */
4062
+ SmallIcon?: PayloadComponent;
3994
4063
  };
3995
4064
  /**
3996
4065
  * Whether to inject a sidebar tab for this hierarchy collection
@@ -4072,6 +4141,7 @@ type SanitizedHierarchyConfig = {
4072
4141
  admin: {
4073
4142
  components: {
4074
4143
  Icon: PayloadComponent;
4144
+ SmallIcon: PayloadComponent;
4075
4145
  };
4076
4146
  injectSidebarTab: boolean;
4077
4147
  treeLimit: number;
@@ -4165,7 +4235,7 @@ declare const createClientGlobalConfigs: ({ defaultIDType, globals, i18n, import
4165
4235
  importMap: ImportMap;
4166
4236
  }) => ClientGlobalConfig[];
4167
4237
 
4168
- type ServerOnlyRootProperties = keyof Pick<SanitizedConfig, 'bin' | 'cors' | 'csrf' | 'custom' | 'db' | 'editor' | 'email' | 'endpoints' | 'graphQL' | 'hooks' | 'i18n' | 'jobs' | 'kv' | 'logger' | 'onInit' | 'plugins' | 'queryPresets' | 'secret' | 'sharp' | 'typescript'>;
4238
+ type ServerOnlyRootProperties = keyof Pick<SanitizedConfig, 'bin' | 'cors' | 'csrf' | 'custom' | 'db' | 'editor' | 'email' | 'endpoints' | 'graphQL' | 'hooks' | 'i18n' | 'jobs' | 'kv' | 'logger' | 'onInit' | 'plugins' | 'queryPresets' | 'secret' | 'sharp' | 'storage' | 'typescript'>;
4169
4239
  type ServerOnlyRootAdminProperties = keyof Pick<SanitizedConfig['admin'], 'components'>;
4170
4240
  type ClientConfig = {
4171
4241
  admin: {
@@ -5307,6 +5377,40 @@ type Plugin = ((config: Config) => Config | Promise<Config>) & {
5307
5377
  /** @experimental Unique identifier for cross-plugin discovery via `config.plugins`. */
5308
5378
  slug?: string;
5309
5379
  };
5380
+ /**
5381
+ * Configures where uploaded files are stored (S3, GCS, Azure, Vercel Blob, etc.).
5382
+ *
5383
+ * Storage adapters run **before plugins**, so upload hooks, static file handlers,
5384
+ * and presigned-URL endpoints are guaranteed to be in place before any plugin
5385
+ * modifies the config.
5386
+ *
5387
+ * Pass the return value of a storage adapter factory to `storage` in your
5388
+ * Payload config:
5389
+ *
5390
+ * ```ts
5391
+ * import { s3Storage } from '@payloadcms/storage-s3'
5392
+ *
5393
+ * export default buildConfig({
5394
+ * storage: [
5395
+ * s3Storage({
5396
+ * bucket: process.env.S3_BUCKET,
5397
+ * collections: { media: true },
5398
+ * config: { region: process.env.S3_REGION },
5399
+ * }),
5400
+ * ],
5401
+ * })
5402
+ * ```
5403
+ *
5404
+ * @see https://payloadcms.com/docs/uploads/storage-adapters
5405
+ */
5406
+ interface StorageAdapter {
5407
+ /** Collection slugs this adapter is configured to handle. */
5408
+ collections: string[];
5409
+ /** Initializes the adapter and returns the modified config with upload hooks and handlers injected. */
5410
+ init: (config: Config) => Config | Promise<Config>;
5411
+ /** Unique identifier for this adapter (e.g. `'s3'`, `'gcs'`, `'azure'`). Surfaced in telemetry and on `payload.config.upload.adapters`. */
5412
+ name: string;
5413
+ }
5310
5414
  /**
5311
5415
  * A map of plugin slugs to Plugin instances, built from `config.plugins`.
5312
5416
  * Registered slugs (via `RegisteredPlugins` module augmentation) return typed options.
@@ -5555,6 +5659,12 @@ type ServerProps = {
5555
5659
  readonly payload: Payload;
5556
5660
  readonly permissions?: SanitizedPermissions;
5557
5661
  readonly searchParams?: Params;
5662
+ /**
5663
+ * Framework-agnostic methods for server-side navigation, headers, cookies, and other server-only APIs.
5664
+ * Plugins should call these methods instead of importing directly from `next/navigation`, `next/headers`, etc.
5665
+ * These methods are populated by the given framework adapter, e.g. `@payloadcms/next`.
5666
+ */
5667
+ readonly server: ServerAdapter;
5558
5668
  readonly user?: TypedUser;
5559
5669
  readonly viewType?: ViewTypes;
5560
5670
  readonly visibleEntities?: VisibleEntities;
@@ -5663,7 +5773,7 @@ type SanitizedLocalizationConfig = Prettify<{
5663
5773
  * @see https://payloadcms.com/docs/configuration/localization#localization
5664
5774
  */
5665
5775
  type LocalizationConfig = Prettify<LocalizationConfigWithLabels | LocalizationConfigWithNoLabels>;
5666
- type LabelFunction<TTranslationKeys = DefaultTranslationKeys> = (args: {
5776
+ type LabelFunction<TTranslationKeys = ClientTranslationKeys> = (args: {
5667
5777
  i18n: I18nClient;
5668
5778
  t: TFunction<TTranslationKeys>;
5669
5779
  }) => string;
@@ -6188,21 +6298,6 @@ type Config = {
6188
6298
  * @see https://payloadcms.com/docs/configuration/collections#collection-configs
6189
6299
  */
6190
6300
  collections?: CollectionConfig[];
6191
- /**
6192
- * Compatibility flags for prior Payload versions
6193
- */
6194
- compatibility?: {
6195
- /**
6196
- * By default, Payload will remove the `localized: true` property
6197
- * from fields if a parent field is localized. Set this property
6198
- * to `true` only if you have an existing Payload database from pre-3.0
6199
- * that you would like to maintain without migrating. This is only
6200
- * relevant for MongoDB databases.
6201
- *
6202
- * @todo Remove in v4
6203
- */
6204
- allowLocalizedWithinLocalized: true;
6205
- };
6206
6301
  /**
6207
6302
  * Prefix a string to all cookies that Payload sets.
6208
6303
  *
@@ -6520,6 +6615,20 @@ type Config = {
6520
6615
  *
6521
6616
  */
6522
6617
  sharp?: SharpDependency;
6618
+ /**
6619
+ * Storage adapters that handle where uploaded files are stored (S3, GCS, Azure, Vercel Blob, etc.).
6620
+ *
6621
+ * Adapters are initialized **before** `plugins`, so file handling is fully wired before any plugin
6622
+ * runs. Use this instead of placing storage adapter packages in `plugins`.
6623
+ *
6624
+ * Migrate existing `plugins` usage automatically with:
6625
+ * ```sh
6626
+ * npx @payloadcms/codemod --transform migrate-storage-adapters-to-config
6627
+ * ```
6628
+ *
6629
+ * @see https://payloadcms.com/docs/uploads/storage-adapters
6630
+ */
6631
+ storage?: StorageAdapter[];
6523
6632
  /** Send anonymous telemetry data about general usage. */
6524
6633
  telemetry?: boolean;
6525
6634
  /** Control how typescript interfaces are generated from your collections. */
@@ -6595,8 +6704,16 @@ type Config = {
6595
6704
  */
6596
6705
  type SanitizedConfig = {
6597
6706
  admin: {
6707
+ /**
6708
+ * `Required` (shallow) marks the top-level dashboard props as required, mainly `defaultLayout`,
6709
+ * which sanitizing always fills in. Do not switch this to the `DeepRequired` used below: it
6710
+ * recurses into the widgets and re-expands the whole `Field` type (a large self-referencing
6711
+ * union), which is very expensive to check. Never run a `Field`-bearing type through
6712
+ * `DeepRequired`.
6713
+ */
6714
+ dashboard: Required<NonNullable<NonNullable<Config['admin']>['dashboard']>>;
6598
6715
  timezones: SanitizedTimezoneConfig;
6599
- } & DeepRequired<Config['admin']>;
6716
+ } & DeepRequired<Omit<NonNullable<Config['admin']>, 'dashboard'>>;
6600
6717
  blocks?: FlattenedBlock[];
6601
6718
  collections: SanitizedCollectionConfig[];
6602
6719
  /** Default richtext editor to use for richText fields */
@@ -6611,13 +6728,14 @@ type SanitizedConfig = {
6611
6728
  configDir: string;
6612
6729
  rawConfig: string;
6613
6730
  };
6731
+ storage: StorageAdapter[];
6614
6732
  upload: {
6615
6733
  /**
6616
6734
  * Deduped list of adapters used in the project
6617
6735
  */
6618
6736
  adapters: string[];
6619
6737
  } & FetchAPIFileUploadOptions;
6620
- } & Omit<DeepRequired<Config>, 'admin' | 'blocks' | 'collections' | 'editor' | 'endpoint' | 'globals' | 'i18n' | 'jobs' | 'localization' | 'upload'>;
6738
+ } & Omit<DeepRequired<Config>, 'admin' | 'blocks' | 'collections' | 'editor' | 'endpoint' | 'globals' | 'i18n' | 'jobs' | 'localization' | 'storage' | 'upload'>;
6621
6739
  type EditConfig = EditConfigWithoutRoot | EditConfigWithRoot;
6622
6740
  /**
6623
6741
  * Replace or modify _all_ nested document views and routes, including the document header, controls, and tabs. This cannot be used in conjunction with other nested views.
@@ -7094,6 +7212,7 @@ type Column = {
7094
7212
  readonly CustomLabel?: React.ReactNode;
7095
7213
  readonly field: ClientField;
7096
7214
  readonly Heading: React.ReactNode;
7215
+ readonly isLinkedColumn?: boolean;
7097
7216
  readonly renderedCells: React.ReactNode[];
7098
7217
  };
7099
7218
 
@@ -7807,6 +7926,7 @@ type WidgetServerProps<TWidget extends {
7807
7926
 
7808
7927
  type RelatedDocumentsGrouped = {
7809
7928
  [collectionSlug: string]: {
7929
+ fieldName: string;
7810
7930
  hasMany: boolean;
7811
7931
  label: string;
7812
7932
  result: PaginatedDocs;
@@ -7883,9 +8003,13 @@ type ListViewClientProps = {
7883
8003
  */
7884
8004
  hierarchyData?: HierarchyViewData;
7885
8005
  /**
7886
- * Resolved icon component for hierarchy collections
8006
+ * Resolved full-size icon component for hierarchy collections (used in drawer subheader)
7887
8007
  */
7888
8008
  HierarchyIcon?: React.ReactNode;
8009
+ /**
8010
+ * Resolved small icon component for hierarchy collections (used in table rows)
8011
+ */
8012
+ HierarchySmallIcon?: React.ReactNode;
7889
8013
  /**
7890
8014
  * @deprecated
7891
8015
  */
@@ -8068,17 +8192,9 @@ type FileSize = {
8068
8192
  filesize: null | number;
8069
8193
  height: null | number;
8070
8194
  mimeType: null | string;
8071
- url?: null | string;
8195
+ url: null | string;
8072
8196
  width: null | number;
8073
8197
  };
8074
- /**
8075
- * FileSizeImproved is a more precise type, and will replace FileSize in Payload v4.
8076
- * This type is for internal use only as it will be deprecated in the future.
8077
- * @internal
8078
- */
8079
- type FileSizeImproved = {
8080
- url: null | string;
8081
- } & FileSize;
8082
8198
  type FileSizes = {
8083
8199
  [size: string]: FileSize;
8084
8200
  };
@@ -8121,30 +8237,21 @@ type GenerateImageName = (args: {
8121
8237
  type ImageSize = {
8122
8238
  /**
8123
8239
  * Admin UI options that control how this image size appears in list views.
8124
- *
8125
- * NOTE: In Payload v4, these options (`disableGroupBy`, `disableListColumn` and `disableListFilter`)
8126
- * should default to `true` so image size subfields are hidden from list columns
8127
- * and filters by default, reducing noise in the admin UI.
8128
8240
  */
8129
8241
  admin?: {
8130
8242
  /**
8131
- * If set to true, this image size will not be available
8132
- * as a selectable groupBy option in the collection list view.
8133
- * @default false
8134
- */
8135
- disableGroupBy?: boolean;
8136
- /**
8137
- * If set to true, this image size will not be available
8138
- * as a selectable column in the collection list view.
8139
- * @default false
8140
- */
8141
- disableListColumn?: boolean;
8142
- /**
8143
- * If set to true, this image size will not be available
8144
- * as a filter option in the collection list view.
8145
- * @default false
8243
+ * Controls visibility of this image size in the collection list view.
8244
+ * Defaults to hiding the image size from columns, filters, and group-by to reduce noise.
8245
+ *
8246
+ * - `column` — whether to hide this size from selectable list columns. @default false
8247
+ * - `filter` — whether to hide this size from filter options. @default false
8248
+ * - `groupBy` — whether to hide this size from group-by options. @default false
8146
8249
  */
8147
- disableListFilter?: boolean;
8250
+ disabled?: {
8251
+ column?: boolean;
8252
+ filter?: boolean;
8253
+ groupBy?: boolean;
8254
+ };
8148
8255
  };
8149
8256
  /**
8150
8257
  * @deprecated prefer position
@@ -9809,6 +9916,15 @@ type CustomPayloadRequestProperties = {
9809
9916
  * { collection: 'posts', id: '123' }
9810
9917
  */
9811
9918
  routeParams?: Record<string, unknown>;
9919
+ /**
9920
+ * Framework abstraction for server-only navigation, cookies, and headers APIs.
9921
+ * Populated by the framework adapter (e.g. `@payloadcms/next`). Plugins that
9922
+ * have access to `req` should call methods here (`req.server.unauthorized()`,
9923
+ * `req.server.redirect(...)`) instead of importing from `next/navigation` or
9924
+ * `next/headers` directly. Optional because non-framework contexts (jobs,
9925
+ * scripts, tests) construct requests without a server adapter.
9926
+ */
9927
+ server?: ServerAdapter;
9812
9928
  /** Translate function - duplicate of i18n.t */
9813
9929
  t: TFunction;
9814
9930
  /**
@@ -9816,11 +9932,6 @@ type CustomPayloadRequestProperties = {
9816
9932
  * Can also be used to ensure consistency when multiple operations try to create a transaction concurrently on the same request.
9817
9933
  */
9818
9934
  transactionID?: number | Promise<number | string> | string;
9819
- /**
9820
- * Used to ensure consistency when multiple operations try to create a transaction concurrently on the same request
9821
- * @deprecated This is not used anywhere, instead `transactionID` is used for the above. Will be removed in next major version.
9822
- */
9823
- transactionIDPromise?: Promise<void>;
9824
9935
  /** The signed-in user */
9825
9936
  user: null | TypedUser;
9826
9937
  } & Pick<URL, 'hash' | 'host' | 'href' | 'origin' | 'pathname' | 'port' | 'protocol' | 'search' | 'searchParams'>;
@@ -10096,6 +10207,61 @@ type Options$c<TSlug extends AuthCollectionSlug> = {
10096
10207
  token: string;
10097
10208
  };
10098
10209
 
10210
+ /**
10211
+ * Client-side router adapter to abstract away framework-specific routing implementations.
10212
+ * This way plugins and server components can use server-only APIs without directly importing any framework-specific modules.
10213
+ *
10214
+ * @example
10215
+ * ```tsx
10216
+ * // Next.js router adapter (simplified):
10217
+ * import { useRouter as useNextRouter, usePathname as useNextPathname } from 'next/navigation'
10218
+ *
10219
+ * const NextRouterAdapter: RouterAdapterComponent = ({ children }) => {
10220
+ * const router = useNextRouter()
10221
+ * const pathname = useNextPathname()
10222
+ *
10223
+ * return (
10224
+ * <RouterAdapterContext value={{ router, pathname, ... }}>
10225
+ * {children}
10226
+ * </RouterAdapterContext>
10227
+ * )
10228
+ * }
10229
+ * ```
10230
+ */
10231
+ type RouterAdapterComponent = React$1.ComponentType<{
10232
+ children: React$1.ReactNode;
10233
+ }>;
10234
+ type RouterAdapterRouter = {
10235
+ /**
10236
+ * Navigate back to the previous page in the history stack.
10237
+ */
10238
+ back: () => void;
10239
+ /**
10240
+ * Navigate to a new path.
10241
+ */
10242
+ push: (path: string, options?: {
10243
+ scroll?: boolean;
10244
+ }) => void;
10245
+ /**
10246
+ * Refresh the current route.
10247
+ */
10248
+ refresh: () => void;
10249
+ /**
10250
+ * Replace the current path with a new one.
10251
+ */
10252
+ replace: (path: string, options?: {
10253
+ scroll?: boolean;
10254
+ }) => void;
10255
+ };
10256
+ type LinkAdapterProps = {
10257
+ children?: React$1.ReactNode;
10258
+ href: string;
10259
+ prefetch?: boolean;
10260
+ ref?: React$1.Ref<HTMLAnchorElement>;
10261
+ replace?: boolean;
10262
+ scroll?: boolean;
10263
+ } & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
10264
+
10099
10265
  type CountOptions<TSlug extends CollectionSlug> = {
10100
10266
  /**
10101
10267
  * the Collection slug to operate against.
@@ -12153,6 +12319,8 @@ declare const usernameFieldConfig: TextField;
12153
12319
 
12154
12320
  declare const verificationFields: Field[];
12155
12321
 
12322
+ declare const defaultUserCollection: CollectionConfig;
12323
+
12156
12324
  type OperationArgs = {
12157
12325
  data?: any;
12158
12326
  disableErrors?: boolean;
@@ -12444,94 +12612,6 @@ declare function getLocalizedPaths({ collectionSlug, fields, globalSlug, incomin
12444
12612
  payload: Payload;
12445
12613
  }): PathToQuery[];
12446
12614
 
12447
- type ConfigFieldState = {
12448
- localized: boolean;
12449
- };
12450
- type ConfigEntityState = {
12451
- autosave: boolean;
12452
- drafts: boolean;
12453
- fields: Record<string, ConfigFieldState>;
12454
- localizeStatus: boolean;
12455
- versions: boolean;
12456
- };
12457
- type ConfigSnapshot = {
12458
- collections: Record<string, ConfigEntityState>;
12459
- globals: Record<string, ConfigEntityState>;
12460
- localization: {
12461
- defaultLocale: string;
12462
- locales: string[];
12463
- };
12464
- version: 1;
12465
- };
12466
- type ConfigChange = {
12467
- entity: 'collection' | 'global';
12468
- slug: string;
12469
- type: 'autosave_enabled';
12470
- } | {
12471
- entity: 'collection' | 'global';
12472
- slug: string;
12473
- type: 'drafts_disabled';
12474
- } | {
12475
- entity: 'collection' | 'global';
12476
- slug: string;
12477
- type: 'versions_disabled';
12478
- } | {
12479
- entity: 'collection' | 'global';
12480
- slug: string;
12481
- type: 'versions_enabled';
12482
- } | {
12483
- entity: 'collection' | 'global';
12484
- fieldPath: string;
12485
- slug: string;
12486
- type: 'field_delocalized';
12487
- } | {
12488
- entity: 'collection' | 'global';
12489
- fieldPath: string;
12490
- slug: string;
12491
- type: 'field_localized';
12492
- } | {
12493
- entity: 'collection' | 'global';
12494
- initialStatus: 'draft' | 'published';
12495
- slug: string;
12496
- type: 'drafts_enabled';
12497
- } | {
12498
- entity: 'collection' | 'global';
12499
- slug: string;
12500
- type: 'localize_status_enabled';
12501
- } | {
12502
- from: string;
12503
- to: string;
12504
- type: 'default_locale_changed';
12505
- } | {
12506
- locale: string;
12507
- type: 'locale_added';
12508
- } | {
12509
- locale: string;
12510
- type: 'locale_removed';
12511
- };
12512
-
12513
- declare function bootstrapConfigState(payload: Payload, migrationDir: string): Promise<ConfigSnapshot>;
12514
-
12515
- declare function readConfigState(migrationDir: string): Promise<ConfigSnapshot | null>;
12516
- declare function writeConfigState(migrationDir: string, snapshot: ConfigSnapshot): Promise<void>;
12517
-
12518
- declare function diffConfig(prev: ConfigSnapshot, next: ConfigSnapshot): ConfigChange[];
12519
-
12520
- type GenerateOptions = {
12521
- defaultLocale?: string;
12522
- };
12523
- type GenerateResult = {
12524
- downCode: string;
12525
- upCode: string;
12526
- };
12527
- declare function generateDataMigrationCode(changes: ConfigChange[], options?: GenerateOptions): GenerateResult;
12528
-
12529
- declare function resolvePrompts(changes: ConfigChange[], isTTY?: boolean): Promise<{
12530
- shouldAbort: boolean;
12531
- }>;
12532
-
12533
- declare function serializeConfig(config: Pick<SanitizedConfig, 'collections' | 'globals' | 'localization'>): ConfigSnapshot;
12534
-
12535
12615
  declare const createMigration: CreateMigration;
12536
12616
 
12537
12617
  /**
@@ -13370,39 +13450,6 @@ declare const canAccessAdmin: ({ req }: {
13370
13450
  */
13371
13451
  declare function commitTransaction(req: MarkRequired<Partial<PayloadRequest>, 'payload'>): Promise<void>;
13372
13452
 
13373
- /**
13374
- * Returns a JSON Schema Type with 'null' added if the field is not required.
13375
- */
13376
- declare function withNullableJSONSchemaType(fieldType: JSONSchema4TypeName, isRequired: boolean): JSONSchema4TypeName | JSONSchema4TypeName[];
13377
- type ConfigToJSONSchemaOptions = {
13378
- forceInlineBlocks?: boolean;
13379
- };
13380
- declare function fieldsToJSONSchema(
13381
- /**
13382
- * Used for relationship fields, to determine whether to use a string or number type for the ID.
13383
- * While there is a default ID field type set by the db adapter, they can differ on a collection-level
13384
- * if they have custom ID fields.
13385
- */
13386
- collectionIDFieldTypes: {
13387
- [key: string]: 'number' | 'string';
13388
- }, fields: FlattenedField$1[],
13389
- /**
13390
- * Allows you to define new top-level interfaces that can be re-used in the output schema.
13391
- */
13392
- interfaceNameDefinitions: Map<string, JSONSchema4>, config?: SanitizedConfig, i18n?: I18n, opts?: ConfigToJSONSchemaOptions): {
13393
- properties: {
13394
- [k: string]: JSONSchema4;
13395
- };
13396
- required: string[];
13397
- };
13398
- declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', collectionIDFieldTypes?: {
13399
- [key: string]: 'number' | 'string';
13400
- }, i18n?: I18n, opts?: ConfigToJSONSchemaOptions): JSONSchema4;
13401
- /**
13402
- * This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
13403
- */
13404
- declare function configToJSONSchema(config: SanitizedConfig, defaultIDType?: 'number' | 'text', i18n?: I18n, opts?: ConfigToJSONSchemaOptions): JSONSchema4;
13405
-
13406
13453
  declare function createArrayFromCommaDelineated(input: string): string[];
13407
13454
 
13408
13455
  type CreateLocalReqOptions = {
@@ -14454,5 +14501,5 @@ interface GlobalAdminCustom extends Record<string, any> {
14454
14501
  interface GlobalAdminCustom extends Record<string, any> {
14455
14502
  }
14456
14503
 
14457
- 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, bootstrapConfigState, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createFolderField, createLocalReq, createMigration, createOperation, createPayloadRequest, createTagField, createUnauthenticatedClientConfig, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaults, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, diffConfig, 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, generateDataMigrationCode, 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, readConfigState, readMigrationFiles, refreshOperation, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, resolvePrompts, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, saveVersion, serializeConfig, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, slugField, sortableFieldTypes, stripUnselectedFields, toWords, traverseFields, unlockOperation, updateByIDOperation, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeConfigState, writeMigrationIndex };
14458
- export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, BaseDatabaseAdapter, BaseFilter, BaseJob, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeginTransaction, BinScript, BinScriptConfig, Block, BlockJSX, BlockPermissions, BlockRowLabelClientComponent, BlockRowLabelServerComponent, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientComponent, BlocksFieldClientProps, BlocksFieldDescriptionClientComponent, BlocksFieldDescriptionServerComponent, BlocksFieldDiffClientComponent, BlocksFieldDiffServerComponent, BlocksFieldErrorClientComponent, BlocksFieldErrorServerComponent, BlocksFieldLabelClientComponent, BlocksFieldLabelServerComponent, BlocksFieldServerComponent, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CORSConfig, CheckboxField, CheckboxFieldClient, CheckboxFieldClientComponent, CheckboxFieldClientProps, CheckboxFieldDescriptionClientComponent, CheckboxFieldDescriptionServerComponent, CheckboxFieldDiffClientComponent, CheckboxFieldDiffServerComponent, CheckboxFieldErrorClientComponent, CheckboxFieldErrorServerComponent, CheckboxFieldLabelClientComponent, CheckboxFieldLabelServerComponent, CheckboxFieldServerComponent, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUser, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientComponent, CodeFieldClientProps, CodeFieldDescriptionClientComponent, CodeFieldDescriptionServerComponent, CodeFieldDiffClientComponent, CodeFieldDiffServerComponent, CodeFieldErrorClientComponent, CodeFieldErrorServerComponent, CodeFieldLabelClientComponent, CodeFieldLabelServerComponent, CodeFieldServerComponent, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientComponent, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientComponent, CollapsibleFieldDescriptionServerComponent, CollapsibleFieldDiffClientComponent, CollapsibleFieldDiffServerComponent, CollapsibleFieldErrorClientComponent, CollapsibleFieldErrorServerComponent, CollapsibleFieldLabelClientComponent, CollapsibleFieldLabelServerComponent, CollapsibleFieldServerComponent, CollapsibleFieldServerProps, Collection, CollectionAdminCustom, CollectionAdminOptions, AfterChangeHook as CollectionAfterChangeHook, AfterDeleteHook as CollectionAfterDeleteHook, AfterErrorHook as CollectionAfterErrorHook, AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, AfterLoginHook as CollectionAfterLoginHook, AfterLogoutHook as CollectionAfterLogoutHook, AfterMeHook as CollectionAfterMeHook, AfterOperationHook as CollectionAfterOperationHook, AfterReadHook as CollectionAfterReadHook, AfterRefreshHook as CollectionAfterRefreshHook, BeforeChangeHook as CollectionBeforeChangeHook, BeforeDeleteHook as CollectionBeforeDeleteHook, BeforeLoginHook as CollectionBeforeLoginHook, BeforeOperationHook as CollectionBeforeOperationHook, BeforeReadHook as CollectionBeforeReadHook, BeforeValidateHook as CollectionBeforeValidateHook, CollectionConfig, CollectionCustom, MeHook as CollectionMeHook, CollectionPermission, CollectionPreferences, RefreshHook as CollectionRefreshHook, CollectionSlug, Column, ColumnPreference, CommitTransaction, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, File$1 as File, FileAllowList, FileData, FileSize, FileSizeImproved, FileSizes, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, GlobalAdminCustom, GlobalAdminOptions, AfterChangeHook$1 as GlobalAfterChangeHook, AfterReadHook$1 as GlobalAfterReadHook, BeforeChangeHook$1 as GlobalBeforeChangeHook, BeforeOperationHook$1 as GlobalBeforeOperationHook, BeforeReadHook$1 as GlobalBeforeReadHook, BeforeValidateHook$1 as GlobalBeforeValidateHook, GlobalConfig, GlobalCustom, GlobalPermission, GlobalSlug, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientComponent, GroupFieldClientProps, GroupFieldDescriptionClientComponent, GroupFieldDescriptionServerComponent, GroupFieldDiffClientComponent, GroupFieldDiffServerComponent, GroupFieldErrorClientComponent, GroupFieldErrorServerComponent, GroupFieldLabelClientComponent, GroupFieldLabelServerComponent, GroupFieldServerComponent, GroupFieldServerProps, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IfAny, ImageSize, ImageUploadFormatOptions, ImageUploadTrimOptions, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitReqResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientComponent, JSONFieldClientProps, JSONFieldDescriptionClientComponent, JSONFieldDescriptionServerComponent, JSONFieldDiffClientComponent, JSONFieldDiffServerComponent, JSONFieldErrorClientComponent, JSONFieldErrorServerComponent, JSONFieldLabelClientComponent, JSONFieldLabelServerComponent, JSONFieldServerComponent, JSONFieldServerProps, JSONFieldValidation, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientComponent, JoinFieldClientProps, JoinFieldDescriptionClientComponent, JoinFieldDescriptionServerComponent, JoinFieldDiffClientComponent, JoinFieldDiffServerComponent, JoinFieldErrorClientComponent, JoinFieldErrorServerComponent, JoinFieldLabelClientComponent, JoinFieldLabelServerComponent, JoinFieldServerComponent, JoinFieldServerProps, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, LocalizeStatusArgs$1 as MongoLocalizeStatusArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawPayloadComponent, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedProps, SharpDependency, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, LocalizeStatusArgs as SqlLocalizeStatusArgs, StaticDescription, StaticLabel, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };
14504
+ export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, apiKeyFields as baseAPIKeyFields, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createFolderField, createLocalReq, createMigration, createOperation, createPayloadRequest, createTagField, createUnauthenticatedClientConfig, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, defaults, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getHierarchyFieldName, getInitialTreeData, getLatestCollectionVersion, getLatestGlobalVersion, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRequestLanguage, handleEndpoints, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, localizeStatus, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrate$1 as migrateCLI, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, refreshOperation, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, saveVersion, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, slugField, sortableFieldTypes, stripUnselectedFields, toWords, traverseFields, unlockOperation, updateByIDOperation, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeMigrationIndex };
14505
+ 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, CookieOptions$1 as CookieOptions, CookieStore, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, FieldsToJSONSchemaArgs, File$1 as File, FileAllowList, FileData, FileSize, FileSizes, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, 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, LinkAdapterProps, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, LocalizeStatusArgs$1 as MongoLocalizeStatusArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawPayloadComponent, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, RouterAdapterComponent, RouterAdapterRouter, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerAdapter, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedProps, SharpDependency, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, LocalizeStatusArgs as SqlLocalizeStatusArgs, StaticDescription, StaticLabel, StorageAdapter, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };