payload 4.0.0-internal.ccea85d → 4.0.0-internal.cd47d20

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 (1552) hide show
  1. package/bin.js +14 -10
  2. package/dist/admin/RichText.d.ts +1 -1
  3. package/dist/admin/RichText.d.ts.map +1 -1
  4. package/dist/admin/RichText.js.map +1 -1
  5. package/dist/admin/adapters/devReload.d.ts +13 -0
  6. package/dist/admin/adapters/devReload.d.ts.map +1 -1
  7. package/dist/admin/adapters/devReload.js +14 -1
  8. package/dist/admin/adapters/devReload.js.map +1 -1
  9. package/dist/admin/fields/Array.d.ts +11 -13
  10. package/dist/admin/fields/Array.d.ts.map +1 -1
  11. package/dist/admin/fields/Array.js.map +1 -1
  12. package/dist/admin/fields/Blocks.d.ts +13 -16
  13. package/dist/admin/fields/Blocks.d.ts.map +1 -1
  14. package/dist/admin/fields/Blocks.js.map +1 -1
  15. package/dist/admin/fields/Checkbox.d.ts +11 -13
  16. package/dist/admin/fields/Checkbox.d.ts.map +1 -1
  17. package/dist/admin/fields/Checkbox.js.map +1 -1
  18. package/dist/admin/fields/Code.d.ts +11 -13
  19. package/dist/admin/fields/Code.d.ts.map +1 -1
  20. package/dist/admin/fields/Code.js.map +1 -1
  21. package/dist/admin/fields/Collapsible.d.ts +11 -13
  22. package/dist/admin/fields/Collapsible.d.ts.map +1 -1
  23. package/dist/admin/fields/Collapsible.js.map +1 -1
  24. package/dist/admin/fields/Date.d.ts +11 -13
  25. package/dist/admin/fields/Date.d.ts.map +1 -1
  26. package/dist/admin/fields/Date.js.map +1 -1
  27. package/dist/admin/fields/Email.d.ts +11 -13
  28. package/dist/admin/fields/Email.d.ts.map +1 -1
  29. package/dist/admin/fields/Email.js.map +1 -1
  30. package/dist/admin/fields/Group.d.ts +11 -13
  31. package/dist/admin/fields/Group.d.ts.map +1 -1
  32. package/dist/admin/fields/Group.js.map +1 -1
  33. package/dist/admin/fields/JSON.d.ts +11 -13
  34. package/dist/admin/fields/JSON.d.ts.map +1 -1
  35. package/dist/admin/fields/JSON.js.map +1 -1
  36. package/dist/admin/fields/Join.d.ts +12 -14
  37. package/dist/admin/fields/Join.d.ts.map +1 -1
  38. package/dist/admin/fields/Join.js.map +1 -1
  39. package/dist/admin/fields/Number.d.ts +11 -13
  40. package/dist/admin/fields/Number.d.ts.map +1 -1
  41. package/dist/admin/fields/Number.js.map +1 -1
  42. package/dist/admin/fields/Point.d.ts +11 -13
  43. package/dist/admin/fields/Point.d.ts.map +1 -1
  44. package/dist/admin/fields/Point.js.map +1 -1
  45. package/dist/admin/fields/Radio.d.ts +11 -13
  46. package/dist/admin/fields/Radio.d.ts.map +1 -1
  47. package/dist/admin/fields/Radio.js.map +1 -1
  48. package/dist/admin/fields/Relationship.d.ts +11 -13
  49. package/dist/admin/fields/Relationship.d.ts.map +1 -1
  50. package/dist/admin/fields/Relationship.js.map +1 -1
  51. package/dist/admin/fields/RichText.d.ts +13 -15
  52. package/dist/admin/fields/RichText.d.ts.map +1 -1
  53. package/dist/admin/fields/RichText.js.map +1 -1
  54. package/dist/admin/fields/Row.d.ts +10 -12
  55. package/dist/admin/fields/Row.d.ts.map +1 -1
  56. package/dist/admin/fields/Row.js.map +1 -1
  57. package/dist/admin/fields/Select.d.ts +11 -13
  58. package/dist/admin/fields/Select.d.ts.map +1 -1
  59. package/dist/admin/fields/Select.js.map +1 -1
  60. package/dist/admin/fields/Tabs.d.ts +11 -13
  61. package/dist/admin/fields/Tabs.d.ts.map +1 -1
  62. package/dist/admin/fields/Tabs.js.map +1 -1
  63. package/dist/admin/fields/Text.d.ts +11 -13
  64. package/dist/admin/fields/Text.d.ts.map +1 -1
  65. package/dist/admin/fields/Text.js.map +1 -1
  66. package/dist/admin/fields/Textarea.d.ts +11 -13
  67. package/dist/admin/fields/Textarea.d.ts.map +1 -1
  68. package/dist/admin/fields/Textarea.js.map +1 -1
  69. package/dist/admin/fields/UI.d.ts +3 -5
  70. package/dist/admin/fields/UI.d.ts.map +1 -1
  71. package/dist/admin/fields/UI.js.map +1 -1
  72. package/dist/admin/fields/Upload.d.ts +11 -13
  73. package/dist/admin/fields/Upload.d.ts.map +1 -1
  74. package/dist/admin/fields/Upload.js.map +1 -1
  75. package/dist/admin/forms/Description.d.ts +0 -2
  76. package/dist/admin/forms/Description.d.ts.map +1 -1
  77. package/dist/admin/forms/Description.js.map +1 -1
  78. package/dist/admin/forms/Diff.d.ts +0 -2
  79. package/dist/admin/forms/Diff.d.ts.map +1 -1
  80. package/dist/admin/forms/Diff.js.map +1 -1
  81. package/dist/admin/forms/Error.d.ts +0 -2
  82. package/dist/admin/forms/Error.d.ts.map +1 -1
  83. package/dist/admin/forms/Error.js.map +1 -1
  84. package/dist/admin/forms/Field.d.ts +4 -2
  85. package/dist/admin/forms/Field.d.ts.map +1 -1
  86. package/dist/admin/forms/Field.js.map +1 -1
  87. package/dist/admin/forms/Form.d.ts +2 -0
  88. package/dist/admin/forms/Form.d.ts.map +1 -1
  89. package/dist/admin/forms/Form.js.map +1 -1
  90. package/dist/admin/forms/Label.d.ts +0 -2
  91. package/dist/admin/forms/Label.d.ts.map +1 -1
  92. package/dist/admin/forms/Label.js.map +1 -1
  93. package/dist/admin/functions/index.d.ts +15 -11
  94. package/dist/admin/functions/index.d.ts.map +1 -1
  95. package/dist/admin/functions/index.js.map +1 -1
  96. package/dist/admin/getRequestLocale.d.ts +6 -0
  97. package/dist/admin/getRequestLocale.d.ts.map +1 -0
  98. package/dist/admin/getRequestLocale.js +38 -0
  99. package/dist/admin/getRequestLocale.js.map +1 -0
  100. package/dist/admin/initAdminContext.d.ts +39 -0
  101. package/dist/admin/initAdminContext.d.ts.map +1 -0
  102. package/dist/admin/initAdminContext.js +154 -0
  103. package/dist/admin/initAdminContext.js.map +1 -0
  104. package/dist/admin/types.d.ts +30 -30
  105. package/dist/admin/types.d.ts.map +1 -1
  106. package/dist/admin/types.js.map +1 -1
  107. package/dist/admin/views/dashboard.d.ts +2 -2
  108. package/dist/admin/views/dashboard.d.ts.map +1 -1
  109. package/dist/admin/views/dashboard.js.map +1 -1
  110. package/dist/admin/views/index.d.ts +2 -2
  111. package/dist/admin/views/index.d.ts.map +1 -1
  112. package/dist/admin/views/index.js.map +1 -1
  113. package/dist/auth/applyUserReadAccess.d.ts +13 -0
  114. package/dist/auth/applyUserReadAccess.d.ts.map +1 -0
  115. package/dist/auth/applyUserReadAccess.js +41 -0
  116. package/dist/auth/applyUserReadAccess.js.map +1 -0
  117. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.d.ts +4 -0
  118. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.d.ts.map +1 -0
  119. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.js +20 -0
  120. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.js.map +1 -0
  121. package/dist/auth/baseFields/apiKey/encryptAPIKey.d.ts +4 -0
  122. package/dist/auth/baseFields/apiKey/encryptAPIKey.d.ts.map +1 -0
  123. package/dist/auth/baseFields/apiKey/encryptAPIKey.js +11 -0
  124. package/dist/auth/baseFields/apiKey/encryptAPIKey.js.map +1 -0
  125. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.d.ts +3 -0
  126. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.d.ts.map +1 -0
  127. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.js +5 -0
  128. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.js.map +1 -0
  129. package/dist/auth/baseFields/apiKey/omitAPIKey.d.ts +5 -0
  130. package/dist/auth/baseFields/apiKey/omitAPIKey.d.ts.map +1 -0
  131. package/dist/auth/baseFields/apiKey/omitAPIKey.js +11 -0
  132. package/dist/auth/baseFields/apiKey/omitAPIKey.js.map +1 -0
  133. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.d.ts +4 -0
  134. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.d.ts.map +1 -0
  135. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.js +5 -0
  136. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.js.map +1 -0
  137. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.d.ts +4 -0
  138. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.d.ts.map +1 -0
  139. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.js +5 -0
  140. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.js.map +1 -0
  141. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.d.ts +4 -0
  142. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.d.ts.map +1 -0
  143. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.js +12 -0
  144. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.js.map +1 -0
  145. package/dist/auth/baseFields/apiKey/setKeyLast4.d.ts +4 -0
  146. package/dist/auth/baseFields/apiKey/setKeyLast4.d.ts.map +1 -0
  147. package/dist/auth/baseFields/apiKey/setKeyLast4.js +12 -0
  148. package/dist/auth/baseFields/apiKey/setKeyLast4.js.map +1 -0
  149. package/dist/auth/baseFields/apiKey.d.ts +6 -6
  150. package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
  151. package/dist/auth/baseFields/apiKey.js +88 -57
  152. package/dist/auth/baseFields/apiKey.js.map +1 -1
  153. package/dist/auth/baseFields/auth.d.ts +1 -0
  154. package/dist/auth/baseFields/auth.d.ts.map +1 -1
  155. package/dist/auth/baseFields/auth.js +9 -0
  156. package/dist/auth/baseFields/auth.js.map +1 -1
  157. package/dist/auth/crypto.d.ts +73 -2
  158. package/dist/auth/crypto.d.ts.map +1 -1
  159. package/dist/auth/crypto.js +90 -13
  160. package/dist/auth/crypto.js.map +1 -1
  161. package/dist/auth/defaultUnlockAccess.d.ts +3 -0
  162. package/dist/auth/defaultUnlockAccess.d.ts.map +1 -0
  163. package/dist/auth/defaultUnlockAccess.js +8 -0
  164. package/dist/auth/defaultUnlockAccess.js.map +1 -0
  165. package/dist/auth/endpoints/index.d.ts +1 -0
  166. package/dist/auth/endpoints/index.d.ts.map +1 -1
  167. package/dist/auth/endpoints/index.js +8 -0
  168. package/dist/auth/endpoints/index.js.map +1 -1
  169. package/dist/auth/endpoints/login.d.ts.map +1 -1
  170. package/dist/auth/endpoints/login.js +2 -11
  171. package/dist/auth/endpoints/login.js.map +1 -1
  172. package/dist/auth/endpoints/refresh.d.ts.map +1 -1
  173. package/dist/auth/endpoints/refresh.js +4 -6
  174. package/dist/auth/endpoints/refresh.js.map +1 -1
  175. package/dist/auth/endpoints/revealAPIKey.d.ts +7 -0
  176. package/dist/auth/endpoints/revealAPIKey.d.ts.map +1 -0
  177. package/dist/auth/endpoints/revealAPIKey.js +122 -0
  178. package/dist/auth/endpoints/revealAPIKey.js.map +1 -0
  179. package/dist/auth/executeAccess.d.ts +2 -1
  180. package/dist/auth/executeAccess.d.ts.map +1 -1
  181. package/dist/auth/executeAccess.js +2 -1
  182. package/dist/auth/executeAccess.js.map +1 -1
  183. package/dist/auth/getAccessResults.js +1 -0
  184. package/dist/auth/getAccessResults.js.map +1 -1
  185. package/dist/auth/getAuthFields.d.ts +1 -1
  186. package/dist/auth/getAuthFields.d.ts.map +1 -1
  187. package/dist/auth/getAuthFields.js +7 -4
  188. package/dist/auth/getAuthFields.js.map +1 -1
  189. package/dist/auth/getFieldsToSign.d.ts.map +1 -1
  190. package/dist/auth/getFieldsToSign.js +20 -10
  191. package/dist/auth/getFieldsToSign.js.map +1 -1
  192. package/dist/auth/getLoginOptions.js.map +1 -1
  193. package/dist/auth/jwt.d.ts.map +1 -1
  194. package/dist/auth/jwt.js +2 -0
  195. package/dist/auth/jwt.js.map +1 -1
  196. package/dist/auth/jwtAuth.d.ts +9 -0
  197. package/dist/auth/jwtAuth.d.ts.map +1 -0
  198. package/dist/auth/jwtAuth.js +8 -0
  199. package/dist/auth/jwtAuth.js.map +1 -0
  200. package/dist/auth/loginWithCookie.d.ts +33 -0
  201. package/dist/auth/loginWithCookie.d.ts.map +1 -0
  202. package/dist/auth/loginWithCookie.js +34 -0
  203. package/dist/auth/loginWithCookie.js.map +1 -0
  204. package/dist/auth/operations/access.d.ts.map +1 -1
  205. package/dist/auth/operations/access.js +3 -9
  206. package/dist/auth/operations/access.js.map +1 -1
  207. package/dist/auth/operations/auth.d.ts.map +1 -1
  208. package/dist/auth/operations/auth.js +16 -21
  209. package/dist/auth/operations/auth.js.map +1 -1
  210. package/dist/auth/operations/forgotPassword.d.ts.map +1 -1
  211. package/dist/auth/operations/forgotPassword.js +97 -14
  212. package/dist/auth/operations/forgotPassword.js.map +1 -1
  213. package/dist/auth/operations/local/auth.js +7 -4
  214. package/dist/auth/operations/local/auth.js.map +1 -1
  215. package/dist/auth/operations/local/forgotPassword.d.ts +2 -2
  216. package/dist/auth/operations/local/forgotPassword.d.ts.map +1 -1
  217. package/dist/auth/operations/local/forgotPassword.js +6 -3
  218. package/dist/auth/operations/local/forgotPassword.js.map +1 -1
  219. package/dist/auth/operations/local/login.d.ts +2 -2
  220. package/dist/auth/operations/local/login.d.ts.map +1 -1
  221. package/dist/auth/operations/local/login.js +6 -3
  222. package/dist/auth/operations/local/login.js.map +1 -1
  223. package/dist/auth/operations/local/resetPassword.js +5 -2
  224. package/dist/auth/operations/local/resetPassword.js.map +1 -1
  225. package/dist/auth/operations/local/unlock.d.ts +2 -2
  226. package/dist/auth/operations/local/unlock.d.ts.map +1 -1
  227. package/dist/auth/operations/local/unlock.js +6 -3
  228. package/dist/auth/operations/local/unlock.js.map +1 -1
  229. package/dist/auth/operations/local/verifyEmail.js +5 -2
  230. package/dist/auth/operations/local/verifyEmail.js.map +1 -1
  231. package/dist/auth/operations/login.d.ts.map +1 -1
  232. package/dist/auth/operations/login.js +48 -26
  233. package/dist/auth/operations/login.js.map +1 -1
  234. package/dist/auth/operations/me.d.ts +0 -7
  235. package/dist/auth/operations/me.d.ts.map +1 -1
  236. package/dist/auth/operations/me.js +0 -6
  237. package/dist/auth/operations/me.js.map +1 -1
  238. package/dist/auth/operations/refresh.d.ts +0 -7
  239. package/dist/auth/operations/refresh.d.ts.map +1 -1
  240. package/dist/auth/operations/refresh.js +32 -15
  241. package/dist/auth/operations/refresh.js.map +1 -1
  242. package/dist/auth/operations/registerFirstUser.d.ts.map +1 -1
  243. package/dist/auth/operations/registerFirstUser.js +4 -4
  244. package/dist/auth/operations/registerFirstUser.js.map +1 -1
  245. package/dist/auth/operations/resetPassword.d.ts.map +1 -1
  246. package/dist/auth/operations/resetPassword.js +31 -22
  247. package/dist/auth/operations/resetPassword.js.map +1 -1
  248. package/dist/auth/operations/unlock.d.ts.map +1 -1
  249. package/dist/auth/operations/unlock.js +1 -0
  250. package/dist/auth/operations/unlock.js.map +1 -1
  251. package/dist/auth/rotateSecret.d.ts +51 -0
  252. package/dist/auth/rotateSecret.d.ts.map +1 -0
  253. package/dist/auth/rotateSecret.js +131 -0
  254. package/dist/auth/rotateSecret.js.map +1 -0
  255. package/dist/auth/serverFunctions/cookies.d.ts +47 -0
  256. package/dist/auth/serverFunctions/cookies.d.ts.map +1 -0
  257. package/dist/auth/serverFunctions/cookies.js +52 -0
  258. package/dist/auth/serverFunctions/cookies.js.map +1 -0
  259. package/dist/auth/serverFunctions/login.d.ts +29 -0
  260. package/dist/auth/serverFunctions/login.d.ts.map +1 -0
  261. package/dist/auth/serverFunctions/login.js +65 -0
  262. package/dist/auth/serverFunctions/login.js.map +1 -0
  263. package/dist/auth/serverFunctions/logout.d.ts +17 -0
  264. package/dist/auth/serverFunctions/logout.d.ts.map +1 -0
  265. package/dist/auth/serverFunctions/logout.js +59 -0
  266. package/dist/auth/serverFunctions/logout.js.map +1 -0
  267. package/dist/auth/serverFunctions/refresh.d.ts +17 -0
  268. package/dist/auth/serverFunctions/refresh.d.ts.map +1 -0
  269. package/dist/auth/serverFunctions/refresh.js +62 -0
  270. package/dist/auth/serverFunctions/refresh.js.map +1 -0
  271. package/dist/auth/strategies/apiKey.d.ts.map +1 -1
  272. package/dist/auth/strategies/apiKey.js +42 -4
  273. package/dist/auth/strategies/apiKey.js.map +1 -1
  274. package/dist/auth/strategies/jwt.d.ts.map +1 -1
  275. package/dist/auth/strategies/jwt.js +83 -11
  276. package/dist/auth/strategies/jwt.js.map +1 -1
  277. package/dist/auth/strategies/local/authenticate.d.ts +5 -1
  278. package/dist/auth/strategies/local/authenticate.d.ts.map +1 -1
  279. package/dist/auth/strategies/local/authenticate.js +8 -3
  280. package/dist/auth/strategies/local/authenticate.js.map +1 -1
  281. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts +9 -1
  282. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts.map +1 -1
  283. package/dist/auth/strategies/local/generatePasswordSaltHash.js +61 -34
  284. package/dist/auth/strategies/local/generatePasswordSaltHash.js.map +1 -1
  285. package/dist/auth/strategies/local/register.d.ts.map +1 -1
  286. package/dist/auth/strategies/local/register.js +1 -0
  287. package/dist/auth/strategies/local/register.js.map +1 -1
  288. package/dist/auth/types.d.ts +26 -18
  289. package/dist/auth/types.d.ts.map +1 -1
  290. package/dist/auth/types.js.map +1 -1
  291. package/dist/auth/withBaseAccess.d.ts +22 -0
  292. package/dist/auth/withBaseAccess.d.ts.map +1 -0
  293. package/dist/auth/withBaseAccess.js +61 -0
  294. package/dist/auth/withBaseAccess.js.map +1 -0
  295. package/dist/{bin → cli/commands/build}/build.d.ts +8 -13
  296. package/dist/cli/commands/build/build.d.ts.map +1 -0
  297. package/dist/{bin → cli/commands/build}/build.js +26 -27
  298. package/dist/cli/commands/build/build.js.map +1 -0
  299. package/dist/cli/commands/build/index.d.ts +2 -0
  300. package/dist/cli/commands/build/index.d.ts.map +1 -0
  301. package/dist/cli/commands/build/index.js +26 -0
  302. package/dist/cli/commands/build/index.js.map +1 -0
  303. package/dist/cli/commands/collections/countDocuments.d.ts +2 -0
  304. package/dist/cli/commands/collections/countDocuments.d.ts.map +1 -0
  305. package/dist/cli/commands/collections/countDocuments.js +37 -0
  306. package/dist/cli/commands/collections/countDocuments.js.map +1 -0
  307. package/dist/cli/commands/collections/countVersions.d.ts +2 -0
  308. package/dist/cli/commands/collections/countVersions.d.ts.map +1 -0
  309. package/dist/cli/commands/collections/countVersions.js +36 -0
  310. package/dist/cli/commands/collections/countVersions.js.map +1 -0
  311. package/dist/cli/commands/collections/createDocuments.d.ts +2 -0
  312. package/dist/cli/commands/collections/createDocuments.d.ts.map +1 -0
  313. package/dist/cli/commands/collections/createDocuments.js +132 -0
  314. package/dist/cli/commands/collections/createDocuments.js.map +1 -0
  315. package/dist/cli/commands/collections/deleteDocuments.d.ts +2 -0
  316. package/dist/cli/commands/collections/deleteDocuments.d.ts.map +1 -0
  317. package/dist/cli/commands/collections/deleteDocuments.js +64 -0
  318. package/dist/cli/commands/collections/deleteDocuments.js.map +1 -0
  319. package/dist/cli/commands/collections/duplicateDocument.d.ts +2 -0
  320. package/dist/cli/commands/collections/duplicateDocument.d.ts.map +1 -0
  321. package/dist/cli/commands/collections/duplicateDocument.js +109 -0
  322. package/dist/cli/commands/collections/duplicateDocument.js.map +1 -0
  323. package/dist/cli/commands/collections/findDistinct.d.ts +2 -0
  324. package/dist/cli/commands/collections/findDistinct.d.ts.map +1 -0
  325. package/dist/cli/commands/collections/findDistinct.js +52 -0
  326. package/dist/cli/commands/collections/findDistinct.js.map +1 -0
  327. package/dist/cli/commands/collections/findDocuments.d.ts +2 -0
  328. package/dist/cli/commands/collections/findDocuments.d.ts.map +1 -0
  329. package/dist/cli/commands/collections/findDocuments.js +79 -0
  330. package/dist/cli/commands/collections/findDocuments.js.map +1 -0
  331. package/dist/cli/commands/collections/findVersionByID.d.ts +2 -0
  332. package/dist/cli/commands/collections/findVersionByID.d.ts.map +1 -0
  333. package/dist/cli/commands/collections/findVersionByID.js +48 -0
  334. package/dist/cli/commands/collections/findVersionByID.js.map +1 -0
  335. package/dist/cli/commands/collections/findVersions.d.ts +2 -0
  336. package/dist/cli/commands/collections/findVersions.d.ts.map +1 -0
  337. package/dist/cli/commands/collections/findVersions.js +57 -0
  338. package/dist/cli/commands/collections/findVersions.js.map +1 -0
  339. package/dist/cli/commands/collections/getCollectionSchema.d.ts +2 -0
  340. package/dist/cli/commands/collections/getCollectionSchema.d.ts.map +1 -0
  341. package/dist/cli/commands/collections/getCollectionSchema.js +51 -0
  342. package/dist/cli/commands/collections/getCollectionSchema.js.map +1 -0
  343. package/dist/cli/commands/collections/restoreVersion.d.ts +2 -0
  344. package/dist/cli/commands/collections/restoreVersion.d.ts.map +1 -0
  345. package/dist/cli/commands/collections/restoreVersion.js +47 -0
  346. package/dist/cli/commands/collections/restoreVersion.js.map +1 -0
  347. package/dist/cli/commands/collections/updateDocument.d.ts +2 -0
  348. package/dist/cli/commands/collections/updateDocument.d.ts.map +1 -0
  349. package/dist/cli/commands/collections/updateDocument.js +192 -0
  350. package/dist/cli/commands/collections/updateDocument.js.map +1 -0
  351. package/dist/cli/commands/data/input.d.ts +28 -0
  352. package/dist/cli/commands/data/input.d.ts.map +1 -0
  353. package/dist/cli/commands/data/input.js +76 -0
  354. package/dist/cli/commands/data/input.js.map +1 -0
  355. package/dist/cli/commands/data/utilities.d.ts +65 -0
  356. package/dist/cli/commands/data/utilities.d.ts.map +1 -0
  357. package/dist/cli/commands/data/utilities.js +67 -0
  358. package/dist/cli/commands/data/utilities.js.map +1 -0
  359. package/dist/cli/commands/generateDBSchema.d.ts +2 -0
  360. package/dist/cli/commands/generateDBSchema.d.ts.map +1 -0
  361. package/dist/cli/commands/generateDBSchema.js +29 -0
  362. package/dist/cli/commands/generateDBSchema.js.map +1 -0
  363. package/dist/cli/commands/generateImportMap/frameworkConventions.d.ts.map +1 -0
  364. package/dist/cli/commands/generateImportMap/frameworkConventions.js.map +1 -0
  365. package/dist/{bin/generateImportMap/index.d.ts → cli/commands/generateImportMap/generateImportMap.d.ts} +8 -4
  366. package/dist/cli/commands/generateImportMap/generateImportMap.d.ts.map +1 -0
  367. package/dist/{bin/generateImportMap/index.js → cli/commands/generateImportMap/generateImportMap.js} +9 -4
  368. package/dist/cli/commands/generateImportMap/generateImportMap.js.map +1 -0
  369. package/dist/cli/commands/generateImportMap/index.d.ts +2 -0
  370. package/dist/cli/commands/generateImportMap/index.d.ts.map +1 -0
  371. package/dist/cli/commands/generateImportMap/index.js +18 -0
  372. package/dist/cli/commands/generateImportMap/index.js.map +1 -0
  373. package/dist/{bin → cli/commands}/generateImportMap/iterateCollections.d.ts +3 -3
  374. package/dist/cli/commands/generateImportMap/iterateCollections.d.ts.map +1 -0
  375. package/dist/cli/commands/generateImportMap/iterateCollections.js.map +1 -0
  376. package/dist/{bin → cli/commands}/generateImportMap/iterateConfig.d.ts +2 -2
  377. package/dist/cli/commands/generateImportMap/iterateConfig.d.ts.map +1 -0
  378. package/dist/{bin → cli/commands}/generateImportMap/iterateConfig.js +1 -1
  379. package/dist/cli/commands/generateImportMap/iterateConfig.js.map +1 -0
  380. package/dist/{bin → cli/commands}/generateImportMap/iterateFields.d.ts +3 -3
  381. package/dist/cli/commands/generateImportMap/iterateFields.d.ts.map +1 -0
  382. package/dist/cli/commands/generateImportMap/iterateFields.js.map +1 -0
  383. package/dist/{bin → cli/commands}/generateImportMap/iterateGlobals.d.ts +3 -3
  384. package/dist/cli/commands/generateImportMap/iterateGlobals.d.ts.map +1 -0
  385. package/dist/cli/commands/generateImportMap/iterateGlobals.js.map +1 -0
  386. package/dist/{bin → cli/commands}/generateImportMap/utilities/addPayloadComponentToImportMap.d.ts +2 -2
  387. package/dist/cli/commands/generateImportMap/utilities/addPayloadComponentToImportMap.d.ts.map +1 -0
  388. package/dist/cli/commands/generateImportMap/utilities/addPayloadComponentToImportMap.js.map +1 -0
  389. package/dist/{bin → cli/commands}/generateImportMap/utilities/getFromImportMap.d.ts +2 -2
  390. package/dist/cli/commands/generateImportMap/utilities/getFromImportMap.d.ts.map +1 -0
  391. package/dist/cli/commands/generateImportMap/utilities/getFromImportMap.js.map +1 -0
  392. package/dist/cli/commands/generateImportMap/utilities/getImportMapToBaseDirPath.d.ts.map +1 -0
  393. package/dist/cli/commands/generateImportMap/utilities/getImportMapToBaseDirPath.js.map +1 -0
  394. package/dist/{bin → cli/commands}/generateImportMap/utilities/parsePayloadComponent.d.ts +1 -1
  395. package/dist/cli/commands/generateImportMap/utilities/parsePayloadComponent.d.ts.map +1 -0
  396. package/dist/cli/commands/generateImportMap/utilities/parsePayloadComponent.js.map +1 -0
  397. package/dist/cli/commands/generateImportMap/utilities/resolveImportMapFilePath.d.ts.map +1 -0
  398. package/dist/{bin → cli/commands}/generateImportMap/utilities/resolveImportMapFilePath.js +1 -1
  399. package/dist/cli/commands/generateImportMap/utilities/resolveImportMapFilePath.js.map +1 -0
  400. package/dist/cli/commands/generateTypes.d.ts +12 -0
  401. package/dist/cli/commands/generateTypes.d.ts.map +1 -0
  402. package/dist/{bin → cli/commands}/generateTypes.js +33 -7
  403. package/dist/cli/commands/generateTypes.js.map +1 -0
  404. package/dist/cli/commands/getConfigInfo.d.ts +2 -0
  405. package/dist/cli/commands/getConfigInfo.d.ts.map +1 -0
  406. package/dist/cli/commands/getConfigInfo.js +23 -0
  407. package/dist/cli/commands/getConfigInfo.js.map +1 -0
  408. package/dist/cli/commands/globals/countGlobalVersions.d.ts +2 -0
  409. package/dist/cli/commands/globals/countGlobalVersions.d.ts.map +1 -0
  410. package/dist/cli/commands/globals/countGlobalVersions.js +36 -0
  411. package/dist/cli/commands/globals/countGlobalVersions.js.map +1 -0
  412. package/dist/cli/commands/globals/findGlobal.d.ts +2 -0
  413. package/dist/cli/commands/globals/findGlobal.d.ts.map +1 -0
  414. package/dist/cli/commands/globals/findGlobal.js +42 -0
  415. package/dist/cli/commands/globals/findGlobal.js.map +1 -0
  416. package/dist/cli/commands/globals/findGlobalVersionByID.d.ts +2 -0
  417. package/dist/cli/commands/globals/findGlobalVersionByID.d.ts.map +1 -0
  418. package/dist/cli/commands/globals/findGlobalVersionByID.js +46 -0
  419. package/dist/cli/commands/globals/findGlobalVersionByID.js.map +1 -0
  420. package/dist/cli/commands/globals/findGlobalVersions.d.ts +2 -0
  421. package/dist/cli/commands/globals/findGlobalVersions.d.ts.map +1 -0
  422. package/dist/cli/commands/globals/findGlobalVersions.js +55 -0
  423. package/dist/cli/commands/globals/findGlobalVersions.js.map +1 -0
  424. package/dist/cli/commands/globals/getGlobalSchema.d.ts +2 -0
  425. package/dist/cli/commands/globals/getGlobalSchema.d.ts.map +1 -0
  426. package/dist/cli/commands/globals/getGlobalSchema.js +36 -0
  427. package/dist/cli/commands/globals/getGlobalSchema.js.map +1 -0
  428. package/dist/cli/commands/globals/restoreGlobalVersion.d.ts +2 -0
  429. package/dist/cli/commands/globals/restoreGlobalVersion.d.ts.map +1 -0
  430. package/dist/cli/commands/globals/restoreGlobalVersion.js +46 -0
  431. package/dist/cli/commands/globals/restoreGlobalVersion.js.map +1 -0
  432. package/dist/cli/commands/globals/updateGlobal.d.ts +2 -0
  433. package/dist/cli/commands/globals/updateGlobal.d.ts.map +1 -0
  434. package/dist/cli/commands/globals/updateGlobal.js +95 -0
  435. package/dist/cli/commands/globals/updateGlobal.js.map +1 -0
  436. package/dist/cli/commands/help.d.ts +2 -0
  437. package/dist/cli/commands/help.d.ts.map +1 -0
  438. package/dist/cli/commands/help.js +42 -0
  439. package/dist/cli/commands/help.js.map +1 -0
  440. package/dist/cli/commands/info.d.ts +2 -0
  441. package/dist/cli/commands/info.d.ts.map +1 -0
  442. package/dist/cli/commands/info.js +78 -0
  443. package/dist/cli/commands/info.js.map +1 -0
  444. package/dist/cli/commands/jobs/handleSchedules.d.ts +2 -0
  445. package/dist/cli/commands/jobs/handleSchedules.d.ts.map +1 -0
  446. package/dist/cli/commands/jobs/handleSchedules.js +17 -0
  447. package/dist/cli/commands/jobs/handleSchedules.js.map +1 -0
  448. package/dist/cli/commands/jobs/run.d.ts +2 -0
  449. package/dist/cli/commands/jobs/run.d.ts.map +1 -0
  450. package/dist/cli/commands/jobs/run.js +30 -0
  451. package/dist/cli/commands/jobs/run.js.map +1 -0
  452. package/dist/cli/commands/migrate/create.d.ts +2 -0
  453. package/dist/cli/commands/migrate/create.d.ts.map +1 -0
  454. package/dist/cli/commands/migrate/create.js +44 -0
  455. package/dist/cli/commands/migrate/create.js.map +1 -0
  456. package/dist/cli/commands/migrate/down.d.ts +2 -0
  457. package/dist/cli/commands/migrate/down.d.ts.map +1 -0
  458. package/dist/cli/commands/migrate/down.js +22 -0
  459. package/dist/cli/commands/migrate/down.js.map +1 -0
  460. package/dist/cli/commands/migrate/fresh.d.ts +2 -0
  461. package/dist/cli/commands/migrate/fresh.d.ts.map +1 -0
  462. package/dist/cli/commands/migrate/fresh.js +28 -0
  463. package/dist/cli/commands/migrate/fresh.js.map +1 -0
  464. package/dist/cli/commands/migrate/initialize.d.ts +11 -0
  465. package/dist/cli/commands/migrate/initialize.d.ts.map +1 -0
  466. package/dist/cli/commands/migrate/initialize.js +17 -0
  467. package/dist/cli/commands/migrate/initialize.js.map +1 -0
  468. package/dist/cli/commands/migrate/refresh.d.ts +2 -0
  469. package/dist/cli/commands/migrate/refresh.d.ts.map +1 -0
  470. package/dist/cli/commands/migrate/refresh.js +22 -0
  471. package/dist/cli/commands/migrate/refresh.js.map +1 -0
  472. package/dist/cli/commands/migrate/reset.d.ts +2 -0
  473. package/dist/cli/commands/migrate/reset.d.ts.map +1 -0
  474. package/dist/cli/commands/migrate/reset.js +22 -0
  475. package/dist/cli/commands/migrate/reset.js.map +1 -0
  476. package/dist/cli/commands/migrate/run.d.ts +2 -0
  477. package/dist/cli/commands/migrate/run.d.ts.map +1 -0
  478. package/dist/cli/commands/migrate/run.js +28 -0
  479. package/dist/cli/commands/migrate/run.js.map +1 -0
  480. package/dist/cli/commands/migrate/status.d.ts +2 -0
  481. package/dist/cli/commands/migrate/status.d.ts.map +1 -0
  482. package/dist/cli/commands/migrate/status.js +22 -0
  483. package/dist/cli/commands/migrate/status.js.map +1 -0
  484. package/dist/cli/commands/run.d.ts +2 -0
  485. package/dist/cli/commands/run.d.ts.map +1 -0
  486. package/dist/cli/commands/run.js +45 -0
  487. package/dist/cli/commands/run.js.map +1 -0
  488. package/dist/cli/defineCLICommand.d.ts +32 -0
  489. package/dist/cli/defineCLICommand.d.ts.map +1 -0
  490. package/dist/cli/defineCLICommand.js +26 -0
  491. package/dist/cli/defineCLICommand.js.map +1 -0
  492. package/dist/cli/index.d.ts +7 -0
  493. package/dist/cli/index.d.ts.map +1 -0
  494. package/dist/cli/index.js +95 -0
  495. package/dist/cli/index.js.map +1 -0
  496. package/dist/cli/program/createHelp.d.ts +8 -0
  497. package/dist/cli/program/createHelp.d.ts.map +1 -0
  498. package/dist/cli/program/createHelp.js +26 -0
  499. package/dist/cli/program/createHelp.js.map +1 -0
  500. package/dist/cli/program/loadCommands.d.ts +12 -0
  501. package/dist/cli/program/loadCommands.d.ts.map +1 -0
  502. package/dist/cli/program/loadCommands.js +62 -0
  503. package/dist/cli/program/loadCommands.js.map +1 -0
  504. package/dist/cli/program/normalizeHelpArguments.d.ts +12 -0
  505. package/dist/cli/program/normalizeHelpArguments.d.ts.map +1 -0
  506. package/dist/cli/program/normalizeHelpArguments.js +34 -0
  507. package/dist/cli/program/normalizeHelpArguments.js.map +1 -0
  508. package/dist/cli/program/registerCommand.d.ts +10 -0
  509. package/dist/cli/program/registerCommand.d.ts.map +1 -0
  510. package/dist/cli/program/registerCommand.js +185 -0
  511. package/dist/cli/program/registerCommand.js.map +1 -0
  512. package/dist/cli/runtime/createRuntime.d.ts +9 -0
  513. package/dist/cli/runtime/createRuntime.d.ts.map +1 -0
  514. package/dist/cli/runtime/createRuntime.js +81 -0
  515. package/dist/cli/runtime/createRuntime.js.map +1 -0
  516. package/dist/cli/runtime/getCommandInput.d.ts +17 -0
  517. package/dist/cli/runtime/getCommandInput.d.ts.map +1 -0
  518. package/dist/cli/runtime/getCommandInput.js +86 -0
  519. package/dist/cli/runtime/getCommandInput.js.map +1 -0
  520. package/dist/cli/runtime/invokeCommand.d.ts +23 -0
  521. package/dist/cli/runtime/invokeCommand.d.ts.map +1 -0
  522. package/dist/cli/runtime/invokeCommand.js +107 -0
  523. package/dist/cli/runtime/invokeCommand.js.map +1 -0
  524. package/dist/cli/runtime/loadEnv.d.ts.map +1 -0
  525. package/dist/{bin → cli/runtime}/loadEnv.js +1 -1
  526. package/dist/cli/runtime/loadEnv.js.map +1 -0
  527. package/dist/cli/runtime/output.d.ts +50 -0
  528. package/dist/cli/runtime/output.d.ts.map +1 -0
  529. package/dist/cli/runtime/output.js +125 -0
  530. package/dist/cli/runtime/output.js.map +1 -0
  531. package/dist/cli/runtime/redirectOutputToStderr.d.ts +8 -0
  532. package/dist/cli/runtime/redirectOutputToStderr.d.ts.map +1 -0
  533. package/dist/cli/runtime/redirectOutputToStderr.js +31 -0
  534. package/dist/cli/runtime/redirectOutputToStderr.js.map +1 -0
  535. package/dist/collections/config/client.d.ts +10 -3
  536. package/dist/collections/config/client.d.ts.map +1 -1
  537. package/dist/collections/config/client.js +9 -1
  538. package/dist/collections/config/client.js.map +1 -1
  539. package/dist/collections/config/defaults.d.ts +6 -4
  540. package/dist/collections/config/defaults.d.ts.map +1 -1
  541. package/dist/collections/config/defaults.js +49 -33
  542. package/dist/collections/config/defaults.js.map +1 -1
  543. package/dist/collections/config/sanitize.d.ts +4 -8
  544. package/dist/collections/config/sanitize.d.ts.map +1 -1
  545. package/dist/collections/config/sanitize.js +89 -27
  546. package/dist/collections/config/sanitize.js.map +1 -1
  547. package/dist/collections/config/types.d.ts +74 -61
  548. package/dist/collections/config/types.d.ts.map +1 -1
  549. package/dist/collections/config/types.js.map +1 -1
  550. package/dist/collections/endpoints/index.d.ts +1 -0
  551. package/dist/collections/endpoints/index.d.ts.map +1 -1
  552. package/dist/collections/endpoints/index.js +6 -5
  553. package/dist/collections/endpoints/index.js.map +1 -1
  554. package/dist/collections/operations/count.d.ts.map +1 -1
  555. package/dist/collections/operations/count.js +65 -70
  556. package/dist/collections/operations/count.js.map +1 -1
  557. package/dist/collections/operations/countVersions.d.ts.map +1 -1
  558. package/dist/collections/operations/countVersions.js +61 -66
  559. package/dist/collections/operations/countVersions.js.map +1 -1
  560. package/dist/collections/operations/create.d.ts.map +1 -1
  561. package/dist/collections/operations/create.js +144 -13
  562. package/dist/collections/operations/create.js.map +1 -1
  563. package/dist/collections/operations/delete.d.ts.map +1 -1
  564. package/dist/collections/operations/delete.js +215 -129
  565. package/dist/collections/operations/delete.js.map +1 -1
  566. package/dist/collections/operations/deleteByID.d.ts.map +1 -1
  567. package/dist/collections/operations/deleteByID.js +14 -13
  568. package/dist/collections/operations/deleteByID.js.map +1 -1
  569. package/dist/collections/operations/docAccess.d.ts.map +1 -1
  570. package/dist/collections/operations/docAccess.js +19 -25
  571. package/dist/collections/operations/docAccess.js.map +1 -1
  572. package/dist/collections/operations/find.d.ts.map +1 -1
  573. package/dist/collections/operations/find.js +248 -246
  574. package/dist/collections/operations/find.js.map +1 -1
  575. package/dist/collections/operations/findByID.d.ts.map +1 -1
  576. package/dist/collections/operations/findByID.js +258 -215
  577. package/dist/collections/operations/findByID.js.map +1 -1
  578. package/dist/collections/operations/findDistinct.d.ts.map +1 -1
  579. package/dist/collections/operations/findDistinct.js +235 -154
  580. package/dist/collections/operations/findDistinct.js.map +1 -1
  581. package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
  582. package/dist/collections/operations/findVersionByID.js +145 -128
  583. package/dist/collections/operations/findVersionByID.js.map +1 -1
  584. package/dist/collections/operations/findVersions.d.ts.map +1 -1
  585. package/dist/collections/operations/findVersions.js +152 -149
  586. package/dist/collections/operations/findVersions.js.map +1 -1
  587. package/dist/collections/operations/inputSchemas.d.ts +877 -0
  588. package/dist/collections/operations/inputSchemas.d.ts.map +1 -0
  589. package/dist/collections/operations/inputSchemas.js +217 -0
  590. package/dist/collections/operations/inputSchemas.js.map +1 -0
  591. package/dist/collections/operations/local/count.d.ts +2 -7
  592. package/dist/collections/operations/local/count.d.ts.map +1 -1
  593. package/dist/collections/operations/local/count.js +6 -3
  594. package/dist/collections/operations/local/count.js.map +1 -1
  595. package/dist/collections/operations/local/countVersions.d.ts +2 -7
  596. package/dist/collections/operations/local/countVersions.d.ts.map +1 -1
  597. package/dist/collections/operations/local/countVersions.js +6 -3
  598. package/dist/collections/operations/local/countVersions.js.map +1 -1
  599. package/dist/collections/operations/local/create.d.ts +6 -38
  600. package/dist/collections/operations/local/create.d.ts.map +1 -1
  601. package/dist/collections/operations/local/create.js +6 -3
  602. package/dist/collections/operations/local/create.js.map +1 -1
  603. package/dist/collections/operations/local/delete.d.ts +2 -7
  604. package/dist/collections/operations/local/delete.d.ts.map +1 -1
  605. package/dist/collections/operations/local/delete.js +6 -3
  606. package/dist/collections/operations/local/delete.js.map +1 -1
  607. package/dist/collections/operations/local/duplicate.d.ts +2 -7
  608. package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
  609. package/dist/collections/operations/local/duplicate.js +6 -3
  610. package/dist/collections/operations/local/duplicate.js.map +1 -1
  611. package/dist/collections/operations/local/find.d.ts +4 -11
  612. package/dist/collections/operations/local/find.d.ts.map +1 -1
  613. package/dist/collections/operations/local/find.js +6 -3
  614. package/dist/collections/operations/local/find.js.map +1 -1
  615. package/dist/collections/operations/local/findByID.d.ts +6 -9
  616. package/dist/collections/operations/local/findByID.d.ts.map +1 -1
  617. package/dist/collections/operations/local/findByID.js +6 -3
  618. package/dist/collections/operations/local/findByID.js.map +1 -1
  619. package/dist/collections/operations/local/findDistinct.d.ts +2 -7
  620. package/dist/collections/operations/local/findDistinct.d.ts.map +1 -1
  621. package/dist/collections/operations/local/findDistinct.js +6 -3
  622. package/dist/collections/operations/local/findDistinct.js.map +1 -1
  623. package/dist/collections/operations/local/findVersionByID.d.ts +2 -7
  624. package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
  625. package/dist/collections/operations/local/findVersionByID.js +6 -3
  626. package/dist/collections/operations/local/findVersionByID.js.map +1 -1
  627. package/dist/collections/operations/local/findVersions.d.ts +2 -7
  628. package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
  629. package/dist/collections/operations/local/findVersions.js +6 -3
  630. package/dist/collections/operations/local/findVersions.js.map +1 -1
  631. package/dist/collections/operations/local/restoreVersion.d.ts +2 -7
  632. package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
  633. package/dist/collections/operations/local/restoreVersion.js +6 -3
  634. package/dist/collections/operations/local/restoreVersion.js.map +1 -1
  635. package/dist/collections/operations/local/update.d.ts +2 -7
  636. package/dist/collections/operations/local/update.d.ts.map +1 -1
  637. package/dist/collections/operations/local/update.js +6 -3
  638. package/dist/collections/operations/local/update.js.map +1 -1
  639. package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
  640. package/dist/collections/operations/restoreVersion.js +48 -13
  641. package/dist/collections/operations/restoreVersion.js.map +1 -1
  642. package/dist/collections/operations/update.d.ts.map +1 -1
  643. package/dist/collections/operations/update.js +148 -24
  644. package/dist/collections/operations/update.js.map +1 -1
  645. package/dist/collections/operations/updateByID.d.ts.map +1 -1
  646. package/dist/collections/operations/updateByID.js +80 -2
  647. package/dist/collections/operations/updateByID.js.map +1 -1
  648. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.d.ts +15 -0
  649. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.d.ts.map +1 -0
  650. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.js +54 -0
  651. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.js.map +1 -0
  652. package/dist/collections/operations/utilities/update.d.ts +2 -2
  653. package/dist/collections/operations/utilities/update.d.ts.map +1 -1
  654. package/dist/collections/operations/utilities/update.js +83 -19
  655. package/dist/collections/operations/utilities/update.js.map +1 -1
  656. package/dist/config/build.js +1 -1
  657. package/dist/config/build.js.map +1 -1
  658. package/dist/config/client.d.ts +2 -2
  659. package/dist/config/client.d.ts.map +1 -1
  660. package/dist/config/client.js +2 -4
  661. package/dist/config/client.js.map +1 -1
  662. package/dist/config/defaults.d.ts.map +1 -1
  663. package/dist/config/defaults.js +95 -42
  664. package/dist/config/defaults.js.map +1 -1
  665. package/dist/config/orderable/index.d.ts +1 -1
  666. package/dist/config/orderable/index.d.ts.map +1 -1
  667. package/dist/config/orderable/index.js +73 -16
  668. package/dist/config/orderable/index.js.map +1 -1
  669. package/dist/config/orderable/utils/getJoinScopeContext.d.ts.map +1 -1
  670. package/dist/config/orderable/utils/getJoinScopeContext.js +1 -0
  671. package/dist/config/orderable/utils/getJoinScopeContext.js.map +1 -1
  672. package/dist/config/orderable/utils/resolvePendingTargetKey.d.ts.map +1 -1
  673. package/dist/config/orderable/utils/resolvePendingTargetKey.js +1 -0
  674. package/dist/config/orderable/utils/resolvePendingTargetKey.js.map +1 -1
  675. package/dist/config/sanitize.d.ts +1 -1
  676. package/dist/config/sanitize.d.ts.map +1 -1
  677. package/dist/config/sanitize.js +45 -34
  678. package/dist/config/sanitize.js.map +1 -1
  679. package/dist/config/types.d.ts +497 -431
  680. package/dist/config/types.d.ts.map +1 -1
  681. package/dist/config/types.js.map +1 -1
  682. package/dist/database/createDatabaseAdapter.d.ts +1 -1
  683. package/dist/database/createDatabaseAdapter.d.ts.map +1 -1
  684. package/dist/database/createDatabaseAdapter.js +0 -2
  685. package/dist/database/createDatabaseAdapter.js.map +1 -1
  686. package/dist/database/getLocalizedPaths.d.ts +2 -1
  687. package/dist/database/getLocalizedPaths.d.ts.map +1 -1
  688. package/dist/database/getLocalizedPaths.js +12 -3
  689. package/dist/database/getLocalizedPaths.js.map +1 -1
  690. package/dist/database/isNestedRelationshipQuery.d.ts +14 -0
  691. package/dist/database/isNestedRelationshipQuery.d.ts.map +1 -0
  692. package/dist/database/isNestedRelationshipQuery.js +19 -0
  693. package/dist/database/isNestedRelationshipQuery.js.map +1 -0
  694. package/dist/database/migrations/createMigration.d.ts.map +1 -1
  695. package/dist/database/migrations/createMigration.js +4 -0
  696. package/dist/database/migrations/createMigration.js.map +1 -1
  697. package/dist/database/migrations/getMigrations.d.ts.map +1 -1
  698. package/dist/database/migrations/getMigrations.js +1 -0
  699. package/dist/database/migrations/getMigrations.js.map +1 -1
  700. package/dist/database/migrations/getPredefinedMigration.js +2 -2
  701. package/dist/database/migrations/getPredefinedMigration.js.map +1 -1
  702. package/dist/database/migrations/migrate.d.ts.map +1 -1
  703. package/dist/database/migrations/migrate.js +14 -2
  704. package/dist/database/migrations/migrate.js.map +1 -1
  705. package/dist/database/migrations/migrateDown.d.ts +2 -2
  706. package/dist/database/migrations/migrateDown.d.ts.map +1 -1
  707. package/dist/database/migrations/migrateDown.js +17 -4
  708. package/dist/database/migrations/migrateDown.js.map +1 -1
  709. package/dist/database/migrations/migrateRefresh.d.ts +2 -2
  710. package/dist/database/migrations/migrateRefresh.d.ts.map +1 -1
  711. package/dist/database/migrations/migrateRefresh.js +16 -4
  712. package/dist/database/migrations/migrateRefresh.js.map +1 -1
  713. package/dist/database/migrations/migrateReset.d.ts +2 -2
  714. package/dist/database/migrations/migrateReset.d.ts.map +1 -1
  715. package/dist/database/migrations/migrateReset.js +17 -3
  716. package/dist/database/migrations/migrateReset.js.map +1 -1
  717. package/dist/database/migrations/migrateStatus.d.ts +2 -2
  718. package/dist/database/migrations/migrateStatus.d.ts.map +1 -1
  719. package/dist/database/migrations/migrateStatus.js +11 -6
  720. package/dist/database/migrations/migrateStatus.js.map +1 -1
  721. package/dist/database/migrations/migrationsCollection.d.ts.map +1 -1
  722. package/dist/database/migrations/migrationsCollection.js +1 -0
  723. package/dist/database/migrations/migrationsCollection.js.map +1 -1
  724. package/dist/database/prefixWherePaths.d.ts +6 -0
  725. package/dist/database/prefixWherePaths.d.ts.map +1 -0
  726. package/dist/database/prefixWherePaths.js +19 -0
  727. package/dist/database/prefixWherePaths.js.map +1 -0
  728. package/dist/database/queryValidation/validateQueryPaths.d.ts +2 -1
  729. package/dist/database/queryValidation/validateQueryPaths.d.ts.map +1 -1
  730. package/dist/database/queryValidation/validateQueryPaths.js +12 -2
  731. package/dist/database/queryValidation/validateQueryPaths.js.map +1 -1
  732. package/dist/database/queryValidation/validateSearchParams.d.ts +2 -1
  733. package/dist/database/queryValidation/validateSearchParams.d.ts.map +1 -1
  734. package/dist/database/queryValidation/validateSearchParams.js +88 -7
  735. package/dist/database/queryValidation/validateSearchParams.js.map +1 -1
  736. package/dist/database/queryValidation/validateSortQuery.d.ts +23 -0
  737. package/dist/database/queryValidation/validateSortQuery.d.ts.map +1 -0
  738. package/dist/database/queryValidation/validateSortQuery.js +54 -0
  739. package/dist/database/queryValidation/validateSortQuery.js.map +1 -0
  740. package/dist/database/sanitizeJoinQuery.d.ts.map +1 -1
  741. package/dist/database/sanitizeJoinQuery.js +7 -0
  742. package/dist/database/sanitizeJoinQuery.js.map +1 -1
  743. package/dist/database/sanitizeWhereQuery.d.ts +1 -1
  744. package/dist/database/sanitizeWhereQuery.d.ts.map +1 -1
  745. package/dist/database/sanitizeWhereQuery.js +44 -1
  746. package/dist/database/sanitizeWhereQuery.js.map +1 -1
  747. package/dist/database/types.d.ts +41 -8
  748. package/dist/database/types.d.ts.map +1 -1
  749. package/dist/database/types.js.map +1 -1
  750. package/dist/duplicateDocument/index.js +1 -0
  751. package/dist/duplicateDocument/index.js.map +1 -1
  752. package/dist/exports/auth.d.ts +5 -0
  753. package/dist/exports/auth.d.ts.map +1 -0
  754. package/dist/exports/auth.js +6 -0
  755. package/dist/exports/auth.js.map +1 -0
  756. package/dist/exports/cli.d.ts +4 -0
  757. package/dist/exports/cli.d.ts.map +1 -0
  758. package/dist/exports/cli.js +4 -0
  759. package/dist/exports/cli.js.map +1 -0
  760. package/dist/exports/cliBuiltin.d.ts +37 -0
  761. package/dist/exports/cliBuiltin.d.ts.map +1 -0
  762. package/dist/exports/cliBuiltin.js +38 -0
  763. package/dist/exports/cliBuiltin.js.map +1 -0
  764. package/dist/exports/internal.d.ts +14 -1
  765. package/dist/exports/internal.d.ts.map +1 -1
  766. package/dist/exports/internal.js +13 -1
  767. package/dist/exports/internal.js.map +1 -1
  768. package/dist/exports/node.d.ts +2 -2
  769. package/dist/exports/node.d.ts.map +1 -1
  770. package/dist/exports/node.js +2 -2
  771. package/dist/exports/node.js.map +1 -1
  772. package/dist/exports/shared.d.ts +9 -4
  773. package/dist/exports/shared.d.ts.map +1 -1
  774. package/dist/exports/shared.js +8 -4
  775. package/dist/exports/shared.js.map +1 -1
  776. package/dist/fields/baseFields/authorship/index.d.ts +30 -0
  777. package/dist/fields/baseFields/authorship/index.d.ts.map +1 -0
  778. package/dist/fields/baseFields/authorship/index.js +151 -0
  779. package/dist/fields/baseFields/authorship/index.js.map +1 -0
  780. package/dist/fields/baseFields/authorship/types.d.ts +28 -0
  781. package/dist/fields/baseFields/authorship/types.d.ts.map +1 -0
  782. package/dist/fields/baseFields/authorship/types.js +10 -0
  783. package/dist/fields/baseFields/authorship/types.js.map +1 -0
  784. package/dist/fields/baseFields/slug/duplicateContext.d.ts +11 -0
  785. package/dist/fields/baseFields/slug/duplicateContext.d.ts.map +1 -0
  786. package/dist/fields/baseFields/slug/duplicateContext.js +21 -0
  787. package/dist/fields/baseFields/slug/duplicateContext.js.map +1 -0
  788. package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.d.ts +23 -0
  789. package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.d.ts.map +1 -0
  790. package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.js +65 -0
  791. package/dist/fields/baseFields/slug/fillEmptyLocalizedSlugs.js.map +1 -0
  792. package/dist/fields/baseFields/slug/generateSlug.d.ts +13 -8
  793. package/dist/fields/baseFields/slug/generateSlug.d.ts.map +1 -1
  794. package/dist/fields/baseFields/slug/generateSlug.js +102 -45
  795. package/dist/fields/baseFields/slug/generateSlug.js.map +1 -1
  796. package/dist/fields/baseFields/slug/generateSlugBeforeDuplicate.d.ts +18 -0
  797. package/dist/fields/baseFields/slug/generateSlugBeforeDuplicate.d.ts.map +1 -0
  798. package/dist/fields/baseFields/slug/generateSlugBeforeDuplicate.js +20 -0
  799. package/dist/fields/baseFields/slug/generateSlugBeforeDuplicate.js.map +1 -0
  800. package/dist/fields/baseFields/slug/getSlugFallbackValue.d.ts +23 -0
  801. package/dist/fields/baseFields/slug/getSlugFallbackValue.d.ts.map +1 -0
  802. package/dist/fields/baseFields/slug/getSlugFallbackValue.js +24 -0
  803. package/dist/fields/baseFields/slug/getSlugFallbackValue.js.map +1 -0
  804. package/dist/fields/baseFields/slug/hasValue.d.ts +3 -0
  805. package/dist/fields/baseFields/slug/hasValue.d.ts.map +1 -0
  806. package/dist/fields/baseFields/slug/hasValue.js +3 -0
  807. package/dist/fields/baseFields/slug/hasValue.js.map +1 -0
  808. package/dist/fields/config/client.d.ts +1 -1
  809. package/dist/fields/config/client.d.ts.map +1 -1
  810. package/dist/fields/config/client.js +1 -1
  811. package/dist/fields/config/client.js.map +1 -1
  812. package/dist/fields/config/reservedFieldNames.js.map +1 -1
  813. package/dist/fields/config/sanitize.d.ts +6 -6
  814. package/dist/fields/config/sanitize.d.ts.map +1 -1
  815. package/dist/fields/config/sanitize.js +32 -22
  816. package/dist/fields/config/sanitize.js.map +1 -1
  817. package/dist/fields/config/types.d.ts +53 -50
  818. package/dist/fields/config/types.d.ts.map +1 -1
  819. package/dist/fields/config/types.js +1 -1
  820. package/dist/fields/config/types.js.map +1 -1
  821. package/dist/fields/hooks/beforeChange/index.d.ts +7 -1
  822. package/dist/fields/hooks/beforeChange/index.d.ts.map +1 -1
  823. package/dist/fields/hooks/beforeChange/index.js +4 -2
  824. package/dist/fields/hooks/beforeChange/index.js.map +1 -1
  825. package/dist/fields/hooks/beforeChange/promise.d.ts +2 -1
  826. package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
  827. package/dist/fields/hooks/beforeChange/promise.js +52 -9
  828. package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
  829. package/dist/fields/hooks/beforeChange/traverseFields.d.ts +2 -1
  830. package/dist/fields/hooks/beforeChange/traverseFields.d.ts.map +1 -1
  831. package/dist/fields/hooks/beforeChange/traverseFields.js +3 -2
  832. package/dist/fields/hooks/beforeChange/traverseFields.js.map +1 -1
  833. package/dist/fields/hooks/beforeDuplicate/promise.d.ts.map +1 -1
  834. package/dist/fields/hooks/beforeDuplicate/promise.js +4 -0
  835. package/dist/fields/hooks/beforeDuplicate/promise.js.map +1 -1
  836. package/dist/fields/hooks/beforeValidate/getFallbackValue.d.ts +2 -1
  837. package/dist/fields/hooks/beforeValidate/getFallbackValue.d.ts.map +1 -1
  838. package/dist/fields/hooks/beforeValidate/getFallbackValue.js +2 -2
  839. package/dist/fields/hooks/beforeValidate/getFallbackValue.js.map +1 -1
  840. package/dist/fields/hooks/beforeValidate/index.d.ts +6 -1
  841. package/dist/fields/hooks/beforeValidate/index.d.ts.map +1 -1
  842. package/dist/fields/hooks/beforeValidate/index.js +3 -1
  843. package/dist/fields/hooks/beforeValidate/index.js.map +1 -1
  844. package/dist/fields/hooks/beforeValidate/promise.d.ts +6 -1
  845. package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
  846. package/dist/fields/hooks/beforeValidate/promise.js +24 -9
  847. package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
  848. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts +6 -1
  849. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts.map +1 -1
  850. package/dist/fields/hooks/beforeValidate/traverseFields.js +5 -1
  851. package/dist/fields/hooks/beforeValidate/traverseFields.js.map +1 -1
  852. package/dist/fields/validations.d.ts.map +1 -1
  853. package/dist/fields/validations.js +17 -15
  854. package/dist/fields/validations.js.map +1 -1
  855. package/dist/globals/config/client.d.ts +1 -1
  856. package/dist/globals/config/client.d.ts.map +1 -1
  857. package/dist/globals/config/client.js.map +1 -1
  858. package/dist/globals/config/sanitize.d.ts +3 -7
  859. package/dist/globals/config/sanitize.d.ts.map +1 -1
  860. package/dist/globals/config/sanitize.js +78 -9
  861. package/dist/globals/config/sanitize.js.map +1 -1
  862. package/dist/globals/config/types.d.ts +41 -28
  863. package/dist/globals/config/types.d.ts.map +1 -1
  864. package/dist/globals/config/types.js.map +1 -1
  865. package/dist/globals/operations/countGlobalVersions.d.ts.map +1 -1
  866. package/dist/globals/operations/countGlobalVersions.js +57 -55
  867. package/dist/globals/operations/countGlobalVersions.js.map +1 -1
  868. package/dist/globals/operations/docAccess.d.ts.map +1 -1
  869. package/dist/globals/operations/docAccess.js +19 -25
  870. package/dist/globals/operations/docAccess.js.map +1 -1
  871. package/dist/globals/operations/findOne.d.ts.map +1 -1
  872. package/dist/globals/operations/findOne.js +169 -174
  873. package/dist/globals/operations/findOne.js.map +1 -1
  874. package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
  875. package/dist/globals/operations/findVersionByID.js +112 -108
  876. package/dist/globals/operations/findVersionByID.js.map +1 -1
  877. package/dist/globals/operations/findVersions.d.ts.map +1 -1
  878. package/dist/globals/operations/findVersions.js +118 -109
  879. package/dist/globals/operations/findVersions.js.map +1 -1
  880. package/dist/globals/operations/inputSchemas.d.ts +365 -0
  881. package/dist/globals/operations/inputSchemas.d.ts.map +1 -0
  882. package/dist/globals/operations/inputSchemas.js +104 -0
  883. package/dist/globals/operations/inputSchemas.js.map +1 -0
  884. package/dist/globals/operations/local/countVersions.d.ts +2 -7
  885. package/dist/globals/operations/local/countVersions.d.ts.map +1 -1
  886. package/dist/globals/operations/local/countVersions.js +6 -3
  887. package/dist/globals/operations/local/countVersions.js.map +1 -1
  888. package/dist/globals/operations/local/findOne.d.ts +8 -10
  889. package/dist/globals/operations/local/findOne.d.ts.map +1 -1
  890. package/dist/globals/operations/local/findOne.js +6 -3
  891. package/dist/globals/operations/local/findOne.js.map +1 -1
  892. package/dist/globals/operations/local/findVersionByID.d.ts +2 -7
  893. package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
  894. package/dist/globals/operations/local/findVersionByID.js +6 -3
  895. package/dist/globals/operations/local/findVersionByID.js.map +1 -1
  896. package/dist/globals/operations/local/findVersions.d.ts +2 -7
  897. package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
  898. package/dist/globals/operations/local/findVersions.js +6 -3
  899. package/dist/globals/operations/local/findVersions.js.map +1 -1
  900. package/dist/globals/operations/local/restoreVersion.d.ts +2 -7
  901. package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
  902. package/dist/globals/operations/local/restoreVersion.js +6 -3
  903. package/dist/globals/operations/local/restoreVersion.js.map +1 -1
  904. package/dist/globals/operations/local/update.d.ts +2 -7
  905. package/dist/globals/operations/local/update.d.ts.map +1 -1
  906. package/dist/globals/operations/local/update.js +6 -3
  907. package/dist/globals/operations/local/update.js.map +1 -1
  908. package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
  909. package/dist/globals/operations/restoreVersion.js +60 -14
  910. package/dist/globals/operations/restoreVersion.js.map +1 -1
  911. package/dist/globals/operations/update.d.ts.map +1 -1
  912. package/dist/globals/operations/update.js +106 -19
  913. package/dist/globals/operations/update.js.map +1 -1
  914. package/dist/hierarchy/addHierarchyToCollection.js +2 -0
  915. package/dist/hierarchy/addHierarchyToCollection.js.map +1 -1
  916. package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +1 -1
  917. package/dist/hierarchy/hooks/collectionAfterDelete.js +1 -0
  918. package/dist/hierarchy/hooks/collectionAfterDelete.js.map +1 -1
  919. package/dist/hierarchy/hooks/collectionBeforeChange.js +1 -0
  920. package/dist/hierarchy/hooks/collectionBeforeChange.js.map +1 -1
  921. package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +1 -1
  922. package/dist/hierarchy/hooks/collectionBeforeDelete.js +1 -0
  923. package/dist/hierarchy/hooks/collectionBeforeDelete.js.map +1 -1
  924. package/dist/index.bundled.d.ts +6075 -4445
  925. package/dist/index.d.ts +122 -61
  926. package/dist/index.d.ts.map +1 -1
  927. package/dist/index.js +88 -65
  928. package/dist/index.js.map +1 -1
  929. package/dist/kv/adapters/DatabaseKVAdapter.d.ts.map +1 -1
  930. package/dist/kv/adapters/DatabaseKVAdapter.js +2 -1
  931. package/dist/kv/adapters/DatabaseKVAdapter.js.map +1 -1
  932. package/dist/locked-documents/config.d.ts.map +1 -1
  933. package/dist/locked-documents/config.js +1 -0
  934. package/dist/locked-documents/config.js.map +1 -1
  935. package/dist/preferences/config.d.ts.map +1 -1
  936. package/dist/preferences/config.js +3 -1
  937. package/dist/preferences/config.js.map +1 -1
  938. package/dist/query-presets/access.d.ts.map +1 -1
  939. package/dist/query-presets/access.js +2 -1
  940. package/dist/query-presets/access.js.map +1 -1
  941. package/dist/query-presets/config.d.ts.map +1 -1
  942. package/dist/query-presets/config.js +1 -0
  943. package/dist/query-presets/config.js.map +1 -1
  944. package/dist/query-presets/constraints.js +1 -1
  945. package/dist/query-presets/constraints.js.map +1 -1
  946. package/dist/query-presets/preventLockout.js +6 -3
  947. package/dist/query-presets/preventLockout.js.map +1 -1
  948. package/dist/queues/config/collection.d.ts.map +1 -1
  949. package/dist/queues/config/collection.js +44 -43
  950. package/dist/queues/config/collection.js.map +1 -1
  951. package/dist/queues/config/global.d.ts +5 -6
  952. package/dist/queues/config/global.d.ts.map +1 -1
  953. package/dist/queues/config/global.js +2 -1
  954. package/dist/queues/config/global.js.map +1 -1
  955. package/dist/queues/config/types/index.d.ts +33 -25
  956. package/dist/queues/config/types/index.d.ts.map +1 -1
  957. package/dist/queues/config/types/index.js.map +1 -1
  958. package/dist/queues/config/types/taskTypes.d.ts +4 -7
  959. package/dist/queues/config/types/taskTypes.d.ts.map +1 -1
  960. package/dist/queues/config/types/taskTypes.js.map +1 -1
  961. package/dist/queues/config/types/workflowJSONTypes.d.ts +10 -9
  962. package/dist/queues/config/types/workflowJSONTypes.d.ts.map +1 -1
  963. package/dist/queues/config/types/workflowJSONTypes.js.map +1 -1
  964. package/dist/queues/config/types/workflowTypes.d.ts +11 -58
  965. package/dist/queues/config/types/workflowTypes.d.ts.map +1 -1
  966. package/dist/queues/config/types/workflowTypes.js.map +1 -1
  967. package/dist/queues/endpoints/handleSchedules.d.ts.map +1 -1
  968. package/dist/queues/endpoints/handleSchedules.js +3 -2
  969. package/dist/queues/endpoints/handleSchedules.js.map +1 -1
  970. package/dist/queues/endpoints/run.d.ts.map +1 -1
  971. package/dist/queues/endpoints/run.js +2 -1
  972. package/dist/queues/endpoints/run.js.map +1 -1
  973. package/dist/queues/errors/handleTaskError.js +4 -4
  974. package/dist/queues/errors/handleTaskError.js.map +1 -1
  975. package/dist/queues/errors/handleWorkflowError.js +1 -1
  976. package/dist/queues/errors/handleWorkflowError.js.map +1 -1
  977. package/dist/queues/errors/index.d.ts +6 -0
  978. package/dist/queues/errors/index.d.ts.map +1 -1
  979. package/dist/queues/errors/index.js +5 -0
  980. package/dist/queues/errors/index.js.map +1 -1
  981. package/dist/queues/localAPI.d.ts +10 -63
  982. package/dist/queues/localAPI.d.ts.map +1 -1
  983. package/dist/queues/localAPI.js +87 -78
  984. package/dist/queues/localAPI.js.map +1 -1
  985. package/dist/queues/operations/handleSchedules/countRunnableOrActiveJobsForQueue.d.ts +4 -4
  986. package/dist/queues/operations/handleSchedules/countRunnableOrActiveJobsForQueue.d.ts.map +1 -1
  987. package/dist/queues/operations/handleSchedules/countRunnableOrActiveJobsForQueue.js.map +1 -1
  988. package/dist/queues/operations/handleSchedules/index.d.ts +1 -1
  989. package/dist/queues/operations/handleSchedules/index.d.ts.map +1 -1
  990. package/dist/queues/operations/handleSchedules/index.js +2 -1
  991. package/dist/queues/operations/handleSchedules/index.js.map +1 -1
  992. package/dist/queues/operations/runJobs/heartbeat.d.ts +13 -0
  993. package/dist/queues/operations/runJobs/heartbeat.d.ts.map +1 -0
  994. package/dist/queues/operations/runJobs/heartbeat.js +66 -0
  995. package/dist/queues/operations/runJobs/heartbeat.js.map +1 -0
  996. package/dist/queues/operations/runJobs/index.d.ts.map +1 -1
  997. package/dist/queues/operations/runJobs/index.js +133 -84
  998. package/dist/queues/operations/runJobs/index.js.map +1 -1
  999. package/dist/queues/operations/runJobs/runJSONJob/index.d.ts.map +1 -1
  1000. package/dist/queues/operations/runJobs/runJSONJob/index.js +6 -3
  1001. package/dist/queues/operations/runJobs/runJSONJob/index.js.map +1 -1
  1002. package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.js +5 -5
  1003. package/dist/queues/operations/runJobs/runJob/getRunTaskFunction.js.map +1 -1
  1004. package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.d.ts +2 -1
  1005. package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.d.ts.map +1 -1
  1006. package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.js +39 -8
  1007. package/dist/queues/operations/runJobs/runJob/getUpdateJobFunction.js.map +1 -1
  1008. package/dist/queues/operations/runJobs/runJob/importHandlerPath.js.map +1 -1
  1009. package/dist/queues/operations/runJobs/runJob/index.d.ts.map +1 -1
  1010. package/dist/queues/operations/runJobs/runJob/index.js +4 -4
  1011. package/dist/queues/operations/runJobs/runJob/index.js.map +1 -1
  1012. package/dist/queues/utilities/updateJob.d.ts.map +1 -1
  1013. package/dist/queues/utilities/updateJob.js +3 -0
  1014. package/dist/queues/utilities/updateJob.js.map +1 -1
  1015. package/dist/types/constants.d.ts +21 -0
  1016. package/dist/types/constants.d.ts.map +1 -1
  1017. package/dist/types/constants.js +23 -0
  1018. package/dist/types/constants.js.map +1 -1
  1019. package/dist/types/index.d.ts +7 -7
  1020. package/dist/types/index.d.ts.map +1 -1
  1021. package/dist/types/index.js.map +1 -1
  1022. package/dist/types/operations.d.ts +9 -0
  1023. package/dist/types/operations.d.ts.map +1 -0
  1024. package/dist/types/operations.js +3 -0
  1025. package/dist/types/operations.js.map +1 -0
  1026. package/dist/uploads/assertClientUploadAccess.d.ts +7 -0
  1027. package/dist/uploads/assertClientUploadAccess.d.ts.map +1 -0
  1028. package/dist/uploads/assertClientUploadAccess.js +29 -0
  1029. package/dist/uploads/assertClientUploadAccess.js.map +1 -0
  1030. package/dist/uploads/assertClientUploadAllowed.d.ts +10 -0
  1031. package/dist/uploads/assertClientUploadAllowed.d.ts.map +1 -0
  1032. package/dist/uploads/assertClientUploadAllowed.js +41 -0
  1033. package/dist/uploads/assertClientUploadAllowed.js.map +1 -0
  1034. package/dist/uploads/checkFileAccess.js +1 -0
  1035. package/dist/uploads/checkFileAccess.js.map +1 -1
  1036. package/dist/uploads/checkFileRestrictions.d.ts +11 -1
  1037. package/dist/uploads/checkFileRestrictions.d.ts.map +1 -1
  1038. package/dist/uploads/checkFileRestrictions.js +91 -26
  1039. package/dist/uploads/checkFileRestrictions.js.map +1 -1
  1040. package/dist/uploads/clientUploadReceipt.d.ts +29 -0
  1041. package/dist/uploads/clientUploadReceipt.d.ts.map +1 -0
  1042. package/dist/uploads/clientUploadReceipt.js +76 -0
  1043. package/dist/uploads/clientUploadReceipt.js.map +1 -0
  1044. package/dist/uploads/cropImage.d.ts +1 -1
  1045. package/dist/uploads/cropImage.d.ts.map +1 -1
  1046. package/dist/uploads/cropImage.js +2 -5
  1047. package/dist/uploads/cropImage.js.map +1 -1
  1048. package/dist/uploads/deleteAssociatedFiles.d.ts.map +1 -1
  1049. package/dist/uploads/deleteAssociatedFiles.js +57 -9
  1050. package/dist/uploads/deleteAssociatedFiles.js.map +1 -1
  1051. package/dist/uploads/detectSvgFromXml.d.ts +1 -4
  1052. package/dist/uploads/detectSvgFromXml.d.ts.map +1 -1
  1053. package/dist/uploads/detectSvgFromXml.js +2 -41
  1054. package/dist/uploads/detectSvgFromXml.js.map +1 -1
  1055. package/dist/uploads/docWithFilenameExists.d.ts +2 -1
  1056. package/dist/uploads/docWithFilenameExists.d.ts.map +1 -1
  1057. package/dist/uploads/docWithFilenameExists.js +27 -10
  1058. package/dist/uploads/docWithFilenameExists.js.map +1 -1
  1059. package/dist/uploads/downloadFileToBuffer.d.ts +11 -0
  1060. package/dist/uploads/downloadFileToBuffer.d.ts.map +1 -0
  1061. package/dist/uploads/downloadFileToBuffer.js +72 -0
  1062. package/dist/uploads/downloadFileToBuffer.js.map +1 -0
  1063. package/dist/uploads/endpoints/getFile.d.ts.map +1 -1
  1064. package/dist/uploads/endpoints/getFile.js +5 -3
  1065. package/dist/uploads/endpoints/getFile.js.map +1 -1
  1066. package/dist/uploads/endpoints/index.js +2 -2
  1067. package/dist/uploads/endpoints/index.js.map +1 -1
  1068. package/dist/uploads/endpoints/pasteURL.d.ts +3 -0
  1069. package/dist/uploads/endpoints/pasteURL.d.ts.map +1 -0
  1070. package/dist/uploads/endpoints/{getFileFromURL.js → pasteURL.js} +19 -55
  1071. package/dist/uploads/endpoints/pasteURL.js.map +1 -0
  1072. package/dist/uploads/endpoints/uploadInstructions.d.ts +15 -0
  1073. package/dist/uploads/endpoints/uploadInstructions.d.ts.map +1 -0
  1074. package/dist/uploads/endpoints/uploadInstructions.js +87 -0
  1075. package/dist/uploads/endpoints/uploadInstructions.js.map +1 -0
  1076. package/dist/uploads/fetchAPI-multipart/handlers.d.ts +2 -2
  1077. package/dist/uploads/fetchAPI-multipart/handlers.d.ts.map +1 -1
  1078. package/dist/uploads/fetchAPI-multipart/handlers.js +18 -5
  1079. package/dist/uploads/fetchAPI-multipart/handlers.js.map +1 -1
  1080. package/dist/uploads/fetchAPI-multipart/index.d.ts.map +1 -1
  1081. package/dist/uploads/fetchAPI-multipart/index.js +24 -2
  1082. package/dist/uploads/fetchAPI-multipart/index.js.map +1 -1
  1083. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.js +1 -2
  1084. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.js.map +1 -1
  1085. package/dist/uploads/fetchAPI-multipart/processMultipart.d.ts +0 -6
  1086. package/dist/uploads/fetchAPI-multipart/processMultipart.d.ts.map +1 -1
  1087. package/dist/uploads/fetchAPI-multipart/processMultipart.js +146 -130
  1088. package/dist/uploads/fetchAPI-multipart/processMultipart.js.map +1 -1
  1089. package/dist/uploads/fetchWithRedirects.d.ts +19 -0
  1090. package/dist/uploads/fetchWithRedirects.d.ts.map +1 -0
  1091. package/dist/uploads/fetchWithRedirects.js +53 -0
  1092. package/dist/uploads/fetchWithRedirects.js.map +1 -0
  1093. package/dist/uploads/generateFileData.d.ts +31 -1
  1094. package/dist/uploads/generateFileData.d.ts.map +1 -1
  1095. package/dist/uploads/generateFileData.js +117 -65
  1096. package/dist/uploads/generateFileData.js.map +1 -1
  1097. package/dist/uploads/getBaseFields.d.ts.map +1 -1
  1098. package/dist/uploads/getBaseFields.js +3 -1
  1099. package/dist/uploads/getBaseFields.js.map +1 -1
  1100. package/dist/uploads/getFileContentRequirement.d.ts +32 -0
  1101. package/dist/uploads/getFileContentRequirement.d.ts.map +1 -0
  1102. package/dist/uploads/getFileContentRequirement.js +40 -0
  1103. package/dist/uploads/getFileContentRequirement.js.map +1 -0
  1104. package/dist/uploads/getFileFromUploadInstructions.d.ts +8 -0
  1105. package/dist/uploads/getFileFromUploadInstructions.d.ts.map +1 -0
  1106. package/dist/uploads/getFileFromUploadInstructions.js +279 -0
  1107. package/dist/uploads/getFileFromUploadInstructions.js.map +1 -0
  1108. package/dist/uploads/getFileTypeFallback.d.ts.map +1 -1
  1109. package/dist/uploads/getFileTypeFallback.js +3 -1
  1110. package/dist/uploads/getFileTypeFallback.js.map +1 -1
  1111. package/dist/uploads/getFileTypeIdentity.d.ts +19 -0
  1112. package/dist/uploads/getFileTypeIdentity.d.ts.map +1 -0
  1113. package/dist/uploads/getFileTypeIdentity.js +34 -0
  1114. package/dist/uploads/getFileTypeIdentity.js.map +1 -0
  1115. package/dist/uploads/getImageSize.d.ts +12 -1
  1116. package/dist/uploads/getImageSize.d.ts.map +1 -1
  1117. package/dist/uploads/getImageSize.js +20 -18
  1118. package/dist/uploads/getImageSize.js.map +1 -1
  1119. package/dist/uploads/hasCropOrResizeEdit.d.ts +7 -0
  1120. package/dist/uploads/hasCropOrResizeEdit.d.ts.map +1 -0
  1121. package/dist/uploads/hasCropOrResizeEdit.js +6 -0
  1122. package/dist/uploads/hasCropOrResizeEdit.js.map +1 -0
  1123. package/dist/uploads/hasFullFileContents.d.ts +13 -0
  1124. package/dist/uploads/hasFullFileContents.d.ts.map +1 -0
  1125. package/dist/uploads/hasFullFileContents.js +12 -0
  1126. package/dist/uploads/hasFullFileContents.js.map +1 -0
  1127. package/dist/uploads/image-resizing/createImageSizes.d.ts.map +1 -1
  1128. package/dist/uploads/image-resizing/createImageSizes.js +2 -5
  1129. package/dist/uploads/image-resizing/createImageSizes.js.map +1 -1
  1130. package/dist/uploads/isAnimatedImage.d.ts +8 -0
  1131. package/dist/uploads/isAnimatedImage.d.ts.map +1 -0
  1132. package/dist/uploads/isAnimatedImage.js +22 -0
  1133. package/dist/uploads/isAnimatedImage.js.map +1 -0
  1134. package/dist/uploads/isProcessableImage.d.ts +2 -0
  1135. package/dist/uploads/isProcessableImage.d.ts.map +1 -0
  1136. package/dist/uploads/isProcessableImage.js +7 -0
  1137. package/dist/uploads/isProcessableImage.js.map +1 -0
  1138. package/dist/uploads/probeImageSize.d.ts +39 -0
  1139. package/dist/uploads/probeImageSize.d.ts.map +1 -0
  1140. package/dist/uploads/probeImageSize.js +374 -0
  1141. package/dist/uploads/probeImageSize.js.map +1 -0
  1142. package/dist/uploads/resolveURLUploadInput.d.ts +25 -0
  1143. package/dist/uploads/resolveURLUploadInput.d.ts.map +1 -0
  1144. package/dist/uploads/resolveURLUploadInput.js +53 -0
  1145. package/dist/uploads/resolveURLUploadInput.js.map +1 -0
  1146. package/dist/uploads/safeFetch.d.ts.map +1 -1
  1147. package/dist/uploads/safeFetch.js +3 -2
  1148. package/dist/uploads/safeFetch.js.map +1 -1
  1149. package/dist/uploads/sanitizeUploadData.d.ts +26 -0
  1150. package/dist/uploads/sanitizeUploadData.d.ts.map +1 -0
  1151. package/dist/uploads/sanitizeUploadData.js +161 -0
  1152. package/dist/uploads/sanitizeUploadData.js.map +1 -0
  1153. package/dist/uploads/stagedUpload.d.ts +27 -0
  1154. package/dist/uploads/stagedUpload.d.ts.map +1 -0
  1155. package/dist/uploads/stagedUpload.js +197 -0
  1156. package/dist/uploads/stagedUpload.js.map +1 -0
  1157. package/dist/uploads/types.d.ts +101 -10
  1158. package/dist/uploads/types.d.ts.map +1 -1
  1159. package/dist/uploads/types.js.map +1 -1
  1160. package/dist/uploads/unlinkTempFiles.d.ts.map +1 -1
  1161. package/dist/uploads/unlinkTempFiles.js +6 -2
  1162. package/dist/uploads/unlinkTempFiles.js.map +1 -1
  1163. package/dist/uploads/uploadContentSecurityPolicy.d.ts +2 -0
  1164. package/dist/uploads/uploadContentSecurityPolicy.d.ts.map +1 -0
  1165. package/dist/uploads/uploadContentSecurityPolicy.js +3 -0
  1166. package/dist/uploads/uploadContentSecurityPolicy.js.map +1 -0
  1167. package/dist/uploads/uploadFiles.d.ts.map +1 -1
  1168. package/dist/uploads/uploadFiles.js +7 -2
  1169. package/dist/uploads/uploadFiles.js.map +1 -1
  1170. package/dist/uploads/validateISOBaseMediaFile.d.ts +4 -0
  1171. package/dist/uploads/validateISOBaseMediaFile.d.ts.map +1 -0
  1172. package/dist/uploads/validateISOBaseMediaFile.js +91 -0
  1173. package/dist/uploads/validateISOBaseMediaFile.js.map +1 -0
  1174. package/dist/uploads/validateSvg.d.ts +10 -4
  1175. package/dist/uploads/validateSvg.d.ts.map +1 -1
  1176. package/dist/uploads/validateSvg.js +280 -40
  1177. package/dist/uploads/validateSvg.js.map +1 -1
  1178. package/dist/uploads/validateUploadFilename.d.ts +3 -0
  1179. package/dist/uploads/validateUploadFilename.d.ts.map +1 -0
  1180. package/dist/uploads/validateUploadFilename.js +13 -0
  1181. package/dist/uploads/validateUploadFilename.js.map +1 -0
  1182. package/dist/uploads/validateUploadURL.d.ts +13 -0
  1183. package/dist/uploads/validateUploadURL.d.ts.map +1 -0
  1184. package/dist/uploads/validateUploadURL.js +37 -0
  1185. package/dist/uploads/validateUploadURL.js.map +1 -0
  1186. package/dist/utilities/addDataAndFileToRequest.d.ts.map +1 -1
  1187. package/dist/utilities/addDataAndFileToRequest.js +14 -45
  1188. package/dist/utilities/addDataAndFileToRequest.js.map +1 -1
  1189. package/dist/utilities/appendNonTrashedFilter.d.ts +1 -1
  1190. package/dist/utilities/appendNonTrashedFilter.d.ts.map +1 -1
  1191. package/dist/utilities/appendNonTrashedFilter.js.map +1 -1
  1192. package/dist/utilities/canAccessAdmin.d.ts.map +1 -1
  1193. package/dist/utilities/canAccessAdmin.js +2 -0
  1194. package/dist/utilities/canAccessAdmin.js.map +1 -1
  1195. package/dist/utilities/checkDocumentLockStatus.d.ts +19 -0
  1196. package/dist/utilities/checkDocumentLockStatus.d.ts.map +1 -1
  1197. package/dist/utilities/checkDocumentLockStatus.js +74 -0
  1198. package/dist/utilities/checkDocumentLockStatus.js.map +1 -1
  1199. package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
  1200. package/dist/utilities/configToJSONSchema.js +0 -9
  1201. package/dist/utilities/configToJSONSchema.js.map +1 -1
  1202. package/dist/utilities/createPayloadRequest.d.ts +12 -10
  1203. package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
  1204. package/dist/utilities/createPayloadRequest.js +98 -81
  1205. package/dist/utilities/createPayloadRequest.js.map +1 -1
  1206. package/dist/utilities/createPayloadRequestFromWebRequest.d.ts +14 -0
  1207. package/dist/utilities/createPayloadRequestFromWebRequest.d.ts.map +1 -0
  1208. package/dist/utilities/createPayloadRequestFromWebRequest.js +95 -0
  1209. package/dist/utilities/createPayloadRequestFromWebRequest.js.map +1 -0
  1210. package/dist/utilities/deepCopyObject.d.ts.map +1 -1
  1211. package/dist/utilities/deepCopyObject.js +110 -19
  1212. package/dist/utilities/deepCopyObject.js.map +1 -1
  1213. package/dist/utilities/entityInputSchema/filterFieldsByAccess.d.ts +30 -0
  1214. package/dist/utilities/entityInputSchema/filterFieldsByAccess.d.ts.map +1 -0
  1215. package/dist/utilities/entityInputSchema/filterFieldsByAccess.js +71 -0
  1216. package/dist/utilities/entityInputSchema/filterFieldsByAccess.js.map +1 -0
  1217. package/dist/utilities/entityInputSchema/getEntityInputSchema.d.ts +13 -0
  1218. package/dist/utilities/entityInputSchema/getEntityInputSchema.d.ts.map +1 -0
  1219. package/dist/utilities/entityInputSchema/getEntityInputSchema.js +66 -0
  1220. package/dist/utilities/entityInputSchema/getEntityInputSchema.js.map +1 -0
  1221. package/dist/utilities/entityInputSchema/sanitizeEntitySchema.d.ts +10 -0
  1222. package/dist/utilities/entityInputSchema/sanitizeEntitySchema.d.ts.map +1 -0
  1223. package/dist/utilities/entityInputSchema/sanitizeEntitySchema.js +384 -0
  1224. package/dist/utilities/entityInputSchema/sanitizeEntitySchema.js.map +1 -0
  1225. package/dist/utilities/entityInputSchema/types.d.ts +16 -0
  1226. package/dist/utilities/entityInputSchema/types.d.ts.map +1 -0
  1227. package/dist/utilities/entityInputSchema/types.js +3 -0
  1228. package/dist/utilities/entityInputSchema/types.js.map +1 -0
  1229. package/dist/utilities/entityInputSchema/validateEntityData.d.ts +13 -0
  1230. package/dist/utilities/entityInputSchema/validateEntityData.d.ts.map +1 -0
  1231. package/dist/utilities/entityInputSchema/validateEntityData.js +138 -0
  1232. package/dist/utilities/entityInputSchema/validateEntityData.js.map +1 -0
  1233. package/dist/utilities/fieldPath.d.ts +13 -0
  1234. package/dist/utilities/fieldPath.d.ts.map +1 -0
  1235. package/dist/utilities/fieldPath.js +51 -0
  1236. package/dist/utilities/fieldPath.js.map +1 -0
  1237. package/dist/utilities/fieldValueExists.d.ts +29 -0
  1238. package/dist/utilities/fieldValueExists.d.ts.map +1 -0
  1239. package/dist/utilities/fieldValueExists.js +37 -0
  1240. package/dist/utilities/fieldValueExists.js.map +1 -0
  1241. package/dist/utilities/formatAdminURL.d.ts +1 -0
  1242. package/dist/utilities/formatAdminURL.d.ts.map +1 -1
  1243. package/dist/utilities/formatAdminURL.js +22 -4
  1244. package/dist/utilities/formatAdminURL.js.map +1 -1
  1245. package/dist/utilities/getEntityPermissions/entityDocExists.d.ts.map +1 -1
  1246. package/dist/utilities/getEntityPermissions/entityDocExists.js +36 -5
  1247. package/dist/utilities/getEntityPermissions/entityDocExists.js.map +1 -1
  1248. package/dist/utilities/getEntityPermissions/getEntityPermissions.d.ts.map +1 -1
  1249. package/dist/utilities/getEntityPermissions/getEntityPermissions.js +1 -0
  1250. package/dist/utilities/getEntityPermissions/getEntityPermissions.js.map +1 -1
  1251. package/dist/utilities/getNextVersion.d.ts +7 -0
  1252. package/dist/utilities/getNextVersion.d.ts.map +1 -0
  1253. package/dist/utilities/getNextVersion.js +20 -0
  1254. package/dist/utilities/getNextVersion.js.map +1 -0
  1255. package/dist/utilities/getObjectDotNotation.d.ts.map +1 -1
  1256. package/dist/utilities/getObjectDotNotation.js +7 -1
  1257. package/dist/utilities/getObjectDotNotation.js.map +1 -1
  1258. package/dist/utilities/getRequestOrigin.d.ts.map +1 -1
  1259. package/dist/utilities/getRequestOrigin.js.map +1 -1
  1260. package/dist/utilities/getSafeRedirect.d.ts.map +1 -1
  1261. package/dist/utilities/getSafeRedirect.js +16 -9
  1262. package/dist/utilities/getSafeRedirect.js.map +1 -1
  1263. package/dist/utilities/getTopLevelFieldNames.d.ts +2 -0
  1264. package/dist/utilities/getTopLevelFieldNames.d.ts.map +1 -0
  1265. package/dist/utilities/getTopLevelFieldNames.js +3 -0
  1266. package/dist/utilities/getTopLevelFieldNames.js.map +1 -0
  1267. package/dist/utilities/getUniqueFieldValue.d.ts +28 -0
  1268. package/dist/utilities/getUniqueFieldValue.d.ts.map +1 -0
  1269. package/dist/utilities/getUniqueFieldValue.js +27 -0
  1270. package/dist/utilities/getUniqueFieldValue.js.map +1 -0
  1271. package/dist/utilities/getVirtualFieldNames.d.ts +14 -0
  1272. package/dist/utilities/getVirtualFieldNames.d.ts.map +1 -0
  1273. package/dist/utilities/getVirtualFieldNames.js +35 -0
  1274. package/dist/utilities/getVirtualFieldNames.js.map +1 -0
  1275. package/dist/utilities/handleEndpoints.d.ts.map +1 -1
  1276. package/dist/utilities/handleEndpoints.js +8 -7
  1277. package/dist/utilities/handleEndpoints.js.map +1 -1
  1278. package/dist/utilities/headersWithCors.js +1 -1
  1279. package/dist/utilities/headersWithCors.js.map +1 -1
  1280. package/dist/utilities/killTransaction.d.ts +7 -0
  1281. package/dist/utilities/killTransaction.d.ts.map +1 -1
  1282. package/dist/utilities/killTransaction.js +7 -0
  1283. package/dist/utilities/killTransaction.js.map +1 -1
  1284. package/dist/utilities/logError.d.ts.map +1 -1
  1285. package/dist/utilities/logError.js +5 -2
  1286. package/dist/utilities/logError.js.map +1 -1
  1287. package/dist/utilities/nextJsDevReloadStrategy.d.ts +7 -0
  1288. package/dist/utilities/nextJsDevReloadStrategy.d.ts.map +1 -0
  1289. package/dist/utilities/nextJsDevReloadStrategy.js +59 -0
  1290. package/dist/utilities/nextJsDevReloadStrategy.js.map +1 -0
  1291. package/dist/utilities/parseDocumentID.d.ts +4 -1
  1292. package/dist/utilities/parseDocumentID.d.ts.map +1 -1
  1293. package/dist/utilities/parseDocumentID.js +7 -1
  1294. package/dist/utilities/parseDocumentID.js.map +1 -1
  1295. package/dist/utilities/parseParams/index.d.ts.map +1 -1
  1296. package/dist/utilities/parseParams/index.js +3 -1
  1297. package/dist/utilities/parseParams/index.js.map +1 -1
  1298. package/dist/utilities/sanitizeUploadPrefix.d.ts +5 -0
  1299. package/dist/utilities/sanitizeUploadPrefix.d.ts.map +1 -0
  1300. package/dist/utilities/sanitizeUploadPrefix.js +18 -0
  1301. package/dist/utilities/sanitizeUploadPrefix.js.map +1 -0
  1302. package/dist/utilities/sharedInputSchemas.d.ts +52 -0
  1303. package/dist/utilities/sharedInputSchemas.d.ts.map +1 -0
  1304. package/dist/utilities/sharedInputSchemas.js +101 -0
  1305. package/dist/utilities/sharedInputSchemas.js.map +1 -0
  1306. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.d.ts +4 -0
  1307. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.d.ts.map +1 -0
  1308. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.js +261 -0
  1309. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.js.map +1 -0
  1310. package/dist/utilities/telemetry/featureInfo/types.d.ts +63 -0
  1311. package/dist/utilities/telemetry/featureInfo/types.d.ts.map +1 -0
  1312. package/dist/utilities/telemetry/featureInfo/types.js +3 -0
  1313. package/dist/utilities/telemetry/featureInfo/types.js.map +1 -0
  1314. package/dist/utilities/telemetry/getProjectContext.d.ts +16 -0
  1315. package/dist/utilities/telemetry/getProjectContext.d.ts.map +1 -0
  1316. package/dist/utilities/telemetry/getProjectContext.js +43 -0
  1317. package/dist/utilities/telemetry/getProjectContext.js.map +1 -0
  1318. package/dist/utilities/telemetry/index.d.ts +6 -1
  1319. package/dist/utilities/telemetry/index.d.ts.map +1 -1
  1320. package/dist/utilities/telemetry/index.js +21 -1
  1321. package/dist/utilities/telemetry/index.js.map +1 -1
  1322. package/dist/utilities/transformPointDataToPayload.d.ts +7 -0
  1323. package/dist/utilities/transformPointDataToPayload.d.ts.map +1 -0
  1324. package/dist/utilities/transformPointDataToPayload.js +28 -0
  1325. package/dist/utilities/transformPointDataToPayload.js.map +1 -0
  1326. package/dist/utilities/traverseFields.d.ts.map +1 -1
  1327. package/dist/utilities/traverseFields.js +25 -36
  1328. package/dist/utilities/traverseFields.js.map +1 -1
  1329. package/dist/utilities/unflatten.d.ts.map +1 -1
  1330. package/dist/utilities/unflatten.js +21 -9
  1331. package/dist/utilities/unflatten.js.map +1 -1
  1332. package/dist/utilities/unflattenData.d.ts +3 -0
  1333. package/dist/utilities/unflattenData.d.ts.map +1 -0
  1334. package/dist/utilities/unflattenData.js +14 -0
  1335. package/dist/utilities/unflattenData.js.map +1 -0
  1336. package/dist/utilities/zod.d.ts +5 -0
  1337. package/dist/utilities/zod.d.ts.map +1 -0
  1338. package/dist/utilities/zod.js +21 -0
  1339. package/dist/utilities/zod.js.map +1 -0
  1340. package/dist/versions/allLocalesPublicationStatus.d.ts +38 -0
  1341. package/dist/versions/allLocalesPublicationStatus.d.ts.map +1 -0
  1342. package/dist/versions/allLocalesPublicationStatus.js +57 -0
  1343. package/dist/versions/allLocalesPublicationStatus.js.map +1 -0
  1344. package/dist/versions/deleteCollectionVersions.d.ts +11 -1
  1345. package/dist/versions/deleteCollectionVersions.d.ts.map +1 -1
  1346. package/dist/versions/deleteCollectionVersions.js +10 -3
  1347. package/dist/versions/deleteCollectionVersions.js.map +1 -1
  1348. package/dist/versions/deleteScheduledPublishJobs.d.ts +5 -1
  1349. package/dist/versions/deleteScheduledPublishJobs.d.ts.map +1 -1
  1350. package/dist/versions/deleteScheduledPublishJobs.js +11 -5
  1351. package/dist/versions/deleteScheduledPublishJobs.js.map +1 -1
  1352. package/dist/versions/drafts/appendVersionToQueryKey.d.ts +1 -0
  1353. package/dist/versions/drafts/appendVersionToQueryKey.d.ts.map +1 -1
  1354. package/dist/versions/drafts/appendVersionToQueryKey.js +6 -12
  1355. package/dist/versions/drafts/appendVersionToQueryKey.js.map +1 -1
  1356. package/dist/versions/getLatestGlobalVersion.d.ts.map +1 -1
  1357. package/dist/versions/getLatestGlobalVersion.js +10 -2
  1358. package/dist/versions/getLatestGlobalVersion.js.map +1 -1
  1359. package/dist/versions/getRestoredStatusesToAuthorize.d.ts +9 -0
  1360. package/dist/versions/getRestoredStatusesToAuthorize.d.ts.map +1 -0
  1361. package/dist/versions/getRestoredStatusesToAuthorize.js +22 -0
  1362. package/dist/versions/getRestoredStatusesToAuthorize.js.map +1 -0
  1363. package/dist/versions/isInheritedReadVersionsAccess.d.ts +6 -0
  1364. package/dist/versions/isInheritedReadVersionsAccess.d.ts.map +1 -0
  1365. package/dist/versions/isInheritedReadVersionsAccess.js +30 -0
  1366. package/dist/versions/isInheritedReadVersionsAccess.js.map +1 -0
  1367. package/dist/versions/schedule/job.d.ts +2 -2
  1368. package/dist/versions/schedule/job.d.ts.map +1 -1
  1369. package/dist/versions/schedule/job.js +12 -8
  1370. package/dist/versions/schedule/job.js.map +1 -1
  1371. package/dist/versions/schedule/types.d.ts +5 -1
  1372. package/dist/versions/schedule/types.d.ts.map +1 -1
  1373. package/dist/versions/schedule/types.js.map +1 -1
  1374. package/package.json +28 -10
  1375. package/skills/payload/SKILL.md +544 -0
  1376. package/skills/payload/reference/ACCESS-CONTROL-ADVANCED.md +718 -0
  1377. package/skills/payload/reference/ACCESS-CONTROL.md +700 -0
  1378. package/skills/payload/reference/ADAPTERS.md +312 -0
  1379. package/skills/payload/reference/ADVANCED.md +393 -0
  1380. package/skills/payload/reference/COLLECTIONS.md +336 -0
  1381. package/skills/payload/reference/ENDPOINTS.md +650 -0
  1382. package/skills/payload/reference/FIELD-TYPE-GUARDS.md +553 -0
  1383. package/skills/payload/reference/FIELDS.md +748 -0
  1384. package/skills/payload/reference/HOOKS.md +186 -0
  1385. package/skills/payload/reference/PLUGIN-DEVELOPMENT.md +1445 -0
  1386. package/skills/payload/reference/QUERIES.md +282 -0
  1387. package/dist/auth/cookies.spec.js +0 -34
  1388. package/dist/auth/cookies.spec.js.map +0 -1
  1389. package/dist/auth/strategies/local/authenticate.spec.js +0 -83
  1390. package/dist/auth/strategies/local/authenticate.spec.js.map +0 -1
  1391. package/dist/bin/build.d.ts.map +0 -1
  1392. package/dist/bin/build.js.map +0 -1
  1393. package/dist/bin/build.spec.js +0 -594
  1394. package/dist/bin/build.spec.js.map +0 -1
  1395. package/dist/bin/frameworkConventions.d.ts.map +0 -1
  1396. package/dist/bin/frameworkConventions.js.map +0 -1
  1397. package/dist/bin/generateImportMap/generateImportMap.spec.js +0 -176
  1398. package/dist/bin/generateImportMap/generateImportMap.spec.js.map +0 -1
  1399. package/dist/bin/generateImportMap/index.d.ts.map +0 -1
  1400. package/dist/bin/generateImportMap/index.js.map +0 -1
  1401. package/dist/bin/generateImportMap/iterateCollections.d.ts.map +0 -1
  1402. package/dist/bin/generateImportMap/iterateCollections.js.map +0 -1
  1403. package/dist/bin/generateImportMap/iterateConfig.d.ts.map +0 -1
  1404. package/dist/bin/generateImportMap/iterateConfig.js.map +0 -1
  1405. package/dist/bin/generateImportMap/iterateFields.d.ts.map +0 -1
  1406. package/dist/bin/generateImportMap/iterateFields.js.map +0 -1
  1407. package/dist/bin/generateImportMap/iterateGlobals.d.ts.map +0 -1
  1408. package/dist/bin/generateImportMap/iterateGlobals.js.map +0 -1
  1409. package/dist/bin/generateImportMap/utilities/addPayloadComponentToImportMap.d.ts.map +0 -1
  1410. package/dist/bin/generateImportMap/utilities/addPayloadComponentToImportMap.js.map +0 -1
  1411. package/dist/bin/generateImportMap/utilities/getFromImportMap.d.ts.map +0 -1
  1412. package/dist/bin/generateImportMap/utilities/getFromImportMap.js.map +0 -1
  1413. package/dist/bin/generateImportMap/utilities/getImportMapToBaseDirPath.d.ts.map +0 -1
  1414. package/dist/bin/generateImportMap/utilities/getImportMapToBaseDirPath.js.map +0 -1
  1415. package/dist/bin/generateImportMap/utilities/parsePayloadComponent.d.ts.map +0 -1
  1416. package/dist/bin/generateImportMap/utilities/parsePayloadComponent.js.map +0 -1
  1417. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.d.ts.map +0 -1
  1418. package/dist/bin/generateImportMap/utilities/resolveImportMapFilePath.js.map +0 -1
  1419. package/dist/bin/generateTypes.d.ts +0 -6
  1420. package/dist/bin/generateTypes.d.ts.map +0 -1
  1421. package/dist/bin/generateTypes.js.map +0 -1
  1422. package/dist/bin/index.d.ts +0 -2
  1423. package/dist/bin/index.d.ts.map +0 -1
  1424. package/dist/bin/index.js +0 -200
  1425. package/dist/bin/index.js.map +0 -1
  1426. package/dist/bin/info.d.ts +0 -2
  1427. package/dist/bin/info.d.ts.map +0 -1
  1428. package/dist/bin/info.js +0 -56
  1429. package/dist/bin/info.js.map +0 -1
  1430. package/dist/bin/loadEnv.d.ts.map +0 -1
  1431. package/dist/bin/loadEnv.js.map +0 -1
  1432. package/dist/bin/migrate.d.ts +0 -15
  1433. package/dist/bin/migrate.d.ts.map +0 -1
  1434. package/dist/bin/migrate.js +0 -102
  1435. package/dist/bin/migrate.js.map +0 -1
  1436. package/dist/collections/config/defaults.spec.js +0 -47
  1437. package/dist/collections/config/defaults.spec.js.map +0 -1
  1438. package/dist/collections/config/sanitize.spec.js +0 -120
  1439. package/dist/collections/config/sanitize.spec.js.map +0 -1
  1440. package/dist/collections/config/useAsTitle.spec.js +0 -187
  1441. package/dist/collections/config/useAsTitle.spec.js.map +0 -1
  1442. package/dist/database/defaultUpdateJobs.d.ts +0 -3
  1443. package/dist/database/defaultUpdateJobs.d.ts.map +0 -1
  1444. package/dist/database/defaultUpdateJobs.js +0 -41
  1445. package/dist/database/defaultUpdateJobs.js.map +0 -1
  1446. package/dist/database/migrations/findMigrationDir.spec.js +0 -47
  1447. package/dist/database/migrations/findMigrationDir.spec.js.map +0 -1
  1448. package/dist/fields/baseFields/slug/countVersions.d.ts +0 -13
  1449. package/dist/fields/baseFields/slug/countVersions.d.ts.map +0 -1
  1450. package/dist/fields/baseFields/slug/countVersions.js +0 -27
  1451. package/dist/fields/baseFields/slug/countVersions.js.map +0 -1
  1452. package/dist/fields/config/reservedFieldNames.spec.js +0 -149
  1453. package/dist/fields/config/reservedFieldNames.spec.js.map +0 -1
  1454. package/dist/fields/config/sanitize.spec.js +0 -745
  1455. package/dist/fields/config/sanitize.spec.js.map +0 -1
  1456. package/dist/fields/isFieldDisabled.spec.js +0 -134
  1457. package/dist/fields/isFieldDisabled.spec.js.map +0 -1
  1458. package/dist/fields/validations.spec.js +0 -990
  1459. package/dist/fields/validations.spec.js.map +0 -1
  1460. package/dist/globals/config/sanitize.spec.js +0 -43
  1461. package/dist/globals/config/sanitize.spec.js.map +0 -1
  1462. package/dist/hierarchy/utils/getLocalizedValue.spec.js +0 -250
  1463. package/dist/hierarchy/utils/getLocalizedValue.spec.js.map +0 -1
  1464. package/dist/locked-documents/config.spec.js +0 -298
  1465. package/dist/locked-documents/config.spec.js.map +0 -1
  1466. package/dist/uploads/checkFileAccess.spec.js +0 -109
  1467. package/dist/uploads/checkFileAccess.spec.js.map +0 -1
  1468. package/dist/uploads/endpoints/getFileFromURL.d.ts +0 -3
  1469. package/dist/uploads/endpoints/getFileFromURL.d.ts.map +0 -1
  1470. package/dist/uploads/endpoints/getFileFromURL.js.map +0 -1
  1471. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.spec.js +0 -29
  1472. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.spec.js.map +0 -1
  1473. package/dist/uploads/getExternalFile.d.ts +0 -10
  1474. package/dist/uploads/getExternalFile.d.ts.map +0 -1
  1475. package/dist/uploads/getExternalFile.js +0 -73
  1476. package/dist/uploads/getExternalFile.js.map +0 -1
  1477. package/dist/uploads/getSafeFilename.spec.js +0 -274
  1478. package/dist/uploads/getSafeFilename.spec.js.map +0 -1
  1479. package/dist/uploads/matchMimeType.spec.js +0 -66
  1480. package/dist/uploads/matchMimeType.spec.js.map +0 -1
  1481. package/dist/uploads/mimeTypeValidator.spec.js +0 -84
  1482. package/dist/uploads/mimeTypeValidator.spec.js.map +0 -1
  1483. package/dist/uploads/tempFile.d.ts +0 -7
  1484. package/dist/uploads/tempFile.d.ts.map +0 -1
  1485. package/dist/uploads/tempFile.js +0 -39
  1486. package/dist/uploads/tempFile.js.map +0 -1
  1487. package/dist/utilities/addDataAndFileToRequest.spec.js +0 -41
  1488. package/dist/utilities/addDataAndFileToRequest.spec.js.map +0 -1
  1489. package/dist/utilities/addSelectGenericsToGeneratedTypes.spec.js +0 -563
  1490. package/dist/utilities/addSelectGenericsToGeneratedTypes.spec.js.map +0 -1
  1491. package/dist/utilities/combineWhereConstraints.spec.js +0 -131
  1492. package/dist/utilities/combineWhereConstraints.spec.js.map +0 -1
  1493. package/dist/utilities/configToJSONSchema.spec.js +0 -1162
  1494. package/dist/utilities/configToJSONSchema.spec.js.map +0 -1
  1495. package/dist/utilities/createLocalReq.d.ts +0 -15
  1496. package/dist/utilities/createLocalReq.d.ts.map +0 -1
  1497. package/dist/utilities/createLocalReq.js +0 -110
  1498. package/dist/utilities/createLocalReq.js.map +0 -1
  1499. package/dist/utilities/createLocalReq.spec.js +0 -125
  1500. package/dist/utilities/createLocalReq.spec.js.map +0 -1
  1501. package/dist/utilities/filterDataToSelectedLocales.spec.js +0 -529
  1502. package/dist/utilities/filterDataToSelectedLocales.spec.js.map +0 -1
  1503. package/dist/utilities/flattenTopLevelFields.spec.js +0 -659
  1504. package/dist/utilities/flattenTopLevelFields.spec.js.map +0 -1
  1505. package/dist/utilities/formatAdminURL.spec.js +0 -168
  1506. package/dist/utilities/formatAdminURL.spec.js.map +0 -1
  1507. package/dist/utilities/formatErrors.spec.js +0 -101
  1508. package/dist/utilities/formatErrors.spec.js.map +0 -1
  1509. package/dist/utilities/formatLabels.spec.js +0 -38
  1510. package/dist/utilities/formatLabels.spec.js.map +0 -1
  1511. package/dist/utilities/getFieldByPath.spec.js +0 -157
  1512. package/dist/utilities/getFieldByPath.spec.js.map +0 -1
  1513. package/dist/utilities/getFieldPermissions.spec.js +0 -78
  1514. package/dist/utilities/getFieldPermissions.spec.js.map +0 -1
  1515. package/dist/utilities/getRequestOrigin.spec.js +0 -151
  1516. package/dist/utilities/getRequestOrigin.spec.js.map +0 -1
  1517. package/dist/utilities/getSafeRedirect.spec.js +0 -84
  1518. package/dist/utilities/getSafeRedirect.spec.js.map +0 -1
  1519. package/dist/utilities/isURLAllowed.spec.js +0 -78
  1520. package/dist/utilities/isURLAllowed.spec.js.map +0 -1
  1521. package/dist/utilities/isolateObjectProperty.spec.js +0 -120
  1522. package/dist/utilities/isolateObjectProperty.spec.js.map +0 -1
  1523. package/dist/utilities/mergeLocalizedData.spec.js +0 -1108
  1524. package/dist/utilities/mergeLocalizedData.spec.js.map +0 -1
  1525. package/dist/utilities/optionsAreEqual.spec.js +0 -319
  1526. package/dist/utilities/optionsAreEqual.spec.js.map +0 -1
  1527. package/dist/utilities/parseParams/index.spec.js +0 -384
  1528. package/dist/utilities/parseParams/index.spec.js.map +0 -1
  1529. package/dist/utilities/profiling.spec.js +0 -53
  1530. package/dist/utilities/profiling.spec.js.map +0 -1
  1531. package/dist/utilities/sanitizePermissions.spec.js +0 -1639
  1532. package/dist/utilities/sanitizePermissions.spec.js.map +0 -1
  1533. package/dist/utilities/sanitizeUserDataForEmail.spec.js +0 -134
  1534. package/dist/utilities/sanitizeUserDataForEmail.spec.js.map +0 -1
  1535. package/dist/utilities/telemetry/index.spec.js +0 -43
  1536. package/dist/utilities/telemetry/index.spec.js.map +0 -1
  1537. package/dist/utilities/traverseFields.spec.js +0 -53
  1538. package/dist/utilities/traverseFields.spec.js.map +0 -1
  1539. package/dist/utilities/validateTimezones.spec.js +0 -493
  1540. package/dist/utilities/validateTimezones.spec.js.map +0 -1
  1541. /package/dist/{bin → cli/commands/generateImportMap}/frameworkConventions.d.ts +0 -0
  1542. /package/dist/{bin → cli/commands/generateImportMap}/frameworkConventions.js +0 -0
  1543. /package/dist/{bin → cli/commands}/generateImportMap/iterateCollections.js +0 -0
  1544. /package/dist/{bin → cli/commands}/generateImportMap/iterateFields.js +0 -0
  1545. /package/dist/{bin → cli/commands}/generateImportMap/iterateGlobals.js +0 -0
  1546. /package/dist/{bin → cli/commands}/generateImportMap/utilities/addPayloadComponentToImportMap.js +0 -0
  1547. /package/dist/{bin → cli/commands}/generateImportMap/utilities/getFromImportMap.js +0 -0
  1548. /package/dist/{bin → cli/commands}/generateImportMap/utilities/getImportMapToBaseDirPath.d.ts +0 -0
  1549. /package/dist/{bin → cli/commands}/generateImportMap/utilities/getImportMapToBaseDirPath.js +0 -0
  1550. /package/dist/{bin → cli/commands}/generateImportMap/utilities/parsePayloadComponent.js +0 -0
  1551. /package/dist/{bin → cli/commands}/generateImportMap/utilities/resolveImportMapFilePath.d.ts +0 -0
  1552. /package/dist/{bin → cli/runtime}/loadEnv.d.ts +0 -0
@@ -0,0 +1,877 @@
1
+ /**
2
+ * Shared input schemas for collection data commands.
3
+ *
4
+ * The Payload CLI and MCP plugin use these schemas so they accept and validate the same input.
5
+ * Local variants include trusted options that should only be available to local callers.
6
+ */
7
+ import * as z from 'zod/mini';
8
+ export declare const countDocumentsInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
9
+ slug: string;
10
+ locale?: string | undefined;
11
+ trash?: boolean | undefined;
12
+ where?: unknown;
13
+ }, {
14
+ slug: string;
15
+ locale?: string | undefined;
16
+ trash?: boolean | undefined;
17
+ where?: import("../../index.js").Where | undefined;
18
+ }> & z.ZodMiniObject<{
19
+ slug: z.ZodMiniString<string>;
20
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
21
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
22
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
23
+ }, z.core.$strict>;
24
+ /** For trusted local callers only. Includes access bypass. */
25
+ export declare const countDocumentsLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
26
+ slug: string;
27
+ locale?: string | undefined;
28
+ trash?: boolean | undefined;
29
+ where?: unknown;
30
+ overrideAccess?: boolean | undefined;
31
+ }, {
32
+ slug: string;
33
+ locale?: string | undefined;
34
+ trash?: boolean | undefined;
35
+ where?: import("../../index.js").Where | undefined;
36
+ overrideAccess: boolean;
37
+ }> & z.ZodMiniObject<{
38
+ slug: z.ZodMiniString<string>;
39
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
40
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
41
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
42
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
43
+ }, z.core.$strict>;
44
+ export declare const countVersionsInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
45
+ slug: string;
46
+ locale?: string | undefined;
47
+ where?: unknown;
48
+ }, {
49
+ slug: string;
50
+ locale?: string | undefined;
51
+ where?: import("../../index.js").Where | undefined;
52
+ }> & z.ZodMiniObject<{
53
+ slug: z.ZodMiniString<string>;
54
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
55
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
56
+ }, z.core.$strict>;
57
+ /** For trusted local callers only. Includes access bypass. */
58
+ export declare const countVersionsLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
59
+ slug: string;
60
+ locale?: string | undefined;
61
+ where?: unknown;
62
+ overrideAccess?: boolean | undefined;
63
+ }, {
64
+ slug: string;
65
+ locale?: string | undefined;
66
+ where?: import("../../index.js").Where | undefined;
67
+ overrideAccess: boolean;
68
+ }> & z.ZodMiniObject<{
69
+ slug: z.ZodMiniString<string>;
70
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
71
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
72
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
73
+ }, z.core.$strict>;
74
+ /** Safe for remote interfaces. Excludes trusted Local API options. */
75
+ export declare const createDocumentsInputSchema: <TFile extends z.core.$ZodType>({ file, }: {
76
+ file: TFile;
77
+ }) => import("@standard-schema/spec").StandardJSONSchemaV1<{
78
+ slug: string;
79
+ depth?: number | undefined;
80
+ documents: {
81
+ data: Record<string, unknown>;
82
+ file?: z.core.input<TFile> | undefined;
83
+ }[];
84
+ draft?: boolean | undefined;
85
+ fallbackLocale?: string | false | undefined;
86
+ locale?: string | undefined;
87
+ populate?: Record<string, unknown> | undefined;
88
+ publishAllLocales?: boolean | undefined;
89
+ returning?: boolean | undefined;
90
+ select?: unknown;
91
+ }, {
92
+ slug: string;
93
+ depth: number;
94
+ documents: {
95
+ data: Record<string, unknown>;
96
+ file?: z.infer<TFile> | undefined;
97
+ }[];
98
+ draft: boolean;
99
+ fallbackLocale?: string | false | undefined;
100
+ locale?: string | undefined;
101
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
102
+ publishAllLocales?: boolean | undefined;
103
+ returning: boolean;
104
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
105
+ }> & z.ZodMiniObject<{
106
+ slug: z.ZodMiniString<string>;
107
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
108
+ documents: z.ZodMiniArray<z.ZodMiniObject<{
109
+ data: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
110
+ file: z.ZodMiniOptional<TFile>;
111
+ }, z.core.$strict>>;
112
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
113
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
114
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
115
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
116
+ publishAllLocales: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
117
+ returning: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
118
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
119
+ }, z.core.$strict>;
120
+ /** For trusted local callers only. Includes access bypass, file overwrites, and hidden fields. */
121
+ export declare const createDocumentsLocalInputSchema: <TFile extends z.core.$ZodType>({ file, }: {
122
+ file: TFile;
123
+ }) => import("@standard-schema/spec").StandardJSONSchemaV1<{
124
+ slug: string;
125
+ depth?: number | undefined;
126
+ documents: {
127
+ data: Record<string, unknown>;
128
+ file?: z.core.input<TFile> | undefined;
129
+ }[];
130
+ draft?: boolean | undefined;
131
+ fallbackLocale?: string | false | undefined;
132
+ locale?: string | undefined;
133
+ populate?: Record<string, unknown> | undefined;
134
+ publishAllLocales?: boolean | undefined;
135
+ returning?: boolean | undefined;
136
+ select?: unknown;
137
+ overrideAccess?: boolean | undefined;
138
+ overwriteExistingFiles?: boolean | undefined;
139
+ showHiddenFields?: boolean | undefined;
140
+ }, {
141
+ slug: string;
142
+ depth: number;
143
+ documents: {
144
+ data: Record<string, unknown>;
145
+ file?: z.infer<TFile> | undefined;
146
+ }[];
147
+ draft: boolean;
148
+ fallbackLocale?: string | false | undefined;
149
+ locale?: string | undefined;
150
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
151
+ publishAllLocales?: boolean | undefined;
152
+ returning: boolean;
153
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
154
+ overrideAccess: boolean;
155
+ overwriteExistingFiles: boolean;
156
+ showHiddenFields?: boolean | undefined;
157
+ }> & z.ZodMiniObject<{
158
+ slug: z.ZodMiniString<string>;
159
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
160
+ documents: z.ZodMiniArray<z.ZodMiniObject<{
161
+ data: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
162
+ file: z.ZodMiniOptional<TFile>;
163
+ }, z.core.$strict>>;
164
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
165
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
166
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
167
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
168
+ publishAllLocales: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
169
+ returning: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
170
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
171
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
172
+ overwriteExistingFiles: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
173
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
174
+ }, z.core.$strict>;
175
+ export declare const deleteDocumentsInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
176
+ id?: string | number | undefined;
177
+ slug: string;
178
+ depth?: number | undefined;
179
+ fallbackLocale?: string | false | undefined;
180
+ locale?: string | undefined;
181
+ where?: unknown;
182
+ }, {
183
+ id?: string | number | undefined;
184
+ slug: string;
185
+ depth: number;
186
+ fallbackLocale?: string | false | undefined;
187
+ locale?: string | undefined;
188
+ where?: import("../../index.js").Where | undefined;
189
+ }> & z.ZodMiniObject<{
190
+ id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
191
+ slug: z.ZodMiniString<string>;
192
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
193
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
194
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
195
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
196
+ }, z.core.$strict>;
197
+ /** For trusted local callers only. Includes access bypass. */
198
+ export declare const deleteDocumentsLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
199
+ id?: string | number | undefined;
200
+ slug: string;
201
+ depth?: number | undefined;
202
+ fallbackLocale?: string | false | undefined;
203
+ locale?: string | undefined;
204
+ where?: unknown;
205
+ overrideAccess?: boolean | undefined;
206
+ }, {
207
+ id?: string | number | undefined;
208
+ slug: string;
209
+ depth: number;
210
+ fallbackLocale?: string | false | undefined;
211
+ locale?: string | undefined;
212
+ where?: import("../../index.js").Where | undefined;
213
+ overrideAccess: boolean;
214
+ }> & z.ZodMiniObject<{
215
+ id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
216
+ slug: z.ZodMiniString<string>;
217
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
218
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
219
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
220
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
221
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
222
+ }, z.core.$strict>;
223
+ export declare const duplicateDocumentInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
224
+ id: string | number;
225
+ slug: string;
226
+ data?: Record<string, unknown> | undefined;
227
+ depth?: number | undefined;
228
+ draft?: boolean | undefined;
229
+ fallbackLocale?: string | false | undefined;
230
+ locale?: string | undefined;
231
+ populate?: Record<string, unknown> | undefined;
232
+ select?: unknown;
233
+ selectedLocales?: string[] | undefined;
234
+ }, {
235
+ id: string | number;
236
+ slug: string;
237
+ data?: Record<string, unknown> | undefined;
238
+ depth: number;
239
+ draft: boolean;
240
+ fallbackLocale?: string | false | undefined;
241
+ locale?: string | undefined;
242
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
243
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
244
+ selectedLocales?: string[] | undefined;
245
+ }> & z.ZodMiniObject<{
246
+ id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>;
247
+ slug: z.ZodMiniString<string>;
248
+ data: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
249
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
250
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
251
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
252
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
253
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
254
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
255
+ selectedLocales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
256
+ }, z.core.$strict>;
257
+ /** For trusted local callers only. Includes access bypass and hidden fields. */
258
+ export declare const duplicateDocumentLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
259
+ id: string | number;
260
+ slug: string;
261
+ data?: Record<string, unknown> | undefined;
262
+ depth?: number | undefined;
263
+ draft?: boolean | undefined;
264
+ fallbackLocale?: string | false | undefined;
265
+ locale?: string | undefined;
266
+ populate?: Record<string, unknown> | undefined;
267
+ select?: unknown;
268
+ selectedLocales?: string[] | undefined;
269
+ overrideAccess?: boolean | undefined;
270
+ showHiddenFields?: boolean | undefined;
271
+ }, {
272
+ id: string | number;
273
+ slug: string;
274
+ data?: Record<string, unknown> | undefined;
275
+ depth: number;
276
+ draft: boolean;
277
+ fallbackLocale?: string | false | undefined;
278
+ locale?: string | undefined;
279
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
280
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
281
+ selectedLocales?: string[] | undefined;
282
+ overrideAccess: boolean;
283
+ showHiddenFields?: boolean | undefined;
284
+ }> & z.ZodMiniObject<{
285
+ id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>;
286
+ slug: z.ZodMiniString<string>;
287
+ data: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
288
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
289
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
290
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
291
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
292
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
293
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
294
+ selectedLocales: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
295
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
296
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
297
+ }, z.core.$strict>;
298
+ export declare const findDistinctInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
299
+ slug: string;
300
+ depth?: number | undefined;
301
+ field: string;
302
+ limit?: number | undefined;
303
+ locale?: string | undefined;
304
+ page?: number | undefined;
305
+ populate?: Record<string, unknown> | undefined;
306
+ sort?: string | string[] | undefined;
307
+ trash?: boolean | undefined;
308
+ where?: unknown;
309
+ }, {
310
+ slug: string;
311
+ depth: number;
312
+ field: string;
313
+ limit?: number | undefined;
314
+ locale?: string | undefined;
315
+ page?: number | undefined;
316
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
317
+ sort?: string | string[] | undefined;
318
+ trash?: boolean | undefined;
319
+ where?: import("../../index.js").Where | undefined;
320
+ }> & z.ZodMiniObject<{
321
+ slug: z.ZodMiniString<string>;
322
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
323
+ field: z.ZodMiniString<string>;
324
+ limit: z.ZodMiniOptional<z.ZodMiniInt>;
325
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
326
+ page: z.ZodMiniOptional<z.ZodMiniInt>;
327
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
328
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
329
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
330
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
331
+ }, z.core.$strict>;
332
+ /** For trusted local callers only. Includes access bypass and hidden fields. */
333
+ export declare const findDistinctLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
334
+ slug: string;
335
+ depth?: number | undefined;
336
+ field: string;
337
+ limit?: number | undefined;
338
+ locale?: string | undefined;
339
+ page?: number | undefined;
340
+ populate?: Record<string, unknown> | undefined;
341
+ sort?: string | string[] | undefined;
342
+ trash?: boolean | undefined;
343
+ where?: unknown;
344
+ overrideAccess?: boolean | undefined;
345
+ showHiddenFields?: boolean | undefined;
346
+ }, {
347
+ slug: string;
348
+ depth: number;
349
+ field: string;
350
+ limit?: number | undefined;
351
+ locale?: string | undefined;
352
+ page?: number | undefined;
353
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
354
+ sort?: string | string[] | undefined;
355
+ trash?: boolean | undefined;
356
+ where?: import("../../index.js").Where | undefined;
357
+ overrideAccess: boolean;
358
+ showHiddenFields?: boolean | undefined;
359
+ }> & z.ZodMiniObject<{
360
+ slug: z.ZodMiniString<string>;
361
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
362
+ field: z.ZodMiniString<string>;
363
+ limit: z.ZodMiniOptional<z.ZodMiniInt>;
364
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
365
+ page: z.ZodMiniOptional<z.ZodMiniInt>;
366
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
367
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
368
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
369
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
370
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
371
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
372
+ }, z.core.$strict>;
373
+ export declare const findDocumentsInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
374
+ id?: string | number | undefined;
375
+ slug: string;
376
+ depth?: number | undefined;
377
+ draft?: boolean | undefined;
378
+ fallbackLocale?: string | false | undefined;
379
+ joins?: false | Record<string, false | {
380
+ count?: boolean | undefined;
381
+ limit?: number | undefined;
382
+ page?: number | undefined;
383
+ sort?: string | undefined;
384
+ where?: unknown;
385
+ }> | undefined;
386
+ limit?: number | undefined;
387
+ locale?: string | undefined;
388
+ page?: number | undefined;
389
+ pagination?: boolean | undefined;
390
+ populate?: Record<string, unknown> | undefined;
391
+ select?: unknown;
392
+ sort?: string | string[] | undefined;
393
+ trash?: boolean | undefined;
394
+ where?: unknown;
395
+ }, {
396
+ id?: string | number | undefined;
397
+ slug: string;
398
+ depth: number;
399
+ draft?: boolean | undefined;
400
+ fallbackLocale?: string | false | undefined;
401
+ joins?: false | Record<string, false | {
402
+ count?: boolean | undefined;
403
+ limit?: number | undefined;
404
+ page?: number | undefined;
405
+ sort?: string | undefined;
406
+ where?: import("../../index.js").Where | undefined;
407
+ }> | undefined;
408
+ limit: number;
409
+ locale?: string | undefined;
410
+ page: number;
411
+ pagination: boolean;
412
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
413
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
414
+ sort?: string | string[] | undefined;
415
+ trash?: boolean | undefined;
416
+ where?: import("../../index.js").Where | undefined;
417
+ }> & z.ZodMiniObject<{
418
+ id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
419
+ slug: z.ZodMiniString<string>;
420
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
421
+ draft: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
422
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
423
+ joins: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<false>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniLiteral<false>, z.ZodMiniObject<{
424
+ count: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
425
+ limit: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
426
+ page: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
427
+ sort: z.ZodMiniOptional<z.ZodMiniString<string>>;
428
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
429
+ }, z.core.$strict>]>>]>>;
430
+ limit: z.ZodMiniDefault<z.ZodMiniInt>;
431
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
432
+ page: z.ZodMiniDefault<z.ZodMiniInt>;
433
+ pagination: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
434
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
435
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
436
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
437
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
438
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
439
+ }, z.core.$strict>;
440
+ /** For trusted local callers only. Includes access bypass and hidden fields. */
441
+ export declare const findDocumentsLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
442
+ id?: string | number | undefined;
443
+ slug: string;
444
+ depth?: number | undefined;
445
+ draft?: boolean | undefined;
446
+ fallbackLocale?: string | false | undefined;
447
+ joins?: false | Record<string, false | {
448
+ count?: boolean | undefined;
449
+ limit?: number | undefined;
450
+ page?: number | undefined;
451
+ sort?: string | undefined;
452
+ where?: unknown;
453
+ }> | undefined;
454
+ limit?: number | undefined;
455
+ locale?: string | undefined;
456
+ page?: number | undefined;
457
+ pagination?: boolean | undefined;
458
+ populate?: Record<string, unknown> | undefined;
459
+ select?: unknown;
460
+ sort?: string | string[] | undefined;
461
+ trash?: boolean | undefined;
462
+ where?: unknown;
463
+ overrideAccess?: boolean | undefined;
464
+ showHiddenFields?: boolean | undefined;
465
+ }, {
466
+ id?: string | number | undefined;
467
+ slug: string;
468
+ depth: number;
469
+ draft?: boolean | undefined;
470
+ fallbackLocale?: string | false | undefined;
471
+ joins?: false | Record<string, false | {
472
+ count?: boolean | undefined;
473
+ limit?: number | undefined;
474
+ page?: number | undefined;
475
+ sort?: string | undefined;
476
+ where?: import("../../index.js").Where | undefined;
477
+ }> | undefined;
478
+ limit: number;
479
+ locale?: string | undefined;
480
+ page: number;
481
+ pagination: boolean;
482
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
483
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
484
+ sort?: string | string[] | undefined;
485
+ trash?: boolean | undefined;
486
+ where?: import("../../index.js").Where | undefined;
487
+ overrideAccess: boolean;
488
+ showHiddenFields?: boolean | undefined;
489
+ }> & z.ZodMiniObject<{
490
+ id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
491
+ slug: z.ZodMiniString<string>;
492
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
493
+ draft: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
494
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
495
+ joins: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<false>, z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniLiteral<false>, z.ZodMiniObject<{
496
+ count: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
497
+ limit: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
498
+ page: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
499
+ sort: z.ZodMiniOptional<z.ZodMiniString<string>>;
500
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
501
+ }, z.core.$strict>]>>]>>;
502
+ limit: z.ZodMiniDefault<z.ZodMiniInt>;
503
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
504
+ page: z.ZodMiniDefault<z.ZodMiniInt>;
505
+ pagination: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
506
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
507
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
508
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
509
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
510
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
511
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
512
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
513
+ }, z.core.$strict>;
514
+ export declare const findVersionByIDInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
515
+ id: string | number;
516
+ slug: string;
517
+ depth?: number | undefined;
518
+ draft?: boolean | undefined;
519
+ fallbackLocale?: string | false | undefined;
520
+ locale?: string | undefined;
521
+ populate?: Record<string, unknown> | undefined;
522
+ select?: unknown;
523
+ trash?: boolean | undefined;
524
+ }, {
525
+ id: string | number;
526
+ slug: string;
527
+ depth: number;
528
+ draft?: boolean | undefined;
529
+ fallbackLocale?: string | false | undefined;
530
+ locale?: string | undefined;
531
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
532
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
533
+ trash?: boolean | undefined;
534
+ }> & z.ZodMiniObject<{
535
+ id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>;
536
+ slug: z.ZodMiniString<string>;
537
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
538
+ draft: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
539
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
540
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
541
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
542
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
543
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
544
+ }, z.core.$strict>;
545
+ /** For trusted local callers only. Includes access bypass and hidden fields. */
546
+ export declare const findVersionByIDLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
547
+ id: string | number;
548
+ slug: string;
549
+ depth?: number | undefined;
550
+ draft?: boolean | undefined;
551
+ fallbackLocale?: string | false | undefined;
552
+ locale?: string | undefined;
553
+ populate?: Record<string, unknown> | undefined;
554
+ select?: unknown;
555
+ trash?: boolean | undefined;
556
+ overrideAccess?: boolean | undefined;
557
+ showHiddenFields?: boolean | undefined;
558
+ }, {
559
+ id: string | number;
560
+ slug: string;
561
+ depth: number;
562
+ draft?: boolean | undefined;
563
+ fallbackLocale?: string | false | undefined;
564
+ locale?: string | undefined;
565
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
566
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
567
+ trash?: boolean | undefined;
568
+ overrideAccess: boolean;
569
+ showHiddenFields?: boolean | undefined;
570
+ }> & z.ZodMiniObject<{
571
+ id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>;
572
+ slug: z.ZodMiniString<string>;
573
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
574
+ draft: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
575
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
576
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
577
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
578
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
579
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
580
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
581
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
582
+ }, z.core.$strict>;
583
+ export declare const findVersionsInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
584
+ slug: string;
585
+ depth?: number | undefined;
586
+ draft?: boolean | undefined;
587
+ fallbackLocale?: string | false | undefined;
588
+ limit?: number | undefined;
589
+ locale?: string | undefined;
590
+ page?: number | undefined;
591
+ pagination?: boolean | undefined;
592
+ populate?: Record<string, unknown> | undefined;
593
+ select?: unknown;
594
+ sort?: string | string[] | undefined;
595
+ trash?: boolean | undefined;
596
+ where?: unknown;
597
+ }, {
598
+ slug: string;
599
+ depth: number;
600
+ draft?: boolean | undefined;
601
+ fallbackLocale?: string | false | undefined;
602
+ limit: number;
603
+ locale?: string | undefined;
604
+ page: number;
605
+ pagination: boolean;
606
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
607
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
608
+ sort?: string | string[] | undefined;
609
+ trash?: boolean | undefined;
610
+ where?: import("../../index.js").Where | undefined;
611
+ }> & z.ZodMiniObject<{
612
+ slug: z.ZodMiniString<string>;
613
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
614
+ draft: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
615
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
616
+ limit: z.ZodMiniDefault<z.ZodMiniInt>;
617
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
618
+ page: z.ZodMiniDefault<z.ZodMiniInt>;
619
+ pagination: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
620
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
621
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
622
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
623
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
624
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
625
+ }, z.core.$strict>;
626
+ /** For trusted local callers only. Includes access bypass and hidden fields. */
627
+ export declare const findVersionsLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
628
+ slug: string;
629
+ depth?: number | undefined;
630
+ draft?: boolean | undefined;
631
+ fallbackLocale?: string | false | undefined;
632
+ limit?: number | undefined;
633
+ locale?: string | undefined;
634
+ page?: number | undefined;
635
+ pagination?: boolean | undefined;
636
+ populate?: Record<string, unknown> | undefined;
637
+ select?: unknown;
638
+ sort?: string | string[] | undefined;
639
+ trash?: boolean | undefined;
640
+ where?: unknown;
641
+ overrideAccess?: boolean | undefined;
642
+ showHiddenFields?: boolean | undefined;
643
+ }, {
644
+ slug: string;
645
+ depth: number;
646
+ draft?: boolean | undefined;
647
+ fallbackLocale?: string | false | undefined;
648
+ limit: number;
649
+ locale?: string | undefined;
650
+ page: number;
651
+ pagination: boolean;
652
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
653
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
654
+ sort?: string | string[] | undefined;
655
+ trash?: boolean | undefined;
656
+ where?: import("../../index.js").Where | undefined;
657
+ overrideAccess: boolean;
658
+ showHiddenFields?: boolean | undefined;
659
+ }> & z.ZodMiniObject<{
660
+ slug: z.ZodMiniString<string>;
661
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
662
+ draft: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
663
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
664
+ limit: z.ZodMiniDefault<z.ZodMiniInt>;
665
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
666
+ page: z.ZodMiniDefault<z.ZodMiniInt>;
667
+ pagination: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
668
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
669
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
670
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
671
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
672
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
673
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
674
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
675
+ }, z.core.$strict>;
676
+ export declare const getCollectionSchemaInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
677
+ slug: string;
678
+ }, {
679
+ slug: string;
680
+ }> & z.ZodMiniObject<{
681
+ slug: z.ZodMiniString<string>;
682
+ }, z.core.$strict>;
683
+ export declare const restoreVersionInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
684
+ id: string | number;
685
+ slug: string;
686
+ depth?: number | undefined;
687
+ draft?: boolean | undefined;
688
+ fallbackLocale?: string | false | undefined;
689
+ locale?: string | undefined;
690
+ populate?: Record<string, unknown> | undefined;
691
+ select?: unknown;
692
+ }, {
693
+ id: string | number;
694
+ slug: string;
695
+ depth: number;
696
+ draft: boolean;
697
+ fallbackLocale?: string | false | undefined;
698
+ locale?: string | undefined;
699
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
700
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
701
+ }> & z.ZodMiniObject<{
702
+ id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>;
703
+ slug: z.ZodMiniString<string>;
704
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
705
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
706
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
707
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
708
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
709
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
710
+ }, z.core.$strict>;
711
+ /** For trusted local callers only. Includes access bypass and hidden fields. */
712
+ export declare const restoreVersionLocalInputSchema: import("@standard-schema/spec").StandardJSONSchemaV1<{
713
+ id: string | number;
714
+ slug: string;
715
+ depth?: number | undefined;
716
+ draft?: boolean | undefined;
717
+ fallbackLocale?: string | false | undefined;
718
+ locale?: string | undefined;
719
+ populate?: Record<string, unknown> | undefined;
720
+ select?: unknown;
721
+ overrideAccess?: boolean | undefined;
722
+ showHiddenFields?: boolean | undefined;
723
+ }, {
724
+ id: string | number;
725
+ slug: string;
726
+ depth: number;
727
+ draft: boolean;
728
+ fallbackLocale?: string | false | undefined;
729
+ locale?: string | undefined;
730
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
731
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
732
+ overrideAccess: boolean;
733
+ showHiddenFields?: boolean | undefined;
734
+ }> & z.ZodMiniObject<{
735
+ id: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>;
736
+ slug: z.ZodMiniString<string>;
737
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
738
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
739
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
740
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
741
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
742
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
743
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
744
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
745
+ }, z.core.$strict>;
746
+ /** Safe for remote interfaces. Excludes trusted Local API options. */
747
+ export declare const updateDocumentInputSchema: <TFile extends z.core.$ZodType>({ file, }: {
748
+ file: TFile;
749
+ }) => import("@standard-schema/spec").StandardJSONSchemaV1<{
750
+ id?: string | number | undefined;
751
+ slug: string;
752
+ data: Record<string, unknown>;
753
+ depth?: number | undefined;
754
+ draft?: boolean | undefined;
755
+ fallbackLocale?: string | false | undefined;
756
+ file?: z.core.input<TFile> | undefined;
757
+ limit?: number | undefined;
758
+ locale?: string | undefined;
759
+ overrideLock?: boolean | undefined;
760
+ populate?: Record<string, unknown> | undefined;
761
+ publishAllLocales?: boolean | undefined;
762
+ returning?: boolean | undefined;
763
+ select?: unknown;
764
+ sort?: string | string[] | undefined;
765
+ trash?: boolean | undefined;
766
+ unpublishAllLocales?: boolean | undefined;
767
+ where?: unknown;
768
+ }, {
769
+ id?: string | number | undefined;
770
+ slug: string;
771
+ data: Record<string, unknown>;
772
+ depth: number;
773
+ draft: boolean;
774
+ fallbackLocale?: string | false | undefined;
775
+ file?: z.infer<TFile> | undefined;
776
+ limit?: number | undefined;
777
+ locale?: string | undefined;
778
+ overrideLock: boolean;
779
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
780
+ publishAllLocales?: boolean | undefined;
781
+ returning: boolean;
782
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
783
+ sort?: string | string[] | undefined;
784
+ trash?: boolean | undefined;
785
+ unpublishAllLocales?: boolean | undefined;
786
+ where?: import("../../index.js").Where | undefined;
787
+ }> & z.ZodMiniObject<{
788
+ id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
789
+ slug: z.ZodMiniString<string>;
790
+ data: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
791
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
792
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
793
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
794
+ file: z.ZodMiniOptional<TFile>;
795
+ limit: z.ZodMiniOptional<z.ZodMiniInt>;
796
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
797
+ overrideLock: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
798
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
799
+ publishAllLocales: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
800
+ returning: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
801
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
802
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
803
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
804
+ unpublishAllLocales: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
805
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
806
+ }, z.core.$strict>;
807
+ /** For trusted local callers only. Includes access bypass, file overwrites, and hidden fields. */
808
+ export declare const updateDocumentLocalInputSchema: <TFile extends z.core.$ZodType>({ file, }: {
809
+ file: TFile;
810
+ }) => import("@standard-schema/spec").StandardJSONSchemaV1<{
811
+ id?: string | number | undefined;
812
+ slug: string;
813
+ data: Record<string, unknown>;
814
+ depth?: number | undefined;
815
+ draft?: boolean | undefined;
816
+ fallbackLocale?: string | false | undefined;
817
+ file?: z.core.input<TFile> | undefined;
818
+ limit?: number | undefined;
819
+ locale?: string | undefined;
820
+ overrideLock?: boolean | undefined;
821
+ populate?: Record<string, unknown> | undefined;
822
+ publishAllLocales?: boolean | undefined;
823
+ returning?: boolean | undefined;
824
+ select?: unknown;
825
+ sort?: string | string[] | undefined;
826
+ trash?: boolean | undefined;
827
+ unpublishAllLocales?: boolean | undefined;
828
+ where?: unknown;
829
+ overrideAccess?: boolean | undefined;
830
+ overwriteExistingFiles?: boolean | undefined;
831
+ showHiddenFields?: boolean | undefined;
832
+ }, {
833
+ id?: string | number | undefined;
834
+ slug: string;
835
+ data: Record<string, unknown>;
836
+ depth: number;
837
+ draft: boolean;
838
+ fallbackLocale?: string | false | undefined;
839
+ file?: z.infer<TFile> | undefined;
840
+ limit?: number | undefined;
841
+ locale?: string | undefined;
842
+ overrideLock: boolean;
843
+ populate?: Record<string, import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType> | undefined;
844
+ publishAllLocales?: boolean | undefined;
845
+ returning: boolean;
846
+ select?: import("../../index.js").SelectExcludeType | import("../../index.js").SelectIncludeType | undefined;
847
+ sort?: string | string[] | undefined;
848
+ trash?: boolean | undefined;
849
+ unpublishAllLocales?: boolean | undefined;
850
+ where?: import("../../index.js").Where | undefined;
851
+ overrideAccess: boolean;
852
+ overwriteExistingFiles: boolean;
853
+ showHiddenFields?: boolean | undefined;
854
+ }> & z.ZodMiniObject<{
855
+ id: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNumber<number>]>>;
856
+ slug: z.ZodMiniString<string>;
857
+ data: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
858
+ depth: z.ZodMiniDefault<z.ZodMiniInt>;
859
+ draft: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
860
+ fallbackLocale: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniLiteral<false>]>>;
861
+ file: z.ZodMiniOptional<TFile>;
862
+ limit: z.ZodMiniOptional<z.ZodMiniInt>;
863
+ locale: z.ZodMiniOptional<z.ZodMiniString<string>>;
864
+ overrideLock: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
865
+ populate: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>>;
866
+ publishAllLocales: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
867
+ returning: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
868
+ select: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniType<import("../../index.js").SelectIncludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectIncludeType, unknown>>, z.ZodMiniType<import("../../index.js").SelectExcludeType, unknown, z.core.$ZodTypeInternals<import("../../index.js").SelectExcludeType, unknown>>]>>;
869
+ sort: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
870
+ trash: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
871
+ unpublishAllLocales: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
872
+ where: z.ZodMiniOptional<z.ZodMiniType<import("../../index.js").Where, unknown, z.core.$ZodTypeInternals<import("../../index.js").Where, unknown>>>;
873
+ overrideAccess: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
874
+ overwriteExistingFiles: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
875
+ showHiddenFields: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
876
+ }, z.core.$strict>;
877
+ //# sourceMappingURL=inputSchemas.d.ts.map