@getcommunity/gc-validators 0.0.271-alpha.25 → 0.0.271-alpha.27

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 (278) hide show
  1. package/dist/base/index.cjs +9 -27
  2. package/dist/base/index.d.cts +2 -2
  3. package/dist/base/index.d.mts +4 -4
  4. package/dist/base/index.mjs +5 -5
  5. package/dist/components/blocks/index.cjs +5 -4
  6. package/dist/components/blocks/index.d.cts +1 -1
  7. package/dist/components/blocks/index.d.mts +1 -1
  8. package/dist/components/blocks/index.mjs +5 -4
  9. package/dist/components/brand/index.cjs +3 -2
  10. package/dist/components/brand/index.d.cts +1 -1
  11. package/dist/components/brand/index.d.mts +1 -1
  12. package/dist/components/brand/index.mjs +3 -2
  13. package/dist/components/forms/index.cjs +2 -1
  14. package/dist/components/forms/index.d.cts +280 -280
  15. package/dist/components/forms/index.d.mts +280 -280
  16. package/dist/components/forms/index.mjs +2 -1
  17. package/dist/components/shared/index.cjs +5 -4
  18. package/dist/components/shared/index.d.cts +1 -1
  19. package/dist/components/shared/index.d.mts +1 -1
  20. package/dist/components/shared/index.mjs +5 -4
  21. package/dist/components/slideshow/index.d.cts +280 -280
  22. package/dist/components/slideshow/index.d.mts +280 -280
  23. package/dist/components/utm/index.d.mts +1 -1
  24. package/dist/constants/index.cjs +45 -43
  25. package/dist/constants/index.mjs +4 -2
  26. package/dist/{document-TlMeVEGy.d.cts → document-3h6g5Qqr.d.cts} +1 -1
  27. package/dist/{document-DjM6F56Q.cjs → document-AqtoEbX8.cjs} +19 -24
  28. package/dist/{document-aEa-gTmH.mjs → document-BCbxKqGE.mjs} +20 -19
  29. package/dist/{document-kvIqz0p6.mjs → document-BWso8VC7.mjs} +62 -56
  30. package/dist/{document-CwIvc2p7.cjs → document-DJJFS5o8.cjs} +2 -1
  31. package/dist/{document-CDavjuJ-.mjs → document-DRyRy2Mw.mjs} +2 -1
  32. package/dist/{document-CAkRm1Y_.d.mts → document-DqE9ISOk.d.mts} +2 -2
  33. package/dist/{document-DOVZwQRq.cjs → document-DwkycUz9.cjs} +74 -62
  34. package/dist/email-ByTEdUjg.cjs +13 -0
  35. package/dist/email-Cnyi5Neo.mjs +6 -0
  36. package/dist/entities/audit-log/index.cjs +44 -41
  37. package/dist/entities/audit-log/index.d.cts +3 -2
  38. package/dist/entities/audit-log/index.d.mts +4 -3
  39. package/dist/entities/audit-log/index.mjs +6 -3
  40. package/dist/entities/blog-page/index.d.cts +1 -1
  41. package/dist/entities/blog-page/index.d.mts +1 -1
  42. package/dist/entities/blog-post/index.cjs +10 -9
  43. package/dist/entities/blog-post/index.d.cts +1 -1
  44. package/dist/entities/blog-post/index.d.mts +1 -1
  45. package/dist/entities/blog-post/index.mjs +4 -3
  46. package/dist/entities/careers-page/index.d.cts +1 -1
  47. package/dist/entities/careers-page/index.d.mts +1 -1
  48. package/dist/entities/category/index.cjs +15 -13
  49. package/dist/entities/category/index.d.cts +7 -6
  50. package/dist/entities/category/index.d.mts +7 -6
  51. package/dist/entities/category/index.mjs +11 -9
  52. package/dist/entities/client/index.cjs +23 -22
  53. package/dist/entities/client/index.d.cts +1 -1
  54. package/dist/entities/client/index.d.mts +1 -1
  55. package/dist/entities/client/index.mjs +16 -15
  56. package/dist/entities/client-content-pillar/index.cjs +14 -13
  57. package/dist/entities/client-content-pillar/index.d.cts +1 -1
  58. package/dist/entities/client-content-pillar/index.d.mts +1 -1
  59. package/dist/entities/client-content-pillar/index.mjs +12 -11
  60. package/dist/entities/client-media-platform/index.cjs +18 -16
  61. package/dist/entities/client-media-platform/index.d.cts +1 -1
  62. package/dist/entities/client-media-platform/index.d.mts +1 -1
  63. package/dist/entities/client-media-platform/index.mjs +13 -11
  64. package/dist/entities/client-project/index.cjs +47 -41
  65. package/dist/entities/client-project/index.d.cts +1 -1
  66. package/dist/entities/client-project/index.d.mts +1 -1
  67. package/dist/entities/client-project/index.mjs +11 -5
  68. package/dist/entities/client-report/index.cjs +18 -16
  69. package/dist/entities/client-report/index.d.cts +1 -1
  70. package/dist/entities/client-report/index.d.mts +1 -1
  71. package/dist/entities/client-report/index.mjs +14 -12
  72. package/dist/entities/client-styleguide/index.cjs +14 -13
  73. package/dist/entities/client-styleguide/index.d.cts +1 -1
  74. package/dist/entities/client-styleguide/index.d.mts +1 -1
  75. package/dist/entities/client-styleguide/index.mjs +11 -10
  76. package/dist/entities/client-user/index.cjs +7 -7
  77. package/dist/entities/client-user/index.d.cts +1 -1
  78. package/dist/entities/client-user/index.d.mts +1 -1
  79. package/dist/entities/client-user/index.mjs +5 -5
  80. package/dist/entities/comment/index.cjs +18 -16
  81. package/dist/entities/comment/index.d.cts +1 -1
  82. package/dist/entities/comment/index.d.mts +1 -1
  83. package/dist/entities/comment/index.mjs +12 -10
  84. package/dist/entities/content-pillar/index.cjs +20 -18
  85. package/dist/entities/content-pillar/index.d.cts +1 -1
  86. package/dist/entities/content-pillar/index.d.mts +1 -1
  87. package/dist/entities/content-pillar/index.mjs +15 -13
  88. package/dist/entities/faq-page/index.cjs +2 -1
  89. package/dist/entities/faq-page/index.d.cts +2 -2
  90. package/dist/entities/faq-page/index.d.mts +3 -3
  91. package/dist/entities/faq-page/index.mjs +2 -1
  92. package/dist/entities/formatter/index.d.cts +5 -5
  93. package/dist/entities/formatter/index.d.mts +5 -5
  94. package/dist/entities/gcflytour/index.cjs +21 -19
  95. package/dist/entities/gcflytour/index.d.cts +1 -1
  96. package/dist/entities/gcflytour/index.d.mts +1 -1
  97. package/dist/entities/gcflytour/index.mjs +17 -15
  98. package/dist/entities/gcflytour-snap/index.cjs +20 -18
  99. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  100. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  101. package/dist/entities/gcflytour-snap/index.mjs +16 -14
  102. package/dist/entities/landing-page/index.d.cts +2 -2
  103. package/dist/entities/landing-page/index.d.mts +3 -3
  104. package/dist/entities/lead/index.cjs +25 -23
  105. package/dist/entities/lead/index.mjs +15 -13
  106. package/dist/entities/media-content-type/index.cjs +21 -19
  107. package/dist/entities/media-content-type/index.d.cts +7 -6
  108. package/dist/entities/media-content-type/index.d.mts +7 -6
  109. package/dist/entities/media-content-type/index.mjs +17 -15
  110. package/dist/entities/media-creative-format/index.cjs +19 -17
  111. package/dist/entities/media-creative-format/index.d.cts +7 -6
  112. package/dist/entities/media-creative-format/index.d.mts +7 -6
  113. package/dist/entities/media-creative-format/index.mjs +15 -13
  114. package/dist/entities/media-medium/index.cjs +19 -17
  115. package/dist/entities/media-medium/index.d.cts +7 -6
  116. package/dist/entities/media-medium/index.d.mts +7 -6
  117. package/dist/entities/media-medium/index.mjs +15 -13
  118. package/dist/entities/media-platform/index.cjs +27 -24
  119. package/dist/entities/media-platform/index.d.cts +1 -1
  120. package/dist/entities/media-platform/index.d.mts +1 -1
  121. package/dist/entities/media-platform/index.mjs +23 -20
  122. package/dist/entities/monday-workspace/index.cjs +17 -15
  123. package/dist/entities/monday-workspace/index.d.cts +1 -1
  124. package/dist/entities/monday-workspace/index.d.mts +1 -1
  125. package/dist/entities/monday-workspace/index.mjs +11 -9
  126. package/dist/entities/newsletter-signup/index.cjs +25 -23
  127. package/dist/entities/newsletter-signup/index.mjs +13 -11
  128. package/dist/entities/policy-page/index.cjs +2 -1
  129. package/dist/entities/policy-page/index.d.cts +1 -1
  130. package/dist/entities/policy-page/index.d.mts +2 -2
  131. package/dist/entities/policy-page/index.mjs +2 -1
  132. package/dist/entities/product/index.cjs +1 -1
  133. package/dist/entities/product/index.d.cts +1 -1
  134. package/dist/entities/product/index.d.mts +1 -1
  135. package/dist/entities/product/index.mjs +1 -1
  136. package/dist/entities/product-highlight/index.cjs +1 -1
  137. package/dist/entities/product-highlight/index.d.cts +1 -1
  138. package/dist/entities/product-highlight/index.d.mts +1 -1
  139. package/dist/entities/product-highlight/index.mjs +1 -1
  140. package/dist/entities/resume/index.cjs +43 -40
  141. package/dist/entities/resume/index.mjs +16 -13
  142. package/dist/entities/sharpspring/index.cjs +9 -8
  143. package/dist/entities/sharpspring/index.mjs +6 -5
  144. package/dist/entities/tag/index.cjs +15 -13
  145. package/dist/entities/tag/index.d.cts +6 -5
  146. package/dist/entities/tag/index.d.mts +7 -6
  147. package/dist/entities/tag/index.mjs +11 -9
  148. package/dist/entities/team-member/index.cjs +11 -9
  149. package/dist/entities/team-member/index.d.cts +2 -2
  150. package/dist/entities/team-member/index.d.mts +2 -2
  151. package/dist/entities/team-member/index.mjs +7 -4
  152. package/dist/entities/team-page/index.d.cts +1 -1
  153. package/dist/entities/team-page/index.d.mts +1 -1
  154. package/dist/entities/teamwork/index.cjs +12 -11
  155. package/dist/entities/teamwork/index.d.mts +1 -1
  156. package/dist/entities/teamwork/index.mjs +7 -6
  157. package/dist/entities/trend/index.cjs +2 -2
  158. package/dist/entities/trend/index.d.cts +1 -1
  159. package/dist/entities/trend/index.d.mts +1 -1
  160. package/dist/entities/trend/index.mjs +2 -2
  161. package/dist/entities/up-auth/index.cjs +18 -15
  162. package/dist/entities/up-auth/index.d.cts +1 -1
  163. package/dist/entities/up-auth/index.d.mts +1 -1
  164. package/dist/entities/up-auth/index.mjs +6 -3
  165. package/dist/entities/up-permission/index.cjs +1 -1
  166. package/dist/entities/up-permission/index.d.cts +1 -1
  167. package/dist/entities/up-permission/index.d.mts +1 -1
  168. package/dist/entities/up-permission/index.mjs +1 -1
  169. package/dist/entities/up-role/index.cjs +1 -1
  170. package/dist/entities/up-role/index.d.cts +1 -1
  171. package/dist/entities/up-role/index.d.mts +1 -1
  172. package/dist/entities/up-role/index.mjs +1 -1
  173. package/dist/entities/up-user/index.cjs +2 -1
  174. package/dist/entities/up-user/index.d.cts +2 -2
  175. package/dist/entities/up-user/index.d.mts +2 -2
  176. package/dist/entities/up-user/index.mjs +2 -2
  177. package/dist/entities/upload/index.cjs +11 -11
  178. package/dist/entities/upload/index.mjs +7 -7
  179. package/dist/entities/url-redirect/index.cjs +5 -4
  180. package/dist/entities/url-redirect/index.d.cts +3 -2
  181. package/dist/entities/url-redirect/index.d.mts +3 -2
  182. package/dist/entities/url-redirect/index.mjs +4 -3
  183. package/dist/entities/user-account/index.cjs +10 -11
  184. package/dist/entities/user-account/index.d.cts +2 -2
  185. package/dist/entities/user-account/index.d.mts +2 -2
  186. package/dist/entities/user-account/index.mjs +10 -11
  187. package/dist/entities/utm-link-builder/index.cjs +30 -36
  188. package/dist/entities/utm-link-builder/index.d.cts +6 -6
  189. package/dist/entities/utm-link-builder/index.d.mts +6 -6
  190. package/dist/entities/utm-link-builder/index.mjs +22 -28
  191. package/dist/entities/utm-tracking-link/index.cjs +110 -104
  192. package/dist/entities/utm-tracking-link/index.d.cts +2 -2
  193. package/dist/entities/utm-tracking-link/index.d.mts +2 -2
  194. package/dist/entities/utm-tracking-link/index.mjs +68 -68
  195. package/dist/error-messages-9ZhRqNGW.mjs +10 -0
  196. package/dist/error-messages-C0I1kOur.cjs +51 -0
  197. package/dist/generators/index.cjs +231 -0
  198. package/dist/generators/index.d.cts +19 -0
  199. package/dist/generators/index.d.mts +19 -0
  200. package/dist/generators/index.mjs +226 -0
  201. package/dist/index-BOxQLeAK.d.cts +317 -0
  202. package/dist/index-BSYaAtme.d.mts +486 -0
  203. package/dist/index-BT8Pa9XY.d.mts +317 -0
  204. package/dist/{index-DXo7B4ng.d.mts → index-Bjjp-2Sa.d.mts} +20 -99
  205. package/dist/{index-DXUuI-fJ.d.cts → index-C1GoH-4v.d.cts} +91 -76
  206. package/dist/{index-D_YPjLxv.d.cts → index-CBW5QmNu.d.cts} +4 -3
  207. package/dist/index-COpLbpQC.d.cts +486 -0
  208. package/dist/{index-DEm89ERm.d.mts → index-ClQOYhKi.d.mts} +94 -79
  209. package/dist/index-Cqmmzi2g.d.mts +944 -0
  210. package/dist/{index-B_L_83Q2.d.cts → index-D7QXaSOY.d.cts} +19 -98
  211. package/dist/index-DG_Lwaa7.d.cts +1324 -0
  212. package/dist/{index-D3KnOYr7.d.mts → index-DKFW5ay8.d.mts} +4 -3
  213. package/dist/index-Dvu63a8_.d.mts +1324 -0
  214. package/dist/index-WN2TBKki.d.cts +944 -0
  215. package/dist/limits-CKGuEuKA.mjs +37 -0
  216. package/dist/{regex-Cl5goNwp.cjs → limits-CW6iJ7kB.cjs} +0 -102
  217. package/dist/number-Bt4nZKCU.cjs +19 -0
  218. package/dist/number-OMFRufFt.mjs +6 -0
  219. package/dist/pagination-D5l_UjyM.mjs +7 -0
  220. package/dist/pagination-DWZDPzR4.cjs +20 -0
  221. package/dist/permissions/index.cjs +2 -2
  222. package/dist/permissions/index.d.cts +1 -1
  223. package/dist/permissions/index.d.mts +1 -1
  224. package/dist/permissions/index.mjs +2 -2
  225. package/dist/phone-C9TNVDm_.mjs +8 -0
  226. package/dist/phone-D_ZLG1Qv.cjs +21 -0
  227. package/dist/{query-DHY-nlUQ.mjs → query-BR5Ze6T2.mjs} +7 -11
  228. package/dist/{query-DelNcssC.cjs → query-qQ_HLlxx.cjs} +13 -29
  229. package/dist/regex-BEFTMiHO.cjs +51 -0
  230. package/dist/regex-pSdcbWzV.mjs +10 -0
  231. package/dist/relation-Bd-xUcj8.cjs +33 -0
  232. package/dist/relation-DMhLjp7K.mjs +8 -0
  233. package/dist/{relationships-HTBNe0F-.cjs → relationships-DjHwYd4r.cjs} +23 -9
  234. package/dist/{relationships-C6xfgdwR.mjs → relationships-yPO5SILR.mjs} +7 -5
  235. package/dist/slug-BUtm1t-B.mjs +7 -0
  236. package/dist/slug-cWXTZEIT.cjs +14 -0
  237. package/dist/sort-CI87SH1y.cjs +33 -0
  238. package/dist/sort-D3WwshqQ.mjs +14 -0
  239. package/dist/{strapi-DvyAfgFF.mjs → strapi-B2cNPAao.mjs} +1 -1
  240. package/dist/{strapi-QFDWi4vD.cjs → strapi-RlhF30B7.cjs} +1 -1
  241. package/dist/string-BHHnD2Qu.mjs +42 -0
  242. package/dist/string-Yn-6xiAZ.cjs +97 -0
  243. package/dist/urls-UOvhCu0z.mjs +14 -0
  244. package/dist/urls-og5upHgL.cjs +27 -0
  245. package/dist/utilities/index.cjs +1 -1
  246. package/dist/utilities/index.d.cts +6 -6
  247. package/dist/utilities/index.d.mts +6 -6
  248. package/dist/utilities/index.mjs +1 -1
  249. package/dist/utm-BqkYlpua.cjs +47 -0
  250. package/dist/utm-ZUwmBoR2.mjs +28 -0
  251. package/dist/validators/index.cjs +36 -0
  252. package/dist/validators/index.d.cts +94 -0
  253. package/dist/validators/index.d.mts +94 -0
  254. package/dist/validators/index.mjs +10 -0
  255. package/package.json +29 -2
  256. package/dist/index-B3VtiObV.d.mts +0 -317
  257. package/dist/index-BxEBUjx2.d.mts +0 -486
  258. package/dist/index-CQP_vcmO.d.cts +0 -317
  259. package/dist/index-CRoWUxGV.d.cts +0 -1324
  260. package/dist/index-DYSlcIkJ.d.mts +0 -945
  261. package/dist/index-Dmtom8iC.d.cts +0 -945
  262. package/dist/index-auU0DaW5.d.cts +0 -486
  263. package/dist/index-oCLNrzIj.d.mts +0 -1324
  264. package/dist/regex-BnKGcdS4.mjs +0 -55
  265. package/dist/validators-Bc9Is5Sr.cjs +0 -222
  266. package/dist/validators-P5E_3qzc.mjs +0 -95
  267. /package/dist/{abac-DPd9oLKR.mjs → abac-BPxkvVVy.mjs} +0 -0
  268. /package/dist/{abac-BeKQtxIF.cjs → abac-YYI2Ckwv.cjs} +0 -0
  269. /package/dist/{constants-Htf-MeCA.mjs → constants-C4cy6LoY.mjs} +0 -0
  270. /package/dist/{constants-f1GP2eiq.cjs → constants-D6DsS_A0.cjs} +0 -0
  271. /package/dist/{document-DaICHS9G.cjs → document-B4FY2KXQ.cjs} +0 -0
  272. /package/dist/{document-c3GNPelp.mjs → document-De-prPhc.mjs} +0 -0
  273. /package/dist/{document-CbE38CzE.d.mts → document-DxjJgk8X.d.mts} +0 -0
  274. /package/dist/{index-DLICmJ_-.d.mts → index-BSEaV9wd.d.mts} +0 -0
  275. /package/dist/{json-BrVkpLbC.d.mts → json--oetJLQY.d.mts} +0 -0
  276. /package/dist/{media-upload-DKeA1eD-.d.mts → media-upload-DBG7YyU4.d.mts} +0 -0
  277. /package/dist/{strapi-BDLWeEyv.mjs → strapi-CE9bz7Kc.mjs} +0 -0
  278. /package/dist/{strapi-C4HuWGb_.cjs → strapi-D8C1C0D7.cjs} +0 -0
@@ -1,9 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_regex = require("../../regex-Cl5goNwp.cjs");
4
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relationships = require("../../relationships-HTBNe0F-.cjs");
6
- const require_document = require("../../document-DOVZwQRq.cjs");
3
+ const require_pagination = require("../../pagination-DWZDPzR4.cjs");
4
+ const require_sort = require("../../sort-CI87SH1y.cjs");
5
+ const require_string = require("../../string-Yn-6xiAZ.cjs");
6
+ const require_relationships = require("../../relationships-DjHwYd4r.cjs");
7
+ const require_slug = require("../../slug-cWXTZEIT.cjs");
8
+ const require_document = require("../../document-DwkycUz9.cjs");
7
9
  let valibot = require("valibot");
8
10
  valibot = require_chunk.__toESM(valibot, 1);
9
11
  //#region src/entities/gcflytour-snap/constants.ts
@@ -20,24 +22,24 @@ const GCFLYTOUR_SNAP_SORT_KEYS = [
20
22
  ];
21
23
  //#endregion
22
24
  //#region src/entities/gcflytour-snap/fields.ts
23
- const QuerySortGCFlyTourSnaps = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(GCFLYTOUR_SNAP_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(GCFLYTOUR_SNAP_SORT_KEYS.length)));
25
+ const QuerySortGCFlyTourSnaps = require_sort.createQuerySort(GCFLYTOUR_SNAP_SORT_KEYS);
24
26
  //#endregion
25
27
  //#region src/entities/gcflytour-snap/mutation.ts
26
28
  const CreateGCFlyTourSnapDocument = valibot.object({
27
- title: require_validators.VStringMinMax(1, 255),
28
- slug: require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG),
29
- description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
29
+ title: require_string.VStringMinMax(),
30
+ slug: require_slug.VStringSlug(),
31
+ description: valibot.optional(valibot.nullable(require_string.VStringMax())),
30
32
  is_active: valibot.boolean(),
31
33
  is_hidden: valibot.boolean(),
32
- gcflytour: valibot.optional(require_relationships.SAssociateOneEntity)
34
+ gcflytour: require_relationships.SAssociateOneEntityOptional
33
35
  });
34
36
  const UpdateGCFlyTourSnapDocument = valibot.object({
35
- title: valibot.optional(require_validators.VStringMinMax(1, 255)),
36
- slug: valibot.optional(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG)),
37
- description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
37
+ title: valibot.optional(require_string.VStringMinMax()),
38
+ slug: valibot.optional(require_slug.VStringSlug()),
39
+ description: valibot.optional(valibot.nullable(require_string.VStringMax())),
38
40
  is_active: valibot.optional(valibot.boolean()),
39
41
  is_hidden: valibot.optional(valibot.boolean()),
40
- gcflytour: valibot.optional(require_relationships.SAssociateOneEntity)
42
+ gcflytour: require_relationships.SAssociateOneEntityOptional
41
43
  });
42
44
  const UpdateGCFlyTourSnapDocumentRequest = valibot.object({
43
45
  documentId: require_relationships.SAssociateOneEntity,
@@ -46,13 +48,13 @@ const UpdateGCFlyTourSnapDocumentRequest = valibot.object({
46
48
  //#endregion
47
49
  //#region src/entities/gcflytour-snap/query.ts
48
50
  const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
49
- page: require_validators.VPage(),
50
- size: require_validators.VSize(LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE),
51
- title: valibot.optional(require_validators.VStringMax()),
52
- slug: valibot.optional(require_validators.VStringMax()),
51
+ page: require_pagination.VPage(),
52
+ size: require_pagination.VSize(LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE),
53
+ title: valibot.optional(require_string.VStringMax()),
54
+ slug: valibot.optional(require_string.VStringMax()),
53
55
  is_active: valibot.optional(valibot.boolean()),
54
56
  is_hidden: valibot.optional(valibot.boolean()),
55
- gcflytour: valibot.optional(require_validators.VStringMinMax(1, 255)),
57
+ gcflytour: valibot.optional(require_string.VStringMinMax()),
56
58
  gcflytours: valibot.optional(require_relationships.SQueryManyEntities),
57
59
  sort: QuerySortGCFlyTourSnaps
58
60
  });
@@ -1,2 +1,2 @@
1
- import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-DXUuI-fJ.cjs";
1
+ import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-C1GoH-4v.cjs";
2
2
  export { CreateGCFlyTourSnapDocument, GCFLYTOUR_SNAP_SORT_KEYS, GCFlyTourSnapDocument, LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, QuerySortGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps, UpdateGCFlyTourSnapDocument, UpdateGCFlyTourSnapDocumentRequest };
@@ -1,2 +1,2 @@
1
- import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-DEm89ERm.mjs";
1
+ import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-ClQOYhKi.mjs";
2
2
  export { CreateGCFlyTourSnapDocument, GCFLYTOUR_SNAP_SORT_KEYS, GCFlyTourSnapDocument, LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, QuerySortGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps, UpdateGCFlyTourSnapDocument, UpdateGCFlyTourSnapDocumentRequest };
@@ -1,7 +1,9 @@
1
- import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
2
- import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
3
- import { a as SAssociateOneEntity, s as SQueryManyEntities } from "../../relationships-C6xfgdwR.mjs";
4
- import { a as GCFlyTourSnapDocument } from "../../document-kvIqz0p6.mjs";
1
+ import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
2
+ import { r as createQuerySort } from "../../sort-D3WwshqQ.mjs";
3
+ import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
4
+ import { l as SQueryManyEntities, o as SAssociateOneEntity, s as SAssociateOneEntityOptional } from "../../relationships-yPO5SILR.mjs";
5
+ import { t as VStringSlug } from "../../slug-BUtm1t-B.mjs";
6
+ import { a as GCFlyTourSnapDocument } from "../../document-BWso8VC7.mjs";
5
7
  import * as v from "valibot";
6
8
  //#region src/entities/gcflytour-snap/constants.ts
7
9
  const LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE = 100;
@@ -17,24 +19,24 @@ const GCFLYTOUR_SNAP_SORT_KEYS = [
17
19
  ];
18
20
  //#endregion
19
21
  //#region src/entities/gcflytour-snap/fields.ts
20
- const QuerySortGCFlyTourSnaps = v.optional(v.pipe(v.array(v.picklist(GCFLYTOUR_SNAP_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(GCFLYTOUR_SNAP_SORT_KEYS.length)));
22
+ const QuerySortGCFlyTourSnaps = createQuerySort(GCFLYTOUR_SNAP_SORT_KEYS);
21
23
  //#endregion
22
24
  //#region src/entities/gcflytour-snap/mutation.ts
23
25
  const CreateGCFlyTourSnapDocument = v.object({
24
- title: VStringMinMax(1, 255),
25
- slug: VStringMinMaxRegex(1, 255, REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_URL_SLUG),
26
- description: v.optional(v.nullable(VStringMax(255))),
26
+ title: VStringMinMax(),
27
+ slug: VStringSlug(),
28
+ description: v.optional(v.nullable(VStringMax())),
27
29
  is_active: v.boolean(),
28
30
  is_hidden: v.boolean(),
29
- gcflytour: v.optional(SAssociateOneEntity)
31
+ gcflytour: SAssociateOneEntityOptional
30
32
  });
31
33
  const UpdateGCFlyTourSnapDocument = v.object({
32
- title: v.optional(VStringMinMax(1, 255)),
33
- slug: v.optional(VStringMinMaxRegex(1, 255, REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_URL_SLUG)),
34
- description: v.optional(v.nullable(VStringMax(255))),
34
+ title: v.optional(VStringMinMax()),
35
+ slug: v.optional(VStringSlug()),
36
+ description: v.optional(v.nullable(VStringMax())),
35
37
  is_active: v.optional(v.boolean()),
36
38
  is_hidden: v.optional(v.boolean()),
37
- gcflytour: v.optional(SAssociateOneEntity)
39
+ gcflytour: SAssociateOneEntityOptional
38
40
  });
39
41
  const UpdateGCFlyTourSnapDocumentRequest = v.object({
40
42
  documentId: SAssociateOneEntity,
@@ -49,7 +51,7 @@ const QueryStrapiSearchGCFlyTourSnaps = v.object({
49
51
  slug: v.optional(VStringMax()),
50
52
  is_active: v.optional(v.boolean()),
51
53
  is_hidden: v.optional(v.boolean()),
52
- gcflytour: v.optional(VStringMinMax(1, 255)),
54
+ gcflytour: v.optional(VStringMinMax()),
53
55
  gcflytours: v.optional(SQueryManyEntities),
54
56
  sort: QuerySortGCFlyTourSnaps
55
57
  });
@@ -1,6 +1,6 @@
1
1
  import { r as MediaUploadDocument } from "../../media-upload-D-nP8FR1.cjs";
2
- import { k as BlockAnnouncementBar } from "../../index-CRoWUxGV.cjs";
3
- import { s as SeoMeta } from "../../index-auU0DaW5.cjs";
2
+ import { k as BlockAnnouncementBar } from "../../index-DG_Lwaa7.cjs";
3
+ import { s as SeoMeta } from "../../index-COpLbpQC.cjs";
4
4
  import * as v from "valibot";
5
5
 
6
6
  //#region src/entities/landing-page/document.d.ts
@@ -1,6 +1,6 @@
1
- import { r as MediaUploadDocument } from "../../media-upload-DKeA1eD-.mjs";
2
- import { k as BlockAnnouncementBar } from "../../index-oCLNrzIj.mjs";
3
- import { s as SeoMeta } from "../../index-BxEBUjx2.mjs";
1
+ import { r as MediaUploadDocument } from "../../media-upload-DBG7YyU4.mjs";
2
+ import { k as BlockAnnouncementBar } from "../../index-Dvu63a8_.mjs";
3
+ import { s as SeoMeta } from "../../index-BSYaAtme.mjs";
4
4
  import * as v from "valibot";
5
5
 
6
6
  //#region src/entities/landing-page/document.d.ts
@@ -1,9 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
3
  const require_document = require("../../document-BAro2Mrj.cjs");
4
- const require_regex = require("../../regex-Cl5goNwp.cjs");
5
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relationships = require("../../relationships-HTBNe0F-.cjs");
4
+ const require_limits = require("../../limits-CW6iJ7kB.cjs");
5
+ const require_email = require("../../email-ByTEdUjg.cjs");
6
+ const require_phone = require("../../phone-D_ZLG1Qv.cjs");
7
+ const require_string = require("../../string-Yn-6xiAZ.cjs");
8
+ const require_relationships = require("../../relationships-DjHwYd4r.cjs");
7
9
  let valibot = require("valibot");
8
10
  valibot = require_chunk.__toESM(valibot, 1);
9
11
  //#region src/entities/lead/document.ts
@@ -25,32 +27,32 @@ const LeadDocument = valibot.object({
25
27
  //#endregion
26
28
  //#region src/entities/lead/mutation.ts
27
29
  const CreateLeadDocument = valibot.object({
28
- first_name: require_validators.VStringMinMax(1, 255),
29
- last_name: require_validators.VStringMinMax(1, 255),
30
- email: require_validators.VStringEmail(),
31
- phone: require_validators.VStringPhone(),
32
- company: require_validators.VStringMinMax(1, 255),
33
- title: require_validators.VStringMinMax(1, 255),
34
- message: require_validators.VStringMax(require_regex.LIMIT_LONG_STRING_MAX_LENGTH),
35
- product_interest: require_validators.VStringMax(255),
30
+ first_name: require_string.VStringMinMax(),
31
+ last_name: require_string.VStringMinMax(),
32
+ email: require_email.VStringEmail(),
33
+ phone: require_phone.VStringPhone(),
34
+ company: require_string.VStringMinMax(),
35
+ title: require_string.VStringMinMax(),
36
+ message: require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH),
37
+ product_interest: require_string.VStringMax(),
36
38
  email_consent: valibot.boolean(),
37
39
  sms_consent: valibot.boolean(),
38
- on_page: require_validators.VStringMax(require_regex.LIMIT_MAX_DESTINATION),
39
- captcha: require_validators.VStringMax(require_regex.LIMIT_LONG_STRING_MAX_LENGTH)
40
+ on_page: require_string.VStringMax(require_limits.LIMIT_MAX_DESTINATION),
41
+ captcha: require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)
40
42
  });
41
43
  const UpdateLeadDocument = valibot.object({
42
- first_name: valibot.optional(require_validators.VStringMinMax(1, 255)),
43
- last_name: valibot.optional(require_validators.VStringMinMax(1, 255)),
44
- email: valibot.optional(require_validators.VStringEmail()),
45
- phone: valibot.optional(require_validators.VStringPhone()),
46
- company: valibot.optional(require_validators.VStringMinMax(1, 255)),
47
- title: valibot.optional(require_validators.VStringMinMax(1, 255)),
48
- message: valibot.optional(require_validators.VStringMax(require_regex.LIMIT_LONG_STRING_MAX_LENGTH)),
49
- product_interest: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
44
+ first_name: valibot.optional(require_string.VStringMinMax()),
45
+ last_name: valibot.optional(require_string.VStringMinMax()),
46
+ email: valibot.optional(require_email.VStringEmail()),
47
+ phone: valibot.optional(require_phone.VStringPhone()),
48
+ company: valibot.optional(require_string.VStringMinMax()),
49
+ title: valibot.optional(require_string.VStringMinMax()),
50
+ message: valibot.optional(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
51
+ product_interest: valibot.optional(valibot.nullable(require_string.VStringMax())),
50
52
  email_consent: valibot.optional(valibot.boolean()),
51
53
  sms_consent: valibot.optional(valibot.boolean()),
52
- on_page: valibot.optional(require_validators.VStringMax(require_regex.LIMIT_MAX_DESTINATION)),
53
- captcha: require_validators.VStringMax(require_regex.LIMIT_LONG_STRING_MAX_LENGTH)
54
+ on_page: valibot.optional(require_string.VStringMax(require_limits.LIMIT_MAX_DESTINATION)),
55
+ captcha: require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)
54
56
  });
55
57
  const UpdateLeadDocumentRequest = valibot.object({
56
58
  documentId: require_relationships.SAssociateOneEntity,
@@ -1,7 +1,9 @@
1
1
  import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import { c as LIMIT_LONG_STRING_MAX_LENGTH, l as LIMIT_MAX_DESTINATION } from "../../regex-BnKGcdS4.mjs";
3
- import { d as VStringMinMax, l as VStringMax, o as VStringEmail, p as VStringPhone } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity } from "../../relationships-C6xfgdwR.mjs";
2
+ import { n as LIMIT_MAX_DESTINATION, t as LIMIT_LONG_STRING_MAX_LENGTH } from "../../limits-CKGuEuKA.mjs";
3
+ import { t as VStringEmail } from "../../email-Cnyi5Neo.mjs";
4
+ import { t as VStringPhone } from "../../phone-C9TNVDm_.mjs";
5
+ import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
6
+ import { o as SAssociateOneEntity } from "../../relationships-yPO5SILR.mjs";
5
7
  import * as v from "valibot";
6
8
  //#region src/entities/lead/document.ts
7
9
  const LeadDocument = v.object({
@@ -22,28 +24,28 @@ const LeadDocument = v.object({
22
24
  //#endregion
23
25
  //#region src/entities/lead/mutation.ts
24
26
  const CreateLeadDocument = v.object({
25
- first_name: VStringMinMax(1, 255),
26
- last_name: VStringMinMax(1, 255),
27
+ first_name: VStringMinMax(),
28
+ last_name: VStringMinMax(),
27
29
  email: VStringEmail(),
28
30
  phone: VStringPhone(),
29
- company: VStringMinMax(1, 255),
30
- title: VStringMinMax(1, 255),
31
+ company: VStringMinMax(),
32
+ title: VStringMinMax(),
31
33
  message: VStringMax(LIMIT_LONG_STRING_MAX_LENGTH),
32
- product_interest: VStringMax(255),
34
+ product_interest: VStringMax(),
33
35
  email_consent: v.boolean(),
34
36
  sms_consent: v.boolean(),
35
37
  on_page: VStringMax(LIMIT_MAX_DESTINATION),
36
38
  captcha: VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)
37
39
  });
38
40
  const UpdateLeadDocument = v.object({
39
- first_name: v.optional(VStringMinMax(1, 255)),
40
- last_name: v.optional(VStringMinMax(1, 255)),
41
+ first_name: v.optional(VStringMinMax()),
42
+ last_name: v.optional(VStringMinMax()),
41
43
  email: v.optional(VStringEmail()),
42
44
  phone: v.optional(VStringPhone()),
43
- company: v.optional(VStringMinMax(1, 255)),
44
- title: v.optional(VStringMinMax(1, 255)),
45
+ company: v.optional(VStringMinMax()),
46
+ title: v.optional(VStringMinMax()),
45
47
  message: v.optional(VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)),
46
- product_interest: v.optional(v.nullable(VStringMax(255))),
48
+ product_interest: v.optional(v.nullable(VStringMax())),
47
49
  email_consent: v.optional(v.boolean()),
48
50
  sms_consent: v.optional(v.boolean()),
49
51
  on_page: v.optional(VStringMax(LIMIT_MAX_DESTINATION)),
@@ -1,9 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_regex = require("../../regex-Cl5goNwp.cjs");
4
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relationships = require("../../relationships-HTBNe0F-.cjs");
6
- const require_document = require("../../document-DOVZwQRq.cjs");
3
+ const require_pagination = require("../../pagination-DWZDPzR4.cjs");
4
+ const require_sort = require("../../sort-CI87SH1y.cjs");
5
+ const require_string = require("../../string-Yn-6xiAZ.cjs");
6
+ const require_relationships = require("../../relationships-DjHwYd4r.cjs");
7
+ const require_slug = require("../../slug-cWXTZEIT.cjs");
8
+ const require_document = require("../../document-DwkycUz9.cjs");
7
9
  let valibot = require("valibot");
8
10
  valibot = require_chunk.__toESM(valibot, 1);
9
11
  //#region src/entities/media-content-type/constants.ts
@@ -34,28 +36,28 @@ const MEDIA_CONTENT_TYPE_SORT_KEYS = [
34
36
  ];
35
37
  //#endregion
36
38
  //#region src/entities/media-content-type/fields.ts
37
- const QuerySortMediaContentTypes = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(MEDIA_CONTENT_TYPE_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(MEDIA_CONTENT_TYPE_SORT_KEYS.length)));
39
+ const QuerySortMediaContentTypes = require_sort.createQuerySort(MEDIA_CONTENT_TYPE_SORT_KEYS);
38
40
  //#endregion
39
41
  //#region src/entities/media-content-type/mutation.ts
40
42
  const CreateMediaContentTypeDocument = valibot.object({
41
- title: require_validators.VStringMinMax(1, 255),
42
- slug: require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG),
43
+ title: require_string.VStringMinMax(),
44
+ slug: require_slug.VStringSlug(),
43
45
  is_active: valibot.boolean(),
44
46
  is_organic_social: valibot.boolean(),
45
47
  is_paid_media: valibot.boolean(),
46
- description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
47
- media_platforms: valibot.optional(require_relationships.SAssociateManyEntities),
48
- media_creative_formats: valibot.optional(require_relationships.SAssociateManyEntities)
48
+ description: valibot.optional(valibot.nullable(require_string.VStringMax())),
49
+ media_platforms: require_relationships.SAssociateManyEntitiesOptional,
50
+ media_creative_formats: require_relationships.SAssociateManyEntitiesOptional
49
51
  });
50
52
  const UpdateMediaContentTypeDocument = valibot.object({
51
- title: valibot.optional(require_validators.VStringMinMax(1, 255)),
52
- slug: valibot.optional(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG)),
53
+ title: valibot.optional(require_string.VStringMinMax()),
54
+ slug: valibot.optional(require_slug.VStringSlug()),
53
55
  is_active: valibot.optional(valibot.boolean()),
54
56
  is_organic_social: valibot.optional(valibot.boolean()),
55
57
  is_paid_media: valibot.optional(valibot.boolean()),
56
- description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
57
- media_platforms: valibot.optional(require_relationships.SAssociateManyEntities),
58
- media_creative_formats: valibot.optional(require_relationships.SAssociateManyEntities)
58
+ description: valibot.optional(valibot.nullable(require_string.VStringMax())),
59
+ media_platforms: require_relationships.SAssociateManyEntitiesOptional,
60
+ media_creative_formats: require_relationships.SAssociateManyEntitiesOptional
59
61
  });
60
62
  const UpdateMediaContentTypeDocumentRequest = valibot.object({
61
63
  documentId: require_relationships.SAssociateOneEntity,
@@ -64,10 +66,10 @@ const UpdateMediaContentTypeDocumentRequest = valibot.object({
64
66
  //#endregion
65
67
  //#region src/entities/media-content-type/query.ts
66
68
  const QueryStrapiSearchMediaContentTypes = valibot.object({
67
- page: require_validators.VPage(),
68
- size: require_validators.VSize(LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE),
69
- title: valibot.optional(require_validators.VStringMax()),
70
- slug: valibot.optional(require_validators.VStringMax()),
69
+ page: require_pagination.VPage(),
70
+ size: require_pagination.VSize(LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE),
71
+ title: valibot.optional(require_string.VStringMax()),
72
+ slug: valibot.optional(require_string.VStringMax()),
71
73
  is_active: valibot.optional(valibot.boolean()),
72
74
  is_organic_social: valibot.optional(valibot.boolean()),
73
75
  is_paid_media: valibot.optional(valibot.boolean()),
@@ -1,4 +1,5 @@
1
- import { cr as MediaContentTypeDocument } from "../../index-DXUuI-fJ.cjs";
1
+ import { Z as QuerySortOutput } from "../../index-D7QXaSOY.cjs";
2
+ import { hr as MediaContentTypeDocument } from "../../index-C1GoH-4v.cjs";
2
3
  import * as v from "valibot";
3
4
 
4
5
  //#region src/entities/media-content-type/constants.d.ts
@@ -7,13 +8,13 @@ declare const LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE = 1000;
7
8
  declare const MEDIA_CONTENT_TYPE_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "media_platforms.title", "media_platforms.slug", "media_platforms.utm_key", "media_platforms.is_active", "media_platforms.is_organic_social", "media_platforms.is_paid_media", "media_platforms.createdAt", "media_platforms.updatedAt", "media_creative_formats.title", "media_creative_formats.slug", "media_creative_formats.is_active", "media_creative_formats.createdAt", "media_creative_formats.updatedAt"];
8
9
  //#endregion
9
10
  //#region src/entities/media-content-type/fields.d.ts
10
- declare const QuerySortMediaContentTypes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], 21, undefined>]>, undefined>;
11
+ declare const QuerySortMediaContentTypes: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
11
12
  type QuerySortMediaContentTypes = v.InferOutput<typeof QuerySortMediaContentTypes>;
12
13
  //#endregion
13
14
  //#region src/entities/media-content-type/mutation.d.ts
14
15
  declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
15
16
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
16
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
+ readonly slug: 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: - _ .">]>;
17
18
  readonly is_active: v.BooleanSchema<undefined>;
18
19
  readonly is_organic_social: v.BooleanSchema<undefined>;
19
20
  readonly is_paid_media: v.BooleanSchema<undefined>;
@@ -24,7 +25,7 @@ declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
24
25
  type CreateMediaContentTypeDocument = v.InferOutput<typeof CreateMediaContentTypeDocument>;
25
26
  declare const UpdateMediaContentTypeDocument: v.ObjectSchema<{
26
27
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
27
- readonly slug: 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>;
28
+ readonly slug: v.OptionalSchema<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>;
28
29
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
29
30
  readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
31
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -37,7 +38,7 @@ declare const UpdateMediaContentTypeDocumentRequest: v.ObjectSchema<{
37
38
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
38
39
  readonly data: v.ObjectSchema<{
39
40
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
40
- readonly slug: 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>;
41
+ readonly slug: v.OptionalSchema<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>;
41
42
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
42
43
  readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
43
44
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -59,7 +60,7 @@ declare const QueryStrapiSearchMediaContentTypes: v.ObjectSchema<{
59
60
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
60
61
  readonly media_platforms: 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>;
61
62
  readonly media_creative_formats: 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>;
62
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], 21, undefined>]>, undefined>;
63
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
63
64
  }, undefined>;
64
65
  type QueryStrapiSearchMediaContentTypes = v.InferOutput<typeof QueryStrapiSearchMediaContentTypes>;
65
66
  //#endregion
@@ -1,4 +1,5 @@
1
- import { cr as MediaContentTypeDocument } from "../../index-DEm89ERm.mjs";
1
+ import { Z as QuerySortOutput } from "../../index-Bjjp-2Sa.mjs";
2
+ import { hr as MediaContentTypeDocument } from "../../index-ClQOYhKi.mjs";
2
3
  import * as v from "valibot";
3
4
 
4
5
  //#region src/entities/media-content-type/constants.d.ts
@@ -7,13 +8,13 @@ declare const LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE = 1000;
7
8
  declare const MEDIA_CONTENT_TYPE_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "media_platforms.title", "media_platforms.slug", "media_platforms.utm_key", "media_platforms.is_active", "media_platforms.is_organic_social", "media_platforms.is_paid_media", "media_platforms.createdAt", "media_platforms.updatedAt", "media_creative_formats.title", "media_creative_formats.slug", "media_creative_formats.is_active", "media_creative_formats.createdAt", "media_creative_formats.updatedAt"];
8
9
  //#endregion
9
10
  //#region src/entities/media-content-type/fields.d.ts
10
- declare const QuerySortMediaContentTypes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], 21, undefined>]>, undefined>;
11
+ declare const QuerySortMediaContentTypes: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
11
12
  type QuerySortMediaContentTypes = v.InferOutput<typeof QuerySortMediaContentTypes>;
12
13
  //#endregion
13
14
  //#region src/entities/media-content-type/mutation.d.ts
14
15
  declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
15
16
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
16
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
+ readonly slug: 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: - _ .">]>;
17
18
  readonly is_active: v.BooleanSchema<undefined>;
18
19
  readonly is_organic_social: v.BooleanSchema<undefined>;
19
20
  readonly is_paid_media: v.BooleanSchema<undefined>;
@@ -24,7 +25,7 @@ declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
24
25
  type CreateMediaContentTypeDocument = v.InferOutput<typeof CreateMediaContentTypeDocument>;
25
26
  declare const UpdateMediaContentTypeDocument: v.ObjectSchema<{
26
27
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
27
- readonly slug: 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>;
28
+ readonly slug: v.OptionalSchema<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>;
28
29
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
29
30
  readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
31
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -37,7 +38,7 @@ declare const UpdateMediaContentTypeDocumentRequest: v.ObjectSchema<{
37
38
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
38
39
  readonly data: v.ObjectSchema<{
39
40
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
40
- readonly slug: 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>;
41
+ readonly slug: v.OptionalSchema<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>;
41
42
  readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
42
43
  readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
43
44
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -59,7 +60,7 @@ declare const QueryStrapiSearchMediaContentTypes: v.ObjectSchema<{
59
60
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
60
61
  readonly media_platforms: 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>;
61
62
  readonly media_creative_formats: 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>;
62
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "is_active:ASC" | "is_paid_media:ASC" | "is_organic_social:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "is_active:DESC" | "is_paid_media:DESC" | "is_organic_social:DESC" | "slug:ASC" | "slug:DESC" | "media_platforms.title:ASC" | "media_platforms.slug:ASC" | "media_platforms.utm_key:ASC" | "media_platforms.is_active:ASC" | "media_platforms.is_organic_social:ASC" | "media_platforms.is_paid_media:ASC" | "media_platforms.createdAt:ASC" | "media_platforms.updatedAt:ASC" | "media_platforms.title:DESC" | "media_platforms.slug:DESC" | "media_platforms.utm_key:DESC" | "media_platforms.is_active:DESC" | "media_platforms.is_organic_social:DESC" | "media_platforms.is_paid_media:DESC" | "media_platforms.createdAt:DESC" | "media_platforms.updatedAt:DESC" | "media_creative_formats.title:ASC" | "media_creative_formats.slug:ASC" | "media_creative_formats.is_active:ASC" | "media_creative_formats.createdAt:ASC" | "media_creative_formats.updatedAt:ASC" | "media_creative_formats.title:DESC" | "media_creative_formats.slug:DESC" | "media_creative_formats.is_active:DESC" | "media_creative_formats.createdAt:DESC" | "media_creative_formats.updatedAt:DESC")[], 21, undefined>]>, undefined>;
63
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
63
64
  }, undefined>;
64
65
  type QueryStrapiSearchMediaContentTypes = v.InferOutput<typeof QueryStrapiSearchMediaContentTypes>;
65
66
  //#endregion
@@ -1,7 +1,9 @@
1
- import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
2
- import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
3
- import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relationships-C6xfgdwR.mjs";
4
- import { H as MediaContentTypeDocument } from "../../document-kvIqz0p6.mjs";
1
+ import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
2
+ import { r as createQuerySort } from "../../sort-D3WwshqQ.mjs";
3
+ import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
4
+ import { a as SAssociateManyEntitiesOptional, l as SQueryManyEntities, o as SAssociateOneEntity } from "../../relationships-yPO5SILR.mjs";
5
+ import { t as VStringSlug } from "../../slug-BUtm1t-B.mjs";
6
+ import { U as MediaContentTypeDocument } from "../../document-BWso8VC7.mjs";
5
7
  import * as v from "valibot";
6
8
  //#region src/entities/media-content-type/constants.ts
7
9
  const LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_DEFAULT_SIZE = 100;
@@ -31,28 +33,28 @@ const MEDIA_CONTENT_TYPE_SORT_KEYS = [
31
33
  ];
32
34
  //#endregion
33
35
  //#region src/entities/media-content-type/fields.ts
34
- const QuerySortMediaContentTypes = v.optional(v.pipe(v.array(v.picklist(MEDIA_CONTENT_TYPE_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(MEDIA_CONTENT_TYPE_SORT_KEYS.length)));
36
+ const QuerySortMediaContentTypes = createQuerySort(MEDIA_CONTENT_TYPE_SORT_KEYS);
35
37
  //#endregion
36
38
  //#region src/entities/media-content-type/mutation.ts
37
39
  const CreateMediaContentTypeDocument = v.object({
38
- title: VStringMinMax(1, 255),
39
- slug: VStringMinMaxRegex(1, 255, REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_URL_SLUG),
40
+ title: VStringMinMax(),
41
+ slug: VStringSlug(),
40
42
  is_active: v.boolean(),
41
43
  is_organic_social: v.boolean(),
42
44
  is_paid_media: v.boolean(),
43
- description: v.optional(v.nullable(VStringMax(255))),
44
- media_platforms: v.optional(SAssociateManyEntities),
45
- media_creative_formats: v.optional(SAssociateManyEntities)
45
+ description: v.optional(v.nullable(VStringMax())),
46
+ media_platforms: SAssociateManyEntitiesOptional,
47
+ media_creative_formats: SAssociateManyEntitiesOptional
46
48
  });
47
49
  const UpdateMediaContentTypeDocument = v.object({
48
- title: v.optional(VStringMinMax(1, 255)),
49
- slug: v.optional(VStringMinMaxRegex(1, 255, REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_URL_SLUG)),
50
+ title: v.optional(VStringMinMax()),
51
+ slug: v.optional(VStringSlug()),
50
52
  is_active: v.optional(v.boolean()),
51
53
  is_organic_social: v.optional(v.boolean()),
52
54
  is_paid_media: v.optional(v.boolean()),
53
- description: v.optional(v.nullable(VStringMax(255))),
54
- media_platforms: v.optional(SAssociateManyEntities),
55
- media_creative_formats: v.optional(SAssociateManyEntities)
55
+ description: v.optional(v.nullable(VStringMax())),
56
+ media_platforms: SAssociateManyEntitiesOptional,
57
+ media_creative_formats: SAssociateManyEntitiesOptional
56
58
  });
57
59
  const UpdateMediaContentTypeDocumentRequest = v.object({
58
60
  documentId: SAssociateOneEntity,