payload 4.0.0-internal.cc18726 → 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 (1019) hide show
  1. package/dist/admin/fields/Array.d.ts +11 -13
  2. package/dist/admin/fields/Array.d.ts.map +1 -1
  3. package/dist/admin/fields/Array.js.map +1 -1
  4. package/dist/admin/fields/Blocks.d.ts +13 -16
  5. package/dist/admin/fields/Blocks.d.ts.map +1 -1
  6. package/dist/admin/fields/Blocks.js.map +1 -1
  7. package/dist/admin/fields/Checkbox.d.ts +11 -13
  8. package/dist/admin/fields/Checkbox.d.ts.map +1 -1
  9. package/dist/admin/fields/Checkbox.js.map +1 -1
  10. package/dist/admin/fields/Code.d.ts +11 -13
  11. package/dist/admin/fields/Code.d.ts.map +1 -1
  12. package/dist/admin/fields/Code.js.map +1 -1
  13. package/dist/admin/fields/Collapsible.d.ts +11 -13
  14. package/dist/admin/fields/Collapsible.d.ts.map +1 -1
  15. package/dist/admin/fields/Collapsible.js.map +1 -1
  16. package/dist/admin/fields/Date.d.ts +11 -13
  17. package/dist/admin/fields/Date.d.ts.map +1 -1
  18. package/dist/admin/fields/Date.js.map +1 -1
  19. package/dist/admin/fields/Email.d.ts +11 -13
  20. package/dist/admin/fields/Email.d.ts.map +1 -1
  21. package/dist/admin/fields/Email.js.map +1 -1
  22. package/dist/admin/fields/Group.d.ts +11 -13
  23. package/dist/admin/fields/Group.d.ts.map +1 -1
  24. package/dist/admin/fields/Group.js.map +1 -1
  25. package/dist/admin/fields/JSON.d.ts +11 -13
  26. package/dist/admin/fields/JSON.d.ts.map +1 -1
  27. package/dist/admin/fields/JSON.js.map +1 -1
  28. package/dist/admin/fields/Join.d.ts +12 -14
  29. package/dist/admin/fields/Join.d.ts.map +1 -1
  30. package/dist/admin/fields/Join.js.map +1 -1
  31. package/dist/admin/fields/Number.d.ts +11 -13
  32. package/dist/admin/fields/Number.d.ts.map +1 -1
  33. package/dist/admin/fields/Number.js.map +1 -1
  34. package/dist/admin/fields/Point.d.ts +11 -13
  35. package/dist/admin/fields/Point.d.ts.map +1 -1
  36. package/dist/admin/fields/Point.js.map +1 -1
  37. package/dist/admin/fields/Radio.d.ts +11 -13
  38. package/dist/admin/fields/Radio.d.ts.map +1 -1
  39. package/dist/admin/fields/Radio.js.map +1 -1
  40. package/dist/admin/fields/Relationship.d.ts +11 -13
  41. package/dist/admin/fields/Relationship.d.ts.map +1 -1
  42. package/dist/admin/fields/Relationship.js.map +1 -1
  43. package/dist/admin/fields/RichText.d.ts +13 -15
  44. package/dist/admin/fields/RichText.d.ts.map +1 -1
  45. package/dist/admin/fields/RichText.js.map +1 -1
  46. package/dist/admin/fields/Row.d.ts +10 -12
  47. package/dist/admin/fields/Row.d.ts.map +1 -1
  48. package/dist/admin/fields/Row.js.map +1 -1
  49. package/dist/admin/fields/Select.d.ts +11 -13
  50. package/dist/admin/fields/Select.d.ts.map +1 -1
  51. package/dist/admin/fields/Select.js.map +1 -1
  52. package/dist/admin/fields/Tabs.d.ts +11 -13
  53. package/dist/admin/fields/Tabs.d.ts.map +1 -1
  54. package/dist/admin/fields/Tabs.js.map +1 -1
  55. package/dist/admin/fields/Text.d.ts +11 -13
  56. package/dist/admin/fields/Text.d.ts.map +1 -1
  57. package/dist/admin/fields/Text.js.map +1 -1
  58. package/dist/admin/fields/Textarea.d.ts +11 -13
  59. package/dist/admin/fields/Textarea.d.ts.map +1 -1
  60. package/dist/admin/fields/Textarea.js.map +1 -1
  61. package/dist/admin/fields/UI.d.ts +3 -5
  62. package/dist/admin/fields/UI.d.ts.map +1 -1
  63. package/dist/admin/fields/UI.js.map +1 -1
  64. package/dist/admin/fields/Upload.d.ts +11 -13
  65. package/dist/admin/fields/Upload.d.ts.map +1 -1
  66. package/dist/admin/fields/Upload.js.map +1 -1
  67. package/dist/admin/forms/Description.d.ts +0 -2
  68. package/dist/admin/forms/Description.d.ts.map +1 -1
  69. package/dist/admin/forms/Description.js.map +1 -1
  70. package/dist/admin/forms/Diff.d.ts +0 -2
  71. package/dist/admin/forms/Diff.d.ts.map +1 -1
  72. package/dist/admin/forms/Diff.js.map +1 -1
  73. package/dist/admin/forms/Error.d.ts +0 -2
  74. package/dist/admin/forms/Error.d.ts.map +1 -1
  75. package/dist/admin/forms/Error.js.map +1 -1
  76. package/dist/admin/forms/Field.d.ts +4 -2
  77. package/dist/admin/forms/Field.d.ts.map +1 -1
  78. package/dist/admin/forms/Field.js.map +1 -1
  79. package/dist/admin/forms/Form.d.ts +2 -0
  80. package/dist/admin/forms/Form.d.ts.map +1 -1
  81. package/dist/admin/forms/Form.js.map +1 -1
  82. package/dist/admin/forms/Label.d.ts +0 -2
  83. package/dist/admin/forms/Label.d.ts.map +1 -1
  84. package/dist/admin/forms/Label.js.map +1 -1
  85. package/dist/admin/functions/index.d.ts +4 -2
  86. package/dist/admin/functions/index.d.ts.map +1 -1
  87. package/dist/admin/functions/index.js.map +1 -1
  88. package/dist/admin/getRequestLocale.d.ts +6 -0
  89. package/dist/admin/getRequestLocale.d.ts.map +1 -0
  90. package/dist/admin/getRequestLocale.js +38 -0
  91. package/dist/admin/getRequestLocale.js.map +1 -0
  92. package/dist/admin/initAdminContext.d.ts +39 -0
  93. package/dist/admin/initAdminContext.d.ts.map +1 -0
  94. package/dist/admin/initAdminContext.js +154 -0
  95. package/dist/admin/initAdminContext.js.map +1 -0
  96. package/dist/admin/types.d.ts +28 -28
  97. package/dist/admin/types.d.ts.map +1 -1
  98. package/dist/admin/types.js.map +1 -1
  99. package/dist/admin/views/dashboard.d.ts +2 -2
  100. package/dist/admin/views/dashboard.d.ts.map +1 -1
  101. package/dist/admin/views/dashboard.js.map +1 -1
  102. package/dist/auth/applyUserReadAccess.d.ts +13 -0
  103. package/dist/auth/applyUserReadAccess.d.ts.map +1 -0
  104. package/dist/auth/applyUserReadAccess.js +41 -0
  105. package/dist/auth/applyUserReadAccess.js.map +1 -0
  106. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.d.ts +4 -0
  107. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.d.ts.map +1 -0
  108. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.js +20 -0
  109. package/dist/auth/baseFields/apiKey/canCreateOrUpdateAPIKey.js.map +1 -0
  110. package/dist/auth/baseFields/apiKey/encryptAPIKey.d.ts +4 -0
  111. package/dist/auth/baseFields/apiKey/encryptAPIKey.d.ts.map +1 -0
  112. package/dist/auth/baseFields/apiKey/encryptAPIKey.js +11 -0
  113. package/dist/auth/baseFields/apiKey/encryptAPIKey.js.map +1 -0
  114. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.d.ts +3 -0
  115. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.d.ts.map +1 -0
  116. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.js +5 -0
  117. package/dist/auth/baseFields/apiKey/getAPIKeyLast4.js.map +1 -0
  118. package/dist/auth/baseFields/apiKey/omitAPIKey.d.ts +5 -0
  119. package/dist/auth/baseFields/apiKey/omitAPIKey.d.ts.map +1 -0
  120. package/dist/auth/baseFields/apiKey/omitAPIKey.js +11 -0
  121. package/dist/auth/baseFields/apiKey/omitAPIKey.js.map +1 -0
  122. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.d.ts +4 -0
  123. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.d.ts.map +1 -0
  124. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.js +5 -0
  125. package/dist/auth/baseFields/apiKey/omitAPIKeyIndex.js.map +1 -0
  126. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.d.ts +4 -0
  127. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.d.ts.map +1 -0
  128. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.js +5 -0
  129. package/dist/auth/baseFields/apiKey/omitEncryptedAPIKey.js.map +1 -0
  130. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.d.ts +4 -0
  131. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.d.ts.map +1 -0
  132. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.js +12 -0
  133. package/dist/auth/baseFields/apiKey/setAPIKeyIndex.js.map +1 -0
  134. package/dist/auth/baseFields/apiKey/setKeyLast4.d.ts +4 -0
  135. package/dist/auth/baseFields/apiKey/setKeyLast4.d.ts.map +1 -0
  136. package/dist/auth/baseFields/apiKey/setKeyLast4.js +12 -0
  137. package/dist/auth/baseFields/apiKey/setKeyLast4.js.map +1 -0
  138. package/dist/auth/baseFields/apiKey.d.ts +6 -6
  139. package/dist/auth/baseFields/apiKey.d.ts.map +1 -1
  140. package/dist/auth/baseFields/apiKey.js +88 -72
  141. package/dist/auth/baseFields/apiKey.js.map +1 -1
  142. package/dist/auth/baseFields/auth.d.ts +1 -0
  143. package/dist/auth/baseFields/auth.d.ts.map +1 -1
  144. package/dist/auth/baseFields/auth.js +9 -0
  145. package/dist/auth/baseFields/auth.js.map +1 -1
  146. package/dist/auth/defaultUnlockAccess.d.ts +3 -0
  147. package/dist/auth/defaultUnlockAccess.d.ts.map +1 -0
  148. package/dist/auth/defaultUnlockAccess.js +8 -0
  149. package/dist/auth/defaultUnlockAccess.js.map +1 -0
  150. package/dist/auth/endpoints/index.d.ts +1 -0
  151. package/dist/auth/endpoints/index.d.ts.map +1 -1
  152. package/dist/auth/endpoints/index.js +8 -0
  153. package/dist/auth/endpoints/index.js.map +1 -1
  154. package/dist/auth/endpoints/revealAPIKey.d.ts +7 -0
  155. package/dist/auth/endpoints/revealAPIKey.d.ts.map +1 -0
  156. package/dist/auth/endpoints/revealAPIKey.js +122 -0
  157. package/dist/auth/endpoints/revealAPIKey.js.map +1 -0
  158. package/dist/auth/getAuthFields.d.ts +1 -1
  159. package/dist/auth/getAuthFields.d.ts.map +1 -1
  160. package/dist/auth/getAuthFields.js +7 -4
  161. package/dist/auth/getAuthFields.js.map +1 -1
  162. package/dist/auth/getFieldsToSign.d.ts.map +1 -1
  163. package/dist/auth/getFieldsToSign.js +20 -10
  164. package/dist/auth/getFieldsToSign.js.map +1 -1
  165. package/dist/auth/jwt.d.ts.map +1 -1
  166. package/dist/auth/jwt.js +2 -0
  167. package/dist/auth/jwt.js.map +1 -1
  168. package/dist/auth/jwtAuth.d.ts +9 -0
  169. package/dist/auth/jwtAuth.d.ts.map +1 -0
  170. package/dist/auth/jwtAuth.js +8 -0
  171. package/dist/auth/jwtAuth.js.map +1 -0
  172. package/dist/auth/operations/auth.d.ts.map +1 -1
  173. package/dist/auth/operations/auth.js +2 -1
  174. package/dist/auth/operations/auth.js.map +1 -1
  175. package/dist/auth/operations/forgotPassword.d.ts.map +1 -1
  176. package/dist/auth/operations/forgotPassword.js +97 -14
  177. package/dist/auth/operations/forgotPassword.js.map +1 -1
  178. package/dist/auth/operations/local/auth.js +7 -4
  179. package/dist/auth/operations/local/auth.js.map +1 -1
  180. package/dist/auth/operations/local/forgotPassword.d.ts +2 -2
  181. package/dist/auth/operations/local/forgotPassword.d.ts.map +1 -1
  182. package/dist/auth/operations/local/forgotPassword.js +6 -3
  183. package/dist/auth/operations/local/forgotPassword.js.map +1 -1
  184. package/dist/auth/operations/local/login.d.ts +2 -2
  185. package/dist/auth/operations/local/login.d.ts.map +1 -1
  186. package/dist/auth/operations/local/login.js +6 -3
  187. package/dist/auth/operations/local/login.js.map +1 -1
  188. package/dist/auth/operations/local/resetPassword.js +5 -2
  189. package/dist/auth/operations/local/resetPassword.js.map +1 -1
  190. package/dist/auth/operations/local/unlock.d.ts +2 -2
  191. package/dist/auth/operations/local/unlock.d.ts.map +1 -1
  192. package/dist/auth/operations/local/unlock.js +6 -3
  193. package/dist/auth/operations/local/unlock.js.map +1 -1
  194. package/dist/auth/operations/local/verifyEmail.js +5 -2
  195. package/dist/auth/operations/local/verifyEmail.js.map +1 -1
  196. package/dist/auth/operations/login.d.ts.map +1 -1
  197. package/dist/auth/operations/login.js +48 -26
  198. package/dist/auth/operations/login.js.map +1 -1
  199. package/dist/auth/operations/refresh.d.ts.map +1 -1
  200. package/dist/auth/operations/refresh.js +32 -9
  201. package/dist/auth/operations/refresh.js.map +1 -1
  202. package/dist/auth/operations/registerFirstUser.d.ts.map +1 -1
  203. package/dist/auth/operations/registerFirstUser.js +4 -4
  204. package/dist/auth/operations/registerFirstUser.js.map +1 -1
  205. package/dist/auth/operations/resetPassword.d.ts.map +1 -1
  206. package/dist/auth/operations/resetPassword.js +31 -22
  207. package/dist/auth/operations/resetPassword.js.map +1 -1
  208. package/dist/auth/serverFunctions/login.js +4 -2
  209. package/dist/auth/serverFunctions/login.js.map +1 -1
  210. package/dist/auth/serverFunctions/logout.js +4 -3
  211. package/dist/auth/serverFunctions/logout.js.map +1 -1
  212. package/dist/auth/serverFunctions/refresh.js +4 -3
  213. package/dist/auth/serverFunctions/refresh.js.map +1 -1
  214. package/dist/auth/strategies/apiKey.d.ts.map +1 -1
  215. package/dist/auth/strategies/apiKey.js +37 -1
  216. package/dist/auth/strategies/apiKey.js.map +1 -1
  217. package/dist/auth/strategies/jwt.d.ts.map +1 -1
  218. package/dist/auth/strategies/jwt.js +63 -12
  219. package/dist/auth/strategies/jwt.js.map +1 -1
  220. package/dist/auth/strategies/local/authenticate.d.ts +5 -1
  221. package/dist/auth/strategies/local/authenticate.d.ts.map +1 -1
  222. package/dist/auth/strategies/local/authenticate.js +8 -3
  223. package/dist/auth/strategies/local/authenticate.js.map +1 -1
  224. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts +9 -1
  225. package/dist/auth/strategies/local/generatePasswordSaltHash.d.ts.map +1 -1
  226. package/dist/auth/strategies/local/generatePasswordSaltHash.js +61 -34
  227. package/dist/auth/strategies/local/generatePasswordSaltHash.js.map +1 -1
  228. package/dist/auth/strategies/local/register.d.ts.map +1 -1
  229. package/dist/auth/strategies/local/register.js +1 -0
  230. package/dist/auth/strategies/local/register.js.map +1 -1
  231. package/dist/auth/types.d.ts +17 -4
  232. package/dist/auth/types.d.ts.map +1 -1
  233. package/dist/auth/types.js.map +1 -1
  234. package/dist/cli/commands/collections/createDocuments.d.ts.map +1 -1
  235. package/dist/cli/commands/collections/createDocuments.js +55 -8
  236. package/dist/cli/commands/collections/createDocuments.js.map +1 -1
  237. package/dist/cli/commands/collections/deleteDocuments.d.ts.map +1 -1
  238. package/dist/cli/commands/collections/deleteDocuments.js +8 -4
  239. package/dist/cli/commands/collections/deleteDocuments.js.map +1 -1
  240. package/dist/cli/commands/collections/duplicateDocument.d.ts.map +1 -1
  241. package/dist/cli/commands/collections/duplicateDocument.js +60 -20
  242. package/dist/cli/commands/collections/duplicateDocument.js.map +1 -1
  243. package/dist/cli/commands/collections/findDocuments.d.ts.map +1 -1
  244. package/dist/cli/commands/collections/findDocuments.js +8 -4
  245. package/dist/cli/commands/collections/findDocuments.js.map +1 -1
  246. package/dist/cli/commands/collections/findVersionByID.js +2 -3
  247. package/dist/cli/commands/collections/findVersionByID.js.map +1 -1
  248. package/dist/cli/commands/collections/getCollectionSchema.js +4 -2
  249. package/dist/cli/commands/collections/getCollectionSchema.js.map +1 -1
  250. package/dist/cli/commands/collections/restoreVersion.js +2 -3
  251. package/dist/cli/commands/collections/restoreVersion.js.map +1 -1
  252. package/dist/cli/commands/collections/updateDocument.d.ts.map +1 -1
  253. package/dist/cli/commands/collections/updateDocument.js +136 -53
  254. package/dist/cli/commands/collections/updateDocument.js.map +1 -1
  255. package/dist/cli/commands/data/input.d.ts +20 -2
  256. package/dist/cli/commands/data/input.d.ts.map +1 -1
  257. package/dist/cli/commands/data/input.js +24 -5
  258. package/dist/cli/commands/data/input.js.map +1 -1
  259. package/dist/cli/commands/data/utilities.d.ts +34 -1
  260. package/dist/cli/commands/data/utilities.d.ts.map +1 -1
  261. package/dist/cli/commands/data/utilities.js +52 -3
  262. package/dist/cli/commands/data/utilities.js.map +1 -1
  263. package/dist/cli/commands/globals/findGlobalVersionByID.js +2 -3
  264. package/dist/cli/commands/globals/findGlobalVersionByID.js.map +1 -1
  265. package/dist/cli/commands/globals/getGlobalSchema.js +4 -2
  266. package/dist/cli/commands/globals/getGlobalSchema.js.map +1 -1
  267. package/dist/cli/commands/globals/restoreGlobalVersion.js +2 -3
  268. package/dist/cli/commands/globals/restoreGlobalVersion.js.map +1 -1
  269. package/dist/cli/commands/globals/updateGlobal.d.ts.map +1 -1
  270. package/dist/cli/commands/globals/updateGlobal.js +51 -18
  271. package/dist/cli/commands/globals/updateGlobal.js.map +1 -1
  272. package/dist/cli/commands/help.d.ts.map +1 -1
  273. package/dist/cli/commands/help.js +4 -2
  274. package/dist/cli/commands/help.js.map +1 -1
  275. package/dist/cli/commands/jobs/run.d.ts.map +1 -1
  276. package/dist/cli/commands/jobs/run.js +1 -0
  277. package/dist/cli/commands/jobs/run.js.map +1 -1
  278. package/dist/cli/defineCLICommand.d.ts +1 -0
  279. package/dist/cli/defineCLICommand.d.ts.map +1 -1
  280. package/dist/cli/defineCLICommand.js.map +1 -1
  281. package/dist/cli/index.d.ts +3 -1
  282. package/dist/cli/index.d.ts.map +1 -1
  283. package/dist/cli/index.js +39 -13
  284. package/dist/cli/index.js.map +1 -1
  285. package/dist/cli/program/createHelp.d.ts.map +1 -1
  286. package/dist/cli/program/createHelp.js +7 -0
  287. package/dist/cli/program/createHelp.js.map +1 -1
  288. package/dist/cli/program/normalizeHelpArguments.d.ts +12 -0
  289. package/dist/cli/program/normalizeHelpArguments.d.ts.map +1 -0
  290. package/dist/cli/program/normalizeHelpArguments.js +34 -0
  291. package/dist/cli/program/normalizeHelpArguments.js.map +1 -0
  292. package/dist/cli/program/registerCommand.d.ts.map +1 -1
  293. package/dist/cli/program/registerCommand.js +27 -5
  294. package/dist/cli/program/registerCommand.js.map +1 -1
  295. package/dist/cli/runtime/createRuntime.d.ts.map +1 -1
  296. package/dist/cli/runtime/createRuntime.js +19 -4
  297. package/dist/cli/runtime/createRuntime.js.map +1 -1
  298. package/dist/cli/runtime/getCommandInput.d.ts +4 -0
  299. package/dist/cli/runtime/getCommandInput.d.ts.map +1 -1
  300. package/dist/cli/runtime/getCommandInput.js +11 -3
  301. package/dist/cli/runtime/getCommandInput.js.map +1 -1
  302. package/dist/cli/runtime/invokeCommand.d.ts +1 -1
  303. package/dist/cli/runtime/invokeCommand.d.ts.map +1 -1
  304. package/dist/cli/runtime/invokeCommand.js +11 -21
  305. package/dist/cli/runtime/invokeCommand.js.map +1 -1
  306. package/dist/cli/runtime/output.d.ts +8 -0
  307. package/dist/cli/runtime/output.d.ts.map +1 -1
  308. package/dist/cli/runtime/output.js +40 -6
  309. package/dist/cli/runtime/output.js.map +1 -1
  310. package/dist/cli/runtime/redirectOutputToStderr.d.ts +5 -0
  311. package/dist/cli/runtime/redirectOutputToStderr.d.ts.map +1 -1
  312. package/dist/cli/runtime/redirectOutputToStderr.js +14 -0
  313. package/dist/cli/runtime/redirectOutputToStderr.js.map +1 -1
  314. package/dist/collections/config/client.d.ts +1 -0
  315. package/dist/collections/config/client.d.ts.map +1 -1
  316. package/dist/collections/config/client.js +3 -0
  317. package/dist/collections/config/client.js.map +1 -1
  318. package/dist/collections/config/defaults.d.ts +2 -0
  319. package/dist/collections/config/defaults.d.ts.map +1 -1
  320. package/dist/collections/config/defaults.js +14 -3
  321. package/dist/collections/config/defaults.js.map +1 -1
  322. package/dist/collections/config/sanitize.d.ts.map +1 -1
  323. package/dist/collections/config/sanitize.js +61 -9
  324. package/dist/collections/config/sanitize.js.map +1 -1
  325. package/dist/collections/config/types.d.ts +22 -14
  326. package/dist/collections/config/types.d.ts.map +1 -1
  327. package/dist/collections/config/types.js.map +1 -1
  328. package/dist/collections/endpoints/index.d.ts +1 -0
  329. package/dist/collections/endpoints/index.d.ts.map +1 -1
  330. package/dist/collections/endpoints/index.js +6 -5
  331. package/dist/collections/endpoints/index.js.map +1 -1
  332. package/dist/collections/operations/create.d.ts.map +1 -1
  333. package/dist/collections/operations/create.js +122 -13
  334. package/dist/collections/operations/create.js.map +1 -1
  335. package/dist/collections/operations/delete.d.ts.map +1 -1
  336. package/dist/collections/operations/delete.js +214 -129
  337. package/dist/collections/operations/delete.js.map +1 -1
  338. package/dist/collections/operations/deleteByID.js +13 -13
  339. package/dist/collections/operations/deleteByID.js.map +1 -1
  340. package/dist/collections/operations/findByID.d.ts.map +1 -1
  341. package/dist/collections/operations/findByID.js +54 -6
  342. package/dist/collections/operations/findByID.js.map +1 -1
  343. package/dist/collections/operations/findDistinct.d.ts.map +1 -1
  344. package/dist/collections/operations/findDistinct.js +98 -19
  345. package/dist/collections/operations/findDistinct.js.map +1 -1
  346. package/dist/collections/operations/findVersionByID.d.ts.map +1 -1
  347. package/dist/collections/operations/findVersionByID.js +47 -25
  348. package/dist/collections/operations/findVersionByID.js.map +1 -1
  349. package/dist/collections/operations/inputSchemas.d.ts +48 -36
  350. package/dist/collections/operations/inputSchemas.d.ts.map +1 -1
  351. package/dist/collections/operations/inputSchemas.js +8 -6
  352. package/dist/collections/operations/inputSchemas.js.map +1 -1
  353. package/dist/collections/operations/local/count.d.ts +2 -7
  354. package/dist/collections/operations/local/count.d.ts.map +1 -1
  355. package/dist/collections/operations/local/count.js +6 -3
  356. package/dist/collections/operations/local/count.js.map +1 -1
  357. package/dist/collections/operations/local/countVersions.d.ts +2 -7
  358. package/dist/collections/operations/local/countVersions.d.ts.map +1 -1
  359. package/dist/collections/operations/local/countVersions.js +6 -3
  360. package/dist/collections/operations/local/countVersions.js.map +1 -1
  361. package/dist/collections/operations/local/create.d.ts +6 -38
  362. package/dist/collections/operations/local/create.d.ts.map +1 -1
  363. package/dist/collections/operations/local/create.js +6 -3
  364. package/dist/collections/operations/local/create.js.map +1 -1
  365. package/dist/collections/operations/local/delete.d.ts +2 -7
  366. package/dist/collections/operations/local/delete.d.ts.map +1 -1
  367. package/dist/collections/operations/local/delete.js +6 -3
  368. package/dist/collections/operations/local/delete.js.map +1 -1
  369. package/dist/collections/operations/local/duplicate.d.ts +2 -7
  370. package/dist/collections/operations/local/duplicate.d.ts.map +1 -1
  371. package/dist/collections/operations/local/duplicate.js +6 -3
  372. package/dist/collections/operations/local/duplicate.js.map +1 -1
  373. package/dist/collections/operations/local/find.d.ts +4 -11
  374. package/dist/collections/operations/local/find.d.ts.map +1 -1
  375. package/dist/collections/operations/local/find.js +6 -3
  376. package/dist/collections/operations/local/find.js.map +1 -1
  377. package/dist/collections/operations/local/findByID.d.ts +6 -9
  378. package/dist/collections/operations/local/findByID.d.ts.map +1 -1
  379. package/dist/collections/operations/local/findByID.js +6 -3
  380. package/dist/collections/operations/local/findByID.js.map +1 -1
  381. package/dist/collections/operations/local/findDistinct.d.ts +2 -7
  382. package/dist/collections/operations/local/findDistinct.d.ts.map +1 -1
  383. package/dist/collections/operations/local/findDistinct.js +6 -3
  384. package/dist/collections/operations/local/findDistinct.js.map +1 -1
  385. package/dist/collections/operations/local/findVersionByID.d.ts +2 -7
  386. package/dist/collections/operations/local/findVersionByID.d.ts.map +1 -1
  387. package/dist/collections/operations/local/findVersionByID.js +6 -3
  388. package/dist/collections/operations/local/findVersionByID.js.map +1 -1
  389. package/dist/collections/operations/local/findVersions.d.ts +2 -7
  390. package/dist/collections/operations/local/findVersions.d.ts.map +1 -1
  391. package/dist/collections/operations/local/findVersions.js +6 -3
  392. package/dist/collections/operations/local/findVersions.js.map +1 -1
  393. package/dist/collections/operations/local/restoreVersion.d.ts +2 -7
  394. package/dist/collections/operations/local/restoreVersion.d.ts.map +1 -1
  395. package/dist/collections/operations/local/restoreVersion.js +6 -3
  396. package/dist/collections/operations/local/restoreVersion.js.map +1 -1
  397. package/dist/collections/operations/local/update.d.ts +2 -7
  398. package/dist/collections/operations/local/update.d.ts.map +1 -1
  399. package/dist/collections/operations/local/update.js +6 -3
  400. package/dist/collections/operations/local/update.js.map +1 -1
  401. package/dist/collections/operations/restoreVersion.d.ts.map +1 -1
  402. package/dist/collections/operations/restoreVersion.js +41 -10
  403. package/dist/collections/operations/restoreVersion.js.map +1 -1
  404. package/dist/collections/operations/update.d.ts.map +1 -1
  405. package/dist/collections/operations/update.js +128 -23
  406. package/dist/collections/operations/update.js.map +1 -1
  407. package/dist/collections/operations/updateByID.d.ts.map +1 -1
  408. package/dist/collections/operations/updateByID.js +67 -2
  409. package/dist/collections/operations/updateByID.js.map +1 -1
  410. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.d.ts +15 -0
  411. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.d.ts.map +1 -0
  412. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.js +54 -0
  413. package/dist/collections/operations/utilities/prefetchVersionForInheritedReadAccess.js.map +1 -0
  414. package/dist/collections/operations/utilities/update.d.ts +2 -2
  415. package/dist/collections/operations/utilities/update.d.ts.map +1 -1
  416. package/dist/collections/operations/utilities/update.js +83 -19
  417. package/dist/collections/operations/utilities/update.js.map +1 -1
  418. package/dist/config/client.d.ts.map +1 -1
  419. package/dist/config/client.js +0 -3
  420. package/dist/config/client.js.map +1 -1
  421. package/dist/config/orderable/index.d.ts.map +1 -1
  422. package/dist/config/orderable/index.js +71 -15
  423. package/dist/config/orderable/index.js.map +1 -1
  424. package/dist/config/orderable/utils/getJoinScopeContext.d.ts.map +1 -1
  425. package/dist/config/orderable/utils/getJoinScopeContext.js +1 -0
  426. package/dist/config/orderable/utils/getJoinScopeContext.js.map +1 -1
  427. package/dist/config/orderable/utils/resolvePendingTargetKey.d.ts.map +1 -1
  428. package/dist/config/orderable/utils/resolvePendingTargetKey.js +1 -0
  429. package/dist/config/orderable/utils/resolvePendingTargetKey.js.map +1 -1
  430. package/dist/config/sanitize.d.ts.map +1 -1
  431. package/dist/config/sanitize.js +3 -2
  432. package/dist/config/sanitize.js.map +1 -1
  433. package/dist/config/types.d.ts +18 -18
  434. package/dist/config/types.d.ts.map +1 -1
  435. package/dist/config/types.js.map +1 -1
  436. package/dist/database/getLocalizedPaths.d.ts +2 -1
  437. package/dist/database/getLocalizedPaths.d.ts.map +1 -1
  438. package/dist/database/getLocalizedPaths.js +12 -3
  439. package/dist/database/getLocalizedPaths.js.map +1 -1
  440. package/dist/database/migrations/getMigrations.d.ts.map +1 -1
  441. package/dist/database/migrations/getMigrations.js +1 -0
  442. package/dist/database/migrations/getMigrations.js.map +1 -1
  443. package/dist/database/migrations/migrate.d.ts.map +1 -1
  444. package/dist/database/migrations/migrate.js +5 -2
  445. package/dist/database/migrations/migrate.js.map +1 -1
  446. package/dist/database/migrations/migrateDown.d.ts.map +1 -1
  447. package/dist/database/migrations/migrateDown.js +5 -2
  448. package/dist/database/migrations/migrateDown.js.map +1 -1
  449. package/dist/database/migrations/migrateRefresh.d.ts.map +1 -1
  450. package/dist/database/migrations/migrateRefresh.js +6 -2
  451. package/dist/database/migrations/migrateRefresh.js.map +1 -1
  452. package/dist/database/migrations/migrateReset.d.ts.map +1 -1
  453. package/dist/database/migrations/migrateReset.js +6 -2
  454. package/dist/database/migrations/migrateReset.js.map +1 -1
  455. package/dist/database/migrations/migrationsCollection.d.ts.map +1 -1
  456. package/dist/database/migrations/migrationsCollection.js +1 -0
  457. package/dist/database/migrations/migrationsCollection.js.map +1 -1
  458. package/dist/database/prefixWherePaths.d.ts +6 -0
  459. package/dist/database/prefixWherePaths.d.ts.map +1 -0
  460. package/dist/database/prefixWherePaths.js +19 -0
  461. package/dist/database/prefixWherePaths.js.map +1 -0
  462. package/dist/database/queryValidation/validateQueryPaths.d.ts +2 -1
  463. package/dist/database/queryValidation/validateQueryPaths.d.ts.map +1 -1
  464. package/dist/database/queryValidation/validateQueryPaths.js +4 -1
  465. package/dist/database/queryValidation/validateQueryPaths.js.map +1 -1
  466. package/dist/database/queryValidation/validateSearchParams.d.ts +2 -1
  467. package/dist/database/queryValidation/validateSearchParams.d.ts.map +1 -1
  468. package/dist/database/queryValidation/validateSearchParams.js +67 -3
  469. package/dist/database/queryValidation/validateSearchParams.js.map +1 -1
  470. package/dist/database/types.d.ts +5 -0
  471. package/dist/database/types.d.ts.map +1 -1
  472. package/dist/database/types.js.map +1 -1
  473. package/dist/exports/internal.d.ts +10 -1
  474. package/dist/exports/internal.d.ts.map +1 -1
  475. package/dist/exports/internal.js +10 -2
  476. package/dist/exports/internal.js.map +1 -1
  477. package/dist/exports/shared.d.ts +4 -1
  478. package/dist/exports/shared.d.ts.map +1 -1
  479. package/dist/exports/shared.js +4 -1
  480. package/dist/exports/shared.js.map +1 -1
  481. package/dist/fields/baseFields/authorship/index.d.ts +30 -0
  482. package/dist/fields/baseFields/authorship/index.d.ts.map +1 -0
  483. package/dist/fields/baseFields/authorship/index.js +151 -0
  484. package/dist/fields/baseFields/authorship/index.js.map +1 -0
  485. package/dist/fields/baseFields/authorship/types.d.ts +28 -0
  486. package/dist/fields/baseFields/authorship/types.d.ts.map +1 -0
  487. package/dist/fields/baseFields/authorship/types.js +10 -0
  488. package/dist/fields/baseFields/authorship/types.js.map +1 -0
  489. package/dist/fields/config/reservedFieldNames.js.map +1 -1
  490. package/dist/fields/config/types.d.ts +49 -47
  491. package/dist/fields/config/types.d.ts.map +1 -1
  492. package/dist/fields/config/types.js.map +1 -1
  493. package/dist/fields/hooks/beforeChange/index.d.ts +7 -1
  494. package/dist/fields/hooks/beforeChange/index.d.ts.map +1 -1
  495. package/dist/fields/hooks/beforeChange/index.js +4 -2
  496. package/dist/fields/hooks/beforeChange/index.js.map +1 -1
  497. package/dist/fields/hooks/beforeChange/promise.d.ts +2 -1
  498. package/dist/fields/hooks/beforeChange/promise.d.ts.map +1 -1
  499. package/dist/fields/hooks/beforeChange/promise.js +51 -9
  500. package/dist/fields/hooks/beforeChange/promise.js.map +1 -1
  501. package/dist/fields/hooks/beforeChange/traverseFields.d.ts +2 -1
  502. package/dist/fields/hooks/beforeChange/traverseFields.d.ts.map +1 -1
  503. package/dist/fields/hooks/beforeChange/traverseFields.js +3 -2
  504. package/dist/fields/hooks/beforeChange/traverseFields.js.map +1 -1
  505. package/dist/fields/hooks/beforeDuplicate/promise.d.ts.map +1 -1
  506. package/dist/fields/hooks/beforeDuplicate/promise.js +4 -0
  507. package/dist/fields/hooks/beforeDuplicate/promise.js.map +1 -1
  508. package/dist/fields/hooks/beforeValidate/getFallbackValue.d.ts +2 -1
  509. package/dist/fields/hooks/beforeValidate/getFallbackValue.d.ts.map +1 -1
  510. package/dist/fields/hooks/beforeValidate/getFallbackValue.js +2 -2
  511. package/dist/fields/hooks/beforeValidate/getFallbackValue.js.map +1 -1
  512. package/dist/fields/hooks/beforeValidate/index.d.ts +6 -1
  513. package/dist/fields/hooks/beforeValidate/index.d.ts.map +1 -1
  514. package/dist/fields/hooks/beforeValidate/index.js +3 -1
  515. package/dist/fields/hooks/beforeValidate/index.js.map +1 -1
  516. package/dist/fields/hooks/beforeValidate/promise.d.ts +6 -1
  517. package/dist/fields/hooks/beforeValidate/promise.d.ts.map +1 -1
  518. package/dist/fields/hooks/beforeValidate/promise.js +24 -9
  519. package/dist/fields/hooks/beforeValidate/promise.js.map +1 -1
  520. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts +6 -1
  521. package/dist/fields/hooks/beforeValidate/traverseFields.d.ts.map +1 -1
  522. package/dist/fields/hooks/beforeValidate/traverseFields.js +3 -1
  523. package/dist/fields/hooks/beforeValidate/traverseFields.js.map +1 -1
  524. package/dist/fields/validations.d.ts.map +1 -1
  525. package/dist/fields/validations.js +10 -7
  526. package/dist/fields/validations.js.map +1 -1
  527. package/dist/globals/config/sanitize.d.ts.map +1 -1
  528. package/dist/globals/config/sanitize.js +53 -4
  529. package/dist/globals/config/sanitize.js.map +1 -1
  530. package/dist/globals/config/types.d.ts +22 -14
  531. package/dist/globals/config/types.d.ts.map +1 -1
  532. package/dist/globals/config/types.js.map +1 -1
  533. package/dist/globals/operations/countGlobalVersions.d.ts.map +1 -1
  534. package/dist/globals/operations/countGlobalVersions.js +6 -0
  535. package/dist/globals/operations/countGlobalVersions.js.map +1 -1
  536. package/dist/globals/operations/findVersionByID.d.ts.map +1 -1
  537. package/dist/globals/operations/findVersionByID.js +18 -9
  538. package/dist/globals/operations/findVersionByID.js.map +1 -1
  539. package/dist/globals/operations/findVersions.d.ts.map +1 -1
  540. package/dist/globals/operations/findVersions.js +6 -0
  541. package/dist/globals/operations/findVersions.js.map +1 -1
  542. package/dist/globals/operations/inputSchemas.d.ts +14 -14
  543. package/dist/globals/operations/local/countVersions.d.ts +2 -7
  544. package/dist/globals/operations/local/countVersions.d.ts.map +1 -1
  545. package/dist/globals/operations/local/countVersions.js +6 -3
  546. package/dist/globals/operations/local/countVersions.js.map +1 -1
  547. package/dist/globals/operations/local/findOne.d.ts +8 -10
  548. package/dist/globals/operations/local/findOne.d.ts.map +1 -1
  549. package/dist/globals/operations/local/findOne.js +6 -3
  550. package/dist/globals/operations/local/findOne.js.map +1 -1
  551. package/dist/globals/operations/local/findVersionByID.d.ts +2 -7
  552. package/dist/globals/operations/local/findVersionByID.d.ts.map +1 -1
  553. package/dist/globals/operations/local/findVersionByID.js +6 -3
  554. package/dist/globals/operations/local/findVersionByID.js.map +1 -1
  555. package/dist/globals/operations/local/findVersions.d.ts +2 -7
  556. package/dist/globals/operations/local/findVersions.d.ts.map +1 -1
  557. package/dist/globals/operations/local/findVersions.js +6 -3
  558. package/dist/globals/operations/local/findVersions.js.map +1 -1
  559. package/dist/globals/operations/local/restoreVersion.d.ts +2 -7
  560. package/dist/globals/operations/local/restoreVersion.d.ts.map +1 -1
  561. package/dist/globals/operations/local/restoreVersion.js +6 -3
  562. package/dist/globals/operations/local/restoreVersion.js.map +1 -1
  563. package/dist/globals/operations/local/update.d.ts +2 -7
  564. package/dist/globals/operations/local/update.d.ts.map +1 -1
  565. package/dist/globals/operations/local/update.js +6 -3
  566. package/dist/globals/operations/local/update.js.map +1 -1
  567. package/dist/globals/operations/restoreVersion.d.ts.map +1 -1
  568. package/dist/globals/operations/restoreVersion.js +60 -15
  569. package/dist/globals/operations/restoreVersion.js.map +1 -1
  570. package/dist/globals/operations/update.d.ts.map +1 -1
  571. package/dist/globals/operations/update.js +105 -19
  572. package/dist/globals/operations/update.js.map +1 -1
  573. package/dist/hierarchy/hooks/collectionAfterDelete.d.ts.map +1 -1
  574. package/dist/hierarchy/hooks/collectionAfterDelete.js +1 -0
  575. package/dist/hierarchy/hooks/collectionAfterDelete.js.map +1 -1
  576. package/dist/hierarchy/hooks/collectionBeforeChange.js +1 -0
  577. package/dist/hierarchy/hooks/collectionBeforeChange.js.map +1 -1
  578. package/dist/hierarchy/hooks/collectionBeforeDelete.d.ts.map +1 -1
  579. package/dist/hierarchy/hooks/collectionBeforeDelete.js +1 -0
  580. package/dist/hierarchy/hooks/collectionBeforeDelete.js.map +1 -1
  581. package/dist/index.bundled.d.ts +564 -582
  582. package/dist/index.d.ts +28 -25
  583. package/dist/index.d.ts.map +1 -1
  584. package/dist/index.js +6 -3
  585. package/dist/index.js.map +1 -1
  586. package/dist/kv/adapters/DatabaseKVAdapter.d.ts.map +1 -1
  587. package/dist/kv/adapters/DatabaseKVAdapter.js +2 -1
  588. package/dist/kv/adapters/DatabaseKVAdapter.js.map +1 -1
  589. package/dist/locked-documents/config.d.ts.map +1 -1
  590. package/dist/locked-documents/config.js +1 -0
  591. package/dist/locked-documents/config.js.map +1 -1
  592. package/dist/preferences/config.d.ts.map +1 -1
  593. package/dist/preferences/config.js +3 -1
  594. package/dist/preferences/config.js.map +1 -1
  595. package/dist/query-presets/access.d.ts.map +1 -1
  596. package/dist/query-presets/access.js +2 -1
  597. package/dist/query-presets/access.js.map +1 -1
  598. package/dist/query-presets/config.d.ts.map +1 -1
  599. package/dist/query-presets/config.js +1 -0
  600. package/dist/query-presets/config.js.map +1 -1
  601. package/dist/query-presets/preventLockout.js +6 -3
  602. package/dist/query-presets/preventLockout.js.map +1 -1
  603. package/dist/queues/config/collection.d.ts.map +1 -1
  604. package/dist/queues/config/collection.js +1 -0
  605. package/dist/queues/config/collection.js.map +1 -1
  606. package/dist/queues/config/global.d.ts.map +1 -1
  607. package/dist/queues/config/global.js +1 -0
  608. package/dist/queues/config/global.js.map +1 -1
  609. package/dist/queues/config/types/index.d.ts +2 -1
  610. package/dist/queues/config/types/index.d.ts.map +1 -1
  611. package/dist/queues/config/types/index.js.map +1 -1
  612. package/dist/queues/localAPI.d.ts +7 -60
  613. package/dist/queues/localAPI.d.ts.map +1 -1
  614. package/dist/queues/localAPI.js +24 -12
  615. package/dist/queues/localAPI.js.map +1 -1
  616. package/dist/queues/operations/handleSchedules/index.d.ts.map +1 -1
  617. package/dist/queues/operations/handleSchedules/index.js +1 -0
  618. package/dist/queues/operations/handleSchedules/index.js.map +1 -1
  619. package/dist/types/index.d.ts +3 -0
  620. package/dist/types/index.d.ts.map +1 -1
  621. package/dist/types/index.js.map +1 -1
  622. package/dist/types/operations.d.ts +9 -0
  623. package/dist/types/operations.d.ts.map +1 -0
  624. package/dist/types/operations.js +3 -0
  625. package/dist/types/operations.js.map +1 -0
  626. package/dist/uploads/assertClientUploadAccess.d.ts +7 -0
  627. package/dist/uploads/assertClientUploadAccess.d.ts.map +1 -0
  628. package/dist/uploads/assertClientUploadAccess.js +29 -0
  629. package/dist/uploads/assertClientUploadAccess.js.map +1 -0
  630. package/dist/uploads/assertClientUploadAllowed.d.ts +10 -0
  631. package/dist/uploads/assertClientUploadAllowed.d.ts.map +1 -0
  632. package/dist/uploads/assertClientUploadAllowed.js +41 -0
  633. package/dist/uploads/assertClientUploadAllowed.js.map +1 -0
  634. package/dist/uploads/checkFileRestrictions.d.ts +11 -1
  635. package/dist/uploads/checkFileRestrictions.d.ts.map +1 -1
  636. package/dist/uploads/checkFileRestrictions.js +79 -28
  637. package/dist/uploads/checkFileRestrictions.js.map +1 -1
  638. package/dist/uploads/clientUploadReceipt.d.ts +29 -0
  639. package/dist/uploads/clientUploadReceipt.d.ts.map +1 -0
  640. package/dist/uploads/clientUploadReceipt.js +76 -0
  641. package/dist/uploads/clientUploadReceipt.js.map +1 -0
  642. package/dist/uploads/deleteAssociatedFiles.d.ts.map +1 -1
  643. package/dist/uploads/deleteAssociatedFiles.js +57 -9
  644. package/dist/uploads/deleteAssociatedFiles.js.map +1 -1
  645. package/dist/uploads/detectSvgFromXml.d.ts +1 -4
  646. package/dist/uploads/detectSvgFromXml.d.ts.map +1 -1
  647. package/dist/uploads/detectSvgFromXml.js +2 -41
  648. package/dist/uploads/detectSvgFromXml.js.map +1 -1
  649. package/dist/uploads/docWithFilenameExists.d.ts +2 -1
  650. package/dist/uploads/docWithFilenameExists.d.ts.map +1 -1
  651. package/dist/uploads/docWithFilenameExists.js +27 -10
  652. package/dist/uploads/docWithFilenameExists.js.map +1 -1
  653. package/dist/uploads/downloadFileToBuffer.d.ts +11 -0
  654. package/dist/uploads/downloadFileToBuffer.d.ts.map +1 -0
  655. package/dist/uploads/downloadFileToBuffer.js +72 -0
  656. package/dist/uploads/downloadFileToBuffer.js.map +1 -0
  657. package/dist/uploads/endpoints/getFile.d.ts.map +1 -1
  658. package/dist/uploads/endpoints/getFile.js +5 -3
  659. package/dist/uploads/endpoints/getFile.js.map +1 -1
  660. package/dist/uploads/endpoints/index.js +2 -2
  661. package/dist/uploads/endpoints/index.js.map +1 -1
  662. package/dist/uploads/endpoints/pasteURL.d.ts +3 -0
  663. package/dist/uploads/endpoints/pasteURL.d.ts.map +1 -0
  664. package/dist/uploads/endpoints/{getFileFromURL.js → pasteURL.js} +17 -55
  665. package/dist/uploads/endpoints/pasteURL.js.map +1 -0
  666. package/dist/uploads/endpoints/uploadInstructions.d.ts.map +1 -1
  667. package/dist/uploads/endpoints/uploadInstructions.js +29 -26
  668. package/dist/uploads/endpoints/uploadInstructions.js.map +1 -1
  669. package/dist/uploads/fetchAPI-multipart/handlers.d.ts +2 -2
  670. package/dist/uploads/fetchAPI-multipart/handlers.d.ts.map +1 -1
  671. package/dist/uploads/fetchAPI-multipart/handlers.js +18 -5
  672. package/dist/uploads/fetchAPI-multipart/handlers.js.map +1 -1
  673. package/dist/uploads/fetchAPI-multipart/index.d.ts.map +1 -1
  674. package/dist/uploads/fetchAPI-multipart/index.js +24 -2
  675. package/dist/uploads/fetchAPI-multipart/index.js.map +1 -1
  676. package/dist/uploads/fetchAPI-multipart/processMultipart.d.ts +0 -6
  677. package/dist/uploads/fetchAPI-multipart/processMultipart.d.ts.map +1 -1
  678. package/dist/uploads/fetchAPI-multipart/processMultipart.js +146 -130
  679. package/dist/uploads/fetchAPI-multipart/processMultipart.js.map +1 -1
  680. package/dist/uploads/fetchWithRedirects.d.ts +19 -0
  681. package/dist/uploads/fetchWithRedirects.d.ts.map +1 -0
  682. package/dist/uploads/fetchWithRedirects.js +53 -0
  683. package/dist/uploads/fetchWithRedirects.js.map +1 -0
  684. package/dist/uploads/generateFileData.d.ts +22 -1
  685. package/dist/uploads/generateFileData.d.ts.map +1 -1
  686. package/dist/uploads/generateFileData.js +66 -28
  687. package/dist/uploads/generateFileData.js.map +1 -1
  688. package/dist/uploads/getBaseFields.d.ts.map +1 -1
  689. package/dist/uploads/getBaseFields.js +3 -1
  690. package/dist/uploads/getBaseFields.js.map +1 -1
  691. package/dist/uploads/getFileContentRequirement.d.ts.map +1 -1
  692. package/dist/uploads/getFileContentRequirement.js +1 -1
  693. package/dist/uploads/getFileContentRequirement.js.map +1 -1
  694. package/dist/uploads/getFileFromUploadInstructions.d.ts.map +1 -1
  695. package/dist/uploads/getFileFromUploadInstructions.js +56 -9
  696. package/dist/uploads/getFileFromUploadInstructions.js.map +1 -1
  697. package/dist/uploads/getFileTypeFallback.d.ts.map +1 -1
  698. package/dist/uploads/getFileTypeFallback.js +3 -1
  699. package/dist/uploads/getFileTypeFallback.js.map +1 -1
  700. package/dist/uploads/getFileTypeIdentity.d.ts +19 -0
  701. package/dist/uploads/getFileTypeIdentity.d.ts.map +1 -0
  702. package/dist/uploads/getFileTypeIdentity.js +34 -0
  703. package/dist/uploads/getFileTypeIdentity.js.map +1 -0
  704. package/dist/uploads/hasCropOrResizeEdit.d.ts +7 -0
  705. package/dist/uploads/hasCropOrResizeEdit.d.ts.map +1 -0
  706. package/dist/uploads/hasCropOrResizeEdit.js +6 -0
  707. package/dist/uploads/hasCropOrResizeEdit.js.map +1 -0
  708. package/dist/uploads/hasFullFileContents.d.ts +13 -0
  709. package/dist/uploads/hasFullFileContents.d.ts.map +1 -0
  710. package/dist/uploads/hasFullFileContents.js +12 -0
  711. package/dist/uploads/hasFullFileContents.js.map +1 -0
  712. package/dist/uploads/isProcessableImage.d.ts +2 -0
  713. package/dist/uploads/isProcessableImage.d.ts.map +1 -0
  714. package/dist/uploads/isProcessableImage.js +7 -0
  715. package/dist/uploads/isProcessableImage.js.map +1 -0
  716. package/dist/uploads/resolveURLUploadInput.d.ts +25 -0
  717. package/dist/uploads/resolveURLUploadInput.d.ts.map +1 -0
  718. package/dist/uploads/resolveURLUploadInput.js +53 -0
  719. package/dist/uploads/resolveURLUploadInput.js.map +1 -0
  720. package/dist/uploads/safeFetch.d.ts.map +1 -1
  721. package/dist/uploads/safeFetch.js +3 -2
  722. package/dist/uploads/safeFetch.js.map +1 -1
  723. package/dist/uploads/sanitizeUploadData.d.ts +26 -0
  724. package/dist/uploads/sanitizeUploadData.d.ts.map +1 -0
  725. package/dist/uploads/sanitizeUploadData.js +161 -0
  726. package/dist/uploads/sanitizeUploadData.js.map +1 -0
  727. package/dist/uploads/types.d.ts +11 -4
  728. package/dist/uploads/types.d.ts.map +1 -1
  729. package/dist/uploads/types.js.map +1 -1
  730. package/dist/uploads/unlinkTempFiles.d.ts.map +1 -1
  731. package/dist/uploads/unlinkTempFiles.js +1 -1
  732. package/dist/uploads/unlinkTempFiles.js.map +1 -1
  733. package/dist/uploads/uploadContentSecurityPolicy.d.ts +2 -0
  734. package/dist/uploads/uploadContentSecurityPolicy.d.ts.map +1 -0
  735. package/dist/uploads/uploadContentSecurityPolicy.js +3 -0
  736. package/dist/uploads/uploadContentSecurityPolicy.js.map +1 -0
  737. package/dist/uploads/validateISOBaseMediaFile.d.ts +4 -0
  738. package/dist/uploads/validateISOBaseMediaFile.d.ts.map +1 -0
  739. package/dist/uploads/validateISOBaseMediaFile.js +91 -0
  740. package/dist/uploads/validateISOBaseMediaFile.js.map +1 -0
  741. package/dist/uploads/validateSvg.d.ts +10 -4
  742. package/dist/uploads/validateSvg.d.ts.map +1 -1
  743. package/dist/uploads/validateSvg.js +280 -40
  744. package/dist/uploads/validateSvg.js.map +1 -1
  745. package/dist/uploads/validateUploadFilename.d.ts +3 -0
  746. package/dist/uploads/validateUploadFilename.d.ts.map +1 -0
  747. package/dist/uploads/validateUploadFilename.js +13 -0
  748. package/dist/uploads/validateUploadFilename.js.map +1 -0
  749. package/dist/uploads/validateUploadURL.d.ts +13 -0
  750. package/dist/uploads/validateUploadURL.d.ts.map +1 -0
  751. package/dist/uploads/validateUploadURL.js +37 -0
  752. package/dist/uploads/validateUploadURL.js.map +1 -0
  753. package/dist/utilities/addDataAndFileToRequest.js +3 -1
  754. package/dist/utilities/addDataAndFileToRequest.js.map +1 -1
  755. package/dist/utilities/canAccessAdmin.d.ts.map +1 -1
  756. package/dist/utilities/canAccessAdmin.js +1 -0
  757. package/dist/utilities/canAccessAdmin.js.map +1 -1
  758. package/dist/utilities/checkDocumentLockStatus.d.ts +19 -0
  759. package/dist/utilities/checkDocumentLockStatus.d.ts.map +1 -1
  760. package/dist/utilities/checkDocumentLockStatus.js +74 -0
  761. package/dist/utilities/checkDocumentLockStatus.js.map +1 -1
  762. package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
  763. package/dist/utilities/configToJSONSchema.js +0 -9
  764. package/dist/utilities/configToJSONSchema.js.map +1 -1
  765. package/dist/utilities/createPayloadRequest.d.ts +12 -10
  766. package/dist/utilities/createPayloadRequest.d.ts.map +1 -1
  767. package/dist/utilities/createPayloadRequest.js +98 -81
  768. package/dist/utilities/createPayloadRequest.js.map +1 -1
  769. package/dist/utilities/createPayloadRequestFromWebRequest.d.ts +14 -0
  770. package/dist/utilities/createPayloadRequestFromWebRequest.d.ts.map +1 -0
  771. package/dist/utilities/createPayloadRequestFromWebRequest.js +95 -0
  772. package/dist/utilities/createPayloadRequestFromWebRequest.js.map +1 -0
  773. package/dist/utilities/deepCopyObject.d.ts.map +1 -1
  774. package/dist/utilities/deepCopyObject.js +110 -19
  775. package/dist/utilities/deepCopyObject.js.map +1 -1
  776. package/dist/utilities/entityInputSchema/validateEntityData.d.ts +13 -0
  777. package/dist/utilities/entityInputSchema/validateEntityData.d.ts.map +1 -0
  778. package/dist/utilities/entityInputSchema/validateEntityData.js +138 -0
  779. package/dist/utilities/entityInputSchema/validateEntityData.js.map +1 -0
  780. package/dist/utilities/fieldPath.d.ts +13 -0
  781. package/dist/utilities/fieldPath.d.ts.map +1 -0
  782. package/dist/utilities/fieldPath.js +51 -0
  783. package/dist/utilities/fieldPath.js.map +1 -0
  784. package/dist/utilities/formatAdminURL.d.ts +1 -0
  785. package/dist/utilities/formatAdminURL.d.ts.map +1 -1
  786. package/dist/utilities/formatAdminURL.js +22 -4
  787. package/dist/utilities/formatAdminURL.js.map +1 -1
  788. package/dist/utilities/getEntityPermissions/entityDocExists.d.ts.map +1 -1
  789. package/dist/utilities/getEntityPermissions/entityDocExists.js +36 -5
  790. package/dist/utilities/getEntityPermissions/entityDocExists.js.map +1 -1
  791. package/dist/utilities/getObjectDotNotation.d.ts.map +1 -1
  792. package/dist/utilities/getObjectDotNotation.js +7 -1
  793. package/dist/utilities/getObjectDotNotation.js.map +1 -1
  794. package/dist/utilities/getTopLevelFieldNames.d.ts +2 -0
  795. package/dist/utilities/getTopLevelFieldNames.d.ts.map +1 -0
  796. package/dist/utilities/getTopLevelFieldNames.js +3 -0
  797. package/dist/utilities/getTopLevelFieldNames.js.map +1 -0
  798. package/dist/utilities/handleEndpoints.d.ts.map +1 -1
  799. package/dist/utilities/handleEndpoints.js +8 -7
  800. package/dist/utilities/handleEndpoints.js.map +1 -1
  801. package/dist/utilities/parseDocumentID.d.ts +4 -1
  802. package/dist/utilities/parseDocumentID.d.ts.map +1 -1
  803. package/dist/utilities/parseDocumentID.js +7 -1
  804. package/dist/utilities/parseDocumentID.js.map +1 -1
  805. package/dist/utilities/parseParams/index.d.ts.map +1 -1
  806. package/dist/utilities/parseParams/index.js +3 -1
  807. package/dist/utilities/parseParams/index.js.map +1 -1
  808. package/dist/utilities/sanitizeUploadPrefix.d.ts +5 -0
  809. package/dist/utilities/sanitizeUploadPrefix.d.ts.map +1 -0
  810. package/dist/utilities/sanitizeUploadPrefix.js +18 -0
  811. package/dist/utilities/sanitizeUploadPrefix.js.map +1 -0
  812. package/dist/utilities/sharedInputSchemas.d.ts +10 -5
  813. package/dist/utilities/sharedInputSchemas.d.ts.map +1 -1
  814. package/dist/utilities/sharedInputSchemas.js +12 -0
  815. package/dist/utilities/sharedInputSchemas.js.map +1 -1
  816. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.d.ts +4 -0
  817. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.d.ts.map +1 -0
  818. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.js +261 -0
  819. package/dist/utilities/telemetry/featureInfo/getFeatureInfo.js.map +1 -0
  820. package/dist/utilities/telemetry/featureInfo/types.d.ts +63 -0
  821. package/dist/utilities/telemetry/featureInfo/types.d.ts.map +1 -0
  822. package/dist/utilities/telemetry/featureInfo/types.js +3 -0
  823. package/dist/utilities/telemetry/featureInfo/types.js.map +1 -0
  824. package/dist/utilities/telemetry/index.d.ts +3 -1
  825. package/dist/utilities/telemetry/index.d.ts.map +1 -1
  826. package/dist/utilities/telemetry/index.js +14 -1
  827. package/dist/utilities/telemetry/index.js.map +1 -1
  828. package/dist/utilities/traverseFields.d.ts.map +1 -1
  829. package/dist/utilities/traverseFields.js +5 -14
  830. package/dist/utilities/traverseFields.js.map +1 -1
  831. package/dist/utilities/unflatten.d.ts.map +1 -1
  832. package/dist/utilities/unflatten.js +21 -9
  833. package/dist/utilities/unflatten.js.map +1 -1
  834. package/dist/utilities/zod.d.ts +1 -1
  835. package/dist/utilities/zod.d.ts.map +1 -1
  836. package/dist/versions/allLocalesPublicationStatus.d.ts +38 -0
  837. package/dist/versions/allLocalesPublicationStatus.d.ts.map +1 -0
  838. package/dist/versions/allLocalesPublicationStatus.js +57 -0
  839. package/dist/versions/allLocalesPublicationStatus.js.map +1 -0
  840. package/dist/versions/deleteCollectionVersions.d.ts +11 -1
  841. package/dist/versions/deleteCollectionVersions.d.ts.map +1 -1
  842. package/dist/versions/deleteCollectionVersions.js +10 -3
  843. package/dist/versions/deleteCollectionVersions.js.map +1 -1
  844. package/dist/versions/deleteScheduledPublishJobs.d.ts +5 -1
  845. package/dist/versions/deleteScheduledPublishJobs.d.ts.map +1 -1
  846. package/dist/versions/deleteScheduledPublishJobs.js +9 -3
  847. package/dist/versions/deleteScheduledPublishJobs.js.map +1 -1
  848. package/dist/versions/drafts/appendVersionToQueryKey.d.ts +1 -0
  849. package/dist/versions/drafts/appendVersionToQueryKey.d.ts.map +1 -1
  850. package/dist/versions/drafts/appendVersionToQueryKey.js +5 -9
  851. package/dist/versions/drafts/appendVersionToQueryKey.js.map +1 -1
  852. package/dist/versions/getLatestGlobalVersion.d.ts.map +1 -1
  853. package/dist/versions/getLatestGlobalVersion.js +10 -2
  854. package/dist/versions/getLatestGlobalVersion.js.map +1 -1
  855. package/dist/versions/getRestoredStatusesToAuthorize.d.ts +9 -0
  856. package/dist/versions/getRestoredStatusesToAuthorize.d.ts.map +1 -0
  857. package/dist/versions/getRestoredStatusesToAuthorize.js +22 -0
  858. package/dist/versions/getRestoredStatusesToAuthorize.js.map +1 -0
  859. package/dist/versions/isInheritedReadVersionsAccess.d.ts +6 -0
  860. package/dist/versions/isInheritedReadVersionsAccess.d.ts.map +1 -0
  861. package/dist/versions/isInheritedReadVersionsAccess.js +30 -0
  862. package/dist/versions/isInheritedReadVersionsAccess.js.map +1 -0
  863. package/dist/versions/schedule/job.d.ts +2 -2
  864. package/dist/versions/schedule/job.d.ts.map +1 -1
  865. package/dist/versions/schedule/job.js +12 -8
  866. package/dist/versions/schedule/job.js.map +1 -1
  867. package/dist/versions/schedule/types.d.ts +5 -1
  868. package/dist/versions/schedule/types.d.ts.map +1 -1
  869. package/dist/versions/schedule/types.js.map +1 -1
  870. package/package.json +7 -6
  871. package/skills/payload/SKILL.md +30 -12
  872. package/skills/payload/reference/ACCESS-CONTROL-ADVANCED.md +19 -5
  873. package/skills/payload/reference/ACCESS-CONTROL.md +8 -4
  874. package/skills/payload/reference/ADAPTERS.md +7 -0
  875. package/skills/payload/reference/ADVANCED.md +10 -3
  876. package/skills/payload/reference/COLLECTIONS.md +3 -0
  877. package/skills/payload/reference/ENDPOINTS.md +16 -0
  878. package/skills/payload/reference/FIELDS.md +3 -0
  879. package/skills/payload/reference/PLUGIN-DEVELOPMENT.md +33 -24
  880. package/skills/payload/reference/QUERIES.md +13 -5
  881. package/dist/auth/cookies.spec.js +0 -34
  882. package/dist/auth/cookies.spec.js.map +0 -1
  883. package/dist/auth/strategies/local/authenticate.spec.js +0 -83
  884. package/dist/auth/strategies/local/authenticate.spec.js.map +0 -1
  885. package/dist/cli/commands/build/build.spec.js +0 -582
  886. package/dist/cli/commands/build/build.spec.js.map +0 -1
  887. package/dist/cli/commands/generateImportMap/generateImportMap.spec.js +0 -176
  888. package/dist/cli/commands/generateImportMap/generateImportMap.spec.js.map +0 -1
  889. package/dist/cli/data.spec.js +0 -479
  890. package/dist/cli/data.spec.js.map +0 -1
  891. package/dist/cli/index.spec.js +0 -384
  892. package/dist/cli/index.spec.js.map +0 -1
  893. package/dist/collections/config/defaults.spec.js +0 -47
  894. package/dist/collections/config/defaults.spec.js.map +0 -1
  895. package/dist/collections/config/sanitize.spec.js +0 -482
  896. package/dist/collections/config/sanitize.spec.js.map +0 -1
  897. package/dist/collections/config/useAsTitle.spec.js +0 -187
  898. package/dist/collections/config/useAsTitle.spec.js.map +0 -1
  899. package/dist/config/client.spec.js +0 -20
  900. package/dist/config/client.spec.js.map +0 -1
  901. package/dist/config/sanitize.spec.js +0 -105
  902. package/dist/config/sanitize.spec.js.map +0 -1
  903. package/dist/database/migrations/findMigrationDir.spec.js +0 -47
  904. package/dist/database/migrations/findMigrationDir.spec.js.map +0 -1
  905. package/dist/fields/config/reservedFieldNames.spec.js +0 -149
  906. package/dist/fields/config/reservedFieldNames.spec.js.map +0 -1
  907. package/dist/fields/config/sanitize.spec.js +0 -745
  908. package/dist/fields/config/sanitize.spec.js.map +0 -1
  909. package/dist/fields/isFieldDisabled.spec.js +0 -134
  910. package/dist/fields/isFieldDisabled.spec.js.map +0 -1
  911. package/dist/fields/validations.spec.js +0 -1014
  912. package/dist/fields/validations.spec.js.map +0 -1
  913. package/dist/globals/config/sanitize.spec.js +0 -262
  914. package/dist/globals/config/sanitize.spec.js.map +0 -1
  915. package/dist/hierarchy/utils/getLocalizedValue.spec.js +0 -250
  916. package/dist/hierarchy/utils/getLocalizedValue.spec.js.map +0 -1
  917. package/dist/locked-documents/config.spec.js +0 -298
  918. package/dist/locked-documents/config.spec.js.map +0 -1
  919. package/dist/uploads/checkFileAccess.spec.js +0 -109
  920. package/dist/uploads/checkFileAccess.spec.js.map +0 -1
  921. package/dist/uploads/cropImage.spec.js +0 -71
  922. package/dist/uploads/cropImage.spec.js.map +0 -1
  923. package/dist/uploads/endpoints/getFileFromURL.d.ts +0 -3
  924. package/dist/uploads/endpoints/getFileFromURL.d.ts.map +0 -1
  925. package/dist/uploads/endpoints/getFileFromURL.js.map +0 -1
  926. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.spec.js +0 -57
  927. package/dist/uploads/fetchAPI-multipart/isEligibleRequest.spec.js.map +0 -1
  928. package/dist/uploads/generateFileData.spec.js +0 -207
  929. package/dist/uploads/generateFileData.spec.js.map +0 -1
  930. package/dist/uploads/generateFileData.tempFileBuffering.spec.js +0 -81
  931. package/dist/uploads/generateFileData.tempFileBuffering.spec.js.map +0 -1
  932. package/dist/uploads/getExternalFile.d.ts +0 -10
  933. package/dist/uploads/getExternalFile.d.ts.map +0 -1
  934. package/dist/uploads/getExternalFile.js +0 -73
  935. package/dist/uploads/getExternalFile.js.map +0 -1
  936. package/dist/uploads/getFileContentRequirement.spec.js +0 -125
  937. package/dist/uploads/getFileContentRequirement.spec.js.map +0 -1
  938. package/dist/uploads/getFileFromUploadInstructions.spec.js +0 -378
  939. package/dist/uploads/getFileFromUploadInstructions.spec.js.map +0 -1
  940. package/dist/uploads/getImageSize.spec.js +0 -298
  941. package/dist/uploads/getImageSize.spec.js.map +0 -1
  942. package/dist/uploads/getSafeFilename.spec.js +0 -274
  943. package/dist/uploads/getSafeFilename.spec.js.map +0 -1
  944. package/dist/uploads/image-resizing/createImageSizes.spec.js +0 -80
  945. package/dist/uploads/image-resizing/createImageSizes.spec.js.map +0 -1
  946. package/dist/uploads/isAnimatedImage.spec.js +0 -19
  947. package/dist/uploads/isAnimatedImage.spec.js.map +0 -1
  948. package/dist/uploads/matchMimeType.spec.js +0 -66
  949. package/dist/uploads/matchMimeType.spec.js.map +0 -1
  950. package/dist/uploads/mimeTypeValidator.spec.js +0 -84
  951. package/dist/uploads/mimeTypeValidator.spec.js.map +0 -1
  952. package/dist/uploads/probeImageSize.spec.js +0 -366
  953. package/dist/uploads/probeImageSize.spec.js.map +0 -1
  954. package/dist/uploads/unlinkTempFiles.spec.js +0 -71
  955. package/dist/uploads/unlinkTempFiles.spec.js.map +0 -1
  956. package/dist/uploads/uploadFiles.spec.js +0 -44
  957. package/dist/uploads/uploadFiles.spec.js.map +0 -1
  958. package/dist/utilities/addDataAndFileToRequest.spec.js +0 -41
  959. package/dist/utilities/addDataAndFileToRequest.spec.js.map +0 -1
  960. package/dist/utilities/addSelectGenericsToGeneratedTypes.spec.js +0 -563
  961. package/dist/utilities/addSelectGenericsToGeneratedTypes.spec.js.map +0 -1
  962. package/dist/utilities/combineWhereConstraints.spec.js +0 -131
  963. package/dist/utilities/combineWhereConstraints.spec.js.map +0 -1
  964. package/dist/utilities/configToJSONSchema.spec.js +0 -1162
  965. package/dist/utilities/configToJSONSchema.spec.js.map +0 -1
  966. package/dist/utilities/createLocalReq.d.ts +0 -15
  967. package/dist/utilities/createLocalReq.d.ts.map +0 -1
  968. package/dist/utilities/createLocalReq.js +0 -110
  969. package/dist/utilities/createLocalReq.js.map +0 -1
  970. package/dist/utilities/createLocalReq.spec.js +0 -125
  971. package/dist/utilities/createLocalReq.spec.js.map +0 -1
  972. package/dist/utilities/entityInputSchema/sanitizeEntitySchema.spec.js +0 -133
  973. package/dist/utilities/entityInputSchema/sanitizeEntitySchema.spec.js.map +0 -1
  974. package/dist/utilities/filterDataToSelectedLocales.spec.js +0 -529
  975. package/dist/utilities/filterDataToSelectedLocales.spec.js.map +0 -1
  976. package/dist/utilities/flattenTopLevelFields.spec.js +0 -659
  977. package/dist/utilities/flattenTopLevelFields.spec.js.map +0 -1
  978. package/dist/utilities/formatAdminURL.spec.js +0 -168
  979. package/dist/utilities/formatAdminURL.spec.js.map +0 -1
  980. package/dist/utilities/formatErrors.spec.js +0 -101
  981. package/dist/utilities/formatErrors.spec.js.map +0 -1
  982. package/dist/utilities/formatLabels.spec.js +0 -38
  983. package/dist/utilities/formatLabels.spec.js.map +0 -1
  984. package/dist/utilities/getFieldByPath.spec.js +0 -157
  985. package/dist/utilities/getFieldByPath.spec.js.map +0 -1
  986. package/dist/utilities/getFieldPermissions.spec.js +0 -78
  987. package/dist/utilities/getFieldPermissions.spec.js.map +0 -1
  988. package/dist/utilities/getNextVersion.spec.js +0 -16
  989. package/dist/utilities/getNextVersion.spec.js.map +0 -1
  990. package/dist/utilities/getRequestOrigin.spec.js +0 -151
  991. package/dist/utilities/getRequestOrigin.spec.js.map +0 -1
  992. package/dist/utilities/getSafeRedirect.spec.js +0 -178
  993. package/dist/utilities/getSafeRedirect.spec.js.map +0 -1
  994. package/dist/utilities/isURLAllowed.spec.js +0 -78
  995. package/dist/utilities/isURLAllowed.spec.js.map +0 -1
  996. package/dist/utilities/isolateObjectProperty.spec.js +0 -120
  997. package/dist/utilities/isolateObjectProperty.spec.js.map +0 -1
  998. package/dist/utilities/mergeLocalizedData.spec.js +0 -1108
  999. package/dist/utilities/mergeLocalizedData.spec.js.map +0 -1
  1000. package/dist/utilities/nextJsDevReloadStrategy.spec.js +0 -123
  1001. package/dist/utilities/nextJsDevReloadStrategy.spec.js.map +0 -1
  1002. package/dist/utilities/optionsAreEqual.spec.js +0 -319
  1003. package/dist/utilities/optionsAreEqual.spec.js.map +0 -1
  1004. package/dist/utilities/parseParams/index.spec.js +0 -384
  1005. package/dist/utilities/parseParams/index.spec.js.map +0 -1
  1006. package/dist/utilities/profiling.spec.js +0 -53
  1007. package/dist/utilities/profiling.spec.js.map +0 -1
  1008. package/dist/utilities/sanitizePermissions.spec.js +0 -1639
  1009. package/dist/utilities/sanitizePermissions.spec.js.map +0 -1
  1010. package/dist/utilities/sanitizeUserDataForEmail.spec.js +0 -134
  1011. package/dist/utilities/sanitizeUserDataForEmail.spec.js.map +0 -1
  1012. package/dist/utilities/telemetry/index.spec.js +0 -43
  1013. package/dist/utilities/telemetry/index.spec.js.map +0 -1
  1014. package/dist/utilities/traverseFields.spec.js +0 -165
  1015. package/dist/utilities/traverseFields.spec.js.map +0 -1
  1016. package/dist/utilities/validateTimezones.spec.js +0 -493
  1017. package/dist/utilities/validateTimezones.spec.js.map +0 -1
  1018. package/dist/versions/drafts/appendVersionToQueryKey.spec.js +0 -28
  1019. package/dist/versions/drafts/appendVersionToQueryKey.spec.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js';
3
3
  import type { ArrayFieldValidation } from '../../fields/validations.js';
4
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
4
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
5
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
6
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
7
7
  type ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>;
8
8
  type ArrayFieldBaseClientProps = {
9
9
  readonly validate?: ArrayFieldValidation;
@@ -11,15 +11,13 @@ type ArrayFieldBaseClientProps = {
11
11
  type ArrayFieldBaseServerProps = Pick<FieldPaths, 'path'>;
12
12
  export type ArrayFieldClientProps = ArrayFieldBaseClientProps & ClientFieldBase<ArrayFieldClientWithoutType>;
13
13
  export type ArrayFieldServerProps = ArrayFieldBaseServerProps & ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>;
14
- export type ArrayFieldServerComponent = FieldServerComponent<ArrayField, ArrayFieldClientWithoutType, ArrayFieldBaseServerProps>;
15
- export type ArrayFieldClientComponent = FieldClientComponent<ArrayFieldClientWithoutType, ArrayFieldBaseClientProps>;
16
- export type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField, ArrayFieldClientWithoutType>;
17
- export type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>;
18
- export type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<ArrayField, ArrayFieldClientWithoutType>;
19
- export type ArrayFieldDescriptionClientComponent = FieldDescriptionClientComponent<ArrayFieldClientWithoutType>;
20
- export type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField, ArrayFieldClientWithoutType>;
21
- export type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>;
22
- export type ArrayFieldDiffServerComponent = FieldDiffServerComponent<ArrayField, ArrayFieldClient>;
23
- export type ArrayFieldDiffClientComponent = FieldDiffClientComponent<ArrayFieldClient>;
14
+ export type ArrayFieldLabelServerProps = FieldLabelServerProps<ArrayField, ArrayFieldClientWithoutType>;
15
+ export type ArrayFieldLabelClientProps = FieldLabelClientProps<ArrayFieldClientWithoutType>;
16
+ export type ArrayFieldDescriptionServerProps = FieldDescriptionServerProps<ArrayField, ArrayFieldClientWithoutType>;
17
+ export type ArrayFieldDescriptionClientProps = FieldDescriptionClientProps<ArrayFieldClientWithoutType>;
18
+ export type ArrayFieldErrorServerProps = FieldErrorServerProps<ArrayField, ArrayFieldClientWithoutType>;
19
+ export type ArrayFieldErrorClientProps = FieldErrorClientProps<ArrayFieldClientWithoutType>;
20
+ export type ArrayFieldDiffServerProps = FieldDiffServerProps<ArrayField, ArrayFieldClient>;
21
+ export type ArrayFieldDiffClientProps = FieldDiffClientProps<ArrayFieldClient>;
24
22
  export {};
25
23
  //# sourceMappingURL=Array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Array.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,GAAG,UAAU,CAAA;AAEd,KAAK,yBAAyB,GAAG,IAAI,CAAC,U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AAA;AAC1F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly validate?: ArrayFieldValidation\n} & FieldPaths\n\ntype ArrayFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ArrayFieldBaseServerProps &\n ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerComponent = FieldServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType,\n ArrayFieldBaseServerProps\n>\n\nexport type ArrayFieldClientComponent = FieldClientComponent<\n ArrayFieldClientWithoutType,\n ArrayFieldBaseClientProps\n>\n\nexport type ArrayFieldLabelServerComponent = FieldLabelServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\nexport type ArrayFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerComponent = FieldErrorServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\nexport type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDiffServerComponent = FieldDiffServerComponent<ArrayField, ArrayFieldClient>\nexport type ArrayFieldDiffClientComponent = FieldDiffClientComponent<ArrayFieldClient>\n"],"names":[],"mappings":"AAmEA,WAAsF"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly validate?: ArrayFieldValidation\n} & FieldPaths\n\ntype ArrayFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ArrayFieldBaseServerProps &\n ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>\nexport type ArrayFieldLabelServerProps = FieldLabelServerProps<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldLabelClientProps = FieldLabelClientProps<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerProps = FieldDescriptionServerProps<\n ArrayField,\n ArrayFieldClientWithoutType\n>\nexport type ArrayFieldDescriptionClientProps =\n FieldDescriptionClientProps<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerProps = FieldErrorServerProps<\n ArrayField,\n ArrayFieldClientWithoutType\n>\nexport type ArrayFieldErrorClientProps = FieldErrorClientProps<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDiffServerProps = FieldDiffServerProps<ArrayField, ArrayFieldClient>\nexport type ArrayFieldDiffClientProps = FieldDiffClientProps<ArrayFieldClient>\n"],"names":[],"mappings":"AAiDA,WAA8E"}
@@ -1,10 +1,9 @@
1
- import type React from 'react';
2
1
  import type { MarkOptional } from 'ts-essentials';
3
2
  import type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js';
4
3
  import type { BlocksFieldValidation } from '../../fields/validations.js';
5
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
6
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
7
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
4
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
5
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
6
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
8
7
  type BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>;
9
8
  type BlocksFieldBaseClientProps = {
10
9
  readonly validate?: BlocksFieldValidation;
@@ -12,22 +11,20 @@ type BlocksFieldBaseClientProps = {
12
11
  type BlocksFieldBaseServerProps = Pick<FieldPaths, 'path'>;
13
12
  export type BlocksFieldClientProps = BlocksFieldBaseClientProps & ClientFieldBase<BlocksFieldClientWithoutType>;
14
13
  export type BlocksFieldServerProps = BlocksFieldBaseServerProps & ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>;
15
- export type BlocksFieldServerComponent = FieldServerComponent<BlocksField, BlocksFieldClientWithoutType, BlocksFieldBaseServerProps>;
16
- export type BlocksFieldClientComponent = FieldClientComponent<BlocksFieldClientWithoutType, BlocksFieldBaseClientProps>;
17
- export type BlocksFieldLabelServerComponent = FieldLabelServerComponent<BlocksField, BlocksFieldClientWithoutType>;
18
- export type BlocksFieldLabelClientComponent = FieldLabelClientComponent<BlocksFieldClientWithoutType>;
14
+ export type BlocksFieldLabelServerProps = FieldLabelServerProps<BlocksField, BlocksFieldClientWithoutType>;
15
+ export type BlocksFieldLabelClientProps = FieldLabelClientProps<BlocksFieldClientWithoutType>;
19
16
  type BlockRowLabelBase = {
20
17
  blockType: string;
21
18
  rowLabel: string;
22
19
  rowNumber: number;
23
20
  };
24
- export type BlockRowLabelClientComponent = React.ComponentType<BlockRowLabelBase & ClientFieldBase<BlocksFieldClientWithoutType>>;
25
- export type BlockRowLabelServerComponent = React.ComponentType<BlockRowLabelBase & ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>>;
26
- export type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent<BlocksField, BlocksFieldClientWithoutType>;
27
- export type BlocksFieldDescriptionClientComponent = FieldDescriptionClientComponent<BlocksFieldClientWithoutType>;
28
- export type BlocksFieldErrorServerComponent = FieldErrorServerComponent<BlocksField, BlocksFieldClientWithoutType>;
29
- export type BlocksFieldErrorClientComponent = FieldErrorClientComponent<BlocksFieldClientWithoutType>;
30
- export type BlocksFieldDiffServerComponent = FieldDiffServerComponent<BlocksField, BlocksFieldClient>;
31
- export type BlocksFieldDiffClientComponent = FieldDiffClientComponent<BlocksFieldClient>;
21
+ export type BlockRowLabelClientProps = BlockRowLabelBase & ClientFieldBase<BlocksFieldClientWithoutType>;
22
+ export type BlockRowLabelServerProps = BlockRowLabelBase & ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>;
23
+ export type BlocksFieldDescriptionServerProps = FieldDescriptionServerProps<BlocksField, BlocksFieldClientWithoutType>;
24
+ export type BlocksFieldDescriptionClientProps = FieldDescriptionClientProps<BlocksFieldClientWithoutType>;
25
+ export type BlocksFieldErrorServerProps = FieldErrorServerProps<BlocksField, BlocksFieldClientWithoutType>;
26
+ export type BlocksFieldErrorClientProps = FieldErrorClientProps<BlocksFieldClientWithoutType>;
27
+ export type BlocksFieldDiffServerProps = FieldDiffServerProps<BlocksField, BlocksFieldClient>;
28
+ export type BlocksFieldDiffClientProps = FieldDiffClientProps<BlocksFieldClient>;
32
29
  export {};
33
30
  //# sourceMappingURL=Blocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Blocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,4BAA4B,GAAG,YAAY,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA;AAE3E,KAAK,0BAA0B,GAAG;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,qBAAqB,CAAA;CAC1C,GAAG,UAAU,CAAA;AAEd,KAAK,0BAA0B,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;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S,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,GACtD,eAAe,CAAC,4BAA4B,CAAC,CAAA;AAE/C,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,GACtD,eAAe,CAAC,WAAW,EAAE,4BAA4B,CAAC,CAAA;AAE5D,MAAM,MAAM,iCAAiC,GAAG,2BAA2B,CACzE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAC3C,2BAA2B,CAAC,4BAA4B,CAAC,CAAA;AAE3D,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,CAC7D,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG,qBAAqB,CAAC,4BAA4B,CAAC,CAAA;AAE7F,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAA;AAE7F,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Blocks.ts"],"sourcesContent":["import type React from 'react'\nimport type { MarkOptional } from 'ts-essentials'\n\nimport type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js'\nimport type { BlocksFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>\n\ntype BlocksFieldBaseClientProps = {\n readonly validate?: BlocksFieldValidation\n} & FieldPaths\n\ntype BlocksFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type BlocksFieldClientProps = BlocksFieldBaseClientProps &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerProps = BlocksFieldBaseServerProps &\n ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerComponent = FieldServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType,\n BlocksFieldBaseServerProps\n>\n\nexport type BlocksFieldClientComponent = FieldClientComponent<\n BlocksFieldClientWithoutType,\n BlocksFieldBaseClientProps\n>\n\nexport type BlocksFieldLabelServerComponent = FieldLabelServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldLabelClientComponent =\n FieldLabelClientComponent<BlocksFieldClientWithoutType>\n\ntype BlockRowLabelBase = {\n blockType: string\n rowLabel: string\n rowNumber: number\n}\n\nexport type BlockRowLabelClientComponent = React.ComponentType<\n BlockRowLabelBase & ClientFieldBase<BlocksFieldClientWithoutType>\n>\n\nexport type BlockRowLabelServerComponent = React.ComponentType<\n BlockRowLabelBase & ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\n>\n\nexport type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldErrorServerComponent = FieldErrorServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldErrorClientComponent =\n FieldErrorClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldDiffServerComponent = FieldDiffServerComponent<\n BlocksField,\n BlocksFieldClient\n>\n\nexport type BlocksFieldDiffClientComponent = FieldDiffClientComponent<BlocksFieldClient>\n"],"names":[],"mappings":"AA0FA,WAAwF"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Blocks.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js'\nimport type { BlocksFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>\n\ntype BlocksFieldBaseClientProps = {\n readonly validate?: BlocksFieldValidation\n} & FieldPaths\n\ntype BlocksFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type BlocksFieldClientProps = BlocksFieldBaseClientProps &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerProps = BlocksFieldBaseServerProps &\n ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\nexport type BlocksFieldLabelServerProps = FieldLabelServerProps<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldLabelClientProps = FieldLabelClientProps<BlocksFieldClientWithoutType>\n\ntype BlockRowLabelBase = {\n blockType: string\n rowLabel: string\n rowNumber: number\n}\n\nexport type BlockRowLabelClientProps = BlockRowLabelBase &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlockRowLabelServerProps = BlockRowLabelBase &\n ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\n\nexport type BlocksFieldDescriptionServerProps = FieldDescriptionServerProps<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldDescriptionClientProps =\n FieldDescriptionClientProps<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldErrorServerProps = FieldErrorServerProps<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldErrorClientProps = FieldErrorClientProps<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldDiffServerProps = FieldDiffServerProps<BlocksField, BlocksFieldClient>\n\nexport type BlocksFieldDiffClientProps = FieldDiffClientProps<BlocksFieldClient>\n"],"names":[],"mappings":"AAgEA,WAAgF"}
@@ -1,9 +1,9 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js';
3
3
  import type { CheckboxFieldValidation } from '../../fields/validations.js';
4
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
4
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
5
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
6
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
7
7
  type CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>;
8
8
  type CheckboxFieldBaseClientProps = {
9
9
  readonly checked?: boolean;
@@ -17,15 +17,13 @@ type CheckboxFieldBaseClientProps = {
17
17
  type CheckboxFieldBaseServerProps = Pick<FieldPaths, 'path'>;
18
18
  export type CheckboxFieldClientProps = CheckboxFieldBaseClientProps & ClientFieldBase<CheckboxFieldClientWithoutType>;
19
19
  export type CheckboxFieldServerProps = CheckboxFieldBaseServerProps & ServerFieldBase<CheckboxField, CheckboxFieldClientWithoutType>;
20
- export type CheckboxFieldServerComponent = FieldServerComponent<CheckboxField, CheckboxFieldClientWithoutType, CheckboxFieldBaseServerProps>;
21
- export type CheckboxFieldClientComponent = FieldClientComponent<CheckboxFieldClientWithoutType, CheckboxFieldBaseClientProps>;
22
- export type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
23
- export type CheckboxFieldLabelClientComponent = FieldLabelClientComponent<CheckboxFieldClientWithoutType>;
24
- export type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
25
- export type CheckboxFieldDescriptionClientComponent = FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>;
26
- export type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
27
- export type CheckboxFieldErrorClientComponent = FieldErrorClientComponent<CheckboxFieldClientWithoutType>;
28
- export type CheckboxFieldDiffServerComponent = FieldDiffServerComponent<CheckboxField, CheckboxFieldClient>;
29
- export type CheckboxFieldDiffClientComponent = FieldDiffClientComponent<CheckboxFieldClient>;
20
+ export type CheckboxFieldLabelServerProps = FieldLabelServerProps<CheckboxField, CheckboxFieldClientWithoutType>;
21
+ export type CheckboxFieldLabelClientProps = FieldLabelClientProps<CheckboxFieldClientWithoutType>;
22
+ export type CheckboxFieldDescriptionServerProps = FieldDescriptionServerProps<CheckboxField, CheckboxFieldClientWithoutType>;
23
+ export type CheckboxFieldDescriptionClientProps = FieldDescriptionClientProps<CheckboxFieldClientWithoutType>;
24
+ export type CheckboxFieldErrorServerProps = FieldErrorServerProps<CheckboxField, CheckboxFieldClientWithoutType>;
25
+ export type CheckboxFieldErrorClientProps = FieldErrorClientProps<CheckboxFieldClientWithoutType>;
26
+ export type CheckboxFieldDiffServerProps = FieldDiffServerProps<CheckboxField, CheckboxFieldClient>;
27
+ export type CheckboxFieldDiffClientProps = FieldDiffClientProps<CheckboxFieldClient>;
30
28
  export {};
31
29
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Checkbox.ts"],"names":[],"mappings":"AAAA,OA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AC,8BAA8B,CAAC,CAAA;AAEjG,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAA;AAEnG,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Checkbox.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\ntype CheckboxFieldBaseClientProps = {\n readonly checked?: boolean\n readonly disableFormData?: boolean\n readonly id?: string\n readonly onChange?: (value: boolean) => void\n readonly partialChecked?: boolean\n readonly path: string\n readonly validate?: CheckboxFieldValidation\n}\n\ntype CheckboxFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type CheckboxFieldClientProps = CheckboxFieldBaseClientProps &\n ClientFieldBase<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerProps = CheckboxFieldBaseServerProps &\n ServerFieldBase<CheckboxField, CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerComponent = FieldServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType,\n CheckboxFieldBaseServerProps\n>\n\nexport type CheckboxFieldClientComponent = FieldClientComponent<\n CheckboxFieldClientWithoutType,\n CheckboxFieldBaseClientProps\n>\n\nexport type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldLabelClientComponent =\n FieldLabelClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldErrorClientComponent =\n FieldErrorClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDiffServerComponent = FieldDiffServerComponent<\n CheckboxField,\n CheckboxFieldClient\n>\n\nexport type CheckboxFieldDiffClientComponent = FieldDiffClientComponent<CheckboxFieldClient>\n"],"names":[],"mappings":"AAiFA,WAA4F"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Checkbox.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\ntype CheckboxFieldBaseClientProps = {\n readonly checked?: boolean\n readonly disableFormData?: boolean\n readonly id?: string\n readonly onChange?: (value: boolean) => void\n readonly partialChecked?: boolean\n readonly path: string\n readonly validate?: CheckboxFieldValidation\n}\n\ntype CheckboxFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type CheckboxFieldClientProps = CheckboxFieldBaseClientProps &\n ClientFieldBase<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerProps = CheckboxFieldBaseServerProps &\n ServerFieldBase<CheckboxField, CheckboxFieldClientWithoutType>\nexport type CheckboxFieldLabelServerProps = FieldLabelServerProps<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldLabelClientProps = FieldLabelClientProps<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDescriptionServerProps = FieldDescriptionServerProps<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldDescriptionClientProps =\n FieldDescriptionClientProps<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldErrorServerProps = FieldErrorServerProps<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldErrorClientProps = FieldErrorClientProps<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDiffServerProps = FieldDiffServerProps<CheckboxField, CheckboxFieldClient>\n\nexport type CheckboxFieldDiffClientProps = FieldDiffClientProps<CheckboxFieldClient>\n"],"names":[],"mappings":"AA0DA,WAAoF"}
@@ -2,9 +2,9 @@ import type { EditorProps } from '@monaco-editor/react';
2
2
  import type { MarkOptional } from 'ts-essentials';
3
3
  import type { CodeField, CodeFieldClient } from '../../fields/config/types.js';
4
4
  import type { CodeFieldValidation } from '../../fields/validations.js';
5
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
6
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
7
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
5
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
6
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
7
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
8
8
  type CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>;
9
9
  type CodeFieldBaseClientProps = {
10
10
  readonly autoComplete?: string;
@@ -15,15 +15,13 @@ type CodeFieldBaseClientProps = {
15
15
  type CodeFieldBaseServerProps = Pick<FieldPaths, 'path'>;
16
16
  export type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> & CodeFieldBaseClientProps;
17
17
  export type CodeFieldServerProps = CodeFieldBaseServerProps & ServerFieldBase<CodeField, CodeFieldClientWithoutType>;
18
- export type CodeFieldServerComponent = FieldServerComponent<CodeField, CodeFieldClientWithoutType, CodeFieldBaseServerProps>;
19
- export type CodeFieldClientComponent = FieldClientComponent<CodeFieldClientWithoutType, CodeFieldBaseClientProps>;
20
- export type CodeFieldLabelServerComponent = FieldLabelServerComponent<CodeField, CodeFieldClientWithoutType>;
21
- export type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>;
22
- export type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<CodeField, CodeFieldClientWithoutType>;
23
- export type CodeFieldDescriptionClientComponent = FieldDescriptionClientComponent<CodeFieldClientWithoutType>;
24
- export type CodeFieldErrorServerComponent = FieldErrorServerComponent<CodeField, CodeFieldClientWithoutType>;
25
- export type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>;
26
- export type CodeFieldDiffServerComponent = FieldDiffServerComponent<CodeField, CodeFieldClient>;
27
- export type CodeFieldDiffClientComponent = FieldDiffClientComponent<CodeFieldClient>;
18
+ export type CodeFieldLabelServerProps = FieldLabelServerProps<CodeField, CodeFieldClientWithoutType>;
19
+ export type CodeFieldLabelClientProps = FieldLabelClientProps<CodeFieldClientWithoutType>;
20
+ export type CodeFieldDescriptionServerProps = FieldDescriptionServerProps<CodeField, CodeFieldClientWithoutType>;
21
+ export type CodeFieldDescriptionClientProps = FieldDescriptionClientProps<CodeFieldClientWithoutType>;
22
+ export type CodeFieldErrorServerProps = FieldErrorServerProps<CodeField, CodeFieldClientWithoutType>;
23
+ export type CodeFieldErrorClientProps = FieldErrorClientProps<CodeFieldClientWithoutType>;
24
+ export type CodeFieldDiffServerProps = FieldDiffServerProps<CodeField, CodeFieldClient>;
25
+ export type CodeFieldDiffClientProps = FieldDiffClientProps<CodeFieldClient>;
28
26
  export {};
29
27
  //# sourceMappingURL=Code.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,m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CAAC,0BAA0B,CAAC,CAAA;AAEzD,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC,SAAS,EAAE,0BAA0B,CAAC,CAAA;AAEpG,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAAC,0BAA0B,CAAC,CAAA;AAEzF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;AAEvF,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Code.ts"],"sourcesContent":["import type { EditorProps } from '@monaco-editor/react'\nimport type { MarkOptional } from 'ts-essentials'\n\nimport type { CodeField, CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\ntype CodeFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly onMount?: EditorProps['onMount']\n readonly path: string\n readonly validate?: CodeFieldValidation\n}\n\ntype CodeFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> &\n CodeFieldBaseClientProps\n\nexport type CodeFieldServerProps = CodeFieldBaseServerProps &\n ServerFieldBase<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldServerComponent = FieldServerComponent<\n CodeField,\n CodeFieldClientWithoutType,\n CodeFieldBaseServerProps\n>\n\nexport type CodeFieldClientComponent = FieldClientComponent<\n CodeFieldClientWithoutType,\n CodeFieldBaseClientProps\n>\n\nexport type CodeFieldLabelServerComponent = FieldLabelServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorServerComponent = FieldErrorServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldDiffServerComponent = FieldDiffServerComponent<CodeField, CodeFieldClient>\n\nexport type CodeFieldDiffClientComponent = FieldDiffClientComponent<CodeFieldClient>\n"],"names":[],"mappings":"AA0EA,WAAoF"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Code.ts"],"sourcesContent":["import type { EditorProps } from '@monaco-editor/react'\nimport type { MarkOptional } from 'ts-essentials'\n\nimport type { CodeField, CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\ntype CodeFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly onMount?: EditorProps['onMount']\n readonly path: string\n readonly validate?: CodeFieldValidation\n}\n\ntype CodeFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> &\n CodeFieldBaseClientProps\n\nexport type CodeFieldServerProps = CodeFieldBaseServerProps &\n ServerFieldBase<CodeField, CodeFieldClientWithoutType>\nexport type CodeFieldLabelServerProps = FieldLabelServerProps<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldLabelClientProps = FieldLabelClientProps<CodeFieldClientWithoutType>\n\nexport type CodeFieldDescriptionServerProps = FieldDescriptionServerProps<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldDescriptionClientProps =\n FieldDescriptionClientProps<CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorServerProps = FieldErrorServerProps<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorClientProps = FieldErrorClientProps<CodeFieldClientWithoutType>\n\nexport type CodeFieldDiffServerProps = FieldDiffServerProps<CodeField, CodeFieldClient>\n\nexport type CodeFieldDiffClientProps = FieldDiffClientProps<CodeFieldClient>\n"],"names":[],"mappings":"AAkDA,WAA4E"}
@@ -1,21 +1,19 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js';
3
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
4
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
3
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
4
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
5
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
6
6
  type CollapsibleFieldBaseClientProps = FieldPaths;
7
7
  type CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>;
8
8
  export type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType> & CollapsibleFieldBaseClientProps;
9
9
  export type CollapsibleFieldServerProps = ServerFieldBase<CollapsibleField, CollapsibleFieldClientWithoutType>;
10
- export type CollapsibleFieldServerComponent = FieldServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
11
- export type CollapsibleFieldClientComponent = FieldClientComponent<CollapsibleFieldClientWithoutType, CollapsibleFieldBaseClientProps>;
12
- export type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
13
- export type CollapsibleFieldLabelClientComponent = FieldLabelClientComponent<CollapsibleFieldClientWithoutType>;
14
- export type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
15
- export type CollapsibleFieldDescriptionClientComponent = FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>;
16
- export type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
17
- export type CollapsibleFieldErrorClientComponent = FieldErrorClientComponent<CollapsibleFieldClientWithoutType>;
18
- export type CollapsibleFieldDiffServerComponent = FieldDiffServerComponent<CollapsibleField, CollapsibleFieldClient>;
19
- export type CollapsibleFieldDiffClientComponent = FieldDiffClientComponent<CollapsibleFieldClient>;
10
+ export type CollapsibleFieldLabelServerProps = FieldLabelServerProps<CollapsibleField, CollapsibleFieldClientWithoutType>;
11
+ export type CollapsibleFieldLabelClientProps = FieldLabelClientProps<CollapsibleFieldClientWithoutType>;
12
+ export type CollapsibleFieldDescriptionServerProps = FieldDescriptionServerProps<CollapsibleField, CollapsibleFieldClientWithoutType>;
13
+ export type CollapsibleFieldDescriptionClientProps = FieldDescriptionClientProps<CollapsibleFieldClientWithoutType>;
14
+ export type CollapsibleFieldErrorServerProps = FieldErrorServerProps<CollapsibleField, CollapsibleFieldClientWithoutType>;
15
+ export type CollapsibleFieldErrorClientProps = FieldErrorClientProps<CollapsibleFieldClientWithoutType>;
16
+ export type CollapsibleFieldDiffServerProps = FieldDiffServerProps<CollapsibleField, CollapsibleFieldClient>;
17
+ export type CollapsibleFieldDiffClientProps = FieldDiffClientProps<CollapsibleFieldClient>;
20
18
  export {};
21
19
  //# sourceMappingURL=Collapsible.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Collapsible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,+BAA+B,GAAG,UAAU,CAAA;AAEjD,KAAK,iCAAiC,GAAG,YAAY,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAA;AAErF,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC,iCAAiC,CAAC,GAC1F,+BAA+B,CAAA;AAEjC,MAAM,MAAM,2BAA2B,GAAG,eAAe,CACvD,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,iCAAiC,EACjC,+BAA+B,CAChC,CAAA;AAED,MAAM,MAAM,oCAAoC,GAAG,yBAAyB,CAC1E,gBAAgB,EAChB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AAEjC,MAAM,MAAM,2BAA2B,GAAG,eAAe,CACvD,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AACD,MAAM,MAAM,gCAAgC,GAAG,qBAAqB,CAClE,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,gCAAgC,GAC1C,qBAAqB,CAAC,iCAAiC,CAAC,CAAA;AAE1D,MAAM,MAAM,sCAAsC,GAAG,2BAA2B,CAC9E,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,sCAAsC,GAChD,2BAA2B,CAAC,iCAAiC,CAAC,CAAA;AAEhE,MAAM,MAAM,gCAAgC,GAAG,qBAAqB,CAClE,gBAAgB,EAChB,iCAAiC,CAClC,CAAA;AAED,MAAM,MAAM,gCAAgC,GAC1C,qBAAqB,CAAC,iCAAiC,CAAC,CAAA;AAE1D,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAChE,gBAAgB,EAChB,sBAAsB,CACvB,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Collapsible.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CollapsibleFieldBaseClientProps = FieldPaths\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType> &\n CollapsibleFieldBaseClientProps\n\nexport type CollapsibleFieldServerProps = ServerFieldBase<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldServerComponent = FieldServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldClientComponent = FieldClientComponent<\n CollapsibleFieldClientWithoutType,\n CollapsibleFieldBaseClientProps\n>\n\nexport type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldLabelClientComponent =\n FieldLabelClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldErrorClientComponent =\n FieldErrorClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDiffServerComponent = FieldDiffServerComponent<\n CollapsibleField,\n CollapsibleFieldClient\n>\n\nexport type CollapsibleFieldDiffClientComponent = FieldDiffClientComponent<CollapsibleFieldClient>\n"],"names":[],"mappings":"AAuEA,WAAkG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Collapsible.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype CollapsibleFieldBaseClientProps = FieldPaths\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType> &\n CollapsibleFieldBaseClientProps\n\nexport type CollapsibleFieldServerProps = ServerFieldBase<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\nexport type CollapsibleFieldLabelServerProps = FieldLabelServerProps<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldLabelClientProps =\n FieldLabelClientProps<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDescriptionServerProps = FieldDescriptionServerProps<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldDescriptionClientProps =\n FieldDescriptionClientProps<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldErrorServerProps = FieldErrorServerProps<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldErrorClientProps =\n FieldErrorClientProps<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDiffServerProps = FieldDiffServerProps<\n CollapsibleField,\n CollapsibleFieldClient\n>\n\nexport type CollapsibleFieldDiffClientProps = FieldDiffClientProps<CollapsibleFieldClient>\n"],"names":[],"mappings":"AAsDA,WAA0F"}
@@ -1,9 +1,9 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { DateField, DateFieldClient } from '../../fields/config/types.js';
3
3
  import type { DateFieldValidation } from '../../fields/validations.js';
4
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
4
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
5
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
6
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
7
7
  type DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>;
8
8
  type DateFieldBaseClientProps = {
9
9
  readonly path: string;
@@ -12,15 +12,13 @@ type DateFieldBaseClientProps = {
12
12
  type DateFieldBaseServerProps = Pick<FieldPaths, 'path'>;
13
13
  export type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> & DateFieldBaseClientProps;
14
14
  export type DateFieldServerProps = DateFieldBaseServerProps & ServerFieldBase<DateField, DateFieldClientWithoutType>;
15
- export type DateFieldServerComponent = FieldServerComponent<DateField, DateFieldClientWithoutType, DateFieldBaseServerProps>;
16
- export type DateFieldClientComponent = FieldClientComponent<DateFieldClientWithoutType, DateFieldBaseClientProps>;
17
- export type DateFieldLabelServerComponent = FieldLabelServerComponent<DateField, DateFieldClientWithoutType>;
18
- export type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>;
19
- export type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<DateField, DateFieldClientWithoutType>;
20
- export type DateFieldDescriptionClientComponent = FieldDescriptionClientComponent<DateFieldClientWithoutType>;
21
- export type DateFieldErrorServerComponent = FieldErrorServerComponent<DateField, DateFieldClientWithoutType>;
22
- export type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>;
23
- export type DateFieldDiffServerComponent = FieldDiffServerComponent<DateField, DateFieldClient>;
24
- export type DateFieldDiffClientComponent = FieldDiffClientComponent<DateFieldClient>;
15
+ export type DateFieldLabelServerProps = FieldLabelServerProps<DateField, DateFieldClientWithoutType>;
16
+ export type DateFieldLabelClientProps = FieldLabelClientProps<DateFieldClientWithoutType>;
17
+ export type DateFieldDescriptionServerProps = FieldDescriptionServerProps<DateField, DateFieldClientWithoutType>;
18
+ export type DateFieldDescriptionClientProps = FieldDescriptionClientProps<DateFieldClientWithoutType>;
19
+ export type DateFieldErrorServerProps = FieldErrorServerProps<DateField, DateFieldClientWithoutType>;
20
+ export type DateFieldErrorClientProps = FieldErrorClientProps<DateFieldClientWithoutType>;
21
+ export type DateFieldDiffServerProps = FieldDiffServerProps<DateField, DateFieldClient>;
22
+ export type DateFieldDiffClientProps = FieldDiffClientProps<DateFieldClient>;
25
23
  export {};
26
24
  //# sourceMappingURL=Date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Date.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;CACxC,CAAA;AAED,KAAK,wBAAwB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;AAExD,MAAM,MAAM,oBAAoB,GAAG,eA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eAAe,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Date.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { DateField, DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\ntype DateFieldBaseClientProps = {\n readonly path: string\n readonly validate?: DateFieldValidation\n}\n\ntype DateFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> &\n DateFieldBaseClientProps\n\nexport type DateFieldServerProps = DateFieldBaseServerProps &\n ServerFieldBase<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldServerComponent = FieldServerComponent<\n DateField,\n DateFieldClientWithoutType,\n DateFieldBaseServerProps\n>\n\nexport type DateFieldClientComponent = FieldClientComponent<\n DateFieldClientWithoutType,\n DateFieldBaseClientProps\n>\n\nexport type DateFieldLabelServerComponent = FieldLabelServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldErrorServerComponent = FieldErrorServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldDiffServerComponent = FieldDiffServerComponent<DateField, DateFieldClient>\n\nexport type DateFieldDiffClientComponent = FieldDiffClientComponent<DateFieldClient>\n"],"names":[],"mappings":"AAuEA,WAAoF"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Date.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { DateField, DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\ntype DateFieldBaseClientProps = {\n readonly path: string\n readonly validate?: DateFieldValidation\n}\n\ntype DateFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> &\n DateFieldBaseClientProps\n\nexport type DateFieldServerProps = DateFieldBaseServerProps &\n ServerFieldBase<DateField, DateFieldClientWithoutType>\nexport type DateFieldLabelServerProps = FieldLabelServerProps<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldLabelClientProps = FieldLabelClientProps<DateFieldClientWithoutType>\n\nexport type DateFieldDescriptionServerProps = FieldDescriptionServerProps<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldDescriptionClientProps =\n FieldDescriptionClientProps<DateFieldClientWithoutType>\n\nexport type DateFieldErrorServerProps = FieldErrorServerProps<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldErrorClientProps = FieldErrorClientProps<DateFieldClientWithoutType>\n\nexport type DateFieldDiffServerProps = FieldDiffServerProps<DateField, DateFieldClient>\n\nexport type DateFieldDiffClientProps = FieldDiffClientProps<DateFieldClient>\n"],"names":[],"mappings":"AA+CA,WAA4E"}
@@ -1,9 +1,9 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { EmailField, EmailFieldClient } from '../../fields/config/types.js';
3
3
  import type { EmailFieldValidation } from '../../fields/validations.js';
4
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
4
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
5
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
6
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
7
7
  type EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>;
8
8
  type EmailFieldBaseClientProps = {
9
9
  readonly path: string;
@@ -12,15 +12,13 @@ type EmailFieldBaseClientProps = {
12
12
  type EmailFieldBaseServerProps = Pick<FieldPaths, 'path'>;
13
13
  export type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> & EmailFieldBaseClientProps;
14
14
  export type EmailFieldServerProps = EmailFieldBaseServerProps & ServerFieldBase<EmailField, EmailFieldClientWithoutType>;
15
- export type EmailFieldServerComponent = FieldServerComponent<EmailField, EmailFieldClientWithoutType, EmailFieldBaseServerProps>;
16
- export type EmailFieldClientComponent = FieldClientComponent<EmailFieldClientWithoutType, EmailFieldBaseClientProps>;
17
- export type EmailFieldLabelServerComponent = FieldLabelServerComponent<EmailField, EmailFieldClientWithoutType>;
18
- export type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>;
19
- export type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<EmailField, EmailFieldClientWithoutType>;
20
- export type EmailFieldDescriptionClientComponent = FieldDescriptionClientComponent<EmailFieldClientWithoutType>;
21
- export type EmailFieldErrorServerComponent = FieldErrorServerComponent<EmailField, EmailFieldClientWithoutType>;
22
- export type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>;
23
- export type EmailFieldDiffServerComponent = FieldDiffServerComponent<EmailField, EmailFieldClient>;
24
- export type EmailFieldDiffClientComponent = FieldDiffClientComponent<EmailFieldClient>;
15
+ export type EmailFieldLabelServerProps = FieldLabelServerProps<EmailField, EmailFieldClientWithoutType>;
16
+ export type EmailFieldLabelClientProps = FieldLabelClientProps<EmailFieldClientWithoutType>;
17
+ export type EmailFieldDescriptionServerProps = FieldDescriptionServerProps<EmailField, EmailFieldClientWithoutType>;
18
+ export type EmailFieldDescriptionClientProps = FieldDescriptionClientProps<EmailFieldClientWithoutType>;
19
+ export type EmailFieldErrorServerProps = FieldErrorServerProps<EmailField, EmailFieldClientWithoutType>;
20
+ export type EmailFieldErrorClientProps = FieldErrorClientProps<EmailFieldClientWithoutType>;
21
+ export type EmailFieldDiffServerProps = FieldDiffServerProps<EmailField, EmailFieldClient>;
22
+ export type EmailFieldDiffClientProps = FieldDiffClientProps<EmailFieldClient>;
25
23
  export {};
26
24
  //# sourceMappingURL=Email.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Email.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,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,qBAAqB,CAC5D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC,2BAA2B,CAAC,CAAA;AAE3F,MAAM,MAAM,gCAAgC,GAAG,2BAA2B,CACxE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,gCAAgC,GAC1C,2BAA2B,CAAC,2BAA2B,CAAC,CAAA;AAE1D,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAC5D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC,2BAA2B,CAAC,CAAA;AAE3F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAA;AAE1F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Email.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { EmailField, EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\ntype EmailFieldBaseClientProps = {\n readonly path: string\n readonly validate?: EmailFieldValidation\n}\n\ntype EmailFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> &\n EmailFieldBaseClientProps\n\nexport type EmailFieldServerProps = EmailFieldBaseServerProps &\n ServerFieldBase<EmailField, EmailFieldClientWithoutType>\n\nexport type EmailFieldServerComponent = FieldServerComponent<\n EmailField,\n EmailFieldClientWithoutType,\n EmailFieldBaseServerProps\n>\n\nexport type EmailFieldClientComponent = FieldClientComponent<\n EmailFieldClientWithoutType,\n EmailFieldBaseClientProps\n>\n\nexport type EmailFieldLabelServerComponent = FieldLabelServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldErrorServerComponent = FieldErrorServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldDiffServerComponent = FieldDiffServerComponent<EmailField, EmailFieldClient>\n\nexport type EmailFieldDiffClientComponent = FieldDiffClientComponent<EmailFieldClient>\n"],"names":[],"mappings":"AAuEA,WAAsF"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Email.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { EmailField, EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\ntype EmailFieldBaseClientProps = {\n readonly path: string\n readonly validate?: EmailFieldValidation\n}\n\ntype EmailFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> &\n EmailFieldBaseClientProps\n\nexport type EmailFieldServerProps = EmailFieldBaseServerProps &\n ServerFieldBase<EmailField, EmailFieldClientWithoutType>\nexport type EmailFieldLabelServerProps = FieldLabelServerProps<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldLabelClientProps = FieldLabelClientProps<EmailFieldClientWithoutType>\n\nexport type EmailFieldDescriptionServerProps = FieldDescriptionServerProps<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldDescriptionClientProps =\n FieldDescriptionClientProps<EmailFieldClientWithoutType>\n\nexport type EmailFieldErrorServerProps = FieldErrorServerProps<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldErrorClientProps = FieldErrorClientProps<EmailFieldClientWithoutType>\n\nexport type EmailFieldDiffServerProps = FieldDiffServerProps<EmailField, EmailFieldClient>\n\nexport type EmailFieldDiffClientProps = FieldDiffClientProps<EmailFieldClient>\n"],"names":[],"mappings":"AAqDA,WAA8E"}
@@ -1,22 +1,20 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
2
  import type { GroupField, GroupFieldClient } from '../../fields/config/types.js';
3
- import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
4
- import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
5
- import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
3
+ import type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js';
4
+ import type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js';
5
+ import type { FieldDescriptionClientProps, FieldDescriptionServerProps, FieldDiffClientProps, FieldDiffServerProps, FieldLabelClientProps, FieldLabelServerProps } from '../types.js';
6
6
  type GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>;
7
7
  type GroupFieldBaseServerProps = Pick<FieldPaths, 'path'>;
8
8
  export type GroupFieldBaseClientProps = FieldPaths;
9
9
  export type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType> & GroupFieldBaseClientProps;
10
10
  export type GroupFieldServerProps = GroupFieldBaseServerProps & ServerFieldBase<GroupField, GroupFieldClientWithoutType>;
11
- export type GroupFieldServerComponent = FieldServerComponent<GroupField, GroupFieldClientWithoutType, GroupFieldBaseServerProps>;
12
- export type GroupFieldClientComponent = FieldClientComponent<GroupFieldClientWithoutType, GroupFieldBaseClientProps>;
13
- export type GroupFieldLabelServerComponent = FieldLabelServerComponent<GroupField, GroupFieldClientWithoutType>;
14
- export type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>;
15
- export type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<GroupField, GroupFieldClientWithoutType>;
16
- export type GroupFieldDescriptionClientComponent = FieldDescriptionClientComponent<GroupFieldClientWithoutType>;
17
- export type GroupFieldErrorServerComponent = FieldErrorServerComponent<GroupField, GroupFieldClientWithoutType>;
18
- export type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>;
19
- export type GroupFieldDiffServerComponent = FieldDiffServerComponent<GroupField, GroupFieldClient>;
20
- export type GroupFieldDiffClientComponent = FieldDiffClientComponent<GroupFieldClient>;
11
+ export type GroupFieldLabelServerProps = FieldLabelServerProps<GroupField, GroupFieldClientWithoutType>;
12
+ export type GroupFieldLabelClientProps = FieldLabelClientProps<GroupFieldClientWithoutType>;
13
+ export type GroupFieldDescriptionServerProps = FieldDescriptionServerProps<GroupField, GroupFieldClientWithoutType>;
14
+ export type GroupFieldDescriptionClientProps = FieldDescriptionClientProps<GroupFieldClientWithoutType>;
15
+ export type GroupFieldErrorServerProps = FieldErrorServerProps<GroupField, GroupFieldClientWithoutType>;
16
+ export type GroupFieldErrorClientProps = FieldErrorClientProps<GroupFieldClientWithoutType>;
17
+ export type GroupFieldDiffServerProps = FieldDiffServerProps<GroupField, GroupFieldClient>;
18
+ export type GroupFieldDiffClientProps = FieldDiffClientProps<GroupFieldClient>;
21
19
  export {};
22
20
  //# sourceMappingURL=Group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;AAEzD,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,GAC9E,yBAAyB,CAAA;AAE3B,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE1D,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,E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M,CAAC,CAAA;AAEzD,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAA;AAElD,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,GAC9E,yBAAyB,CAAA;AAE3B,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAC1D,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAC5D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC,2BAA2B,CAAC,CAAA;AAE3F,MAAM,MAAM,gCAAgC,GAAG,2BAA2B,CACxE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,gCAAgC,GAC1C,2BAA2B,CAAC,2BAA2B,CAAC,CAAA;AAE1D,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAC5D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,CAAC,2BAA2B,CAAC,CAAA;AAE3F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAA;AAE1F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Group.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { GroupField, GroupFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\ntype GroupFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type GroupFieldBaseClientProps = FieldPaths\n\nexport type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType> &\n GroupFieldBaseClientProps\n\nexport type GroupFieldServerProps = GroupFieldBaseServerProps &\n ServerFieldBase<GroupField, GroupFieldClientWithoutType>\n\nexport type GroupFieldServerComponent = FieldServerComponent<\n GroupField,\n GroupFieldClientWithoutType,\n GroupFieldBaseServerProps\n>\n\nexport type GroupFieldClientComponent = FieldClientComponent<\n GroupFieldClientWithoutType,\n GroupFieldBaseClientProps\n>\n\nexport type GroupFieldLabelServerComponent = FieldLabelServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldErrorServerComponent = FieldErrorServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldDiffServerComponent = FieldDiffServerComponent<GroupField, GroupFieldClient>\n\nexport type GroupFieldDiffClientComponent = FieldDiffClientComponent<GroupFieldClient>\n"],"names":[],"mappings":"AAmEA,WAAsF"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Group.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { GroupField, GroupFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientProps, FieldErrorServerProps } from '../forms/Error.js'\nimport type { ClientFieldBase, FieldPaths, ServerFieldBase } from '../forms/Field.js'\nimport type {\n FieldDescriptionClientProps,\n FieldDescriptionServerProps,\n FieldDiffClientProps,\n FieldDiffServerProps,\n FieldLabelClientProps,\n FieldLabelServerProps,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\ntype GroupFieldBaseServerProps = Pick<FieldPaths, 'path'>\n\nexport type GroupFieldBaseClientProps = FieldPaths\n\nexport type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType> &\n GroupFieldBaseClientProps\n\nexport type GroupFieldServerProps = GroupFieldBaseServerProps &\n ServerFieldBase<GroupField, GroupFieldClientWithoutType>\nexport type GroupFieldLabelServerProps = FieldLabelServerProps<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldLabelClientProps = FieldLabelClientProps<GroupFieldClientWithoutType>\n\nexport type GroupFieldDescriptionServerProps = FieldDescriptionServerProps<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldDescriptionClientProps =\n FieldDescriptionClientProps<GroupFieldClientWithoutType>\n\nexport type GroupFieldErrorServerProps = FieldErrorServerProps<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldErrorClientProps = FieldErrorClientProps<GroupFieldClientWithoutType>\n\nexport type GroupFieldDiffServerProps = FieldDiffServerProps<GroupField, GroupFieldClient>\n\nexport type GroupFieldDiffClientProps = FieldDiffClientProps<GroupFieldClient>\n"],"names":[],"mappings":"AAiDA,WAA8E"}