payload 4.0.0-internal.5f0cd13 → 4.0.0-internal.63f8536

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 (541) hide show
  1. package/LICENSE.md +1 -1
  2. package/bin.js +11 -0
  3. package/dist/admin/RichText.d.ts +2 -2
  4. package/dist/admin/RichText.d.ts.map +1 -1
  5. package/dist/admin/RichText.js.map +1 -1
  6. package/dist/admin/adapters/devReload.d.ts +9 -0
  7. package/dist/admin/adapters/devReload.d.ts.map +1 -0
  8. package/dist/admin/adapters/devReload.js +6 -0
  9. package/dist/admin/adapters/devReload.js.map +1 -0
  10. package/dist/admin/adapters/index.d.ts +3 -0
  11. package/dist/admin/adapters/index.d.ts.map +1 -1
  12. package/dist/admin/adapters/index.js.map +1 -1
  13. package/dist/admin/adapters/render.d.ts +16 -0
  14. package/dist/admin/adapters/render.d.ts.map +1 -0
  15. package/dist/admin/adapters/render.js +7 -0
  16. package/dist/admin/adapters/render.js.map +1 -0
  17. package/dist/admin/adapters/views.d.ts +36 -0
  18. package/dist/admin/adapters/views.d.ts.map +1 -0
  19. package/dist/admin/adapters/views.js +7 -0
  20. package/dist/admin/adapters/views.js.map +1 -0
  21. package/dist/admin/fields/Row.d.ts +2 -2
  22. package/dist/admin/fields/Row.d.ts.map +1 -1
  23. package/dist/admin/fields/Row.js.map +1 -1
  24. package/dist/admin/forms/Description.d.ts +2 -2
  25. package/dist/admin/forms/Description.d.ts.map +1 -1
  26. package/dist/admin/forms/Description.js.map +1 -1
  27. package/dist/admin/forms/Field.d.ts +10 -5
  28. package/dist/admin/forms/Field.d.ts.map +1 -1
  29. package/dist/admin/forms/Field.js.map +1 -1
  30. package/dist/admin/functions/index.d.ts +10 -1
  31. package/dist/admin/functions/index.d.ts.map +1 -1
  32. package/dist/admin/functions/index.js.map +1 -1
  33. package/dist/admin/types.d.ts +3 -2
  34. package/dist/admin/types.d.ts.map +1 -1
  35. package/dist/admin/types.js.map +1 -1
  36. package/dist/admin/views/dashboard.d.ts +7 -0
  37. package/dist/admin/views/dashboard.d.ts.map +1 -1
  38. package/dist/admin/views/dashboard.js.map +1 -1
  39. package/dist/admin/views/document.d.ts +5 -3
  40. package/dist/admin/views/document.d.ts.map +1 -1
  41. package/dist/admin/views/document.js.map +1 -1
  42. package/dist/admin/views/list.d.ts +5 -0
  43. package/dist/admin/views/list.d.ts.map +1 -1
  44. package/dist/admin/views/list.js.map +1 -1
  45. package/dist/auth/baseFields/apiKey.d.ts +10 -2
  46. package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
  47. package/dist/auth/baseFields/apiKey.js +35 -24
  48. package/dist/auth/baseFields/apiKey.js.map +1 -1
  49. package/dist/auth/defaultAccess.d.ts +1 -1
  50. package/dist/auth/defaultAccess.d.ts.map +1 -1
  51. package/dist/auth/defaultAccess.js +1 -1
  52. package/dist/auth/defaultAccess.js.map +1 -1
  53. package/dist/auth/defaultUser.d.ts.map +1 -1
  54. package/dist/auth/defaultUser.js +2 -1
  55. package/dist/auth/defaultUser.js.map +1 -1
  56. package/dist/auth/getAuthFields.js +2 -2
  57. package/dist/auth/getAuthFields.js.map +1 -1
  58. package/dist/auth/operations/auth.d.ts +2 -2
  59. package/dist/auth/operations/auth.d.ts.map +1 -1
  60. package/dist/auth/operations/auth.js.map +1 -1
  61. package/dist/auth/operations/login.d.ts +2 -1
  62. package/dist/auth/operations/login.d.ts.map +1 -1
  63. package/dist/auth/operations/login.js.map +1 -1
  64. package/dist/auth/operations/me.js.map +1 -1
  65. package/dist/auth/operations/refresh.d.ts.map +1 -1
  66. package/dist/auth/operations/refresh.js +9 -3
  67. package/dist/auth/operations/refresh.js.map +1 -1
  68. package/dist/auth/operations/resetPassword.d.ts.map +1 -1
  69. package/dist/auth/operations/resetPassword.js.map +1 -1
  70. package/dist/auth/sendVerificationEmail.d.ts +2 -2
  71. package/dist/auth/sendVerificationEmail.d.ts.map +1 -1
  72. package/dist/auth/sendVerificationEmail.js +1 -1
  73. package/dist/auth/sendVerificationEmail.js.map +1 -1
  74. package/dist/auth/sessions.d.ts +4 -5
  75. package/dist/auth/sessions.d.ts.map +1 -1
  76. package/dist/auth/sessions.js +5 -3
  77. package/dist/auth/sessions.js.map +1 -1
  78. package/dist/auth/strategies/apiKey.js.map +1 -1
  79. package/dist/auth/strategies/local/incrementLoginAttempts.d.ts +2 -2
  80. package/dist/auth/strategies/local/incrementLoginAttempts.d.ts.map +1 -1
  81. package/dist/auth/strategies/local/incrementLoginAttempts.js +1 -1
  82. package/dist/auth/strategies/local/incrementLoginAttempts.js.map +1 -1
  83. package/dist/auth/types.d.ts +28 -21
  84. package/dist/auth/types.d.ts.map +1 -1
  85. package/dist/auth/types.js.map +1 -1
  86. package/dist/bin/build.d.ts +25 -0
  87. package/dist/bin/build.d.ts.map +1 -0
  88. package/dist/bin/build.js +80 -0
  89. package/dist/bin/build.js.map +1 -0
  90. package/dist/bin/build.spec.js +170 -0
  91. package/dist/bin/build.spec.js.map +1 -0
  92. package/dist/bin/generateImportMap/index.d.ts.map +1 -1
  93. package/dist/bin/generateImportMap/index.js +8 -5
  94. package/dist/bin/generateImportMap/index.js.map +1 -1
  95. package/dist/bin/generateImportMap/iterateCollections.d.ts.map +1 -1
  96. package/dist/bin/generateImportMap/iterateCollections.js +11 -0
  97. package/dist/bin/generateImportMap/iterateCollections.js.map +1 -1
  98. package/dist/bin/generateImportMap/iterateConfig.d.ts.map +1 -1
  99. package/dist/bin/generateImportMap/iterateConfig.js +12 -0
  100. package/dist/bin/generateImportMap/iterateConfig.js.map +1 -1
  101. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts +5 -1
  102. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts.map +1 -1
  103. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js +32 -18
  104. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js.map +1 -1
  105. package/dist/bin/generateTypes.d.ts +3 -2
  106. package/dist/bin/generateTypes.d.ts.map +1 -1
  107. package/dist/bin/generateTypes.js +4 -0
  108. package/dist/bin/generateTypes.js.map +1 -1
  109. package/dist/bin/index.d.ts.map +1 -1
  110. package/dist/bin/index.js +9 -0
  111. package/dist/bin/index.js.map +1 -1
  112. package/dist/bin/loadEnv.d.ts +3 -1
  113. package/dist/bin/loadEnv.d.ts.map +1 -1
  114. package/dist/bin/loadEnv.js +40 -10
  115. package/dist/bin/loadEnv.js.map +1 -1
  116. package/dist/collections/config/client.d.ts +1 -1
  117. package/dist/collections/config/client.d.ts.map +1 -1
  118. package/dist/collections/config/client.js +1 -0
  119. package/dist/collections/config/client.js.map +1 -1
  120. package/dist/collections/config/defaults.d.ts +0 -4
  121. package/dist/collections/config/defaults.d.ts.map +1 -1
  122. package/dist/collections/config/defaults.js +2 -17
  123. package/dist/collections/config/defaults.js.map +1 -1
  124. package/dist/collections/config/defaults.spec.js +47 -0
  125. package/dist/collections/config/defaults.spec.js.map +1 -0
  126. package/dist/collections/config/sanitize.d.ts.map +1 -1
  127. package/dist/collections/config/sanitize.js +1 -11
  128. package/dist/collections/config/sanitize.js.map +1 -1
  129. package/dist/collections/config/types.d.ts +11 -7
  130. package/dist/collections/config/types.d.ts.map +1 -1
  131. package/dist/collections/config/types.js.map +1 -1
  132. package/dist/collections/endpoints/create.d.ts.map +1 -1
  133. package/dist/collections/endpoints/create.js +0 -2
  134. package/dist/collections/endpoints/create.js.map +1 -1
  135. package/dist/collections/endpoints/updateByID.d.ts.map +1 -1
  136. package/dist/collections/endpoints/updateByID.js +1 -2
  137. package/dist/collections/endpoints/updateByID.js.map +1 -1
  138. package/dist/collections/operations/count.d.ts.map +1 -1
  139. package/dist/collections/operations/count.js +1 -0
  140. package/dist/collections/operations/count.js.map +1 -1
  141. package/dist/collections/operations/create.d.ts +0 -1
  142. package/dist/collections/operations/create.d.ts.map +1 -1
  143. package/dist/collections/operations/create.js +15 -6
  144. package/dist/collections/operations/create.js.map +1 -1
  145. package/dist/collections/operations/delete.d.ts.map +1 -1
  146. package/dist/collections/operations/delete.js +3 -0
  147. package/dist/collections/operations/delete.js.map +1 -1
  148. package/dist/collections/operations/findDistinct.d.ts.map +1 -1
  149. package/dist/collections/operations/findDistinct.js +1 -0
  150. package/dist/collections/operations/findDistinct.js.map +1 -1
  151. package/dist/collections/operations/local/count.d.ts +3 -3
  152. package/dist/collections/operations/local/count.d.ts.map +1 -1
  153. package/dist/collections/operations/local/count.js.map +1 -1
  154. package/dist/collections/operations/local/countVersions.d.ts +3 -3
  155. package/dist/collections/operations/local/countVersions.d.ts.map +1 -1
  156. package/dist/collections/operations/local/countVersions.js.map +1 -1
  157. package/dist/collections/operations/local/create.d.ts +3 -3
  158. package/dist/collections/operations/local/create.d.ts.map +1 -1
  159. package/dist/collections/operations/local/create.js.map +1 -1
  160. package/dist/collections/operations/local/delete.d.ts +3 -3
  161. package/dist/collections/operations/local/delete.d.ts.map +1 -1
  162. package/dist/collections/operations/local/delete.js.map +1 -1
  163. package/dist/collections/operations/local/duplicate.d.ts +3 -3
  164. package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
  165. package/dist/collections/operations/local/duplicate.js.map +1 -1
  166. package/dist/collections/operations/local/find.d.ts +3 -3
  167. package/dist/collections/operations/local/find.d.ts.map +1 -1
  168. package/dist/collections/operations/local/find.js.map +1 -1
  169. package/dist/collections/operations/local/findByID.d.ts +3 -3
  170. package/dist/collections/operations/local/findByID.d.ts.map +1 -1
  171. package/dist/collections/operations/local/findByID.js.map +1 -1
  172. package/dist/collections/operations/local/findDistinct.d.ts +2 -2
  173. package/dist/collections/operations/local/findDistinct.d.ts.map +1 -1
  174. package/dist/collections/operations/local/findDistinct.js.map +1 -1
  175. package/dist/collections/operations/local/findVersionByID.d.ts +3 -3
  176. package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
  177. package/dist/collections/operations/local/findVersionByID.js.map +1 -1
  178. package/dist/collections/operations/local/findVersions.d.ts +3 -3
  179. package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
  180. package/dist/collections/operations/local/findVersions.js.map +1 -1
  181. package/dist/collections/operations/local/restoreVersion.d.ts +3 -3
  182. package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
  183. package/dist/collections/operations/local/restoreVersion.js.map +1 -1
  184. package/dist/collections/operations/local/update.d.ts +7 -11
  185. package/dist/collections/operations/local/update.d.ts.map +1 -1
  186. package/dist/collections/operations/local/update.js +1 -2
  187. package/dist/collections/operations/local/update.js.map +1 -1
  188. package/dist/collections/operations/update.d.ts +0 -1
  189. package/dist/collections/operations/update.d.ts.map +1 -1
  190. package/dist/collections/operations/update.js +8 -4
  191. package/dist/collections/operations/update.js.map +1 -1
  192. package/dist/collections/operations/updateByID.d.ts +0 -1
  193. package/dist/collections/operations/updateByID.d.ts.map +1 -1
  194. package/dist/collections/operations/updateByID.js +1 -5
  195. package/dist/collections/operations/updateByID.js.map +1 -1
  196. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.d.ts +9 -0
  197. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.d.ts.map +1 -0
  198. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.js +170 -0
  199. package/dist/collections/operations/utilities/copyDataWithFreshRowIDs.js.map +1 -0
  200. package/dist/collections/operations/utilities/types.d.ts +0 -9
  201. package/dist/collections/operations/utilities/types.d.ts.map +1 -1
  202. package/dist/collections/operations/utilities/types.js.map +1 -1
  203. package/dist/collections/operations/utilities/update.d.ts +1 -2
  204. package/dist/collections/operations/utilities/update.d.ts.map +1 -1
  205. package/dist/collections/operations/utilities/update.js +64 -65
  206. package/dist/collections/operations/utilities/update.js.map +1 -1
  207. package/dist/config/client.d.ts +2 -2
  208. package/dist/config/client.d.ts.map +1 -1
  209. package/dist/config/client.js.map +1 -1
  210. package/dist/config/defaults.d.ts +0 -4
  211. package/dist/config/defaults.d.ts.map +1 -1
  212. package/dist/config/defaults.js +0 -78
  213. package/dist/config/defaults.js.map +1 -1
  214. package/dist/config/definePlugin.d.ts +10 -10
  215. package/dist/config/definePlugin.d.ts.map +1 -1
  216. package/dist/config/definePlugin.js +7 -11
  217. package/dist/config/definePlugin.js.map +1 -1
  218. package/dist/config/orderable/index.d.ts.map +1 -1
  219. package/dist/config/orderable/index.js +23 -0
  220. package/dist/config/orderable/index.js.map +1 -1
  221. package/dist/config/sanitize.d.ts.map +1 -1
  222. package/dist/config/sanitize.js +137 -13
  223. package/dist/config/sanitize.js.map +1 -1
  224. package/dist/config/types.d.ts +57 -19
  225. package/dist/config/types.d.ts.map +1 -1
  226. package/dist/config/types.js +2 -0
  227. package/dist/config/types.js.map +1 -1
  228. package/dist/database/getLocalizedPaths.d.ts.map +1 -1
  229. package/dist/database/getLocalizedPaths.js +1 -1
  230. package/dist/database/getLocalizedPaths.js.map +1 -1
  231. package/dist/database/migrations/migrationsCollection.d.ts.map +1 -1
  232. package/dist/database/migrations/migrationsCollection.js +2 -1
  233. package/dist/database/migrations/migrationsCollection.js.map +1 -1
  234. package/dist/errors/ValidationError.d.ts +1 -0
  235. package/dist/errors/ValidationError.d.ts.map +1 -1
  236. package/dist/errors/ValidationError.js.map +1 -1
  237. package/dist/exports/internal.d.ts +1 -0
  238. package/dist/exports/internal.d.ts.map +1 -1
  239. package/dist/exports/internal.js +1 -0
  240. package/dist/exports/internal.js.map +1 -1
  241. package/dist/exports/migrations.d.ts +5 -13
  242. package/dist/exports/migrations.d.ts.map +1 -1
  243. package/dist/exports/migrations.js +5 -13
  244. package/dist/exports/migrations.js.map +1 -1
  245. package/dist/exports/shared.d.ts +23 -2
  246. package/dist/exports/shared.d.ts.map +1 -1
  247. package/dist/exports/shared.js +22 -1
  248. package/dist/exports/shared.js.map +1 -1
  249. package/dist/fields/baseFields/slug/countVersions.d.ts.map +1 -1
  250. package/dist/fields/baseFields/slug/countVersions.js +6 -8
  251. package/dist/fields/baseFields/slug/countVersions.js.map +1 -1
  252. package/dist/fields/baseFields/slug/generateSlug.d.ts +14 -7
  253. package/dist/fields/baseFields/slug/generateSlug.d.ts.map +1 -1
  254. package/dist/fields/baseFields/slug/generateSlug.js +53 -73
  255. package/dist/fields/baseFields/slug/generateSlug.js.map +1 -1
  256. package/dist/fields/baseFields/slug/types.d.ts +14 -0
  257. package/dist/fields/baseFields/slug/types.d.ts.map +1 -0
  258. package/dist/fields/baseFields/slug/types.js +6 -0
  259. package/dist/fields/baseFields/slug/types.js.map +1 -0
  260. package/dist/fields/config/client.d.ts +3 -3
  261. package/dist/fields/config/client.d.ts.map +1 -1
  262. package/dist/fields/config/client.js +13 -13
  263. package/dist/fields/config/client.js.map +1 -1
  264. package/dist/fields/config/sanitize.d.ts.map +1 -1
  265. package/dist/fields/config/sanitize.js +40 -4
  266. package/dist/fields/config/sanitize.js.map +1 -1
  267. package/dist/fields/config/types.d.ts +49 -28
  268. package/dist/fields/config/types.d.ts.map +1 -1
  269. package/dist/fields/config/types.js.map +1 -1
  270. package/dist/fields/hooks/afterChange/promise.js +1 -1
  271. package/dist/fields/hooks/afterChange/promise.js.map +1 -1
  272. package/dist/fields/hooks/afterRead/promise.d.ts.map +1 -1
  273. package/dist/fields/hooks/afterRead/promise.js +13 -3
  274. package/dist/fields/hooks/afterRead/promise.js.map +1 -1
  275. package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
  276. package/dist/fields/hooks/beforeChange/promise.js +3 -3
  277. package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
  278. package/dist/fields/hooks/beforeDuplicate/promise.js +2 -2
  279. package/dist/fields/hooks/beforeDuplicate/promise.js.map +1 -1
  280. package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
  281. package/dist/fields/hooks/beforeValidate/promise.js +11 -2
  282. package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
  283. package/dist/fields/setDefaultBeforeDuplicate.js +1 -0
  284. package/dist/fields/setDefaultBeforeDuplicate.js.map +1 -1
  285. package/dist/fields/sortableFieldTypes.d.ts.map +1 -1
  286. package/dist/fields/sortableFieldTypes.js +1 -0
  287. package/dist/fields/sortableFieldTypes.js.map +1 -1
  288. package/dist/fields/validations.d.ts +4 -1
  289. package/dist/fields/validations.d.ts.map +1 -1
  290. package/dist/fields/validations.js +12 -4
  291. package/dist/fields/validations.js.map +1 -1
  292. package/dist/globals/config/sanitize.d.ts.map +1 -1
  293. package/dist/globals/config/sanitize.js +2 -6
  294. package/dist/globals/config/sanitize.js.map +1 -1
  295. package/dist/globals/config/sanitize.spec.js +43 -0
  296. package/dist/globals/config/sanitize.spec.js.map +1 -0
  297. package/dist/globals/endpoints/update.d.ts.map +1 -1
  298. package/dist/globals/endpoints/update.js +0 -2
  299. package/dist/globals/endpoints/update.js.map +1 -1
  300. package/dist/globals/operations/local/countVersions.d.ts +3 -3
  301. package/dist/globals/operations/local/countVersions.d.ts.map +1 -1
  302. package/dist/globals/operations/local/countVersions.js.map +1 -1
  303. package/dist/globals/operations/local/findOne.d.ts +3 -3
  304. package/dist/globals/operations/local/findOne.d.ts.map +1 -1
  305. package/dist/globals/operations/local/findOne.js.map +1 -1
  306. package/dist/globals/operations/local/findVersionByID.d.ts +3 -3
  307. package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
  308. package/dist/globals/operations/local/findVersionByID.js.map +1 -1
  309. package/dist/globals/operations/local/findVersions.d.ts +3 -3
  310. package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
  311. package/dist/globals/operations/local/findVersions.js.map +1 -1
  312. package/dist/globals/operations/local/restoreVersion.d.ts +3 -3
  313. package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
  314. package/dist/globals/operations/local/restoreVersion.js.map +1 -1
  315. package/dist/globals/operations/local/update.d.ts +7 -9
  316. package/dist/globals/operations/local/update.d.ts.map +1 -1
  317. package/dist/globals/operations/local/update.js +1 -2
  318. package/dist/globals/operations/local/update.js.map +1 -1
  319. package/dist/globals/operations/update.d.ts +0 -1
  320. package/dist/globals/operations/update.d.ts.map +1 -1
  321. package/dist/globals/operations/update.js +52 -58
  322. package/dist/globals/operations/update.js.map +1 -1
  323. package/dist/index.bundled.d.ts +595 -368
  324. package/dist/index.d.ts +71 -26
  325. package/dist/index.d.ts.map +1 -1
  326. package/dist/index.js +54 -37
  327. package/dist/index.js.map +1 -1
  328. package/dist/kv/adapters/DatabaseKVAdapter.d.ts.map +1 -1
  329. package/dist/kv/adapters/DatabaseKVAdapter.js +1 -0
  330. package/dist/kv/adapters/DatabaseKVAdapter.js.map +1 -1
  331. package/dist/locked-documents/config.d.ts.map +1 -1
  332. package/dist/locked-documents/config.js +2 -1
  333. package/dist/locked-documents/config.js.map +1 -1
  334. package/dist/preferences/config.d.ts.map +1 -1
  335. package/dist/preferences/config.js +2 -1
  336. package/dist/preferences/config.js.map +1 -1
  337. package/dist/preferences/keys.d.ts +4 -0
  338. package/dist/preferences/keys.d.ts.map +1 -1
  339. package/dist/preferences/keys.js +4 -1
  340. package/dist/preferences/keys.js.map +1 -1
  341. package/dist/preferences/types.d.ts +15 -0
  342. package/dist/preferences/types.d.ts.map +1 -1
  343. package/dist/preferences/types.js +3 -1
  344. package/dist/preferences/types.js.map +1 -1
  345. package/dist/query-presets/config.d.ts.map +1 -1
  346. package/dist/query-presets/config.js +75 -35
  347. package/dist/query-presets/config.js.map +1 -1
  348. package/dist/query-presets/constraints.d.ts.map +1 -1
  349. package/dist/query-presets/constraints.js +2 -1
  350. package/dist/query-presets/constraints.js.map +1 -1
  351. package/dist/queues/config/collection.d.ts.map +1 -1
  352. package/dist/queues/config/collection.js +2 -1
  353. package/dist/queues/config/collection.js.map +1 -1
  354. package/dist/queues/config/generateJobsJSONSchemas.js +2 -2
  355. package/dist/queues/config/generateJobsJSONSchemas.js.map +1 -1
  356. package/dist/queues/config/global.d.ts.map +1 -1
  357. package/dist/queues/config/global.js +2 -1
  358. package/dist/queues/config/global.js.map +1 -1
  359. package/dist/types/index.d.ts +8 -3
  360. package/dist/types/index.d.ts.map +1 -1
  361. package/dist/types/index.js.map +1 -1
  362. package/dist/uploads/generateFileData.d.ts +2 -1
  363. package/dist/uploads/generateFileData.d.ts.map +1 -1
  364. package/dist/uploads/generateFileData.js +5 -2
  365. package/dist/uploads/generateFileData.js.map +1 -1
  366. package/dist/uploads/matchMimeType.d.ts +8 -0
  367. package/dist/uploads/matchMimeType.d.ts.map +1 -0
  368. package/dist/uploads/matchMimeType.js +19 -0
  369. package/dist/uploads/matchMimeType.js.map +1 -0
  370. package/dist/uploads/matchMimeType.spec.js +66 -0
  371. package/dist/uploads/matchMimeType.spec.js.map +1 -0
  372. package/dist/uploads/safeFetch.d.ts.map +1 -1
  373. package/dist/uploads/safeFetch.js +11 -5
  374. package/dist/uploads/safeFetch.js.map +1 -1
  375. package/dist/uploads/types.d.ts +21 -0
  376. package/dist/uploads/types.d.ts.map +1 -1
  377. package/dist/uploads/types.js.map +1 -1
  378. package/dist/utilities/addDataAndFileToRequest.d.ts.map +1 -1
  379. package/dist/utilities/addDataAndFileToRequest.js +6 -0
  380. package/dist/utilities/addDataAndFileToRequest.js.map +1 -1
  381. package/dist/utilities/appendDateTimezoneSelectFields.js +2 -2
  382. package/dist/utilities/appendDateTimezoneSelectFields.js.map +1 -1
  383. package/dist/utilities/configToJSONSchema.d.ts +36 -2
  384. package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
  385. package/dist/utilities/configToJSONSchema.js +204 -84
  386. package/dist/utilities/configToJSONSchema.js.map +1 -1
  387. package/dist/utilities/configToJSONSchema.spec.js +534 -29
  388. package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
  389. package/dist/utilities/createLocalReq.d.ts +2 -2
  390. package/dist/utilities/createLocalReq.d.ts.map +1 -1
  391. package/dist/utilities/createLocalReq.js.map +1 -1
  392. package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
  393. package/dist/utilities/createPayloadRequest.js +1 -0
  394. package/dist/utilities/createPayloadRequest.js.map +1 -1
  395. package/dist/utilities/deepCopyObject.d.ts.map +1 -1
  396. package/dist/utilities/deepCopyObject.js +8 -0
  397. package/dist/utilities/deepCopyObject.js.map +1 -1
  398. package/dist/utilities/dependencies/dependencyChecker.js +1 -1
  399. package/dist/utilities/dependencies/dependencyChecker.js.map +1 -1
  400. package/dist/utilities/dependencies/getDependencies.d.ts.map +1 -1
  401. package/dist/utilities/dependencies/getDependencies.js +5 -5
  402. package/dist/utilities/dependencies/getDependencies.js.map +1 -1
  403. package/dist/utilities/dynamicImport.js +1 -1
  404. package/dist/utilities/dynamicImport.js.map +1 -1
  405. package/dist/utilities/filterDataToSelectedLocales.d.ts.map +1 -1
  406. package/dist/utilities/filterDataToSelectedLocales.js +5 -12
  407. package/dist/utilities/filterDataToSelectedLocales.js.map +1 -1
  408. package/dist/utilities/filterDataToSelectedLocales.spec.js +1 -2
  409. package/dist/utilities/filterDataToSelectedLocales.spec.js.map +1 -1
  410. package/dist/utilities/flattenAllFields.d.ts.map +1 -1
  411. package/dist/utilities/flattenAllFields.js +7 -22
  412. package/dist/utilities/flattenAllFields.js.map +1 -1
  413. package/dist/utilities/formatErrors.d.ts.map +1 -1
  414. package/dist/utilities/formatErrors.js +3 -1
  415. package/dist/utilities/formatErrors.js.map +1 -1
  416. package/dist/utilities/getEntityPermissions/getEntityPermissions.d.ts.map +1 -1
  417. package/dist/utilities/getEntityPermissions/getEntityPermissions.js +2 -0
  418. package/dist/utilities/getEntityPermissions/getEntityPermissions.js.map +1 -1
  419. package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts +7 -1
  420. package/dist/utilities/getEntityPermissions/populateFieldPermissions.d.ts.map +1 -1
  421. package/dist/utilities/getEntityPermissions/populateFieldPermissions.js +24 -7
  422. package/dist/utilities/getEntityPermissions/populateFieldPermissions.js.map +1 -1
  423. package/dist/utilities/getFieldByPath.d.ts.map +1 -1
  424. package/dist/utilities/getFieldByPath.js +1 -1
  425. package/dist/utilities/getFieldByPath.js.map +1 -1
  426. package/dist/utilities/getRequestLanguage.d.ts +2 -2
  427. package/dist/utilities/getRequestLanguage.d.ts.map +1 -1
  428. package/dist/utilities/getRequestLanguage.js.map +1 -1
  429. package/dist/utilities/getVersionsConfig.js.map +1 -1
  430. package/dist/utilities/handleEndpoints.d.ts.map +1 -1
  431. package/dist/utilities/handleEndpoints.js +7 -3
  432. package/dist/utilities/handleEndpoints.js.map +1 -1
  433. package/dist/utilities/isURLAllowed.d.ts.map +1 -1
  434. package/dist/utilities/isURLAllowed.js +9 -3
  435. package/dist/utilities/isURLAllowed.js.map +1 -1
  436. package/dist/utilities/isURLAllowed.spec.js +78 -0
  437. package/dist/utilities/isURLAllowed.spec.js.map +1 -0
  438. package/dist/utilities/mergeLocalizedData.d.ts +14 -4
  439. package/dist/utilities/mergeLocalizedData.d.ts.map +1 -1
  440. package/dist/utilities/mergeLocalizedData.js +54 -46
  441. package/dist/utilities/mergeLocalizedData.js.map +1 -1
  442. package/dist/utilities/mergeLocalizedData.spec.js +23 -23
  443. package/dist/utilities/mergeLocalizedData.spec.js.map +1 -1
  444. package/dist/utilities/parseParams/index.d.ts +2 -5
  445. package/dist/utilities/parseParams/index.d.ts.map +1 -1
  446. package/dist/utilities/parseParams/index.js.map +1 -1
  447. package/dist/utilities/parseParams/index.spec.js +0 -9
  448. package/dist/utilities/parseParams/index.spec.js.map +1 -1
  449. package/dist/utilities/telemetry/events/adminInit.d.ts.map +1 -1
  450. package/dist/utilities/telemetry/events/adminInit.js +2 -3
  451. package/dist/utilities/telemetry/events/adminInit.js.map +1 -1
  452. package/dist/utilities/telemetry/events/serverInit.d.ts.map +1 -1
  453. package/dist/utilities/telemetry/events/serverInit.js +2 -3
  454. package/dist/utilities/telemetry/events/serverInit.js.map +1 -1
  455. package/dist/utilities/telemetry/index.d.ts +14 -3
  456. package/dist/utilities/telemetry/index.d.ts.map +1 -1
  457. package/dist/utilities/telemetry/index.js +6 -1
  458. package/dist/utilities/telemetry/index.js.map +1 -1
  459. package/dist/utilities/telemetry/index.spec.js +43 -0
  460. package/dist/utilities/telemetry/index.spec.js.map +1 -0
  461. package/dist/utilities/transformColumnPreferences.js +4 -2
  462. package/dist/utilities/transformColumnPreferences.js.map +1 -1
  463. package/dist/utilities/traverseFields.d.ts.map +1 -1
  464. package/dist/utilities/traverseFields.js +2 -4
  465. package/dist/utilities/traverseFields.js.map +1 -1
  466. package/dist/utilities/traverseForLocalizedFields.d.ts.map +1 -1
  467. package/dist/utilities/traverseForLocalizedFields.js +3 -0
  468. package/dist/utilities/traverseForLocalizedFields.js.map +1 -1
  469. package/dist/versions/baseFields.d.ts +1 -2
  470. package/dist/versions/baseFields.d.ts.map +1 -1
  471. package/dist/versions/baseFields.js +0 -13
  472. package/dist/versions/baseFields.js.map +1 -1
  473. package/dist/versions/buildCollectionFields.d.ts.map +1 -1
  474. package/dist/versions/buildCollectionFields.js +0 -2
  475. package/dist/versions/buildCollectionFields.js.map +1 -1
  476. package/dist/versions/buildGlobalFields.d.ts.map +1 -1
  477. package/dist/versions/buildGlobalFields.js +0 -2
  478. package/dist/versions/buildGlobalFields.js.map +1 -1
  479. package/dist/versions/buildSingleLocalePublishData.d.ts +32 -0
  480. package/dist/versions/buildSingleLocalePublishData.d.ts.map +1 -0
  481. package/dist/versions/buildSingleLocalePublishData.js +37 -0
  482. package/dist/versions/buildSingleLocalePublishData.js.map +1 -0
  483. package/dist/versions/saveVersion.d.ts +0 -2
  484. package/dist/versions/saveVersion.d.ts.map +1 -1
  485. package/dist/versions/saveVersion.js +12 -17
  486. package/dist/versions/saveVersion.js.map +1 -1
  487. package/dist/versions/schedule/job.d.ts.map +1 -1
  488. package/dist/versions/schedule/job.js +6 -10
  489. package/dist/versions/schedule/job.js.map +1 -1
  490. package/dist/versions/types.d.ts +2 -15
  491. package/dist/versions/types.d.ts.map +1 -1
  492. package/dist/versions/types.js.map +1 -1
  493. package/package.json +9 -6
  494. package/dist/database/migrations/templates/localizeStatus.d.ts +0 -10
  495. package/dist/database/migrations/templates/localizeStatus.d.ts.map +0 -1
  496. package/dist/database/migrations/templates/localizeStatus.js +0 -54
  497. package/dist/database/migrations/templates/localizeStatus.js.map +0 -1
  498. package/dist/fields/baseFields/slug/index.d.ts +0 -89
  499. package/dist/fields/baseFields/slug/index.d.ts.map +0 -1
  500. package/dist/fields/baseFields/slug/index.js +0 -81
  501. package/dist/fields/baseFields/slug/index.js.map +0 -1
  502. package/dist/versions/migrations/localizeStatus/index.d.ts +0 -12
  503. package/dist/versions/migrations/localizeStatus/index.d.ts.map +0 -1
  504. package/dist/versions/migrations/localizeStatus/index.js +0 -33
  505. package/dist/versions/migrations/localizeStatus/index.js.map +0 -1
  506. package/dist/versions/migrations/localizeStatus/mongo/down.d.ts +0 -9
  507. package/dist/versions/migrations/localizeStatus/mongo/down.d.ts.map +0 -1
  508. package/dist/versions/migrations/localizeStatus/mongo/down.js +0 -112
  509. package/dist/versions/migrations/localizeStatus/mongo/down.js.map +0 -1
  510. package/dist/versions/migrations/localizeStatus/mongo/index.d.ts +0 -8
  511. package/dist/versions/migrations/localizeStatus/mongo/index.d.ts.map +0 -1
  512. package/dist/versions/migrations/localizeStatus/mongo/index.js +0 -8
  513. package/dist/versions/migrations/localizeStatus/mongo/index.js.map +0 -1
  514. package/dist/versions/migrations/localizeStatus/mongo/up.d.ts +0 -9
  515. package/dist/versions/migrations/localizeStatus/mongo/up.d.ts.map +0 -1
  516. package/dist/versions/migrations/localizeStatus/mongo/up.js +0 -220
  517. package/dist/versions/migrations/localizeStatus/mongo/up.js.map +0 -1
  518. package/dist/versions/migrations/localizeStatus/sql/down.d.ts +0 -11
  519. package/dist/versions/migrations/localizeStatus/sql/down.d.ts.map +0 -1
  520. package/dist/versions/migrations/localizeStatus/sql/down.js +0 -213
  521. package/dist/versions/migrations/localizeStatus/sql/down.js.map +0 -1
  522. package/dist/versions/migrations/localizeStatus/sql/index.d.ts +0 -8
  523. package/dist/versions/migrations/localizeStatus/sql/index.d.ts.map +0 -1
  524. package/dist/versions/migrations/localizeStatus/sql/index.js +0 -8
  525. package/dist/versions/migrations/localizeStatus/sql/index.js.map +0 -1
  526. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.d.ts +0 -13
  527. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.d.ts.map +0 -1
  528. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.js +0 -51
  529. package/dist/versions/migrations/localizeStatus/sql/migrateMainCollection.js.map +0 -1
  530. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.d.ts +0 -13
  531. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.d.ts.map +0 -1
  532. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.js +0 -54
  533. package/dist/versions/migrations/localizeStatus/sql/migrateMainGlobal.js.map +0 -1
  534. package/dist/versions/migrations/localizeStatus/sql/up.d.ts +0 -11
  535. package/dist/versions/migrations/localizeStatus/sql/up.d.ts.map +0 -1
  536. package/dist/versions/migrations/localizeStatus/sql/up.js +0 -277
  537. package/dist/versions/migrations/localizeStatus/sql/up.js.map +0 -1
  538. package/dist/versions/saveSnapshot.d.ts +0 -18
  539. package/dist/versions/saveSnapshot.d.ts.map +0 -1
  540. package/dist/versions/saveSnapshot.js +0 -38
  541. 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" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "commandPalette:title" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "error:autosaving" | "error:correctInvalidFields" | "error:deletingTitle" | "error:documentNotFound" | "error:emailOrPasswordIncorrect" | "error:failedToResetLayout" | "error:failedToSaveLayout" | "error:insufficientClipboardPermissions" | "error:invalidClipboardData" | "error:invalidFileType" | "error:invalidRequestArgs" | "error:loadingDocument" | "error:logoutFailed" | "error:noMatchedField" | "error:notAllowedToAccessPage" | "error:notAllowedToPerformAction" | "error:previewing" | "error:problemUploadingFile" | "error:restoringTitle" | "error:revertingDocument" | "error:tokenNotProvided" | "error:unableToCopy" | "error:unableToDeleteCount" | "error:unableToReindexCollection" | "error:unableToUpdateCount" | "error:unauthorized" | "error:unauthorizedAdmin" | "error:unknown" | "error:unPublishingDocument" | "error:unspecific" | "error:unverifiedEmail" | "error:userEmailAlreadyRegistered" | "error:usernameAlreadyRegistered" | "error:usernameOrPasswordIncorrect" | "fields:blocks" | "fields:addLabel" | "fields:addLink" | "fields:addNew" | "fields:addNewLabel" | "fields:addRelationship" | "fields:addUpload" | "fields:block" | "fields:blockType" | "fields:chooseBetweenCustomTextOrDocument" | "fields:chooseDocumentToLink" | "fields:chooseFromExisting" | "fields:collapseAll" | "fields:customURL" | "fields:editLink" | "fields:editRelationship" | "fields:enterURL" | "fields:hidePassword" | "fields:internalLink" | "fields:itemsAndMore" | "fields:labelRelationship" | "fields:latitude" | "fields:linkedTo" | "fields:linkType" | "fields:longitude" | "fields:openInNewTab" | "fields:passwordsDoNotMatch" | "fields:removeRelationship" | "fields:removeUpload" | "fields:saveChanges" | "fields:searchForBlock" | "fields:searchForLanguage" | "fields:selectFieldsToEdit" | "fields:showAll" | "fields:showPassword" | "fields:swapRelationship" | "fields:swapUpload" | "fields:textToDisplay" | "fields:toggleBlock" | "fields:uploadNewLabel" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:createNew" | "general:noResults" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:addBelow" | "general:addFilter" | "general:adminTheme" | "general:all" | "general:allCollections" | "general:allLocales" | "general:and" | "general:anotherUser" | "general:anotherUserTakenOver" | "general:applyChanges" | "general:ascending" | "general:automatic" | "general:backToDashboard" | "general:by" | "general:cancel" | "general:changesNotSaved" | "general:checked" | "general:clear" | "general:clearAll" | "general:close" | "general:collapse" | "general:collection" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:manageLabel" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:noMatchesFound" | "general:none" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general:overwriteExistingData" | "general:pageNotFound" | "general:password" | "general:pasteField" | "general:pasteRow" | "general:payloadSettings" | "general:permanentlyDelete" | "general:permanentlyDeletedCountSuccessfully" | "general:perPage" | "general:perPageLabel" | "general:previous" | "general:reindex" | "general:reindexingAll" | "general:reloadDocument" | "general:remove" | "general:rename" | "general:reset" | "general:resetPreferences" | "general:resetPreferencesDescription" | "general:resettingPreferences" | "general:restore" | "general:restoreAsPublished" | "general:restoredCountSuccessfully" | "general:restoring" | "general:retry" | "general:row" | "general:rows" | "general:save" | "general:saving" | "general:schedulePublishFor" | "general:searchBy" | "general:searchColumns" | "general:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general:thisLanguage" | "general:time" | "general:timezone" | "general:titleDeleted" | "general:titleRestored" | "general:titleTrashed" | "general:toggle" | "general:trash" | "general:trashedCountSuccessfully" | "general:true" | "general:unchecked" | "general:unlock" | "general:unsavedChanges" | "general:unsavedChangesDuplicate" | "general:untitled" | "general:upcomingEvents" | "general:updatedAgo" | "general:updatedAt" | "general:updatedCountSuccessfully" | "general:updatedLabelSuccessfully" | "general:updatedSuccessfully" | "general:updateForEveryone" | "general:updating" | "general:uploading" | "general:uploadingBulk" | "general:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:yes" | "hierarchy:noResults" | "hierarchy:itemsMovedTo" | "hierarchy:itemsMovedToRoot" | "hierarchy:moveItemsToRootConfirmation" | "hierarchy:moveToRoot" | "hierarchy:noParent" | "hierarchy:searchLabel" | "localization:cannotCopySameLocale" | "localization:copyFrom" | "localization:copyFromTo" | "localization:copyTo" | "localization:copyToLocale" | "localization:localeToPublish" | "localization:selectedLocales" | "localization:selectLocaleToCopy" | "localization:selectLocaleToDuplicate" | "operators:contains" | "operators:equals" | "operators:exists" | "operators:intersects" | "operators:near" | "operators:within" | "operators:isGreaterThan" | "operators:isGreaterThanOrEqualTo" | "operators:isIn" | "operators:isLessThan" | "operators:isLessThanOrEqualTo" | "operators:isLike" | "operators:isNotEqualTo" | "operators:isNotIn" | "operators:isNotLike" | "upload:addFile" | "upload:addFiles" | "upload:bulkUpload" | "upload:crop" | "upload:cropToolDescription" | "upload:download" | "upload:dragAndDrop" | "upload:editImage" | "upload:fileName" | "upload:fileSize" | "upload:filesToUpload" | "upload:fileToUpload" | "upload:focalPoint" | "upload:focalPointDescription" | "upload:height" | "upload:noFile" | "upload:pasteURL" | "upload:previewSizes" | "upload:selectCollectionToBrowse" | "upload:selectFile" | "upload:setCropArea" | "upload:setFocalPoint" | "upload:sizes" | "upload:sizesFor" | "upload:width" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
21
+ 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:emailVerifiedRedirecting" | "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:notRedirected" | "authentication:passed" | "authentication:passwordResetSuccessfully" | "authentication:resetPassword" | "authentication:stayLoggedIn" | "authentication:successfullyRegisteredFirstUser" | "authentication:successfullyUnlocked" | "authentication:tokenRefreshSuccessful" | "authentication:unableToVerify" | "authentication:username" | "authentication:verified" | "authentication:verifiedSuccessfully" | "authentication:verify" | "authentication:verifyUser" | "authentication:youAreInactive" | "commandPalette:createNew" | "commandPalette:hintClose" | "commandPalette:hintCreate" | "commandPalette:hintNavigate" | "commandPalette:hintSelect" | "commandPalette:noResults" | "commandPalette:placeholder" | "commandPalette:title" | "dashboard:addButton" | "dashboard:addWidget" | "dashboard:deleteWidget" | "dashboard:discardConfirmLabel" | "dashboard:discardMessage" | "dashboard:discardTitle" | "dashboard:editDashboard" | "dashboard:editingDashboard" | "dashboard:noItems" | "dashboard:resetLayout" | "dashboard:searchWidgets" | "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" | "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" | "general:items" | "general:of" | "general:language" | "general:dashboard" | "general:error" | "general:username" | "general:createNew" | "general:noResults" | "general:notFound" | "general:unauthorized" | "general:newLabel" | "general:saveChanges" | "general:name" | "general:aboutToDelete" | "general:aboutToPermanentlyDelete" | "general:aboutToPermanentlyDeleteTrash" | "general:aboutToRestore" | "general:aboutToRestoreAsDraft" | "general:aboutToRestoreAsDraftCount" | "general:aboutToRestoreCount" | "general:aboutToTrash" | "general:aboutToTrashCount" | "general:accepts" | "general:access" | "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:collection" | "general:collections" | "general:columns" | "general:columnToSort" | "general:confirm" | "general:confirmCopy" | "general:confirmDeletion" | "general:confirmDuplication" | "general:confirmMove" | "general:confirmReindex" | "general:confirmReindexAll" | "general:confirmReindexDescription" | "general:confirmReindexDescriptionAll" | "general:confirmRestoration" | "general:copied" | "general:copy" | "general:copyField" | "general:copying" | "general:copyRow" | "general:copyWarning" | "general:create" | "general:created" | "general:createdAt" | "general:createNewLabel" | "general:creating" | "general:creatingNewLabel" | "general:currentlyEditing" | "general:custom" | "general:dark" | "general:decrement" | "general:delete" | "general:deleted" | "general:deletedAgo" | "general:deletedAt" | "general:deletedCountSuccessfully" | "general:deletedSuccessfully" | "general:deleteLabel" | "general:deletePermanently" | "general:deleting" | "general:depth" | "general:descending" | "general:deselectAllRows" | "general:document" | "general:documentIsTrashed" | "general:documentLocked" | "general:documentModified" | "general:documentOutOfDate" | "general:documents" | "general:dragToReorder" | "general:duplicate" | "general:duplicateWithoutSaving" | "general:edit" | "general:editAll" | "general:editColumns" | "general:editedSince" | "general:editing" | "general:editingTakenOver" | "general:editLabel" | "general:email" | "general:emailAddress" | "general:emptyTrash" | "general:emptyTrashLabel" | "general:enhancedContrastMode" | "general:enterANumber" | "general:enterAValue" | "general:errors" | "general:exitLivePreview" | "general:expand" | "general:export" | "general:fallbackToDefaultLocale" | "general:false" | "general:field" | "general:filter" | "general:filters" | "general:filterWhere" | "general:globals" | "general:goBack" | "general:groupByLabel" | "general:hideSidebar" | "general:import" | "general:increment" | "general:isEditing" | "general:item" | "general:lastModified" | "general:layout" | "general:leaveAnyway" | "general:leaveWithoutSaving" | "general:light" | "general:livePreview" | "general:loading" | "general:loadMore" | "general:locale" | "general:locales" | "general:lock" | "general:manageLabel" | "general:menu" | "general:moreOptions" | "general:move" | "general:moveConfirm" | "general:moveCount" | "general:moveDown" | "general:moveUp" | "general:moving" | "general:movingCount" | "general:next" | "general:no" | "general:noDateSelected" | "general:noFiltersSet" | "general:noLabel" | "general:noMatchesFound" | "general:none" | "general:noOptions" | "general:noResultsDescription" | "general:noResultsFound" | "general:nothingFound" | "general:noTrashResults" | "general:notShownInTable" | "general:noUpcomingEventsScheduled" | "general:noValue" | "general:only" | "general:open" | "general:openInNewWindow" | "general:or" | "general:order" | "general: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:select" | "general:selectAll" | "general:selectAllRows" | "general:selectedCount" | "general:selectLabel" | "general:selectValue" | "general:settings" | "general:showAllLabel" | "general:shownInTable" | "general:showSidebar" | "general:sorryNotFound" | "general:sort" | "general:sortByLabelDirection" | "general:stayOnThisPage" | "general:submissionSuccessful" | "general:submit" | "general:submitting" | "general:success" | "general:successfullyCreated" | "general:successfullyDuplicated" | "general:successfullyReindexed" | "general:takeOver" | "general: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:user" | "general:users" | "general:value" | "general:viewing" | "general:viewReadOnly" | "general:welcome" | "general:where" | "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: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" | "validation:username" | "validation:emailAddress" | "validation:enterNumber" | "validation:fieldHasNo" | "validation:greaterThanMax" | "validation:invalidBlock" | "validation:invalidBlocks" | "validation:invalidInput" | "validation:invalidSelection" | "validation:invalidSelections" | "validation:latitudeOutOfBounds" | "validation:lessThanMin" | "validation:limitReached" | "validation:longerThanMin" | "validation:longitudeOutOfBounds" | "validation:notValidDate" | "validation:required" | "validation:requiresAtLeast" | "validation:requiresNoMoreThan" | "validation:requiresTwoNumbers" | "validation:shorterThanMax" | "validation:timezoneRequired" | "validation:trueOrFalse" | "validation:validUploadID" | "version:version" | "version:aboutToRestore" | "version:restoring" | "version:type" | "version:aboutToPublishSelection" | "version:aboutToRestoreGlobal" | "version:aboutToRevertToPublished" | "version:aboutToUnpublish" | "version:aboutToUnpublishIn" | "version:aboutToUnpublishSelection" | "version:autosave" | "version:autosavedSuccessfully" | "version:autosavedVersion" | "version:changed" | "version:compareVersions" | "version:comparingAgainst" | "version:confirmPublish" | "version:confirmRevertToSaved" | "version:confirmUnpublish" | "version:confirmVersionRestoration" | "version:currentDraft" | "version:currentlyPublished" | "version:currentlyViewing" | "version:currentPublishedVersion" | "version:draft" | "version:draftHasPublishedVersion" | "version:draftSavedSuccessfully" | "version:lastSavedAgo" | "version:modifiedOnly" | "version:moreVersions" | "version:noFurtherVersionsFound" | "version:noLabelGroup" | "version:noRowsFound" | "version:noRowsSelected" | "version:preview" | "version:previouslyDraft" | "version:previouslyPublished" | "version:previousVersion" | "version:problemRestoringVersion" | "version:publish" | "version:publishAllLocales" | "version:publishChanges" | "version:published" | "version:publishIn" | "version:publishing" | "version:restoreAsDraft" | "version:restoredSuccessfully" | "version:restoreThisVersion" | "version:reverting" | "version:revertToPublished" | "version:revertUnsuccessful" | "version:saveDraft" | "version:scheduledSuccessfully" | "version:schedulePublish" | "version:selectLocales" | "version:selectVersionToCompare" | "version:showLocales" | "version:specificVersion" | "version:status" | "version:unpublish" | "version:unpublished" | "version:unpublishedSuccessfully" | "version:unpublishIn" | "version:unpublishing" | "version:versionAgo" | "version:versionID" | "version:versions" | "version:viewingVersion" | "version:viewingVersionGlobal" | "version:viewingVersions" | "version:viewingVersionsGlobal" | "general:aboutToDeleteCount" | "general:editingLabel" | "version:changedFieldsCount")[];
23
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;
@@ -120,6 +122,22 @@ declare const enTranslations: {
120
122
  noItems: string;
121
123
  resetLayout: string;
122
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;
123
141
  };
124
142
  error: {
125
143
  accountAlreadyActivated: string;
@@ -184,6 +202,7 @@ declare const enTranslations: {
184
202
  addRelationship: string;
185
203
  addUpload: string;
186
204
  block: string;
205
+ blockName: string;
187
206
  blocks: string;
188
207
  blockType: string;
189
208
  chooseBetweenCustomTextOrDocument: string;
@@ -239,6 +258,7 @@ declare const enTranslations: {
239
258
  aboutToTrash: string;
240
259
  aboutToTrashCount: string;
241
260
  accepts: string;
261
+ access: string;
242
262
  addBelow: string;
243
263
  addFilter: string;
244
264
  adminTheme: string;
@@ -250,6 +270,7 @@ declare const enTranslations: {
250
270
  anotherUserTakenOver: string;
251
271
  applyChanges: string;
252
272
  ascending: string;
273
+ auto: string;
253
274
  automatic: string;
254
275
  backToDashboard: string;
255
276
  by: string;
@@ -397,6 +418,7 @@ declare const enTranslations: {
397
418
  openInNewWindow: string;
398
419
  or: string;
399
420
  order: string;
421
+ original: string;
400
422
  overwriteExistingData: string;
401
423
  pageNotFound: string;
402
424
  password: string;
@@ -407,6 +429,7 @@ declare const enTranslations: {
407
429
  permanentlyDeletedCountSuccessfully: string;
408
430
  perPage: string;
409
431
  perPageLabel: string;
432
+ presets: string;
410
433
  previous: string;
411
434
  reindex: string;
412
435
  reindexingAll: string;
@@ -436,6 +459,7 @@ declare const enTranslations: {
436
459
  selectedCount: string;
437
460
  selectLabel: string;
438
461
  selectValue: string;
462
+ settings: string;
439
463
  showAllLabel: string;
440
464
  shownInTable: string;
441
465
  showSidebar: string;
@@ -451,6 +475,7 @@ declare const enTranslations: {
451
475
  successfullyDuplicated: string;
452
476
  successfullyReindexed: string;
453
477
  takeOver: string;
478
+ theme: string;
454
479
  thisLanguage: string;
455
480
  time: string;
456
481
  timezone: string;
@@ -484,6 +509,7 @@ declare const enTranslations: {
484
509
  viewing: string;
485
510
  viewReadOnly: string;
486
511
  welcome: string;
512
+ where: string;
487
513
  yes: string;
488
514
  };
489
515
  hierarchy: {
@@ -539,12 +565,16 @@ declare const enTranslations: {
539
565
  fileToUpload: string;
540
566
  focalPoint: string;
541
567
  focalPointDescription: string;
568
+ fromURL: string;
542
569
  height: string;
543
570
  lessInfo: string;
571
+ linkToFile: string;
544
572
  moreInfo: string;
545
573
  noFile: string;
546
574
  pasteURL: string;
547
575
  previewSizes: string;
576
+ renameFile: string;
577
+ replaceFile: string;
548
578
  selectCollectionToBrowse: string;
549
579
  selectFile: string;
550
580
  setCropArea: string;
@@ -685,11 +715,14 @@ type NestedKeysStripped<T> = T extends object ? {
685
715
  * Default nested translations object
686
716
  */
687
717
  type DefaultTranslationsObject = typeof enTranslations;
718
+ interface CustomTranslationKeys {
719
+ }
720
+ type CustomTranslationKey = CustomTranslationKeys[keyof CustomTranslationKeys] & string;
688
721
  /**
689
722
  * All translation keys sanitized. E.g. 'general:aboutToDeleteCount'
690
723
  */
691
- type DefaultTranslationKeys = NestedKeysStripped<DefaultTranslationsObject>;
692
- type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number]> = TExtraProps;
724
+ type DefaultTranslationKeys = CustomTranslationKey | NestedKeysStripped<DefaultTranslationsObject>;
725
+ type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number] | CustomTranslationKey> = TExtraProps;
693
726
  type ClientTranslationsObject = GenericTranslationsObject;
694
727
  type TFunction<TTranslationKeys = DefaultTranslationKeys> = (key: TTranslationKeys, options?: Record<string, any>) => string;
695
728
  type I18n<TTranslations = DefaultTranslationsObject, TTranslationKeys = DefaultTranslationKeys> = {
@@ -800,6 +833,20 @@ type ServerAdapter = {
800
833
  unauthorized: () => never;
801
834
  };
802
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
+
803
850
  /** @deprecated Use `instanceof APIError` instead of name comparison. */
804
851
  declare const APIErrorName = "APIError";
805
852
  declare class ExtendableError<TData extends object = {
@@ -834,6 +881,7 @@ type ValidationFieldError = {
834
881
  label?: LabelFunction | StaticLabel;
835
882
  message: string;
836
883
  path: string;
884
+ tableName?: string;
837
885
  };
838
886
  declare class ValidationError extends APIError<{
839
887
  collection?: string;
@@ -940,28 +988,38 @@ type SanitizedPermissions = {
940
988
  [globalSlug: string]: SanitizedGlobalPermission;
941
989
  };
942
990
  };
943
- type BaseUser = {
944
- collection: string;
945
- email?: string;
946
- id: number | string;
947
- sessions?: Array<UserSession>;
948
- 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. Present only when sessions are enabled.
999
+ */
1000
+ _sid?: string;
1001
+ /**
1002
+ * The name of the auth strategy that authenticated the request (e.g. `local-jwt`).
1003
+ */
1004
+ _strategy?: string;
949
1005
  };
950
1006
  /**
951
- * @deprecated Use `TypedUser` instead. This will be removed in 4.0.
1007
+ * Note: AuthenticatedUser still carries the write-only `password` from `User` (always `undefined` at runtime).
1008
+ * Stripping it cleanly isn't possible, because auth operations build the authenticated user
1009
+ * from a read `User` doc, so a `never`-typed `password` would break those assignments
952
1010
  */
953
- type UntypedUser = {
954
- [key: string]: any;
955
- } & BaseUser;
956
1011
  /**
957
- * `collection` is not available one the client. It's only available on the server (req.user)
958
- * On the client, you can access the collection via config.admin.user. Config can be accessed using the useConfig() hook
1012
+ * The signed-in user: the read user plus the runtime auth markers (`_strategy`, `_sid`). This is
1013
+ * what `req.user`, `payload.auth()`, the `me` operation, and auth strategies return.
959
1014
  */
960
- type ClientUser = {
961
- [key: string]: any;
962
- } & BaseUser;
1015
+ type AuthenticatedUser = AuthRuntimeFields & User;
1016
+ /**
1017
+ * The user as available on the client (`useAuth().user`). It is the authenticated user as
1018
+ * serialized to the browser: `collection` and `_strategy` are present, `_sid` is not sent.
1019
+ */
1020
+ type ClientUser = AuthenticatedUser;
963
1021
  type UserSession = {
964
- createdAt: Date | string;
1022
+ createdAt?: Date | null | string;
965
1023
  expiresAt: Date | string;
966
1024
  id: string;
967
1025
  };
@@ -1000,10 +1058,7 @@ type AuthStrategyFunctionArgs = {
1000
1058
  };
1001
1059
  type AuthStrategyResult = {
1002
1060
  responseHeaders?: Headers;
1003
- user: ({
1004
- _strategy?: string;
1005
- collection?: string;
1006
- } & TypedUser) | null;
1061
+ user: AuthenticatedUser | null;
1007
1062
  };
1008
1063
  type AuthStrategyFunction = (args: AuthStrategyFunctionArgs) => AuthStrategyResult | Promise<AuthStrategyResult>;
1009
1064
  type AuthStrategy = {
@@ -1157,6 +1212,21 @@ type CollectionPreferences = {
1157
1212
  preset?: DefaultDocumentIDType;
1158
1213
  sort?: string;
1159
1214
  };
1215
+ /**
1216
+ * A single document the user has viewed in the admin. Only identity and timestamp are stored;
1217
+ * display fields (title, thumbnail, etc.) are computed at render time from the live document.
1218
+ */
1219
+ type RecentlyViewedItem = {
1220
+ collectionSlug: string;
1221
+ id: DefaultDocumentIDType;
1222
+ viewedAt: string;
1223
+ };
1224
+ /**
1225
+ * The `recently-viewed` preference value: the user's recently viewed documents, most recent first.
1226
+ */
1227
+ type RecentlyViewedPreferences = {
1228
+ items: RecentlyViewedItem[];
1229
+ };
1160
1230
 
1161
1231
  type ClientFieldWithOptionalType = MarkOptional<ClientField, 'type'>;
1162
1232
  type ClientComponentProps = {
@@ -1202,11 +1272,9 @@ type FieldPaths = {
1202
1272
  * Nested fields will have a path that includes the parent field names
1203
1273
  * if they are nested within a group, array, block or named tab.
1204
1274
  *
1205
- * Collapsibles and unnamed tabs will have arbitrary paths
1275
+ * Collapsibles, rows and unnamed tabs will have arbitrary paths
1206
1276
  * that look like _index-0, _index-1, etc.
1207
1277
  *
1208
- * Row fields will not have a path.
1209
- *
1210
1278
  * @example 'parentGroupField.childTextField'
1211
1279
  *
1212
1280
  * @default field.name
@@ -1237,9 +1305,15 @@ type ServerComponentProps = {
1237
1305
  payload: Payload;
1238
1306
  permissions: SanitizedFieldPermissions;
1239
1307
  preferences: DocumentPreferences;
1308
+ /**
1309
+ * Adapter-injected component renderer. Server components can use this
1310
+ * to render other import map components without importing a
1311
+ * framework-specific renderer directly.
1312
+ */
1313
+ renderComponent?: ComponentRenderer;
1240
1314
  req: PayloadRequest;
1241
1315
  siblingData: Data;
1242
- user: TypedUser;
1316
+ user: User;
1243
1317
  value?: unknown;
1244
1318
  };
1245
1319
  type ClientFieldBase<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = {
@@ -1324,15 +1398,6 @@ type IncomingDrafts = {
1324
1398
  * To enable, set to true or pass an object with options.
1325
1399
  */
1326
1400
  autosave?: Autosave | boolean;
1327
- /**
1328
- * Localizes the status field.
1329
- *
1330
- * Only effective if the experimental `experimental.localizeStatus` is enabled.
1331
- *
1332
- * @experimental
1333
- * @default false
1334
- */
1335
- localizeStatus?: boolean;
1336
1401
  /**
1337
1402
  * Allow for editors to schedule publish / unpublish events in the future.
1338
1403
  */
@@ -1351,12 +1416,8 @@ type SanitizedDrafts = {
1351
1416
  */
1352
1417
  autosave: Autosave | false;
1353
1418
  /**
1354
- * Localizes the status field.
1355
- *
1356
- * Only effective if the experimental `experimental.localizeStatus` is enabled.
1357
- *
1358
- * @experimental
1359
- * @default false
1419
+ * Automatically set to true when localization is configured and the collection/global
1420
+ * has localized fields. Controls whether `_status` is stored per-locale.
1360
1421
  */
1361
1422
  localizeStatus?: boolean;
1362
1423
  /**
@@ -2262,6 +2323,102 @@ type Globals = {
2262
2323
  } | false;
2263
2324
  };
2264
2325
 
2326
+ /** Read (`output`) vs write (`input`) shape: `input` is what `create`/`update` accept. */
2327
+ type SchemaVariant = 'input' | 'output';
2328
+ /**
2329
+ * Returns a JSON Schema Type with 'null' added if the field is not required.
2330
+ */
2331
+ declare function withNullableJSONSchemaType(fieldType: JSONSchema4TypeName, isRequired: boolean): JSONSchema4TypeName | JSONSchema4TypeName[];
2332
+ type ConfigToJSONSchemaOptions = {
2333
+ forceInlineBlocks?: boolean;
2334
+ };
2335
+ type FieldsToJSONSchemaArgs = {
2336
+ /**
2337
+ * Used for relationship fields, to determine whether to use a string or
2338
+ * number type for the ID. While there is a default ID field type set by
2339
+ * the db adapter, they can differ on a collection-level if they have
2340
+ * custom ID fields.
2341
+ */
2342
+ collectionIDFieldTypes: {
2343
+ [key: string]: 'number' | 'string';
2344
+ };
2345
+ config?: SanitizedConfig;
2346
+ fields: FlattenedField$1[];
2347
+ /**
2348
+ * If true, blocks are inlined into each `block` field instead of being
2349
+ * lifted to a top-level definition. Used by the MCP plugin.
2350
+ */
2351
+ forceInlineBlocks?: boolean;
2352
+ i18n?: I18n;
2353
+ /** Allows you to define new top-level interfaces that can be re-used in the output schema. */
2354
+ interfaceNameDefinitions: Map<string, JSONSchema4>;
2355
+ /**
2356
+ * Allows you to append raw TS source to `payload-types.ts`. Identical
2357
+ * strings de-dupe naturally, so the same helper written from many fields
2358
+ * ends up emitted once.
2359
+ */
2360
+ typeStringDefinitions: Set<string>;
2361
+ variant?: SchemaVariant;
2362
+ };
2363
+ declare function fieldsToJSONSchema({ collectionIDFieldTypes, config, fields, forceInlineBlocks, i18n, interfaceNameDefinitions, typeStringDefinitions, variant, }: FieldsToJSONSchemaArgs): {
2364
+ properties: {
2365
+ [k: string]: JSONSchema4;
2366
+ };
2367
+ required: string[];
2368
+ };
2369
+ declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', typeStringDefinitions: Set<string>, collectionIDFieldTypes?: {
2370
+ [key: string]: 'number' | 'string';
2371
+ }, i18n?: I18n, forceInlineBlocks?: boolean, variant?: SchemaVariant): JSONSchema4;
2372
+ /**
2373
+ * Like {@link entityToJSONSchema}, but returns a standalone schema for one collection or global:
2374
+ * the entity plus only the `$defs` it actually uses, so it resolves on its own rather than
2375
+ * as part of the whole config schema.
2376
+ *
2377
+ * Relationship/upload `$ref`s to other collections are left in place - the caller handles those.
2378
+ * (The `input` variant reduces relationships to IDs, so only rich-text node `$defs` still ref them.)
2379
+ */
2380
+ declare function entityToStandaloneJSONSchema({ config, defaultIDType, entity, i18n, variant, }: {
2381
+ config: SanitizedConfig;
2382
+ defaultIDType: 'number' | 'text';
2383
+ entity: SanitizedCollectionConfig | SanitizedGlobalConfig;
2384
+ i18n?: I18n;
2385
+ variant?: SchemaVariant;
2386
+ }): JSONSchema4;
2387
+ /**
2388
+ * Registers a block's schema as a top-level definition and returns its name.
2389
+ *
2390
+ * The name is the block's `interfaceName`, or a PascalCase form of its slug. If a different block
2391
+ * already uses that name - whether it was auto-generated or an explicit `interfaceName` - this one
2392
+ * gets a content-hash suffix (`Hero_3F2A1B0C`) so the two don't overwrite each other. Registering
2393
+ * the same block shape again reuses its name.
2394
+ *
2395
+ * The `input` variant adds an `Input` suffix (`HeroInput`) - unless the read-shaped def is already
2396
+ * registered with byte-identical content (a block with nothing that differs between input and
2397
+ * output), in which case it's shared as-is rather than emitting a redundant twin.
2398
+ */
2399
+ declare function registerBlockInterface(block: {
2400
+ interfaceName?: string;
2401
+ slug: string;
2402
+ }, blockSchema: JSONSchema4, interfaceNameDefinitions: Map<string, JSONSchema4>, variant?: SchemaVariant): string;
2403
+ /**
2404
+ * This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
2405
+ */
2406
+ declare function configToJSONSchema(config: SanitizedConfig, defaultIDType?: 'number' | 'text', i18n?: I18n, { forceInlineBlocks }?: ConfigToJSONSchemaOptions): {
2407
+ jsonSchema: JSONSchema4;
2408
+ typeStringDefinitions: Set<string>;
2409
+ };
2410
+
2411
+ type Slugify<T extends TypeWithID = any> = (args: {
2412
+ data: T;
2413
+ req: PayloadRequest;
2414
+ valueToSlugify?: any;
2415
+ }) => Promise<string | undefined> | string | undefined;
2416
+ /**
2417
+ * Props the `SlugField` client component receives. The slug-specific `useAsSlug`
2418
+ * arrives on the client field config (it is not a server-only property).
2419
+ */
2420
+ type SlugFieldClientProps = TextFieldClientProps;
2421
+
2265
2422
  type DisabledOptions = {
2266
2423
  bulkEdit?: boolean;
2267
2424
  column?: boolean;
@@ -2273,6 +2430,7 @@ type DisabledOptions = {
2273
2430
  type TextFieldValidation = Validate<string, unknown, unknown, TextField>;
2274
2431
  type TextFieldManyValidation = Validate<string[], unknown, unknown, TextField>;
2275
2432
  type TextFieldSingleValidation = Validate<string, unknown, unknown, TextField>;
2433
+ type SlugFieldValidation = Validate<string, unknown, unknown, SlugField>;
2276
2434
  type PasswordFieldValidation = Validate<string, unknown, unknown, TextField>;
2277
2435
  type ConfirmPasswordFieldValidation = Validate<string, unknown, {
2278
2436
  password: string;
@@ -2339,6 +2497,7 @@ type PointFieldValidation = Validate<[
2339
2497
  * These can be re-used in custom validations
2340
2498
  */
2341
2499
  declare const validations: {
2500
+ slug: SlugFieldValidation;
2342
2501
  array: ArrayFieldValidation;
2343
2502
  blocks: BlocksFieldValidation;
2344
2503
  checkbox: CheckboxFieldValidation;
@@ -2427,7 +2586,7 @@ type FieldHookArgs<TData extends TypeWithID = any, TValue = any, TSiblingData =
2427
2586
  value?: TValue;
2428
2587
  };
2429
2588
  type FieldHook<TData extends TypeWithID = any, TValue = any, TSiblingData = any> = (args: FieldHookArgs<TData, TValue, TSiblingData>) => Promise<TValue> | TValue;
2430
- type FieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = {
2589
+ type SharedFieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = {
2431
2590
  /**
2432
2591
  * The data of the nearest parent block. If the field is not within a block, `blockData` will be equal to `undefined`.
2433
2592
  */
@@ -2451,6 +2610,13 @@ type FieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = {
2451
2610
  */
2452
2611
  siblingData?: Partial<TSiblingData>;
2453
2612
  };
2613
+ type FieldAccessArgs<TData extends TypeWithID = any, TSiblingData = any> = ({
2614
+ collection: SanitizedCollectionConfig;
2615
+ global?: never;
2616
+ } & SharedFieldAccessArgs<TData, TSiblingData>) | ({
2617
+ collection?: never;
2618
+ global: SanitizedGlobalConfig;
2619
+ } & SharedFieldAccessArgs<TData, TSiblingData>);
2454
2620
  type FieldAccess<TData extends TypeWithID = any, TSiblingData = any> = (args: FieldAccessArgs<TData, TSiblingData>) => boolean | Promise<boolean>;
2455
2621
  type Condition<TData extends TypeWithID = any, TSiblingData = any> = (
2456
2622
  /**
@@ -2649,9 +2815,13 @@ interface FieldBase {
2649
2815
  * Allows you to modify the base JSON schema that is generated for this field.
2650
2816
  * This JSON schema will be used to generate the TypeScript interface of this field, and to
2651
2817
  * validate the field's value in the MCP plugin.
2818
+ *
2819
+ * `variant` is `'input'` when generating the write shape (`create`/`update`) and `'output'` when
2820
+ * generating the read shape, so a transform can differ between the two.
2652
2821
  */
2653
2822
  jsonSchema?: Array<(args: {
2654
2823
  jsonSchema: JSONSchema4;
2824
+ variant: SchemaVariant;
2655
2825
  }) => JSONSchema4>;
2656
2826
  label?: false | LabelFunction | StaticLabel;
2657
2827
  localized?: boolean;
@@ -2769,6 +2939,29 @@ type EmailField = {
2769
2939
  type EmailFieldClient = {
2770
2940
  admin?: AdminClient & PickPreserveOptional<NonNullable<EmailField['admin']>, 'autoComplete' | 'placeholder'>;
2771
2941
  } & FieldBaseClient & Pick<EmailField, 'type'>;
2942
+ type SlugField = {
2943
+ admin?: {
2944
+ components?: {
2945
+ afterInput?: CustomComponent[];
2946
+ beforeInput?: CustomComponent[];
2947
+ Error?: CustomComponent<TextFieldErrorClientComponent | TextFieldErrorServerComponent>;
2948
+ Label?: CustomComponent<TextFieldLabelClientComponent | TextFieldLabelServerComponent>;
2949
+ } & FieldAdmin['components'];
2950
+ placeholder?: Record<string, string> | string;
2951
+ } & FieldAdmin;
2952
+ /** Provide a custom slugify function. Runs on the server. */
2953
+ slugify?: Slugify;
2954
+ type: 'slug';
2955
+ /**
2956
+ * Name of the sibling field whose value the slug is generated from, e.g. `'title'`.
2957
+ * Required — there is no default, since a collection may not have a `title` field.
2958
+ */
2959
+ useAsSlug: string;
2960
+ validate?: TextFieldSingleValidation;
2961
+ } & Omit<FieldBase, 'validate'>;
2962
+ type SlugFieldClient = {
2963
+ admin?: AdminClient & PickPreserveOptional<NonNullable<SlugField['admin']>, 'placeholder'>;
2964
+ } & FieldBaseClient & Pick<SlugField, 'type' | 'useAsSlug'>;
2772
2965
  type TextareaField = {
2773
2966
  admin?: {
2774
2967
  components?: {
@@ -3509,12 +3702,9 @@ type BlocksField = {
3509
3702
  isSortable?: boolean;
3510
3703
  } & FieldAdmin;
3511
3704
  /**
3512
- * Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
3513
- *
3514
- * @todo `blockReferences` will be merged with `blocks` in 4.0
3705
+ * Blocks to use in this field. Inline block configs and string slugs of blocks defined in `config.blocks` are both supported.
3515
3706
  */
3516
- blockReferences?: (Block | BlockSlug)[];
3517
- blocks: Block[];
3707
+ blocks: (Block | BlockSlug)[];
3518
3708
  defaultValue?: DefaultValue;
3519
3709
  /**
3520
3710
  * Blocks can be conditionally enabled using the `filterOptions` property on the blocks field.
@@ -3554,13 +3744,7 @@ type BlocksField = {
3554
3744
  } & Omit<FieldBase, 'validate'>;
3555
3745
  type BlocksFieldClient = {
3556
3746
  admin?: AdminClient & Pick<BlocksField['admin'], 'initCollapsed' | 'isSortable'>;
3557
- /**
3558
- * Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
3559
- *
3560
- * @todo `blockReferences` will be merged with `blocks` in 4.0
3561
- */
3562
- blockReferences?: (ClientBlock | string)[];
3563
- blocks: ClientBlock[];
3747
+ blocks: (ClientBlock | string)[];
3564
3748
  labels?: LabelsClient;
3565
3749
  } & FieldBaseClient & Pick<BlocksField, 'maxRows' | 'minRows' | 'type'>;
3566
3750
  type PointField = {
@@ -3656,14 +3840,8 @@ type FlattenedBlock = {
3656
3840
  flattenedFields: FlattenedField$1[];
3657
3841
  } & Block;
3658
3842
  type FlattenedBlocksField = {
3659
- /**
3660
- * Like `blocks`, but allows you to also pass strings that are slugs of blocks defined in `config.blocks`.
3661
- *
3662
- * @todo `blockReferences` will be merged with `blocks` in 4.0
3663
- */
3664
- blockReferences?: (FlattenedBlock | string)[];
3665
- blocks: FlattenedBlock[];
3666
- } & Omit<BlocksField, 'blockReferences' | 'blocks'>;
3843
+ blocks: (FlattenedBlock | string)[];
3844
+ } & Omit<BlocksField, 'blocks'>;
3667
3845
  type FlattenedGroupField = {
3668
3846
  flattenedFields: FlattenedField$1[];
3669
3847
  name: string;
@@ -3677,18 +3855,18 @@ type FlattenedTabAsField = {
3677
3855
  type FlattenedJoinField = {
3678
3856
  targetField: RelationshipField | UploadField;
3679
3857
  } & JoinField;
3680
- type FlattenedField$1 = CheckboxField | CodeField | DateField | EmailField | FlattenedArrayField | FlattenedBlocksField | FlattenedGroupField | FlattenedJoinField | FlattenedTabAsField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | TextareaField | TextField | UploadField;
3681
- type Field = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | GroupField | JoinField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | TabsField | TextareaField | TextField | UIField | UploadField;
3682
- type ClientField = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | GroupFieldClient | JoinFieldClient | JSONFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UIFieldClient | UploadFieldClient;
3858
+ type FlattenedField$1 = CheckboxField | CodeField | DateField | EmailField | FlattenedArrayField | FlattenedBlocksField | FlattenedGroupField | FlattenedJoinField | FlattenedTabAsField | JSONField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | SlugField | TextareaField | TextField | UploadField;
3859
+ 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;
3860
+ 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;
3683
3861
  type ClientFieldProps = ArrayFieldClientProps | BlocksFieldClientProps | CheckboxFieldClientProps | CodeFieldClientProps | CollapsibleFieldClientProps | DateFieldClientProps | EmailFieldClientProps | GroupFieldClientProps | HiddenFieldProps | JoinFieldClientProps | JSONFieldClientProps | NumberFieldClientProps | PointFieldClientProps | RadioFieldClientProps | RelationshipFieldClientProps | RichTextFieldClientProps | RowFieldClientProps | SelectFieldClientProps | TabsFieldClientProps | TextareaFieldClientProps | TextFieldClientProps | UploadFieldClientProps;
3684
3862
  type ExtractFieldTypes<T> = T extends {
3685
3863
  type: infer U;
3686
3864
  } ? U : never;
3687
3865
  type FieldTypes = ExtractFieldTypes<Field>;
3688
- type FieldAffectingData = ArrayField | BlocksField | CheckboxField | CodeField | DateField | EmailField | JoinField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | TabAsField | TextareaField | TextField | UploadField;
3689
- type FieldAffectingDataClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | DateFieldClient | EmailFieldClient | JoinFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | SelectFieldClient | TabAsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3690
- type NonPresentationalField = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | TabsField | TextareaField | TextField | UploadField;
3691
- type NonPresentationalFieldClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3866
+ type FieldAffectingData = ArrayField | BlocksField | CheckboxField | CodeField | DateField | EmailField | JoinField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | SelectField | SlugField | TabAsField | TextareaField | TextField | UploadField;
3867
+ type FieldAffectingDataClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | DateFieldClient | EmailFieldClient | JoinFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | SelectFieldClient | SlugFieldClient | TabAsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3868
+ type NonPresentationalField = ArrayField | BlocksField | CheckboxField | CodeField | CollapsibleField | DateField | EmailField | JSONField | NamedGroupField | NumberField | PointField | RadioField | RelationshipField | RichTextField | RowField | SelectField | SlugField | TabsField | TextareaField | TextField | UploadField;
3869
+ type NonPresentationalFieldClient = ArrayFieldClient | BlocksFieldClient | CheckboxFieldClient | CodeFieldClient | CollapsibleFieldClient | DateFieldClient | EmailFieldClient | JSONFieldClient | NamedGroupFieldClient | NumberFieldClient | PointFieldClient | RadioFieldClient | RelationshipFieldClient | RichTextFieldClient | RowFieldClient | SelectFieldClient | SlugFieldClient | TabsFieldClient | TextareaFieldClient | TextFieldClient | UploadFieldClient;
3692
3870
  type FieldWithPath = {
3693
3871
  path?: string;
3694
3872
  } & Field;
@@ -3705,57 +3883,6 @@ type FieldWithMaxDepth = RelationshipField | UploadField;
3705
3883
  type FieldWithMaxDepthClient = JoinFieldClient | RelationshipFieldClient | UploadFieldClient;
3706
3884
  type HookName = 'afterChange' | 'afterRead' | 'beforeChange' | 'beforeRead' | 'beforeValidate';
3707
3885
 
3708
- /**
3709
- * Returns a JSON Schema Type with 'null' added if the field is not required.
3710
- */
3711
- declare function withNullableJSONSchemaType(fieldType: JSONSchema4TypeName, isRequired: boolean): JSONSchema4TypeName | JSONSchema4TypeName[];
3712
- type ConfigToJSONSchemaOptions = {
3713
- forceInlineBlocks?: boolean;
3714
- };
3715
- type FieldsToJSONSchemaArgs = {
3716
- /**
3717
- * Used for relationship fields, to determine whether to use a string or
3718
- * number type for the ID. While there is a default ID field type set by
3719
- * the db adapter, they can differ on a collection-level if they have
3720
- * custom ID fields.
3721
- */
3722
- collectionIDFieldTypes: {
3723
- [key: string]: 'number' | 'string';
3724
- };
3725
- config?: SanitizedConfig;
3726
- fields: FlattenedField$1[];
3727
- /**
3728
- * If true, blocks are inlined into each `block` field instead of being
3729
- * lifted to a top-level definition. Used by the MCP plugin.
3730
- */
3731
- forceInlineBlocks?: boolean;
3732
- i18n?: I18n;
3733
- /** Allows you to define new top-level interfaces that can be re-used in the output schema. */
3734
- interfaceNameDefinitions: Map<string, JSONSchema4>;
3735
- /**
3736
- * Allows you to append raw TS source to `payload-types.ts`. Identical
3737
- * strings de-dupe naturally, so the same helper written from many fields
3738
- * ends up emitted once.
3739
- */
3740
- typeStringDefinitions: Set<string>;
3741
- };
3742
- declare function fieldsToJSONSchema({ collectionIDFieldTypes, config, fields, forceInlineBlocks, i18n, interfaceNameDefinitions, typeStringDefinitions, }: FieldsToJSONSchemaArgs): {
3743
- properties: {
3744
- [k: string]: JSONSchema4;
3745
- };
3746
- required: string[];
3747
- };
3748
- declare function entityToJSONSchema(config: SanitizedConfig, entity: SanitizedCollectionConfig | SanitizedGlobalConfig, interfaceNameDefinitions: Map<string, JSONSchema4>, defaultIDType: 'number' | 'text', typeStringDefinitions: Set<string>, collectionIDFieldTypes?: {
3749
- [key: string]: 'number' | 'string';
3750
- }, i18n?: I18n, forceInlineBlocks?: boolean): JSONSchema4;
3751
- /**
3752
- * This is used for generating the TypeScript types (payload-types.ts) with the payload generate:types command.
3753
- */
3754
- declare function configToJSONSchema(config: SanitizedConfig, defaultIDType?: 'number' | 'text', i18n?: I18n, { forceInlineBlocks }?: ConfigToJSONSchemaOptions): {
3755
- jsonSchema: JSONSchema4;
3756
- typeStringDefinitions: Set<string>;
3757
- };
3758
-
3759
3886
  type RichTextFieldClientWithoutType<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = MarkOptional<RichTextFieldClient<TValue, TAdapterProps, TExtraProperties>, 'type'>;
3760
3887
  type RichTextFieldBaseClientProps<TValue extends object = any, TAdapterProps = any, TExtraProperties = object> = {
3761
3888
  readonly path: string;
@@ -3928,10 +4055,10 @@ type RichTextAdapterBase<Value extends object = object, AdapterProps = any, Extr
3928
4055
  * `json-schema-to-typescript` which is used to generate types for this richtext field
3929
4056
  * payload-types.ts)
3930
4057
  */
3931
- jsonSchema?: (args: Pick<FieldsToJSONSchemaArgs, 'collectionIDFieldTypes' | 'config' | 'i18n' | 'interfaceNameDefinitions' | 'typeStringDefinitions'> & {
4058
+ jsonSchema?: (args: {
3932
4059
  field: RichTextField<Value, AdapterProps, ExtraFieldProperties>;
3933
4060
  isRequired: boolean;
3934
- }) => JSONSchema4;
4061
+ } & Pick<FieldsToJSONSchemaArgs, 'collectionIDFieldTypes' | 'config' | 'i18n' | 'interfaceNameDefinitions' | 'typeStringDefinitions' | 'variant'>) => JSONSchema4;
3935
4062
  /**
3936
4063
  * Provide validation function for the richText field. This function is run the same way
3937
4064
  * as other field validation functions.
@@ -4006,14 +4133,14 @@ declare function parseCookies(headers: Request['headers']): Map<string, string>;
4006
4133
 
4007
4134
  declare const extractJWT: (args: Omit<AuthStrategyFunctionArgs, "strategyName">) => null | string;
4008
4135
 
4009
- type ServerOnlyFieldProperties = 'dbName' | 'editor' | 'enumName' | 'filterOptions' | 'graphQL' | 'jsonSchema' | 'label' | 'validate' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks'>;
4136
+ type ServerOnlyFieldProperties = 'dbName' | 'editor' | 'enumName' | 'filterOptions' | 'graphQL' | 'jsonSchema' | 'label' | 'slugify' | 'validate' | keyof Pick<FieldBase, 'access' | 'custom' | 'defaultValue' | 'hooks'>;
4010
4137
  type ServerOnlyFieldAdminProperties = keyof Pick<FieldBase['admin'], 'components' | 'condition'>;
4011
4138
  declare const createClientBlocks: ({ blocks, defaultIDType, i18n, importMap, }: {
4012
4139
  blocks: (Block | string)[];
4013
4140
  defaultIDType: Payload["config"]["db"]["defaultIDType"];
4014
4141
  i18n: I18nClient;
4015
4142
  importMap: ImportMap;
4016
- }) => (ClientBlock | string)[] | ClientBlock[];
4143
+ }) => (ClientBlock | string)[];
4017
4144
  declare const createClientField: ({ defaultIDType, field: incomingField, i18n, importMap, }: {
4018
4145
  defaultIDType: Payload["config"]["db"]["defaultIDType"];
4019
4146
  field: Field;
@@ -4182,7 +4309,7 @@ type ClientHierarchyConfig = Omit<SanitizedHierarchyConfig, 'slugify'>;
4182
4309
 
4183
4310
  type ServerOnlyCollectionProperties = keyof Pick<SanitizedCollectionConfig, 'access' | 'custom' | 'endpoints' | 'flattenedFields' | 'hooks' | 'indexes' | 'joins' | 'polymorphicJoins' | 'sanitizedIndexes' | 'select'>;
4184
4311
  type ServerOnlyCollectionAdminProperties = keyof Pick<SanitizedCollectionConfig['admin'], 'baseFilter' | 'baseListFilter' | 'components' | 'formatDocURL' | 'hidden'>;
4185
- type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
4312
+ type ServerOnlyUploadProperties = keyof Pick<SanitizedCollectionConfig['upload'], 'admin' | 'adminThumbnail' | 'externalFileHeaderFilter' | 'handlers' | 'modifyResponseHeaders' | 'withMetadata'>;
4186
4313
  type ClientCollectionConfig = {
4187
4314
  admin: {
4188
4315
  description?: StaticDescription;
@@ -4281,7 +4408,7 @@ type CreateClientConfigArgs = {
4281
4408
  * For example, allow `true` to generate a client config for the "create first user" page
4282
4409
  * where there is no user yet, but the config should still be complete.
4283
4410
  */
4284
- user: true | TypedUser;
4411
+ user: true | User;
4285
4412
  };
4286
4413
  declare const createUnauthenticatedClientConfig: ({ clientConfig, }: {
4287
4414
  /**
@@ -4306,11 +4433,13 @@ type EditViewProps = {
4306
4433
  */
4307
4434
  type RenderDocumentVersionsProperties = {
4308
4435
  /**
4309
- * @default false
4436
+ * Override the CreatedAt cell component rendered in the versions table.
4437
+ * Useful when embedding the versions list inside a drawer that should update URL params
4438
+ * rather than perform a full navigation.
4310
4439
  */
4311
- disableGutter?: boolean;
4440
+ CreatedAtCellOverride?: (props: any) => any;
4312
4441
  /**
4313
- * Use createdAt cell that appends params to the url on version selection instead of redirecting user
4442
+ * @deprecated Pass `CreatedAtCellOverride` directly instead.
4314
4443
  * @default false
4315
4444
  */
4316
4445
  useVersionDrawerCreatedAtCell?: boolean;
@@ -5435,6 +5564,13 @@ type LivePreviewConfig = {
5435
5564
  name: string;
5436
5565
  width: number | string;
5437
5566
  }[];
5567
+ /**
5568
+ * When `true`, Live Preview opens automatically the first time a user views a document,
5569
+ * before they have manually toggled it on. Once the user toggles Live Preview on or off,
5570
+ * their stored preference takes precedence and this setting is ignored.
5571
+ * @default false
5572
+ */
5573
+ openByDefault?: boolean;
5438
5574
  /**
5439
5575
  * The URL of the frontend application. This will be rendered within an `iframe` as its `src`.
5440
5576
  * Payload will send a `window.postMessage()` to this URL with the document data in real-time.
@@ -5658,14 +5794,22 @@ type ServerProps = {
5658
5794
  readonly params?: Params;
5659
5795
  readonly payload: Payload;
5660
5796
  readonly permissions?: SanitizedPermissions;
5797
+ /**
5798
+ * Adapter-injected component renderer. Server components can use this
5799
+ * to render other import map components without importing a
5800
+ * framework-specific renderer directly.
5801
+ */
5802
+ readonly renderComponent?: ComponentRenderer;
5661
5803
  readonly searchParams?: Params;
5662
5804
  /**
5663
5805
  * Framework-agnostic methods for server-side navigation, headers, cookies, and other server-only APIs.
5664
5806
  * Plugins should call these methods instead of importing directly from `next/navigation`, `next/headers`, etc.
5665
5807
  * These methods are populated by the given framework adapter, e.g. `@payloadcms/next`.
5808
+ *
5809
+ * Optional because non-framework contexts (jobs, scripts, tests) may not have an adapter attached.
5666
5810
  */
5667
5811
  readonly server: ServerAdapter;
5668
- readonly user?: TypedUser;
5812
+ readonly user?: User;
5669
5813
  readonly viewType?: ViewTypes;
5670
5814
  readonly visibleEntities?: VisibleEntities;
5671
5815
  };
@@ -5695,6 +5839,12 @@ type SanitizedTimezoneConfig = {
5695
5839
  supportedTimezones: Timezone[];
5696
5840
  } & Omit<TimezonesConfig, 'supportedTimezones'>;
5697
5841
  type CustomComponent<TAdditionalProps extends object = Record<string, any>> = PayloadComponent<ServerProps & TAdditionalProps, TAdditionalProps>;
5842
+ type UserMenuSettingsGroup = {
5843
+ group: LabelFunction | StaticLabel;
5844
+ items: CustomComponent[];
5845
+ };
5846
+ type UserMenuSettingsItem = CustomComponent | UserMenuSettingsGroup;
5847
+ declare const isUserMenuSettingsGroup: (userMenuSettingsItem: UserMenuSettingsItem) => userMenuSettingsItem is UserMenuSettingsGroup;
5698
5848
  type Locale = {
5699
5849
  /**
5700
5850
  * value of supported locale
@@ -6114,6 +6264,12 @@ type Config = {
6114
6264
  /** Extensible tab system */
6115
6265
  tabs?: SidebarTab[];
6116
6266
  };
6267
+ /**
6268
+ * Add custom items to the user menu popup in the admin panel header.
6269
+ * These components will be rendered in the Settings sub-popup of the user menu.
6270
+ * When empty or absent, the Settings sub-trigger is not shown.
6271
+ */
6272
+ userMenuSettingsItems?: UserMenuSettingsItem[];
6117
6273
  /**
6118
6274
  * Replace or modify top-level admin routes, or add new ones:
6119
6275
  * + `Account` - `/admin/account`
@@ -6338,22 +6494,6 @@ type Config = {
6338
6494
  email?: EmailAdapter | Promise<EmailAdapter>;
6339
6495
  /** Custom REST endpoints */
6340
6496
  endpoints?: Endpoint[];
6341
- /**
6342
- * Experimental features may be unstable or change in future versions.
6343
- */
6344
- experimental?: {
6345
- /**
6346
- * Enable per-locale status for documents.
6347
- *
6348
- * Requires:
6349
- * - `localization` enabled
6350
- * - `versions.drafts` enabled
6351
- * - `versions.drafts.localizeStatus` set at collection or global level
6352
- *
6353
- * @experimental
6354
- */
6355
- localizeStatus?: boolean;
6356
- };
6357
6497
  /**
6358
6498
  * @see https://payloadcms.com/docs/configuration/globals#global-configs
6359
6499
  */
@@ -6649,6 +6789,31 @@ type Config = {
6649
6789
  */
6650
6790
  ignoreTSError?: boolean;
6651
6791
  } | false;
6792
+ /**
6793
+ * Also generate a write-shaped input type (e.g. `PostInput`) next to each read type, describing
6794
+ * what `create`/`update` accept: relationships and uploads as IDs only, `id` and `defaultValue`
6795
+ * fields optional, and `createdAt`/`updatedAt`/`_status`/virtual/join fields removed. These are
6796
+ * exposed on `Config['collectionsInput']` and `Config['globalsInput']`. Set `true` to turn them on.
6797
+ *
6798
+ * @default false
6799
+ *
6800
+ * @remarks
6801
+ * Off by default. The Local API's `create`/`update` still type their `data` against the read
6802
+ * type, so these input types aren't used internally - they're here for you to opt into, e.g. to
6803
+ * type a form payload, a seed script, or an API client. `@payloadcms/plugin-mcp` also uses the
6804
+ * input schema, but it builds that itself at runtime, so MCP gets the accurate write schema
6805
+ * whether or not this flag is on.
6806
+ *
6807
+ * @todo We'd like to turn this on by default (or have the Local API use the input type
6808
+ * directly), but there's a catch. When you read a document with `depth > 0`, its relationships
6809
+ * come back as full documents rather than IDs. A strict ID-only input type would reject that and
6810
+ * break the common "read a doc, change a field, save it back" pattern. To enable it by default,
6811
+ * the input type would first need to accept a relationship as either an ID or the full document
6812
+ * (which is what Payload already does at runtime), while keeping `id`, `defaultValue`, and
6813
+ * auto-managed fields optional. Until then it stays opt-in, so we don't put a type that's
6814
+ * stricter than the runtime on the main write path.
6815
+ */
6816
+ generateInputTypes?: boolean;
6652
6817
  /** Filename to write the generated types to */
6653
6818
  outputFile?: string;
6654
6819
  /**
@@ -6847,6 +7012,7 @@ type SharedEntityViews = {
6847
7012
  [key: string]: {
6848
7013
  actions?: CustomComponent[];
6849
7014
  Component?: PayloadComponent;
7015
+ NoResults?: CustomComponent;
6850
7016
  } | AdminViewConfig | EditConfig | undefined;
6851
7017
  /**
6852
7018
  * Replace, modify, or add new "document" views.
@@ -6871,7 +7037,7 @@ type SharedAdminComponents = {
6871
7037
  views?: SharedEntityViews;
6872
7038
  };
6873
7039
  type EntityDescriptionFunction = ({ t }: {
6874
- t: TFunction;
7040
+ t: TFunction<ClientTranslationKeys>;
6875
7041
  }) => string;
6876
7042
  type EntityDescription = EntityDescriptionFunction | Record<string, string> | string;
6877
7043
 
@@ -7498,8 +7664,8 @@ type RelationshipFieldDiffServerComponent = FieldDiffServerComponent<Relationshi
7498
7664
  type RelationshipFieldDiffClientComponent = FieldDiffClientComponent<RelationshipFieldClient>;
7499
7665
 
7500
7666
  type RowFieldClientWithoutType = MarkOptional<RowFieldClient, 'type'>;
7501
- type RowFieldBaseClientProps = Omit<FieldPaths, 'path'> & Pick<ClientComponentProps, 'forceRender'>;
7502
- type RowFieldClientProps = Omit<ClientFieldBase<RowFieldClientWithoutType>, 'path'> & RowFieldBaseClientProps;
7667
+ type RowFieldBaseClientProps = FieldPaths & Pick<ClientComponentProps, 'forceRender'>;
7668
+ type RowFieldClientProps = ClientFieldBase<RowFieldClientWithoutType> & RowFieldBaseClientProps;
7503
7669
  type RowFieldServerProps = ServerFieldBase<RowField, RowFieldClientWithoutType>;
7504
7670
  type RowFieldServerComponent = FieldServerComponent<RowField, RowFieldClientWithoutType>;
7505
7671
  type RowFieldClientComponent = FieldClientComponent<RowFieldClientWithoutType, RowFieldBaseClientProps>;
@@ -7608,7 +7774,7 @@ type UploadFieldDiffClientComponent = FieldDiffClientComponent<UploadFieldClient
7608
7774
 
7609
7775
  type DescriptionFunction = (args: {
7610
7776
  i18n: I18nClient;
7611
- t: TFunction;
7777
+ t: TFunction<ClientTranslationKeys>;
7612
7778
  }) => string;
7613
7779
  type FieldDescriptionClientComponent<TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldDescriptionClientProps<TFieldClient>>;
7614
7780
  type FieldDescriptionServerComponent<TFieldServer extends Field = Field, TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType> = React.ComponentType<FieldDescriptionServerProps<TFieldServer, TFieldClient>>;
@@ -7721,91 +7887,6 @@ type FieldLabelServerComponent<TFieldServer extends Field = Field, TFieldClient
7721
7887
  type RowLabelComponent = CustomComponent;
7722
7888
  type RowLabel = Record<string, string> | string;
7723
7889
 
7724
- type Slugify<T extends TypeWithID = any> = (args: {
7725
- data: T;
7726
- req: PayloadRequest;
7727
- valueToSlugify?: any;
7728
- }) => Promise<string | undefined> | string | undefined;
7729
- type SlugFieldArgs = {
7730
- /**
7731
- * Override for the `generateSlug` checkbox field name.
7732
- * @default 'generateSlug'
7733
- */
7734
- checkboxName?: string;
7735
- /**
7736
- * Disables the unique index on the field.
7737
- * This is useful if instead, you want to add a compound unique index to the collection `indexes` config,
7738
- * for example with the multi tenant plugin, where the slug is only unique per tenant, not globally.
7739
- * @default false
7740
- */
7741
- disableUnique?: boolean;
7742
- /**
7743
- * @deprecated use `useAsSlug` instead.
7744
- */
7745
- fieldToUse?: string;
7746
- /**
7747
- * Enable localization for the slug field.
7748
- */
7749
- localized?: TextField['localized'];
7750
- /**
7751
- * Override for the `slug` field name.
7752
- * @default 'slug'
7753
- */
7754
- name?: string;
7755
- /**
7756
- * A function used to override the slug field(s) at a granular level.
7757
- * Passes the row field to you to manipulate beyond the exposed options.
7758
- * @example
7759
- * ```ts
7760
- * slugField({
7761
- * overrides: (field) => {
7762
- * field.fields[1].label = 'Custom Slug Label'
7763
- * return field
7764
- * }
7765
- * })
7766
- * ```
7767
- */
7768
- overrides?: (field: RowField) => RowField;
7769
- position?: FieldAdmin['position'];
7770
- /**
7771
- * Whether or not the `slug` field is required.
7772
- * @default true
7773
- */
7774
- required?: TextField['required'];
7775
- /**
7776
- * Provide your own slugify function to override the default.
7777
- */
7778
- slugify?: Slugify;
7779
- /**
7780
- * The name of the top-level field to generate the slug from, when applicable.
7781
- * @default 'title'
7782
- */
7783
- useAsSlug?: string;
7784
- };
7785
- type SlugField = (args?: SlugFieldArgs) => RowField;
7786
- type SlugFieldClientPropsOnly = Pick<SlugFieldArgs, 'useAsSlug'>;
7787
- /**
7788
- * These are the props that the `SlugField` client component accepts.
7789
- * The `SlugField` server component is responsible for passing down the `slugify` function.
7790
- */
7791
- type SlugFieldClientProps = SlugFieldClientPropsOnly & TextFieldClientProps;
7792
- /**
7793
- * A slug is a unique, indexed, URL-friendly string that identifies a particular document, often used to construct the URL of a webpage.
7794
- * The `slug` field auto-generates its value based on another field, e.g. "My Title" → "my-title".
7795
- *
7796
- * The slug should continue to be generated through:
7797
- * 1. The `create` operation, unless the user has modified the slug manually
7798
- * 2. The `update` operation, if:
7799
- * a. Autosave is _not_ enabled and there is no slug
7800
- * b. Autosave _is_ enabled, the doc is unpublished, and the user has not modified the slug manually
7801
- *
7802
- * The slug should stabilize after all above criteria have been met, because the URL is typically derived from the slug.
7803
- * This is to protect modifying potentially live URLs, breaking links, etc. without explicit intent.
7804
- *
7805
- * @experimental This field is experimental and may change or be removed in the future. Use at your own risk.
7806
- */
7807
- declare const slugField: SlugField;
7808
-
7809
7890
  type ColumnsFromURL = string[];
7810
7891
 
7811
7892
  type InitReqResult = {
@@ -7816,8 +7897,16 @@ type InitReqResult = {
7816
7897
  permissions: SanitizedPermissions;
7817
7898
  req: PayloadRequest;
7818
7899
  };
7900
+ /**
7901
+ * Determines how server function handlers serialize their return values.
7902
+ * - `'rsc'`: Return React nodes (JSX) — requires RSC flight serialization (Next.js)
7903
+ * - `'data-only'`: Return JSON-serializable data — for non-RSC adapters (TanStack Start)
7904
+ */
7905
+ type ServerFunctionMode = 'data-only' | 'rsc';
7819
7906
  type DefaultServerFunctionArgs = {
7820
7907
  importMap: ImportMap;
7908
+ mode?: ServerFunctionMode;
7909
+ renderComponent?: ComponentRenderer;
7821
7910
  } & Pick<InitReqResult, 'cookies' | 'locale' | 'permissions' | 'req'>;
7822
7911
  type ServerFunctionArgs = {
7823
7912
  args: Record<string, unknown>;
@@ -7916,6 +8005,12 @@ type WidgetSlugFromWidget<TWidget extends {
7916
8005
  type WidgetServerProps<TWidget extends {
7917
8006
  data?: unknown;
7918
8007
  } | never = never> = {
8008
+ /**
8009
+ * Adapter-injected component renderer. Widget server components can use
8010
+ * this to render other import map components without importing a
8011
+ * framework-specific renderer directly.
8012
+ */
8013
+ renderComponent?: ComponentRenderer;
7919
8014
  widgetData?: [TWidget] extends [never] ? Record<string, unknown> : WidgetDataFromWidget<Exclude<TWidget, never>> extends Record<string, unknown> ? WidgetDataFromWidget<Exclude<TWidget, never>> : Record<string, unknown>;
7920
8015
  widgetSlug: [TWidget] extends [never] ? string : [WidgetSlugFromWidget<{
7921
8016
  data?: unknown;
@@ -7970,6 +8065,7 @@ type ListViewSlots = {
7970
8065
  BeforeListTable?: React.ReactNode;
7971
8066
  Description?: React.ReactNode;
7972
8067
  listMenuItems?: React.ReactNode[];
8068
+ NoResults?: React.ReactNode;
7973
8069
  Table: React.ReactNode | React.ReactNode[];
7974
8070
  };
7975
8071
  /**
@@ -8031,6 +8127,7 @@ type ListViewSlotSharedClientProps = {
8031
8127
  hasDeletePermission?: boolean;
8032
8128
  hasTrashPermission?: boolean;
8033
8129
  newDocumentURL: string;
8130
+ viewType: ViewTypes;
8034
8131
  };
8035
8132
  type BeforeListClientProps = ListViewSlotSharedClientProps;
8036
8133
  type BeforeListServerPropsOnly = {} & ListViewServerPropsOnly;
@@ -8038,6 +8135,9 @@ type BeforeListServerProps = BeforeListClientProps & BeforeListServerPropsOnly;
8038
8135
  type BeforeListTableClientProps = ListViewSlotSharedClientProps;
8039
8136
  type BeforeListTableServerPropsOnly = {} & ListViewServerPropsOnly;
8040
8137
  type BeforeListTableServerProps = BeforeListTableClientProps & BeforeListTableServerPropsOnly;
8138
+ type NoResultsClientProps = ListViewSlotSharedClientProps;
8139
+ type NoResultsServerPropsOnly = {} & ListViewServerPropsOnly;
8140
+ type NoResultsServerProps = NoResultsClientProps & NoResultsServerPropsOnly;
8041
8141
  type AfterListClientProps = ListViewSlotSharedClientProps;
8042
8142
  type AfterListServerPropsOnly = {} & ListViewServerPropsOnly;
8043
8143
  type AfterListServerProps = AfterListClientProps & AfterListServerPropsOnly;
@@ -8120,6 +8220,7 @@ type DocumentSlots = {
8120
8220
  UnpublishButton?: React$1.ReactNode;
8121
8221
  Upload?: React$1.ReactNode;
8122
8222
  UploadControls?: React$1.ReactNode;
8223
+ UploadFilePreview?: React$1.ReactNode;
8123
8224
  };
8124
8225
 
8125
8226
  type SchemaPath = {} & string;
@@ -8289,12 +8390,33 @@ type FileAllowList = Array<{
8289
8390
  extensions: string[];
8290
8391
  mimeType: string;
8291
8392
  }>;
8393
+ type UploadFilePreviewClientProps = {
8394
+ filename: string;
8395
+ filesize: number;
8396
+ /** Resolved URL of the file (data.url). */
8397
+ fileSrc: string;
8398
+ height?: number;
8399
+ mimeType: string;
8400
+ width?: number;
8401
+ };
8402
+ type UploadFilePreviewMap = {
8403
+ [mimeTypePattern: string]: PayloadComponent;
8404
+ };
8292
8405
  type Admin = {
8293
8406
  components?: {
8294
8407
  /**
8295
8408
  * The Controls component to extend the upload controls in the admin panel.
8296
8409
  */
8297
8410
  controls?: PayloadComponent[];
8411
+ /**
8412
+ * A custom component to render in place of the default Thumbnail in the upload side panel.
8413
+ *
8414
+ * Can be a single PayloadComponent (renders for all MIME types) or a Record keyed by
8415
+ * MIME type patterns. Pattern resolution priority: exact match → category wildcard
8416
+ * (e.g. `video/*`) → universal fallback (`*`). Falls back to the default Thumbnail
8417
+ * when nothing matches.
8418
+ */
8419
+ filePreview?: PayloadComponent | UploadFilePreviewMap;
8298
8420
  };
8299
8421
  };
8300
8422
  type UploadConfig = {
@@ -8538,7 +8660,7 @@ declare const forgotPasswordOperation: <TSlug extends AuthCollectionSlug>(incomi
8538
8660
  type LoginResult<TSlug extends AuthCollectionSlug> = {
8539
8661
  exp?: number;
8540
8662
  token?: string;
8541
- user?: DataFromCollectionSlug<TSlug>;
8663
+ user?: AuthRuntimeFields & DataFromCollectionSlug<TSlug>;
8542
8664
  };
8543
8665
  type Arguments$n<TSlug extends AuthCollectionSlug> = {
8544
8666
  collection: Collection;
@@ -8621,7 +8743,6 @@ type Arguments$i<TSlug extends CollectionSlug> = {
8621
8743
  overwriteExistingFiles?: boolean;
8622
8744
  populate?: PopulateType;
8623
8745
  publishAllLocales?: boolean;
8624
- publishSpecificLocale?: string;
8625
8746
  req: PayloadRequest;
8626
8747
  selectedLocales?: string[];
8627
8748
  showHiddenFields?: boolean;
@@ -8899,7 +9020,7 @@ type BaseFindOptions<TSlug extends CollectionSlug, TSelect extends SelectType> =
8899
9020
  /**
8900
9021
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
8901
9022
  */
8902
- user?: Document;
9023
+ user?: null | User;
8903
9024
  /**
8904
9025
  * A filter [query](https://payloadcms.com/docs/queries/overview)
8905
9026
  */
@@ -8938,7 +9059,6 @@ type Arguments$b<TSlug extends CollectionSlug> = {
8938
9059
  overwriteExistingFiles?: boolean;
8939
9060
  populate?: PopulateType;
8940
9061
  publishAllLocales?: boolean;
8941
- publishSpecificLocale?: string;
8942
9062
  req: PayloadRequest;
8943
9063
  showHiddenFields?: boolean;
8944
9064
  /**
@@ -8967,7 +9087,6 @@ type Arguments$a<TSlug extends CollectionSlug> = {
8967
9087
  overwriteExistingFiles?: boolean;
8968
9088
  populate?: PopulateType;
8969
9089
  publishAllLocales?: boolean;
8970
- publishSpecificLocale?: string;
8971
9090
  req: PayloadRequest;
8972
9091
  showHiddenFields?: boolean;
8973
9092
  trash?: boolean;
@@ -9023,15 +9142,6 @@ type AfterOperationArg<TOperationGeneric extends CollectionSlug> = {
9023
9142
  args: Parameters<OperationMap<TOperationGeneric>['deleteByID']>[0];
9024
9143
  operation: 'deleteByID';
9025
9144
  result: Awaited<ReturnType<OperationMap<TOperationGeneric>['deleteByID']>>;
9026
- } | {
9027
- args: Parameters<OperationMap<TOperationGeneric>['find']>[0];
9028
- /**
9029
- * @deprecated Use 'find' or 'findByID' operation instead
9030
- *
9031
- * TODO: v4 - remove this union option
9032
- */
9033
- operation: 'read';
9034
- result: Awaited<ReturnType<OperationMap<TOperationGeneric>['find']>>;
9035
9145
  } | {
9036
9146
  args: Parameters<OperationMap<TOperationGeneric>['find']>[0];
9037
9147
  operation: 'find';
@@ -9167,6 +9277,12 @@ type BeforeOperationArg<TOperationGeneric extends CollectionSlug> = {
9167
9277
  });
9168
9278
 
9169
9279
  type DataFromCollectionSlug<TSlug extends CollectionSlug> = TypedCollection[TSlug];
9280
+ /**
9281
+ * The ID type of a given collection (e.g. `string` or `number`), taken from its generated type.
9282
+ * Use this instead of the project-wide {@link DefaultDocumentIDType} when the collection slug is
9283
+ * known, since each collection can have its own ID type.
9284
+ */
9285
+ type IDTypeForCollectionSlug<TSlug extends CollectionSlug> = DataFromCollectionSlug<TSlug>['id'];
9170
9286
  type SelectFromCollectionSlug<TSlug extends CollectionSlug> = TypedCollectionSelect[TSlug];
9171
9287
  /**
9172
9288
  * Collection slugs that do not have drafts enabled.
@@ -9462,6 +9578,7 @@ type CollectionAdminOptions = {
9462
9578
  list?: {
9463
9579
  actions?: CustomComponent[];
9464
9580
  Component?: PayloadComponent;
9581
+ NoResults?: CustomComponent;
9465
9582
  };
9466
9583
  } & SharedEntityViews;
9467
9584
  } & Omit<SharedAdminComponents, 'edit' | 'views'>;
@@ -9510,13 +9627,6 @@ type CollectionAdminOptions = {
9510
9627
  * - Set to `false` to exclude the entity from the sidebar / dashboard without disabling its routes.
9511
9628
  */
9512
9629
  group?: false | Record<string, string> | string;
9513
- /**
9514
- * @description Enable grouping by a field in the list view.
9515
- * Uses `payload.findDistinct` under the hood to populate the group-by options.
9516
- *
9517
- * @experimental This option is currently in beta and may change in future releases. Use at your own risk.
9518
- */
9519
- groupBy?: boolean;
9520
9630
  /**
9521
9631
  * Exclude the collection from the admin nav and routes
9522
9632
  */
@@ -9593,6 +9703,10 @@ type CollectionConfig<TSlug extends CollectionSlug = any> = {
9593
9703
  * Default field to sort by in collection list view
9594
9704
  */
9595
9705
  defaultSort?: Sort;
9706
+ /**
9707
+ * Disable the bulk delete operation for the collection in the admin panel and the API
9708
+ */
9709
+ disableBulkDelete?: boolean;
9596
9710
  /**
9597
9711
  * Disable the bulk edit operation for the collection in the admin panel and the API
9598
9712
  */
@@ -9870,6 +9984,11 @@ type SanitizedCompoundIndex = {
9870
9984
  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"];
9871
9985
  type Operator = (typeof validOperators)[number];
9872
9986
 
9987
+ interface PayloadRequestAPI {
9988
+ GraphQL: true;
9989
+ local: true;
9990
+ REST: true;
9991
+ }
9873
9992
  type CustomPayloadRequestProperties = {
9874
9993
  context: RequestContext;
9875
9994
  /** The locale that should be used for a field when it is not translated to the requested locale */
@@ -9889,7 +10008,7 @@ type CustomPayloadRequestProperties = {
9889
10008
  /**
9890
10009
  * The context in which the request is being made
9891
10010
  */
9892
- payloadAPI: 'GraphQL' | 'local' | 'REST';
10011
+ payloadAPI: keyof PayloadRequestAPI;
9893
10012
  /** Optimized document loader */
9894
10013
  payloadDataLoader: {
9895
10014
  /**
@@ -9933,7 +10052,7 @@ type CustomPayloadRequestProperties = {
9933
10052
  */
9934
10053
  transactionID?: number | Promise<number | string> | string;
9935
10054
  /** The signed-in user */
9936
- user: null | TypedUser;
10055
+ user: AuthenticatedUser | null;
9937
10056
  } & Pick<URL, 'hash' | 'host' | 'href' | 'origin' | 'pathname' | 'port' | 'protocol' | 'search' | 'searchParams'>;
9938
10057
  type PayloadRequestData = {
9939
10058
  /**
@@ -10153,8 +10272,17 @@ type AuthArgs = {
10153
10272
  type AuthResult = {
10154
10273
  permissions: SanitizedPermissions;
10155
10274
  responseHeaders?: Headers;
10156
- user: null | TypedUser;
10275
+ user: AuthenticatedUser | null;
10276
+ };
10277
+
10278
+ /**
10279
+ * Strategy for dev-mode HMR/reload detection.
10280
+ * Each framework adapter provides its own implementation.
10281
+ */
10282
+ type DevReloadStrategy = {
10283
+ connect: (onReload: () => void) => DevReloadCleanup;
10157
10284
  };
10285
+ type DevReloadCleanup = () => void;
10158
10286
 
10159
10287
  type Options$g<TSlug extends AuthCollectionSlug> = {
10160
10288
  collection: TSlug;
@@ -10262,6 +10390,39 @@ type LinkAdapterProps = {
10262
10390
  scroll?: boolean;
10263
10391
  } & Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
10264
10392
 
10393
+ /**
10394
+ * Signature for ui-side view metadata generators. Returns a framework-agnostic
10395
+ * `MetaConfig` that adapter-side code formats into framework metadata.
10396
+ */
10397
+ type GenerateViewMetadata = (args: {
10398
+ config: SanitizedConfig;
10399
+ i18n: I18nClient;
10400
+ isEditing?: boolean;
10401
+ params?: {
10402
+ [key: string]: string | string[];
10403
+ };
10404
+ }) => Promise<MetaConfig>;
10405
+ /**
10406
+ * One entry in a framework's `AdminViewAdapter`. Pairs a React component with
10407
+ * a metadata generator. `TComponentProps` and `TMetadata` are framework-specific
10408
+ * (Next narrows `TMetadata` to `next`'s `Metadata` type).
10409
+ */
10410
+ type AdminView<TComponentProps = any, TMetadata = unknown> = {
10411
+ Component: React$1.ComponentType<TComponentProps>;
10412
+ generateMetadata: (args: Parameters<GenerateViewMetadata>[0]) => Promise<TMetadata>;
10413
+ };
10414
+ /**
10415
+ * The canonical set of admin view keys that every framework adapter must implement.
10416
+ * Adding a new admin view requires adding its key here so all adapters stay in sync.
10417
+ */
10418
+ type AdminViewKey = 'account' | 'createFirstUser' | 'dashboard' | 'forgot' | 'login' | 'logout' | 'logoutInactivity' | 'notFound' | 'reset' | 'unauthorized' | 'unauthorizedWithGutter' | 'verify';
10419
+ /**
10420
+ * Keyed map of `AdminView` — exactly one entry per `AdminViewKey`.
10421
+ * Framework adapters export an instance of this; missing or misspelled keys are
10422
+ * a type error.
10423
+ */
10424
+ type AdminViewAdapter<TComponentProps = any, TMetadata = unknown> = Record<AdminViewKey, AdminView<TComponentProps, TMetadata>>;
10425
+
10265
10426
  type CountOptions<TSlug extends CollectionSlug> = {
10266
10427
  /**
10267
10428
  * the Collection slug to operate against.
@@ -10305,7 +10466,7 @@ type CountOptions<TSlug extends CollectionSlug> = {
10305
10466
  /**
10306
10467
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10307
10468
  */
10308
- user?: Document;
10469
+ user?: null | User;
10309
10470
  /**
10310
10471
  * A filter [query](https://payloadcms.com/docs/queries/overview)
10311
10472
  */
@@ -10391,7 +10552,7 @@ type BaseOptions$7<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10391
10552
  /**
10392
10553
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10393
10554
  */
10394
- user?: Document;
10555
+ user?: null | User;
10395
10556
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10396
10557
  type Options$b<TSlug extends CollectionSlug, TSelect extends SelectType> = GeneratedTypes extends {
10397
10558
  strictDraftTypes: true;
@@ -10516,7 +10677,7 @@ type BaseOptions$6<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10516
10677
  /**
10517
10678
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10518
10679
  */
10519
- user?: Document;
10680
+ user?: null | User;
10520
10681
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10521
10682
  type ByIDOptions$1<TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>> = {
10522
10683
  /**
@@ -10604,7 +10765,7 @@ type BaseOptions$5<TSlug extends CollectionSlug, TSelect extends SelectType> = {
10604
10765
  /**
10605
10766
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10606
10767
  */
10607
- user?: Document;
10768
+ user?: null | User;
10608
10769
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10609
10770
  type Options$a<TSlug extends CollectionSlug, TSelect extends SelectType> = BaseOptions$5<TSlug, TSelect> & DraftFlagFromCollectionSlug<TSlug>;
10610
10771
 
@@ -10692,7 +10853,7 @@ type BaseFindByIDOptions<TSlug extends CollectionSlug, TDisableErrors extends bo
10692
10853
  /**
10693
10854
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10694
10855
  */
10695
- user?: Document;
10856
+ user?: null | User;
10696
10857
  } & Pick<FindByIDArgs, 'flattenLocales'> & Pick<FindOptions<TSlug, TSelect>, 'select'>;
10697
10858
  type Options$9<TSlug extends CollectionSlug, TDisableErrors extends boolean, TSelect extends SelectType> = BaseFindByIDOptions<TSlug, TDisableErrors, TSelect> & DraftFlagFromCollectionSlug<TSlug>;
10698
10859
 
@@ -10772,7 +10933,7 @@ type Options$8<TSlug extends CollectionSlug, TField extends keyof DataFromCollec
10772
10933
  /**
10773
10934
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10774
10935
  */
10775
- user?: Document;
10936
+ user?: null | User;
10776
10937
  /**
10777
10938
  * A filter [query](https://payloadcms.com/docs/queries/overview)
10778
10939
  */
@@ -10844,7 +11005,7 @@ type BaseOptions$4<TSlug extends CollectionSlug> = {
10844
11005
  /**
10845
11006
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10846
11007
  */
10847
- user?: Document;
11008
+ user?: null | User;
10848
11009
  } & Pick<FindOptions<TSlug, SelectType>, 'select'>;
10849
11010
  type Options$7<TSlug extends CollectionSlug> = BaseOptions$4<TSlug> & DraftFlagFromCollectionSlug<TSlug>;
10850
11011
 
@@ -10926,7 +11087,7 @@ type BaseOptions$3<TSlug extends CollectionSlug> = {
10926
11087
  /**
10927
11088
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10928
11089
  */
10929
- user?: Document;
11090
+ user?: null | User;
10930
11091
  /**
10931
11092
  * A filter [query](https://payloadcms.com/docs/queries/overview)
10932
11093
  */
@@ -10985,7 +11146,7 @@ type BaseOptions$2<TSlug extends CollectionSlug> = {
10985
11146
  /**
10986
11147
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
10987
11148
  */
10988
- user?: Document;
11149
+ user?: null | User;
10989
11150
  } & Pick<FindOptions<TSlug, SelectType>, 'select'>;
10990
11151
  type Options$5<TSlug extends CollectionSlug> = BaseOptions$2<TSlug> & DraftFlagFromCollectionSlug<TSlug>;
10991
11152
 
@@ -11057,17 +11218,12 @@ type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
11057
11218
  */
11058
11219
  populate?: PopulateType;
11059
11220
  /**
11060
- * Publish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11221
+ * Publish the document / documents in all locales. Only applies when localization is enabled
11222
+ * and the collection has localized fields.
11061
11223
  *
11062
11224
  * @default undefined
11063
11225
  */
11064
11226
  publishAllLocales?: boolean;
11065
- /**
11066
- * Publish the document / documents with a specific locale.
11067
- *
11068
- * @default undefined
11069
- */
11070
- publishSpecificLocale?: string;
11071
11227
  /**
11072
11228
  * The `PayloadRequest` object. You can pass it to thread the current [transaction](https://payloadcms.com/docs/database/transactions), user and locale to the operation.
11073
11229
  * Recommended to pass when using the Local API from hooks, as usually you want to execute the operation within the current transaction.
@@ -11086,13 +11242,14 @@ type BaseOptions$1<TSlug extends CollectionSlug, TSelect extends SelectType> = {
11086
11242
  */
11087
11243
  trash?: boolean;
11088
11244
  /**
11089
- * Unpublish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11245
+ * Unpublish the document / documents in all locales. Only applies when localization is enabled
11246
+ * and the collection has localized fields.
11090
11247
  */
11091
11248
  unpublishAllLocales?: boolean;
11092
11249
  /**
11093
11250
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11094
11251
  */
11095
- user?: Document;
11252
+ user?: null | User;
11096
11253
  } & Pick<FindOptions<TSlug, TSelect>, 'select'>;
11097
11254
  type ByIDOptions<TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>> = {
11098
11255
  /**
@@ -11169,7 +11326,7 @@ type CountGlobalVersionsOptions<TSlug extends GlobalSlug> = {
11169
11326
  /**
11170
11327
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11171
11328
  */
11172
- user?: Document;
11329
+ user?: null | User;
11173
11330
  /**
11174
11331
  * A filter [query](https://payloadcms.com/docs/queries/overview)
11175
11332
  */
@@ -11259,7 +11416,7 @@ type BaseFindOneOptions<TSlug extends GlobalSlug, TSelect extends SelectType> =
11259
11416
  /**
11260
11417
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11261
11418
  */
11262
- user?: Document;
11419
+ user?: null | User;
11263
11420
  } & Pick<FindOptions<string, SelectType>, 'select'> & Pick<GlobalFindOneArgs, 'flattenLocales'>;
11264
11421
  type Options$4<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseFindOneOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
11265
11422
 
@@ -11319,7 +11476,7 @@ type Options$3<TSlug extends GlobalSlug> = {
11319
11476
  /**
11320
11477
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11321
11478
  */
11322
- user?: Document;
11479
+ user?: null | User;
11323
11480
  } & Pick<FindOptions<string, SelectType>, 'select'>;
11324
11481
 
11325
11482
  type Options$2<TSlug extends GlobalSlug> = {
@@ -11391,7 +11548,7 @@ type Options$2<TSlug extends GlobalSlug> = {
11391
11548
  /**
11392
11549
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11393
11550
  */
11394
- user?: Document;
11551
+ user?: null | User;
11395
11552
  /**
11396
11553
  * A filter [query](https://payloadcms.com/docs/queries/overview)
11397
11554
  */
@@ -11449,7 +11606,7 @@ type Options$1<TSlug extends GlobalSlug> = {
11449
11606
  /**
11450
11607
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11451
11608
  */
11452
- user?: Document;
11609
+ user?: null | User;
11453
11610
  };
11454
11611
 
11455
11612
  type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
@@ -11493,15 +11650,12 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
11493
11650
  */
11494
11651
  populate?: PopulateType;
11495
11652
  /**
11496
- * Publish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11653
+ * Publish the document / documents in all locales. Only applies when localization is enabled
11654
+ * and the global has localized fields.
11497
11655
  *
11498
11656
  * @default undefined
11499
11657
  */
11500
11658
  publishAllLocales?: boolean;
11501
- /**
11502
- * Publish the document / documents with a specific locale.
11503
- */
11504
- publishSpecificLocale?: TypedLocale;
11505
11659
  /**
11506
11660
  * The `PayloadRequest` object. You can pass it to thread the current [transaction](https://payloadcms.com/docs/database/transactions), user and locale to the operation.
11507
11661
  * Recommended to pass when using the Local API from hooks, as usually you want to execute the operation within the current transaction.
@@ -11517,13 +11671,14 @@ type BaseOptions<TSlug extends GlobalSlug, TSelect extends SelectType> = {
11517
11671
  */
11518
11672
  slug: TSlug;
11519
11673
  /**
11520
- * Unpublish the document / documents in all locales. Requires `versions.drafts.localizeStatus` to be enabled.
11674
+ * Unpublish the document / documents in all locales. Only applies when localization is enabled
11675
+ * and the global has localized fields.
11521
11676
  */
11522
11677
  unpublishAllLocales?: boolean;
11523
11678
  /**
11524
11679
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
11525
11680
  */
11526
- user?: Document;
11681
+ user?: null | User;
11527
11682
  } & Pick<FindOptions<string, SelectType>, 'select'>;
11528
11683
  type Options<TSlug extends GlobalSlug, TSelect extends SelectType> = BaseOptions<TSlug, TSelect> & DraftFlagFromGlobalSlug<TSlug>;
11529
11684
 
@@ -12300,14 +12455,21 @@ type CountVersionsOptions<TSlug extends CollectionSlug> = {
12300
12455
  /**
12301
12456
  * If you set `overrideAccess` to `false`, you can pass a user to use against the access control checks.
12302
12457
  */
12303
- user?: Document;
12458
+ user?: null | User;
12304
12459
  /**
12305
12460
  * A filter [query](https://payloadcms.com/docs/queries/overview)
12306
12461
  */
12307
12462
  where?: Where;
12308
12463
  };
12309
12464
 
12310
- declare const apiKeyFields: Field[];
12465
+ type APIKeyCheckboxFieldOverride = Omit<Partial<CheckboxField>, 'name' | 'type'>;
12466
+ type APIKeyTextFieldOverride = Omit<Partial<TextField>, 'hasMany' | 'maxRows' | 'minRows' | 'name' | 'type' | 'validate'>;
12467
+ declare const createAPIKeyFields: ({ apiKeyField, apiKeyIndexField, enableAPIKeyField, includeEnableAPIKey, }?: {
12468
+ apiKeyField?: APIKeyTextFieldOverride;
12469
+ apiKeyIndexField?: APIKeyTextFieldOverride;
12470
+ enableAPIKeyField?: APIKeyCheckboxFieldOverride;
12471
+ includeEnableAPIKey?: boolean;
12472
+ }) => Field[];
12311
12473
 
12312
12474
  declare const baseAuthFields: Field[];
12313
12475
 
@@ -12404,7 +12566,7 @@ declare const JWTAuthentication: AuthStrategyFunction;
12404
12566
  type Args$i = {
12405
12567
  collection: SanitizedCollectionConfig;
12406
12568
  payload: Payload;
12407
- user: TypedUser;
12569
+ user: User;
12408
12570
  };
12409
12571
  declare const incrementLoginAttempts: ({ collection, payload, user, }: Args$i) => Promise<void>;
12410
12572
 
@@ -12497,26 +12659,22 @@ declare const restoreVersionOperation$1: <TData extends JsonObject & TypeWithID
12497
12659
  */
12498
12660
  declare function buildConfig(config: Config): Promise<SanitizedConfig>;
12499
12661
 
12500
- /**
12501
- * @deprecated - remove in 4.0. This is error-prone, as mutating this object will affect any objects that use the defaults as a base.
12502
- */
12503
- declare const defaults: Omit<Config, 'db' | 'editor' | 'secret'>;
12662
+ declare const addDefaultsToConfig: (config: Config) => Config;
12504
12663
 
12505
12664
  /**
12506
12665
  * Helper for authoring plugins with order, slug, and typed options.
12507
12666
  * Eliminates boilerplate and ensures metadata is always set consistently.
12508
12667
  *
12509
- * The `plugin` function receives a single object containing `config`, `plugins`
12510
- * (a slug-keyed map of other plugins), and any user-provided options spread in.
12668
+ * The `plugin` function receives `config`, `plugins` (a slug-keyed map of other
12669
+ * plugins), and the user-provided `options`.
12511
12670
  *
12512
12671
  * @experimental
12513
12672
  *
12514
12673
  * @example
12515
12674
  * // With options:
12516
- * export const seoPlugin = definePlugin<SEOPluginOptions>({
12675
+ * export const seoPlugin = definePlugin<SEOPluginConfig>({
12517
12676
  * slug: 'plugin-seo',
12518
- * order: 10,
12519
- * plugin: ({ config, plugins, collections }) => ({ ...config }),
12677
+ * plugin: ({ config, options }) => ({ ...config }),
12520
12678
  * })
12521
12679
  *
12522
12680
  * // Without options:
@@ -12531,16 +12689,17 @@ declare function definePlugin(descriptor: {
12531
12689
  config: Config;
12532
12690
  plugins: PluginsMap;
12533
12691
  }) => Config | Promise<Config>;
12534
- slug?: string;
12692
+ slug: string;
12535
12693
  }): () => Plugin;
12536
- declare function definePlugin<TOptions extends Record<string, unknown>>(descriptor: {
12694
+ declare function definePlugin<TOptions>(descriptor: {
12537
12695
  order?: number;
12538
12696
  plugin: (args: {
12539
12697
  config: Config;
12698
+ options: TOptions;
12540
12699
  plugins: PluginsMap;
12541
- } & TOptions) => Config | Promise<Config>;
12542
- slug?: string;
12543
- }): (options: TOptions) => Plugin;
12700
+ }) => Config | Promise<Config>;
12701
+ slug: string;
12702
+ }): undefined extends TOptions ? (options?: TOptions) => Plugin : (options: TOptions) => Plugin;
12544
12703
 
12545
12704
  /**
12546
12705
  * The body of the reorder endpoint.
@@ -13128,7 +13287,6 @@ type Args$7<TSlug extends GlobalSlug> = {
13128
13287
  overrideLock?: boolean;
13129
13288
  populate?: PopulateType;
13130
13289
  publishAllLocales?: boolean;
13131
- publishSpecificLocale?: string;
13132
13290
  req: PayloadRequest;
13133
13291
  showHiddenFields?: boolean;
13134
13292
  slug: string;
@@ -13459,7 +13617,7 @@ type CreateLocalReqOptions = {
13459
13617
  locale?: string;
13460
13618
  req?: Partial<PayloadRequest>;
13461
13619
  urlSuffix?: string;
13462
- user?: TypedUser;
13620
+ user?: User;
13463
13621
  };
13464
13622
  type CreateLocalReq = (options: CreateLocalReqOptions, payload: Payload) => Promise<PayloadRequest>;
13465
13623
  declare const createLocalReq: CreateLocalReq;
@@ -13721,7 +13879,7 @@ declare const getObjectDotNotation: <T>(obj: Record<string, unknown>, path: stri
13721
13879
 
13722
13880
  type GetRequestLanguageArgs = {
13723
13881
  config: SanitizedConfig;
13724
- cookies: Map<string, string> | ReadonlyRequestCookies;
13882
+ cookies: CookieStore | Map<string, string>;
13725
13883
  defaultLanguage?: AcceptedLanguages;
13726
13884
  headers: Request['headers'];
13727
13885
  };
@@ -13815,6 +13973,71 @@ type ParseDocumentIDArgs = {
13815
13973
  };
13816
13974
  declare function parseDocumentID({ id, collectionSlug, payload }: ParseDocumentIDArgs): string | number | undefined;
13817
13975
 
13976
+ type JoinParams = {
13977
+ [schemaPath: string]: {
13978
+ limit?: unknown;
13979
+ sort?: string;
13980
+ where?: unknown;
13981
+ } | false;
13982
+ } | false;
13983
+ /**
13984
+ * Convert request JoinQuery object from strings to numbers
13985
+ * @param joins
13986
+ */
13987
+ declare const sanitizeJoinParams: (_joins?: JoinParams) => JoinQuery;
13988
+
13989
+ type RawParams = {
13990
+ [key: string]: unknown;
13991
+ autosave?: string;
13992
+ data?: string;
13993
+ depth?: string;
13994
+ draft?: string;
13995
+ field?: string;
13996
+ flattenLocales?: string;
13997
+ joins?: JoinParams;
13998
+ limit?: string;
13999
+ overrideLock?: string;
14000
+ page?: string;
14001
+ pagination?: string;
14002
+ populate?: unknown;
14003
+ publishAllLocales?: string;
14004
+ select?: unknown;
14005
+ selectedLocales?: string;
14006
+ sort?: string | string[];
14007
+ trash?: string;
14008
+ unpublishAllLocales?: string;
14009
+ where?: string | Where;
14010
+ };
14011
+ type ParsedParams = {
14012
+ autosave?: boolean;
14013
+ data?: Record<string, unknown>;
14014
+ depth?: number;
14015
+ draft?: boolean;
14016
+ field?: string;
14017
+ flattenLocales?: boolean;
14018
+ joins?: JoinQuery;
14019
+ limit?: number;
14020
+ overrideLock?: boolean;
14021
+ page?: number;
14022
+ pagination?: boolean;
14023
+ populate?: PopulateType;
14024
+ publishAllLocales?: boolean;
14025
+ select?: SelectType;
14026
+ selectedLocales?: string[];
14027
+ sort?: string[];
14028
+ trash?: boolean;
14029
+ unpublishAllLocales?: boolean;
14030
+ where?: Where;
14031
+ } & Record<string, unknown>;
14032
+ /**
14033
+ * Takes raw query parameters and parses them into the correct types that Payload expects.
14034
+ * Examples:
14035
+ * a. `draft` provided as a string of "true" is converted to a boolean
14036
+ * b. `depth` provided as a string of "0" is converted to a number
14037
+ * c. `sort` provided as a comma-separated string or array is converted to an array of strings
14038
+ */
14039
+ declare const parseParams: (params: RawParams) => ParsedParams;
14040
+
13818
14041
  interface Args$5 {
13819
14042
  fallbackLocale: TypedFallbackLocale;
13820
14043
  locale: string;
@@ -13830,19 +14053,6 @@ interface Args$5 {
13830
14053
  */
13831
14054
  declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args$5) => TypedFallbackLocale;
13832
14055
 
13833
- type JoinParams = {
13834
- [schemaPath: string]: {
13835
- limit?: unknown;
13836
- sort?: string;
13837
- where?: unknown;
13838
- } | false;
13839
- } | false;
13840
- /**
13841
- * Convert request JoinQuery object from strings to numbers
13842
- * @param joins
13843
- */
13844
- declare const sanitizeJoinParams: (_joins?: JoinParams) => JoinQuery;
13845
-
13846
14056
  /**
13847
14057
  * Sanitizes REST populate query to PopulateType
13848
14058
  */
@@ -13853,6 +14063,8 @@ declare const sanitizePopulateParam: (unsanitizedPopulate: unknown) => PopulateT
13853
14063
  */
13854
14064
  declare const sanitizeSelectParam: (unsanitizedSelect: unknown) => SelectType | undefined;
13855
14065
 
14066
+ declare const sanitizeSortParams: (sort: unknown) => string[] | undefined;
14067
+
13856
14068
  /**
13857
14069
  * This is used for the Select API to strip out fields that are not selected.
13858
14070
  * It will mutate the given data object and determine if your recursive function should continue to run.
@@ -13981,32 +14193,6 @@ declare const getLatestGlobalVersion: ({ slug, config, locale, payload, publishe
13981
14193
  globalExists: boolean;
13982
14194
  }>;
13983
14195
 
13984
- type LocalizeStatusArgs$1 = {
13985
- collectionSlug?: string;
13986
- globalSlug?: string;
13987
- payload: Payload;
13988
- req?: any;
13989
- };
13990
-
13991
- type LocalizeStatusArgs = {
13992
- collectionSlug?: string;
13993
- db: any;
13994
- globalSlug?: string;
13995
- payload: Payload;
13996
- req?: any;
13997
- sql: any;
13998
- };
13999
-
14000
- type LocalizeStatusMigration = {
14001
- down: (args: any) => Promise<void>;
14002
- up: (args: any) => Promise<void>;
14003
- };
14004
- /**
14005
- * Main entry point for localizeStatus migration.
14006
- * Detects database type and dispatches to appropriate implementation.
14007
- */
14008
- declare const localizeStatus: LocalizeStatusMigration;
14009
-
14010
14196
  type Args<T extends JsonObject = JsonObject> = {
14011
14197
  autosave?: boolean;
14012
14198
  collection?: SanitizedCollectionConfig;
@@ -14016,11 +14202,9 @@ type Args<T extends JsonObject = JsonObject> = {
14016
14202
  id?: number | string;
14017
14203
  operation?: 'create' | 'restoreVersion' | 'update';
14018
14204
  payload: Payload;
14019
- publishSpecificLocale?: string;
14020
14205
  req?: PayloadRequest;
14021
14206
  returning?: boolean;
14022
14207
  select?: SelectType;
14023
- snapshot?: any;
14024
14208
  unpublish?: boolean;
14025
14209
  };
14026
14210
  declare function saveVersion<TData extends JsonObject = JsonObject>(args: {
@@ -14139,7 +14323,52 @@ interface UntypedPayloadTypes {
14139
14323
  };
14140
14324
  };
14141
14325
  locale: null | string;
14142
- user: UntypedUser;
14326
+ /**
14327
+ * User shape used when generated types are unavailable.
14328
+ * Includes common document fields and fields managed by Payload auth. Custom fields and
14329
+ * collection features such as drafts, trash, and uploads require generated types. Runtime fields
14330
+ * `_strategy` and `_sid` belong to `AuthenticatedUser`.
14331
+ */
14332
+ user: {
14333
+ /** Email verification token. Hidden (needs `showHiddenFields`). Only with `auth.verify`, until verified. */
14334
+ _verificationToken?: null | string;
14335
+ /** Whether the email is verified. Only with `auth.verify`. */
14336
+ _verified?: boolean | null;
14337
+ /** The user's API key. Only with `auth.useAPIKey`, once enabled for this user. */
14338
+ apiKey?: null | string;
14339
+ /** Internal lookup index for the API key. Hidden (needs `showHiddenFields`). Only with `auth.useAPIKey`. */
14340
+ apiKeyIndex?: null | string;
14341
+ /** Slug of the auth collection this user belongs to. Always present; identifies the source collection. */
14342
+ collection: string;
14343
+ /** When the user was created. Not present when timestamps are disabled. */
14344
+ createdAt?: string;
14345
+ /** The user's email. Absent if email login is disabled via `auth.loginWithUsername`. */
14346
+ email?: null | string;
14347
+ /** Whether API key auth is enabled for this user. Only with `auth.useAPIKey`. */
14348
+ enableAPIKey?: boolean | null;
14349
+ /** Hashed password. Hidden (needs `showHiddenFields`). Only with the local strategy. */
14350
+ hash?: null | string;
14351
+ /** The user's ID. Always present. */
14352
+ id: UntypedPayloadTypes['db']['defaultIDType'];
14353
+ /** Locked-until timestamp. Hidden (needs `showHiddenFields`). Only with `auth.maxLoginAttempts`, while locked. */
14354
+ lockUntil?: null | string;
14355
+ /** Failed login attempt count. Hidden (needs `showHiddenFields`). Only with `auth.maxLoginAttempts`. */
14356
+ loginAttempts?: null | number;
14357
+ /** Plain-text password. Write-only: accepted on `create`/`update`, never returned on reads. */
14358
+ password?: null | string;
14359
+ /** Reset-token expiry. Hidden (needs `showHiddenFields`). Only after `forgotPassword`, until reset. */
14360
+ resetPasswordExpiration?: null | string;
14361
+ /** Active password-reset token. Hidden (needs `showHiddenFields`). Only after `forgotPassword`, until reset. */
14362
+ resetPasswordToken?: null | string;
14363
+ /** Password salt. Hidden (needs `showHiddenFields`). Only with the local strategy. */
14364
+ salt?: null | string;
14365
+ /** Active login sessions. Only with `auth.useSessions` (the default). */
14366
+ sessions?: Array<UserSession> | null;
14367
+ /** When the user was last updated. Not present when timestamps are disabled. */
14368
+ updatedAt?: string;
14369
+ /** The user's username. Only with `auth.loginWithUsername`. */
14370
+ username?: null | string;
14371
+ };
14143
14372
  widgets: {
14144
14373
  [slug: string]: JsonObject;
14145
14374
  };
@@ -14202,13 +14431,13 @@ type GlobalSlug<T extends PayloadTypesShape = PayloadTypes> = StringKeyOf<T['glo
14202
14431
  type TypedLocale<T extends PayloadTypesShape = PayloadTypes> = T['locale'];
14203
14432
  type TypedFallbackLocale = PayloadTypes['fallbackLocale'];
14204
14433
  /**
14434
+ * User document type for auth-enabled collections.
14435
+ * Uses generated types when available and the auth-only fallback above otherwise. Generated types
14436
+ * include custom fields and can be a union when several collections support auth.
14205
14437
  *
14206
- * TypedUser is the type of the user object. This can be a union of multiple user types, if you have multiple
14207
- * auth-enabled collections.
14208
- *
14209
- * @todo rename to `User` in 4.0
14438
+ * Not the signed-in `req.user`, which also has `_strategy` and `_sid` - use `AuthenticatedUser`.
14210
14439
  */
14211
- type TypedUser = PayloadTypes['user'];
14440
+ type User = PayloadTypes['user'];
14212
14441
  type TypedAuthOperations<T extends PayloadTypesShape = PayloadTypes> = T['auth'];
14213
14442
  type AuthCollectionSlug<T extends PayloadTypesShape = PayloadTypes> = StringKeyOf<T['auth']>;
14214
14443
  type TypedJobs = PayloadTypes['jobs'];
@@ -14456,15 +14685,13 @@ declare class BasePayload {
14456
14685
  declare const initialized: BasePayload;
14457
14686
 
14458
14687
  declare const reload: (config: SanitizedConfig, payload: Payload, skipImportMapGeneration?: boolean, options?: InitOptions) => Promise<void>;
14459
- /**
14460
- * Get a payload instance.
14461
- * This function is a wrapper around new BasePayload().init() that adds the following functionality on top of that:
14462
- *
14463
- * - smartly caches Payload instance on the module scope. That way, we prevent unnecessarily initializing Payload over and over again
14464
- * when calling getPayload multiple times or from multiple locations.
14465
- * - adds HMR support and reloads the payload instance when the config changes.
14466
- */
14467
14688
  declare const getPayload: (options: {
14689
+ /**
14690
+ * Custom dev reload strategy. If provided, replaces the default
14691
+ * Next.js HMR WebSocket listener. The strategy's `connect` function
14692
+ * receives a callback to trigger config reload.
14693
+ */
14694
+ devReloadStrategy?: DevReloadStrategy;
14468
14695
  /**
14469
14696
  * A unique key to identify the payload instance. You can pass your own key if you want to cache this payload instance separately.
14470
14697
  * This is useful if you pass a different payload config for each instance.
@@ -14501,5 +14728,5 @@ interface GlobalAdminCustom extends Record<string, any> {
14501
14728
  interface GlobalAdminCustom extends Record<string, any> {
14502
14729
  }
14503
14730
 
14504
- export { APIError, APIErrorName, Action, AuthenticationError, BasePayload, DEFAULT_ALLOW_HAS_MANY, DEFAULT_HIERARCHY_TREE_LIMIT, DatabaseKVAdapter, DiffMethod, DuplicateCollection, DuplicateFieldName, DuplicateGlobal, EntityType, ErrorDeletingFile, FileRetrievalError, FileUploadError, Forbidden, HIERARCHY_DEFAULT_LOCALE, HIERARCHY_SLUG_PATH_FIELD, HIERARCHY_TITLE_PATH_FIELD, InMemoryKVAdapter, InvalidConfiguration, InvalidFieldName, InvalidFieldRelationship, JWTAuthentication, JobCancelledError, Locked, LockedAuth, MissingCollectionLabel, MissingEditorProp, MissingFieldInputOptions, MissingFieldType, MissingFile, NotFound, QueryError, UnauthorizedError, UnverifiedEmail, ValidationError, ValidationErrorName, _internal_jobSystemGlobals, _internal_resetJobSystemGlobals, _internal_safeFetchGlobal, accessOperation, addDataAndFileToRequest, addLocalesToRequestFromData, traverseFields$4 as afterChangeTraverseFields, promise as afterReadPromise, traverseFields$3 as afterReadTraverseFields, appendVersionToQueryKey, apiKeyFields as baseAPIKeyFields, accountLockFields as baseAccountLockFields, baseAuthFields, baseBlockFields, emailFieldConfig as baseEmailField, baseIDField, sessionsFieldConfig as baseSessionsField, usernameFieldConfig as baseUsernameField, verificationFields as baseVerificationFields, traverseFields$2 as beforeChangeTraverseFields, traverseFields$1 as beforeValidateTraverseFields, buildConfig, buildVersionCollectionFields, buildVersionCompoundIndexes, buildVersionGlobalFields, canAccessAdmin, checkDependencies, checkLoginPermission, combineQueries, commitTransaction, configToJSONSchema, countOperation, countRunnableOrActiveJobsForQueue, createArrayFromCommaDelineated, createClientBlocks, createClientCollectionConfig, createClientCollectionConfigs, createClientConfig, createClientField, createClientFields, createClientGlobalConfig, createClientGlobalConfigs, createDatabaseAdapter, createDataloaderCacheKey, createFolderField, createLocalReq, createMigration, createOperation, createPayloadRequest, createTagField, createUnauthenticatedClientConfig, databaseKVAdapter, deepCopyObject, deepCopyObjectComplex, deepCopyObjectSimple, deepMergeSimple, deepMergeWithCombinedArrays, deepMergeWithReactComponents, deepMergeWithSourceArrays, initialized as default, defaultBeginTransaction, defaultLoggerOptions, defaultUserCollection, defaults, definePlugin, deleteByIDOperation, deleteCollectionVersions, deleteOperation, docAccessOperation$1 as docAccessOperation, docAccessOperation as docAccessOperationGlobal, docHasTimestamps, duplicateOperation, dynamicImport, enforceMaxVersions, entityToJSONSchema, escapeRegExp, executeAccess, executeAuthStrategies, extractAccessFromPermission, extractJWT, fieldsToJSONSchema, findByIDOperation, findMigrationDir, findOneOperation, findOperation, findUp, findUpSync, findVersionByIDOperation$1 as findVersionByIDOperation, findVersionByIDOperation as findVersionByIDOperationGlobal, findVersionsOperation$1 as findVersionsOperation, findVersionsOperation as findVersionsOperationGlobal, flattenAllFields, flattenTopLevelFields, flattenWhereToOperators, forgotPasswordOperation, formatErrors, formatLabels, formatNames, genImportMapIterateFields, generateCookie, generateExpiredPayloadCookie, generateImportMap, generatePayloadCookie, getAccessResults, getAncestors, getBlockSelect, getCollectionIDFieldTypes, getCookieExpiration, getCurrentDate, getDataLoader, getDefaultValue, getDependencies, getFieldByPath, getFieldsToSign, getFileByPath, getHierarchyFieldName, getInitialTreeData, getLatestCollectionVersion, getLatestGlobalVersion, getLocalI18n, getLocalizedPaths, getLoginOptions, getMigrations, getObjectDotNotation, getPayload, getPredefinedMigration, getQueryDraftsSort, getRequestLanguage, handleEndpoints, hasWhereAccessResult, headersWithCors, importHandlerPath, inMemoryKVAdapter, incrementLoginAttempts, initOperation, initTransaction, injectHierarchyButton, isEntityHidden, isPlainObject, isValidID, isolateObjectProperty, jobAfterRead, jwtSign, killTransaction, localizeStatus, logError, loginOperation, logoutOperation, mapAsync, meOperation, mergeHeaders, migrate, migrate$1 as migrateCLI, migrateDown, migrateRefresh, migrateReset, migrateStatus, migrationTemplate, migrationsCollection, parseCookies, parseDocumentID, pathExistsAndIsAccessible, pathExistsAndIsAccessibleSync, readMigrationFiles, refreshOperation, registerFirstUserOperation, reload, resetLoginAttempts, resetPasswordOperation, resolveHierarchyCollections, restoreVersionOperation$1 as restoreVersionOperation, restoreVersionOperation as restoreVersionOperationGlobal, sanitizeConfig, sanitizeFallbackLocale, sanitizeField, sanitizeFields, sanitizeJoinParams, sanitizeLocales, sanitizePopulateParam, sanitizeSelectParam, saveVersion, serverOnlyAdminConfigProperties, serverOnlyConfigProperties, serverProps, slugField, sortableFieldTypes, stripUnselectedFields, toWords, traverseFields, unlockOperation, updateByIDOperation, updateOperation$1 as updateOperation, updateOperation as updateOperationGlobal, validateBlocksFilterOptions, validateQueryPaths, validateSearchParam, validations, verifyEmailOperation, versionDefaults, withNullableJSONSchemaType, writeMigrationIndex };
14505
- export type { Access, AccessArgs, AccessResult, AdminClient, AdminComponent, AdminDependencies, AdminFunction, AdminViewClientProps, AdminViewComponent, AdminViewConfig, AdminViewServerProps as AdminViewProps, AdminViewServerProps, AdminViewServerPropsOnly, AfterErrorHook$1 as AfterErrorHook, AfterErrorHookArgs, AfterErrorResult, AfterListClientProps, AfterListServerProps, AfterListServerPropsOnly, AfterListTableClientProps, AfterListTableServerProps, AfterListTableServerPropsOnly, AllOperations, AllowList, Ancestor, ApplyDisableErrors, ArrayField, ArrayFieldClient, ArrayFieldClientComponent, ArrayFieldClientProps, ArrayFieldDescriptionClientComponent, ArrayFieldDescriptionServerComponent, ArrayFieldDiffClientComponent, ArrayFieldDiffServerComponent, ArrayFieldErrorClientComponent, ArrayFieldErrorServerComponent, ArrayFieldLabelClientComponent, ArrayFieldLabelServerComponent, ArrayFieldServerComponent, ArrayFieldServerProps, ArrayFieldValidation, Auth, AuthCollection, AuthCollectionSlug, AuthOperations, AuthOperationsFromCollectionSlug, AuthStrategy, AuthStrategyFunction, AuthStrategyFunctionArgs, AuthStrategyResult, BaseDatabaseAdapter, BaseFilter, BaseJob, BaseListFilter, BaseLocalizationConfig, BaseValidateOptions, BaseVersionField, BeforeDocumentControlsClientProps, BeforeDocumentControlsServerProps, BeforeDocumentControlsServerPropsOnly, BeforeListClientProps, BeforeListServerProps, BeforeListServerPropsOnly, BeforeListTableClientProps, BeforeListTableServerProps, BeforeListTableServerPropsOnly, BeginTransaction, BinScript, BinScriptConfig, Block, BlockJSX, BlockPermissions, BlockRowLabelClientComponent, BlockRowLabelServerComponent, BlockSlug, BlocksField, BlocksFieldClient, BlocksFieldClientComponent, BlocksFieldClientProps, BlocksFieldDescriptionClientComponent, BlocksFieldDescriptionServerComponent, BlocksFieldDiffClientComponent, BlocksFieldDiffServerComponent, BlocksFieldErrorClientComponent, BlocksFieldErrorServerComponent, BlocksFieldLabelClientComponent, BlocksFieldLabelServerComponent, BlocksFieldServerComponent, BlocksFieldServerProps, BlocksFieldValidation, BlocksPermissions, BuildFormStateArgs, BuildTableStateArgs, BulkOperationResult, CORSConfig, CheckboxField, CheckboxFieldClient, CheckboxFieldClientComponent, CheckboxFieldClientProps, CheckboxFieldDescriptionClientComponent, CheckboxFieldDescriptionServerComponent, CheckboxFieldDiffClientComponent, CheckboxFieldDiffServerComponent, CheckboxFieldErrorClientComponent, CheckboxFieldErrorServerComponent, CheckboxFieldLabelClientComponent, CheckboxFieldLabelServerComponent, CheckboxFieldServerComponent, CheckboxFieldServerProps, CheckboxFieldValidation, ClientBlock, ClientCollectionConfig, ClientComponentProps, ClientConfig, ClientField, ClientFieldBase, ClientFieldProps, ClientFieldSchemaMap, ClientFieldWithOptionalType, ClientGlobalConfig, DocumentViewClientProps as ClientSideEditViewProps, ClientTab, ClientUser, ClientWidget, CodeField, CodeFieldClient, CodeFieldClientComponent, CodeFieldClientProps, CodeFieldDescriptionClientComponent, CodeFieldDescriptionServerComponent, CodeFieldDiffClientComponent, CodeFieldDiffServerComponent, CodeFieldErrorClientComponent, CodeFieldErrorServerComponent, CodeFieldLabelClientComponent, CodeFieldLabelServerComponent, CodeFieldServerComponent, CodeFieldServerProps, CodeFieldValidation, CollapsedPreferences, CollapsibleField, CollapsibleFieldClient, CollapsibleFieldClientComponent, CollapsibleFieldClientProps, CollapsibleFieldDescriptionClientComponent, CollapsibleFieldDescriptionServerComponent, CollapsibleFieldDiffClientComponent, CollapsibleFieldDiffServerComponent, CollapsibleFieldErrorClientComponent, CollapsibleFieldErrorServerComponent, CollapsibleFieldLabelClientComponent, CollapsibleFieldLabelServerComponent, CollapsibleFieldServerComponent, CollapsibleFieldServerProps, Collection, CollectionAdminCustom, CollectionAdminOptions, AfterChangeHook as CollectionAfterChangeHook, AfterDeleteHook as CollectionAfterDeleteHook, AfterErrorHook as CollectionAfterErrorHook, AfterForgotPasswordHook as CollectionAfterForgotPasswordHook, AfterLoginHook as CollectionAfterLoginHook, AfterLogoutHook as CollectionAfterLogoutHook, AfterMeHook as CollectionAfterMeHook, AfterOperationHook as CollectionAfterOperationHook, AfterReadHook as CollectionAfterReadHook, AfterRefreshHook as CollectionAfterRefreshHook, BeforeChangeHook as CollectionBeforeChangeHook, BeforeDeleteHook as CollectionBeforeDeleteHook, BeforeLoginHook as CollectionBeforeLoginHook, BeforeOperationHook as CollectionBeforeOperationHook, BeforeReadHook as CollectionBeforeReadHook, BeforeValidateHook as CollectionBeforeValidateHook, CollectionConfig, CollectionCustom, MeHook as CollectionMeHook, CollectionPermission, CollectionPreferences, RefreshHook as CollectionRefreshHook, CollectionSlug, Column, ColumnPreference, CommitTransaction, CompoundIndex, ConcurrencyConfig, Condition, ConditionalDateProps, Config, ConfirmPasswordFieldValidation, Connect, CookieOptions$1 as CookieOptions, CookieStore, Count, CountArgs, CountGlobalVersionArgs, CountGlobalVersions, CountVersions, Create, CreateArgs, CreateClientConfigArgs, CreateFolderFieldOptions, CreateGlobal, CreateGlobalArgs, CreateGlobalVersion, CreateGlobalVersionArgs, CreateMigration, CreateTagFieldOptions, CreateVersion, CreateVersionArgs, CustomComponent, CustomDocumentViewConfig, CustomPayloadRequestProperties, CustomComponent as CustomPreviewButton, CustomComponent as CustomPublishButton, CustomComponent as CustomSaveButton, CustomComponent as CustomSaveDraftButton, CustomStatus, CustomUpload, CustomVersionParser, DBIdentifierName, DashboardConfig, Data, DataFromCollectionSlug, DataFromGlobalSlug, DataFromWidgetSlug, DatabaseAdapter, DatabaseAdapterResult as DatabaseAdapterObj, DatabaseKVAdapterOptions, DateField, DateFieldClient, DateFieldClientComponent, DateFieldClientProps, DateFieldDescriptionClientComponent, DateFieldDescriptionServerComponent, DateFieldDiffClientComponent, DateFieldDiffServerComponent, DateFieldErrorClientComponent, DateFieldErrorServerComponent, DateFieldLabelClientComponent, DateFieldLabelServerComponent, DateFieldServerComponent, DateFieldServerProps, DateFieldValidation, DayPickerProps, DefaultCellComponentProps, DefaultDocumentIDType, DefaultDocumentViewConfig, DefaultServerCellComponentProps, DefaultServerFunctionArgs, DefaultValue, DeleteMany, DeleteManyArgs, DeleteOne, DeleteOneArgs, DeleteVersions, DeleteVersionsArgs, Description, DescriptionFunction, Destroy, Document, DocumentEvent, DocumentPermissions, DocumentPreferences, DocumentSlots, DocumentSubViewTypes, DocumentTabClientProps, DocumentTabComponent, DocumentTabCondition, DocumentTabConfig, DocumentTabServerProps as DocumentTabProps, DocumentTabServerProps, DocumentTabServerPropsOnly, DocumentViewClientProps, DocumentViewComponent, DocumentViewConfig, DocumentViewServerProps, DocumentViewServerPropsOnly, DraftTransformCollectionWithSelect, DynamicMigrationTemplate, EditConfig, EditConfigWithRoot, EditConfigWithoutRoot, EditMenuItemsClientProps, EditMenuItemsServerProps, EditMenuItemsServerPropsOnly, EditViewComponent, EditViewConfig, EditViewProps, EmailAdapter, EmailField, EmailFieldClient, EmailFieldClientComponent, EmailFieldClientProps, EmailFieldDescriptionClientComponent, EmailFieldDescriptionServerComponent, EmailFieldDiffClientComponent, EmailFieldDiffServerComponent, EmailFieldErrorClientComponent, EmailFieldErrorServerComponent, EmailFieldLabelClientComponent, EmailFieldLabelServerComponent, EmailFieldServerComponent, EmailFieldServerProps, EmailFieldValidation, Endpoint, EntityDescription, EntityDescriptionComponent, EntityDescriptionFunction, EntityPolicies, ErrorResult, FetchAPIFileUploadOptions, Field, FieldAccess, FieldAccessArgs, FieldAffectingData, FieldAffectingDataClient, FieldBase, FieldBaseClient, FieldClientComponent, FieldCustom, FieldDescriptionClientComponent, FieldDescriptionClientProps, FieldDescriptionServerComponent, FieldDescriptionServerProps, FieldDiffClientComponent, FieldDiffClientProps, FieldDiffServerComponent, FieldDiffServerProps, FieldErrorClientComponent, FieldErrorClientProps, FieldErrorServerComponent, FieldErrorServerProps, FieldHook, FieldHookArgs, FieldLabelClientComponent, FieldLabelClientProps, FieldLabelServerComponent, FieldLabelServerProps, FieldPaths, FieldPermissions, FieldPosition, FieldPresentationalOnly, FieldPresentationalOnlyClient, FieldRow, FieldSchemaMap, FieldServerComponent, FieldState, FieldTypes, FieldWithMany, FieldWithManyClient, FieldWithMaxDepth, FieldWithMaxDepthClient, FieldWithPath, FieldWithPathClient, FieldWithSubFields, FieldWithSubFieldsClient, FieldsPermissions, FieldsPreferences, FieldsToJSONSchemaArgs, File$1 as File, FileAllowList, FileData, FileSize, FileSizes, FileToSave, FilterOptions, FilterOptionsProps, FilterOptionsResult, Find, FindArgs, FindDistinct, FindGlobal, FindGlobalArgs, FindGlobalVersions, FindGlobalVersionsArgs, FindOne, FindOneArgs, FindOptions, FindVersions, FindVersionsArgs, FlattenedArrayField, FlattenedBlock, FlattenedBlocksField, FlattenedField$1 as FlattenedField, FlattenedGroupField, FlattenedJoinField, FlattenedTabAsField, FocalPoint, FoldersConfig, FieldState as FormField, FieldStateWithoutComponents as FormFieldWithoutComponents, FormState, FormStateWithoutComponents, GenerateImageName, GeneratePreviewURL, GenerateSchema, GeneratedTypes, GenericDescriptionProps, GenericErrorProps, GenericLabelProps, GetAdminThumbnail, GetInitialTreeDataArgs, GlobalAdminCustom, GlobalAdminOptions, AfterChangeHook$1 as GlobalAfterChangeHook, AfterReadHook$1 as GlobalAfterReadHook, BeforeChangeHook$1 as GlobalBeforeChangeHook, BeforeOperationHook$1 as GlobalBeforeOperationHook, BeforeReadHook$1 as GlobalBeforeReadHook, BeforeValidateHook$1 as GlobalBeforeValidateHook, GlobalConfig, GlobalCustom, GlobalPermission, GlobalSlug, GraphQLExtension, GraphQLInfo, GroupField, GroupFieldClient, GroupFieldClientComponent, GroupFieldClientProps, GroupFieldDescriptionClientComponent, GroupFieldDescriptionServerComponent, GroupFieldDiffClientComponent, GroupFieldDiffServerComponent, GroupFieldErrorClientComponent, GroupFieldErrorServerComponent, GroupFieldLabelClientComponent, GroupFieldLabelServerComponent, GroupFieldServerComponent, GroupFieldServerProps, HiddenFieldProps, HierarchyConfig, HierarchyViewData, HookName, HookOperationType, IfAny, ImageSize, ImageUploadFormatOptions, ImageUploadTrimOptions, ImportMap, ImportMapGenerators, IncomingAuthType, Init, InitOptions, InitPageResult, InitReqResult, InitialTreeData, InsideFieldsPreferences, IsAny, JSONField, JSONFieldClient, JSONFieldClientComponent, JSONFieldClientProps, JSONFieldDescriptionClientComponent, JSONFieldDescriptionServerComponent, JSONFieldDiffClientComponent, JSONFieldDiffServerComponent, JSONFieldErrorClientComponent, JSONFieldErrorServerComponent, JSONFieldLabelClientComponent, JSONFieldLabelServerComponent, JSONFieldServerComponent, JSONFieldServerProps, JSONFieldValidation, Job, JobLog, JobTaskStatus, JobsConfig, JoinField, JoinFieldClient, JoinFieldClientComponent, JoinFieldClientProps, JoinFieldDescriptionClientComponent, JoinFieldDescriptionServerComponent, JoinFieldDiffClientComponent, JoinFieldDiffServerComponent, JoinFieldErrorClientComponent, JoinFieldErrorServerComponent, JoinFieldLabelClientComponent, JoinFieldLabelServerComponent, JoinFieldServerComponent, JoinFieldServerProps, JoinQuery, JsonArray, JsonObject, JsonValue, KVAdapter, KVAdapterResult, KVStoreValue, LabelFunction, Labels, LabelsClient, LanguageOptions, LinkAdapterProps, CollectionPreferences as ListPreferences, ListQuery, ListViewClientProps, ListViewServerProps, ListViewServerPropsOnly, ListViewSlotSharedClientProps, ListViewSlots, LivePreviewConfig, LivePreviewURLType, Locale, LocalizationConfig, LocalizationConfigWithLabels, LocalizationConfigWithNoLabels, LoginResult, LoginWithUsernameOptions, MappedClientComponent, MappedEmptyComponent, MappedServerComponent, MaybePromise, MeOperationResult, MetaConfig, Migration, MigrationData, MigrationTemplateArgs, LocalizeStatusArgs$1 as MongoLocalizeStatusArgs, NamedGroupField, NamedGroupFieldClient, NamedTab, NavGroupPreferences, NavPreferences, NonPresentationalField, NonPresentationalFieldClient, NumberField, NumberFieldClient, NumberFieldClientComponent, NumberFieldClientProps, NumberFieldDescriptionClientComponent, NumberFieldDescriptionServerComponent, NumberFieldDiffClientComponent, NumberFieldDiffServerComponent, NumberFieldErrorClientComponent, NumberFieldErrorServerComponent, NumberFieldLabelClientComponent, NumberFieldLabelServerComponent, NumberFieldManyValidation, NumberFieldServerComponent, NumberFieldServerProps, NumberFieldSingleValidation, NumberFieldValidation, OGImageConfig, Operation, Operator, Option, OptionLabel, OptionObject, OrderableEndpointBody, PaginatedDistinctDocs, PaginatedDocs, Params, PasswordFieldValidation, PathToQuery, Payload, PayloadClientComponentProps, PayloadClientReactComponent, PayloadComponent, PayloadComponentProps, EmailAdapter as PayloadEmailAdapter, PayloadHandler, PayloadLogger, PayloadReactComponent, PayloadRequest, PayloadServerAction, PayloadServerComponentProps, PayloadServerReactComponent, PayloadTypes, PayloadTypesShape, Permission, Permissions, PickPreserveOptional, Plugin, PluginsMap, PointField, PointFieldClient, PointFieldClientComponent, PointFieldClientProps, PointFieldDescriptionClientComponent, PointFieldDescriptionServerComponent, PointFieldDiffClientComponent, PointFieldDiffServerComponent, PointFieldErrorClientComponent, PointFieldErrorServerComponent, PointFieldLabelClientComponent, PointFieldLabelServerComponent, PointFieldServerComponent, PointFieldServerProps, PointFieldValidation, PolymorphicRelationshipField, PolymorphicRelationshipFieldClient, PopulateType, PreferenceRequest, PreferenceUpdateRequest, PreviewButtonClientProps, PreviewButtonServerProps, PreviewButtonServerPropsOnly, ProbedImageSize, PublishButtonClientProps, PublishButtonServerProps, PublishButtonServerPropsOnly, QueryDrafts, QueryDraftsArgs, QueryPreset, RadioField, RadioFieldClient, RadioFieldClientComponent, RadioFieldClientProps, RadioFieldDescriptionClientComponent, RadioFieldDescriptionServerComponent, RadioFieldDiffClientComponent, RadioFieldDiffServerComponent, RadioFieldErrorClientComponent, RadioFieldErrorServerComponent, RadioFieldLabelClientComponent, RadioFieldLabelServerComponent, RadioFieldServerComponent, RadioFieldServerProps, RadioFieldValidation, RawPayloadComponent, RegisteredPlugins, RelatedDocumentsGrouped, RelationshipField, RelationshipFieldClient, RelationshipFieldClientComponent, RelationshipFieldClientProps, RelationshipFieldDescriptionClientComponent, RelationshipFieldDescriptionServerComponent, RelationshipFieldDiffClientComponent, RelationshipFieldDiffServerComponent, RelationshipFieldErrorClientComponent, RelationshipFieldErrorServerComponent, RelationshipFieldLabelClientComponent, RelationshipFieldLabelServerComponent, RelationshipFieldManyValidation, RelationshipFieldServerComponent, RelationshipFieldServerProps, RelationshipFieldSingleValidation, RelationshipFieldValidation, RelationshipValue, RenderConfigArgs, RenderDocumentVersionsProperties, RenderEntityConfigArgs, RenderFieldConfigArgs, RenderRootConfigArgs, RenderedField, ReplaceAny, RequestContext, RequiredDataFromCollection, RequiredDataFromCollectionSlug, ResolvedComponent, ResolvedFilterOptions, RichTextAdapter, RichTextAdapterProvider, RichTextField, RichTextFieldClient, RichTextFieldClientComponent, RichTextFieldClientProps, RichTextFieldDescriptionClientComponent, RichTextFieldDescriptionServerComponent, RichTextFieldDiffClientComponent, RichTextFieldDiffServerComponent, RichTextFieldErrorClientComponent, RichTextFieldErrorServerComponent, RichTextFieldLabelClientComponent, RichTextFieldLabelServerComponent, RichTextFieldServerComponent, RichTextFieldServerProps, RichTextFieldValidation, RichTextHooks, RollbackTransaction, RootLivePreviewConfig, RouterAdapterComponent, RouterAdapterRouter, Row, RowField, RowFieldClient, RowFieldClientComponent, RowFieldClientProps, RowFieldDescriptionClientComponent, RowFieldDescriptionServerComponent, RowFieldDiffClientComponent, RowFieldDiffServerComponent, RowFieldErrorClientComponent, RowFieldErrorServerComponent, RowFieldLabelClientComponent, RowFieldLabelServerComponent, RowFieldServerComponent, RowFieldServerProps, RowLabel, RowLabelComponent, RunInlineTaskFunction, RunJobAccess, RunJobAccessArgs, RunTaskFunction, RunTaskFunctions, RunningJob, SanitizeFieldArgs, SanitizedBlockPermissions, SanitizedBlocksPermissions, SanitizedCollectionConfig, SanitizedCollectionPermission, SanitizedCompoundIndex, SanitizedConfig, SanitizedDashboardConfig, SanitizedDocumentPermissions, SanitizedFieldPermissions, SanitizedFieldsPermissions, SanitizedGlobalConfig, SanitizedGlobalPermission, SanitizedHierarchyConfig, SanitizedHierarchyRelatedCollection, SanitizedJoins, SanitizedLabelProps, SanitizedLocalizationConfig, SanitizedPermissions, SanitizedUploadConfig, SaveButtonClientProps, SaveButtonServerProps, SaveButtonServerPropsOnly, SaveDraftButtonClientProps, SaveDraftButtonServerProps, SaveDraftButtonServerPropsOnly, SchedulePublish, SchedulePublishTaskInput, SelectExcludeType, SelectField, SelectFieldClient, SelectFieldClientComponent, SelectFieldClientProps, SelectFieldDescriptionClientComponent, SelectFieldDescriptionServerComponent, SelectFieldDiffClientComponent, SelectFieldDiffServerComponent, SelectFieldErrorClientComponent, SelectFieldErrorServerComponent, SelectFieldLabelClientComponent, SelectFieldLabelServerComponent, SelectFieldManyValidation, SelectFieldServerComponent, SelectFieldServerProps, SelectFieldSingleValidation, SelectFieldValidation, SelectFn, SelectFnArgs, SelectFnOperation, SelectIncludeType, SelectMode, SelectType, SendEmailOptions, ServerAdapter, ServerComponentProps, ServerFieldBase, ServerFunction, ServerFunctionArgs, ServerFunctionClient, ServerFunctionClientArgs, ServerFunctionConfig, ServerFunctionHandler, ServerOnlyCollectionAdminProperties, ServerOnlyCollectionProperties, ServerOnlyFieldAdminProperties, ServerOnlyFieldProperties, ServerOnlyGlobalAdminProperties, ServerOnlyGlobalProperties, ServerOnlyLivePreviewProperties, ServerOnlyUploadProperties, ServerProps, ServerPropsFromView, DocumentViewServerProps as ServerSideEditViewProps, SharedAdminComponents, SharedEditViewComponents, SharedEntityViews, SharedProps, SharpDependency, SidebarTab, SidebarTabClientProps, SidebarTabServerProps, SidebarTabServerPropsOnly, SingleRelationshipField, SingleRelationshipFieldClient, SingleTaskStatus, SlugField, SlugFieldClientProps, SlugifyServerFunctionArgs, Sort, LocalizeStatusArgs as SqlLocalizeStatusArgs, StaticDescription, StaticLabel, StorageAdapter, StringKeyOf, Tab, TabAsField, TabAsFieldClient, TabsField, TabsFieldClient, TabsFieldClientComponent, TabsFieldClientProps, TabsFieldDescriptionClientComponent, TabsFieldDescriptionServerComponent, TabsFieldDiffClientComponent, TabsFieldDiffServerComponent, TabsFieldErrorClientComponent, TabsFieldErrorServerComponent, TabsFieldLabelClientComponent, TabsFieldLabelServerComponent, TabsFieldServerComponent, TabsFieldServerProps, TabsPreferences, TagsConfig, TaskConfig, TaskHandler, TaskHandlerArgs, TaskHandlerResult, TaskHandlerResults, TaskInput, TaskOutput, TaskType, TextField, TextFieldClient, TextFieldClientComponent, TextFieldClientProps, TextFieldDescriptionClientComponent, TextFieldDescriptionServerComponent, TextFieldDiffClientComponent, TextFieldDiffServerComponent, TextFieldErrorClientComponent, TextFieldErrorServerComponent, TextFieldLabelClientComponent, TextFieldLabelServerComponent, TextFieldManyValidation, TextFieldServerComponent, TextFieldServerProps, TextFieldSingleValidation, TextFieldValidation, TextareaField, TextareaFieldClient, TextareaFieldClientComponent, TextareaFieldClientProps, TextareaFieldDescriptionClientComponent, TextareaFieldDescriptionServerComponent, TextareaFieldDiffClientComponent, TextareaFieldDiffServerComponent, TextareaFieldErrorClientComponent, TextareaFieldErrorServerComponent, TextareaFieldLabelClientComponent, TextareaFieldLabelServerComponent, TextareaFieldServerComponent, TextareaFieldServerProps, TextareaFieldValidation, TimePickerProps, Timezone, TimezonesConfig, Transaction, TransformCollectionWithSelect, TransformDataWithSelect, TransformGlobalWithSelect, TraverseFieldsCallback, TypeWithID, TypeWithTimestamps, TypeWithVersion, TypedAuthOperations, TypedBlock, TypedCollection, TypedCollectionJoins, TypedCollectionSelect, TypedFallbackLocale, TypedGlobal, TypedGlobalSelect, TypedJobs, TypedLocale, TypedUploadCollection, TypedUser, TypedWidget, UIField, UIFieldClient, UIFieldClientComponent, UIFieldClientProps, UIFieldDiffClientComponent, UIFieldDiffServerComponent, UIFieldServerComponent, UIFieldServerProps, UnauthenticatedClientConfig, UnnamedGroupField, UnnamedGroupFieldClient, UnnamedTab, UnpublishButtonClientProps, UnpublishButtonServerProps, UnpublishButtonServerPropsOnly, UntypedPayloadTypes, UntypedUser, UpdateGlobal, UpdateGlobalArgs, UpdateGlobalVersion, UpdateGlobalVersionArgs, UpdateJobs, UpdateJobsArgs, UpdateMany, UpdateManyArgs, UpdateOne, UpdateOneArgs, UpdateVersion, UpdateVersionArgs, UploadCollectionSlug, UploadConfig, UploadEdits, UploadField, UploadFieldClient, UploadFieldClientComponent, UploadFieldClientProps, UploadFieldDescriptionClientComponent, UploadFieldDescriptionServerComponent, UploadFieldDiffClientComponent, UploadFieldDiffServerComponent, UploadFieldErrorClientComponent, UploadFieldErrorServerComponent, UploadFieldLabelClientComponent, UploadFieldLabelServerComponent, UploadFieldManyValidation, UploadFieldServerComponent, UploadFieldServerProps, UploadFieldSingleValidation, UploadFieldValidation, Upsert, UpsertArgs, UntypedUser as User, UserSession, UsernameFieldValidation, Validate, ValidateOptions, ValidationFieldError, ValueWithRelation, VerifyConfig, VersionField, VersionOperations, VersionTab, ViewDescriptionClientProps, ViewDescriptionServerProps, ViewDescriptionServerPropsOnly, ViewTypes, VisibleEntities, Where, WhereField, Widget, WidgetInstance, WidgetServerProps, WidgetSlug, WidgetWidth, WithSelectFn, WithServerSidePropsComponent, WithServerSidePropsComponentProps, WorkflowConfig, WorkflowHandler, WorkflowTypes, checkFileRestrictionsParams };
14731
+ 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 };
14732
+ 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, 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, 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 };