@getcommunity/gc-validators 0.0.288 → 0.0.289

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 (339) hide show
  1. package/dist/base/index.cjs +7 -7
  2. package/dist/base/index.d.cts +3 -3
  3. package/dist/base/index.d.mts +3 -3
  4. package/dist/base/index.mjs +3 -4
  5. package/dist/boolean-BwqaNE9c.cjs +23 -0
  6. package/dist/boolean-cJxcC8gC.mjs +10 -0
  7. package/dist/components/shared/index.cjs +22 -22
  8. package/dist/components/shared/index.mjs +22 -22
  9. package/dist/constants/index.cjs +2 -2
  10. package/dist/constants/index.mjs +2 -2
  11. package/dist/{document-DZnOyFC3.d.cts → document-CPHhI3jF.d.cts} +1 -1
  12. package/dist/{document-Bs5gh1PK.d.mts → document-DHJf5HxE.d.mts} +1 -1
  13. package/dist/entities/audit-log/mutation.cjs +3 -3
  14. package/dist/entities/audit-log/mutation.mjs +3 -3
  15. package/dist/entities/audit-log/query.cjs +30 -18
  16. package/dist/entities/audit-log/query.d.cts +44 -16
  17. package/dist/entities/audit-log/query.d.mts +44 -16
  18. package/dist/entities/audit-log/query.mjs +29 -19
  19. package/dist/entities/blog-post/fields.cjs +1 -1
  20. package/dist/entities/blog-post/fields.mjs +1 -1
  21. package/dist/entities/blog-post/query.cjs +38 -9
  22. package/dist/entities/blog-post/query.d.cts +47 -5
  23. package/dist/entities/blog-post/query.d.mts +47 -5
  24. package/dist/entities/blog-post/query.mjs +34 -7
  25. package/dist/entities/category/mutation.cjs +1 -1
  26. package/dist/entities/category/mutation.mjs +1 -1
  27. package/dist/entities/category/query.cjs +14 -4
  28. package/dist/entities/category/query.d.cts +13 -3
  29. package/dist/entities/category/query.d.mts +13 -3
  30. package/dist/entities/category/query.mjs +14 -5
  31. package/dist/entities/client/document.cjs +1 -1
  32. package/dist/entities/client/document.d.cts +1 -1
  33. package/dist/entities/client/document.d.mts +1 -1
  34. package/dist/entities/client/document.mjs +1 -1
  35. package/dist/entities/client/fields.cjs +3 -1
  36. package/dist/entities/client/fields.d.cts +3 -1
  37. package/dist/entities/client/fields.d.mts +3 -1
  38. package/dist/entities/client/fields.mjs +3 -2
  39. package/dist/entities/client/mutation.cjs +1 -1
  40. package/dist/entities/client/mutation.mjs +1 -1
  41. package/dist/entities/client/query.cjs +28 -14
  42. package/dist/entities/client/query.d.cts +2 -23
  43. package/dist/entities/client/query.d.mts +2 -23
  44. package/dist/entities/client/query.mjs +28 -16
  45. package/dist/entities/client-content-pillar/document.cjs +1 -1
  46. package/dist/entities/client-content-pillar/document.d.cts +1 -1
  47. package/dist/entities/client-content-pillar/document.d.mts +1 -1
  48. package/dist/entities/client-content-pillar/document.mjs +1 -1
  49. package/dist/entities/client-content-pillar/mutation.cjs +1 -1
  50. package/dist/entities/client-content-pillar/mutation.mjs +1 -1
  51. package/dist/entities/client-content-pillar/query.cjs +3 -20
  52. package/dist/entities/client-content-pillar/query.d.cts +2 -16
  53. package/dist/entities/client-content-pillar/query.d.mts +2 -16
  54. package/dist/entities/client-content-pillar/query.mjs +2 -18
  55. package/dist/entities/client-media-platform/document.cjs +1 -1
  56. package/dist/entities/client-media-platform/document.d.cts +1 -1
  57. package/dist/entities/client-media-platform/document.d.mts +1 -1
  58. package/dist/entities/client-media-platform/document.mjs +1 -1
  59. package/dist/entities/client-media-platform/mutation.cjs +1 -1
  60. package/dist/entities/client-media-platform/mutation.mjs +1 -1
  61. package/dist/entities/client-media-platform/query.cjs +3 -22
  62. package/dist/entities/client-media-platform/query.d.cts +2 -17
  63. package/dist/entities/client-media-platform/query.d.mts +2 -17
  64. package/dist/entities/client-media-platform/query.mjs +2 -20
  65. package/dist/entities/client-project/document.cjs +1 -1
  66. package/dist/entities/client-project/document.d.cts +1 -1
  67. package/dist/entities/client-project/document.d.mts +1 -1
  68. package/dist/entities/client-project/document.mjs +1 -1
  69. package/dist/entities/client-project/mutation.cjs +4 -4
  70. package/dist/entities/client-project/mutation.mjs +4 -4
  71. package/dist/entities/client-project/query.cjs +37 -26
  72. package/dist/entities/client-project/query.d.cts +66 -19
  73. package/dist/entities/client-project/query.d.mts +66 -19
  74. package/dist/entities/client-project/query.mjs +35 -27
  75. package/dist/entities/client-report/document.cjs +1 -1
  76. package/dist/entities/client-report/document.d.cts +1 -1
  77. package/dist/entities/client-report/document.d.mts +1 -1
  78. package/dist/entities/client-report/document.mjs +1 -1
  79. package/dist/entities/client-report/mutation.cjs +1 -1
  80. package/dist/entities/client-report/mutation.mjs +1 -1
  81. package/dist/entities/client-report/query.cjs +24 -10
  82. package/dist/entities/client-report/query.d.cts +37 -8
  83. package/dist/entities/client-report/query.d.mts +37 -8
  84. package/dist/entities/client-report/query.mjs +23 -11
  85. package/dist/entities/client-styleguide/document.cjs +1 -1
  86. package/dist/entities/client-styleguide/document.d.cts +1 -1
  87. package/dist/entities/client-styleguide/document.d.mts +1 -1
  88. package/dist/entities/client-styleguide/document.mjs +1 -1
  89. package/dist/entities/client-styleguide/mutation.cjs +1 -1
  90. package/dist/entities/client-styleguide/mutation.mjs +1 -1
  91. package/dist/entities/client-styleguide/query.cjs +17 -7
  92. package/dist/entities/client-styleguide/query.d.cts +15 -5
  93. package/dist/entities/client-styleguide/query.d.mts +15 -5
  94. package/dist/entities/client-styleguide/query.mjs +17 -8
  95. package/dist/entities/client-user/document.cjs +1 -1
  96. package/dist/entities/client-user/document.d.cts +1 -1
  97. package/dist/entities/client-user/document.d.mts +1 -1
  98. package/dist/entities/client-user/document.mjs +1 -1
  99. package/dist/entities/client-user/fields.cjs +2 -0
  100. package/dist/entities/client-user/fields.d.cts +2 -2
  101. package/dist/entities/client-user/fields.d.mts +2 -2
  102. package/dist/entities/client-user/fields.mjs +2 -1
  103. package/dist/entities/client-user/mutation.cjs +1 -1
  104. package/dist/entities/client-user/mutation.d.cts +1 -1
  105. package/dist/entities/client-user/mutation.d.mts +1 -1
  106. package/dist/entities/client-user/mutation.mjs +1 -1
  107. package/dist/entities/client-user/query.cjs +3 -13
  108. package/dist/entities/client-user/query.d.cts +2 -11
  109. package/dist/entities/client-user/query.d.mts +2 -11
  110. package/dist/entities/client-user/query.mjs +2 -11
  111. package/dist/entities/comment/query.cjs +2 -2
  112. package/dist/entities/comment/query.mjs +2 -2
  113. package/dist/entities/content-pillar/document.cjs +1 -1
  114. package/dist/entities/content-pillar/document.d.cts +1 -1
  115. package/dist/entities/content-pillar/document.d.mts +1 -1
  116. package/dist/entities/content-pillar/document.mjs +1 -1
  117. package/dist/entities/content-pillar/mutation.cjs +1 -1
  118. package/dist/entities/content-pillar/mutation.mjs +1 -1
  119. package/dist/entities/content-pillar/query.cjs +3 -17
  120. package/dist/entities/content-pillar/query.d.cts +2 -14
  121. package/dist/entities/content-pillar/query.d.mts +2 -14
  122. package/dist/entities/content-pillar/query.mjs +2 -15
  123. package/dist/entities/gcflytour/document.cjs +1 -1
  124. package/dist/entities/gcflytour/document.d.cts +1 -1
  125. package/dist/entities/gcflytour/document.d.mts +1 -1
  126. package/dist/entities/gcflytour/document.mjs +1 -1
  127. package/dist/entities/gcflytour/mutation.cjs +1 -1
  128. package/dist/entities/gcflytour/mutation.mjs +1 -1
  129. package/dist/entities/gcflytour/query.cjs +3 -20
  130. package/dist/entities/gcflytour/query.d.cts +2 -16
  131. package/dist/entities/gcflytour/query.d.mts +2 -16
  132. package/dist/entities/gcflytour/query.mjs +2 -18
  133. package/dist/entities/gcflytour-snap/document.cjs +1 -1
  134. package/dist/entities/gcflytour-snap/document.d.cts +1 -1
  135. package/dist/entities/gcflytour-snap/document.d.mts +1 -1
  136. package/dist/entities/gcflytour-snap/document.mjs +1 -1
  137. package/dist/entities/gcflytour-snap/mutation.cjs +1 -1
  138. package/dist/entities/gcflytour-snap/mutation.mjs +1 -1
  139. package/dist/entities/gcflytour-snap/query.cjs +3 -21
  140. package/dist/entities/gcflytour-snap/query.d.cts +2 -17
  141. package/dist/entities/gcflytour-snap/query.d.mts +2 -17
  142. package/dist/entities/gcflytour-snap/query.mjs +2 -19
  143. package/dist/entities/lead/mutation.cjs +2 -2
  144. package/dist/entities/lead/mutation.mjs +2 -2
  145. package/dist/entities/media-content-type/document.cjs +1 -1
  146. package/dist/entities/media-content-type/document.d.cts +1 -1
  147. package/dist/entities/media-content-type/document.d.mts +1 -1
  148. package/dist/entities/media-content-type/document.mjs +1 -1
  149. package/dist/entities/media-content-type/mutation.cjs +1 -1
  150. package/dist/entities/media-content-type/mutation.mjs +1 -1
  151. package/dist/entities/media-content-type/query.cjs +3 -22
  152. package/dist/entities/media-content-type/query.d.cts +2 -18
  153. package/dist/entities/media-content-type/query.d.mts +2 -18
  154. package/dist/entities/media-content-type/query.mjs +2 -20
  155. package/dist/entities/media-creative-format/document.cjs +1 -1
  156. package/dist/entities/media-creative-format/document.d.cts +1 -1
  157. package/dist/entities/media-creative-format/document.d.mts +1 -1
  158. package/dist/entities/media-creative-format/document.mjs +1 -1
  159. package/dist/entities/media-creative-format/mutation.cjs +1 -1
  160. package/dist/entities/media-creative-format/mutation.mjs +1 -1
  161. package/dist/entities/media-creative-format/query.cjs +3 -20
  162. package/dist/entities/media-creative-format/query.d.cts +2 -16
  163. package/dist/entities/media-creative-format/query.d.mts +2 -16
  164. package/dist/entities/media-creative-format/query.mjs +2 -18
  165. package/dist/entities/media-medium/document.cjs +1 -1
  166. package/dist/entities/media-medium/document.d.cts +1 -1
  167. package/dist/entities/media-medium/document.d.mts +1 -1
  168. package/dist/entities/media-medium/document.mjs +1 -1
  169. package/dist/entities/media-medium/mutation.cjs +1 -1
  170. package/dist/entities/media-medium/mutation.mjs +1 -1
  171. package/dist/entities/media-medium/query.cjs +3 -21
  172. package/dist/entities/media-medium/query.d.cts +2 -17
  173. package/dist/entities/media-medium/query.d.mts +2 -17
  174. package/dist/entities/media-medium/query.mjs +2 -19
  175. package/dist/entities/media-platform/document.cjs +1 -1
  176. package/dist/entities/media-platform/document.d.cts +1 -1
  177. package/dist/entities/media-platform/document.d.mts +1 -1
  178. package/dist/entities/media-platform/document.mjs +1 -1
  179. package/dist/entities/media-platform/mutation.cjs +2 -2
  180. package/dist/entities/media-platform/mutation.mjs +2 -2
  181. package/dist/entities/media-platform/query.cjs +3 -25
  182. package/dist/entities/media-platform/query.d.cts +2 -20
  183. package/dist/entities/media-platform/query.d.mts +2 -20
  184. package/dist/entities/media-platform/query.mjs +2 -23
  185. package/dist/entities/monday-workspace/document.cjs +1 -1
  186. package/dist/entities/monday-workspace/document.d.cts +1 -1
  187. package/dist/entities/monday-workspace/document.d.mts +1 -1
  188. package/dist/entities/monday-workspace/document.mjs +1 -1
  189. package/dist/entities/monday-workspace/mutation.cjs +1 -1
  190. package/dist/entities/monday-workspace/mutation.mjs +1 -1
  191. package/dist/entities/monday-workspace/query.cjs +16 -6
  192. package/dist/entities/monday-workspace/query.d.cts +15 -4
  193. package/dist/entities/monday-workspace/query.d.mts +15 -4
  194. package/dist/entities/monday-workspace/query.mjs +16 -7
  195. package/dist/entities/newsletter-signup/mutation.cjs +2 -2
  196. package/dist/entities/newsletter-signup/mutation.mjs +2 -2
  197. package/dist/entities/product-highlight/document.cjs +1 -1
  198. package/dist/entities/product-highlight/document.d.cts +1 -1
  199. package/dist/entities/product-highlight/document.d.mts +1 -1
  200. package/dist/entities/product-highlight/document.mjs +1 -1
  201. package/dist/entities/resume/mutation.cjs +3 -3
  202. package/dist/entities/resume/mutation.mjs +3 -3
  203. package/dist/entities/sharpspring/mutation.cjs +1 -1
  204. package/dist/entities/sharpspring/mutation.mjs +1 -1
  205. package/dist/entities/tag/mutation.cjs +1 -1
  206. package/dist/entities/tag/mutation.mjs +1 -1
  207. package/dist/entities/tag/query.cjs +14 -4
  208. package/dist/entities/tag/query.d.cts +13 -3
  209. package/dist/entities/tag/query.d.mts +13 -3
  210. package/dist/entities/tag/query.mjs +14 -5
  211. package/dist/entities/team-member/query.cjs +25 -9
  212. package/dist/entities/team-member/query.d.cts +54 -7
  213. package/dist/entities/team-member/query.d.mts +54 -7
  214. package/dist/entities/team-member/query.mjs +23 -10
  215. package/dist/entities/teamwork/query.cjs +1 -2
  216. package/dist/entities/teamwork/query.mjs +1 -2
  217. package/dist/entities/trend/mutation.cjs +1 -1
  218. package/dist/entities/trend/mutation.mjs +1 -1
  219. package/dist/entities/up-auth/mutation.cjs +1 -1
  220. package/dist/entities/up-auth/mutation.d.cts +1 -1
  221. package/dist/entities/up-auth/mutation.d.mts +1 -1
  222. package/dist/entities/up-auth/mutation.mjs +1 -1
  223. package/dist/entities/up-permission/document.cjs +1 -1
  224. package/dist/entities/up-permission/document.d.cts +1 -1
  225. package/dist/entities/up-permission/document.d.mts +1 -1
  226. package/dist/entities/up-permission/document.mjs +1 -1
  227. package/dist/entities/up-permission/fields.cjs +7 -0
  228. package/dist/entities/up-permission/fields.d.cts +2 -0
  229. package/dist/entities/up-permission/fields.d.mts +2 -0
  230. package/dist/entities/up-permission/fields.mjs +6 -0
  231. package/dist/entities/up-role/document.cjs +1 -1
  232. package/dist/entities/up-role/document.d.cts +1 -1
  233. package/dist/entities/up-role/document.d.mts +1 -1
  234. package/dist/entities/up-role/document.mjs +1 -1
  235. package/dist/entities/up-role/query.cjs +20 -0
  236. package/dist/entities/up-role/query.d.cts +2 -0
  237. package/dist/entities/up-role/query.d.mts +2 -0
  238. package/dist/entities/up-role/query.mjs +18 -0
  239. package/dist/entities/up-user/document.cjs +1 -1
  240. package/dist/entities/up-user/document.d.cts +1 -1
  241. package/dist/entities/up-user/document.d.mts +1 -1
  242. package/dist/entities/up-user/document.mjs +1 -1
  243. package/dist/entities/up-user/fields.cjs +2 -1
  244. package/dist/entities/up-user/fields.mjs +1 -1
  245. package/dist/entities/up-user/mutation.cjs +1 -1
  246. package/dist/entities/up-user/mutation.mjs +1 -1
  247. package/dist/entities/up-user/query.cjs +4 -20
  248. package/dist/entities/up-user/query.d.cts +2 -17
  249. package/dist/entities/up-user/query.d.mts +2 -17
  250. package/dist/entities/up-user/query.mjs +2 -17
  251. package/dist/entities/url-redirect/query.cjs +26 -3
  252. package/dist/entities/url-redirect/query.d.cts +54 -3
  253. package/dist/entities/url-redirect/query.d.mts +54 -3
  254. package/dist/entities/url-redirect/query.mjs +23 -3
  255. package/dist/entities/user-account/document.cjs +1 -1
  256. package/dist/entities/user-account/document.d.cts +1 -1
  257. package/dist/entities/user-account/document.d.mts +1 -1
  258. package/dist/entities/user-account/document.mjs +1 -1
  259. package/dist/entities/user-account/mutation.cjs +1 -1
  260. package/dist/entities/user-account/mutation.mjs +1 -1
  261. package/dist/entities/user-account/query.cjs +1 -1
  262. package/dist/entities/user-account/query.d.cts +1 -1
  263. package/dist/entities/user-account/query.d.mts +1 -1
  264. package/dist/entities/user-account/query.mjs +1 -1
  265. package/dist/entities/utm-link-builder/mutation.cjs +2 -2
  266. package/dist/entities/utm-link-builder/mutation.mjs +2 -2
  267. package/dist/entities/utm-tracking-link/document.cjs +1 -1
  268. package/dist/entities/utm-tracking-link/document.d.cts +1 -1
  269. package/dist/entities/utm-tracking-link/document.d.mts +1 -1
  270. package/dist/entities/utm-tracking-link/document.mjs +1 -1
  271. package/dist/entities/utm-tracking-link/fields.cjs +1 -1
  272. package/dist/entities/utm-tracking-link/fields.mjs +1 -1
  273. package/dist/entities/utm-tracking-link/mutation.cjs +2 -2
  274. package/dist/entities/utm-tracking-link/mutation.mjs +2 -2
  275. package/dist/entities/utm-tracking-link/query.cjs +33 -25
  276. package/dist/entities/utm-tracking-link/query.d.cts +31 -21
  277. package/dist/entities/utm-tracking-link/query.d.mts +31 -21
  278. package/dist/entities/utm-tracking-link/query.mjs +33 -26
  279. package/dist/fields-BoIWv7BD.d.mts +25 -0
  280. package/dist/{fields-BNrM_SmR.d.cts → fields-CPhXlK2H.d.cts} +3 -1
  281. package/dist/{fields-BNrM_SmR.d.mts → fields-CPhXlK2H.d.mts} +3 -1
  282. package/dist/fields-DaAvm6kj.d.cts +25 -0
  283. package/dist/filters/index.cjs +174 -0
  284. package/dist/filters/index.d.cts +110 -0
  285. package/dist/filters/index.d.mts +110 -0
  286. package/dist/filters/index.mjs +149 -0
  287. package/dist/identifier-CXlBnKdk.mjs +72 -0
  288. package/dist/identifier-Dmax1xo2.cjs +175 -0
  289. package/dist/{index-DHHJwRNf.d.mts → index-BKBU3KSE.d.mts} +2 -0
  290. package/dist/index-BgZbDm41.d.cts +406 -0
  291. package/dist/index-BgZbDm41.d.mts +406 -0
  292. package/dist/{index-zDQP0gcQ.d.cts → index-C4ndicLs.d.cts} +2 -0
  293. package/dist/logical-operators-Bku8NPDs.cjs +24 -0
  294. package/dist/logical-operators-C0-wSK0P.mjs +17 -0
  295. package/dist/null-operators-CyK5Nxn3.cjs +96 -0
  296. package/dist/null-operators-DvwH8j8n.mjs +47 -0
  297. package/dist/permissions/index.d.cts +2 -2
  298. package/dist/permissions/index.d.mts +2 -2
  299. package/dist/picklist-DMZjp2EE.cjs +29 -0
  300. package/dist/picklist-DayZlSoN.mjs +16 -0
  301. package/dist/query-9J5wmu64.d.mts +52 -0
  302. package/dist/query-BFgNXzID.mjs +50 -0
  303. package/dist/{query-DPFgSbu5.d.cts → query-BOv5YhYc.d.cts} +16 -1
  304. package/dist/query-BPwlZCZP.d.cts +57 -0
  305. package/dist/{query-DPFgSbu5.d.mts → query-BQkvCQDy.d.mts} +16 -1
  306. package/dist/{query-Bflh6Vd8.mjs → query-B_Kr4diZ.mjs} +16 -5
  307. package/dist/query-BdS6AzQM.d.mts +122 -0
  308. package/dist/query-BiM_LW7b.d.cts +52 -0
  309. package/dist/query-BkrbXapq.mjs +55 -0
  310. package/dist/query-C1EUVVMT.cjs +172 -0
  311. package/dist/query-CQEN_HJN.mjs +111 -0
  312. package/dist/query-CSOBMIJi.mjs +44 -0
  313. package/dist/query-CTqyKcbH.cjs +86 -0
  314. package/dist/query-CbCFSDNP.d.cts +46 -0
  315. package/dist/query-Ck2SJ88F.d.cts +35 -0
  316. package/dist/query-DHuJnqmE.d.mts +57 -0
  317. package/dist/query-DIQPfsSq.d.cts +51 -0
  318. package/dist/query-DQvrkaL2.d.mts +51 -0
  319. package/dist/query-D_xMsBEz.cjs +69 -0
  320. package/dist/query-DlpZHcIM.d.mts +46 -0
  321. package/dist/query-DzgCwtIj.d.mts +35 -0
  322. package/dist/query-PKg23GyY.d.cts +122 -0
  323. package/dist/{query-iF2acn2f.cjs → query-okrI1jn4.cjs} +21 -4
  324. package/dist/query-v1y5ioJw.cjs +75 -0
  325. package/dist/{relationships-fCFeEt1G.mjs → relationships-BFmesnzw.mjs} +8 -2
  326. package/dist/{relationships-yGO2L8BR.cjs → relationships-BjJkIfbK.cjs} +34 -4
  327. package/dist/string-By4lqNB3.cjs +53 -0
  328. package/dist/string-CHEFvHQa.mjs +36 -0
  329. package/dist/utilities/index.d.cts +2 -2
  330. package/dist/utilities/index.d.mts +2 -2
  331. package/dist/validators/index.cjs +5 -5
  332. package/dist/validators/index.mjs +5 -5
  333. package/package.json +15 -2
  334. package/dist/strapi-B79JabkQ.cjs +0 -34
  335. package/dist/strapi-BgfOZjWn.mjs +0 -9
  336. package/dist/{document-u7wNZghX.mjs → document-D8qKQkPt.mjs} +1 -1
  337. package/dist/{document-DdrgMt8B.cjs → document-DmlmGzg1.cjs} +1 -1
  338. package/dist/{utm-B6km5JHd.mjs → utm-Bt8jPpRI.mjs} +1 -1
  339. package/dist/{utm-DxODH4Ry.cjs → utm-Dt4mu8AU.cjs} +1 -1
@@ -0,0 +1,406 @@
1
+ import * as v from "valibot";
2
+
3
+ //#region src/filters/primitives/types.d.ts
4
+ type Simplify<T> = { [TKey in keyof T]: T[TKey] } & {};
5
+ type StrapiFilterEntries = Record<string, v.GenericSchema>;
6
+ type StrapiStrictFilterObjectInput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferInput<TEntries[TKey]> }>>;
7
+ type StrapiStrictFilterObjectOutput<TEntries extends StrapiFilterEntries> = Simplify<Partial<{ [TKey in keyof TEntries]: v.InferOutput<TEntries[TKey]> }>>;
8
+ type StrapiStrictFilterObjectSchema<TEntries extends StrapiFilterEntries> = v.GenericSchema<StrapiStrictFilterObjectInput<TEntries>, StrapiStrictFilterObjectOutput<TEntries>>;
9
+ type StrapiLogicalFilter<TFields extends object> = TFields & {
10
+ $and?: StrapiLogicalFilter<TFields>[];
11
+ $not?: StrapiLogicalFilter<TFields>;
12
+ $or?: StrapiLogicalFilter<TFields>[];
13
+ };
14
+ //#endregion
15
+ //#region src/filters/generics/boolean.d.ts
16
+ declare const BooleanFilterValue: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
17
+ type BooleanFilterValue = v.InferOutput<typeof BooleanFilterValue>;
18
+ declare const BooleanFilter: StrapiStrictFilterObjectSchema<{
19
+ readonly $notNull: v.LiteralSchema<true, undefined>;
20
+ readonly $null: v.LiteralSchema<true, undefined>;
21
+ readonly $eq: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
22
+ readonly $ne: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
23
+ } & {
24
+ readonly $not: StrapiStrictFilterObjectSchema<{
25
+ readonly $notNull: v.LiteralSchema<true, undefined>;
26
+ readonly $null: v.LiteralSchema<true, undefined>;
27
+ readonly $eq: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
28
+ readonly $ne: v.UnionSchema<[v.BooleanSchema<undefined>], undefined>;
29
+ }>;
30
+ }>;
31
+ type BooleanFilter = v.InferOutput<typeof BooleanFilter>;
32
+ //#endregion
33
+ //#region src/filters/generics/date-time.d.ts
34
+ declare const DateFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
35
+ type DateFilterValue = v.InferOutput<typeof DateFilterValue>;
36
+ declare const TimeFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
37
+ type TimeFilterValue = v.InferOutput<typeof TimeFilterValue>;
38
+ declare const DateTimeFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
39
+ type DateTimeFilterValue = v.InferOutput<typeof DateTimeFilterValue>;
40
+ declare const DateFilter: StrapiStrictFilterObjectSchema<{
41
+ readonly $notNull: v.LiteralSchema<true, undefined>;
42
+ readonly $null: v.LiteralSchema<true, undefined>;
43
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
44
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
45
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
46
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
47
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
48
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
49
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
50
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
51
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
52
+ } & {
53
+ readonly $not: StrapiStrictFilterObjectSchema<{
54
+ readonly $notNull: v.LiteralSchema<true, undefined>;
55
+ readonly $null: v.LiteralSchema<true, undefined>;
56
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
57
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
58
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
59
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
60
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
61
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
62
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
63
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
64
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
65
+ }>;
66
+ }>;
67
+ type DateFilter = v.InferOutput<typeof DateFilter>;
68
+ declare const TimeFilter: StrapiStrictFilterObjectSchema<{
69
+ readonly $notNull: v.LiteralSchema<true, undefined>;
70
+ readonly $null: v.LiteralSchema<true, undefined>;
71
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
72
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
73
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
74
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
75
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
76
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
77
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
78
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
79
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
80
+ } & {
81
+ readonly $not: StrapiStrictFilterObjectSchema<{
82
+ readonly $notNull: v.LiteralSchema<true, undefined>;
83
+ readonly $null: v.LiteralSchema<true, undefined>;
84
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
85
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
86
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
87
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
88
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
89
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
90
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
91
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
92
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
93
+ }>;
94
+ }>;
95
+ type TimeFilter = v.InferOutput<typeof TimeFilter>;
96
+ declare const DateTimeFilter: StrapiStrictFilterObjectSchema<{
97
+ readonly $notNull: v.LiteralSchema<true, undefined>;
98
+ readonly $null: v.LiteralSchema<true, undefined>;
99
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
100
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
101
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
102
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
103
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
104
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
105
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
106
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
107
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
108
+ } & {
109
+ readonly $not: StrapiStrictFilterObjectSchema<{
110
+ readonly $notNull: v.LiteralSchema<true, undefined>;
111
+ readonly $null: v.LiteralSchema<true, undefined>;
112
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>], undefined>;
113
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
114
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
115
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
116
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
117
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
118
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
119
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
120
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.CheckAction<string, undefined>]>], undefined>, v.TransformAction<string, string>]>;
121
+ }>;
122
+ }>;
123
+ type DateTimeFilter = v.InferOutput<typeof DateTimeFilter>;
124
+ //#endregion
125
+ //#region src/filters/generics/identifier.d.ts
126
+ declare const IdFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
127
+ type IdFilterValue = v.InferOutput<typeof IdFilterValue>;
128
+ declare const IdFilter: StrapiStrictFilterObjectSchema<{
129
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
130
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
131
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
132
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
133
+ } & {
134
+ readonly $not: StrapiStrictFilterObjectSchema<{
135
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
136
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>, undefined>, v.MinLengthAction<(string | number)[], 1, undefined>]>;
137
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
138
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, undefined>]>], undefined>]>;
139
+ }>;
140
+ }>;
141
+ type IdFilter = v.InferOutput<typeof IdFilter>;
142
+ declare const DocumentIdFilter: StrapiStrictFilterObjectSchema<{
143
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
144
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
145
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
146
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
147
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
148
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
149
+ } & {
150
+ readonly $not: StrapiStrictFilterObjectSchema<{
151
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
152
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
153
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
154
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
155
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
156
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
157
+ }>;
158
+ }>;
159
+ type DocumentIdFilter = v.InferOutput<typeof DocumentIdFilter>;
160
+ declare const SlugFilter: StrapiStrictFilterObjectSchema<{
161
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
162
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
163
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
164
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
165
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
166
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
167
+ } & {
168
+ readonly $not: StrapiStrictFilterObjectSchema<{
169
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
170
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
171
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
172
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
173
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
174
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
175
+ }>;
176
+ }>;
177
+ type SlugFilter = v.InferOutput<typeof SlugFilter>;
178
+ declare const EmailFilter: StrapiStrictFilterObjectSchema<{
179
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
180
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
181
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
182
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
183
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
184
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
185
+ } & {
186
+ readonly $not: StrapiStrictFilterObjectSchema<{
187
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
188
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
189
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
190
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
191
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
192
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
193
+ }>;
194
+ }>;
195
+ type EmailFilter = v.InferOutput<typeof EmailFilter>;
196
+ declare const UrlFilter: StrapiStrictFilterObjectSchema<{
197
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
198
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
199
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
200
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
201
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
202
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
203
+ } & {
204
+ readonly $not: StrapiStrictFilterObjectSchema<{
205
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
206
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
207
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
208
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
209
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
210
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
211
+ }>;
212
+ }>;
213
+ type UrlFilter = v.InferOutput<typeof UrlFilter>;
214
+ //#endregion
215
+ //#region src/filters/generics/number.d.ts
216
+ declare const NUMBER_STRING_PATTERN: RegExp;
217
+ declare const NumberFilterValue: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
218
+ type NumberFilterValue = v.InferOutput<typeof NumberFilterValue>;
219
+ declare const IntegerFilterValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
220
+ type IntegerFilterValue = v.InferOutput<typeof IntegerFilterValue>;
221
+ declare const NumberFilter: StrapiStrictFilterObjectSchema<{
222
+ readonly $notNull: v.LiteralSchema<true, undefined>;
223
+ readonly $null: v.LiteralSchema<true, undefined>;
224
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
225
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
226
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
227
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
228
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
229
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
230
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
231
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
232
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
233
+ } & {
234
+ readonly $not: StrapiStrictFilterObjectSchema<{
235
+ readonly $notNull: v.LiteralSchema<true, undefined>;
236
+ readonly $null: v.LiteralSchema<true, undefined>;
237
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>], undefined>;
238
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
239
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
240
+ readonly $gt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
241
+ readonly $gte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
242
+ readonly $lt: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
243
+ readonly $lte: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
244
+ readonly $eq: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
245
+ readonly $ne: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>;
246
+ }>;
247
+ }>;
248
+ type NumberFilter = v.InferOutput<typeof NumberFilter>;
249
+ declare const IntegerFilter: StrapiStrictFilterObjectSchema<{
250
+ readonly $notNull: v.LiteralSchema<true, undefined>;
251
+ readonly $null: v.LiteralSchema<true, undefined>;
252
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
253
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
254
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
255
+ readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
256
+ readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
257
+ readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
258
+ readonly $lte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
259
+ readonly $eq: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
260
+ readonly $ne: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
261
+ } & {
262
+ readonly $not: StrapiStrictFilterObjectSchema<{
263
+ readonly $notNull: v.LiteralSchema<true, undefined>;
264
+ readonly $null: v.LiteralSchema<true, undefined>;
265
+ readonly $between: v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>], undefined>;
266
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
267
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>, undefined>, v.MinLengthAction<number[], 1, undefined>]>;
268
+ readonly $gt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
269
+ readonly $gte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
270
+ readonly $lt: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
271
+ readonly $lte: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
272
+ readonly $eq: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
273
+ readonly $ne: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>], undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>]>;
274
+ }>;
275
+ }>;
276
+ type IntegerFilter = v.InferOutput<typeof IntegerFilter>;
277
+ //#endregion
278
+ //#region src/filters/generics/picklist.d.ts
279
+ declare const createPicklistFilter: <const TValue extends v.GenericSchema>(value: TValue) => StrapiStrictFilterObjectSchema<{
280
+ readonly $notNull: v.LiteralSchema<true, undefined>;
281
+ readonly $null: v.LiteralSchema<true, undefined>;
282
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
283
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
284
+ readonly $eq: TValue;
285
+ readonly $ne: TValue;
286
+ } & {
287
+ readonly $not: StrapiStrictFilterObjectSchema<{
288
+ readonly $notNull: v.LiteralSchema<true, undefined>;
289
+ readonly $null: v.LiteralSchema<true, undefined>;
290
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
291
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
292
+ readonly $eq: TValue;
293
+ readonly $ne: TValue;
294
+ }>;
295
+ }>;
296
+ declare const createPicklistArrayFilter: <const TValue extends v.GenericSchema>(value: TValue) => StrapiStrictFilterObjectSchema<{
297
+ readonly $notNull: v.LiteralSchema<true, undefined>;
298
+ readonly $null: v.LiteralSchema<true, undefined>;
299
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
300
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
301
+ readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
302
+ readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
303
+ } & {
304
+ readonly $not: StrapiStrictFilterObjectSchema<{
305
+ readonly $notNull: v.LiteralSchema<true, undefined>;
306
+ readonly $null: v.LiteralSchema<true, undefined>;
307
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
308
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
309
+ readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
310
+ readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<TValue, undefined>, v.MinLengthAction<v.InferOutput<TValue>[], 1, undefined>]>;
311
+ }>;
312
+ }>;
313
+ //#endregion
314
+ //#region src/filters/generics/string.d.ts
315
+ declare const StringFilter: StrapiStrictFilterObjectSchema<{
316
+ readonly $notNull: v.LiteralSchema<true, undefined>;
317
+ readonly $null: v.LiteralSchema<true, undefined>;
318
+ readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
319
+ readonly $containsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
320
+ readonly $endsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
321
+ readonly $endsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
322
+ readonly $notContains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
323
+ readonly $notContainsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
324
+ readonly $startsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
325
+ readonly $startsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
326
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
327
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
328
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
329
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
330
+ } & {
331
+ readonly $not: StrapiStrictFilterObjectSchema<{
332
+ readonly $notNull: v.LiteralSchema<true, undefined>;
333
+ readonly $null: v.LiteralSchema<true, undefined>;
334
+ readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
335
+ readonly $containsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
336
+ readonly $endsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
337
+ readonly $endsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
338
+ readonly $notContains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
339
+ readonly $notContainsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
340
+ readonly $startsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
341
+ readonly $startsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
342
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
343
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
344
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
345
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
346
+ }>;
347
+ }>;
348
+ type StringFilter = v.InferOutput<typeof StringFilter>;
349
+ declare const LongStringFilter: StrapiStrictFilterObjectSchema<{
350
+ readonly $notNull: v.LiteralSchema<true, undefined>;
351
+ readonly $null: v.LiteralSchema<true, undefined>;
352
+ readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
353
+ readonly $containsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
354
+ readonly $endsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
355
+ readonly $endsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
356
+ readonly $notContains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
357
+ readonly $notContainsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
358
+ readonly $startsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
359
+ readonly $startsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
360
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
361
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
362
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
363
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
364
+ } & {
365
+ readonly $not: StrapiStrictFilterObjectSchema<{
366
+ readonly $notNull: v.LiteralSchema<true, undefined>;
367
+ readonly $null: v.LiteralSchema<true, undefined>;
368
+ readonly $contains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
369
+ readonly $containsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
370
+ readonly $endsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
371
+ readonly $endsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
372
+ readonly $notContains: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
373
+ readonly $notContainsi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
374
+ readonly $startsWith: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
375
+ readonly $startsWithi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
376
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
377
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
378
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
379
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
380
+ }>;
381
+ }>;
382
+ type LongStringFilter = v.InferOutput<typeof LongStringFilter>;
383
+ declare const ExactStringFilter: StrapiStrictFilterObjectSchema<{
384
+ readonly $notNull: v.LiteralSchema<true, undefined>;
385
+ readonly $null: v.LiteralSchema<true, undefined>;
386
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
387
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
388
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
389
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
390
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
391
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
392
+ } & {
393
+ readonly $not: StrapiStrictFilterObjectSchema<{
394
+ readonly $notNull: v.LiteralSchema<true, undefined>;
395
+ readonly $null: v.LiteralSchema<true, undefined>;
396
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
397
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
398
+ readonly $eqi: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
399
+ readonly $nei: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
400
+ readonly $eq: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
401
+ readonly $ne: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
402
+ }>;
403
+ }>;
404
+ type ExactStringFilter = v.InferOutput<typeof ExactStringFilter>;
405
+ //#endregion
406
+ export { BooleanFilter as C, StrapiStrictFilterObjectSchema as E, TimeFilterValue as S, StrapiLogicalFilter as T, DateFilter as _, createPicklistFilter as a, DateTimeFilterValue as b, NUMBER_STRING_PATTERN as c, DocumentIdFilter as d, EmailFilter as f, UrlFilter as g, SlugFilter as h, createPicklistArrayFilter as i, NumberFilter as l, IdFilterValue as m, LongStringFilter as n, IntegerFilter as o, IdFilter as p, StringFilter as r, IntegerFilterValue as s, ExactStringFilter as t, NumberFilterValue as u, DateFilterValue as v, BooleanFilterValue as w, TimeFilter as x, DateTimeFilter as y };
@@ -1,3 +1,4 @@
1
+ import { s as FilterStrapiBase } from "./query-BOv5YhYc.cjs";
1
2
  import { t as JsonData } from "./json-Ygk2txLN.cjs";
2
3
  import * as v from "valibot";
3
4
 
@@ -66,6 +67,7 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
66
67
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
67
68
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
68
69
  readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
70
+ readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBase>, undefined>;
69
71
  }, undefined>;
70
72
  type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
71
73
  //#endregion
@@ -0,0 +1,24 @@
1
+ const require_chunk = require("./chunk-D6vf50IK.cjs");
2
+ const require_null_operators = require("./null-operators-CyK5Nxn3.cjs");
3
+ let valibot = require("valibot");
4
+ valibot = require_chunk.__toESM(valibot, 1);
5
+ //#region src/filters/primitives/logical-operators.ts
6
+ const createStrapiLogicalFilterEntries = (filter) => ({
7
+ $and: valibot.pipe(valibot.array(filter), valibot.minLength(1)),
8
+ $not: filter,
9
+ $or: valibot.pipe(valibot.array(filter), valibot.minLength(1))
10
+ });
11
+ const createStrapiFilterSchema = (fieldEntries) => {
12
+ const Filter = valibot.lazy(() => require_null_operators.createStrapiStrictFilterObject({
13
+ ...fieldEntries,
14
+ ...createStrapiLogicalFilterEntries(Filter)
15
+ }));
16
+ return Filter;
17
+ };
18
+ //#endregion
19
+ Object.defineProperty(exports, "createStrapiFilterSchema", {
20
+ enumerable: true,
21
+ get: function() {
22
+ return createStrapiFilterSchema;
23
+ }
24
+ });
@@ -0,0 +1,17 @@
1
+ import { a as createStrapiStrictFilterObject } from "./null-operators-DvwH8j8n.mjs";
2
+ import * as v from "valibot";
3
+ //#region src/filters/primitives/logical-operators.ts
4
+ const createStrapiLogicalFilterEntries = (filter) => ({
5
+ $and: v.pipe(v.array(filter), v.minLength(1)),
6
+ $not: filter,
7
+ $or: v.pipe(v.array(filter), v.minLength(1))
8
+ });
9
+ const createStrapiFilterSchema = (fieldEntries) => {
10
+ const Filter = v.lazy(() => createStrapiStrictFilterObject({
11
+ ...fieldEntries,
12
+ ...createStrapiLogicalFilterEntries(Filter)
13
+ }));
14
+ return Filter;
15
+ };
16
+ //#endregion
17
+ export { createStrapiFilterSchema as t };
@@ -0,0 +1,96 @@
1
+ const require_chunk = require("./chunk-D6vf50IK.cjs");
2
+ let valibot = require("valibot");
3
+ valibot = require_chunk.__toESM(valibot, 1);
4
+ //#region src/filters/primitives/comparison-operators.ts
5
+ const createStrapiEqualityOperatorEntries = (value) => ({
6
+ $eq: value,
7
+ $ne: value
8
+ });
9
+ const createStrapiCaseInsensitiveEqualityOperatorEntries = (value) => ({
10
+ $eqi: value,
11
+ $nei: value
12
+ });
13
+ const createStrapiOrderedComparisonOperatorEntries = (value) => ({
14
+ $gt: value,
15
+ $gte: value,
16
+ $lt: value,
17
+ $lte: value
18
+ });
19
+ //#endregion
20
+ //#region src/filters/primitives/strict-filter-object.ts
21
+ const hasDefinedEntry = (input) => Object.values(input).some((value) => value !== void 0);
22
+ const optionalEntries = (entries) => Object.fromEntries(Object.entries(entries).map(([key, schema]) => [key, valibot.optional(schema)]));
23
+ const createStrapiStrictFilterObject = (entries) => valibot.pipe(valibot.strictObject(optionalEntries(entries)), valibot.check((input) => hasDefinedEntry(input), "Please provide at least one filter condition."));
24
+ //#endregion
25
+ //#region src/filters/primitives/field-operators.ts
26
+ const createStrapiOperatorSchema = (entries) => createStrapiStrictFilterObject(entries);
27
+ const createStrapiFieldOperatorSchema = (entries) => createStrapiStrictFilterObject({
28
+ ...entries,
29
+ $not: createStrapiOperatorSchema(entries)
30
+ });
31
+ //#endregion
32
+ //#region src/filters/primitives/membership-operators.ts
33
+ const createStrapiArrayMembershipOperatorEntries = (value) => ({
34
+ $in: valibot.pipe(valibot.array(value), valibot.minLength(1)),
35
+ $notIn: valibot.pipe(valibot.array(value), valibot.minLength(1))
36
+ });
37
+ const createStrapiBetweenOperatorEntries = (value) => ({ $between: valibot.strictTuple([value, value]) });
38
+ const createStrapiMembershipOperatorEntries = (value) => ({
39
+ ...createStrapiArrayMembershipOperatorEntries(value),
40
+ ...createStrapiBetweenOperatorEntries(value)
41
+ });
42
+ //#endregion
43
+ //#region src/filters/primitives/null-operators.ts
44
+ const StrapiNullOperatorEntries = {
45
+ $notNull: valibot.literal(true),
46
+ $null: valibot.literal(true)
47
+ };
48
+ //#endregion
49
+ Object.defineProperty(exports, "StrapiNullOperatorEntries", {
50
+ enumerable: true,
51
+ get: function() {
52
+ return StrapiNullOperatorEntries;
53
+ }
54
+ });
55
+ Object.defineProperty(exports, "createStrapiArrayMembershipOperatorEntries", {
56
+ enumerable: true,
57
+ get: function() {
58
+ return createStrapiArrayMembershipOperatorEntries;
59
+ }
60
+ });
61
+ Object.defineProperty(exports, "createStrapiCaseInsensitiveEqualityOperatorEntries", {
62
+ enumerable: true,
63
+ get: function() {
64
+ return createStrapiCaseInsensitiveEqualityOperatorEntries;
65
+ }
66
+ });
67
+ Object.defineProperty(exports, "createStrapiEqualityOperatorEntries", {
68
+ enumerable: true,
69
+ get: function() {
70
+ return createStrapiEqualityOperatorEntries;
71
+ }
72
+ });
73
+ Object.defineProperty(exports, "createStrapiFieldOperatorSchema", {
74
+ enumerable: true,
75
+ get: function() {
76
+ return createStrapiFieldOperatorSchema;
77
+ }
78
+ });
79
+ Object.defineProperty(exports, "createStrapiMembershipOperatorEntries", {
80
+ enumerable: true,
81
+ get: function() {
82
+ return createStrapiMembershipOperatorEntries;
83
+ }
84
+ });
85
+ Object.defineProperty(exports, "createStrapiOrderedComparisonOperatorEntries", {
86
+ enumerable: true,
87
+ get: function() {
88
+ return createStrapiOrderedComparisonOperatorEntries;
89
+ }
90
+ });
91
+ Object.defineProperty(exports, "createStrapiStrictFilterObject", {
92
+ enumerable: true,
93
+ get: function() {
94
+ return createStrapiStrictFilterObject;
95
+ }
96
+ });