payload 4.0.0-internal.c2b57ce → 4.0.0-internal.ccea85d

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 (825) hide show
  1. package/LICENSE.md +1 -1
  2. package/bin.js +11 -0
  3. package/dist/__testing__/predefinedMigration.d.ts +4 -3
  4. package/dist/__testing__/predefinedMigration.d.ts.map +1 -1
  5. package/dist/admin/RichText.d.ts +3 -11
  6. package/dist/admin/RichText.d.ts.map +1 -1
  7. package/dist/admin/RichText.js.map +1 -1
  8. package/dist/admin/adapters/devReload.d.ts +9 -0
  9. package/dist/admin/adapters/devReload.d.ts.map +1 -0
  10. package/dist/admin/adapters/devReload.js +6 -0
  11. package/dist/admin/adapters/devReload.js.map +1 -0
  12. package/dist/admin/adapters/index.d.ts +3 -0
  13. package/dist/admin/adapters/index.d.ts.map +1 -1
  14. package/dist/admin/adapters/index.js.map +1 -1
  15. package/dist/admin/adapters/render.d.ts +16 -0
  16. package/dist/admin/adapters/render.d.ts.map +1 -0
  17. package/dist/admin/adapters/render.js +7 -0
  18. package/dist/admin/adapters/render.js.map +1 -0
  19. package/dist/admin/adapters/router.d.ts +8 -0
  20. package/dist/admin/adapters/router.d.ts.map +1 -1
  21. package/dist/admin/adapters/router.js.map +1 -1
  22. package/dist/admin/adapters/views.d.ts +36 -0
  23. package/dist/admin/adapters/views.d.ts.map +1 -0
  24. package/dist/admin/adapters/views.js +7 -0
  25. package/dist/admin/adapters/views.js.map +1 -0
  26. package/dist/admin/fields/Row.d.ts +2 -2
  27. package/dist/admin/fields/Row.d.ts.map +1 -1
  28. package/dist/admin/fields/Row.js.map +1 -1
  29. package/dist/admin/forms/Description.d.ts +2 -2
  30. package/dist/admin/forms/Description.d.ts.map +1 -1
  31. package/dist/admin/forms/Description.js.map +1 -1
  32. package/dist/admin/forms/Field.d.ts +10 -5
  33. package/dist/admin/forms/Field.d.ts.map +1 -1
  34. package/dist/admin/forms/Field.js.map +1 -1
  35. package/dist/admin/functions/index.d.ts +10 -1
  36. package/dist/admin/functions/index.d.ts.map +1 -1
  37. package/dist/admin/functions/index.js.map +1 -1
  38. package/dist/admin/types.d.ts +3 -2
  39. package/dist/admin/types.d.ts.map +1 -1
  40. package/dist/admin/types.js.map +1 -1
  41. package/dist/admin/views/dashboard.d.ts +7 -0
  42. package/dist/admin/views/dashboard.d.ts.map +1 -1
  43. package/dist/admin/views/dashboard.js.map +1 -1
  44. package/dist/admin/views/document.d.ts +5 -3
  45. package/dist/admin/views/document.d.ts.map +1 -1
  46. package/dist/admin/views/document.js.map +1 -1
  47. package/dist/admin/views/list.d.ts +10 -1
  48. package/dist/admin/views/list.d.ts.map +1 -1
  49. package/dist/admin/views/list.js.map +1 -1
  50. package/dist/auth/baseFields/apiKey.d.ts +10 -2
  51. package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
  52. package/dist/auth/baseFields/apiKey.js +35 -24
  53. package/dist/auth/baseFields/apiKey.js.map +1 -1
  54. package/dist/auth/cookies.d.ts +2 -2
  55. package/dist/auth/cookies.d.ts.map +1 -1
  56. package/dist/auth/defaultAccess.d.ts +1 -1
  57. package/dist/auth/defaultAccess.d.ts.map +1 -1
  58. package/dist/auth/defaultAccess.js +1 -1
  59. package/dist/auth/defaultAccess.js.map +1 -1
  60. package/dist/auth/defaultUser.d.ts.map +1 -1
  61. package/dist/auth/defaultUser.js +2 -1
  62. package/dist/auth/defaultUser.js.map +1 -1
  63. package/dist/auth/ensureUsernameOrEmail.d.ts.map +1 -1
  64. package/dist/auth/executeAccess.d.ts.map +1 -1
  65. package/dist/auth/executeAuthStrategies.d.ts.map +1 -1
  66. package/dist/auth/extractAccessFromPermission.d.ts.map +1 -1
  67. package/dist/auth/extractJWT.d.ts +1 -1
  68. package/dist/auth/extractJWT.d.ts.map +1 -1
  69. package/dist/auth/getAuthFields.d.ts.map +1 -1
  70. package/dist/auth/getAuthFields.js +2 -2
  71. package/dist/auth/getAuthFields.js.map +1 -1
  72. package/dist/auth/getFieldsToSign.d.ts +1 -1
  73. package/dist/auth/getFieldsToSign.d.ts.map +1 -1
  74. package/dist/auth/getLoginOptions.d.ts +1 -1
  75. package/dist/auth/getLoginOptions.d.ts.map +1 -1
  76. package/dist/auth/isUserLocked.d.ts.map +1 -1
  77. package/dist/auth/jwt.d.ts.map +1 -1
  78. package/dist/auth/operations/access.d.ts.map +1 -1
  79. package/dist/auth/operations/auth.d.ts +2 -2
  80. package/dist/auth/operations/auth.d.ts.map +1 -1
  81. package/dist/auth/operations/auth.js.map +1 -1
  82. package/dist/auth/operations/forgotPassword.d.ts.map +1 -1
  83. package/dist/auth/operations/init.d.ts.map +1 -1
  84. package/dist/auth/operations/local/auth.d.ts.map +1 -1
  85. package/dist/auth/operations/login.d.ts +2 -1
  86. package/dist/auth/operations/login.d.ts.map +1 -1
  87. package/dist/auth/operations/login.js.map +1 -1
  88. package/dist/auth/operations/logout.d.ts.map +1 -1
  89. package/dist/auth/operations/me.d.ts +2 -2
  90. package/dist/auth/operations/me.d.ts.map +1 -1
  91. package/dist/auth/operations/me.js.map +1 -1
  92. package/dist/auth/operations/refresh.d.ts.map +1 -1
  93. package/dist/auth/operations/refresh.js +9 -3
  94. package/dist/auth/operations/refresh.js.map +1 -1
  95. package/dist/auth/operations/registerFirstUser.d.ts.map +1 -1
  96. package/dist/auth/operations/resetPassword.d.ts.map +1 -1
  97. package/dist/auth/operations/resetPassword.js.map +1 -1
  98. package/dist/auth/operations/unlock.d.ts.map +1 -1
  99. package/dist/auth/operations/verifyEmail.d.ts.map +1 -1
  100. package/dist/auth/sendVerificationEmail.d.ts +2 -2
  101. package/dist/auth/sendVerificationEmail.d.ts.map +1 -1
  102. package/dist/auth/sendVerificationEmail.js +1 -1
  103. package/dist/auth/sendVerificationEmail.js.map +1 -1
  104. package/dist/auth/sessions.d.ts +4 -5
  105. package/dist/auth/sessions.d.ts.map +1 -1
  106. package/dist/auth/sessions.js +5 -3
  107. package/dist/auth/sessions.js.map +1 -1
  108. package/dist/auth/strategies/apiKey.d.ts.map +1 -1
  109. package/dist/auth/strategies/apiKey.js.map +1 -1
  110. package/dist/auth/strategies/local/authenticate.d.ts.map +1 -1
  111. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts.map +1 -1
  112. package/dist/auth/strategies/local/incrementLoginAttempts.d.ts +2 -2
  113. package/dist/auth/strategies/local/incrementLoginAttempts.d.ts.map +1 -1
  114. package/dist/auth/strategies/local/incrementLoginAttempts.js +1 -1
  115. package/dist/auth/strategies/local/incrementLoginAttempts.js.map +1 -1
  116. package/dist/auth/strategies/local/register.d.ts.map +1 -1
  117. package/dist/auth/strategies/local/resetLoginAttempts.d.ts.map +1 -1
  118. package/dist/auth/types.d.ts +25 -21
  119. package/dist/auth/types.d.ts.map +1 -1
  120. package/dist/auth/types.js.map +1 -1
  121. package/dist/bin/build.d.ts +49 -0
  122. package/dist/bin/build.d.ts.map +1 -0
  123. package/dist/bin/build.js +226 -0
  124. package/dist/bin/build.js.map +1 -0
  125. package/dist/bin/build.spec.js +594 -0
  126. package/dist/bin/build.spec.js.map +1 -0
  127. package/dist/bin/frameworkConventions.d.ts +8 -0
  128. package/dist/bin/frameworkConventions.d.ts.map +1 -0
  129. package/dist/bin/frameworkConventions.js +8 -0
  130. package/dist/bin/frameworkConventions.js.map +1 -0
  131. package/dist/bin/generateImportMap/index.d.ts.map +1 -1
  132. package/dist/bin/generateImportMap/index.js +8 -5
  133. package/dist/bin/generateImportMap/index.js.map +1 -1
  134. package/dist/bin/generateImportMap/iterateCollections.d.ts.map +1 -1
  135. package/dist/bin/generateImportMap/iterateCollections.js +11 -0
  136. package/dist/bin/generateImportMap/iterateCollections.js.map +1 -1
  137. package/dist/bin/generateImportMap/iterateConfig.d.ts.map +1 -1
  138. package/dist/bin/generateImportMap/iterateConfig.js +12 -0
  139. package/dist/bin/generateImportMap/iterateConfig.js.map +1 -1
  140. package/dist/bin/generateImportMap/iterateFields.d.ts.map +1 -1
  141. package/dist/bin/generateImportMap/iterateFields.js +4 -1
  142. package/dist/bin/generateImportMap/iterateFields.js.map +1 -1
  143. package/dist/bin/generateImportMap/utilities/getFromImportMap.d.ts.map +1 -1
  144. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts +5 -1
  145. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts.map +1 -1
  146. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js +33 -18
  147. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js.map +1 -1
  148. package/dist/bin/generateTypes.d.ts +3 -2
  149. package/dist/bin/generateTypes.d.ts.map +1 -1
  150. package/dist/bin/generateTypes.js +11 -1
  151. package/dist/bin/generateTypes.js.map +1 -1
  152. package/dist/bin/index.d.ts.map +1 -1
  153. package/dist/bin/index.js +9 -0
  154. package/dist/bin/index.js.map +1 -1
  155. package/dist/bin/loadEnv.d.ts +3 -1
  156. package/dist/bin/loadEnv.d.ts.map +1 -1
  157. package/dist/bin/loadEnv.js +40 -10
  158. package/dist/bin/loadEnv.js.map +1 -1
  159. package/dist/bin/migrate.d.ts.map +1 -1
  160. package/dist/collections/config/client.d.ts +3 -3
  161. package/dist/collections/config/client.d.ts.map +1 -1
  162. package/dist/collections/config/client.js +1 -0
  163. package/dist/collections/config/client.js.map +1 -1
  164. package/dist/collections/config/defaults.d.ts +0 -4
  165. package/dist/collections/config/defaults.d.ts.map +1 -1
  166. package/dist/collections/config/defaults.js +2 -17
  167. package/dist/collections/config/defaults.js.map +1 -1
  168. package/dist/collections/config/defaults.spec.js +47 -0
  169. package/dist/collections/config/defaults.spec.js.map +1 -0
  170. package/dist/collections/config/sanitize.d.ts.map +1 -1
  171. package/dist/collections/config/sanitize.js +1 -11
  172. package/dist/collections/config/sanitize.js.map +1 -1
  173. package/dist/collections/config/sanitizeCompoundIndexes.d.ts.map +1 -1
  174. package/dist/collections/config/types.d.ts +13 -9
  175. package/dist/collections/config/types.d.ts.map +1 -1
  176. package/dist/collections/config/types.js.map +1 -1
  177. package/dist/collections/config/useAsTitle.d.ts.map +1 -1
  178. package/dist/collections/dataloader.d.ts +1 -1
  179. package/dist/collections/dataloader.d.ts.map +1 -1
  180. package/dist/collections/endpoints/create.d.ts.map +1 -1
  181. package/dist/collections/endpoints/create.js +0 -2
  182. package/dist/collections/endpoints/create.js.map +1 -1
  183. package/dist/collections/endpoints/updateByID.d.ts.map +1 -1
  184. package/dist/collections/endpoints/updateByID.js +1 -2
  185. package/dist/collections/endpoints/updateByID.js.map +1 -1
  186. package/dist/collections/operations/count.d.ts.map +1 -1
  187. package/dist/collections/operations/count.js +1 -0
  188. package/dist/collections/operations/count.js.map +1 -1
  189. package/dist/collections/operations/countVersions.d.ts.map +1 -1
  190. package/dist/collections/operations/create.d.ts +0 -1
  191. package/dist/collections/operations/create.d.ts.map +1 -1
  192. package/dist/collections/operations/create.js +15 -6
  193. package/dist/collections/operations/create.js.map +1 -1
  194. package/dist/collections/operations/delete.d.ts.map +1 -1
  195. package/dist/collections/operations/delete.js +3 -0
  196. package/dist/collections/operations/delete.js.map +1 -1
  197. package/dist/collections/operations/deleteByID.d.ts.map +1 -1
  198. package/dist/collections/operations/duplicate.d.ts.map +1 -1
  199. package/dist/collections/operations/find.d.ts.map +1 -1
  200. package/dist/collections/operations/findByID.d.ts.map +1 -1
  201. package/dist/collections/operations/findDistinct.d.ts.map +1 -1
  202. package/dist/collections/operations/findDistinct.js +1 -0
  203. package/dist/collections/operations/findDistinct.js.map +1 -1
  204. package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
  205. package/dist/collections/operations/findVersions.d.ts.map +1 -1
  206. package/dist/collections/operations/local/count.d.ts +3 -3
  207. package/dist/collections/operations/local/count.d.ts.map +1 -1
  208. package/dist/collections/operations/local/count.js.map +1 -1
  209. package/dist/collections/operations/local/countVersions.d.ts +3 -3
  210. package/dist/collections/operations/local/countVersions.d.ts.map +1 -1
  211. package/dist/collections/operations/local/countVersions.js.map +1 -1
  212. package/dist/collections/operations/local/create.d.ts +3 -3
  213. package/dist/collections/operations/local/create.d.ts.map +1 -1
  214. package/dist/collections/operations/local/create.js.map +1 -1
  215. package/dist/collections/operations/local/delete.d.ts +3 -3
  216. package/dist/collections/operations/local/delete.d.ts.map +1 -1
  217. package/dist/collections/operations/local/delete.js.map +1 -1
  218. package/dist/collections/operations/local/duplicate.d.ts +3 -3
  219. package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
  220. package/dist/collections/operations/local/duplicate.js.map +1 -1
  221. package/dist/collections/operations/local/find.d.ts +3 -3
  222. package/dist/collections/operations/local/find.d.ts.map +1 -1
  223. package/dist/collections/operations/local/find.js.map +1 -1
  224. package/dist/collections/operations/local/findByID.d.ts +3 -3
  225. package/dist/collections/operations/local/findByID.d.ts.map +1 -1
  226. package/dist/collections/operations/local/findByID.js.map +1 -1
  227. package/dist/collections/operations/local/findDistinct.d.ts +2 -2
  228. package/dist/collections/operations/local/findDistinct.d.ts.map +1 -1
  229. package/dist/collections/operations/local/findDistinct.js.map +1 -1
  230. package/dist/collections/operations/local/findVersionByID.d.ts +3 -3
  231. package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
  232. package/dist/collections/operations/local/findVersionByID.js.map +1 -1
  233. package/dist/collections/operations/local/findVersions.d.ts +3 -3
  234. package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
  235. package/dist/collections/operations/local/findVersions.js.map +1 -1
  236. package/dist/collections/operations/local/restoreVersion.d.ts +3 -3
  237. package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
  238. package/dist/collections/operations/local/restoreVersion.js.map +1 -1
  239. package/dist/collections/operations/local/update.d.ts +7 -11
  240. package/dist/collections/operations/local/update.d.ts.map +1 -1
  241. package/dist/collections/operations/local/update.js +1 -2
  242. package/dist/collections/operations/local/update.js.map +1 -1
  243. package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
  244. package/dist/collections/operations/update.d.ts +0 -1
  245. package/dist/collections/operations/update.d.ts.map +1 -1
  246. package/dist/collections/operations/update.js +8 -4
  247. package/dist/collections/operations/update.js.map +1 -1
  248. package/dist/collections/operations/updateByID.d.ts +0 -1
  249. package/dist/collections/operations/updateByID.d.ts.map +1 -1
  250. package/dist/collections/operations/updateByID.js +1 -5
  251. package/dist/collections/operations/updateByID.js.map +1 -1
  252. package/dist/collections/operations/utilities/buildAfterOperation.d.ts +1 -1
  253. package/dist/collections/operations/utilities/buildAfterOperation.d.ts.map +1 -1
  254. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.d.ts +9 -0
  255. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.d.ts.map +1 -0
  256. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.js +170 -0
  257. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.js.map +1 -0
  258. package/dist/collections/operations/utilities/sanitizeSortQuery.d.ts.map +1 -1
  259. package/dist/collections/operations/utilities/types.d.ts +20 -29
  260. package/dist/collections/operations/utilities/types.d.ts.map +1 -1
  261. package/dist/collections/operations/utilities/types.js.map +1 -1
  262. package/dist/collections/operations/utilities/update.d.ts +1 -2
  263. package/dist/collections/operations/utilities/update.d.ts.map +1 -1
  264. package/dist/collections/operations/utilities/update.js +64 -65
  265. package/dist/collections/operations/utilities/update.js.map +1 -1
  266. package/dist/config/client.d.ts +2 -2
  267. package/dist/config/client.d.ts.map +1 -1
  268. package/dist/config/client.js.map +1 -1
  269. package/dist/config/defaults.d.ts +0 -4
  270. package/dist/config/defaults.d.ts.map +1 -1
  271. package/dist/config/defaults.js +0 -78
  272. package/dist/config/defaults.js.map +1 -1
  273. package/dist/config/definePlugin.d.ts +10 -10
  274. package/dist/config/definePlugin.d.ts.map +1 -1
  275. package/dist/config/definePlugin.js +7 -11
  276. package/dist/config/definePlugin.js.map +1 -1
  277. package/dist/config/orderable/fractional-indexing.d.ts +23 -23
  278. package/dist/config/orderable/fractional-indexing.d.ts.map +1 -1
  279. package/dist/config/orderable/index.d.ts.map +1 -1
  280. package/dist/config/orderable/index.js +23 -0
  281. package/dist/config/orderable/index.js.map +1 -1
  282. package/dist/config/sanitize.d.ts.map +1 -1
  283. package/dist/config/sanitize.js +137 -13
  284. package/dist/config/sanitize.js.map +1 -1
  285. package/dist/config/types.d.ts +67 -20
  286. package/dist/config/types.d.ts.map +1 -1
  287. package/dist/config/types.js +2 -0
  288. package/dist/config/types.js.map +1 -1
  289. package/dist/database/combineQueries.d.ts.map +1 -1
  290. package/dist/database/getLocalizedPaths.d.ts.map +1 -1
  291. package/dist/database/getLocalizedPaths.js +1 -1
  292. package/dist/database/getLocalizedPaths.js.map +1 -1
  293. package/dist/database/migrations/findMigrationDir.d.ts.map +1 -1
  294. package/dist/database/migrations/getPredefinedMigration.d.ts.map +1 -1
  295. package/dist/database/migrations/migrationsCollection.d.ts.map +1 -1
  296. package/dist/database/migrations/migrationsCollection.js +2 -1
  297. package/dist/database/migrations/migrationsCollection.js.map +1 -1
  298. package/dist/database/migrations/readMigrationFiles.d.ts.map +1 -1
  299. package/dist/database/migrations/writeMigrationIndex.d.ts.map +1 -1
  300. package/dist/database/sanitizeJoinQuery.d.ts.map +1 -1
  301. package/dist/database/sanitizeWhereQuery.d.ts.map +1 -1
  302. package/dist/database/types.d.ts +1 -5
  303. package/dist/database/types.d.ts.map +1 -1
  304. package/dist/database/types.js.map +1 -1
  305. package/dist/duplicateDocument/index.d.ts.map +1 -1
  306. package/dist/email/getStringifiedToAddress.d.ts.map +1 -1
  307. package/dist/errors/APIError.d.ts.map +1 -1
  308. package/dist/errors/AuthenticationError.d.ts.map +1 -1
  309. package/dist/errors/DuplicateCollection.d.ts.map +1 -1
  310. package/dist/errors/DuplicateFieldName.d.ts.map +1 -1
  311. package/dist/errors/DuplicateGlobal.d.ts.map +1 -1
  312. package/dist/errors/ErrorDeletingFile.d.ts.map +1 -1
  313. package/dist/errors/FileRetrievalError.d.ts.map +1 -1
  314. package/dist/errors/FileUploadError.d.ts.map +1 -1
  315. package/dist/errors/Forbidden.d.ts.map +1 -1
  316. package/dist/errors/InvalidConfiguration.d.ts.map +1 -1
  317. package/dist/errors/InvalidFieldJoin.d.ts.map +1 -1
  318. package/dist/errors/InvalidFieldName.d.ts.map +1 -1
  319. package/dist/errors/InvalidFieldRelationship.d.ts.map +1 -1
  320. package/dist/errors/InvalidSchema.d.ts.map +1 -1
  321. package/dist/errors/Locked.d.ts.map +1 -1
  322. package/dist/errors/LockedAuth.d.ts.map +1 -1
  323. package/dist/errors/MissingCollectionLabel.d.ts.map +1 -1
  324. package/dist/errors/MissingEditorProp.d.ts.map +1 -1
  325. package/dist/errors/MissingFieldInputOptions.d.ts.map +1 -1
  326. package/dist/errors/MissingFieldType.d.ts.map +1 -1
  327. package/dist/errors/MissingFile.d.ts.map +1 -1
  328. package/dist/errors/NotFound.d.ts.map +1 -1
  329. package/dist/errors/QueryError.d.ts.map +1 -1
  330. package/dist/errors/ReservedFieldName.d.ts.map +1 -1
  331. package/dist/errors/TimestampsRequired.d.ts.map +1 -1
  332. package/dist/errors/UnauthorizedError.d.ts.map +1 -1
  333. package/dist/errors/UnverifiedEmail.d.ts.map +1 -1
  334. package/dist/errors/ValidationError.d.ts +1 -0
  335. package/dist/errors/ValidationError.d.ts.map +1 -1
  336. package/dist/errors/ValidationError.js.map +1 -1
  337. package/dist/exports/internal.d.ts +2 -0
  338. package/dist/exports/internal.d.ts.map +1 -1
  339. package/dist/exports/internal.js +2 -0
  340. package/dist/exports/internal.js.map +1 -1
  341. package/dist/exports/migrations.d.ts +5 -13
  342. package/dist/exports/migrations.d.ts.map +1 -1
  343. package/dist/exports/migrations.js +5 -13
  344. package/dist/exports/migrations.js.map +1 -1
  345. package/dist/exports/shared.d.ts +23 -2
  346. package/dist/exports/shared.d.ts.map +1 -1
  347. package/dist/exports/shared.js +22 -1
  348. package/dist/exports/shared.js.map +1 -1
  349. package/dist/fields/baseFields/slug/countVersions.d.ts.map +1 -1
  350. package/dist/fields/baseFields/slug/countVersions.js +6 -8
  351. package/dist/fields/baseFields/slug/countVersions.js.map +1 -1
  352. package/dist/fields/baseFields/slug/generateSlug.d.ts +14 -7
  353. package/dist/fields/baseFields/slug/generateSlug.d.ts.map +1 -1
  354. package/dist/fields/baseFields/slug/generateSlug.js +53 -73
  355. package/dist/fields/baseFields/slug/generateSlug.js.map +1 -1
  356. package/dist/fields/baseFields/slug/types.d.ts +14 -0
  357. package/dist/fields/baseFields/slug/types.d.ts.map +1 -0
  358. package/dist/fields/baseFields/slug/types.js +6 -0
  359. package/dist/fields/baseFields/slug/types.js.map +1 -0
  360. package/dist/fields/config/client.d.ts +6 -6
  361. package/dist/fields/config/client.d.ts.map +1 -1
  362. package/dist/fields/config/client.js +14 -14
  363. package/dist/fields/config/client.js.map +1 -1
  364. package/dist/fields/config/sanitize.d.ts.map +1 -1
  365. package/dist/fields/config/sanitize.js +40 -4
  366. package/dist/fields/config/sanitize.js.map +1 -1
  367. package/dist/fields/config/sanitizeJoinField.d.ts.map +1 -1
  368. package/dist/fields/config/types.d.ts +80 -76
  369. package/dist/fields/config/types.d.ts.map +1 -1
  370. package/dist/fields/config/types.js.map +1 -1
  371. package/dist/fields/getDefaultValue.d.ts.map +1 -1
  372. package/dist/fields/hooks/afterChange/index.d.ts.map +1 -1
  373. package/dist/fields/hooks/afterChange/promise.d.ts.map +1 -1
  374. package/dist/fields/hooks/afterChange/promise.js +1 -1
  375. package/dist/fields/hooks/afterChange/promise.js.map +1 -1
  376. package/dist/fields/hooks/afterChange/traverseFields.d.ts.map +1 -1
  377. package/dist/fields/hooks/afterRead/promise.d.ts.map +1 -1
  378. package/dist/fields/hooks/afterRead/promise.js +13 -3
  379. package/dist/fields/hooks/afterRead/promise.js.map +1 -1
  380. package/dist/fields/hooks/afterRead/relationshipPopulationPromise.d.ts.map +1 -1
  381. package/dist/fields/hooks/afterRead/traverseFields.d.ts.map +1 -1
  382. package/dist/fields/hooks/afterRead/virtualFieldPopulationPromise.d.ts.map +1 -1
  383. package/dist/fields/hooks/beforeChange/cloneDataFromOriginalDoc.d.ts.map +1 -1
  384. package/dist/fields/hooks/beforeChange/getExistingRowDoc.d.ts.map +1 -1
  385. package/dist/fields/hooks/beforeChange/index.d.ts.map +1 -1
  386. package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
  387. package/dist/fields/hooks/beforeChange/promise.js +3 -3
  388. package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
  389. package/dist/fields/hooks/beforeChange/traverseFields.d.ts.map +1 -1
  390. package/dist/fields/hooks/beforeDuplicate/index.d.ts.map +1 -1
  391. package/dist/fields/hooks/beforeDuplicate/promise.d.ts.map +1 -1
  392. package/dist/fields/hooks/beforeDuplicate/promise.js +2 -2
  393. package/dist/fields/hooks/beforeDuplicate/promise.js.map +1 -1
  394. package/dist/fields/hooks/beforeDuplicate/traverseFields.d.ts.map +1 -1
  395. package/dist/fields/hooks/beforeValidate/index.d.ts.map +1 -1
  396. package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
  397. package/dist/fields/hooks/beforeValidate/promise.js +16 -5
  398. package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
  399. package/dist/fields/hooks/beforeValidate/stripNullRows.d.ts +10 -0
  400. package/dist/fields/hooks/beforeValidate/stripNullRows.d.ts.map +1 -0
  401. package/dist/fields/hooks/beforeValidate/stripNullRows.js +18 -0
  402. package/dist/fields/hooks/beforeValidate/stripNullRows.js.map +1 -0
  403. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts.map +1 -1
  404. package/dist/fields/isFieldDisabled.d.ts.map +1 -1
  405. package/dist/fields/mergeBaseFields.d.ts.map +1 -1
  406. package/dist/fields/setDefaultBeforeDuplicate.d.ts.map +1 -1
  407. package/dist/fields/setDefaultBeforeDuplicate.js +1 -0
  408. package/dist/fields/setDefaultBeforeDuplicate.js.map +1 -1
  409. package/dist/fields/sortableFieldTypes.d.ts.map +1 -1
  410. package/dist/fields/sortableFieldTypes.js +1 -0
  411. package/dist/fields/sortableFieldTypes.js.map +1 -1
  412. package/dist/fields/validations.d.ts +4 -1
  413. package/dist/fields/validations.d.ts.map +1 -1
  414. package/dist/fields/validations.js +12 -4
  415. package/dist/fields/validations.js.map +1 -1
  416. package/dist/globals/config/client.d.ts +4 -4
  417. package/dist/globals/config/client.d.ts.map +1 -1
  418. package/dist/globals/config/sanitize.d.ts.map +1 -1
  419. package/dist/globals/config/sanitize.js +2 -6
  420. package/dist/globals/config/sanitize.js.map +1 -1
  421. package/dist/globals/config/sanitize.spec.js +43 -0
  422. package/dist/globals/config/sanitize.spec.js.map +1 -0
  423. package/dist/globals/endpoints/update.d.ts.map +1 -1
  424. package/dist/globals/endpoints/update.js +0 -2
  425. package/dist/globals/endpoints/update.js.map +1 -1
  426. package/dist/globals/operations/countGlobalVersions.d.ts.map +1 -1
  427. package/dist/globals/operations/docAccess.d.ts.map +1 -1
  428. package/dist/globals/operations/findOne.d.ts.map +1 -1
  429. package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
  430. package/dist/globals/operations/findVersions.d.ts.map +1 -1
  431. package/dist/globals/operations/local/countVersions.d.ts +3 -3
  432. package/dist/globals/operations/local/countVersions.d.ts.map +1 -1
  433. package/dist/globals/operations/local/countVersions.js.map +1 -1
  434. package/dist/globals/operations/local/findOne.d.ts +3 -3
  435. package/dist/globals/operations/local/findOne.d.ts.map +1 -1
  436. package/dist/globals/operations/local/findOne.js.map +1 -1
  437. package/dist/globals/operations/local/findVersionByID.d.ts +3 -3
  438. package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
  439. package/dist/globals/operations/local/findVersionByID.js.map +1 -1
  440. package/dist/globals/operations/local/findVersions.d.ts +3 -3
  441. package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
  442. package/dist/globals/operations/local/findVersions.js.map +1 -1
  443. package/dist/globals/operations/local/restoreVersion.d.ts +3 -3
  444. package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
  445. package/dist/globals/operations/local/restoreVersion.js.map +1 -1
  446. package/dist/globals/operations/local/update.d.ts +7 -9
  447. package/dist/globals/operations/local/update.d.ts.map +1 -1
  448. package/dist/globals/operations/local/update.js +1 -2
  449. package/dist/globals/operations/local/update.js.map +1 -1
  450. package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
  451. package/dist/globals/operations/update.d.ts +0 -1
  452. package/dist/globals/operations/update.d.ts.map +1 -1
  453. package/dist/globals/operations/update.js +52 -58
  454. package/dist/globals/operations/update.js.map +1 -1
  455. package/dist/hierarchy/addHierarchyToCollection.d.ts.map +1 -1
  456. package/dist/hierarchy/buildParentField.d.ts.map +1 -1
  457. package/dist/hierarchy/constants.d.ts.map +1 -1
  458. package/dist/hierarchy/getInitialTreeData.d.ts.map +1 -1
  459. package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +1 -1
  460. package/dist/hierarchy/hooks/collectionAfterRead.d.ts.map +1 -1
  461. package/dist/hierarchy/hooks/collectionBeforeChange.d.ts.map +1 -1
  462. package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +1 -1
  463. package/dist/hierarchy/hooks/collectionBeforeOperation.d.ts.map +1 -1
  464. package/dist/hierarchy/hooks/ensureSafeCollectionsChange.d.ts.map +1 -1
  465. package/dist/hierarchy/injectHierarchyButton.d.ts.map +1 -1
  466. package/dist/hierarchy/resolveHierarchyCollections.d.ts.map +1 -1
  467. package/dist/hierarchy/resolveHierarchyCollections.js +1 -1
  468. package/dist/hierarchy/resolveHierarchyCollections.js.map +1 -1
  469. package/dist/hierarchy/sanitizeHierarchyCollection.d.ts.map +1 -1
  470. package/dist/hierarchy/sanitizeHierarchyCollection.js +3 -1
  471. package/dist/hierarchy/sanitizeHierarchyCollection.js.map +1 -1
  472. package/dist/hierarchy/types.d.ts +8 -1
  473. package/dist/hierarchy/types.d.ts.map +1 -1
  474. package/dist/hierarchy/types.js.map +1 -1
  475. package/dist/index.bundled.d.ts +675 -408
  476. package/dist/index.d.ts +79 -34
  477. package/dist/index.d.ts.map +1 -1
  478. package/dist/index.js +54 -37
  479. package/dist/index.js.map +1 -1
  480. package/dist/kv/adapters/DatabaseKVAdapter.d.ts.map +1 -1
  481. package/dist/kv/adapters/DatabaseKVAdapter.js +1 -0
  482. package/dist/kv/adapters/DatabaseKVAdapter.js.map +1 -1
  483. package/dist/kv/adapters/InMemoryKVAdapter.d.ts.map +1 -1
  484. package/dist/locked-documents/config.d.ts.map +1 -1
  485. package/dist/locked-documents/config.js +2 -1
  486. package/dist/locked-documents/config.js.map +1 -1
  487. package/dist/preferences/config.d.ts.map +1 -1
  488. package/dist/preferences/config.js +2 -1
  489. package/dist/preferences/config.js.map +1 -1
  490. package/dist/preferences/deleteUserPreferences.d.ts.map +1 -1
  491. package/dist/preferences/keys.d.ts +8 -4
  492. package/dist/preferences/keys.d.ts.map +1 -1
  493. package/dist/preferences/keys.js +4 -1
  494. package/dist/preferences/keys.js.map +1 -1
  495. package/dist/preferences/types.d.ts +15 -0
  496. package/dist/preferences/types.d.ts.map +1 -1
  497. package/dist/preferences/types.js +3 -1
  498. package/dist/preferences/types.js.map +1 -1
  499. package/dist/query-presets/access.d.ts.map +1 -1
  500. package/dist/query-presets/config.d.ts.map +1 -1
  501. package/dist/query-presets/config.js +77 -37
  502. package/dist/query-presets/config.js.map +1 -1
  503. package/dist/query-presets/constraints.d.ts.map +1 -1
  504. package/dist/query-presets/constraints.js +3 -2
  505. package/dist/query-presets/constraints.js.map +1 -1
  506. package/dist/query-presets/types.d.ts +1 -1
  507. package/dist/query-presets/types.d.ts.map +1 -1
  508. package/dist/queues/config/collection.d.ts.map +1 -1
  509. package/dist/queues/config/collection.js +2 -1
  510. package/dist/queues/config/collection.js.map +1 -1
  511. package/dist/queues/config/generateJobsJSONSchemas.d.ts +1 -1
  512. package/dist/queues/config/generateJobsJSONSchemas.d.ts.map +1 -1
  513. package/dist/queues/config/generateJobsJSONSchemas.js +33 -12
  514. package/dist/queues/config/generateJobsJSONSchemas.js.map +1 -1
  515. package/dist/queues/config/global.d.ts.map +1 -1
  516. package/dist/queues/config/global.js +2 -1
  517. package/dist/queues/config/global.js.map +1 -1
  518. package/dist/queues/endpoints/run.d.ts.map +1 -1
  519. package/dist/queues/errors/index.d.ts.map +1 -1
  520. package/dist/queues/localAPI.d.ts +8 -8
  521. package/dist/queues/localAPI.d.ts.map +1 -1
  522. package/dist/queues/operations/handleSchedules/getQueuesWithSchedules.d.ts.map +1 -1
  523. package/dist/queues/operations/runJobs/index.d.ts.map +1 -1
  524. package/dist/queues/operations/runJobs/runJSONJob/index.d.ts.map +1 -1
  525. package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.d.ts.map +1 -1
  526. package/dist/queues/operations/runJobs/runJob/importHandlerPath.d.ts +1 -1
  527. package/dist/queues/operations/runJobs/runJob/importHandlerPath.d.ts.map +1 -1
  528. package/dist/queues/operations/runJobs/runJob/index.d.ts.map +1 -1
  529. package/dist/queues/utilities/getCurrentDate.d.ts.map +1 -1
  530. package/dist/queues/utilities/getJobTaskStatus.d.ts.map +1 -1
  531. package/dist/translations/getLocalI18n.d.ts.map +1 -1
  532. package/dist/types/constants.d.ts +2 -2
  533. package/dist/types/constants.d.ts.map +1 -1
  534. package/dist/types/index.d.ts +8 -3
  535. package/dist/types/index.d.ts.map +1 -1
  536. package/dist/types/index.js.map +1 -1
  537. package/dist/uploads/checkFileAccess.d.ts.map +1 -1
  538. package/dist/uploads/checkFileRestrictions.d.ts.map +1 -1
  539. package/dist/uploads/cropImage.d.ts.map +1 -1
  540. package/dist/uploads/docWithFilenameExists.d.ts.map +1 -1
  541. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.d.ts.map +1 -1
  542. package/dist/uploads/fetchAPI-multipart/processMultipart.d.ts.map +1 -1
  543. package/dist/uploads/fetchAPI-multipart/processMultipart.js +4 -0
  544. package/dist/uploads/fetchAPI-multipart/processMultipart.js.map +1 -1
  545. package/dist/uploads/fetchAPI-multipart/processNested.d.ts.map +1 -1
  546. package/dist/uploads/fetchAPI-multipart/utilities.d.ts.map +1 -1
  547. package/dist/uploads/fileExists.d.ts.map +1 -1
  548. package/dist/uploads/generateFileData.d.ts +2 -1
  549. package/dist/uploads/generateFileData.d.ts.map +1 -1
  550. package/dist/uploads/generateFileData.js +5 -2
  551. package/dist/uploads/generateFileData.js.map +1 -1
  552. package/dist/uploads/getBaseFields.d.ts.map +1 -1
  553. package/dist/uploads/getExternalFile.d.ts.map +1 -1
  554. package/dist/uploads/getFileByPath.d.ts +1 -1
  555. package/dist/uploads/getFileByPath.d.ts.map +1 -1
  556. package/dist/uploads/getFileTypeFallback.d.ts.map +1 -1
  557. package/dist/uploads/getSafeFilename.d.ts.map +1 -1
  558. package/dist/uploads/image-resizing/createImageSize.d.ts.map +1 -1
  559. package/dist/uploads/image-resizing/generateImageSizeFilename.d.ts.map +1 -1
  560. package/dist/uploads/image-resizing/getImageResizeAction.d.ts +1 -1
  561. package/dist/uploads/image-resizing/getImageResizeAction.d.ts.map +1 -1
  562. package/dist/uploads/image-resizing/parseFilename.d.ts.map +1 -1
  563. package/dist/uploads/image-resizing/sanitizeResizeConfig.d.ts.map +1 -1
  564. package/dist/uploads/matchMimeType.d.ts +8 -0
  565. package/dist/uploads/matchMimeType.d.ts.map +1 -0
  566. package/dist/uploads/matchMimeType.js +19 -0
  567. package/dist/uploads/matchMimeType.js.map +1 -0
  568. package/dist/uploads/matchMimeType.spec.js +66 -0
  569. package/dist/uploads/matchMimeType.spec.js.map +1 -0
  570. package/dist/uploads/mimeTypeValidator.d.ts.map +1 -1
  571. package/dist/uploads/safeFetch.d.ts.map +1 -1
  572. package/dist/uploads/safeFetch.js +11 -5
  573. package/dist/uploads/safeFetch.js.map +1 -1
  574. package/dist/uploads/saveBufferToFile.d.ts.map +1 -1
  575. package/dist/uploads/tempFile.d.ts.map +1 -1
  576. package/dist/uploads/types.d.ts +21 -0
  577. package/dist/uploads/types.d.ts.map +1 -1
  578. package/dist/uploads/types.js.map +1 -1
  579. package/dist/uploads/uploadFiles.d.ts.map +1 -1
  580. package/dist/utilities/addDataAndFileToRequest.d.ts.map +1 -1
  581. package/dist/utilities/addDataAndFileToRequest.js +6 -0
  582. package/dist/utilities/addDataAndFileToRequest.js.map +1 -1
  583. package/dist/utilities/addLocalesToRequest.d.ts.map +1 -1
  584. package/dist/utilities/addSelectGenericsToGeneretedTypes.d.ts.map +1 -1
  585. package/dist/utilities/appendDateTimezoneSelectFields.d.ts.map +1 -1
  586. package/dist/utilities/appendDateTimezoneSelectFields.js +2 -2
  587. package/dist/utilities/appendDateTimezoneSelectFields.js.map +1 -1
  588. package/dist/utilities/appendNonTrashedFilter.d.ts.map +1 -1
  589. package/dist/utilities/appendUploadSelectFields.d.ts.map +1 -1
  590. package/dist/utilities/canAccessAdmin.d.ts.map +1 -1
  591. package/dist/utilities/checkDocumentLockStatus.d.ts.map +1 -1
  592. package/dist/utilities/configToJSONSchema.d.ts +68 -16
  593. package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
  594. package/dist/utilities/configToJSONSchema.js +312 -117
  595. package/dist/utilities/configToJSONSchema.js.map +1 -1
  596. package/dist/utilities/configToJSONSchema.spec.js +656 -85
  597. package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
  598. package/dist/utilities/createLocalReq.d.ts +2 -2
  599. package/dist/utilities/createLocalReq.d.ts.map +1 -1
  600. package/dist/utilities/createLocalReq.js.map +1 -1
  601. package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
  602. package/dist/utilities/createPayloadRequest.js +1 -0
  603. package/dist/utilities/createPayloadRequest.js.map +1 -1
  604. package/dist/utilities/deepCopyObject.d.ts.map +1 -1
  605. package/dist/utilities/deepCopyObject.js +8 -0
  606. package/dist/utilities/deepCopyObject.js.map +1 -1
  607. package/dist/utilities/dependencies/dependencyChecker.js +1 -1
  608. package/dist/utilities/dependencies/dependencyChecker.js.map +1 -1
  609. package/dist/utilities/dependencies/getDependencies.d.ts.map +1 -1
  610. package/dist/utilities/dependencies/getDependencies.js +5 -5
  611. package/dist/utilities/dependencies/getDependencies.js.map +1 -1
  612. package/dist/utilities/dependencies/resolveFrom.d.ts.map +1 -1
  613. package/dist/utilities/dynamicImport.js +1 -1
  614. package/dist/utilities/dynamicImport.js.map +1 -1
  615. package/dist/utilities/escapeRegExp.d.ts.map +1 -1
  616. package/dist/utilities/extractID.d.ts.map +1 -1
  617. package/dist/utilities/filterDataToSelectedLocales.d.ts.map +1 -1
  618. package/dist/utilities/filterDataToSelectedLocales.js +5 -12
  619. package/dist/utilities/filterDataToSelectedLocales.js.map +1 -1
  620. package/dist/utilities/filterDataToSelectedLocales.spec.js +1 -2
  621. package/dist/utilities/filterDataToSelectedLocales.spec.js.map +1 -1
  622. package/dist/utilities/flattenAllFields.d.ts.map +1 -1
  623. package/dist/utilities/flattenAllFields.js +7 -22
  624. package/dist/utilities/flattenAllFields.js.map +1 -1
  625. package/dist/utilities/formatAdminURL.d.ts.map +1 -1
  626. package/dist/utilities/formatErrors.d.ts.map +1 -1
  627. package/dist/utilities/formatErrors.js +3 -1
  628. package/dist/utilities/formatErrors.js.map +1 -1
  629. package/dist/utilities/formatLabels.d.ts.map +1 -1
  630. package/dist/utilities/getBestFitFromSizes.d.ts.map +1 -1
  631. package/dist/utilities/getBlockSelect.d.ts.map +1 -1
  632. package/dist/utilities/getDataByPath.d.ts.map +1 -1
  633. package/dist/utilities/getEntityPermissions/getEntityPermissions.d.ts.map +1 -1
  634. package/dist/utilities/getEntityPermissions/getEntityPermissions.js +2 -0
  635. package/dist/utilities/getEntityPermissions/getEntityPermissions.js.map +1 -1
  636. package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts +7 -1
  637. package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts.map +1 -1
  638. package/dist/utilities/getEntityPermissions/populateFieldPermissions.js +24 -7
  639. package/dist/utilities/getEntityPermissions/populateFieldPermissions.js.map +1 -1
  640. package/dist/utilities/getFieldByPath.d.ts.map +1 -1
  641. package/dist/utilities/getFieldByPath.js +1 -1
  642. package/dist/utilities/getFieldByPath.js.map +1 -1
  643. package/dist/utilities/getFieldPermissions.d.ts.map +1 -1
  644. package/dist/utilities/getObjectDotNotation.d.ts.map +1 -1
  645. package/dist/utilities/getRequestEntity.d.ts.map +1 -1
  646. package/dist/utilities/getRequestLanguage.d.ts +2 -2
  647. package/dist/utilities/getRequestLanguage.d.ts.map +1 -1
  648. package/dist/utilities/getRequestLanguage.js.map +1 -1
  649. package/dist/utilities/getRequestOrigin.d.ts +2 -2
  650. package/dist/utilities/getRequestOrigin.d.ts.map +1 -1
  651. package/dist/utilities/getSafeRedirect.d.ts.map +1 -1
  652. package/dist/utilities/getSelectMode.d.ts.map +1 -1
  653. package/dist/utilities/getSiblingData.d.ts.map +1 -1
  654. package/dist/utilities/getTranslatedLabel.d.ts.map +1 -1
  655. package/dist/utilities/getVersionsConfig.d.ts +1 -1
  656. package/dist/utilities/getVersionsConfig.d.ts.map +1 -1
  657. package/dist/utilities/getVersionsConfig.js.map +1 -1
  658. package/dist/utilities/handleEndpoints.d.ts.map +1 -1
  659. package/dist/utilities/handleEndpoints.js +7 -3
  660. package/dist/utilities/handleEndpoints.js.map +1 -1
  661. package/dist/utilities/headersWithCors.d.ts.map +1 -1
  662. package/dist/utilities/isEntityHidden.d.ts +2 -2
  663. package/dist/utilities/isEntityHidden.d.ts.map +1 -1
  664. package/dist/utilities/isURLAllowed.d.ts.map +1 -1
  665. package/dist/utilities/isURLAllowed.js +9 -3
  666. package/dist/utilities/isURLAllowed.js.map +1 -1
  667. package/dist/utilities/isURLAllowed.spec.js +78 -0
  668. package/dist/utilities/isURLAllowed.spec.js.map +1 -0
  669. package/dist/utilities/isValidID.d.ts +1 -1
  670. package/dist/utilities/isValidID.d.ts.map +1 -1
  671. package/dist/utilities/logError.d.ts.map +1 -1
  672. package/dist/utilities/logger.d.ts +1 -1
  673. package/dist/utilities/logger.d.ts.map +1 -1
  674. package/dist/utilities/mergeHeaders.d.ts.map +1 -1
  675. package/dist/utilities/mergeListSearchAndWhere.d.ts.map +1 -1
  676. package/dist/utilities/mergeLocalizedData.d.ts +14 -4
  677. package/dist/utilities/mergeLocalizedData.d.ts.map +1 -1
  678. package/dist/utilities/mergeLocalizedData.js +54 -46
  679. package/dist/utilities/mergeLocalizedData.js.map +1 -1
  680. package/dist/utilities/mergeLocalizedData.spec.js +23 -23
  681. package/dist/utilities/mergeLocalizedData.spec.js.map +1 -1
  682. package/dist/utilities/miniChalk.d.ts.map +1 -1
  683. package/dist/utilities/optionsAreEqual.d.ts.map +1 -1
  684. package/dist/utilities/parseBooleanString.d.ts.map +1 -1
  685. package/dist/utilities/parseCookies.d.ts +1 -1
  686. package/dist/utilities/parseCookies.d.ts.map +1 -1
  687. package/dist/utilities/parseParams/index.d.ts +2 -5
  688. package/dist/utilities/parseParams/index.d.ts.map +1 -1
  689. package/dist/utilities/parseParams/index.js.map +1 -1
  690. package/dist/utilities/parseParams/index.spec.js +0 -9
  691. package/dist/utilities/parseParams/index.spec.js.map +1 -1
  692. package/dist/utilities/profiling.d.ts.map +1 -1
  693. package/dist/utilities/reduceFieldsToValues.d.ts.map +1 -1
  694. package/dist/utilities/resolveSelect.d.ts.map +1 -1
  695. package/dist/utilities/routeError.d.ts.map +1 -1
  696. package/dist/utilities/sanitizeFallbackLocale.d.ts.map +1 -1
  697. package/dist/utilities/sanitizeInternalFields.d.ts.map +1 -1
  698. package/dist/utilities/sanitizeJoinParams.d.ts.map +1 -1
  699. package/dist/utilities/sanitizePopulateParam.d.ts.map +1 -1
  700. package/dist/utilities/sanitizeSelect.d.ts.map +1 -1
  701. package/dist/utilities/sanitizeSelectParam.d.ts.map +1 -1
  702. package/dist/utilities/sanitizeSortParams.d.ts.map +1 -1
  703. package/dist/utilities/setsAreEqual.d.ts.map +1 -1
  704. package/dist/utilities/slugify.d.ts.map +1 -1
  705. package/dist/utilities/stripUnselectedFields.d.ts.map +1 -1
  706. package/dist/utilities/telemetry/conf/index.d.ts.map +1 -1
  707. package/dist/utilities/telemetry/events/adminInit.d.ts.map +1 -1
  708. package/dist/utilities/telemetry/events/adminInit.js +2 -3
  709. package/dist/utilities/telemetry/events/adminInit.js.map +1 -1
  710. package/dist/utilities/telemetry/events/serverInit.d.ts.map +1 -1
  711. package/dist/utilities/telemetry/events/serverInit.js +2 -3
  712. package/dist/utilities/telemetry/events/serverInit.js.map +1 -1
  713. package/dist/utilities/telemetry/index.d.ts +15 -4
  714. package/dist/utilities/telemetry/index.d.ts.map +1 -1
  715. package/dist/utilities/telemetry/index.js +6 -1
  716. package/dist/utilities/telemetry/index.js.map +1 -1
  717. package/dist/utilities/telemetry/index.spec.js +43 -0
  718. package/dist/utilities/telemetry/index.spec.js.map +1 -0
  719. package/dist/utilities/telemetry/oneWayHash.d.ts.map +1 -1
  720. package/dist/utilities/timestamp.d.ts.map +1 -1
  721. package/dist/utilities/toKebabCase.d.ts.map +1 -1
  722. package/dist/utilities/transformColumnPreferences.d.ts.map +1 -1
  723. package/dist/utilities/transformColumnPreferences.js +4 -2
  724. package/dist/utilities/transformColumnPreferences.js.map +1 -1
  725. package/dist/utilities/transformWhereQuery.d.ts.map +1 -1
  726. package/dist/utilities/traverseFields.d.ts.map +1 -1
  727. package/dist/utilities/traverseFields.js +2 -4
  728. package/dist/utilities/traverseFields.js.map +1 -1
  729. package/dist/utilities/traverseForLocalizedFields.d.ts.map +1 -1
  730. package/dist/utilities/traverseForLocalizedFields.js +3 -0
  731. package/dist/utilities/traverseForLocalizedFields.js.map +1 -1
  732. package/dist/utilities/unflatten.d.ts.map +1 -1
  733. package/dist/utilities/validateMimeType.d.ts.map +1 -1
  734. package/dist/utilities/validateTimezones.d.ts.map +1 -1
  735. package/dist/utilities/validateWhereQuery.d.ts.map +1 -1
  736. package/dist/utilities/wordBoundariesRegex.d.ts.map +1 -1
  737. package/dist/utilities/wrapInternalEndpoints.d.ts.map +1 -1
  738. package/dist/versions/baseFields.d.ts +1 -2
  739. package/dist/versions/baseFields.d.ts.map +1 -1
  740. package/dist/versions/baseFields.js +0 -13
  741. package/dist/versions/baseFields.js.map +1 -1
  742. package/dist/versions/buildCollectionFields.d.ts.map +1 -1
  743. package/dist/versions/buildCollectionFields.js +0 -2
  744. package/dist/versions/buildCollectionFields.js.map +1 -1
  745. package/dist/versions/buildGlobalFields.d.ts.map +1 -1
  746. package/dist/versions/buildGlobalFields.js +0 -2
  747. package/dist/versions/buildGlobalFields.js.map +1 -1
  748. package/dist/versions/buildSingleLocalePublishData.d.ts +32 -0
  749. package/dist/versions/buildSingleLocalePublishData.d.ts.map +1 -0
  750. package/dist/versions/buildSingleLocalePublishData.js +37 -0
  751. package/dist/versions/buildSingleLocalePublishData.js.map +1 -0
  752. package/dist/versions/buildVersionCompoundIndexes.d.ts.map +1 -1
  753. package/dist/versions/defaults.d.ts.map +1 -1
  754. package/dist/versions/deleteCollectionVersions.d.ts.map +1 -1
  755. package/dist/versions/deleteScheduledPublishJobs.d.ts.map +1 -1
  756. package/dist/versions/drafts/appendVersionToQueryKey.d.ts.map +1 -1
  757. package/dist/versions/drafts/getQueryDraftsSelect.d.ts.map +1 -1
  758. package/dist/versions/drafts/getQueryDraftsSort.d.ts.map +1 -1
  759. package/dist/versions/drafts/replaceWithDraftIfAvailable.d.ts.map +1 -1
  760. package/dist/versions/enforceMaxVersions.d.ts.map +1 -1
  761. package/dist/versions/getLatestCollectionVersion.d.ts.map +1 -1
  762. package/dist/versions/getLatestGlobalVersion.d.ts.map +1 -1
  763. package/dist/versions/migrations/localizeStatus/shared.d.ts.map +1 -1
  764. package/dist/versions/payloadPackageList.d.ts.map +1 -1
  765. package/dist/versions/payloadPackageList.js +0 -1
  766. package/dist/versions/payloadPackageList.js.map +1 -1
  767. package/dist/versions/saveVersion.d.ts +0 -2
  768. package/dist/versions/saveVersion.d.ts.map +1 -1
  769. package/dist/versions/saveVersion.js +12 -17
  770. package/dist/versions/saveVersion.js.map +1 -1
  771. package/dist/versions/schedule/job.d.ts.map +1 -1
  772. package/dist/versions/schedule/job.js +6 -10
  773. package/dist/versions/schedule/job.js.map +1 -1
  774. package/dist/versions/types.d.ts +2 -15
  775. package/dist/versions/types.d.ts.map +1 -1
  776. package/dist/versions/types.js.map +1 -1
  777. package/package.json +9 -6
  778. package/dist/database/migrations/templates/localizeStatus.d.ts +0 -10
  779. package/dist/database/migrations/templates/localizeStatus.d.ts.map +0 -1
  780. package/dist/database/migrations/templates/localizeStatus.js +0 -54
  781. package/dist/database/migrations/templates/localizeStatus.js.map +0 -1
  782. package/dist/fields/baseFields/slug/index.d.ts +0 -89
  783. package/dist/fields/baseFields/slug/index.d.ts.map +0 -1
  784. package/dist/fields/baseFields/slug/index.js +0 -81
  785. package/dist/fields/baseFields/slug/index.js.map +0 -1
  786. package/dist/versions/migrations/localizeStatus/index.d.ts +0 -12
  787. package/dist/versions/migrations/localizeStatus/index.d.ts.map +0 -1
  788. package/dist/versions/migrations/localizeStatus/index.js +0 -33
  789. package/dist/versions/migrations/localizeStatus/index.js.map +0 -1
  790. package/dist/versions/migrations/localizeStatus/mongo/down.d.ts +0 -9
  791. package/dist/versions/migrations/localizeStatus/mongo/down.d.ts.map +0 -1
  792. package/dist/versions/migrations/localizeStatus/mongo/down.js +0 -112
  793. package/dist/versions/migrations/localizeStatus/mongo/down.js.map +0 -1
  794. package/dist/versions/migrations/localizeStatus/mongo/index.d.ts +0 -8
  795. package/dist/versions/migrations/localizeStatus/mongo/index.d.ts.map +0 -1
  796. package/dist/versions/migrations/localizeStatus/mongo/index.js +0 -8
  797. package/dist/versions/migrations/localizeStatus/mongo/index.js.map +0 -1
  798. package/dist/versions/migrations/localizeStatus/mongo/up.d.ts +0 -9
  799. package/dist/versions/migrations/localizeStatus/mongo/up.d.ts.map +0 -1
  800. package/dist/versions/migrations/localizeStatus/mongo/up.js +0 -220
  801. package/dist/versions/migrations/localizeStatus/mongo/up.js.map +0 -1
  802. package/dist/versions/migrations/localizeStatus/sql/down.d.ts +0 -11
  803. package/dist/versions/migrations/localizeStatus/sql/down.d.ts.map +0 -1
  804. package/dist/versions/migrations/localizeStatus/sql/down.js +0 -213
  805. package/dist/versions/migrations/localizeStatus/sql/down.js.map +0 -1
  806. package/dist/versions/migrations/localizeStatus/sql/index.d.ts +0 -8
  807. package/dist/versions/migrations/localizeStatus/sql/index.d.ts.map +0 -1
  808. package/dist/versions/migrations/localizeStatus/sql/index.js +0 -8
  809. package/dist/versions/migrations/localizeStatus/sql/index.js.map +0 -1
  810. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.d.ts +0 -13
  811. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.d.ts.map +0 -1
  812. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.js +0 -51
  813. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.js.map +0 -1
  814. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.d.ts +0 -13
  815. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.d.ts.map +0 -1
  816. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.js +0 -54
  817. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.js.map +0 -1
  818. package/dist/versions/migrations/localizeStatus/sql/up.d.ts +0 -11
  819. package/dist/versions/migrations/localizeStatus/sql/up.d.ts.map +0 -1
  820. package/dist/versions/migrations/localizeStatus/sql/up.js +0 -277
  821. package/dist/versions/migrations/localizeStatus/sql/up.js.map +0 -1
  822. package/dist/versions/saveSnapshot.d.ts +0 -18
  823. package/dist/versions/saveSnapshot.d.ts.map +0 -1
  824. package/dist/versions/saveSnapshot.js +0 -38
  825. package/dist/versions/saveSnapshot.js.map +0 -1
@@ -15,11 +15,10 @@ import { ParsedArgs } from 'minimist';
15
15
  import { lookup } from 'dns';
16
16
  import deepMerge from 'deepmerge';
17
17
  export { default as deepMerge } from 'deepmerge';
18
- import { ReadonlyRequestCookies } from 'next/dist/server/web/spec-extension/adapters/request-cookies.js';
19
18
  import { PinoPretty } from 'pino-pretty';
20
19
  import { DatePickerProps } from 'react-datepicker';
21
20
 
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" | "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: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: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: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:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "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: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")[];
21
+ declare const clientTranslationKeys: ("localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "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:fromURL" | "upload:height" | "upload:linkToFile" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:renameFile" | "upload:replaceFile" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockName" | "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" | "authentication:forgotPassword" | "authentication:verify" | "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:emailVerifiedRedirecting" | "authentication:enableAPIKey" | "authentication:failedToUnlock" | "authentication:forceUnlock" | "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:notRedirected" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "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" | "dashboard:widgetCollectionRequired" | "dashboard:widgetConfigurationError" | "dashboard:widgetInvalidCollection" | "dashboard:widgetInvalidFilterField" | "dashboard:widgetInvalidSortField" | "dashboard:widgetLimitLabel" | "dashboard:widgetNonSortableSortField" | "dashboard:widgetQueryError" | "dashboard:widgetRecentlyViewedEmpty" | "dashboard:widgetRecentlyViewedTitle" | "dashboard:widgetSelectCollectionFirst" | "dashboard:widgetSelectSortField" | "dashboard:widgetSortDirectionLabel" | "dashboard:widgetSortFieldLabel" | "dashboard:widgetTitleFallback" | "dashboard:widgetTitleLabel" | "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" | "general:collections" | "general:globals" | "general:select" | "general:locale" | "general:user" | "general:false" | "general:none" | "general:custom" | "general:email" | "general:access" | "general:name" | "general:depth" | "general:collection" | "general:sort" | "general:filter" | "general:items" | "general:of" | "general:dashboard" | "general:error" | "general:newLabel" | "general:saveChanges" | "general:username" | "general:createNew" | "general:noResults" | "general:notFound" | "general:unauthorized" | "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:auto" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "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:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "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:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:field" | "general:filters" | "general:filterWhere" | "general:goBack" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:language" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "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: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:original" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "general:presets" | "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:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:settings" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:sorryNotFound" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:theme" | "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:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:where" | "general:yes" | "general:aboutToDeleteCount" | "general:editingLabel" | "hierarchy:noResults" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveItemsToRootConfirmation" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:searchLabel" | "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" | "validation:required" | "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:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:type" | "version:version" | "version:aboutToRestore" | "version:restoring" | "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" | "version:changedFieldsCount")[];
23
22
 
24
23
  declare const enTranslations: {
25
24
  authentication: {
@@ -42,6 +41,7 @@ declare const enTranslations: {
42
41
  emailOrUsername: string;
43
42
  emailSent: string;
44
43
  emailVerified: string;
44
+ emailVerifiedRedirecting: string;
45
45
  enableAPIKey: string;
46
46
  failedToUnlock: string;
47
47
  forceUnlock: string;
@@ -71,6 +71,7 @@ declare const enTranslations: {
71
71
  newAccountCreated: string;
72
72
  newAPIKeyGenerated: string;
73
73
  newPassword: string;
74
+ notRedirected: string;
74
75
  passed: string;
75
76
  passwordResetSuccessfully: string;
76
77
  resetPassword: string;
@@ -83,6 +84,7 @@ declare const enTranslations: {
83
84
  tokenRefreshSuccessful: string;
84
85
  unableToVerify: string;
85
86
  username: string;
87
+ verificationFailedRequestNew: string;
86
88
  verified: string;
87
89
  verifiedSuccessfully: string;
88
90
  verify: string;
@@ -92,6 +94,22 @@ declare const enTranslations: {
92
94
  youAreReceivingResetPassword: string;
93
95
  youDidNotRequestPassword: string;
94
96
  };
97
+ commandPalette: {
98
+ actions: string;
99
+ createNew: string;
100
+ favorites: string;
101
+ hintActions: string;
102
+ hintClose: string;
103
+ hintCreate: string;
104
+ hintNavigate: string;
105
+ hintSelect: string;
106
+ noResults: string;
107
+ pinToFavorites: string;
108
+ placeholder: string;
109
+ recentlyVisited: string;
110
+ removeFromFavorites: string;
111
+ title: string;
112
+ };
95
113
  dashboard: {
96
114
  addButton: string;
97
115
  addWidget: string;
@@ -104,6 +122,22 @@ declare const enTranslations: {
104
122
  noItems: string;
105
123
  resetLayout: string;
106
124
  searchWidgets: string;
125
+ widgetCollectionRequired: string;
126
+ widgetConfigurationError: string;
127
+ widgetInvalidCollection: string;
128
+ widgetInvalidFilterField: string;
129
+ widgetInvalidSortField: string;
130
+ widgetLimitLabel: string;
131
+ widgetNonSortableSortField: string;
132
+ widgetQueryError: string;
133
+ widgetRecentlyViewedEmpty: string;
134
+ widgetRecentlyViewedTitle: string;
135
+ widgetSelectCollectionFirst: string;
136
+ widgetSelectSortField: string;
137
+ widgetSortDirectionLabel: string;
138
+ widgetSortFieldLabel: string;
139
+ widgetTitleFallback: string;
140
+ widgetTitleLabel: string;
107
141
  };
108
142
  error: {
109
143
  accountAlreadyActivated: string;
@@ -168,6 +202,7 @@ declare const enTranslations: {
168
202
  addRelationship: string;
169
203
  addUpload: string;
170
204
  block: string;
205
+ blockName: string;
171
206
  blocks: string;
172
207
  blockType: string;
173
208
  chooseBetweenCustomTextOrDocument: string;
@@ -223,6 +258,7 @@ declare const enTranslations: {
223
258
  aboutToTrash: string;
224
259
  aboutToTrashCount: string;
225
260
  accepts: string;
261
+ access: string;
226
262
  addBelow: string;
227
263
  addFilter: string;
228
264
  adminTheme: string;
@@ -234,11 +270,13 @@ declare const enTranslations: {
234
270
  anotherUserTakenOver: string;
235
271
  applyChanges: string;
236
272
  ascending: string;
273
+ auto: string;
237
274
  automatic: string;
238
275
  backToDashboard: string;
239
276
  by: string;
240
277
  cancel: string;
241
278
  changesNotSaved: string;
279
+ checked: string;
242
280
  clear: string;
243
281
  clearAll: string;
244
282
  close: string;
@@ -277,6 +315,7 @@ declare const enTranslations: {
277
315
  decrement: string;
278
316
  delete: string;
279
317
  deleted: string;
318
+ deletedAgo: string;
280
319
  deletedAt: string;
281
320
  deletedCountSuccessfully: string;
282
321
  deletedSuccessfully: string;
@@ -292,10 +331,12 @@ declare const enTranslations: {
292
331
  documentModified: string;
293
332
  documentOutOfDate: string;
294
333
  documents: string;
334
+ dragToReorder: string;
295
335
  duplicate: string;
296
336
  duplicateWithoutSaving: string;
297
337
  edit: string;
298
338
  editAll: string;
339
+ editColumns: string;
299
340
  editedSince: string;
300
341
  editing: string;
301
342
  editingLabel_many: string;
@@ -359,6 +400,7 @@ declare const enTranslations: {
359
400
  noDateSelected: string;
360
401
  noFiltersSet: string;
361
402
  noLabel: string;
403
+ noMatchesFound: string;
362
404
  none: string;
363
405
  noOptions: string;
364
406
  noResults: string;
@@ -367,6 +409,7 @@ declare const enTranslations: {
367
409
  notFound: string;
368
410
  nothingFound: string;
369
411
  noTrashResults: string;
412
+ notShownInTable: string;
370
413
  noUpcomingEventsScheduled: string;
371
414
  noValue: string;
372
415
  of: string;
@@ -375,6 +418,7 @@ declare const enTranslations: {
375
418
  openInNewWindow: string;
376
419
  or: string;
377
420
  order: string;
421
+ original: string;
378
422
  overwriteExistingData: string;
379
423
  pageNotFound: string;
380
424
  password: string;
@@ -385,6 +429,7 @@ declare const enTranslations: {
385
429
  permanentlyDeletedCountSuccessfully: string;
386
430
  perPage: string;
387
431
  perPageLabel: string;
432
+ presets: string;
388
433
  previous: string;
389
434
  reindex: string;
390
435
  reindexingAll: string;
@@ -407,13 +452,16 @@ declare const enTranslations: {
407
452
  saving: string;
408
453
  schedulePublishFor: string;
409
454
  searchBy: string;
455
+ searchColumns: string;
410
456
  select: string;
411
457
  selectAll: string;
412
458
  selectAllRows: string;
413
459
  selectedCount: string;
414
460
  selectLabel: string;
415
461
  selectValue: string;
462
+ settings: string;
416
463
  showAllLabel: string;
464
+ shownInTable: string;
417
465
  showSidebar: string;
418
466
  sorryNotFound: string;
419
467
  sort: string;
@@ -427,21 +475,25 @@ declare const enTranslations: {
427
475
  successfullyDuplicated: string;
428
476
  successfullyReindexed: string;
429
477
  takeOver: string;
478
+ theme: string;
430
479
  thisLanguage: string;
431
480
  time: string;
432
481
  timezone: string;
433
482
  titleDeleted: string;
434
483
  titleRestored: string;
435
484
  titleTrashed: string;
485
+ toggle: string;
436
486
  trash: string;
437
487
  trashedCountSuccessfully: string;
438
488
  true: string;
439
489
  unauthorized: string;
490
+ unchecked: string;
440
491
  unlock: string;
441
492
  unsavedChanges: string;
442
493
  unsavedChangesDuplicate: string;
443
494
  untitled: string;
444
495
  upcomingEvents: string;
496
+ updatedAgo: string;
445
497
  updatedAt: string;
446
498
  updatedCountSuccessfully: string;
447
499
  updatedLabelSuccessfully: string;
@@ -457,6 +509,7 @@ declare const enTranslations: {
457
509
  viewing: string;
458
510
  viewReadOnly: string;
459
511
  welcome: string;
512
+ where: string;
460
513
  yes: string;
461
514
  };
462
515
  hierarchy: {
@@ -512,12 +565,16 @@ declare const enTranslations: {
512
565
  fileToUpload: string;
513
566
  focalPoint: string;
514
567
  focalPointDescription: string;
568
+ fromURL: string;
515
569
  height: string;
516
570
  lessInfo: string;
571
+ linkToFile: string;
517
572
  moreInfo: string;
518
573
  noFile: string;
519
574
  pasteURL: string;
520
575
  previewSizes: string;
576
+ renameFile: string;
577
+ replaceFile: string;
521
578
  selectCollectionToBrowse: string;
522
579
  selectFile: string;
523
580
  setCropArea: string;
@@ -658,11 +715,14 @@ type NestedKeysStripped<T> = T extends object ? {
658
715
  * Default nested translations object
659
716
  */
660
717
  type DefaultTranslationsObject = typeof enTranslations;
718
+ interface CustomTranslationKeys {
719
+ }
720
+ type CustomTranslationKey = CustomTranslationKeys[keyof CustomTranslationKeys] & string;
661
721
  /**
662
722
  * All translation keys sanitized. E.g. 'general:aboutToDeleteCount'
663
723
  */
664
- type DefaultTranslationKeys = NestedKeysStripped<DefaultTranslationsObject>;
665
- type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number]> = TExtraProps;
724
+ type DefaultTranslationKeys = CustomTranslationKey | NestedKeysStripped<DefaultTranslationsObject>;
725
+ type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number] | CustomTranslationKey> = TExtraProps;
666
726
  type ClientTranslationsObject = GenericTranslationsObject;
667
727
  type TFunction<TTranslationKeys = DefaultTranslationKeys> = (key: TTranslationKeys, options?: Record<string, any>) => string;
668
728
  type I18n<TTranslations = DefaultTranslationsObject, TTranslationKeys = DefaultTranslationKeys> = {
@@ -773,6 +833,20 @@ type ServerAdapter = {
773
833
  unauthorized: () => never;
774
834
  };
775
835
 
836
+ /**
837
+ * Pluggable component renderer.
838
+ * RSC-capable frameworks use the current RenderServerComponent logic.
839
+ * Non-RSC frameworks treat all components as client components.
840
+ */
841
+ type ComponentRenderer = (args: {
842
+ readonly clientProps?: object;
843
+ readonly Component?: PayloadComponent | PayloadComponent[] | React$1.ComponentType | React$1.ComponentType[];
844
+ readonly Fallback?: React$1.ComponentType;
845
+ readonly importMap: ImportMap;
846
+ readonly key?: string;
847
+ readonly serverProps?: object;
848
+ }) => React$1.ReactNode;
849
+
776
850
  /** @deprecated Use `instanceof APIError` instead of name comparison. */
777
851
  declare const APIErrorName = "APIError";
778
852
  declare class ExtendableError<TData extends object = {
@@ -807,6 +881,7 @@ type ValidationFieldError = {
807
881
  label?: LabelFunction | StaticLabel;
808
882
  message: string;
809
883
  path: string;
884
+ tableName?: string;
810
885
  };
811
886
  declare class ValidationError extends APIError<{
812
887
  collection?: string;
@@ -913,28 +988,35 @@ type SanitizedPermissions = {
913
988
  [globalSlug: string]: SanitizedGlobalPermission;
914
989
  };
915
990
  };
916
- type BaseUser = {
917
- collection: string;
918
- email?: string;
919
- id: number | string;
920
- sessions?: Array<UserSession>;
921
- username?: string;
991
+ /**
992
+ * Fields injected onto a user at authentication time. They are never stored in the database and
993
+ * never present on a plain document read (e.g. `payload.findByID`) - only on the authenticated
994
+ * user (`req.user`, login/auth/me results, auth strategies).
995
+ */
996
+ type AuthRuntimeFields = {
997
+ /**
998
+ * The session ID of the current request. May be present on request-authenticated users when
999
+ * sessions are enabled.
1000
+ */
1001
+ _sid?: string;
1002
+ /**
1003
+ * The name of the auth strategy that authenticated the request (e.g. `local-jwt`).
1004
+ */
1005
+ _strategy?: string;
922
1006
  };
923
1007
  /**
924
- * @deprecated Use `TypedUser` instead. This will be removed in 4.0.
1008
+ * Note: AuthenticatedUser still carries the write-only `password` from `User` (always `undefined` at runtime).
1009
+ * Stripping it cleanly isn't possible, because auth operations build the authenticated user
1010
+ * from a read `User` doc, so a `never`-typed `password` would break those assignments
925
1011
  */
926
- type UntypedUser = {
927
- [key: string]: any;
928
- } & BaseUser;
929
1012
  /**
930
- * `collection` is not available one the client. It's only available on the server (req.user)
931
- * On the client, you can access the collection via config.admin.user. Config can be accessed using the useConfig() hook
1013
+ * The signed-in user: the read user plus the runtime auth markers (`_strategy`, `_sid`). This is
1014
+ * what `req.user`, `payload.auth()`, the `me` operation, auth strategies, and `useAuth().user`
1015
+ * return.
932
1016
  */
933
- type ClientUser = {
934
- [key: string]: any;
935
- } & BaseUser;
1017
+ type AuthenticatedUser = AuthRuntimeFields & User;
936
1018
  type UserSession = {
937
- createdAt: Date | string;
1019
+ createdAt?: Date | null | string;
938
1020
  expiresAt: Date | string;
939
1021
  id: string;
940
1022
  };
@@ -973,10 +1055,7 @@ type AuthStrategyFunctionArgs = {
973
1055
  };
974
1056
  type AuthStrategyResult = {
975
1057
  responseHeaders?: Headers;
976
- user: ({
977
- _strategy?: string;
978
- collection?: string;
979
- } & TypedUser) | null;
1058
+ user: AuthenticatedUser | null;
980
1059
  };
981
1060
  type AuthStrategyFunction = (args: AuthStrategyFunctionArgs) => AuthStrategyResult | Promise<AuthStrategyResult>;
982
1061
  type AuthStrategy = {
@@ -1130,6 +1209,21 @@ type CollectionPreferences = {
1130
1209
  preset?: DefaultDocumentIDType;
1131
1210
  sort?: string;
1132
1211
  };
1212
+ /**
1213
+ * A single document the user has viewed in the admin. Only identity and timestamp are stored;
1214
+ * display fields (title, thumbnail, etc.) are computed at render time from the live document.
1215
+ */
1216
+ type RecentlyViewedItem = {
1217
+ collectionSlug: string;
1218
+ id: DefaultDocumentIDType;
1219
+ viewedAt: string;
1220
+ };
1221
+ /**
1222
+ * The `recently-viewed` preference value: the user's recently viewed documents, most recent first.
1223
+ */
1224
+ type RecentlyViewedPreferences = {
1225
+ items: RecentlyViewedItem[];
1226
+ };
1133
1227
 
1134
1228
  type ClientFieldWithOptionalType = MarkOptional<ClientField, 'type'>;
1135
1229
  type ClientComponentProps = {
@@ -1175,11 +1269,9 @@ type FieldPaths = {
1175
1269
  * Nested fields will have a path that includes the parent field names
1176
1270
  * if they are nested within a group, array, block or named tab.
1177
1271
  *
1178
- * Collapsibles and unnamed tabs will have arbitrary paths
1272
+ * Collapsibles, rows and unnamed tabs will have arbitrary paths
1179
1273
  * that look like _index-0, _index-1, etc.
1180
1274
  *
1181
- * Row fields will not have a path.
1182
- *
1183
1275
  * @example 'parentGroupField.childTextField'
1184
1276
  *
1185
1277
  * @default field.name
@@ -1210,9 +1302,15 @@ type ServerComponentProps = {
1210
1302
  payload: Payload;
1211
1303
  permissions: SanitizedFieldPermissions;
1212
1304
  preferences: DocumentPreferences;
1305
+ /**
1306
+ * Adapter-injected component renderer. Server components can use this
1307
+ * to render other import map components without importing a
1308
+ * framework-specific renderer directly.
1309
+ */
1310
+ renderComponent?: ComponentRenderer;
1213
1311
  req: PayloadRequest;
1214
1312
  siblingData: Data;
1215
- user: TypedUser;
1313
+ user: User;
1216
1314
  value?: unknown;
1217
1315
  };
1218
1316
  type ClientFieldBase<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = {
@@ -1297,15 +1395,6 @@ type IncomingDrafts = {
1297
1395
  * To enable, set to true or pass an object with options.
1298
1396
  */
1299
1397
  autosave?: Autosave | boolean;
1300
- /**
1301
- * Localizes the status field.
1302
- *
1303
- * Only effective if the experimental `experimental.localizeStatus` is enabled.
1304
- *
1305
- * @experimental
1306
- * @default false
1307
- */
1308
- localizeStatus?: boolean;
1309
1398
  /**
1310
1399
  * Allow for editors to schedule publish / unpublish events in the future.
1311
1400
  */
@@ -1324,12 +1413,8 @@ type SanitizedDrafts = {
1324
1413
  */
1325
1414
  autosave: Autosave | false;
1326
1415
  /**
1327
- * Localizes the status field.
1328
- *
1329
- * Only effective if the experimental `experimental.localizeStatus` is enabled.
1330
- *
1331
- * @experimental
1332
- * @default false
1416
+ * Automatically set to true when localization is configured and the collection/global
1417
+ * has localized fields. Controls whether `_status` is stored per-locale.
1333
1418
  */
1334
1419
  localizeStatus?: boolean;
1335
1420
  /**
@@ -1512,11 +1597,7 @@ interface BaseDatabaseAdapter {
1512
1597
  * A key-value store of all sessions open (used for transactions)
1513
1598
  */
1514
1599
  sessions?: {
1515
- [id: string]: {
1516
- db: unknown;
1517
- reject: () => Promise<void>;
1518
- resolve: () => Promise<void>;
1519
- };
1600
+ [id: string]: unknown;
1520
1601
  };
1521
1602
  /**
1522
1603
  * Updates a global that exists. If the global doesn't exist yet, this will not work - you should use `createGlobal` instead.
@@ -2235,6 +2316,102 @@ type Globals = {
2235
2316
  } | false;
2236
2317
  };
2237
2318
 
2319
+ /** Read (`output`) vs write (`input`) shape: `input` is what `create`/`update` accept. */
2320
+ type SchemaVariant = 'input' | 'output';
2321
+ /**
2322
+ * Returns a JSON Schema Type with 'null' added if the field is not required.
2323
+ */
2324
+ declare function withNullableJSONSchemaType(fieldType: JSONSchema4TypeName, isRequired: boolean): JSONSchema4TypeName | JSONSchema4TypeName[];
2325
+ type ConfigToJSONSchemaOptions = {
2326
+ forceInlineBlocks?: boolean;
2327
+ };
2328
+ type FieldsToJSONSchemaArgs = {
2329
+ /**
2330
+ * Used for relationship fields, to determine whether to use a string or
2331
+ * number type for the ID. While there is a default ID field type set by
2332
+ * the db adapter, they can differ on a collection-level if they have
2333
+ * custom ID fields.
2334
+ */
2335
+ collectionIDFieldTypes: {
2336
+ [key: string]: 'number' | 'string';
2337
+ };
2338
+ config?: SanitizedConfig;
2339
+ fields: FlattenedField$1[];
2340
+ /**
2341
+ * If true, blocks are inlined into each `block` field instead of being
2342
+ * lifted to a top-level definition. Used by the MCP plugin.
2343
+ */
2344
+ forceInlineBlocks?: boolean;
2345
+ i18n?: I18n;
2346
+ /** Allows you to define new top-level interfaces that can be re-used in the output schema. */
2347
+ interfaceNameDefinitions: Map<string, JSONSchema4>;
2348
+ /**
2349
+ * Allows you to append raw TS source to `payload-types.ts`. Identical
2350
+ * strings de-dupe naturally, so the same helper written from many fields
2351
+ * ends up emitted once.
2352
+ */
2353
+ typeStringDefinitions: Set<string>;
2354
+ variant?: SchemaVariant;
2355
+ };
2356
+ declare function fieldsToJSONSchema({ collectionIDFieldTypes, config, fields, forceInlineBlocks, i18n, interfaceNameDefinitions, typeStringDefinitions, variant, }: FieldsToJSONSchemaArgs): {
2357
+ properties: {
2358
+ [k: string]: JSONSchema4;
2359
+ };
2360
+ required: string[];
2361
+ };
2362
+ declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', typeStringDefinitions: Set<string>, collectionIDFieldTypes?: {
2363
+ [key: string]: 'number' | 'string';
2364
+ }, i18n?: I18n, forceInlineBlocks?: boolean, variant?: SchemaVariant): JSONSchema4;
2365
+ /**
2366
+ * Like {@link entityToJSONSchema}, but returns a standalone schema for one collection or global:
2367
+ * the entity plus only the `$defs` it actually uses, so it resolves on its own rather than
2368
+ * as part of the whole config schema.
2369
+ *
2370
+ * Relationship/upload `$ref`s to other collections are left in place - the caller handles those.
2371
+ * (The `input` variant reduces relationships to IDs, so only rich-text node `$defs` still ref them.)
2372
+ */
2373
+ declare function entityToStandaloneJSONSchema({ config, defaultIDType, entity, i18n, variant, }: {
2374
+ config: SanitizedConfig;
2375
+ defaultIDType: 'number' | 'text';
2376
+ entity: SanitizedCollectionConfig | SanitizedGlobalConfig;
2377
+ i18n?: I18n;
2378
+ variant?: SchemaVariant;
2379
+ }): JSONSchema4;
2380
+ /**
2381
+ * Registers a block's schema as a top-level definition and returns its name.
2382
+ *
2383
+ * The name is the block's `interfaceName`, or a PascalCase form of its slug. If a different block
2384
+ * already uses that name - whether it was auto-generated or an explicit `interfaceName` - this one
2385
+ * gets a content-hash suffix (`Hero_3F2A1B0C`) so the two don't overwrite each other. Registering
2386
+ * the same block shape again reuses its name.
2387
+ *
2388
+ * The `input` variant adds an `Input` suffix (`HeroInput`) - unless the read-shaped def is already
2389
+ * registered with byte-identical content (a block with nothing that differs between input and
2390
+ * output), in which case it's shared as-is rather than emitting a redundant twin.
2391
+ */
2392
+ declare function registerBlockInterface(block: {
2393
+ interfaceName?: string;
2394
+ slug: string;
2395
+ }, blockSchema: JSONSchema4, interfaceNameDefinitions: Map<string, JSONSchema4>, variant?: SchemaVariant): string;
2396
+ /**
2397
+ * This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
2398
+ */
2399
+ declare function configToJSONSchema(config: SanitizedConfig, defaultIDType?: 'number' | 'text', i18n?: I18n, { forceInlineBlocks }?: ConfigToJSONSchemaOptions): {
2400
+ jsonSchema: JSONSchema4;
2401
+ typeStringDefinitions: Set<string>;
2402
+ };
2403
+
2404
+ type Slugify<T extends TypeWithID = any> = (args: {
2405
+ data: T;
2406
+ req: PayloadRequest;
2407
+ valueToSlugify?: any;
2408
+ }) => Promise<string | undefined> | string | undefined;
2409
+ /**
2410
+ * Props the `SlugField` client component receives. The slug-specific `useAsSlug`
2411
+ * arrives on the client field config (it is not a server-only property).
2412
+ */
2413
+ type SlugFieldClientProps = TextFieldClientProps;
2414
+
2238
2415
  type DisabledOptions = {
2239
2416
  bulkEdit?: boolean;
2240
2417
  column?: boolean;
@@ -2246,6 +2423,7 @@ type DisabledOptions = {
2246
2423
  type TextFieldValidation = Validate<string, unknown, unknown, TextField>;
2247
2424
  type TextFieldManyValidation = Validate<string[], unknown, unknown, TextField>;
2248
2425
  type TextFieldSingleValidation = Validate<string, unknown, unknown, TextField>;
2426
+ type SlugFieldValidation = Validate<string, unknown, unknown, SlugField>;
2249
2427
  type PasswordFieldValidation = Validate<string, unknown, unknown, TextField>;
2250
2428
  type ConfirmPasswordFieldValidation = Validate<string, unknown, {
2251
2429
  password: string;
@@ -2312,6 +2490,7 @@ type PointFieldValidation = Validate<[
2312
2490
  * These can be re-used in custom validations
2313
2491
  */
2314
2492
  declare const validations: {
2493
+ slug: SlugFieldValidation;
2315
2494
  array: ArrayFieldValidation;
2316
2495
  blocks: BlocksFieldValidation;
2317
2496
  checkbox: CheckboxFieldValidation;
@@ -2332,6 +2511,7 @@ declare const validations: {
2332
2511
  upload: UploadFieldValidation;
2333
2512
  };
2334
2513
 
2514
+ type BrowserAutoComplete = Extract<React$1.InputHTMLAttributes<HTMLInputElement>['autoComplete'], string>;
2335
2515
  type FieldHookArgs<TData extends TypeWithID = any, TValue = any, TSiblingData = any> = {
2336
2516
  /**
2337
2517
  * The data of the nearest parent block. If the field is not within a block, `blockData` will be equal to `undefined`.
@@ -2400,7 +2580,7 @@ type FieldHookArgs<TData extends TypeWithID = any, TValue = any, TSiblingData =
2400
2580
  value?: TValue;
2401
2581
  };
2402
2582
  type FieldHook<TData extends TypeWithID = any, TValue = any, TSiblingData = any> = (args: FieldHookArgs<TData, TValue, TSiblingData>) => Promise<TValue> | TValue;
2403
- type FieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = {
2583
+ type SharedFieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = {
2404
2584
  /**
2405
2585
  * The data of the nearest parent block. If the field is not within a block, `blockData` will be equal to `undefined`.
2406
2586
  */
@@ -2424,6 +2604,13 @@ type FieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = {
2424
2604
  */
2425
2605
  siblingData?: Partial<TSiblingData>;
2426
2606
  };
2607
+ type FieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = ({
2608
+ collection: SanitizedCollectionConfig;
2609
+ global?: never;
2610
+ } & SharedFieldAccessArgs<TData, TSiblingData>) | ({
2611
+ collection?: never;
2612
+ global: SanitizedGlobalConfig;
2613
+ } & SharedFieldAccessArgs<TData, TSiblingData>);
2427
2614
  type FieldAccess<TData extends TypeWithID = any, TSiblingData = any> = (args: FieldAccessArgs<TData, TSiblingData>) => boolean | Promise<boolean>;
2428
2615
  type Condition<TData extends TypeWithID = any, TSiblingData = any> = (
2429
2616
  /**
@@ -2618,6 +2805,18 @@ interface FieldBase {
2618
2805
  beforeValidate?: FieldHook[];
2619
2806
  };
2620
2807
  index?: boolean;
2808
+ /**
2809
+ * Allows you to modify the base JSON schema that is generated for this field.
2810
+ * This JSON schema will be used to generate the TypeScript interface of this field, and to
2811
+ * validate the field's value in the MCP plugin.
2812
+ *
2813
+ * `variant` is `'input'` when generating the write shape (`create`/`update`) and `'output'` when
2814
+ * generating the read shape, so a transform can differ between the two.
2815
+ */
2816
+ jsonSchema?: Array<(args: {
2817
+ jsonSchema: JSONSchema4;
2818
+ variant: SchemaVariant;
2819
+ }) => JSONSchema4>;
2621
2820
  label?: false | LabelFunction | StaticLabel;
2622
2821
  localized?: boolean;
2623
2822
  /**
@@ -2629,13 +2828,6 @@ interface FieldBase {
2629
2828
  name: string;
2630
2829
  required?: boolean;
2631
2830
  saveToJWT?: boolean | string;
2632
- /**
2633
- * Allows you to modify the base JSON schema that is generated during generate:types for this field.
2634
- * This JSON schema will be used to generate the TypeScript interface of this field.
2635
- */
2636
- typescriptSchema?: Array<(args: {
2637
- jsonSchema: JSONSchema4;
2638
- }) => JSONSchema4>;
2639
2831
  unique?: boolean;
2640
2832
  validate?: Validate;
2641
2833
  /**
@@ -2645,34 +2837,14 @@ interface FieldBase {
2645
2837
  */
2646
2838
  virtual?: boolean | string;
2647
2839
  }
2648
- interface FieldBaseClient {
2840
+ interface FieldBaseClient extends Pick<FieldBase, 'hidden' | 'index' | 'jsonSchema' | 'localized' | 'name' | 'required' | 'saveToJWT' | 'unique'> {
2649
2841
  admin?: AdminClient;
2650
- hidden?: boolean;
2651
- index?: boolean;
2652
2842
  label?: StaticLabel;
2653
- localized?: boolean;
2654
- /**
2655
- * The name of the field. Must be alphanumeric and cannot contain ' . '
2656
- *
2657
- * Must not be one of reserved field names: ['__v', 'salt', 'hash', 'file']
2658
- * @link https://payloadcms.com/docs/fields/overview#field-names
2659
- */
2660
- name: string;
2661
- required?: boolean;
2662
- saveToJWT?: boolean | string;
2663
- /**
2664
- * Allows you to modify the base JSON schema that is generated during generate:types for this field.
2665
- * This JSON schema will be used to generate the TypeScript interface of this field.
2666
- */
2667
- typescriptSchema?: Array<(args: {
2668
- jsonSchema: JSONSchema4;
2669
- }) => JSONSchema4>;
2670
- unique?: boolean;
2671
2843
  }
2672
2844
  type NumberField = {
2673
2845
  admin?: {
2674
2846
  /** Set this property to a string that will be used for browser autocomplete. */
2675
- autoComplete?: string;
2847
+ autoComplete?: BrowserAutoComplete;
2676
2848
  components?: {
2677
2849
  afterInput?: CustomComponent[];
2678
2850
  beforeInput?: CustomComponent[];
@@ -2711,7 +2883,7 @@ type NumberFieldClient = {
2711
2883
  } & FieldBaseClient & Pick<NumberField, 'hasMany' | 'max' | 'maxRows' | 'min' | 'minRows' | 'type'>;
2712
2884
  type TextField = {
2713
2885
  admin?: {
2714
- autoComplete?: string;
2886
+ autoComplete?: BrowserAutoComplete;
2715
2887
  components?: {
2716
2888
  afterInput?: CustomComponent[];
2717
2889
  beforeInput?: CustomComponent[];
@@ -2746,7 +2918,7 @@ type TextFieldClient = {
2746
2918
  } & FieldBaseClient & Pick<TextField, 'hasMany' | 'maxLength' | 'maxRows' | 'minLength' | 'minRows' | 'type'>;
2747
2919
  type EmailField = {
2748
2920
  admin?: {
2749
- autoComplete?: string;
2921
+ autoComplete?: BrowserAutoComplete;
2750
2922
  components?: {
2751
2923
  afterInput?: CustomComponent[];
2752
2924
  beforeInput?: CustomComponent[];
@@ -2761,6 +2933,29 @@ type EmailField = {
2761
2933
  type EmailFieldClient = {
2762
2934
  admin?: AdminClient & PickPreserveOptional<NonNullable<EmailField['admin']>, 'autoComplete' | 'placeholder'>;
2763
2935
  } & FieldBaseClient & Pick<EmailField, 'type'>;
2936
+ type SlugField = {
2937
+ admin?: {
2938
+ components?: {
2939
+ afterInput?: CustomComponent[];
2940
+ beforeInput?: CustomComponent[];
2941
+ Error?: CustomComponent<TextFieldErrorClientComponent | TextFieldErrorServerComponent>;
2942
+ Label?: CustomComponent<TextFieldLabelClientComponent | TextFieldLabelServerComponent>;
2943
+ } & FieldAdmin['components'];
2944
+ placeholder?: Record<string, string> | string;
2945
+ } & FieldAdmin;
2946
+ /** Provide a custom slugify function. Runs on the server. */
2947
+ slugify?: Slugify;
2948
+ type: 'slug';
2949
+ /**
2950
+ * Name of the sibling field whose value the slug is generated from, e.g. `'title'`.
2951
+ * Required — there is no default, since a collection may not have a `title` field.
2952
+ */
2953
+ useAsSlug: string;
2954
+ validate?: TextFieldSingleValidation;
2955
+ } & Omit<FieldBase, 'validate'>;
2956
+ type SlugFieldClient = {
2957
+ admin?: AdminClient & PickPreserveOptional<NonNullable<SlugField['admin']>, 'placeholder'>;
2958
+ } & FieldBaseClient & Pick<SlugField, 'type' | 'useAsSlug'>;
2764
2959
  type TextareaField = {
2765
2960
  admin?: {
2766
2961
  components?: {
@@ -3327,8 +3522,8 @@ type RadioFieldClient = {
3327
3522
  } & FieldBaseClient & Pick<RadioField, 'interfaceName' | 'options' | 'type'>;
3328
3523
  type BlockFields = {
3329
3524
  [key: string]: any;
3330
- blockName?: string;
3331
- blockType?: string;
3525
+ blockName?: null | string;
3526
+ blockType: string;
3332
3527
  };
3333
3528
  type BlockJSX = {
3334
3529
  /**
@@ -3386,7 +3581,7 @@ type BlockJSX = {
3386
3581
  }) => Record<string, any>;
3387
3582
  openMatch?: RegExpMatchArray;
3388
3583
  props: Record<string, any>;
3389
- }) => BlockFields | false;
3584
+ }) => false | MarkOptional<BlockFields, 'blockType'>;
3390
3585
  };
3391
3586
  type Block = {
3392
3587
  /**
@@ -3469,11 +3664,12 @@ type Block = {
3469
3664
  * @deprecated Use `admin.images` instead. Preferred aspect ratio of the image is 3:2.
3470
3665
  */
3471
3666
  imageURL?: string;
3472
- /** Customize generated GraphQL and Typescript schema names.
3473
- * The slug is used by default.
3474
- *
3475
- * This is useful if you would like to generate a top level type to share amongst collections/fields.
3476
- * **Note**: Top level types can collide, ensure they are unique amongst collections, arrays, groups, blocks, tabs.
3667
+ /**
3668
+ * Override the name of the top-level TypeScript interface and GraphQL
3669
+ * type generated for this block. Blocks **always** generate a top-level
3670
+ * interface - by default it's a PascalCase form of the slug
3671
+ * (`'content-block'` `ContentBlock`). Set this to take control of the
3672
+ * generated name
3477
3673
  */
3478
3674
  interfaceName?: string;
3479
3675
  jsx?: BlockJSX;
@@ -3500,12 +3696,9 @@ type BlocksField = {
3500
3696
  isSortable?: boolean;
3501
3697
  } & FieldAdmin;
3502
3698
  /**
3503
- * Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
3504
- *
3505
- * @todo `blockReferences` will be merged with `blocks` in 4.0
3699
+ * Blocks to use in this field. Inline block configs and string slugs of blocks defined in `config.blocks` are both supported.
3506
3700
  */
3507
- blockReferences?: (Block | BlockSlug)[];
3508
- blocks: Block[];
3701
+ blocks: (Block | BlockSlug)[];
3509
3702
  defaultValue?: DefaultValue;
3510
3703
  /**
3511
3704
  * Blocks can be conditionally enabled using the `filterOptions` property on the blocks field.
@@ -3545,13 +3738,7 @@ type BlocksField = {
3545
3738
  } & Omit<FieldBase, 'validate'>;
3546
3739
  type BlocksFieldClient = {
3547
3740
  admin?: AdminClient & Pick<BlocksField['admin'], 'initCollapsed' | 'isSortable'>;
3548
- /**
3549
- * Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
3550
- *
3551
- * @todo `blockReferences` will be merged with `blocks` in 4.0
3552
- */
3553
- blockReferences?: (ClientBlock | string)[];
3554
- blocks: ClientBlock[];
3741
+ blocks: (ClientBlock | string)[];
3555
3742
  labels?: LabelsClient;
3556
3743
  } & FieldBaseClient & Pick<BlocksField, 'maxRows' | 'minRows' | 'type'>;
3557
3744
  type PointField = {
@@ -3647,14 +3834,8 @@ type FlattenedBlock = {
3647
3834
  flattenedFields: FlattenedField$1[];
3648
3835
  } & Block;
3649
3836
  type FlattenedBlocksField = {
3650
- /**
3651
- * Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
3652
- *
3653
- * @todo `blockReferences` will be merged with `blocks` in 4.0
3654
- */
3655
- blockReferences?: (FlattenedBlock | string)[];
3656
- blocks: FlattenedBlock[];
3657
- } & Omit<BlocksField, 'blockReferences' | 'blocks'>;
3837
+ blocks: (FlattenedBlock | string)[];
3838
+ } & Omit<BlocksField, 'blocks'>;
3658
3839
  type FlattenedGroupField = {
3659
3840
  flattenedFields: FlattenedField$1[];
3660
3841
  name: string;
@@ -3668,18 +3849,18 @@ type FlattenedTabAsField = {
3668
3849
  type FlattenedJoinField = {
3669
3850
  targetField: RelationshipField | UploadField;
3670
3851
  } & JoinField;
3671
- type FlattenedField$1 = CheckboxField | CodeField | DateField | EmailField | FlattenedArrayField | FlattenedBlocksField | FlattenedGroupField | FlattenedJoinField | FlattenedTabAsField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | TextareaField | TextField | UploadField;
3672
- type Field = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | GroupField | JoinField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | TabsField | TextareaField | TextField | UIField | UploadField;
3673
- type ClientField = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | GroupFieldClient | JoinFieldClient | JSONFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UIFieldClient | UploadFieldClient;
3852
+ type FlattenedField$1 = CheckboxField | CodeField | DateField | EmailField | FlattenedArrayField | FlattenedBlocksField | FlattenedGroupField | FlattenedJoinField | FlattenedTabAsField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | SlugField | TextareaField | TextField | UploadField;
3853
+ type Field = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | GroupField | JoinField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | SlugField | TabsField | TextareaField | TextField | UIField | UploadField;
3854
+ type ClientField = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | GroupFieldClient | JoinFieldClient | JSONFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | SlugFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UIFieldClient | UploadFieldClient;
3674
3855
  type ClientFieldProps = ArrayFieldClientProps | BlocksFieldClientProps | CheckboxFieldClientProps | CodeFieldClientProps | CollapsibleFieldClientProps | DateFieldClientProps | EmailFieldClientProps | GroupFieldClientProps | HiddenFieldProps | JoinFieldClientProps | JSONFieldClientProps | NumberFieldClientProps | PointFieldClientProps | RadioFieldClientProps | RelationshipFieldClientProps | RichTextFieldClientProps | RowFieldClientProps | SelectFieldClientProps | TabsFieldClientProps | TextareaFieldClientProps | TextFieldClientProps | UploadFieldClientProps;
3675
3856
  type ExtractFieldTypes<T> = T extends {
3676
3857
  type: infer U;
3677
3858
  } ? U : never;
3678
3859
  type FieldTypes = ExtractFieldTypes<Field>;
3679
- type FieldAffectingData = ArrayField | BlocksField | CheckboxField | CodeField | DateField | EmailField | JoinField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | TabAsField | TextareaField | TextField | UploadField;
3680
- type FieldAffectingDataClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | DateFieldClient | EmailFieldClient | JoinFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | SelectFieldClient | TabAsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3681
- type NonPresentationalField = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | TabsField | TextareaField | TextField | UploadField;
3682
- type NonPresentationalFieldClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3860
+ type FieldAffectingData = ArrayField | BlocksField | CheckboxField | CodeField | DateField | EmailField | JoinField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | SlugField | TabAsField | TextareaField | TextField | UploadField;
3861
+ type FieldAffectingDataClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | DateFieldClient | EmailFieldClient | JoinFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | SelectFieldClient | SlugFieldClient | TabAsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3862
+ type NonPresentationalField = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | SlugField | TabsField | TextareaField | TextField | UploadField;
3863
+ type NonPresentationalFieldClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | SlugFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3683
3864
  type FieldWithPath = {
3684
3865
  path?: string;
3685
3866
  } & Field;
@@ -3868,19 +4049,10 @@ type RichTextAdapterBase<Value extends object = object, AdapterProps = any, Extr
3868
4049
  * `json-schema-to-typescript` which is used to generate types for this richtext field
3869
4050
  * payload-types.ts)
3870
4051
  */
3871
- outputSchema?: (args: {
3872
- collectionIDFieldTypes: {
3873
- [key: string]: 'number' | 'string';
3874
- };
3875
- config?: SanitizedConfig;
4052
+ jsonSchema?: (args: {
3876
4053
  field: RichTextField<Value, AdapterProps, ExtraFieldProperties>;
3877
- i18n?: I18n;
3878
- /**
3879
- * Allows you to define new top-level interfaces that can be re-used in the output schema.
3880
- */
3881
- interfaceNameDefinitions: Map<string, JSONSchema4>;
3882
4054
  isRequired: boolean;
3883
- }) => JSONSchema4;
4055
+ } & Pick<FieldsToJSONSchemaArgs, 'collectionIDFieldTypes' | 'config' | 'i18n' | 'interfaceNameDefinitions' | 'typeStringDefinitions' | 'variant'>) => JSONSchema4;
3884
4056
  /**
3885
4057
  * Provide validation function for the richText field. This function is run the same way
3886
4058
  * as other field validation functions.
@@ -3955,14 +4127,14 @@ declare function parseCookies(headers: Request['headers']): Map<string, string>;
3955
4127
 
3956
4128
  declare const extractJWT: (args: Omit<AuthStrategyFunctionArgs, "strategyName">) => null | string;
3957
4129
 
3958
- type ServerOnlyFieldProperties = 'dbName' | 'editor' | 'enumName' | 'filterOptions' | 'graphQL' | 'label' | 'typescriptSchema' | 'validate' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks'>;
4130
+ type ServerOnlyFieldProperties = 'dbName' | 'editor' | 'enumName' | 'filterOptions' | 'graphQL' | 'jsonSchema' | 'label' | 'slugify' | 'validate' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks'>;
3959
4131
  type ServerOnlyFieldAdminProperties = keyof Pick<FieldBase['admin'], 'components' | 'condition'>;
3960
4132
  declare const createClientBlocks: ({ blocks, defaultIDType, i18n, importMap, }: {
3961
4133
  blocks: (Block | string)[];
3962
4134
  defaultIDType: Payload["config"]["db"]["defaultIDType"];
3963
4135
  i18n: I18nClient;
3964
4136
  importMap: ImportMap;
3965
- }) => (ClientBlock | string)[] | ClientBlock[];
4137
+ }) => (ClientBlock | string)[];
3966
4138
  declare const createClientField: ({ defaultIDType, field: incomingField, i18n, importMap, }: {
3967
4139
  defaultIDType: Payload["config"]["db"]["defaultIDType"];
3968
4140
  field: Field;
@@ -4000,9 +4172,15 @@ type HierarchyConfig = {
4000
4172
  */
4001
4173
  components?: {
4002
4174
  /**
4003
- * Custom icon component for hierarchy items
4175
+ * Custom icon component for hierarchy items.
4176
+ * - 24x24 size icon.
4004
4177
  */
4005
4178
  Icon?: PayloadComponent;
4179
+ /**
4180
+ * Small icon component for compact hierarchy contexts:
4181
+ * - 16x16 size icon.
4182
+ */
4183
+ SmallIcon?: PayloadComponent;
4006
4184
  };
4007
4185
  /**
4008
4186
  * Whether to inject a sidebar tab for this hierarchy collection
@@ -4084,6 +4262,7 @@ type SanitizedHierarchyConfig = {
4084
4262
  admin: {
4085
4263
  components: {
4086
4264
  Icon: PayloadComponent;
4265
+ SmallIcon: PayloadComponent;
4087
4266
  };
4088
4267
  injectSidebarTab: boolean;
4089
4268
  treeLimit: number;
@@ -4124,7 +4303,7 @@ type ClientHierarchyConfig = Omit<SanitizedHierarchyConfig, 'slugify'>;
4124
4303
 
4125
4304
  type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'access' | 'custom' | 'endpoints' | 'flattenedFields' | 'hooks' | 'indexes' | 'joins' | 'polymorphicJoins' | 'sanitizedIndexes' | 'select'>;
4126
4305
  type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
4127
- type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
4306
+ type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'admin' | 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
4128
4307
  type ClientCollectionConfig = {
4129
4308
  admin: {
4130
4309
  description?: StaticDescription;
@@ -4223,7 +4402,7 @@ type CreateClientConfigArgs = {
4223
4402
  * For example, allow `true` to generate a client config for the "create first user" page
4224
4403
  * where there is no user yet, but the config should still be complete.
4225
4404
  */
4226
- user: true | TypedUser;
4405
+ user: true | User;
4227
4406
  };
4228
4407
  declare const createUnauthenticatedClientConfig: ({ clientConfig, }: {
4229
4408
  /**
@@ -4248,11 +4427,13 @@ type EditViewProps = {
4248
4427
  */
4249
4428
  type RenderDocumentVersionsProperties = {
4250
4429
  /**
4251
- * @default false
4430
+ * Override the CreatedAt cell component rendered in the versions table.
4431
+ * Useful when embedding the versions list inside a drawer that should update URL params
4432
+ * rather than perform a full navigation.
4252
4433
  */
4253
- disableGutter?: boolean;
4434
+ CreatedAtCellOverride?: (props: any) => any;
4254
4435
  /**
4255
- * Use createdAt cell that appends params to the url on version selection instead of redirecting user
4436
+ * @deprecated Pass `CreatedAtCellOverride` directly instead.
4256
4437
  * @default false
4257
4438
  */
4258
4439
  useVersionDrawerCreatedAtCell?: boolean;
@@ -5377,6 +5558,13 @@ type LivePreviewConfig = {
5377
5558
  name: string;
5378
5559
  width: number | string;
5379
5560
  }[];
5561
+ /**
5562
+ * When `true`, Live Preview opens automatically the first time a user views a document,
5563
+ * before they have manually toggled it on. Once the user toggles Live Preview on or off,
5564
+ * their stored preference takes precedence and this setting is ignored.
5565
+ * @default false
5566
+ */
5567
+ openByDefault?: boolean;
5380
5568
  /**
5381
5569
  * The URL of the frontend application. This will be rendered within an `iframe` as its `src`.
5382
5570
  * Payload will send a `window.postMessage()` to this URL with the document data in real-time.
@@ -5600,14 +5788,22 @@ type ServerProps = {
5600
5788
  readonly params?: Params;
5601
5789
  readonly payload: Payload;
5602
5790
  readonly permissions?: SanitizedPermissions;
5791
+ /**
5792
+ * Adapter-injected component renderer. Server components can use this
5793
+ * to render other import map components without importing a
5794
+ * framework-specific renderer directly.
5795
+ */
5796
+ readonly renderComponent?: ComponentRenderer;
5603
5797
  readonly searchParams?: Params;
5604
5798
  /**
5605
5799
  * Framework-agnostic methods for server-side navigation, headers, cookies, and other server-only APIs.
5606
5800
  * Plugins should call these methods instead of importing directly from `next/navigation`, `next/headers`, etc.
5607
5801
  * These methods are populated by the given framework adapter, e.g. `@payloadcms/next`.
5802
+ *
5803
+ * Optional because non-framework contexts (jobs, scripts, tests) may not have an adapter attached.
5608
5804
  */
5609
5805
  readonly server: ServerAdapter;
5610
- readonly user?: TypedUser;
5806
+ readonly user?: User;
5611
5807
  readonly viewType?: ViewTypes;
5612
5808
  readonly visibleEntities?: VisibleEntities;
5613
5809
  };
@@ -5637,6 +5833,12 @@ type SanitizedTimezoneConfig = {
5637
5833
  supportedTimezones: Timezone[];
5638
5834
  } & Omit<TimezonesConfig, 'supportedTimezones'>;
5639
5835
  type CustomComponent<TAdditionalProps extends object = Record<string, any>> = PayloadComponent<ServerProps & TAdditionalProps, TAdditionalProps>;
5836
+ type UserMenuSettingsGroup = {
5837
+ group: LabelFunction | StaticLabel;
5838
+ items: CustomComponent[];
5839
+ };
5840
+ type UserMenuSettingsItem = CustomComponent | UserMenuSettingsGroup;
5841
+ declare const isUserMenuSettingsGroup: (userMenuSettingsItem: UserMenuSettingsItem) => userMenuSettingsItem is UserMenuSettingsGroup;
5640
5842
  type Locale = {
5641
5843
  /**
5642
5844
  * value of supported locale
@@ -6056,6 +6258,12 @@ type Config = {
6056
6258
  /** Extensible tab system */
6057
6259
  tabs?: SidebarTab[];
6058
6260
  };
6261
+ /**
6262
+ * Add custom items to the user menu popup in the admin panel header.
6263
+ * These components will be rendered in the Settings sub-popup of the user menu.
6264
+ * When empty or absent, the Settings sub-trigger is not shown.
6265
+ */
6266
+ userMenuSettingsItems?: UserMenuSettingsItem[];
6059
6267
  /**
6060
6268
  * Replace or modify top-level admin routes, or add new ones:
6061
6269
  * + `Account` - `/admin/account`
@@ -6280,22 +6488,6 @@ type Config = {
6280
6488
  email?: EmailAdapter | Promise<EmailAdapter>;
6281
6489
  /** Custom REST endpoints */
6282
6490
  endpoints?: Endpoint[];
6283
- /**
6284
- * Experimental features may be unstable or change in future versions.
6285
- */
6286
- experimental?: {
6287
- /**
6288
- * Enable per-locale status for documents.
6289
- *
6290
- * Requires:
6291
- * - `localization` enabled
6292
- * - `versions.drafts` enabled
6293
- * - `versions.drafts.localizeStatus` set at collection or global level
6294
- *
6295
- * @experimental
6296
- */
6297
- localizeStatus?: boolean;
6298
- };
6299
6491
  /**
6300
6492
  * @see https://payloadcms.com/docs/configuration/globals#global-configs
6301
6493
  */
@@ -6591,6 +6783,32 @@ type Config = {
6591
6783
  */
6592
6784
  ignoreTSError?: boolean;
6593
6785
  } | false;
6786
+ /**
6787
+ * Also generate a write-shaped input type (e.g. `PostInput`) next to each read type, describing
6788
+ * what `create`/`update` accept: relationships and uploads as IDs only, `id` and `defaultValue`
6789
+ * fields optional, and `createdAt`/`updatedAt`/virtual/join fields removed. These are
6790
+ * exposed on `Config['collectionsInput']` and `Config['globalsInput']`. Set `true` to turn them on.
6791
+ * Draft-enabled entities retain `_status` because it is a writable create/update field.
6792
+ *
6793
+ * @default false
6794
+ *
6795
+ * @remarks
6796
+ * Off by default. The Local API's `create`/`update` still type their `data` against the read
6797
+ * type, so these input types aren't used internally - they're here for you to opt into, e.g. to
6798
+ * type a form payload, a seed script, or an API client. `@payloadcms/plugin-mcp` also uses the
6799
+ * input schema, but it builds that itself at runtime, so MCP gets the accurate write schema
6800
+ * whether or not this flag is on.
6801
+ *
6802
+ * @todo We'd like to turn this on by default (or have the Local API use the input type
6803
+ * directly), but there's a catch. When you read a document with `depth > 0`, its relationships
6804
+ * come back as full documents rather than IDs. A strict ID-only input type would reject that and
6805
+ * break the common "read a doc, change a field, save it back" pattern. To enable it by default,
6806
+ * the input type would first need to accept a relationship as either an ID or the full document
6807
+ * (which is what Payload already does at runtime), while keeping `id`, `defaultValue`, and
6808
+ * auto-managed fields optional. Until then it stays opt-in, so we don't put a type that's
6809
+ * stricter than the runtime on the main write path.
6810
+ */
6811
+ generateInputTypes?: boolean;
6594
6812
  /** Filename to write the generated types to */
6595
6813
  outputFile?: string;
6596
6814
  /**
@@ -6646,8 +6864,16 @@ type Config = {
6646
6864
  */
6647
6865
  type SanitizedConfig = {
6648
6866
  admin: {
6867
+ /**
6868
+ * `Required` (shallow) marks the top-level dashboard props as required, mainly `defaultLayout`,
6869
+ * which sanitizing always fills in. Do not switch this to the `DeepRequired` used below: it
6870
+ * recurses into the widgets and re-expands the whole `Field` type (a large self-referencing
6871
+ * union), which is very expensive to check. Never run a `Field`-bearing type through
6872
+ * `DeepRequired`.
6873
+ */
6874
+ dashboard: Required<NonNullable<NonNullable<Config['admin']>['dashboard']>>;
6649
6875
  timezones: SanitizedTimezoneConfig;
6650
- } & DeepRequired<Config['admin']>;
6876
+ } & DeepRequired<Omit<NonNullable<Config['admin']>, 'dashboard'>>;
6651
6877
  blocks?: FlattenedBlock[];
6652
6878
  collections: SanitizedCollectionConfig[];
6653
6879
  /** Default richtext editor to use for richText fields */
@@ -6781,6 +7007,7 @@ type SharedEntityViews = {
6781
7007
  [key: string]: {
6782
7008
  actions?: CustomComponent[];
6783
7009
  Component?: PayloadComponent;
7010
+ NoResults?: CustomComponent;
6784
7011
  } | AdminViewConfig | EditConfig | undefined;
6785
7012
  /**
6786
7013
  * Replace, modify, or add new "document" views.
@@ -6805,7 +7032,7 @@ type SharedAdminComponents = {
6805
7032
  views?: SharedEntityViews;
6806
7033
  };
6807
7034
  type EntityDescriptionFunction = ({ t }: {
6808
- t: TFunction;
7035
+ t: TFunction<ClientTranslationKeys>;
6809
7036
  }) => string;
6810
7037
  type EntityDescription = EntityDescriptionFunction | Record<string, string> | string;
6811
7038
 
@@ -7432,8 +7659,8 @@ type RelationshipFieldDiffServerComponent = FieldDiffServerComponent<Relationshi
7432
7659
  type RelationshipFieldDiffClientComponent = FieldDiffClientComponent<RelationshipFieldClient>;
7433
7660
 
7434
7661
  type RowFieldClientWithoutType = MarkOptional<RowFieldClient, 'type'>;
7435
- type RowFieldBaseClientProps = Omit<FieldPaths, 'path'> & Pick<ClientComponentProps, 'forceRender'>;
7436
- type RowFieldClientProps = Omit<ClientFieldBase<RowFieldClientWithoutType>, 'path'> & RowFieldBaseClientProps;
7662
+ type RowFieldBaseClientProps = FieldPaths & Pick<ClientComponentProps, 'forceRender'>;
7663
+ type RowFieldClientProps = ClientFieldBase<RowFieldClientWithoutType> & RowFieldBaseClientProps;
7437
7664
  type RowFieldServerProps = ServerFieldBase<RowField, RowFieldClientWithoutType>;
7438
7665
  type RowFieldServerComponent = FieldServerComponent<RowField, RowFieldClientWithoutType>;
7439
7666
  type RowFieldClientComponent = FieldClientComponent<RowFieldClientWithoutType, RowFieldBaseClientProps>;
@@ -7542,7 +7769,7 @@ type UploadFieldDiffClientComponent = FieldDiffClientComponent<UploadFieldClient
7542
7769
 
7543
7770
  type DescriptionFunction = (args: {
7544
7771
  i18n: I18nClient;
7545
- t: TFunction;
7772
+ t: TFunction<ClientTranslationKeys>;
7546
7773
  }) => string;
7547
7774
  type FieldDescriptionClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldDescriptionClientProps<TFieldClient>>;
7548
7775
  type FieldDescriptionServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldDescriptionServerProps<TFieldServer, TFieldClient>>;
@@ -7655,91 +7882,6 @@ type FieldLabelServerComponent<TFieldServer extends Field = Field, TFieldClient
7655
7882
  type RowLabelComponent = CustomComponent;
7656
7883
  type RowLabel = Record<string, string> | string;
7657
7884
 
7658
- type Slugify<T extends TypeWithID = any> = (args: {
7659
- data: T;
7660
- req: PayloadRequest;
7661
- valueToSlugify?: any;
7662
- }) => Promise<string | undefined> | string | undefined;
7663
- type SlugFieldArgs = {
7664
- /**
7665
- * Override for the `generateSlug` checkbox field name.
7666
- * @default 'generateSlug'
7667
- */
7668
- checkboxName?: string;
7669
- /**
7670
- * Disables the unique index on the field.
7671
- * This is useful if instead, you want to add a compound unique index to the collection `indexes` config,
7672
- * for example with the multi tenant plugin, where the slug is only unique per tenant, not globally.
7673
- * @default false
7674
- */
7675
- disableUnique?: boolean;
7676
- /**
7677
- * @deprecated use `useAsSlug` instead.
7678
- */
7679
- fieldToUse?: string;
7680
- /**
7681
- * Enable localization for the slug field.
7682
- */
7683
- localized?: TextField['localized'];
7684
- /**
7685
- * Override for the `slug` field name.
7686
- * @default 'slug'
7687
- */
7688
- name?: string;
7689
- /**
7690
- * A function used to override the slug field(s) at a granular level.
7691
- * Passes the row field to you to manipulate beyond the exposed options.
7692
- * @example
7693
- * ```ts
7694
- * slugField({
7695
- * overrides: (field) => {
7696
- * field.fields[1].label = 'Custom Slug Label'
7697
- * return field
7698
- * }
7699
- * })
7700
- * ```
7701
- */
7702
- overrides?: (field: RowField) => RowField;
7703
- position?: FieldAdmin['position'];
7704
- /**
7705
- * Whether or not the `slug` field is required.
7706
- * @default true
7707
- */
7708
- required?: TextField['required'];
7709
- /**
7710
- * Provide your own slugify function to override the default.
7711
- */
7712
- slugify?: Slugify;
7713
- /**
7714
- * The name of the top-level field to generate the slug from, when applicable.
7715
- * @default 'title'
7716
- */
7717
- useAsSlug?: string;
7718
- };
7719
- type SlugField = (args?: SlugFieldArgs) => RowField;
7720
- type SlugFieldClientPropsOnly = Pick<SlugFieldArgs, 'useAsSlug'>;
7721
- /**
7722
- * These are the props that the `SlugField` client component accepts.
7723
- * The `SlugField` server component is responsible for passing down the `slugify` function.
7724
- */
7725
- type SlugFieldClientProps = SlugFieldClientPropsOnly & TextFieldClientProps;
7726
- /**
7727
- * A slug is a unique, indexed, URL-friendly string that identifies a particular document, often used to construct the URL of a webpage.
7728
- * The `slug` field auto-generates its value based on another field, e.g. "My Title" → "my-title".
7729
- *
7730
- * The slug should continue to be generated through:
7731
- * 1. The `create` operation, unless the user has modified the slug manually
7732
- * 2. The `update` operation, if:
7733
- * a. Autosave is _not_ enabled and there is no slug
7734
- * b. Autosave _is_ enabled, the doc is unpublished, and the user has not modified the slug manually
7735
- *
7736
- * The slug should stabilize after all above criteria have been met, because the URL is typically derived from the slug.
7737
- * This is to protect modifying potentially live URLs, breaking links, etc. without explicit intent.
7738
- *
7739
- * @experimental This field is experimental and may change or be removed in the future. Use at your own risk.
7740
- */
7741
- declare const slugField: SlugField;
7742
-
7743
7885
  type ColumnsFromURL = string[];
7744
7886
 
7745
7887
  type InitReqResult = {
@@ -7750,8 +7892,16 @@ type InitReqResult = {
7750
7892
  permissions: SanitizedPermissions;
7751
7893
  req: PayloadRequest;
7752
7894
  };
7895
+ /**
7896
+ * Determines how server function handlers serialize their return values.
7897
+ * - `'rsc'`: Return React nodes (JSX) — requires RSC flight serialization (Next.js)
7898
+ * - `'data-only'`: Return JSON-serializable data — for non-RSC adapters (TanStack Start)
7899
+ */
7900
+ type ServerFunctionMode = 'data-only' | 'rsc';
7753
7901
  type DefaultServerFunctionArgs = {
7754
7902
  importMap: ImportMap;
7903
+ mode?: ServerFunctionMode;
7904
+ renderComponent?: ComponentRenderer;
7755
7905
  } & Pick<InitReqResult, 'cookies' | 'locale' | 'permissions' | 'req'>;
7756
7906
  type ServerFunctionArgs = {
7757
7907
  args: Record<string, unknown>;
@@ -7850,6 +8000,12 @@ type WidgetSlugFromWidget<TWidget extends {
7850
8000
  type WidgetServerProps<TWidget extends {
7851
8001
  data?: unknown;
7852
8002
  } | never = never> = {
8003
+ /**
8004
+ * Adapter-injected component renderer. Widget server components can use
8005
+ * this to render other import map components without importing a
8006
+ * framework-specific renderer directly.
8007
+ */
8008
+ renderComponent?: ComponentRenderer;
7853
8009
  widgetData?: [TWidget] extends [never] ? Record<string, unknown> : WidgetDataFromWidget<Exclude<TWidget, never>> extends Record<string, unknown> ? WidgetDataFromWidget<Exclude<TWidget, never>> : Record<string, unknown>;
7854
8010
  widgetSlug: [TWidget] extends [never] ? string : [WidgetSlugFromWidget<{
7855
8011
  data?: unknown;
@@ -7904,6 +8060,7 @@ type ListViewSlots = {
7904
8060
  BeforeListTable?: React.ReactNode;
7905
8061
  Description?: React.ReactNode;
7906
8062
  listMenuItems?: React.ReactNode[];
8063
+ NoResults?: React.ReactNode;
7907
8064
  Table: React.ReactNode | React.ReactNode[];
7908
8065
  };
7909
8066
  /**
@@ -7937,9 +8094,13 @@ type ListViewClientProps = {
7937
8094
  */
7938
8095
  hierarchyData?: HierarchyViewData;
7939
8096
  /**
7940
- * Resolved icon component for hierarchy collections
8097
+ * Resolved full-size icon component for hierarchy collections (used in drawer subheader)
7941
8098
  */
7942
8099
  HierarchyIcon?: React.ReactNode;
8100
+ /**
8101
+ * Resolved small icon component for hierarchy collections (used in table rows)
8102
+ */
8103
+ HierarchySmallIcon?: React.ReactNode;
7943
8104
  /**
7944
8105
  * @deprecated
7945
8106
  */
@@ -7961,6 +8122,7 @@ type ListViewSlotSharedClientProps = {
7961
8122
  hasDeletePermission?: boolean;
7962
8123
  hasTrashPermission?: boolean;
7963
8124
  newDocumentURL: string;
8125
+ viewType: ViewTypes;
7964
8126
  };
7965
8127
  type BeforeListClientProps = ListViewSlotSharedClientProps;
7966
8128
  type BeforeListServerPropsOnly = {} & ListViewServerPropsOnly;
@@ -7968,6 +8130,9 @@ type BeforeListServerProps = BeforeListClientProps & BeforeListServerPropsOnly;
7968
8130
  type BeforeListTableClientProps = ListViewSlotSharedClientProps;
7969
8131
  type BeforeListTableServerPropsOnly = {} & ListViewServerPropsOnly;
7970
8132
  type BeforeListTableServerProps = BeforeListTableClientProps & BeforeListTableServerPropsOnly;
8133
+ type NoResultsClientProps = ListViewSlotSharedClientProps;
8134
+ type NoResultsServerPropsOnly = {} & ListViewServerPropsOnly;
8135
+ type NoResultsServerProps = NoResultsClientProps & NoResultsServerPropsOnly;
7971
8136
  type AfterListClientProps = ListViewSlotSharedClientProps;
7972
8137
  type AfterListServerPropsOnly = {} & ListViewServerPropsOnly;
7973
8138
  type AfterListServerProps = AfterListClientProps & AfterListServerPropsOnly;
@@ -8050,6 +8215,7 @@ type DocumentSlots = {
8050
8215
  UnpublishButton?: React$1.ReactNode;
8051
8216
  Upload?: React$1.ReactNode;
8052
8217
  UploadControls?: React$1.ReactNode;
8218
+ UploadFilePreview?: React$1.ReactNode;
8053
8219
  };
8054
8220
 
8055
8221
  type SchemaPath = {} & string;
@@ -8079,7 +8245,7 @@ type MeOperationResult = {
8079
8245
  */
8080
8246
  strategy?: string;
8081
8247
  token?: string;
8082
- user?: ClientUser;
8248
+ user?: AuthenticatedUser | null;
8083
8249
  };
8084
8250
  type Arguments$q = {
8085
8251
  collection: Collection;
@@ -8219,12 +8385,33 @@ type FileAllowList = Array<{
8219
8385
  extensions: string[];
8220
8386
  mimeType: string;
8221
8387
  }>;
8388
+ type UploadFilePreviewClientProps = {
8389
+ filename: string;
8390
+ filesize: number;
8391
+ /** Resolved URL of the file (data.url). */
8392
+ fileSrc: string;
8393
+ height?: number;
8394
+ mimeType: string;
8395
+ width?: number;
8396
+ };
8397
+ type UploadFilePreviewMap = {
8398
+ [mimeTypePattern: string]: PayloadComponent;
8399
+ };
8222
8400
  type Admin = {
8223
8401
  components?: {
8224
8402
  /**
8225
8403
  * The Controls component to extend the upload controls in the admin panel.
8226
8404
  */
8227
8405
  controls?: PayloadComponent[];
8406
+ /**
8407
+ * A custom component to render in place of the default Thumbnail in the upload side panel.
8408
+ *
8409
+ * Can be a single PayloadComponent (renders for all MIME types) or a Record keyed by
8410
+ * MIME type patterns. Pattern resolution priority: exact match → category wildcard
8411
+ * (e.g. `video/*`) → universal fallback (`*`). Falls back to the default Thumbnail
8412
+ * when nothing matches.
8413
+ */
8414
+ filePreview?: PayloadComponent | UploadFilePreviewMap;
8228
8415
  };
8229
8416
  };
8230
8417
  type UploadConfig = {
@@ -8468,7 +8655,7 @@ declare const forgotPasswordOperation: <TSlug extends AuthCollectionSlug>(incomi
8468
8655
  type LoginResult<TSlug extends AuthCollectionSlug> = {
8469
8656
  exp?: number;
8470
8657
  token?: string;
8471
- user?: DataFromCollectionSlug<TSlug>;
8658
+ user?: AuthRuntimeFields & DataFromCollectionSlug<TSlug>;
8472
8659
  };
8473
8660
  type Arguments$n<TSlug extends AuthCollectionSlug> = {
8474
8661
  collection: Collection;
@@ -8551,7 +8738,6 @@ type Arguments$i<TSlug extends CollectionSlug> = {
8551
8738
  overwriteExistingFiles?: boolean;
8552
8739
  populate?: PopulateType;
8553
8740
  publishAllLocales?: boolean;
8554
- publishSpecificLocale?: string;
8555
8741
  req: PayloadRequest;
8556
8742
  selectedLocales?: string[];
8557
8743
  showHiddenFields?: boolean;
@@ -8829,7 +9015,7 @@ type BaseFindOptions<TSlug extends CollectionSlug, TSelect extends SelectType> =
8829
9015
  /**
8830
9016
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
8831
9017
  */
8832
- user?: Document;
9018
+ user?: null | User;
8833
9019
  /**
8834
9020
  * A filter [query](https://payloadcms.com/docs/queries/overview)
8835
9021
  */
@@ -8868,7 +9054,6 @@ type Arguments$b<TSlug extends CollectionSlug> = {
8868
9054
  overwriteExistingFiles?: boolean;
8869
9055
  populate?: PopulateType;
8870
9056
  publishAllLocales?: boolean;
8871
- publishSpecificLocale?: string;
8872
9057
  req: PayloadRequest;
8873
9058
  showHiddenFields?: boolean;
8874
9059
  /**
@@ -8897,7 +9082,6 @@ type Arguments$a<TSlug extends CollectionSlug> = {
8897
9082
  overwriteExistingFiles?: boolean;
8898
9083
  populate?: PopulateType;
8899
9084
  publishAllLocales?: boolean;
8900
- publishSpecificLocale?: string;
8901
9085
  req: PayloadRequest;
8902
9086
  showHiddenFields?: boolean;
8903
9087
  trash?: boolean;
@@ -8953,15 +9137,6 @@ type AfterOperationArg<TOperationGeneric extends CollectionSlug> = {
8953
9137
  args: Parameters<OperationMap<TOperationGeneric>['deleteByID']>[0];
8954
9138
  operation: 'deleteByID';
8955
9139
  result: Awaited<ReturnType<OperationMap<TOperationGeneric>['deleteByID']>>;
8956
- } | {
8957
- args: Parameters<OperationMap<TOperationGeneric>['find']>[0];
8958
- /**
8959
- * @deprecated Use 'find' or 'findByID' operation instead
8960
- *
8961
- * TODO: v4 - remove this union option
8962
- */
8963
- operation: 'read';
8964
- result: Awaited<ReturnType<OperationMap<TOperationGeneric>['find']>>;
8965
9140
  } | {
8966
9141
  args: Parameters<OperationMap<TOperationGeneric>['find']>[0];
8967
9142
  operation: 'find';
@@ -9097,6 +9272,12 @@ type BeforeOperationArg<TOperationGeneric extends CollectionSlug> = {
9097
9272
  });
9098
9273
 
9099
9274
  type DataFromCollectionSlug<TSlug extends CollectionSlug> = TypedCollection[TSlug];
9275
+ /**
9276
+ * The ID type of a given collection (e.g. `string` or `number`), taken from its generated type.
9277
+ * Use this instead of the project-wide {@link DefaultDocumentIDType} when the collection slug is
9278
+ * known, since each collection can have its own ID type.
9279
+ */
9280
+ type IDTypeForCollectionSlug<TSlug extends CollectionSlug> = DataFromCollectionSlug<TSlug>['id'];
9100
9281
  type SelectFromCollectionSlug<TSlug extends CollectionSlug> = TypedCollectionSelect[TSlug];
9101
9282
  /**
9102
9283
  * Collection slugs that do not have drafts enabled.
@@ -9392,6 +9573,7 @@ type CollectionAdminOptions = {
9392
9573
  list?: {
9393
9574
  actions?: CustomComponent[];
9394
9575
  Component?: PayloadComponent;
9576
+ NoResults?: CustomComponent;
9395
9577
  };
9396
9578
  } & SharedEntityViews;
9397
9579
  } & Omit<SharedAdminComponents, 'edit' | 'views'>;
@@ -9440,18 +9622,11 @@ type CollectionAdminOptions = {
9440
9622
  * - Set to `false` to exclude the entity from the sidebar / dashboard without disabling its routes.
9441
9623
  */
9442
9624
  group?: false | Record<string, string> | string;
9443
- /**
9444
- * @description Enable grouping by a field in the list view.
9445
- * Uses `payload.findDistinct` under the hood to populate the group-by options.
9446
- *
9447
- * @experimental This option is currently in beta and may change in future releases. Use at your own risk.
9448
- */
9449
- groupBy?: boolean;
9450
9625
  /**
9451
9626
  * Exclude the collection from the admin nav and routes
9452
9627
  */
9453
9628
  hidden?: ((args: {
9454
- user: ClientUser;
9629
+ user: PayloadRequest['user'];
9455
9630
  }) => boolean) | boolean;
9456
9631
  /**
9457
9632
  * Additional fields to be searched via the full text search
@@ -9523,6 +9698,10 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
9523
9698
  * Default field to sort by in collection list view
9524
9699
  */
9525
9700
  defaultSort?: Sort;
9701
+ /**
9702
+ * Disable the bulk delete operation for the collection in the admin panel and the API
9703
+ */
9704
+ disableBulkDelete?: boolean;
9526
9705
  /**
9527
9706
  * Disable the bulk edit operation for the collection in the admin panel and the API
9528
9707
  */
@@ -9800,6 +9979,11 @@ type SanitizedCompoundIndex = {
9800
9979
  declare const validOperators: readonly ["equals", "contains", "not_equals", "in", "all", "not_in", "exists", "greater_than", "greater_than_equal", "less_than", "less_than_equal", "like", "not_like", "within", "intersects", "near"];
9801
9980
  type Operator = (typeof validOperators)[number];
9802
9981
 
9982
+ interface PayloadRequestAPI {
9983
+ GraphQL: true;
9984
+ local: true;
9985
+ REST: true;
9986
+ }
9803
9987
  type CustomPayloadRequestProperties = {
9804
9988
  context: RequestContext;
9805
9989
  /** The locale that should be used for a field when it is not translated to the requested locale */
@@ -9819,7 +10003,7 @@ type CustomPayloadRequestProperties = {
9819
10003
  /**
9820
10004
  * The context in which the request is being made
9821
10005
  */
9822
- payloadAPI: 'GraphQL' | 'local' | 'REST';
10006
+ payloadAPI: keyof PayloadRequestAPI;
9823
10007
  /** Optimized document loader */
9824
10008
  payloadDataLoader: {
9825
10009
  /**
@@ -9863,7 +10047,7 @@ type CustomPayloadRequestProperties = {
9863
10047
  */
9864
10048
  transactionID?: number | Promise<number | string> | string;
9865
10049
  /** The signed-in user */
9866
- user: null | TypedUser;
10050
+ user: AuthenticatedUser | null;
9867
10051
  } & Pick<URL, 'hash' | 'host' | 'href' | 'origin' | 'pathname' | 'port' | 'protocol' | 'search' | 'searchParams'>;
9868
10052
  type PayloadRequestData = {
9869
10053
  /**
@@ -10083,8 +10267,17 @@ type AuthArgs = {
10083
10267
  type AuthResult = {
10084
10268
  permissions: SanitizedPermissions;
10085
10269
  responseHeaders?: Headers;
10086
- user: null | TypedUser;
10270
+ user: AuthenticatedUser | null;
10271
+ };
10272
+
10273
+ /**
10274
+ * Strategy for dev-mode HMR/reload detection.
10275
+ * Each framework adapter provides its own implementation.
10276
+ */
10277
+ type DevReloadStrategy = {
10278
+ connect: (onReload: () => void) => DevReloadCleanup;
10087
10279
  };
10280
+ type DevReloadCleanup = () => void;
10088
10281
 
10089
10282
  type Options$g<TSlug extends AuthCollectionSlug> = {
10090
10283
  collection: TSlug;
@@ -10182,6 +10375,14 @@ type RouterAdapterRouter = {
10182
10375
  replace: (path: string, options?: {
10183
10376
  scroll?: boolean;
10184
10377
  }) => void;
10378
+ /**
10379
+ * Use this property to standardize behaviors across different router implementations.
10380
+ * Set it up to sync client state to the URL without triggering a second server load.
10381
+ *
10382
+ * In Next.js, calling `window.history.replaceState` directly is sufficient, as Next.js does not observe history mutations.
10383
+ * In TanStack Router, however, `history.replaceState` is monkeypatched to notify the router of changes.
10384
+ */
10385
+ replaceState?: (url: string) => void;
10185
10386
  };
10186
10387
  type LinkAdapterProps = {
10187
10388
  children?: React$1.ReactNode;
@@ -10192,6 +10393,39 @@ type LinkAdapterProps = {
10192
10393
  scroll?: boolean;
10193
10394
  } & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
10194
10395
 
10396
+ /**
10397
+ * Signature for ui-side view metadata generators. Returns a framework-agnostic
10398
+ * `MetaConfig` that adapter-side code formats into framework metadata.
10399
+ */
10400
+ type GenerateViewMetadata = (args: {
10401
+ config: SanitizedConfig;
10402
+ i18n: I18nClient;
10403
+ isEditing?: boolean;
10404
+ params?: {
10405
+ [key: string]: string | string[];
10406
+ };
10407
+ }) => Promise<MetaConfig>;
10408
+ /**
10409
+ * One entry in a framework's `AdminViewAdapter`. Pairs a React component with
10410
+ * a metadata generator. `TComponentProps` and `TMetadata` are framework-specific
10411
+ * (Next narrows `TMetadata` to `next`'s `Metadata` type).
10412
+ */
10413
+ type AdminView<TComponentProps = any, TMetadata = unknown> = {
10414
+ Component: React$1.ComponentType<TComponentProps>;
10415
+ generateMetadata: (args: Parameters<GenerateViewMetadata>[0]) => Promise<TMetadata>;
10416
+ };
10417
+ /**
10418
+ * The canonical set of admin view keys that every framework adapter must implement.
10419
+ * Adding a new admin view requires adding its key here so all adapters stay in sync.
10420
+ */
10421
+ type AdminViewKey = 'account' | 'createFirstUser' | 'dashboard' | 'forgot' | 'login' | 'logout' | 'logoutInactivity' | 'notFound' | 'reset' | 'unauthorized' | 'unauthorizedWithGutter' | 'verify';
10422
+ /**
10423
+ * Keyed map of `AdminView` — exactly one entry per `AdminViewKey`.
10424
+ * Framework adapters export an instance of this; missing or misspelled keys are
10425
+ * a type error.
10426
+ */
10427
+ type AdminViewAdapter<TComponentProps = any, TMetadata = unknown> = Record<AdminViewKey, AdminView<TComponentProps, TMetadata>>;
10428
+
10195
10429
  type CountOptions<TSlug extends CollectionSlug> = {
10196
10430
  /**
10197
10431
  * the Collection slug to operate against.
@@ -10235,7 +10469,7 @@ type CountOptions<TSlug extends CollectionSlug> = {
10235
10469
  /**
10236
10470
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10237
10471
  */
10238
- user?: Document;
10472
+ user?: null | User;
10239
10473
  /**
10240
10474
  * A filter [query](https://payloadcms.com/docs/queries/overview)
10241
10475
  */
@@ -10321,7 +10555,7 @@ type BaseOptions$7<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10321
10555
  /**
10322
10556
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10323
10557
  */
10324
- user?: Document;
10558
+ user?: null | User;
10325
10559
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10326
10560
  type Options$b<TSlug extends CollectionSlug, TSelect extends SelectType> = GeneratedTypes extends {
10327
10561
  strictDraftTypes: true;
@@ -10446,7 +10680,7 @@ type BaseOptions$6<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10446
10680
  /**
10447
10681
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10448
10682
  */
10449
- user?: Document;
10683
+ user?: null | User;
10450
10684
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10451
10685
  type ByIDOptions$1<TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>> = {
10452
10686
  /**
@@ -10534,7 +10768,7 @@ type BaseOptions$5<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10534
10768
  /**
10535
10769
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10536
10770
  */
10537
- user?: Document;
10771
+ user?: null | User;
10538
10772
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10539
10773
  type Options$a<TSlug extends CollectionSlug, TSelect extends SelectType> = BaseOptions$5<TSlug, TSelect> & DraftFlagFromCollectionSlug<TSlug>;
10540
10774
 
@@ -10622,7 +10856,7 @@ type BaseFindByIDOptions<TSlug extends CollectionSlug, TDisableErrors extends bo
10622
10856
  /**
10623
10857
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10624
10858
  */
10625
- user?: Document;
10859
+ user?: null | User;
10626
10860
  } & Pick<FindByIDArgs, 'flattenLocales'> & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10627
10861
  type Options$9<TSlug extends CollectionSlug, TDisableErrors extends boolean, TSelect extends SelectType> = BaseFindByIDOptions<TSlug, TDisableErrors, TSelect> & DraftFlagFromCollectionSlug<TSlug>;
10628
10862
 
@@ -10702,7 +10936,7 @@ type Options$8<TSlug extends CollectionSlug, TField extends keyof DataFromCollec
10702
10936
  /**
10703
10937
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10704
10938
  */
10705
- user?: Document;
10939
+ user?: null | User;
10706
10940
  /**
10707
10941
  * A filter [query](https://payloadcms.com/docs/queries/overview)
10708
10942
  */
@@ -10774,7 +11008,7 @@ type BaseOptions$4<TSlug extends CollectionSlug> = {
10774
11008
  /**
10775
11009
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10776
11010
  */
10777
- user?: Document;
11011
+ user?: null | User;
10778
11012
  } & Pick<FindOptions<TSlug, SelectType>, 'select'>;
10779
11013
  type Options$7<TSlug extends CollectionSlug> = BaseOptions$4<TSlug> & DraftFlagFromCollectionSlug<TSlug>;
10780
11014
 
@@ -10856,7 +11090,7 @@ type BaseOptions$3<TSlug extends CollectionSlug> = {
10856
11090
  /**
10857
11091
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10858
11092
  */
10859
- user?: Document;
11093
+ user?: null | User;
10860
11094
  /**
10861
11095
  * A filter [query](https://payloadcms.com/docs/queries/overview)
10862
11096
  */
@@ -10915,7 +11149,7 @@ type BaseOptions$2<TSlug extends CollectionSlug> = {
10915
11149
  /**
10916
11150
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10917
11151
  */
10918
- user?: Document;
11152
+ user?: null | User;
10919
11153
  } & Pick<FindOptions<TSlug, SelectType>, 'select'>;
10920
11154
  type Options$5<TSlug extends CollectionSlug> = BaseOptions$2<TSlug> & DraftFlagFromCollectionSlug<TSlug>;
10921
11155
 
@@ -10987,17 +11221,12 @@ type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10987
11221
  */
10988
11222
  populate?: PopulateType;
10989
11223
  /**
10990
- * Publish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11224
+ * Publish the document / documents in all locales. Only applies when localization is enabled
11225
+ * and the collection has localized fields.
10991
11226
  *
10992
11227
  * @default undefined
10993
11228
  */
10994
11229
  publishAllLocales?: boolean;
10995
- /**
10996
- * Publish the document / documents with a specific locale.
10997
- *
10998
- * @default undefined
10999
- */
11000
- publishSpecificLocale?: string;
11001
11230
  /**
11002
11231
  * The `PayloadRequest` object. You can pass it to thread the current [transaction](https://payloadcms.com/docs/database/transactions), user and locale to the operation.
11003
11232
  * Recommended to pass when using the Local API from hooks, as usually you want to execute the operation within the current transaction.
@@ -11016,13 +11245,14 @@ type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
11016
11245
  */
11017
11246
  trash?: boolean;
11018
11247
  /**
11019
- * Unpublish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11248
+ * Unpublish the document / documents in all locales. Only applies when localization is enabled
11249
+ * and the collection has localized fields.
11020
11250
  */
11021
11251
  unpublishAllLocales?: boolean;
11022
11252
  /**
11023
11253
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11024
11254
  */
11025
- user?: Document;
11255
+ user?: null | User;
11026
11256
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
11027
11257
  type ByIDOptions<TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>> = {
11028
11258
  /**
@@ -11099,7 +11329,7 @@ type CountGlobalVersionsOptions<TSlug extends GlobalSlug> = {
11099
11329
  /**
11100
11330
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11101
11331
  */
11102
- user?: Document;
11332
+ user?: null | User;
11103
11333
  /**
11104
11334
  * A filter [query](https://payloadcms.com/docs/queries/overview)
11105
11335
  */
@@ -11189,7 +11419,7 @@ type BaseFindOneOptions<TSlug extends GlobalSlug, TSelect extends SelectType> =
11189
11419
  /**
11190
11420
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11191
11421
  */
11192
- user?: Document;
11422
+ user?: null | User;
11193
11423
  } & Pick<FindOptions<string, SelectType>, 'select'> & Pick<GlobalFindOneArgs, 'flattenLocales'>;
11194
11424
  type Options$4<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseFindOneOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
11195
11425
 
@@ -11249,7 +11479,7 @@ type Options$3<TSlug extends GlobalSlug> = {
11249
11479
  /**
11250
11480
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11251
11481
  */
11252
- user?: Document;
11482
+ user?: null | User;
11253
11483
  } & Pick<FindOptions<string, SelectType>, 'select'>;
11254
11484
 
11255
11485
  type Options$2<TSlug extends GlobalSlug> = {
@@ -11321,7 +11551,7 @@ type Options$2<TSlug extends GlobalSlug> = {
11321
11551
  /**
11322
11552
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11323
11553
  */
11324
- user?: Document;
11554
+ user?: null | User;
11325
11555
  /**
11326
11556
  * A filter [query](https://payloadcms.com/docs/queries/overview)
11327
11557
  */
@@ -11379,7 +11609,7 @@ type Options$1<TSlug extends GlobalSlug> = {
11379
11609
  /**
11380
11610
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11381
11611
  */
11382
- user?: Document;
11612
+ user?: null | User;
11383
11613
  };
11384
11614
 
11385
11615
  type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
@@ -11423,15 +11653,12 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
11423
11653
  */
11424
11654
  populate?: PopulateType;
11425
11655
  /**
11426
- * Publish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11656
+ * Publish the document / documents in all locales. Only applies when localization is enabled
11657
+ * and the global has localized fields.
11427
11658
  *
11428
11659
  * @default undefined
11429
11660
  */
11430
11661
  publishAllLocales?: boolean;
11431
- /**
11432
- * Publish the document / documents with a specific locale.
11433
- */
11434
- publishSpecificLocale?: TypedLocale;
11435
11662
  /**
11436
11663
  * The `PayloadRequest` object. You can pass it to thread the current [transaction](https://payloadcms.com/docs/database/transactions), user and locale to the operation.
11437
11664
  * Recommended to pass when using the Local API from hooks, as usually you want to execute the operation within the current transaction.
@@ -11447,13 +11674,14 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
11447
11674
  */
11448
11675
  slug: TSlug;
11449
11676
  /**
11450
- * Unpublish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11677
+ * Unpublish the document / documents in all locales. Only applies when localization is enabled
11678
+ * and the global has localized fields.
11451
11679
  */
11452
11680
  unpublishAllLocales?: boolean;
11453
11681
  /**
11454
11682
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11455
11683
  */
11456
- user?: Document;
11684
+ user?: null | User;
11457
11685
  } & Pick<FindOptions<string, SelectType>, 'select'>;
11458
11686
  type Options<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
11459
11687
 
@@ -12230,14 +12458,21 @@ type CountVersionsOptions<TSlug extends CollectionSlug> = {
12230
12458
  /**
12231
12459
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
12232
12460
  */
12233
- user?: Document;
12461
+ user?: null | User;
12234
12462
  /**
12235
12463
  * A filter [query](https://payloadcms.com/docs/queries/overview)
12236
12464
  */
12237
12465
  where?: Where;
12238
12466
  };
12239
12467
 
12240
- declare const apiKeyFields: Field[];
12468
+ type APIKeyCheckboxFieldOverride = Omit<Partial<CheckboxField>, 'name' | 'type'>;
12469
+ type APIKeyTextFieldOverride = Omit<Partial<TextField>, 'hasMany' | 'maxRows' | 'minRows' | 'name' | 'type' | 'validate'>;
12470
+ declare const createAPIKeyFields: ({ apiKeyField, apiKeyIndexField, enableAPIKeyField, includeEnableAPIKey, }?: {
12471
+ apiKeyField?: APIKeyTextFieldOverride;
12472
+ apiKeyIndexField?: APIKeyTextFieldOverride;
12473
+ enableAPIKeyField?: APIKeyCheckboxFieldOverride;
12474
+ includeEnableAPIKey?: boolean;
12475
+ }) => Field[];
12241
12476
 
12242
12477
  declare const baseAuthFields: Field[];
12243
12478
 
@@ -12334,7 +12569,7 @@ declare const JWTAuthentication: AuthStrategyFunction;
12334
12569
  type Args$i = {
12335
12570
  collection: SanitizedCollectionConfig;
12336
12571
  payload: Payload;
12337
- user: TypedUser;
12572
+ user: User;
12338
12573
  };
12339
12574
  declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$i) => Promise<void>;
12340
12575
 
@@ -12427,26 +12662,22 @@ declare const restoreVersionOperation$1: <TData extends JsonObject & TypeWithID
12427
12662
  */
12428
12663
  declare function buildConfig(config: Config): Promise<SanitizedConfig>;
12429
12664
 
12430
- /**
12431
- * @deprecated - remove in 4.0. This is error-prone, as mutating this object will affect any objects that use the defaults as a base.
12432
- */
12433
- declare const defaults: Omit<Config, 'db' | 'editor' | 'secret'>;
12665
+ declare const addDefaultsToConfig: (config: Config) => Config;
12434
12666
 
12435
12667
  /**
12436
12668
  * Helper for authoring plugins with order, slug, and typed options.
12437
12669
  * Eliminates boilerplate and ensures metadata is always set consistently.
12438
12670
  *
12439
- * The `plugin` function receives a single object containing `config`, `plugins`
12440
- * (a slug-keyed map of other plugins), and any user-provided options spread in.
12671
+ * The `plugin` function receives `config`, `plugins` (a slug-keyed map of other
12672
+ * plugins), and the user-provided `options`.
12441
12673
  *
12442
12674
  * @experimental
12443
12675
  *
12444
12676
  * @example
12445
12677
  * // With options:
12446
- * export const seoPlugin = definePlugin<SEOPluginOptions>({
12678
+ * export const seoPlugin = definePlugin<SEOPluginConfig>({
12447
12679
  * slug: 'plugin-seo',
12448
- * order: 10,
12449
- * plugin: ({ config, plugins, collections }) => ({ ...config }),
12680
+ * plugin: ({ config, options }) => ({ ...config }),
12450
12681
  * })
12451
12682
  *
12452
12683
  * // Without options:
@@ -12461,16 +12692,17 @@ declare function definePlugin(descriptor: {
12461
12692
  config: Config;
12462
12693
  plugins: PluginsMap;
12463
12694
  }) => Config | Promise<Config>;
12464
- slug?: string;
12695
+ slug: string;
12465
12696
  }): () => Plugin;
12466
- declare function definePlugin<TOptions extends Record<string, unknown>>(descriptor: {
12697
+ declare function definePlugin<TOptions>(descriptor: {
12467
12698
  order?: number;
12468
12699
  plugin: (args: {
12469
12700
  config: Config;
12701
+ options: TOptions;
12470
12702
  plugins: PluginsMap;
12471
- } & TOptions) => Config | Promise<Config>;
12472
- slug?: string;
12473
- }): (options: TOptions) => Plugin;
12703
+ }) => Config | Promise<Config>;
12704
+ slug: string;
12705
+ }): undefined extends TOptions ? (options?: TOptions) => Plugin : (options: TOptions) => Plugin;
12474
12706
 
12475
12707
  /**
12476
12708
  * The body of the reorder endpoint.
@@ -13058,7 +13290,6 @@ type Args$7<TSlug extends GlobalSlug> = {
13058
13290
  overrideLock?: boolean;
13059
13291
  populate?: PopulateType;
13060
13292
  publishAllLocales?: boolean;
13061
- publishSpecificLocale?: string;
13062
13293
  req: PayloadRequest;
13063
13294
  showHiddenFields?: boolean;
13064
13295
  slug: string;
@@ -13380,39 +13611,6 @@ declare const canAccessAdmin: ({ req }: {
13380
13611
  */
13381
13612
  declare function commitTransaction(req: MarkRequired<Partial<PayloadRequest>, 'payload'>): Promise<void>;
13382
13613
 
13383
- /**
13384
- * Returns a JSON Schema Type with 'null' added if the field is not required.
13385
- */
13386
- declare function withNullableJSONSchemaType(fieldType: JSONSchema4TypeName, isRequired: boolean): JSONSchema4TypeName | JSONSchema4TypeName[];
13387
- type ConfigToJSONSchemaOptions = {
13388
- forceInlineBlocks?: boolean;
13389
- };
13390
- declare function fieldsToJSONSchema(
13391
- /**
13392
- * Used for relationship fields, to determine whether to use a string or number type for the ID.
13393
- * While there is a default ID field type set by the db adapter, they can differ on a collection-level
13394
- * if they have custom ID fields.
13395
- */
13396
- collectionIDFieldTypes: {
13397
- [key: string]: 'number' | 'string';
13398
- }, fields: FlattenedField$1[],
13399
- /**
13400
- * Allows you to define new top-level interfaces that can be re-used in the output schema.
13401
- */
13402
- interfaceNameDefinitions: Map<string, JSONSchema4>, config?: SanitizedConfig, i18n?: I18n, opts?: ConfigToJSONSchemaOptions): {
13403
- properties: {
13404
- [k: string]: JSONSchema4;
13405
- };
13406
- required: string[];
13407
- };
13408
- declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', collectionIDFieldTypes?: {
13409
- [key: string]: 'number' | 'string';
13410
- }, i18n?: I18n, opts?: ConfigToJSONSchemaOptions): JSONSchema4;
13411
- /**
13412
- * This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
13413
- */
13414
- declare function configToJSONSchema(config: SanitizedConfig, defaultIDType?: 'number' | 'text', i18n?: I18n, opts?: ConfigToJSONSchemaOptions): JSONSchema4;
13415
-
13416
13614
  declare function createArrayFromCommaDelineated(input: string): string[];
13417
13615
 
13418
13616
  type CreateLocalReqOptions = {
@@ -13422,7 +13620,7 @@ type CreateLocalReqOptions = {
13422
13620
  locale?: string;
13423
13621
  req?: Partial<PayloadRequest>;
13424
13622
  urlSuffix?: string;
13425
- user?: TypedUser;
13623
+ user?: User;
13426
13624
  };
13427
13625
  type CreateLocalReq = (options: CreateLocalReqOptions, payload: Payload) => Promise<PayloadRequest>;
13428
13626
  declare const createLocalReq: CreateLocalReq;
@@ -13684,7 +13882,7 @@ declare const getObjectDotNotation: <T>(obj: Record<string, unknown>, path: stri
13684
13882
 
13685
13883
  type GetRequestLanguageArgs = {
13686
13884
  config: SanitizedConfig;
13687
- cookies: Map<string, string> | ReadonlyRequestCookies;
13885
+ cookies: CookieStore | Map<string, string>;
13688
13886
  defaultLanguage?: AcceptedLanguages;
13689
13887
  headers: Request['headers'];
13690
13888
  };
@@ -13778,6 +13976,71 @@ type ParseDocumentIDArgs = {
13778
13976
  };
13779
13977
  declare function parseDocumentID({ id, collectionSlug, payload }: ParseDocumentIDArgs): string | number | undefined;
13780
13978
 
13979
+ type JoinParams = {
13980
+ [schemaPath: string]: {
13981
+ limit?: unknown;
13982
+ sort?: string;
13983
+ where?: unknown;
13984
+ } | false;
13985
+ } | false;
13986
+ /**
13987
+ * Convert request JoinQuery object from strings to numbers
13988
+ * @param joins
13989
+ */
13990
+ declare const sanitizeJoinParams: (_joins?: JoinParams) => JoinQuery;
13991
+
13992
+ type RawParams = {
13993
+ [key: string]: unknown;
13994
+ autosave?: string;
13995
+ data?: string;
13996
+ depth?: string;
13997
+ draft?: string;
13998
+ field?: string;
13999
+ flattenLocales?: string;
14000
+ joins?: JoinParams;
14001
+ limit?: string;
14002
+ overrideLock?: string;
14003
+ page?: string;
14004
+ pagination?: string;
14005
+ populate?: unknown;
14006
+ publishAllLocales?: string;
14007
+ select?: unknown;
14008
+ selectedLocales?: string;
14009
+ sort?: string | string[];
14010
+ trash?: string;
14011
+ unpublishAllLocales?: string;
14012
+ where?: string | Where;
14013
+ };
14014
+ type ParsedParams = {
14015
+ autosave?: boolean;
14016
+ data?: Record<string, unknown>;
14017
+ depth?: number;
14018
+ draft?: boolean;
14019
+ field?: string;
14020
+ flattenLocales?: boolean;
14021
+ joins?: JoinQuery;
14022
+ limit?: number;
14023
+ overrideLock?: boolean;
14024
+ page?: number;
14025
+ pagination?: boolean;
14026
+ populate?: PopulateType;
14027
+ publishAllLocales?: boolean;
14028
+ select?: SelectType;
14029
+ selectedLocales?: string[];
14030
+ sort?: string[];
14031
+ trash?: boolean;
14032
+ unpublishAllLocales?: boolean;
14033
+ where?: Where;
14034
+ } & Record<string, unknown>;
14035
+ /**
14036
+ * Takes raw query parameters and parses them into the correct types that Payload expects.
14037
+ * Examples:
14038
+ * a. `draft` provided as a string of "true" is converted to a boolean
14039
+ * b. `depth` provided as a string of "0" is converted to a number
14040
+ * c. `sort` provided as a comma-separated string or array is converted to an array of strings
14041
+ */
14042
+ declare const parseParams: (params: RawParams) => ParsedParams;
14043
+
13781
14044
  interface Args$5 {
13782
14045
  fallbackLocale: TypedFallbackLocale;
13783
14046
  locale: string;
@@ -13793,19 +14056,6 @@ interface Args$5 {
13793
14056
  */
13794
14057
  declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$5) => TypedFallbackLocale;
13795
14058
 
13796
- type JoinParams = {
13797
- [schemaPath: string]: {
13798
- limit?: unknown;
13799
- sort?: string;
13800
- where?: unknown;
13801
- } | false;
13802
- } | false;
13803
- /**
13804
- * Convert request JoinQuery object from strings to numbers
13805
- * @param joins
13806
- */
13807
- declare const sanitizeJoinParams: (_joins?: JoinParams) => JoinQuery;
13808
-
13809
14059
  /**
13810
14060
  * Sanitizes REST populate query to PopulateType
13811
14061
  */
@@ -13816,6 +14066,8 @@ declare const sanitizePopulateParam: (unsanitizedPopulate: unknown) => PopulateT
13816
14066
  */
13817
14067
  declare const sanitizeSelectParam: (unsanitizedSelect: unknown) => SelectType | undefined;
13818
14068
 
14069
+ declare const sanitizeSortParams: (sort: unknown) => string[] | undefined;
14070
+
13819
14071
  /**
13820
14072
  * This is used for the Select API to strip out fields that are not selected.
13821
14073
  * It will mutate the given data object and determine if your recursive function should continue to run.
@@ -13944,32 +14196,6 @@ declare const getLatestGlobalVersion: ({ slug, config, locale, payload, publishe
13944
14196
  globalExists: boolean;
13945
14197
  }>;
13946
14198
 
13947
- type LocalizeStatusArgs$1 = {
13948
- collectionSlug?: string;
13949
- globalSlug?: string;
13950
- payload: Payload;
13951
- req?: any;
13952
- };
13953
-
13954
- type LocalizeStatusArgs = {
13955
- collectionSlug?: string;
13956
- db: any;
13957
- globalSlug?: string;
13958
- payload: Payload;
13959
- req?: any;
13960
- sql: any;
13961
- };
13962
-
13963
- type LocalizeStatusMigration = {
13964
- down: (args: any) => Promise<void>;
13965
- up: (args: any) => Promise<void>;
13966
- };
13967
- /**
13968
- * Main entry point for localizeStatus migration.
13969
- * Detects database type and dispatches to appropriate implementation.
13970
- */
13971
- declare const localizeStatus: LocalizeStatusMigration;
13972
-
13973
14199
  type Args<T extends JsonObject = JsonObject> = {
13974
14200
  autosave?: boolean;
13975
14201
  collection?: SanitizedCollectionConfig;
@@ -13979,11 +14205,9 @@ type Args<T extends JsonObject = JsonObject> = {
13979
14205
  id?: number | string;
13980
14206
  operation?: 'create' | 'restoreVersion' | 'update';
13981
14207
  payload: Payload;
13982
- publishSpecificLocale?: string;
13983
14208
  req?: PayloadRequest;
13984
14209
  returning?: boolean;
13985
14210
  select?: SelectType;
13986
- snapshot?: any;
13987
14211
  unpublish?: boolean;
13988
14212
  };
13989
14213
  declare function saveVersion<TData extends JsonObject = JsonObject>(args: {
@@ -14102,7 +14326,52 @@ interface UntypedPayloadTypes {
14102
14326
  };
14103
14327
  };
14104
14328
  locale: null | string;
14105
- user: UntypedUser;
14329
+ /**
14330
+ * User shape used when generated types are unavailable.
14331
+ * Includes common document fields and fields managed by Payload auth. Custom fields and
14332
+ * collection features such as drafts, trash, and uploads require generated types. Runtime fields
14333
+ * `_strategy` and `_sid` belong to `AuthenticatedUser`.
14334
+ */
14335
+ user: {
14336
+ /** Email verification token. Hidden (needs `showHiddenFields`). Only with `auth.verify`, until verified. */
14337
+ _verificationToken?: null | string;
14338
+ /** Whether the email is verified. Only with `auth.verify`. */
14339
+ _verified?: boolean | null;
14340
+ /** The user's API key. Only with `auth.useAPIKey`, once enabled for this user. */
14341
+ apiKey?: null | string;
14342
+ /** Internal lookup index for the API key. Hidden (needs `showHiddenFields`). Only with `auth.useAPIKey`. */
14343
+ apiKeyIndex?: null | string;
14344
+ /** Slug of the auth collection this user belongs to. Always present; identifies the source collection. */
14345
+ collection: string;
14346
+ /** When the user was created. Not present when timestamps are disabled. */
14347
+ createdAt?: string;
14348
+ /** The user's email. Absent if email login is disabled via `auth.loginWithUsername`. */
14349
+ email?: null | string;
14350
+ /** Whether API key auth is enabled for this user. Only with `auth.useAPIKey`. */
14351
+ enableAPIKey?: boolean | null;
14352
+ /** Hashed password. Hidden (needs `showHiddenFields`). Only with the local strategy. */
14353
+ hash?: null | string;
14354
+ /** The user's ID. Always present. */
14355
+ id: UntypedPayloadTypes['db']['defaultIDType'];
14356
+ /** Locked-until timestamp. Hidden (needs `showHiddenFields`). Only with `auth.maxLoginAttempts`, while locked. */
14357
+ lockUntil?: null | string;
14358
+ /** Failed login attempt count. Hidden (needs `showHiddenFields`). Only with `auth.maxLoginAttempts`. */
14359
+ loginAttempts?: null | number;
14360
+ /** Plain-text password. Write-only: accepted on `create`/`update`, never returned on reads. */
14361
+ password?: null | string;
14362
+ /** Reset-token expiry. Hidden (needs `showHiddenFields`). Only after `forgotPassword`, until reset. */
14363
+ resetPasswordExpiration?: null | string;
14364
+ /** Active password-reset token. Hidden (needs `showHiddenFields`). Only after `forgotPassword`, until reset. */
14365
+ resetPasswordToken?: null | string;
14366
+ /** Password salt. Hidden (needs `showHiddenFields`). Only with the local strategy. */
14367
+ salt?: null | string;
14368
+ /** Active login sessions. Only with `auth.useSessions` (the default). */
14369
+ sessions?: Array<UserSession> | null;
14370
+ /** When the user was last updated. Not present when timestamps are disabled. */
14371
+ updatedAt?: string;
14372
+ /** The user's username. Only with `auth.loginWithUsername`. */
14373
+ username?: null | string;
14374
+ };
14106
14375
  widgets: {
14107
14376
  [slug: string]: JsonObject;
14108
14377
  };
@@ -14165,13 +14434,13 @@ type GlobalSlug<T extends PayloadTypesShape = PayloadTypes> = StringKeyOf<T['glo
14165
14434
  type TypedLocale<T extends PayloadTypesShape = PayloadTypes> = T['locale'];
14166
14435
  type TypedFallbackLocale = PayloadTypes['fallbackLocale'];
14167
14436
  /**
14437
+ * User document type for auth-enabled collections.
14438
+ * Uses generated types when available and the auth-only fallback above otherwise. Generated types
14439
+ * include custom fields and can be a union when several collections support auth.
14168
14440
  *
14169
- * TypedUser is the type of the user object. This can be a union of multiple user types, if you have multiple
14170
- * auth-enabled collections.
14171
- *
14172
- * @todo rename to `User` in 4.0
14441
+ * Not the signed-in `req.user`, which also has `_strategy` and `_sid` - use `AuthenticatedUser`.
14173
14442
  */
14174
- type TypedUser = PayloadTypes['user'];
14443
+ type User = PayloadTypes['user'];
14175
14444
  type TypedAuthOperations<T extends PayloadTypesShape = PayloadTypes> = T['auth'];
14176
14445
  type AuthCollectionSlug<T extends PayloadTypesShape = PayloadTypes> = StringKeyOf<T['auth']>;
14177
14446
  type TypedJobs = PayloadTypes['jobs'];
@@ -14419,15 +14688,13 @@ declare class BasePayload {
14419
14688
  declare const initialized: BasePayload;
14420
14689
 
14421
14690
  declare const reload: (config: SanitizedConfig, payload: Payload, skipImportMapGeneration?: boolean, options?: InitOptions) => Promise<void>;
14422
- /**
14423
- * Get a payload instance.
14424
- * This function is a wrapper around new BasePayload().init() that adds the following functionality on top of that:
14425
- *
14426
- * - smartly caches Payload instance on the module scope. That way, we prevent unnecessarily initializing Payload over and over again
14427
- * when calling getPayload multiple times or from multiple locations.
14428
- * - adds HMR support and reloads the payload instance when the config changes.
14429
- */
14430
14691
  declare const getPayload: (options: {
14692
+ /**
14693
+ * Custom dev reload strategy. If provided, replaces the default
14694
+ * Next.js HMR WebSocket listener. The strategy's `connect` function
14695
+ * receives a callback to trigger config reload.
14696
+ */
14697
+ devReloadStrategy?: DevReloadStrategy;
14431
14698
  /**
14432
14699
  * A unique key to identify the payload instance. You can pass your own key if you want to cache this payload instance separately.
14433
14700
  * This is useful if you pass a different payload config for each instance.
@@ -14464,5 +14731,5 @@ interface GlobalAdminCustom extends Record<string, any> {
14464
14731
  interface GlobalAdminCustom extends Record<string, any> {
14465
14732
  }
14466
14733
 
14467
- 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 };
14468
- 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, 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 };
14734
+ 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, addDefaultsToConfig, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createAPIKeyFields, 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, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, entityToStandaloneJSONSchema, 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, isUserMenuSettingsGroup, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrate$1 as migrateCLI, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, parseParams, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, refreshOperation, registerBlockInterface, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, sanitizeSortParams, saveVersion, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, sortableFieldTypes, stripUnselectedFields, toWords, traverseFields, unlockOperation, updateByIDOperation, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeMigrationIndex };
14735
+ export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminView, AdminViewAdapter, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewKey, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthRuntimeFields, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, AuthenticatedUser, 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, BrowserAutoComplete, 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, 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, ComponentRenderer, 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, DevReloadCleanup, DevReloadStrategy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, 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, GenerateViewMetadata, 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, IDTypeForCollectionSlug, 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, JoinParams, 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, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NoResultsClientProps, NoResultsServerProps, NoResultsServerPropsOnly, 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, ParsedParams, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadRequestAPI, 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, RawParams, RawPayloadComponent, RecentlyViewedItem, RecentlyViewedPreferences, 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, SchemaVariant, 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, ServerFunctionMode, 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, SlugFieldClient, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, 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, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, UploadFilePreviewClientProps, Upsert, UpsertArgs, User, UserMenuSettingsGroup, UserMenuSettingsItem, 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 };