@getcommunity/gc-validators 0.0.287 → 0.0.288-alpha.1

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 (279) hide show
  1. package/dist/base/index.cjs +6 -7
  2. package/dist/base/index.d.cts +1 -1
  3. package/dist/base/index.d.mts +1 -1
  4. package/dist/base/index.mjs +2 -3
  5. package/dist/boolean-BwqaNE9c.cjs +23 -0
  6. package/dist/boolean-cJxcC8gC.mjs +10 -0
  7. package/dist/constants/index.d.cts +1 -1
  8. package/dist/constants/index.d.mts +1 -1
  9. package/dist/{document-Cv0UyYmb.d.cts → document-CPHhI3jF.d.cts} +118 -19
  10. package/dist/{document-Cxhs9JXi.d.mts → document-DHJf5HxE.d.mts} +118 -19
  11. package/dist/entities/audit-log/mutation.cjs +1 -1
  12. package/dist/entities/audit-log/mutation.mjs +1 -1
  13. package/dist/entities/audit-log/query.cjs +29 -18
  14. package/dist/entities/audit-log/query.d.cts +64 -16
  15. package/dist/entities/audit-log/query.d.mts +64 -16
  16. package/dist/entities/audit-log/query.mjs +28 -19
  17. package/dist/entities/blog-post/fields.cjs +1 -1
  18. package/dist/entities/blog-post/fields.mjs +1 -1
  19. package/dist/entities/blog-post/query.cjs +32 -7
  20. package/dist/entities/blog-post/query.d.cts +60 -5
  21. package/dist/entities/blog-post/query.d.mts +60 -5
  22. package/dist/entities/blog-post/query.mjs +29 -6
  23. package/dist/entities/category/mutation.cjs +1 -1
  24. package/dist/entities/category/mutation.mjs +1 -1
  25. package/dist/entities/category/query.cjs +13 -4
  26. package/dist/entities/category/query.d.cts +19 -3
  27. package/dist/entities/category/query.d.mts +19 -3
  28. package/dist/entities/category/query.mjs +13 -5
  29. package/dist/entities/client/document.d.cts +1 -1
  30. package/dist/entities/client/document.d.mts +1 -1
  31. package/dist/entities/client/fields.cjs +3 -1
  32. package/dist/entities/client/fields.d.cts +3 -1
  33. package/dist/entities/client/fields.d.mts +3 -1
  34. package/dist/entities/client/fields.mjs +3 -2
  35. package/dist/entities/client/mutation.cjs +1 -1
  36. package/dist/entities/client/mutation.mjs +1 -1
  37. package/dist/entities/client/query.cjs +27 -14
  38. package/dist/entities/client/query.d.cts +2 -23
  39. package/dist/entities/client/query.d.mts +2 -23
  40. package/dist/entities/client/query.mjs +27 -16
  41. package/dist/entities/client-content-pillar/document.d.cts +1 -1
  42. package/dist/entities/client-content-pillar/document.d.mts +1 -1
  43. package/dist/entities/client-content-pillar/mutation.cjs +1 -1
  44. package/dist/entities/client-content-pillar/mutation.mjs +1 -1
  45. package/dist/entities/client-content-pillar/query.cjs +3 -20
  46. package/dist/entities/client-content-pillar/query.d.cts +2 -16
  47. package/dist/entities/client-content-pillar/query.d.mts +2 -16
  48. package/dist/entities/client-content-pillar/query.mjs +2 -18
  49. package/dist/entities/client-media-platform/document.d.cts +1 -1
  50. package/dist/entities/client-media-platform/document.d.mts +1 -1
  51. package/dist/entities/client-media-platform/mutation.cjs +1 -1
  52. package/dist/entities/client-media-platform/mutation.mjs +1 -1
  53. package/dist/entities/client-media-platform/query.cjs +3 -22
  54. package/dist/entities/client-media-platform/query.d.cts +2 -17
  55. package/dist/entities/client-media-platform/query.d.mts +2 -17
  56. package/dist/entities/client-media-platform/query.mjs +2 -20
  57. package/dist/entities/client-project/document.d.cts +1 -1
  58. package/dist/entities/client-project/document.d.mts +1 -1
  59. package/dist/entities/client-project/mutation.cjs +2 -2
  60. package/dist/entities/client-project/mutation.mjs +2 -2
  61. package/dist/entities/client-project/query.cjs +36 -26
  62. package/dist/entities/client-project/query.d.cts +89 -19
  63. package/dist/entities/client-project/query.d.mts +89 -19
  64. package/dist/entities/client-project/query.mjs +34 -27
  65. package/dist/entities/client-report/document.d.cts +1 -1
  66. package/dist/entities/client-report/document.d.mts +1 -1
  67. package/dist/entities/client-report/mutation.cjs +1 -1
  68. package/dist/entities/client-report/mutation.mjs +1 -1
  69. package/dist/entities/client-report/query.cjs +23 -10
  70. package/dist/entities/client-report/query.d.cts +49 -8
  71. package/dist/entities/client-report/query.d.mts +49 -8
  72. package/dist/entities/client-report/query.mjs +22 -11
  73. package/dist/entities/client-styleguide/document.d.cts +1 -1
  74. package/dist/entities/client-styleguide/document.d.mts +1 -1
  75. package/dist/entities/client-styleguide/mutation.cjs +1 -1
  76. package/dist/entities/client-styleguide/mutation.mjs +1 -1
  77. package/dist/entities/client-styleguide/query.cjs +16 -7
  78. package/dist/entities/client-styleguide/query.d.cts +22 -5
  79. package/dist/entities/client-styleguide/query.d.mts +22 -5
  80. package/dist/entities/client-styleguide/query.mjs +16 -8
  81. package/dist/entities/client-user/document.d.cts +1 -1
  82. package/dist/entities/client-user/document.d.mts +1 -1
  83. package/dist/entities/client-user/fields.cjs +2 -0
  84. package/dist/entities/client-user/fields.d.cts +2 -2
  85. package/dist/entities/client-user/fields.d.mts +2 -2
  86. package/dist/entities/client-user/fields.mjs +2 -1
  87. package/dist/entities/client-user/mutation.cjs +1 -1
  88. package/dist/entities/client-user/mutation.d.cts +1 -1
  89. package/dist/entities/client-user/mutation.d.mts +1 -1
  90. package/dist/entities/client-user/mutation.mjs +1 -1
  91. package/dist/entities/client-user/query.cjs +3 -13
  92. package/dist/entities/client-user/query.d.cts +2 -11
  93. package/dist/entities/client-user/query.d.mts +2 -11
  94. package/dist/entities/client-user/query.mjs +2 -11
  95. package/dist/entities/content-pillar/document.d.cts +1 -1
  96. package/dist/entities/content-pillar/document.d.mts +1 -1
  97. package/dist/entities/content-pillar/mutation.cjs +1 -1
  98. package/dist/entities/content-pillar/mutation.mjs +1 -1
  99. package/dist/entities/content-pillar/query.cjs +3 -17
  100. package/dist/entities/content-pillar/query.d.cts +2 -14
  101. package/dist/entities/content-pillar/query.d.mts +2 -14
  102. package/dist/entities/content-pillar/query.mjs +2 -15
  103. package/dist/entities/formatter/constants.d.cts +1 -1
  104. package/dist/entities/formatter/constants.d.mts +1 -1
  105. package/dist/entities/formatter/fields.d.cts +4 -4
  106. package/dist/entities/formatter/fields.d.mts +4 -4
  107. package/dist/entities/gcflytour/document.d.cts +1 -1
  108. package/dist/entities/gcflytour/document.d.mts +1 -1
  109. package/dist/entities/gcflytour/mutation.cjs +1 -1
  110. package/dist/entities/gcflytour/mutation.mjs +1 -1
  111. package/dist/entities/gcflytour/query.cjs +3 -20
  112. package/dist/entities/gcflytour/query.d.cts +2 -16
  113. package/dist/entities/gcflytour/query.d.mts +2 -16
  114. package/dist/entities/gcflytour/query.mjs +2 -18
  115. package/dist/entities/gcflytour-snap/document.d.cts +1 -1
  116. package/dist/entities/gcflytour-snap/document.d.mts +1 -1
  117. package/dist/entities/gcflytour-snap/mutation.cjs +1 -1
  118. package/dist/entities/gcflytour-snap/mutation.mjs +1 -1
  119. package/dist/entities/gcflytour-snap/query.cjs +3 -21
  120. package/dist/entities/gcflytour-snap/query.d.cts +2 -17
  121. package/dist/entities/gcflytour-snap/query.d.mts +2 -17
  122. package/dist/entities/gcflytour-snap/query.mjs +2 -19
  123. package/dist/entities/lead/mutation.cjs +1 -1
  124. package/dist/entities/lead/mutation.mjs +1 -1
  125. package/dist/entities/media-content-type/document.d.cts +1 -1
  126. package/dist/entities/media-content-type/document.d.mts +1 -1
  127. package/dist/entities/media-content-type/mutation.cjs +1 -1
  128. package/dist/entities/media-content-type/mutation.mjs +1 -1
  129. package/dist/entities/media-content-type/query.cjs +3 -22
  130. package/dist/entities/media-content-type/query.d.cts +2 -18
  131. package/dist/entities/media-content-type/query.d.mts +2 -18
  132. package/dist/entities/media-content-type/query.mjs +2 -20
  133. package/dist/entities/media-creative-format/document.d.cts +1 -1
  134. package/dist/entities/media-creative-format/document.d.mts +1 -1
  135. package/dist/entities/media-creative-format/mutation.cjs +1 -1
  136. package/dist/entities/media-creative-format/mutation.mjs +1 -1
  137. package/dist/entities/media-creative-format/query.cjs +3 -20
  138. package/dist/entities/media-creative-format/query.d.cts +2 -16
  139. package/dist/entities/media-creative-format/query.d.mts +2 -16
  140. package/dist/entities/media-creative-format/query.mjs +2 -18
  141. package/dist/entities/media-medium/document.d.cts +1 -1
  142. package/dist/entities/media-medium/document.d.mts +1 -1
  143. package/dist/entities/media-medium/mutation.cjs +1 -1
  144. package/dist/entities/media-medium/mutation.mjs +1 -1
  145. package/dist/entities/media-medium/query.cjs +3 -21
  146. package/dist/entities/media-medium/query.d.cts +2 -17
  147. package/dist/entities/media-medium/query.d.mts +2 -17
  148. package/dist/entities/media-medium/query.mjs +2 -19
  149. package/dist/entities/media-platform/document.d.cts +1 -1
  150. package/dist/entities/media-platform/document.d.mts +1 -1
  151. package/dist/entities/media-platform/mutation.cjs +1 -1
  152. package/dist/entities/media-platform/mutation.mjs +1 -1
  153. package/dist/entities/media-platform/query.cjs +3 -25
  154. package/dist/entities/media-platform/query.d.cts +2 -20
  155. package/dist/entities/media-platform/query.d.mts +2 -20
  156. package/dist/entities/media-platform/query.mjs +2 -23
  157. package/dist/entities/monday-workspace/document.d.cts +1 -1
  158. package/dist/entities/monday-workspace/document.d.mts +1 -1
  159. package/dist/entities/monday-workspace/mutation.cjs +1 -1
  160. package/dist/entities/monday-workspace/mutation.mjs +1 -1
  161. package/dist/entities/monday-workspace/query.cjs +15 -6
  162. package/dist/entities/monday-workspace/query.d.cts +22 -4
  163. package/dist/entities/monday-workspace/query.d.mts +22 -4
  164. package/dist/entities/monday-workspace/query.mjs +15 -7
  165. package/dist/entities/newsletter-signup/mutation.cjs +1 -1
  166. package/dist/entities/newsletter-signup/mutation.mjs +1 -1
  167. package/dist/entities/product-highlight/document.d.cts +1 -1
  168. package/dist/entities/product-highlight/document.d.mts +1 -1
  169. package/dist/entities/resume/mutation.cjs +1 -1
  170. package/dist/entities/resume/mutation.mjs +1 -1
  171. package/dist/entities/tag/mutation.cjs +1 -1
  172. package/dist/entities/tag/mutation.mjs +1 -1
  173. package/dist/entities/tag/query.cjs +13 -4
  174. package/dist/entities/tag/query.d.cts +19 -3
  175. package/dist/entities/tag/query.d.mts +19 -3
  176. package/dist/entities/tag/query.mjs +13 -5
  177. package/dist/entities/team-member/query.cjs +24 -9
  178. package/dist/entities/team-member/query.d.cts +66 -7
  179. package/dist/entities/team-member/query.d.mts +66 -7
  180. package/dist/entities/team-member/query.mjs +22 -10
  181. package/dist/entities/teamwork/query.cjs +0 -1
  182. package/dist/entities/teamwork/query.mjs +0 -1
  183. package/dist/entities/trend/mutation.cjs +1 -1
  184. package/dist/entities/trend/mutation.mjs +1 -1
  185. package/dist/entities/up-auth/mutation.d.cts +1 -103
  186. package/dist/entities/up-auth/mutation.d.mts +1 -103
  187. package/dist/entities/up-permission/document.d.cts +1 -1
  188. package/dist/entities/up-permission/document.d.mts +1 -1
  189. package/dist/entities/up-permission/fields.cjs +7 -0
  190. package/dist/entities/up-permission/fields.d.cts +2 -0
  191. package/dist/entities/up-permission/fields.d.mts +2 -0
  192. package/dist/entities/up-permission/fields.mjs +6 -0
  193. package/dist/entities/up-role/document.d.cts +1 -1
  194. package/dist/entities/up-role/document.d.mts +1 -1
  195. package/dist/entities/up-role/query.cjs +19 -0
  196. package/dist/entities/up-role/query.d.cts +2 -0
  197. package/dist/entities/up-role/query.d.mts +2 -0
  198. package/dist/entities/up-role/query.mjs +17 -0
  199. package/dist/entities/up-user/document.d.cts +1 -1
  200. package/dist/entities/up-user/document.d.mts +1 -1
  201. package/dist/entities/up-user/query.cjs +4 -20
  202. package/dist/entities/up-user/query.d.cts +2 -17
  203. package/dist/entities/up-user/query.d.mts +2 -17
  204. package/dist/entities/up-user/query.mjs +2 -17
  205. package/dist/entities/url-redirect/query.cjs +25 -3
  206. package/dist/entities/url-redirect/query.d.cts +64 -3
  207. package/dist/entities/url-redirect/query.d.mts +64 -3
  208. package/dist/entities/url-redirect/query.mjs +22 -3
  209. package/dist/entities/user-account/document.d.cts +1 -1
  210. package/dist/entities/user-account/document.d.mts +1 -1
  211. package/dist/entities/user-account/mutation.cjs +1 -1
  212. package/dist/entities/user-account/mutation.mjs +1 -1
  213. package/dist/entities/user-account/query.cjs +1 -1
  214. package/dist/entities/user-account/query.mjs +1 -1
  215. package/dist/entities/utm-link-builder/mutation.cjs +1 -1
  216. package/dist/entities/utm-link-builder/mutation.mjs +1 -1
  217. package/dist/entities/utm-tracking-link/document.d.cts +1 -1
  218. package/dist/entities/utm-tracking-link/document.d.mts +1 -1
  219. package/dist/entities/utm-tracking-link/mutation.cjs +1 -1
  220. package/dist/entities/utm-tracking-link/mutation.mjs +1 -1
  221. package/dist/entities/utm-tracking-link/query.cjs +32 -25
  222. package/dist/entities/utm-tracking-link/query.d.cts +53 -21
  223. package/dist/entities/utm-tracking-link/query.d.mts +53 -21
  224. package/dist/entities/utm-tracking-link/query.mjs +32 -26
  225. package/dist/fields-BN1MQEFa.d.mts +25 -0
  226. package/dist/{fields-BNrM_SmR.d.cts → fields-CPhXlK2H.d.cts} +3 -1
  227. package/dist/{fields-BNrM_SmR.d.mts → fields-CPhXlK2H.d.mts} +3 -1
  228. package/dist/fields-KhJJEwDn.d.cts +25 -0
  229. package/dist/filters/index.cjs +173 -0
  230. package/dist/filters/index.d.cts +110 -0
  231. package/dist/filters/index.d.mts +110 -0
  232. package/dist/filters/index.mjs +148 -0
  233. package/dist/{index-DHHJwRNf.d.mts → index-26DCj3kM.d.mts} +6 -6
  234. package/dist/index-CJnvK9aa.d.cts +395 -0
  235. package/dist/index-CJoIbrN-.d.mts +395 -0
  236. package/dist/index-CstRGKNl.d.cts +10 -0
  237. package/dist/index-CstRGKNl.d.mts +10 -0
  238. package/dist/{index-zDQP0gcQ.d.cts → index-RcVef_Z2.d.cts} +6 -6
  239. package/dist/logical-operators-Bku8NPDs.cjs +24 -0
  240. package/dist/logical-operators-C0-wSK0P.mjs +17 -0
  241. package/dist/null-operators-CyK5Nxn3.cjs +96 -0
  242. package/dist/null-operators-DvwH8j8n.mjs +47 -0
  243. package/dist/permissions/index.d.cts +2 -2
  244. package/dist/permissions/index.d.mts +2 -2
  245. package/dist/picklist-DMZjp2EE.cjs +29 -0
  246. package/dist/picklist-DayZlSoN.mjs +16 -0
  247. package/dist/query-7_zddNOX.d.mts +68 -0
  248. package/dist/query-9XKj-s81.d.mts +75 -0
  249. package/dist/query-CI3ZWJqL2.cjs +74 -0
  250. package/dist/query-CI5JQhH_.d.cts +73 -0
  251. package/dist/query-CY7W3BZ5.mjs +49 -0
  252. package/dist/query-CeillfBr.d.cts +35 -0
  253. package/dist/query-CgWG7dSl.mjs +43 -0
  254. package/dist/query-CtCcNIyW.d.cts +75 -0
  255. package/dist/query-CyYPluP3.d.mts +73 -0
  256. package/dist/query-D1mBqALL.cjs +68 -0
  257. package/dist/query-DD39dkbH.d.cts +174 -0
  258. package/dist/query-DVcH4-JK.cjs +171 -0
  259. package/dist/query-DZdytwSD.d.cts +61 -0
  260. package/dist/query-Do-3hcZD.d.mts +35 -0
  261. package/dist/{query-iF2acn2f.cjs → query-DqwF7V2G.cjs} +1 -1
  262. package/dist/{query-Bflh6Vd8.mjs → query-DuuwYQWE.mjs} +1 -1
  263. package/dist/query-Q18zizCQ.mjs +110 -0
  264. package/dist/query-Wt8Cx9OF.mjs +54 -0
  265. package/dist/query-emzTCCDq.d.mts +174 -0
  266. package/dist/query-qb1G3OKt.cjs +85 -0
  267. package/dist/query-vsyN6YiK.d.mts +61 -0
  268. package/dist/query-y7Fuj2mF.d.cts +68 -0
  269. package/dist/{relationships-yGO2L8BR.cjs → relationships-B7XakNhb.cjs} +34 -4
  270. package/dist/{relationships-fCFeEt1G.mjs → relationships-DYr9eF1a.mjs} +8 -2
  271. package/dist/string-DnXY8Tir.cjs +227 -0
  272. package/dist/string-cbk3BUGq.mjs +106 -0
  273. package/dist/utilities/index.d.cts +2 -3
  274. package/dist/utilities/index.d.mts +2 -3
  275. package/dist/validators/index.cjs +2 -2
  276. package/dist/validators/index.mjs +2 -2
  277. package/package.json +20 -6
  278. package/dist/strapi-B79JabkQ.cjs +0 -34
  279. package/dist/strapi-BgfOZjWn.mjs +0 -9
@@ -1,31 +1,63 @@
1
+ import { C as BooleanFilter, d as DocumentIdFilter, n as LongStringFilter, p as IdFilter, y as DateTimeFilter } from "../../index-CJoIbrN-.mjs";
2
+ import { n as FilterStrapiClients } from "../../query-7_zddNOX.mjs";
3
+ import { r as FilterStrapiUsers } from "../../query-9XKj-s81.mjs";
1
4
  import * as v from "valibot";
2
5
 
3
6
  //#region src/entities/utm-tracking-link/query.d.ts
7
+ declare const FilterStrapiUtmTrackingLinks: v.GenericSchema<{
8
+ id?: IdFilter;
9
+ documentId?: DocumentIdFilter;
10
+ createdAt?: DateTimeFilter;
11
+ updatedAt?: DateTimeFilter;
12
+ url_destination?: LongStringFilter;
13
+ utm_medium?: LongStringFilter;
14
+ utm_source?: LongStringFilter;
15
+ utm_campaign?: LongStringFilter;
16
+ utm_content?: LongStringFilter;
17
+ utm_creative_format?: LongStringFilter;
18
+ utm_id?: LongStringFilter;
19
+ campaign_phase?: LongStringFilter;
20
+ campaign_product?: LongStringFilter;
21
+ campaign_targeting?: LongStringFilter;
22
+ campaign_key?: LongStringFilter;
23
+ creative_format?: LongStringFilter;
24
+ creative_format_variants?: LongStringFilter;
25
+ url?: LongStringFilter;
26
+ is_active?: BooleanFilter;
27
+ notes?: LongStringFilter;
28
+ creator?: FilterStrapiUsers;
29
+ client?: FilterStrapiClients;
30
+ }>;
31
+ type FilterStrapiUtmTrackingLinks = v.InferOutput<typeof FilterStrapiUtmTrackingLinks>;
4
32
  declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
5
33
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
6
34
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
7
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
8
- readonly creator_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
9
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
10
- readonly users: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
11
- readonly url_destination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>, undefined>;
12
- readonly utm_medium: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
13
- readonly utm_source: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
14
- readonly utm_campaign: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
15
- readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
16
- readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
17
- readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
18
- readonly campaign_phase: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
19
- readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
20
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
21
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
22
- readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
23
- readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
24
- readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>, undefined>;
25
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
26
- readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
27
35
  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>;
36
+ readonly f: v.OptionalSchema<v.GenericSchema<{
37
+ id?: IdFilter;
38
+ documentId?: DocumentIdFilter;
39
+ createdAt?: DateTimeFilter;
40
+ updatedAt?: DateTimeFilter;
41
+ url_destination?: LongStringFilter;
42
+ utm_medium?: LongStringFilter;
43
+ utm_source?: LongStringFilter;
44
+ utm_campaign?: LongStringFilter;
45
+ utm_content?: LongStringFilter;
46
+ utm_creative_format?: LongStringFilter;
47
+ utm_id?: LongStringFilter;
48
+ campaign_phase?: LongStringFilter;
49
+ campaign_product?: LongStringFilter;
50
+ campaign_targeting?: LongStringFilter;
51
+ campaign_key?: LongStringFilter;
52
+ creative_format?: LongStringFilter;
53
+ creative_format_variants?: LongStringFilter;
54
+ url?: LongStringFilter;
55
+ is_active?: BooleanFilter;
56
+ notes?: LongStringFilter;
57
+ creator?: FilterStrapiUsers;
58
+ client?: FilterStrapiClients;
59
+ }>, undefined>;
28
60
  }, undefined>;
29
61
  type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
30
62
  //#endregion
31
- export { QueryStrapiSearchUtmTrackingLinks };
63
+ export { FilterStrapiUtmTrackingLinks, QueryStrapiSearchUtmTrackingLinks };
@@ -1,35 +1,41 @@
1
1
  import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
2
2
  import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
3
- import { s as VStringShort } from "../../string-v2gu3xz0.mjs";
4
- import { c as QueryManyEntities } from "../../relationships-fCFeEt1G.mjs";
5
- import { n as VStringUrlUtm, t as VStringUrlNoUtm } from "../../utm-B6km5JHd.mjs";
6
- import { ValidUtmCampaign, ValidUtmContent, ValidUtmCreativeFormat, ValidUtmId, ValidUtmMedium, ValidUtmSource } from "./fields.mjs";
3
+ import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
4
+ import { _ as DateTimeFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter } from "../../string-cbk3BUGq.mjs";
5
+ import { t as BooleanFilter } from "../../boolean-cJxcC8gC.mjs";
6
+ import { FilterStrapiClients } from "../client/query.mjs";
7
+ import { r as FilterStrapiUsers } from "../../query-Wt8Cx9OF.mjs";
7
8
  import * as v from "valibot";
8
9
  //#region src/entities/utm-tracking-link/query.ts
10
+ const FilterStrapiUtmTrackingLinks = createStrapiFilterSchema({
11
+ id: IdFilter,
12
+ documentId: DocumentIdFilter,
13
+ createdAt: DateTimeFilter,
14
+ updatedAt: DateTimeFilter,
15
+ url_destination: LongStringFilter,
16
+ utm_medium: LongStringFilter,
17
+ utm_source: LongStringFilter,
18
+ utm_campaign: LongStringFilter,
19
+ utm_content: LongStringFilter,
20
+ utm_creative_format: LongStringFilter,
21
+ utm_id: LongStringFilter,
22
+ campaign_phase: LongStringFilter,
23
+ campaign_product: LongStringFilter,
24
+ campaign_targeting: LongStringFilter,
25
+ campaign_key: LongStringFilter,
26
+ creative_format: LongStringFilter,
27
+ creative_format_variants: LongStringFilter,
28
+ url: LongStringFilter,
29
+ is_active: BooleanFilter,
30
+ notes: LongStringFilter,
31
+ creator: v.optional(v.lazy(() => FilterStrapiUsers)),
32
+ client: v.optional(v.lazy(() => FilterStrapiClients))
33
+ });
9
34
  const QueryStrapiSearchUtmTrackingLinks = v.object({
10
35
  page: VPage(),
11
36
  size: VSize(),
12
- client_id: v.optional(VStringShort()),
13
- creator_id: v.optional(VStringShort()),
14
- clients: v.optional(QueryManyEntities),
15
- users: v.optional(QueryManyEntities),
16
- url_destination: v.optional(VStringUrlNoUtm()),
17
- utm_medium: v.optional(ValidUtmSource),
18
- utm_source: v.optional(ValidUtmMedium),
19
- utm_campaign: v.optional(ValidUtmCampaign),
20
- utm_content: v.optional(ValidUtmContent),
21
- utm_creative_format: v.optional(ValidUtmCreativeFormat),
22
- utm_id: v.optional(ValidUtmId),
23
- campaign_phase: v.optional(VStringShort(0)),
24
- campaign_product: v.optional(VStringShort(0)),
25
- campaign_targeting: v.optional(VStringShort(0)),
26
- campaign_key: v.optional(VStringShort(0)),
27
- creative_format: v.optional(VStringShort(0)),
28
- creative_format_variants: v.optional(v.array(VStringShort())),
29
- url: v.optional(VStringUrlUtm()),
30
- is_active: v.optional(v.boolean()),
31
- notes: v.optional(VStringShort(0)),
32
- sort: v.optional(QuerySortValues)
37
+ sort: v.optional(QuerySortValues),
38
+ f: v.optional(FilterStrapiUtmTrackingLinks)
33
39
  });
34
40
  //#endregion
35
- export { QueryStrapiSearchUtmTrackingLinks };
41
+ export { FilterStrapiUtmTrackingLinks, QueryStrapiSearchUtmTrackingLinks };
@@ -0,0 +1,25 @@
1
+ import { t as StrapiStrictFilterObjectSchema } from "./index-CstRGKNl.mjs";
2
+ import { c as ClientEntityScope } from "./fields-CPhXlK2H.mjs";
3
+ import * as v from "valibot";
4
+
5
+ //#region src/entities/up-permission/fields.d.ts
6
+ declare const FilterScopes: StrapiStrictFilterObjectSchema<{
7
+ readonly $notNull: v.LiteralSchema<true, undefined>;
8
+ readonly $null: v.LiteralSchema<true, undefined>;
9
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
10
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
11
+ readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
12
+ readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
13
+ } & {
14
+ readonly $not: StrapiStrictFilterObjectSchema<{
15
+ readonly $notNull: v.LiteralSchema<true, undefined>;
16
+ readonly $null: v.LiteralSchema<true, undefined>;
17
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
18
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
19
+ readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
20
+ readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
21
+ }>;
22
+ }>;
23
+ type FilterScopes = v.InferOutput<typeof FilterScopes>;
24
+ //#endregion
25
+ export { FilterScopes as t };
@@ -28,7 +28,9 @@ declare const CLIENT_ENTITY_KEYS: ClientEntityKey[];
28
28
  declare const CLIENT_ENTITY_SCOPES: ClientEntityScope[];
29
29
  //#endregion
30
30
  //#region src/entities/client-user/fields.d.ts
31
+ declare const ClientUserScope: v.PicklistSchema<ClientEntityScope[], undefined>;
32
+ type ClientUserScope = v.InferOutput<typeof ClientUserScope>;
31
33
  declare const ClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>;
32
34
  type ClientUserScopes = v.InferOutput<typeof ClientUserScopes>;
33
35
  //#endregion
34
- export { ClientEntityActions as a, CLIENT_ENTITY_SCOPES as i, CLIENT_ENTITY_KEYS as n, ClientEntityKey as o, CLIENT_ENTITY_PERMISSIONS as r, ClientEntityScope as s, ClientUserScopes as t };
36
+ export { CLIENT_ENTITY_SCOPES as a, ClientEntityScope as c, CLIENT_ENTITY_PERMISSIONS as i, ClientUserScopes as n, ClientEntityActions as o, CLIENT_ENTITY_KEYS as r, ClientEntityKey as s, ClientUserScope as t };
@@ -28,7 +28,9 @@ declare const CLIENT_ENTITY_KEYS: ClientEntityKey[];
28
28
  declare const CLIENT_ENTITY_SCOPES: ClientEntityScope[];
29
29
  //#endregion
30
30
  //#region src/entities/client-user/fields.d.ts
31
+ declare const ClientUserScope: v.PicklistSchema<ClientEntityScope[], undefined>;
32
+ type ClientUserScope = v.InferOutput<typeof ClientUserScope>;
31
33
  declare const ClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>;
32
34
  type ClientUserScopes = v.InferOutput<typeof ClientUserScopes>;
33
35
  //#endregion
34
- export { ClientEntityActions as a, CLIENT_ENTITY_SCOPES as i, CLIENT_ENTITY_KEYS as n, ClientEntityKey as o, CLIENT_ENTITY_PERMISSIONS as r, ClientEntityScope as s, ClientUserScopes as t };
36
+ export { CLIENT_ENTITY_SCOPES as a, ClientEntityScope as c, CLIENT_ENTITY_PERMISSIONS as i, ClientUserScopes as n, ClientEntityActions as o, CLIENT_ENTITY_KEYS as r, ClientEntityKey as s, ClientUserScope as t };
@@ -0,0 +1,25 @@
1
+ import { t as StrapiStrictFilterObjectSchema } from "./index-CstRGKNl.cjs";
2
+ import { c as ClientEntityScope } from "./fields-CPhXlK2H.cjs";
3
+ import * as v from "valibot";
4
+
5
+ //#region src/entities/up-permission/fields.d.ts
6
+ declare const FilterScopes: StrapiStrictFilterObjectSchema<{
7
+ readonly $notNull: v.LiteralSchema<true, undefined>;
8
+ readonly $null: v.LiteralSchema<true, undefined>;
9
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
10
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
11
+ readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
12
+ readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
13
+ } & {
14
+ readonly $not: StrapiStrictFilterObjectSchema<{
15
+ readonly $notNull: v.LiteralSchema<true, undefined>;
16
+ readonly $null: v.LiteralSchema<true, undefined>;
17
+ readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
18
+ readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
19
+ readonly $eq: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
20
+ readonly $ne: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, undefined>, v.MinLengthAction<ClientEntityScope[], 1, undefined>]>;
21
+ }>;
22
+ }>;
23
+ type FilterScopes = v.InferOutput<typeof FilterScopes>;
24
+ //#endregion
25
+ export { FilterScopes as t };
@@ -0,0 +1,173 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_string = require("../string-DnXY8Tir.cjs");
3
+ const require_boolean = require("../boolean-BwqaNE9c.cjs");
4
+ const require_picklist = require("../picklist-DMZjp2EE.cjs");
5
+ //#region src/filters/constants.ts
6
+ const STRAPI_FILTER_OPERATORS = {
7
+ $eq: {
8
+ type: "comparison",
9
+ valueType: [
10
+ "string",
11
+ "number",
12
+ "boolean",
13
+ "date",
14
+ "datetime",
15
+ "picklist"
16
+ ]
17
+ },
18
+ $ne: {
19
+ type: "comparison",
20
+ valueType: [
21
+ "string",
22
+ "number",
23
+ "boolean",
24
+ "date",
25
+ "datetime",
26
+ "picklist"
27
+ ]
28
+ },
29
+ $eqi: {
30
+ type: "comparison",
31
+ valueType: ["string"]
32
+ },
33
+ $nei: {
34
+ type: "comparison",
35
+ valueType: ["string"]
36
+ },
37
+ $gt: {
38
+ type: "comparison",
39
+ valueType: [
40
+ "number",
41
+ "date",
42
+ "datetime"
43
+ ]
44
+ },
45
+ $gte: {
46
+ type: "comparison",
47
+ valueType: [
48
+ "number",
49
+ "date",
50
+ "datetime"
51
+ ]
52
+ },
53
+ $lt: {
54
+ type: "comparison",
55
+ valueType: [
56
+ "number",
57
+ "date",
58
+ "datetime"
59
+ ]
60
+ },
61
+ $lte: {
62
+ type: "comparison",
63
+ valueType: [
64
+ "number",
65
+ "date",
66
+ "datetime"
67
+ ]
68
+ },
69
+ $contains: {
70
+ type: "string",
71
+ valueType: ["string"]
72
+ },
73
+ $containsi: {
74
+ type: "string",
75
+ valueType: ["string"]
76
+ },
77
+ $endsWith: {
78
+ type: "string",
79
+ valueType: ["string"]
80
+ },
81
+ $endsWithi: {
82
+ type: "string",
83
+ valueType: ["string"]
84
+ },
85
+ $notContains: {
86
+ type: "string",
87
+ valueType: ["string"]
88
+ },
89
+ $notContainsi: {
90
+ type: "string",
91
+ valueType: ["string"]
92
+ },
93
+ $startsWith: {
94
+ type: "string",
95
+ valueType: ["string"]
96
+ },
97
+ $startsWithi: {
98
+ type: "string",
99
+ valueType: ["string"]
100
+ },
101
+ $in: {
102
+ type: "array",
103
+ valueType: [
104
+ "string",
105
+ "number",
106
+ "date",
107
+ "picklist"
108
+ ]
109
+ },
110
+ $notIn: {
111
+ type: "array",
112
+ valueType: [
113
+ "string",
114
+ "number",
115
+ "date",
116
+ "picklist"
117
+ ]
118
+ },
119
+ $between: {
120
+ type: "array",
121
+ valueType: [
122
+ "number",
123
+ "date",
124
+ "datetime"
125
+ ]
126
+ },
127
+ $notNull: {
128
+ type: "null",
129
+ valueType: ["nullable"]
130
+ },
131
+ $null: {
132
+ type: "null",
133
+ valueType: ["nullable"]
134
+ },
135
+ $and: {
136
+ type: "logical",
137
+ valueType: ["join"]
138
+ },
139
+ $not: {
140
+ type: "logical",
141
+ valueType: ["join"]
142
+ },
143
+ $or: {
144
+ type: "logical",
145
+ valueType: ["join"]
146
+ }
147
+ };
148
+ //#endregion
149
+ exports.BooleanFilter = require_boolean.BooleanFilter;
150
+ exports.BooleanFilterValue = require_boolean.BooleanFilterValue;
151
+ exports.DateFilter = require_string.DateFilter;
152
+ exports.DateFilterValue = require_string.DateFilterValue;
153
+ exports.DateTimeFilter = require_string.DateTimeFilter;
154
+ exports.DateTimeFilterValue = require_string.DateTimeFilterValue;
155
+ exports.DocumentIdFilter = require_string.DocumentIdFilter;
156
+ exports.EmailFilter = require_string.EmailFilter;
157
+ exports.ExactStringFilter = require_string.ExactStringFilter;
158
+ exports.IdFilter = require_string.IdFilter;
159
+ exports.IdFilterValue = require_string.IdFilterValue;
160
+ exports.IntegerFilter = require_string.IntegerFilter;
161
+ exports.IntegerFilterValue = require_string.IntegerFilterValue;
162
+ exports.LongStringFilter = require_string.LongStringFilter;
163
+ exports.NUMBER_STRING_PATTERN = require_string.NUMBER_STRING_PATTERN;
164
+ exports.NumberFilter = require_string.NumberFilter;
165
+ exports.NumberFilterValue = require_string.NumberFilterValue;
166
+ exports.STRAPI_FILTER_OPERATORS = STRAPI_FILTER_OPERATORS;
167
+ exports.SlugFilter = require_string.SlugFilter;
168
+ exports.StringFilter = require_string.StringFilter;
169
+ exports.TimeFilter = require_string.TimeFilter;
170
+ exports.TimeFilterValue = require_string.TimeFilterValue;
171
+ exports.UrlFilter = require_string.UrlFilter;
172
+ exports.createPicklistArrayFilter = require_picklist.createPicklistArrayFilter;
173
+ exports.createPicklistFilter = require_picklist.createPicklistFilter;
@@ -0,0 +1,110 @@
1
+ import { C as BooleanFilter, S as TimeFilterValue, _ as DateFilter, a as createPicklistFilter, b as DateTimeFilterValue, c as NUMBER_STRING_PATTERN, d as DocumentIdFilter, f as EmailFilter, g as UrlFilter, h as SlugFilter, i as createPicklistArrayFilter, l as NumberFilter, m as IdFilterValue, n as LongStringFilter, o as IntegerFilter, p as IdFilter, r as StringFilter, s as IntegerFilterValue, t as ExactStringFilter, u as NumberFilterValue, v as DateFilterValue, w as BooleanFilterValue, x as TimeFilter, y as DateTimeFilter } from "../index-CJnvK9aa.cjs";
2
+
3
+ //#region src/filters/constants.d.ts
4
+ declare const STRAPI_FILTER_OPERATORS: {
5
+ readonly $eq: {
6
+ readonly type: "comparison";
7
+ readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
8
+ };
9
+ readonly $ne: {
10
+ readonly type: "comparison";
11
+ readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
12
+ };
13
+ readonly $eqi: {
14
+ readonly type: "comparison";
15
+ readonly valueType: readonly ["string"];
16
+ };
17
+ readonly $nei: {
18
+ readonly type: "comparison";
19
+ readonly valueType: readonly ["string"];
20
+ };
21
+ readonly $gt: {
22
+ readonly type: "comparison";
23
+ readonly valueType: readonly ["number", "date", "datetime"];
24
+ };
25
+ readonly $gte: {
26
+ readonly type: "comparison";
27
+ readonly valueType: readonly ["number", "date", "datetime"];
28
+ };
29
+ readonly $lt: {
30
+ readonly type: "comparison";
31
+ readonly valueType: readonly ["number", "date", "datetime"];
32
+ };
33
+ readonly $lte: {
34
+ readonly type: "comparison";
35
+ readonly valueType: readonly ["number", "date", "datetime"];
36
+ };
37
+ readonly $contains: {
38
+ readonly type: "string";
39
+ readonly valueType: readonly ["string"];
40
+ };
41
+ readonly $containsi: {
42
+ readonly type: "string";
43
+ readonly valueType: readonly ["string"];
44
+ };
45
+ readonly $endsWith: {
46
+ readonly type: "string";
47
+ readonly valueType: readonly ["string"];
48
+ };
49
+ readonly $endsWithi: {
50
+ readonly type: "string";
51
+ readonly valueType: readonly ["string"];
52
+ };
53
+ readonly $notContains: {
54
+ readonly type: "string";
55
+ readonly valueType: readonly ["string"];
56
+ };
57
+ readonly $notContainsi: {
58
+ readonly type: "string";
59
+ readonly valueType: readonly ["string"];
60
+ };
61
+ readonly $startsWith: {
62
+ readonly type: "string";
63
+ readonly valueType: readonly ["string"];
64
+ };
65
+ readonly $startsWithi: {
66
+ readonly type: "string";
67
+ readonly valueType: readonly ["string"];
68
+ };
69
+ readonly $in: {
70
+ readonly type: "array";
71
+ readonly valueType: readonly ["string", "number", "date", "picklist"];
72
+ };
73
+ readonly $notIn: {
74
+ readonly type: "array";
75
+ readonly valueType: readonly ["string", "number", "date", "picklist"];
76
+ };
77
+ readonly $between: {
78
+ readonly type: "array";
79
+ readonly valueType: readonly ["number", "date", "datetime"];
80
+ };
81
+ readonly $notNull: {
82
+ readonly type: "null";
83
+ readonly valueType: readonly ["nullable"];
84
+ };
85
+ readonly $null: {
86
+ readonly type: "null";
87
+ readonly valueType: readonly ["nullable"];
88
+ };
89
+ readonly $and: {
90
+ readonly type: "logical";
91
+ readonly valueType: readonly ["join"];
92
+ };
93
+ readonly $not: {
94
+ readonly type: "logical";
95
+ readonly valueType: readonly ["join"];
96
+ };
97
+ readonly $or: {
98
+ readonly type: "logical";
99
+ readonly valueType: readonly ["join"];
100
+ };
101
+ };
102
+ type StrapiFilterOperandKey = keyof typeof STRAPI_FILTER_OPERATORS;
103
+ type StrapiFilterOperandType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["type"];
104
+ type StrapiFilterOperandValueType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["valueType"];
105
+ type StrapiFilterOperationDef = {
106
+ type: StrapiFilterOperandType;
107
+ valueType: Array<StrapiFilterOperandValueType>;
108
+ };
109
+ //#endregion
110
+ export { BooleanFilter, BooleanFilterValue, DateFilter, DateFilterValue, DateTimeFilter, DateTimeFilterValue, DocumentIdFilter, EmailFilter, ExactStringFilter, IdFilter, IdFilterValue, IntegerFilter, IntegerFilterValue, LongStringFilter, NUMBER_STRING_PATTERN, NumberFilter, NumberFilterValue, STRAPI_FILTER_OPERATORS, SlugFilter, StrapiFilterOperandKey, StrapiFilterOperandType, StrapiFilterOperandValueType, StrapiFilterOperationDef, StringFilter, TimeFilter, TimeFilterValue, UrlFilter, createPicklistArrayFilter, createPicklistFilter };
@@ -0,0 +1,110 @@
1
+ import { C as BooleanFilter, S as TimeFilterValue, _ as DateFilter, a as createPicklistFilter, b as DateTimeFilterValue, c as NUMBER_STRING_PATTERN, d as DocumentIdFilter, f as EmailFilter, g as UrlFilter, h as SlugFilter, i as createPicklistArrayFilter, l as NumberFilter, m as IdFilterValue, n as LongStringFilter, o as IntegerFilter, p as IdFilter, r as StringFilter, s as IntegerFilterValue, t as ExactStringFilter, u as NumberFilterValue, v as DateFilterValue, w as BooleanFilterValue, x as TimeFilter, y as DateTimeFilter } from "../index-CJoIbrN-.mjs";
2
+
3
+ //#region src/filters/constants.d.ts
4
+ declare const STRAPI_FILTER_OPERATORS: {
5
+ readonly $eq: {
6
+ readonly type: "comparison";
7
+ readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
8
+ };
9
+ readonly $ne: {
10
+ readonly type: "comparison";
11
+ readonly valueType: readonly ["string", "number", "boolean", "date", "datetime", "picklist"];
12
+ };
13
+ readonly $eqi: {
14
+ readonly type: "comparison";
15
+ readonly valueType: readonly ["string"];
16
+ };
17
+ readonly $nei: {
18
+ readonly type: "comparison";
19
+ readonly valueType: readonly ["string"];
20
+ };
21
+ readonly $gt: {
22
+ readonly type: "comparison";
23
+ readonly valueType: readonly ["number", "date", "datetime"];
24
+ };
25
+ readonly $gte: {
26
+ readonly type: "comparison";
27
+ readonly valueType: readonly ["number", "date", "datetime"];
28
+ };
29
+ readonly $lt: {
30
+ readonly type: "comparison";
31
+ readonly valueType: readonly ["number", "date", "datetime"];
32
+ };
33
+ readonly $lte: {
34
+ readonly type: "comparison";
35
+ readonly valueType: readonly ["number", "date", "datetime"];
36
+ };
37
+ readonly $contains: {
38
+ readonly type: "string";
39
+ readonly valueType: readonly ["string"];
40
+ };
41
+ readonly $containsi: {
42
+ readonly type: "string";
43
+ readonly valueType: readonly ["string"];
44
+ };
45
+ readonly $endsWith: {
46
+ readonly type: "string";
47
+ readonly valueType: readonly ["string"];
48
+ };
49
+ readonly $endsWithi: {
50
+ readonly type: "string";
51
+ readonly valueType: readonly ["string"];
52
+ };
53
+ readonly $notContains: {
54
+ readonly type: "string";
55
+ readonly valueType: readonly ["string"];
56
+ };
57
+ readonly $notContainsi: {
58
+ readonly type: "string";
59
+ readonly valueType: readonly ["string"];
60
+ };
61
+ readonly $startsWith: {
62
+ readonly type: "string";
63
+ readonly valueType: readonly ["string"];
64
+ };
65
+ readonly $startsWithi: {
66
+ readonly type: "string";
67
+ readonly valueType: readonly ["string"];
68
+ };
69
+ readonly $in: {
70
+ readonly type: "array";
71
+ readonly valueType: readonly ["string", "number", "date", "picklist"];
72
+ };
73
+ readonly $notIn: {
74
+ readonly type: "array";
75
+ readonly valueType: readonly ["string", "number", "date", "picklist"];
76
+ };
77
+ readonly $between: {
78
+ readonly type: "array";
79
+ readonly valueType: readonly ["number", "date", "datetime"];
80
+ };
81
+ readonly $notNull: {
82
+ readonly type: "null";
83
+ readonly valueType: readonly ["nullable"];
84
+ };
85
+ readonly $null: {
86
+ readonly type: "null";
87
+ readonly valueType: readonly ["nullable"];
88
+ };
89
+ readonly $and: {
90
+ readonly type: "logical";
91
+ readonly valueType: readonly ["join"];
92
+ };
93
+ readonly $not: {
94
+ readonly type: "logical";
95
+ readonly valueType: readonly ["join"];
96
+ };
97
+ readonly $or: {
98
+ readonly type: "logical";
99
+ readonly valueType: readonly ["join"];
100
+ };
101
+ };
102
+ type StrapiFilterOperandKey = keyof typeof STRAPI_FILTER_OPERATORS;
103
+ type StrapiFilterOperandType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["type"];
104
+ type StrapiFilterOperandValueType = (typeof STRAPI_FILTER_OPERATORS)[StrapiFilterOperandKey]["valueType"];
105
+ type StrapiFilterOperationDef = {
106
+ type: StrapiFilterOperandType;
107
+ valueType: Array<StrapiFilterOperandValueType>;
108
+ };
109
+ //#endregion
110
+ export { BooleanFilter, BooleanFilterValue, DateFilter, DateFilterValue, DateTimeFilter, DateTimeFilterValue, DocumentIdFilter, EmailFilter, ExactStringFilter, IdFilter, IdFilterValue, IntegerFilter, IntegerFilterValue, LongStringFilter, NUMBER_STRING_PATTERN, NumberFilter, NumberFilterValue, STRAPI_FILTER_OPERATORS, SlugFilter, StrapiFilterOperandKey, StrapiFilterOperandType, StrapiFilterOperandValueType, StrapiFilterOperationDef, StringFilter, TimeFilter, TimeFilterValue, UrlFilter, createPicklistArrayFilter, createPicklistFilter };