@getcommunity/gc-validators 0.0.271-alpha.6 → 0.0.271-alpha.8

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 (282) hide show
  1. package/dist/base/index.cjs +19 -19
  2. package/dist/base/index.d.cts +2 -3
  3. package/dist/base/index.d.mts +3 -4
  4. package/dist/base/index.mjs +2 -2
  5. package/dist/components/blocks/index.cjs +16 -14
  6. package/dist/components/blocks/index.d.cts +2 -1322
  7. package/dist/components/blocks/index.d.mts +2 -1322
  8. package/dist/components/blocks/index.mjs +16 -14
  9. package/dist/components/brand/index.d.cts +1 -314
  10. package/dist/components/brand/index.d.mts +1 -314
  11. package/dist/components/forms/index.cjs +10 -8
  12. package/dist/components/forms/index.d.cts +6 -3
  13. package/dist/components/forms/index.d.mts +6 -3
  14. package/dist/components/forms/index.mjs +10 -8
  15. package/dist/components/shared/index.cjs +3 -1
  16. package/dist/components/shared/index.d.cts +1 -916
  17. package/dist/components/shared/index.d.mts +1 -916
  18. package/dist/components/shared/index.mjs +3 -1
  19. package/dist/components/slideshow/index.cjs +15 -13
  20. package/dist/components/slideshow/index.d.cts +7 -5
  21. package/dist/components/slideshow/index.d.mts +7 -5
  22. package/dist/components/slideshow/index.mjs +15 -13
  23. package/dist/components/utm/index.cjs +4 -2
  24. package/dist/components/utm/index.d.cts +1 -31
  25. package/dist/components/utm/index.d.mts +1 -31
  26. package/dist/components/utm/index.mjs +4 -2
  27. package/dist/{document-BMxLOdrT.d.cts → document-BVhB_t1g.d.mts} +158 -104
  28. package/dist/document-BpfE6S21.cjs +728 -0
  29. package/dist/{document-BPdwRVjm.d.cts → document-CbE38CzE.d.mts} +6 -6
  30. package/dist/document-CrnqUGRk.cjs +243 -0
  31. package/dist/document-Cx4Klv8A.mjs +128 -0
  32. package/dist/{document-Db1-gtyJ.d.mts → document-DtDSYDbn.d.cts} +158 -104
  33. package/dist/document-dPYjuVEj.mjs +457 -0
  34. package/dist/{document-DY8Wgy1A.d.mts → document-i-h3Orv7.d.cts} +6 -6
  35. package/dist/entities/audit-log/index.cjs +2 -2
  36. package/dist/entities/audit-log/index.d.cts +2 -2
  37. package/dist/entities/audit-log/index.d.mts +3 -3
  38. package/dist/entities/audit-log/index.mjs +1 -1
  39. package/dist/entities/blog-page/index.d.mts +1 -1
  40. package/dist/entities/blog-post/index.cjs +1 -14
  41. package/dist/entities/blog-post/index.d.cts +2 -3715
  42. package/dist/entities/blog-post/index.d.mts +2 -3715
  43. package/dist/entities/blog-post/index.mjs +2 -14
  44. package/dist/entities/careers-page/index.d.mts +1 -1
  45. package/dist/entities/category/index.cjs +4 -12
  46. package/dist/entities/category/index.d.cts +4 -977
  47. package/dist/entities/category/index.d.mts +4 -977
  48. package/dist/entities/category/index.mjs +3 -10
  49. package/dist/entities/client/index.cjs +3 -29
  50. package/dist/entities/client/index.d.cts +2 -1412
  51. package/dist/entities/client/index.d.mts +2 -1412
  52. package/dist/entities/client/index.mjs +3 -28
  53. package/dist/entities/client-content-pillar/index.cjs +9 -9
  54. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  55. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  56. package/dist/entities/client-content-pillar/index.mjs +2 -2
  57. package/dist/entities/client-media-platform/index.cjs +10 -20
  58. package/dist/entities/client-media-platform/index.d.cts +2 -535
  59. package/dist/entities/client-media-platform/index.d.mts +2 -535
  60. package/dist/entities/client-media-platform/index.mjs +3 -12
  61. package/dist/entities/client-project/index.cjs +22 -30
  62. package/dist/entities/client-project/index.d.cts +2 -476
  63. package/dist/entities/client-project/index.d.mts +2 -476
  64. package/dist/entities/client-project/index.mjs +3 -10
  65. package/dist/entities/client-report/index.cjs +7 -15
  66. package/dist/entities/client-report/index.d.cts +2 -311
  67. package/dist/entities/client-report/index.d.mts +2 -311
  68. package/dist/entities/client-report/index.mjs +3 -10
  69. package/dist/entities/client-styleguide/index.cjs +7 -15
  70. package/dist/entities/client-styleguide/index.d.cts +2 -711
  71. package/dist/entities/client-styleguide/index.d.mts +2 -711
  72. package/dist/entities/client-styleguide/index.mjs +3 -10
  73. package/dist/entities/client-user/index.cjs +17 -26
  74. package/dist/entities/client-user/index.d.cts +2 -291
  75. package/dist/entities/client-user/index.d.mts +2 -291
  76. package/dist/entities/client-user/index.mjs +3 -11
  77. package/dist/entities/comment/index.d.cts +1 -1
  78. package/dist/entities/comment/index.d.mts +1 -1
  79. package/dist/entities/content-pillar/index.cjs +5 -12
  80. package/dist/entities/content-pillar/index.d.cts +2 -335
  81. package/dist/entities/content-pillar/index.d.mts +2 -335
  82. package/dist/entities/content-pillar/index.mjs +3 -9
  83. package/dist/entities/faq-page/index.d.mts +1 -1
  84. package/dist/entities/gcflytour/index.cjs +9 -19
  85. package/dist/entities/gcflytour/index.d.cts +2 -320
  86. package/dist/entities/gcflytour/index.d.mts +2 -320
  87. package/dist/entities/gcflytour/index.mjs +3 -12
  88. package/dist/entities/gcflytour-snap/index.cjs +7 -15
  89. package/dist/entities/gcflytour-snap/index.d.cts +2 -86
  90. package/dist/entities/gcflytour-snap/index.d.mts +2 -86
  91. package/dist/entities/gcflytour-snap/index.mjs +3 -10
  92. package/dist/entities/landing-page/index.d.mts +1 -1
  93. package/dist/entities/lead/index.cjs +2 -2
  94. package/dist/entities/lead/index.mjs +1 -1
  95. package/dist/entities/media-content-type/index.cjs +10 -20
  96. package/dist/entities/media-content-type/index.d.cts +4 -280
  97. package/dist/entities/media-content-type/index.d.mts +4 -280
  98. package/dist/entities/media-content-type/index.mjs +3 -12
  99. package/dist/entities/media-creative-format/index.cjs +7 -15
  100. package/dist/entities/media-creative-format/index.d.cts +4 -42
  101. package/dist/entities/media-creative-format/index.d.mts +4 -42
  102. package/dist/entities/media-creative-format/index.mjs +3 -10
  103. package/dist/entities/media-medium/index.cjs +7 -15
  104. package/dist/entities/media-medium/index.d.cts +4 -273
  105. package/dist/entities/media-medium/index.d.mts +4 -273
  106. package/dist/entities/media-medium/index.mjs +3 -10
  107. package/dist/entities/media-platform/index.cjs +13 -25
  108. package/dist/entities/media-platform/index.d.cts +2 -361
  109. package/dist/entities/media-platform/index.d.mts +2 -361
  110. package/dist/entities/media-platform/index.mjs +3 -14
  111. package/dist/entities/monday-workspace/index.cjs +7 -15
  112. package/dist/entities/monday-workspace/index.d.cts +2 -291
  113. package/dist/entities/monday-workspace/index.d.mts +2 -291
  114. package/dist/entities/monday-workspace/index.mjs +3 -10
  115. package/dist/entities/newsletter-signup/index.cjs +2 -2
  116. package/dist/entities/newsletter-signup/index.mjs +1 -1
  117. package/dist/entities/policy-page/index.d.mts +1 -1
  118. package/dist/entities/product/index.cjs +1 -1
  119. package/dist/entities/product/index.d.cts +1 -319
  120. package/dist/entities/product/index.d.mts +1 -319
  121. package/dist/entities/product/index.mjs +1 -1
  122. package/dist/entities/product-highlight/index.cjs +2 -17
  123. package/dist/entities/product-highlight/index.d.cts +2 -1039
  124. package/dist/entities/product-highlight/index.d.mts +2 -1039
  125. package/dist/entities/product-highlight/index.mjs +2 -14
  126. package/dist/entities/resume/index.cjs +2 -2
  127. package/dist/entities/resume/index.mjs +1 -1
  128. package/dist/entities/tag/index.cjs +3 -3
  129. package/dist/entities/tag/index.d.cts +3 -14
  130. package/dist/entities/tag/index.d.mts +3 -14
  131. package/dist/entities/tag/index.mjs +2 -2
  132. package/dist/entities/team-member/index.cjs +13 -23
  133. package/dist/entities/team-member/index.d.cts +2 -1668
  134. package/dist/entities/team-member/index.d.mts +2 -1668
  135. package/dist/entities/team-member/index.mjs +2 -11
  136. package/dist/entities/team-page/index.d.mts +1 -1
  137. package/dist/entities/trend/index.cjs +3 -3
  138. package/dist/entities/trend/index.d.cts +1 -333
  139. package/dist/entities/trend/index.d.mts +1 -333
  140. package/dist/entities/trend/index.mjs +2 -2
  141. package/dist/entities/up-auth/index.d.cts +1 -1
  142. package/dist/entities/up-auth/index.d.mts +1 -1
  143. package/dist/entities/up-permission/index.cjs +1 -12
  144. package/dist/entities/up-permission/index.d.cts +2 -35
  145. package/dist/entities/up-permission/index.d.mts +2 -35
  146. package/dist/entities/up-permission/index.mjs +2 -10
  147. package/dist/entities/up-role/index.cjs +4 -17
  148. package/dist/entities/up-role/index.d.cts +2 -38
  149. package/dist/entities/up-role/index.d.mts +2 -38
  150. package/dist/entities/up-role/index.mjs +2 -12
  151. package/dist/entities/up-user/index.cjs +9 -66
  152. package/dist/entities/up-user/index.d.cts +2 -106
  153. package/dist/entities/up-user/index.d.mts +2 -106
  154. package/dist/entities/up-user/index.mjs +2 -56
  155. package/dist/entities/url-redirect/index.d.cts +2 -2
  156. package/dist/entities/url-redirect/index.d.mts +2 -2
  157. package/dist/entities/user-account/index.cjs +9 -16
  158. package/dist/entities/user-account/index.d.cts +3 -17
  159. package/dist/entities/user-account/index.d.mts +3 -17
  160. package/dist/entities/user-account/index.mjs +4 -10
  161. package/dist/entities/utm-link-builder/index.cjs +5 -5
  162. package/dist/entities/utm-link-builder/index.mjs +1 -1
  163. package/dist/entities/utm-tracking-link/index.cjs +7 -17
  164. package/dist/entities/utm-tracking-link/index.d.cts +2 -236
  165. package/dist/entities/utm-tracking-link/index.d.mts +2 -236
  166. package/dist/entities/utm-tracking-link/index.mjs +3 -12
  167. package/dist/index-87puatMp.d.cts +940 -0
  168. package/dist/index-B3VtiObV.d.mts +317 -0
  169. package/dist/index-BbwsFaWE.d.cts +921 -0
  170. package/dist/index-CAls2gHf.d.mts +4744 -0
  171. package/dist/{index-DxyNYBOY.d.mts → index-CJ2_Z1gW.d.mts} +97 -140
  172. package/dist/index-CQP_vcmO.d.cts +317 -0
  173. package/dist/index-CRoWUxGV.d.cts +1324 -0
  174. package/dist/index-D11tQdCv.d.cts +34 -0
  175. package/dist/{index-D6AuLdB6.d.mts → index-D3KnOYr7.d.mts} +3 -3
  176. package/dist/index-DJ-0EDJN.d.mts +921 -0
  177. package/dist/index-DLICmJ_-.d.mts +34 -0
  178. package/dist/{index-Dcwyodut.d.cts → index-D_YPjLxv.d.cts} +3 -3
  179. package/dist/index-DnkNzEew.d.mts +940 -0
  180. package/dist/{index-ZBDWYTfn.d.cts → index-efk0FfOP.d.cts} +96 -139
  181. package/dist/index-oCLNrzIj.d.mts +1324 -0
  182. package/dist/index-ygBcXT6p.d.cts +4744 -0
  183. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  184. package/dist/media-upload-DKeA1eD-.d.mts +140 -0
  185. package/dist/permissions/index.d.cts +1 -1
  186. package/dist/permissions/index.d.mts +1 -1
  187. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  188. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  189. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  190. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  191. package/dist/utilities/index.d.cts +2 -4
  192. package/dist/utilities/index.d.mts +2 -4
  193. package/package.json +1 -1
  194. package/dist/document-382ehFRd.mjs +0 -13
  195. package/dist/document-7JBq8iiP.d.mts +0 -100
  196. package/dist/document-8oGgjvHp.cjs +0 -21
  197. package/dist/document-B-BesdbN.cjs +0 -106
  198. package/dist/document-B0Wfxtx_.cjs +0 -31
  199. package/dist/document-B3W1HKLY.cjs +0 -42
  200. package/dist/document-B6m32jys.cjs +0 -26
  201. package/dist/document-BInCC6Wk.d.cts +0 -17
  202. package/dist/document-BM56JclD.mjs +0 -19
  203. package/dist/document-BQ6ulTO1.d.mts +0 -15
  204. package/dist/document-BRxLaO7o.mjs +0 -14
  205. package/dist/document-Bbc9ayLX.cjs +0 -23
  206. package/dist/document-BdMrLGBL.d.cts +0 -244
  207. package/dist/document-BezYxNmb.d.cts +0 -16
  208. package/dist/document-BpFw7FI0.d.mts +0 -16
  209. package/dist/document-Bpgteig6.mjs +0 -51
  210. package/dist/document-BqLA3Y8O.cjs +0 -17
  211. package/dist/document-BqfLH_0k.d.mts +0 -12183
  212. package/dist/document-Bs8c1mok.d.cts +0 -15
  213. package/dist/document-Bt9GvI0D.mjs +0 -10
  214. package/dist/document-Bu5YWCAU.cjs +0 -82
  215. package/dist/document-BumbQ1Eb.d.cts +0 -18
  216. package/dist/document-BvIcrPT7.cjs +0 -171
  217. package/dist/document-C3OB0I_l.mjs +0 -14
  218. package/dist/document-C4ofAcKx.d.mts +0 -434
  219. package/dist/document-CCcofYd9.d.mts +0 -16
  220. package/dist/document-CFlCafnR.mjs +0 -23
  221. package/dist/document-CLNQhWUt.d.cts +0 -12183
  222. package/dist/document-CUGxDcNv.mjs +0 -10
  223. package/dist/document-CW3ycXvJ.mjs +0 -23
  224. package/dist/document-CXQi4qL-.mjs +0 -39
  225. package/dist/document-CaSvsqH_.mjs +0 -16
  226. package/dist/document-CfUkGKW8.mjs +0 -9
  227. package/dist/document-Clr6FjtO.d.cts +0 -30
  228. package/dist/document-Cp8Pptp9.mjs +0 -23
  229. package/dist/document-Ct4bnsKU.d.mts +0 -27
  230. package/dist/document-Cww9JKGT.mjs +0 -11
  231. package/dist/document-CxeeO4Pl.d.mts +0 -18
  232. package/dist/document-D1jsgU3z.cjs +0 -24
  233. package/dist/document-D2sLfhsG.mjs +0 -12
  234. package/dist/document-D73dqRle.d.cts +0 -19
  235. package/dist/document-DA6YVZz-.d.cts +0 -100
  236. package/dist/document-DAt2jaAd.cjs +0 -26
  237. package/dist/document-DHP4LdYq.cjs +0 -21
  238. package/dist/document-DIcd27AR.d.mts +0 -30
  239. package/dist/document-DK6Xmvao.d.cts +0 -18
  240. package/dist/document-DL4Wayv7.d.mts +0 -244
  241. package/dist/document-DM_UVNTr.cjs +0 -35
  242. package/dist/document-DN3g0EFx.d.cts +0 -434
  243. package/dist/document-DOF-cc0D.mjs +0 -13
  244. package/dist/document-DX2Vidl1.d.cts +0 -27
  245. package/dist/document-DeOzRkxJ.mjs +0 -24
  246. package/dist/document-DgG9DIT2.cjs +0 -106
  247. package/dist/document-DnVLqNHr.cjs +0 -18
  248. package/dist/document-DtBkeafK.cjs +0 -30
  249. package/dist/document-Dv3TYeB2.cjs +0 -30
  250. package/dist/document-DwpVkKFH.cjs +0 -16
  251. package/dist/document-DwsiJVoA.mjs +0 -22
  252. package/dist/document-DwuQKbb9.cjs +0 -20
  253. package/dist/document-HWHxKIhw.mjs +0 -17
  254. package/dist/document-U0OA-83z.cjs +0 -19
  255. package/dist/document-YDFyLZlN.d.mts +0 -18
  256. package/dist/document-a6GT3Sh4.mjs +0 -19
  257. package/dist/document-ahAv6kkH.cjs +0 -17
  258. package/dist/document-bJOLxFq1.d.mts +0 -19
  259. package/dist/document-bbO2HaC_.mjs +0 -110
  260. package/dist/document-cysZuK08.mjs +0 -57
  261. package/dist/document-llX1moYE.mjs +0 -10
  262. package/dist/document-mxwQ5HxZ.cjs +0 -17
  263. package/dist/document-oPQeqMah.cjs +0 -20
  264. package/dist/document-oUROy-QQ.cjs +0 -21
  265. package/dist/document-wBWa6c70.mjs +0 -14
  266. package/dist/document-xVdETwbX.d.cts +0 -16
  267. package/dist/document-yW376Wot.d.mts +0 -17
  268. package/dist/fields-BuP0NSFS.d.mts +0 -7
  269. package/dist/fields-ByZAYnAi.d.cts +0 -7
  270. package/dist/index-DfGGyf7_.d.cts +0 -114
  271. package/dist/index-Dj9J1FKD.d.mts +0 -114
  272. package/dist/query.schema-CItKlb0x.d.cts +0 -41
  273. package/dist/query.schema-DKllKSKC.d.mts +0 -41
  274. package/dist/relations-CG_9IVCD.d.cts +0 -274
  275. package/dist/relations-DxgFak1L.d.mts +0 -274
  276. package/dist/response-BZKHnpHe.d.mts +0 -57
  277. package/dist/response-c6SgLvi9.d.cts +0 -57
  278. /package/dist/{document-B_wA1eag.cjs → document-Ccvtwgy_.cjs} +0 -0
  279. /package/dist/{document-BxOiI95X.mjs → document-D060zybc.mjs} +0 -0
  280. /package/dist/{document-D067FSuD.cjs → document-DaICHS9G.cjs} +0 -0
  281. /package/dist/{document-B_cRo5-b.mjs → document-c3GNPelp.mjs} +0 -0
  282. /package/dist/{json-BbJGr6x_.d.mts → json-CiA5ZRzc.d.mts} +0 -0
@@ -1,67 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
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_document = require("../../document-Bu5YWCAU.cjs");
6
- const require_document$1 = require("../../document-B0Wfxtx_.cjs");
7
- const require_document$2 = require("../../document-B3W1HKLY.cjs");
8
- const require_document$3 = require("../../document-oUROy-QQ.cjs");
9
- const require_document$4 = require("../../document-DnVLqNHr.cjs");
10
- let valibot = require("valibot");
11
- valibot = require_chunk.__toESM(valibot, 1);
12
- //#region src/entities/up-user/constants.ts
13
- const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
14
- const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
15
- const USER_SORT_KEYS = [
16
- "id",
17
- "username",
18
- "email",
19
- "confirmed",
20
- "blocked",
21
- "createdAt",
22
- "updatedAt"
23
- ];
24
- //#endregion
25
- //#region src/entities/up-user/fields.ts
26
- const QuerySortUsers = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(USER_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(USER_SORT_KEYS.length)));
27
- //#endregion
28
- //#region src/entities/up-user/mutation.ts
29
- const CreateUserDocument = valibot.object({
30
- username: require_validators.VStringMinMaxRegex(3, 255, require_regex.REGEX_UTM_VALUE, "username must be alphanumeric"),
31
- email: require_validators.VStringEmail(),
32
- password: require_validators.VStringMinMax(8, 255),
33
- blocked: valibot.boolean(),
34
- confirmed: valibot.boolean(),
35
- role: valibot.number()
36
- });
37
- //#endregion
38
- //#region src/entities/up-user/query.ts
39
- const QueryStrapiUsers = valibot.object({
40
- page: require_validators.VPage(),
41
- size: require_validators.VSize(10),
42
- sort: QuerySortUsers
43
- });
44
- const QueryStrapiUsersByIdentifier = valibot.object({
45
- identifier: require_validators.VStringShort(0),
46
- page: require_validators.VPage(),
47
- size: require_validators.VSize(10)
48
- });
49
- //#endregion
50
- //#region src/entities/up-user/relations.ts
51
- const UserDocumentWithRelations = valibot.object({
52
- ...require_document$3.UserDocument.entries,
53
- role: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$2.RoleDocument))),
54
- account: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$4.UserAccountDocument))),
55
- clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document.ClientUserDocument)))),
56
- utm_tracking_links: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.UtmTrackingLinkDocument))))
57
- });
58
- //#endregion
59
- exports.CreateUserDocument = CreateUserDocument;
60
- exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = LIMIT_USER_PAGINATION_DEFAULT_SIZE;
61
- exports.LIMIT_USER_PAGINATION_MAX_SIZE = LIMIT_USER_PAGINATION_MAX_SIZE;
62
- exports.QuerySortUsers = QuerySortUsers;
63
- exports.QueryStrapiUsers = QueryStrapiUsers;
64
- exports.QueryStrapiUsersByIdentifier = QueryStrapiUsersByIdentifier;
65
- exports.USER_SORT_KEYS = USER_SORT_KEYS;
66
- exports.UserDocument = require_document$3.UserDocument;
67
- exports.UserDocumentWithRelations = UserDocumentWithRelations;
2
+ const require_document = require("../../document-BpfE6S21.cjs");
3
+ exports.CreateUserDocument = require_document.CreateUserDocument;
4
+ exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = require_document.LIMIT_USER_PAGINATION_DEFAULT_SIZE;
5
+ exports.LIMIT_USER_PAGINATION_MAX_SIZE = require_document.LIMIT_USER_PAGINATION_MAX_SIZE;
6
+ exports.QuerySortUsers = require_document.QuerySortUsers;
7
+ exports.QueryStrapiUsers = require_document.QueryStrapiUsers;
8
+ exports.QueryStrapiUsersByIdentifier = require_document.QueryStrapiUsersByIdentifier;
9
+ exports.USER_SORT_KEYS = require_document.USER_SORT_KEYS;
10
+ exports.UserDocument = require_document.UserDocument;
@@ -1,106 +1,2 @@
1
- import { r as UserDocument } from "../../index-DfGGyf7_.cjs";
2
- import { p as ClientEntityScope } from "../../document-CLNQhWUt.cjs";
3
- import * as v from "valibot";
4
-
5
- //#region src/entities/up-user/constants.d.ts
6
- declare const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
7
- declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
8
- declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
9
- //#endregion
10
- //#region src/entities/up-user/fields.d.ts
11
- declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
12
- type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
13
- //#endregion
14
- //#region src/entities/up-user/mutation.d.ts
15
- declare const CreateUserDocument: v.ObjectSchema<{
16
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
18
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
19
- readonly blocked: v.BooleanSchema<undefined>;
20
- readonly confirmed: v.BooleanSchema<undefined>;
21
- readonly role: v.NumberSchema<undefined>;
22
- }, undefined>;
23
- type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
24
- //#endregion
25
- //#region src/entities/up-user/query.d.ts
26
- declare const QueryStrapiUsers: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
30
- }, undefined>;
31
- type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
32
- declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
33
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- }, undefined>;
37
- type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
38
- //#endregion
39
- //#region src/entities/up-user/relations.d.ts
40
- declare const UserDocumentWithRelations: v.ObjectSchema<{
41
- readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
42
- readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
43
- readonly name: v.StringSchema<undefined>;
44
- readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>>, undefined>, undefined>;
51
- readonly account: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
52
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
53
- readonly first_name: v.StringSchema<undefined>;
54
- readonly last_name: v.StringSchema<undefined>;
55
- readonly id: v.NumberSchema<undefined>;
56
- readonly documentId: v.StringSchema<undefined>;
57
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly createdAt: v.StringSchema<undefined>;
59
- readonly updatedAt: v.StringSchema<undefined>;
60
- }, undefined>>, undefined>, undefined>;
61
- readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
62
- readonly scopes: v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<ClientEntityScope[], undefined>]>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>, undefined>;
63
- readonly id: v.NumberSchema<undefined>;
64
- readonly documentId: v.StringSchema<undefined>;
65
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
66
- readonly createdAt: v.StringSchema<undefined>;
67
- readonly updatedAt: v.StringSchema<undefined>;
68
- }, undefined>>, undefined>, undefined>, undefined>;
69
- readonly utm_tracking_links: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
70
- readonly url_destination: v.StringSchema<undefined>;
71
- readonly utm_medium: v.StringSchema<undefined>;
72
- readonly utm_source: v.StringSchema<undefined>;
73
- readonly utm_campaign: v.StringSchema<undefined>;
74
- readonly utm_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
75
- readonly utm_creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
76
- readonly utm_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
77
- readonly campaign_phase: v.StringSchema<undefined>;
78
- readonly campaign_product: v.NullableSchema<v.StringSchema<undefined>, undefined>;
79
- readonly campaign_targeting: v.NullableSchema<v.StringSchema<undefined>, undefined>;
80
- readonly campaign_key: v.NullableSchema<v.StringSchema<undefined>, undefined>;
81
- readonly creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
82
- readonly creative_format_variants: v.NullableSchema<v.StringSchema<undefined>, undefined>;
83
- readonly url: v.StringSchema<undefined>;
84
- readonly is_active: v.BooleanSchema<undefined>;
85
- readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
86
- readonly id: v.NumberSchema<undefined>;
87
- readonly documentId: v.StringSchema<undefined>;
88
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
89
- readonly createdAt: v.StringSchema<undefined>;
90
- readonly updatedAt: v.StringSchema<undefined>;
91
- }, undefined>>, undefined>, undefined>, undefined>;
92
- readonly username: v.StringSchema<undefined>;
93
- readonly email: v.StringSchema<undefined>;
94
- readonly provider: v.StringSchema<undefined>;
95
- readonly confirmed: v.BooleanSchema<undefined>;
96
- readonly blocked: v.BooleanSchema<undefined>;
97
- readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
98
- readonly id: v.NumberSchema<undefined>;
99
- readonly documentId: v.StringSchema<undefined>;
100
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
101
- readonly createdAt: v.StringSchema<undefined>;
102
- readonly updatedAt: v.StringSchema<undefined>;
103
- }, undefined>;
104
- type UserDocumentWithRelations = v.InferOutput<typeof UserDocumentWithRelations>;
105
- //#endregion
106
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
1
+ import { An as UserDocument, Fn as CreateUserDocument, In as QuerySortUsers, Ln as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Nn as QueryStrapiUsers, Pn as QueryStrapiUsersByIdentifier, Rn as LIMIT_USER_PAGINATION_MAX_SIZE, zn as USER_SORT_KEYS } from "../../index-ygBcXT6p.cjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -1,106 +1,2 @@
1
- import { r as UserDocument } from "../../index-Dj9J1FKD.mjs";
2
- import { p as ClientEntityScope } from "../../document-BqfLH_0k.mjs";
3
- import * as v from "valibot";
4
-
5
- //#region src/entities/up-user/constants.d.ts
6
- declare const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
7
- declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
8
- declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
9
- //#endregion
10
- //#region src/entities/up-user/fields.d.ts
11
- declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
12
- type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
13
- //#endregion
14
- //#region src/entities/up-user/mutation.d.ts
15
- declare const CreateUserDocument: v.ObjectSchema<{
16
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
18
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
19
- readonly blocked: v.BooleanSchema<undefined>;
20
- readonly confirmed: v.BooleanSchema<undefined>;
21
- readonly role: v.NumberSchema<undefined>;
22
- }, undefined>;
23
- type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
24
- //#endregion
25
- //#region src/entities/up-user/query.d.ts
26
- declare const QueryStrapiUsers: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
30
- }, undefined>;
31
- type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
32
- declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
33
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- }, undefined>;
37
- type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
38
- //#endregion
39
- //#region src/entities/up-user/relations.d.ts
40
- declare const UserDocumentWithRelations: v.ObjectSchema<{
41
- readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
42
- readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
43
- readonly name: v.StringSchema<undefined>;
44
- readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>>, undefined>, undefined>;
51
- readonly account: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
52
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
53
- readonly first_name: v.StringSchema<undefined>;
54
- readonly last_name: v.StringSchema<undefined>;
55
- readonly id: v.NumberSchema<undefined>;
56
- readonly documentId: v.StringSchema<undefined>;
57
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly createdAt: v.StringSchema<undefined>;
59
- readonly updatedAt: v.StringSchema<undefined>;
60
- }, undefined>>, undefined>, undefined>;
61
- readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
62
- readonly scopes: v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<ClientEntityScope[], undefined>]>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>, undefined>;
63
- readonly id: v.NumberSchema<undefined>;
64
- readonly documentId: v.StringSchema<undefined>;
65
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
66
- readonly createdAt: v.StringSchema<undefined>;
67
- readonly updatedAt: v.StringSchema<undefined>;
68
- }, undefined>>, undefined>, undefined>, undefined>;
69
- readonly utm_tracking_links: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
70
- readonly url_destination: v.StringSchema<undefined>;
71
- readonly utm_medium: v.StringSchema<undefined>;
72
- readonly utm_source: v.StringSchema<undefined>;
73
- readonly utm_campaign: v.StringSchema<undefined>;
74
- readonly utm_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
75
- readonly utm_creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
76
- readonly utm_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
77
- readonly campaign_phase: v.StringSchema<undefined>;
78
- readonly campaign_product: v.NullableSchema<v.StringSchema<undefined>, undefined>;
79
- readonly campaign_targeting: v.NullableSchema<v.StringSchema<undefined>, undefined>;
80
- readonly campaign_key: v.NullableSchema<v.StringSchema<undefined>, undefined>;
81
- readonly creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
82
- readonly creative_format_variants: v.NullableSchema<v.StringSchema<undefined>, undefined>;
83
- readonly url: v.StringSchema<undefined>;
84
- readonly is_active: v.BooleanSchema<undefined>;
85
- readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
86
- readonly id: v.NumberSchema<undefined>;
87
- readonly documentId: v.StringSchema<undefined>;
88
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
89
- readonly createdAt: v.StringSchema<undefined>;
90
- readonly updatedAt: v.StringSchema<undefined>;
91
- }, undefined>>, undefined>, undefined>, undefined>;
92
- readonly username: v.StringSchema<undefined>;
93
- readonly email: v.StringSchema<undefined>;
94
- readonly provider: v.StringSchema<undefined>;
95
- readonly confirmed: v.BooleanSchema<undefined>;
96
- readonly blocked: v.BooleanSchema<undefined>;
97
- readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
98
- readonly id: v.NumberSchema<undefined>;
99
- readonly documentId: v.StringSchema<undefined>;
100
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
101
- readonly createdAt: v.StringSchema<undefined>;
102
- readonly updatedAt: v.StringSchema<undefined>;
103
- }, undefined>;
104
- type UserDocumentWithRelations = v.InferOutput<typeof UserDocumentWithRelations>;
105
- //#endregion
106
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
1
+ import { An as UserDocument, Fn as CreateUserDocument, In as QuerySortUsers, Ln as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Nn as QueryStrapiUsers, Pn as QueryStrapiUsersByIdentifier, Rn as LIMIT_USER_PAGINATION_MAX_SIZE, zn as USER_SORT_KEYS } from "../../index-CAls2gHf.mjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -1,56 +1,2 @@
1
- import { s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
2
- import { d as VStringMinMax, f as VStringMinMaxRegex, h as VStringShort, i as VSize, o as VStringEmail, r as VPage } from "../../validators-P5E_3qzc.mjs";
3
- import { t as ClientUserDocument } from "../../document-CXQi4qL-.mjs";
4
- import { t as UtmTrackingLinkDocument } from "../../document-DeOzRkxJ.mjs";
5
- import { t as RoleDocument } from "../../document-CFlCafnR.mjs";
6
- import { t as UserDocument } from "../../document-BRxLaO7o.mjs";
7
- import { t as UserAccountDocument } from "../../document-Cww9JKGT.mjs";
8
- import * as v from "valibot";
9
- //#region src/entities/up-user/constants.ts
10
- const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
11
- const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
12
- const USER_SORT_KEYS = [
13
- "id",
14
- "username",
15
- "email",
16
- "confirmed",
17
- "blocked",
18
- "createdAt",
19
- "updatedAt"
20
- ];
21
- //#endregion
22
- //#region src/entities/up-user/fields.ts
23
- const QuerySortUsers = v.optional(v.pipe(v.array(v.picklist(USER_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(USER_SORT_KEYS.length)));
24
- //#endregion
25
- //#region src/entities/up-user/mutation.ts
26
- const CreateUserDocument = v.object({
27
- username: VStringMinMaxRegex(3, 255, REGEX_UTM_VALUE, "username must be alphanumeric"),
28
- email: VStringEmail(),
29
- password: VStringMinMax(8, 255),
30
- blocked: v.boolean(),
31
- confirmed: v.boolean(),
32
- role: v.number()
33
- });
34
- //#endregion
35
- //#region src/entities/up-user/query.ts
36
- const QueryStrapiUsers = v.object({
37
- page: VPage(),
38
- size: VSize(10),
39
- sort: QuerySortUsers
40
- });
41
- const QueryStrapiUsersByIdentifier = v.object({
42
- identifier: VStringShort(0),
43
- page: VPage(),
44
- size: VSize(10)
45
- });
46
- //#endregion
47
- //#region src/entities/up-user/relations.ts
48
- const UserDocumentWithRelations = v.object({
49
- ...UserDocument.entries,
50
- role: v.optional(v.nullable(v.lazy(() => RoleDocument))),
51
- account: v.optional(v.nullable(v.lazy(() => UserAccountDocument))),
52
- clients: v.optional(v.nullable(v.array(v.lazy(() => ClientUserDocument)))),
53
- utm_tracking_links: v.optional(v.nullable(v.array(v.lazy(() => UtmTrackingLinkDocument))))
54
- });
55
- //#endregion
56
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
1
+ import { E as USER_SORT_KEYS, T as LIMIT_USER_PAGINATION_MAX_SIZE, _ as UserDocument, g as QuerySortUsers, h as CreateUserDocument, m as QueryStrapiUsersByIdentifier, p as QueryStrapiUsers, w as LIMIT_USER_PAGINATION_DEFAULT_SIZE } from "../../document-dPYjuVEj.mjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -27,14 +27,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
27
27
  type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
28
28
  declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
29
29
  type UrlRedirectQueryParams = v.InferOutput<typeof UrlRedirectQueryParams>;
30
- declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
30
+ declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
31
31
  type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
32
32
  //#endregion
33
33
  //#region src/entities/url-redirect/query.d.ts
34
34
  declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
35
35
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
36
36
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, 100>, 100>;
37
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
37
+ readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
38
38
  }, undefined>;
39
39
  type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
40
40
  declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
@@ -27,14 +27,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
27
27
  type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
28
28
  declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
29
29
  type UrlRedirectQueryParams = v.InferOutput<typeof UrlRedirectQueryParams>;
30
- declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
30
+ declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
31
31
  type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
32
32
  //#endregion
33
33
  //#region src/entities/url-redirect/query.d.ts
34
34
  declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
35
35
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
36
36
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, 100>, 100>;
37
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
37
+ readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
38
38
  }, undefined>;
39
39
  type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
40
40
  declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
@@ -1,41 +1,35 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_query_schema = require("../../query.schema-DHTf6rTw.cjs");
3
+ const require_query = require("../../query-7g1AOXN9.cjs");
4
4
  require("../../regex-Cl5goNwp.cjs");
5
5
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relations = require("../../relations-CGu18hfT.cjs");
7
- const require_document = require("../../document-DnVLqNHr.cjs");
6
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
7
+ const require_document = require("../../document-BpfE6S21.cjs");
8
8
  let valibot = require("valibot");
9
9
  valibot = require_chunk.__toESM(valibot, 1);
10
10
  //#region src/entities/user-account/mutation.ts
11
11
  const UpdateUserAccount = valibot.object({
12
- documentId: require_relations.SAssociateOneEntity,
12
+ documentId: require_relationships.SAssociateOneEntity,
13
13
  first_name: require_validators.VStringMinMax(1, 255),
14
14
  last_name: require_validators.VStringMinMax(1, 255),
15
15
  preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
16
16
  });
17
17
  const UpdateUserAccountFirstName = valibot.object({
18
- documentId: require_relations.SAssociateOneEntity,
18
+ documentId: require_relationships.SAssociateOneEntity,
19
19
  first_name: require_validators.VStringMinMax(1, 255)
20
20
  });
21
21
  const UpdateUserAccountLastName = valibot.object({
22
- documentId: require_relations.SAssociateOneEntity,
22
+ documentId: require_relationships.SAssociateOneEntity,
23
23
  last_name: require_validators.VStringMinMax(1, 255)
24
24
  });
25
25
  const UpdateUserAccountPreferredName = valibot.object({
26
- documentId: require_relations.SAssociateOneEntity,
26
+ documentId: require_relationships.SAssociateOneEntity,
27
27
  preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
28
28
  });
29
29
  //#endregion
30
30
  //#region src/entities/user-account/query.ts
31
- const SReadUserAccountById = require_query_schema.QueryStrapiById;
32
- const SReadUserAccountByDocumentId = require_query_schema.QueryStrapiByDocumentId;
33
- //#endregion
34
- //#region src/entities/user-account/relations.ts
35
- const UserAccountDocumentWithRelations = valibot.object({
36
- ...require_document.UserAccountDocument.entries,
37
- user: valibot.optional(valibot.unknown())
38
- });
31
+ const SReadUserAccountById = require_query.QueryStrapiById;
32
+ const SReadUserAccountByDocumentId = require_query.QueryStrapiByDocumentId;
39
33
  //#endregion
40
34
  exports.SReadUserAccountByDocumentId = SReadUserAccountByDocumentId;
41
35
  exports.SReadUserAccountById = SReadUserAccountById;
@@ -44,4 +38,3 @@ exports.UpdateUserAccountFirstName = UpdateUserAccountFirstName;
44
38
  exports.UpdateUserAccountLastName = UpdateUserAccountLastName;
45
39
  exports.UpdateUserAccountPreferredName = UpdateUserAccountPreferredName;
46
40
  exports.UserAccountDocument = require_document.UserAccountDocument;
47
- exports.UserAccountDocumentWithRelations = UserAccountDocumentWithRelations;
@@ -1,5 +1,5 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-CItKlb0x.cjs";
2
- import { t as UserAccountDocument } from "../../document-xVdETwbX.cjs";
1
+ import { dt as QueryStrapiById, lt as QueryStrapiByDocumentId } from "../../index-efk0FfOP.cjs";
2
+ import { Mn as UserAccountDocument } from "../../index-ygBcXT6p.cjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -36,18 +36,4 @@ declare const SReadUserAccountByDocumentId: v.ObjectSchema<{
36
36
  }, undefined>;
37
37
  type SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
38
38
  //#endregion
39
- //#region src/entities/user-account/relations.d.ts
40
- declare const UserAccountDocumentWithRelations: v.ObjectSchema<{
41
- readonly user: v.OptionalSchema<v.UnknownSchema, undefined>;
42
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
43
- readonly first_name: v.StringSchema<undefined>;
44
- readonly last_name: v.StringSchema<undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>;
51
- type UserAccountDocumentWithRelations = v.InferOutput<typeof UserAccountDocumentWithRelations>;
52
- //#endregion
53
- export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument, UserAccountDocumentWithRelations };
39
+ export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
@@ -1,5 +1,5 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-DKllKSKC.mjs";
2
- import { t as UserAccountDocument } from "../../document-BpFw7FI0.mjs";
1
+ import { dt as QueryStrapiById, lt as QueryStrapiByDocumentId } from "../../index-CJ2_Z1gW.mjs";
2
+ import { Mn as UserAccountDocument } from "../../index-CAls2gHf.mjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -36,18 +36,4 @@ declare const SReadUserAccountByDocumentId: v.ObjectSchema<{
36
36
  }, undefined>;
37
37
  type SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
38
38
  //#endregion
39
- //#region src/entities/user-account/relations.d.ts
40
- declare const UserAccountDocumentWithRelations: v.ObjectSchema<{
41
- readonly user: v.OptionalSchema<v.UnknownSchema, undefined>;
42
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
43
- readonly first_name: v.StringSchema<undefined>;
44
- readonly last_name: v.StringSchema<undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>;
51
- type UserAccountDocumentWithRelations = v.InferOutput<typeof UserAccountDocumentWithRelations>;
52
- //#endregion
53
- export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument, UserAccountDocumentWithRelations };
39
+ export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
@@ -1,8 +1,8 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-YKoOuBnk.mjs";
1
+ import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-CeUev0uJ.mjs";
2
2
  import "../../regex-BnKGcdS4.mjs";
3
3
  import { d as VStringMinMax } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
5
- import { t as UserAccountDocument } from "../../document-Cww9JKGT.mjs";
4
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
5
+ import { y as UserAccountDocument } from "../../document-dPYjuVEj.mjs";
6
6
  import * as v from "valibot";
7
7
  //#region src/entities/user-account/mutation.ts
8
8
  const UpdateUserAccount = v.object({
@@ -28,10 +28,4 @@ const UpdateUserAccountPreferredName = v.object({
28
28
  const SReadUserAccountById = QueryStrapiById;
29
29
  const SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
30
30
  //#endregion
31
- //#region src/entities/user-account/relations.ts
32
- const UserAccountDocumentWithRelations = v.object({
33
- ...UserAccountDocument.entries,
34
- user: v.optional(v.unknown())
35
- });
36
- //#endregion
37
- export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument, UserAccountDocumentWithRelations };
31
+ export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
3
  const require_regex = require("../../regex-Cl5goNwp.cjs");
4
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relations = require("../../relations-CGu18hfT.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
6
  let valibot = require("valibot");
7
7
  valibot = require_chunk.__toESM(valibot, 1);
8
8
  //#region src/entities/utm-link-builder/constants.ts
@@ -41,8 +41,8 @@ const SUtmLinkBuilderCreativeFormat = valibot.object({
41
41
  }))
42
42
  });
43
43
  const SUtmLinkBuilderTableForm = valibot.object({
44
- creator: require_relations.SAssociateOneEntity,
45
- client: require_relations.SAssociateOneEntity,
44
+ creator: require_relationships.SAssociateOneEntity,
45
+ client: require_relationships.SAssociateOneEntity,
46
46
  variants: valibot.pipe(valibot.array(valibot.object({
47
47
  url_destinations: valibot.pipe(valibot.array(valibot.object({ url: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
48
48
  if (input === "") return false;
@@ -58,8 +58,8 @@ const SUtmLinkBuilderTableForm = valibot.object({
58
58
  notes: valibot.optional(require_validators.VStringMax())
59
59
  });
60
60
  const SUtmLinkBuilderSingleForm = valibot.object({
61
- creator: require_relations.SAssociateOneEntity,
62
- client: require_relations.SAssociateOneEntity,
61
+ creator: require_relationships.SAssociateOneEntity,
62
+ client: require_relationships.SAssociateOneEntity,
63
63
  url_destination: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
64
64
  if (input === "") return false;
65
65
  return input.indexOf("?") === -1;
@@ -1,6 +1,6 @@
1
1
  import { J as ERROR_MESSAGE_UTM_URL, K as ERROR_MESSAGE_URL_NO_QUERY_PARAMS, U as ERROR_MESSAGE_INVALID_URL, r as ERROR_MESSAGE_REGEX_UTM_VALUE, s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
2
2
  import { d as VStringMinMax, l as VStringMax, t as VIntegerNullable, u as VStringMaxRegex } from "../../validators-P5E_3qzc.mjs";
3
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
3
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
4
4
  import * as v from "valibot";
5
5
  //#region src/entities/utm-link-builder/constants.ts
6
6
  const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = [