@getcommunity/gc-validators 0.0.271-alpha.5 → 0.0.271-alpha.7

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 (244) hide show
  1. package/dist/base/index.cjs +19 -19
  2. package/dist/base/index.d.cts +3 -3
  3. package/dist/base/index.d.mts +4 -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-BFPtEW5P.d.cts +17 -0
  28. package/dist/{document-Bpr9mbCs.d.mts → document-CH1Od98-.d.mts} +6 -6
  29. package/dist/document-Ccvtwgy_.cjs +26 -0
  30. package/dist/{document-Gx2Vrg_w.d.mts → document-CnKWB70Z.d.cts} +158 -104
  31. package/dist/{document-hEBlSep8.d.cts → document-CpsxYzbB.d.cts} +6 -6
  32. package/dist/document-CrnqUGRk.cjs +243 -0
  33. package/dist/document-Cx4Klv8A.mjs +128 -0
  34. package/dist/document-D060zybc.mjs +19 -0
  35. package/dist/document-DUHPXtbm.mjs +409 -0
  36. package/dist/document-DaICHS9G.cjs +17 -0
  37. package/dist/document-DamlTVm7.cjs +19 -0
  38. package/dist/document-DnA3Nwgh.mjs +12 -0
  39. package/dist/{document-BMxLOdrT.d.cts → document-Dr5-pbqu.d.mts} +158 -104
  40. package/dist/document-GovGVYRl.d.mts +17 -0
  41. package/dist/document-c3GNPelp.mjs +10 -0
  42. package/dist/document-zu6-DmQT.cjs +632 -0
  43. package/dist/entities/audit-log/index.cjs +2 -2
  44. package/dist/entities/audit-log/index.d.cts +2 -2
  45. package/dist/entities/audit-log/index.d.mts +3 -3
  46. package/dist/entities/audit-log/index.mjs +1 -1
  47. package/dist/entities/blog-page/index.d.mts +1 -1
  48. package/dist/entities/blog-post/index.cjs +11 -65
  49. package/dist/entities/blog-post/index.d.cts +1 -1620
  50. package/dist/entities/blog-post/index.d.mts +1 -1620
  51. package/dist/entities/blog-post/index.mjs +1 -55
  52. package/dist/entities/careers-page/index.d.mts +1 -1
  53. package/dist/entities/category/index.cjs +4 -11
  54. package/dist/entities/category/index.d.cts +3 -14
  55. package/dist/entities/category/index.d.mts +3 -14
  56. package/dist/entities/category/index.mjs +2 -9
  57. package/dist/entities/client/index.cjs +3 -3
  58. package/dist/entities/client/index.d.cts +1 -84
  59. package/dist/entities/client/index.d.mts +1 -84
  60. package/dist/entities/client/index.mjs +2 -2
  61. package/dist/entities/client-content-pillar/index.cjs +10 -20
  62. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  63. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  64. package/dist/entities/client-content-pillar/index.mjs +2 -12
  65. package/dist/entities/client-media-platform/index.cjs +10 -17
  66. package/dist/entities/client-media-platform/index.d.cts +1 -52
  67. package/dist/entities/client-media-platform/index.d.mts +1 -52
  68. package/dist/entities/client-media-platform/index.mjs +2 -9
  69. package/dist/entities/client-project/index.cjs +22 -129
  70. package/dist/entities/client-project/index.d.cts +1 -146
  71. package/dist/entities/client-project/index.d.mts +1 -146
  72. package/dist/entities/client-project/index.mjs +2 -109
  73. package/dist/entities/client-report/index.cjs +7 -18
  74. package/dist/entities/client-report/index.d.cts +1 -62
  75. package/dist/entities/client-report/index.d.mts +1 -62
  76. package/dist/entities/client-report/index.mjs +2 -13
  77. package/dist/entities/client-styleguide/index.cjs +7 -27
  78. package/dist/entities/client-styleguide/index.d.cts +1 -47
  79. package/dist/entities/client-styleguide/index.d.mts +1 -47
  80. package/dist/entities/client-styleguide/index.mjs +2 -22
  81. package/dist/entities/client-user/index.cjs +17 -53
  82. package/dist/entities/client-user/index.d.cts +1 -46
  83. package/dist/entities/client-user/index.d.mts +1 -46
  84. package/dist/entities/client-user/index.mjs +2 -38
  85. package/dist/entities/comment/index.d.cts +1 -1
  86. package/dist/entities/content-pillar/index.cjs +5 -5
  87. package/dist/entities/content-pillar/index.d.cts +1 -49
  88. package/dist/entities/content-pillar/index.d.mts +1 -49
  89. package/dist/entities/content-pillar/index.mjs +2 -2
  90. package/dist/entities/faq-page/index.d.mts +1 -1
  91. package/dist/entities/gcflytour/index.cjs +9 -19
  92. package/dist/entities/gcflytour/index.d.cts +1 -60
  93. package/dist/entities/gcflytour/index.d.mts +1 -60
  94. package/dist/entities/gcflytour/index.mjs +2 -12
  95. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  96. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  97. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  98. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  99. package/dist/entities/landing-page/index.d.mts +1 -1
  100. package/dist/entities/lead/index.cjs +2 -2
  101. package/dist/entities/lead/index.mjs +1 -1
  102. package/dist/entities/media-content-type/index.cjs +10 -23
  103. package/dist/entities/media-content-type/index.d.cts +3 -3
  104. package/dist/entities/media-content-type/index.d.mts +3 -3
  105. package/dist/entities/media-content-type/index.mjs +2 -15
  106. package/dist/entities/media-creative-format/index.cjs +7 -16
  107. package/dist/entities/media-creative-format/index.d.cts +3 -3
  108. package/dist/entities/media-creative-format/index.d.mts +3 -3
  109. package/dist/entities/media-creative-format/index.mjs +2 -11
  110. package/dist/entities/media-medium/index.cjs +7 -18
  111. package/dist/entities/media-medium/index.d.cts +3 -18
  112. package/dist/entities/media-medium/index.d.mts +3 -18
  113. package/dist/entities/media-medium/index.mjs +2 -13
  114. package/dist/entities/media-platform/index.cjs +13 -29
  115. package/dist/entities/media-platform/index.d.cts +1 -73
  116. package/dist/entities/media-platform/index.d.mts +1 -73
  117. package/dist/entities/media-platform/index.mjs +2 -18
  118. package/dist/entities/monday-workspace/index.cjs +7 -14
  119. package/dist/entities/monday-workspace/index.d.cts +1 -46
  120. package/dist/entities/monday-workspace/index.d.mts +1 -46
  121. package/dist/entities/monday-workspace/index.mjs +2 -9
  122. package/dist/entities/newsletter-signup/index.cjs +2 -2
  123. package/dist/entities/newsletter-signup/index.mjs +1 -1
  124. package/dist/entities/policy-page/index.d.mts +1 -1
  125. package/dist/entities/product/index.cjs +2 -21
  126. package/dist/entities/product/index.d.cts +1 -319
  127. package/dist/entities/product/index.d.mts +1 -319
  128. package/dist/entities/product/index.mjs +1 -18
  129. package/dist/entities/product-highlight/index.cjs +2 -21
  130. package/dist/entities/product-highlight/index.d.cts +1 -244
  131. package/dist/entities/product-highlight/index.d.mts +1 -244
  132. package/dist/entities/product-highlight/index.mjs +1 -18
  133. package/dist/entities/resume/index.cjs +2 -2
  134. package/dist/entities/resume/index.mjs +1 -1
  135. package/dist/entities/tag/index.cjs +4 -11
  136. package/dist/entities/tag/index.d.cts +3 -14
  137. package/dist/entities/tag/index.d.mts +3 -14
  138. package/dist/entities/tag/index.mjs +2 -9
  139. package/dist/entities/team-member/index.cjs +1 -1
  140. package/dist/entities/team-member/index.d.cts +1 -209
  141. package/dist/entities/team-member/index.d.mts +1 -209
  142. package/dist/entities/team-member/index.mjs +1 -1
  143. package/dist/entities/team-page/index.d.mts +1 -1
  144. package/dist/entities/trend/index.cjs +4 -18
  145. package/dist/entities/trend/index.d.cts +1 -333
  146. package/dist/entities/trend/index.d.mts +1 -333
  147. package/dist/entities/trend/index.mjs +2 -16
  148. package/dist/entities/up-auth/index.d.cts +1 -1
  149. package/dist/entities/up-auth/index.d.mts +1 -1
  150. package/dist/entities/up-permission/index.cjs +2 -11
  151. package/dist/entities/up-permission/index.d.cts +1 -13
  152. package/dist/entities/up-permission/index.d.mts +1 -13
  153. package/dist/entities/up-permission/index.mjs +1 -8
  154. package/dist/entities/up-role/index.cjs +4 -27
  155. package/dist/entities/up-role/index.d.cts +1 -2
  156. package/dist/entities/up-role/index.d.mts +1 -2
  157. package/dist/entities/up-role/index.mjs +1 -22
  158. package/dist/entities/up-user/index.cjs +2 -13
  159. package/dist/entities/up-user/index.d.cts +1 -37
  160. package/dist/entities/up-user/index.d.mts +1 -37
  161. package/dist/entities/up-user/index.mjs +1 -12
  162. package/dist/entities/url-redirect/index.d.cts +2 -2
  163. package/dist/entities/url-redirect/index.d.mts +2 -2
  164. package/dist/entities/user-account/index.cjs +10 -18
  165. package/dist/entities/user-account/index.d.cts +2 -2
  166. package/dist/entities/user-account/index.d.mts +2 -2
  167. package/dist/entities/user-account/index.mjs +3 -11
  168. package/dist/entities/utm-link-builder/index.cjs +5 -5
  169. package/dist/entities/utm-link-builder/index.mjs +1 -1
  170. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  171. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  172. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  173. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  174. package/dist/index-22laZYwt.d.mts +34 -0
  175. package/dist/{index-Bht1Jd5l.d.mts → index-B-CQQO_E.d.mts} +59 -140
  176. package/dist/index-BCvKbd4C.d.cts +940 -0
  177. package/dist/index-BQ_nheAt.d.mts +1324 -0
  178. package/dist/index-Cb8BnFcL.d.cts +4731 -0
  179. package/dist/index-Cpbdnd9q.d.cts +317 -0
  180. package/dist/index-D0PCjo7e.d.mts +940 -0
  181. package/dist/index-DB45mxlG.d.mts +921 -0
  182. package/dist/index-Df7ixqwa.d.cts +1324 -0
  183. package/dist/index-GUYqdxFh.d.mts +4731 -0
  184. package/dist/index-NBz_zMvQ.d.cts +34 -0
  185. package/dist/index-Z_fJ28vW.d.mts +317 -0
  186. package/dist/index-_eItTyFr.d.cts +921 -0
  187. package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
  188. package/dist/media-upload-BEfESsVb.d.mts +140 -0
  189. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  190. package/dist/permissions/index.d.cts +1 -1
  191. package/dist/permissions/index.d.mts +1 -1
  192. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  193. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  194. package/dist/{query.schema-BOn5Kk_p.d.mts → query-Cyv28Ggi.d.cts} +1 -1
  195. package/dist/{query.schema-CItKlb0x.d.cts → query-HXwJctNd.d.mts} +1 -1
  196. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  197. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  198. package/dist/utilities/index.d.cts +2 -4
  199. package/dist/utilities/index.d.mts +2 -4
  200. package/package.json +1 -1
  201. package/dist/document-AkydjorI.d.cts +0 -12219
  202. package/dist/document-BAzLIprH.d.mts +0 -100
  203. package/dist/document-BK1ASowb.d.cts +0 -17
  204. package/dist/document-BNoXPGwF.d.mts +0 -27
  205. package/dist/document-B_pJW777.d.mts +0 -30
  206. package/dist/document-Bd2AyLs8.d.mts +0 -16
  207. package/dist/document-BezYxNmb.d.cts +0 -16
  208. package/dist/document-Bj7SRTOn.d.cts +0 -18
  209. package/dist/document-Bo869pZx.d.mts +0 -18
  210. package/dist/document-Bs8c1mok.d.cts +0 -15
  211. package/dist/document-C0c7azOe.d.mts +0 -434
  212. package/dist/document-CTTDXzOF.mjs +0 -13
  213. package/dist/document-CUl_Ys6-.mjs +0 -23
  214. package/dist/document-CWYzG60q.d.cts +0 -19
  215. package/dist/document-Ccszj8lR.cjs +0 -20
  216. package/dist/document-CjNHI7Eb.d.cts +0 -27
  217. package/dist/document-Cu_HUDC5.mjs +0 -51
  218. package/dist/document-D-KvyEb5.d.cts +0 -238
  219. package/dist/document-D2nLVGig.d.mts +0 -238
  220. package/dist/document-D5yDIDIx.d.mts +0 -15
  221. package/dist/document-D73dqRle.d.cts +0 -19
  222. package/dist/document-DA6YVZz-.d.cts +0 -100
  223. package/dist/document-DJ0YiVte.d.cts +0 -30
  224. package/dist/document-DMHIUE3J.d.mts +0 -17
  225. package/dist/document-DN3g0EFx.d.cts +0 -434
  226. package/dist/document-DYzRVV1C.d.mts +0 -16
  227. package/dist/document-D_ZMbzn6.d.cts +0 -18
  228. package/dist/document-DeoRGh7p.d.mts +0 -19
  229. package/dist/document-DsIPBTG8.cjs +0 -30
  230. package/dist/document-DsSaMVGb.cjs +0 -106
  231. package/dist/document-DsT_qkhs.d.mts +0 -12219
  232. package/dist/document-IIJpsOIO.d.cts +0 -16
  233. package/dist/document-WHS8GHY5.d.mts +0 -18
  234. package/dist/document-dqrWptdY.d.cts +0 -244
  235. package/dist/document-si7GYS5g.d.mts +0 -19
  236. package/dist/document-vq-7rcU5.d.mts +0 -244
  237. package/dist/fields-BQHSYj70.d.cts +0 -7
  238. package/dist/fields-qx-5saY5.d.mts +0 -7
  239. package/dist/index-BI8tN-QZ.d.mts +0 -99
  240. package/dist/index-DpYYzY_9.d.cts +0 -99
  241. package/dist/response-C-7nyNVD.d.mts +0 -57
  242. package/dist/response-c6SgLvi9.d.cts +0 -57
  243. /package/dist/{index-D4Mm4D2d.d.cts → index-COCNx5sv.d.cts} +0 -0
  244. /package/dist/{json-CqAaKeHA.d.mts → json-p1Yf7cEr.d.mts} +0 -0
@@ -1,3 +1,4 @@
1
+ import { ir as MediaMediumDocument } from "../../index-GUYqdxFh.mjs";
1
2
  import * as v from "valibot";
2
3
 
3
4
  //#region src/entities/media-medium/constants.d.ts
@@ -5,24 +6,8 @@ declare const LIMIT_MEDIA_MEDIUM_PAGINATION_DEFAULT_SIZE = 100;
5
6
  declare const LIMIT_MEDIA_MEDIUM_PAGINATION_MAX_SIZE = 1000;
6
7
  declare const MEDIA_MEDIUM_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"];
7
8
  //#endregion
8
- //#region src/entities/media-medium/document.d.ts
9
- declare const MediaMediumDocument: v.ObjectSchema<{
10
- readonly title: v.StringSchema<undefined>;
11
- readonly slug: v.StringSchema<undefined>;
12
- readonly is_active: v.BooleanSchema<undefined>;
13
- readonly is_organic_social: v.BooleanSchema<undefined>;
14
- readonly is_paid_media: v.BooleanSchema<undefined>;
15
- readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
16
- readonly id: v.NumberSchema<undefined>;
17
- readonly documentId: v.StringSchema<undefined>;
18
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
19
- readonly createdAt: v.StringSchema<undefined>;
20
- readonly updatedAt: v.StringSchema<undefined>;
21
- }, undefined>;
22
- type MediaMediumDocument = v.InferOutput<typeof MediaMediumDocument>;
23
- //#endregion
24
9
  //#region src/entities/media-medium/fields.d.ts
25
- declare const QuerySortMediaMediums: 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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media: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")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media: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")[], 16, undefined>]>, undefined>;
10
+ declare const QuerySortMediaMediums: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "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" | "is_organic_social:DESC" | "is_paid_media:DESC" | "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")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "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" | "is_organic_social:DESC" | "is_paid_media:DESC" | "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")[], 16, undefined>]>, undefined>;
26
11
  type QuerySortMediaMediums = v.InferOutput<typeof QuerySortMediaMediums>;
27
12
  //#endregion
28
13
  //#region src/entities/media-medium/mutation.d.ts
@@ -70,7 +55,7 @@ declare const QueryStrapiSearchMediaMediums: v.ObjectSchema<{
70
55
  readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
71
56
  readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
72
57
  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>;
73
- 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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media: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")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_organic_social:DESC" | "is_paid_media: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")[], 16, undefined>]>, undefined>;
58
+ readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "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" | "is_organic_social:DESC" | "is_paid_media:DESC" | "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")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "slug:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "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" | "is_organic_social:DESC" | "is_paid_media:DESC" | "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")[], 16, undefined>]>, undefined>;
74
59
  }, undefined>;
75
60
  type QueryStrapiSearchMediaMediums = v.InferOutput<typeof QueryStrapiSearchMediaMediums>;
76
61
  //#endregion
@@ -1,7 +1,7 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
1
  import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
3
2
  import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relations-C04F46xL.mjs";
3
+ import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relationships-BosK0kyG.mjs";
4
+ import { F as MediaMediumDocument } from "../../document-DUHPXtbm.mjs";
5
5
  import * as v from "valibot";
6
6
  //#region src/entities/media-medium/constants.ts
7
7
  const LIMIT_MEDIA_MEDIUM_PAGINATION_DEFAULT_SIZE = 100;
@@ -25,17 +25,6 @@ const MEDIA_MEDIUM_SORT_KEYS = [
25
25
  "media_platforms.updatedAt"
26
26
  ];
27
27
  //#endregion
28
- //#region src/entities/media-medium/document.ts
29
- const MediaMediumDocument = v.object({
30
- ...BaseDocument.entries,
31
- title: v.string(),
32
- slug: v.string(),
33
- is_active: v.boolean(),
34
- is_organic_social: v.boolean(),
35
- is_paid_media: v.boolean(),
36
- description: v.nullable(v.string())
37
- });
38
- //#endregion
39
28
  //#region src/entities/media-medium/fields.ts
40
29
  const QuerySortMediaMediums = v.optional(v.pipe(v.array(v.picklist(MEDIA_MEDIUM_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(MEDIA_MEDIUM_SORT_KEYS.length)));
41
30
  //#endregion
@@ -1,11 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
3
  const require_regex = require("../../regex-Cl5goNwp.cjs");
5
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relations = require("../../relations-CGu18hfT.cjs");
7
- const require_components_shared_index = require("../../components/shared/index.cjs");
8
- const require_components_blocks_index = require("../../components/blocks/index.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-zu6-DmQT.cjs");
9
7
  let valibot = require("valibot");
10
8
  valibot = require_chunk.__toESM(valibot, 1);
11
9
  //#region src/entities/media-platform/constants.ts
@@ -44,20 +42,6 @@ const MEDIA_PLATFORM_SORT_KEYS = [
44
42
  "media_mediums.updatedAt"
45
43
  ];
46
44
  //#endregion
47
- //#region src/entities/media-platform/document.ts
48
- const MediaPlatformDocument = valibot.object({
49
- ...require_document.BaseDocument.entries,
50
- title: valibot.string(),
51
- slug: valibot.string(),
52
- utm_key: valibot.string(),
53
- is_active: valibot.boolean(),
54
- is_organic_social: valibot.boolean(),
55
- is_paid_media: valibot.boolean(),
56
- logos: valibot.optional(valibot.nullable(require_components_blocks_index.BlockBrandLogos)),
57
- description: valibot.nullable(valibot.string()),
58
- information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock))
59
- });
60
- //#endregion
61
45
  //#region src/entities/media-platform/fields.ts
62
46
  const QuerySortMediaPlatforms = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(MEDIA_PLATFORM_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(MEDIA_PLATFORM_SORT_KEYS.length)));
63
47
  //#endregion
@@ -70,9 +54,9 @@ const CreateMediaPlatformDocument = valibot.object({
70
54
  is_organic_social: valibot.boolean(),
71
55
  is_paid_media: valibot.boolean(),
72
56
  description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
73
- clients: valibot.optional(require_relations.SAssociateManyEntities),
74
- media_content_types: valibot.optional(require_relations.SAssociateManyEntities),
75
- media_mediums: valibot.optional(require_relations.SAssociateManyEntities)
57
+ clients: valibot.optional(require_relationships.SAssociateManyEntities),
58
+ media_content_types: valibot.optional(require_relationships.SAssociateManyEntities),
59
+ media_mediums: valibot.optional(require_relationships.SAssociateManyEntities)
76
60
  });
77
61
  const UpdateMediaPlatformDocument = valibot.object({
78
62
  title: valibot.optional(require_validators.VStringMinMax(1, 255)),
@@ -82,12 +66,12 @@ const UpdateMediaPlatformDocument = valibot.object({
82
66
  is_organic_social: valibot.optional(valibot.boolean()),
83
67
  is_paid_media: valibot.optional(valibot.boolean()),
84
68
  description: valibot.optional(valibot.nullable(require_validators.VStringMax(255))),
85
- clients: valibot.optional(require_relations.SAssociateManyEntities),
86
- media_content_types: valibot.optional(require_relations.SAssociateManyEntities),
87
- media_mediums: valibot.optional(require_relations.SAssociateManyEntities)
69
+ clients: valibot.optional(require_relationships.SAssociateManyEntities),
70
+ media_content_types: valibot.optional(require_relationships.SAssociateManyEntities),
71
+ media_mediums: valibot.optional(require_relationships.SAssociateManyEntities)
88
72
  });
89
73
  const UpdateMediaPlatformDocumentRequest = valibot.object({
90
- documentId: require_relations.SAssociateOneEntity,
74
+ documentId: require_relationships.SAssociateOneEntity,
91
75
  data: UpdateMediaPlatformDocument
92
76
  });
93
77
  //#endregion
@@ -101,9 +85,9 @@ const QueryStrapiSearchMediaPlatforms = valibot.object({
101
85
  is_active: valibot.optional(valibot.boolean()),
102
86
  is_organic_social: valibot.optional(valibot.boolean()),
103
87
  is_paid_media: valibot.optional(valibot.boolean()),
104
- clients: valibot.optional(require_relations.SQueryManyEntities),
105
- media_content_types: valibot.optional(require_relations.SQueryManyEntities),
106
- media_mediums: valibot.optional(require_relations.SQueryManyEntities),
88
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
89
+ media_content_types: valibot.optional(require_relationships.SQueryManyEntities),
90
+ media_mediums: valibot.optional(require_relationships.SQueryManyEntities),
107
91
  sort: QuerySortMediaPlatforms
108
92
  });
109
93
  //#endregion
@@ -111,7 +95,7 @@ exports.CreateMediaPlatformDocument = CreateMediaPlatformDocument;
111
95
  exports.LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE = LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE;
112
96
  exports.LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE;
113
97
  exports.MEDIA_PLATFORM_SORT_KEYS = MEDIA_PLATFORM_SORT_KEYS;
114
- exports.MediaPlatformDocument = MediaPlatformDocument;
98
+ exports.MediaPlatformDocument = require_document.MediaPlatformDocument;
115
99
  exports.QuerySortMediaPlatforms = QuerySortMediaPlatforms;
116
100
  exports.QueryStrapiSearchMediaPlatforms = QueryStrapiSearchMediaPlatforms;
117
101
  exports.UpdateMediaPlatformDocument = UpdateMediaPlatformDocument;
@@ -1,74 +1,2 @@
1
- import { t as MediaPlatformDocument } from "../../document-dqrWptdY.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/media-platform/constants.d.ts
5
- declare const LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE = 100;
6
- declare const LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = 1000;
7
- declare const MEDIA_PLATFORM_SORT_KEYS: readonly ["id", "title", "slug", "utm_key", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "clients.title", "clients.teamwork_id", "clients.teamwork_name", "clients.is_organic_social", "clients.is_paid_media", "clients.createdAt", "clients.updatedAt", "media_content_types.title", "media_content_types.slug", "media_content_types.is_active", "media_content_types.is_organic_social", "media_content_types.is_paid_media", "media_content_types.createdAt", "media_content_types.updatedAt", "media_mediums.title", "media_mediums.slug", "media_mediums.is_active", "media_mediums.is_organic_social", "media_mediums.is_paid_media", "media_mediums.createdAt", "media_mediums.updatedAt"];
8
- //#endregion
9
- //#region src/entities/media-platform/fields.d.ts
10
- declare const QuerySortMediaPlatforms: 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" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], 30, undefined>]>, undefined>;
11
- type QuerySortMediaPlatforms = v.InferOutput<typeof QuerySortMediaPlatforms>;
12
- //#endregion
13
- //#region src/entities/media-platform/mutation.d.ts
14
- declare const CreateMediaPlatformDocument: v.ObjectSchema<{
15
- 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 utm_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
18
- readonly is_active: v.BooleanSchema<undefined>;
19
- readonly is_organic_social: v.BooleanSchema<undefined>;
20
- readonly is_paid_media: v.BooleanSchema<undefined>;
21
- readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
22
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
23
- readonly media_content_types: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
24
- readonly media_mediums: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
25
- }, undefined>;
26
- type CreateMediaPlatformDocument = v.InferOutput<typeof CreateMediaPlatformDocument>;
27
- declare const UpdateMediaPlatformDocument: v.ObjectSchema<{
28
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
29
- 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>;
30
- readonly utm_key: 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>;
31
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
32
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
33
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
34
- readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
35
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
36
- readonly media_content_types: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
37
- readonly media_mediums: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
38
- }, undefined>;
39
- type UpdateMediaPlatformDocument = v.InferOutput<typeof UpdateMediaPlatformDocument>;
40
- declare const UpdateMediaPlatformDocumentRequest: v.ObjectSchema<{
41
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
42
- readonly data: v.ObjectSchema<{
43
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
44
- 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>;
45
- readonly utm_key: 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>;
46
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
47
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
48
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
49
- readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
50
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
51
- readonly media_content_types: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
52
- readonly media_mediums: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
53
- }, undefined>;
54
- }, undefined>;
55
- type UpdateMediaPlatformDocumentRequest = v.InferOutput<typeof UpdateMediaPlatformDocumentRequest>;
56
- //#endregion
57
- //#region src/entities/media-platform/query.d.ts
58
- declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
59
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
60
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
61
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
62
- readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
63
- readonly utm_key: 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>;
64
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
65
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
66
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
67
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
68
- readonly media_content_types: 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>;
69
- readonly media_mediums: 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>;
70
- 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" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], 30, undefined>]>, undefined>;
71
- }, undefined>;
72
- type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
73
- //#endregion
1
+ import { A as CreateMediaPlatformDocument, F as LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, I as MEDIA_PLATFORM_SORT_KEYS, M as UpdateMediaPlatformDocumentRequest, N as QuerySortMediaPlatforms, P as LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, j as UpdateMediaPlatformDocument, k as QueryStrapiSearchMediaPlatforms, rr as MediaPlatformDocument } from "../../index-Cb8BnFcL.cjs";
74
2
  export { CreateMediaPlatformDocument, LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, MEDIA_PLATFORM_SORT_KEYS, MediaPlatformDocument, QuerySortMediaPlatforms, QueryStrapiSearchMediaPlatforms, UpdateMediaPlatformDocument, UpdateMediaPlatformDocumentRequest };
@@ -1,74 +1,2 @@
1
- import { t as MediaPlatformDocument } from "../../document-vq-7rcU5.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/media-platform/constants.d.ts
5
- declare const LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE = 100;
6
- declare const LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = 1000;
7
- declare const MEDIA_PLATFORM_SORT_KEYS: readonly ["id", "title", "slug", "utm_key", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "clients.title", "clients.teamwork_id", "clients.teamwork_name", "clients.is_organic_social", "clients.is_paid_media", "clients.createdAt", "clients.updatedAt", "media_content_types.title", "media_content_types.slug", "media_content_types.is_active", "media_content_types.is_organic_social", "media_content_types.is_paid_media", "media_content_types.createdAt", "media_content_types.updatedAt", "media_mediums.title", "media_mediums.slug", "media_mediums.is_active", "media_mediums.is_organic_social", "media_mediums.is_paid_media", "media_mediums.createdAt", "media_mediums.updatedAt"];
8
- //#endregion
9
- //#region src/entities/media-platform/fields.d.ts
10
- declare const QuerySortMediaPlatforms: 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" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], 30, undefined>]>, undefined>;
11
- type QuerySortMediaPlatforms = v.InferOutput<typeof QuerySortMediaPlatforms>;
12
- //#endregion
13
- //#region src/entities/media-platform/mutation.d.ts
14
- declare const CreateMediaPlatformDocument: v.ObjectSchema<{
15
- 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 utm_key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
18
- readonly is_active: v.BooleanSchema<undefined>;
19
- readonly is_organic_social: v.BooleanSchema<undefined>;
20
- readonly is_paid_media: v.BooleanSchema<undefined>;
21
- readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
22
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
23
- readonly media_content_types: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
24
- readonly media_mediums: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
25
- }, undefined>;
26
- type CreateMediaPlatformDocument = v.InferOutput<typeof CreateMediaPlatformDocument>;
27
- declare const UpdateMediaPlatformDocument: v.ObjectSchema<{
28
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
29
- 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>;
30
- readonly utm_key: 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>;
31
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
32
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
33
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
34
- readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
35
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
36
- readonly media_content_types: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
37
- readonly media_mediums: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
38
- }, undefined>;
39
- type UpdateMediaPlatformDocument = v.InferOutput<typeof UpdateMediaPlatformDocument>;
40
- declare const UpdateMediaPlatformDocumentRequest: v.ObjectSchema<{
41
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
42
- readonly data: v.ObjectSchema<{
43
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
44
- 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>;
45
- readonly utm_key: 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>;
46
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
47
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
48
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
49
- readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
50
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
51
- readonly media_content_types: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
52
- readonly media_mediums: 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>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
53
- }, undefined>;
54
- }, undefined>;
55
- type UpdateMediaPlatformDocumentRequest = v.InferOutput<typeof UpdateMediaPlatformDocumentRequest>;
56
- //#endregion
57
- //#region src/entities/media-platform/query.d.ts
58
- declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
59
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
60
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
61
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
62
- readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
63
- readonly utm_key: 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>;
64
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
65
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
66
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
67
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
68
- readonly media_content_types: 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>;
69
- readonly media_mediums: 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>;
70
- 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" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC" | "slug:ASC" | "slug:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "utm_key:ASC" | "clients.teamwork_id:ASC" | "clients.is_organic_social:ASC" | "clients.is_paid_media:ASC" | "clients.createdAt:ASC" | "clients.updatedAt:ASC" | "media_content_types.title:ASC" | "media_content_types.slug:ASC" | "media_content_types.is_active:ASC" | "media_content_types.is_organic_social:ASC" | "media_content_types.is_paid_media:ASC" | "media_content_types.createdAt:ASC" | "media_content_types.updatedAt:ASC" | "media_mediums.title:ASC" | "media_mediums.slug:ASC" | "media_mediums.is_active:ASC" | "media_mediums.is_organic_social:ASC" | "media_mediums.is_paid_media:ASC" | "media_mediums.createdAt:ASC" | "media_mediums.updatedAt:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "utm_key:DESC" | "clients.teamwork_id:DESC" | "clients.is_organic_social:DESC" | "clients.is_paid_media:DESC" | "clients.createdAt:DESC" | "clients.updatedAt:DESC" | "media_content_types.title:DESC" | "media_content_types.slug:DESC" | "media_content_types.is_active:DESC" | "media_content_types.is_organic_social:DESC" | "media_content_types.is_paid_media:DESC" | "media_content_types.createdAt:DESC" | "media_content_types.updatedAt:DESC" | "media_mediums.title:DESC" | "media_mediums.slug:DESC" | "media_mediums.is_active:DESC" | "media_mediums.is_organic_social:DESC" | "media_mediums.is_paid_media:DESC" | "media_mediums.createdAt:DESC" | "media_mediums.updatedAt:DESC")[], 30, undefined>]>, undefined>;
71
- }, undefined>;
72
- type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
73
- //#endregion
1
+ import { A as CreateMediaPlatformDocument, F as LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, I as MEDIA_PLATFORM_SORT_KEYS, M as UpdateMediaPlatformDocumentRequest, N as QuerySortMediaPlatforms, P as LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, j as UpdateMediaPlatformDocument, k as QueryStrapiSearchMediaPlatforms, rr as MediaPlatformDocument } from "../../index-GUYqdxFh.mjs";
74
2
  export { CreateMediaPlatformDocument, LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, MEDIA_PLATFORM_SORT_KEYS, MediaPlatformDocument, QuerySortMediaPlatforms, QueryStrapiSearchMediaPlatforms, UpdateMediaPlatformDocument, UpdateMediaPlatformDocumentRequest };
@@ -1,9 +1,7 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
1
  import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG, r as ERROR_MESSAGE_REGEX_UTM_VALUE, s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
3
2
  import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relations-C04F46xL.mjs";
5
- import { RichTextBlock } from "../../components/shared/index.mjs";
6
- import { BlockBrandLogos } from "../../components/blocks/index.mjs";
3
+ import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relationships-BosK0kyG.mjs";
4
+ import { P as MediaPlatformDocument } from "../../document-DUHPXtbm.mjs";
7
5
  import * as v from "valibot";
8
6
  //#region src/entities/media-platform/constants.ts
9
7
  const LIMIT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE = 100;
@@ -41,20 +39,6 @@ const MEDIA_PLATFORM_SORT_KEYS = [
41
39
  "media_mediums.updatedAt"
42
40
  ];
43
41
  //#endregion
44
- //#region src/entities/media-platform/document.ts
45
- const MediaPlatformDocument = v.object({
46
- ...BaseDocument.entries,
47
- title: v.string(),
48
- slug: v.string(),
49
- utm_key: v.string(),
50
- is_active: v.boolean(),
51
- is_organic_social: v.boolean(),
52
- is_paid_media: v.boolean(),
53
- logos: v.optional(v.nullable(BlockBrandLogos)),
54
- description: v.nullable(v.string()),
55
- information: v.nullable(v.array(RichTextBlock))
56
- });
57
- //#endregion
58
42
  //#region src/entities/media-platform/fields.ts
59
43
  const QuerySortMediaPlatforms = v.optional(v.pipe(v.array(v.picklist(MEDIA_PLATFORM_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(MEDIA_PLATFORM_SORT_KEYS.length)));
60
44
  //#endregion
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
3
  const require_regex = require("../../regex-Cl5goNwp.cjs");
5
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relations = require("../../relations-CGu18hfT.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-zu6-DmQT.cjs");
7
7
  let valibot = require("valibot");
8
8
  valibot = require_chunk.__toESM(valibot, 1);
9
9
  //#region src/entities/monday-workspace/constants.ts
@@ -19,13 +19,6 @@ const MONDAY_WORKSPACE_SORT_KEYS = [
19
19
  "updatedAt"
20
20
  ];
21
21
  //#endregion
22
- //#region src/entities/monday-workspace/document.ts
23
- const MondayWorkspaceDocument = valibot.object({
24
- ...require_document.BaseDocument.entries,
25
- title: valibot.string(),
26
- workspace_id: valibot.string()
27
- });
28
- //#endregion
29
22
  //#region src/entities/monday-workspace/fields.ts
30
23
  const QuerySortMondayWorkspaces = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(MONDAY_WORKSPACE_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(MONDAY_WORKSPACE_SORT_KEYS.length)));
31
24
  //#endregion
@@ -33,15 +26,15 @@ const QuerySortMondayWorkspaces = valibot.optional(valibot.pipe(valibot.array(va
33
26
  const CreateMondayWorkspaceDocument = valibot.object({
34
27
  title: require_validators.VStringShort(),
35
28
  workspace_id: require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE),
36
- clients: valibot.optional(require_relations.SAssociateManyEntities)
29
+ clients: valibot.optional(require_relationships.SAssociateManyEntities)
37
30
  });
38
31
  const UpdateMondayWorkspaceDocument = valibot.object({
39
32
  title: valibot.optional(require_validators.VStringShort()),
40
33
  workspace_id: valibot.optional(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)),
41
- clients: valibot.optional(require_relations.SAssociateManyEntities)
34
+ clients: valibot.optional(require_relationships.SAssociateManyEntities)
42
35
  });
43
36
  const UpdateMondayWorkspaceDocumentRequest = valibot.object({
44
- documentId: require_relations.SAssociateOneEntity,
37
+ documentId: require_relationships.SAssociateOneEntity,
45
38
  data: UpdateMondayWorkspaceDocument
46
39
  });
47
40
  //#endregion
@@ -51,7 +44,7 @@ const QueryStrapiSearchMondayWorkspaces = valibot.object({
51
44
  size: require_validators.VSize(LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE),
52
45
  title: valibot.optional(require_validators.VStringMax()),
53
46
  workspace_id: valibot.optional(require_validators.VStringMax()),
54
- clients: valibot.optional(require_relations.SQueryManyEntities),
47
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
55
48
  sort: QuerySortMondayWorkspaces
56
49
  });
57
50
  //#endregion
@@ -59,7 +52,7 @@ exports.CreateMondayWorkspaceDocument = CreateMondayWorkspaceDocument;
59
52
  exports.LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE = LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE;
60
53
  exports.LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE = LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE;
61
54
  exports.MONDAY_WORKSPACE_SORT_KEYS = MONDAY_WORKSPACE_SORT_KEYS;
62
- exports.MondayWorkspaceDocument = MondayWorkspaceDocument;
55
+ exports.MondayWorkspaceDocument = require_document.MondayWorkspaceDocument;
63
56
  exports.QuerySortMondayWorkspaces = QuerySortMondayWorkspaces;
64
57
  exports.QueryStrapiSearchMondayWorkspaces = QueryStrapiSearchMondayWorkspaces;
65
58
  exports.UpdateMondayWorkspaceDocument = UpdateMondayWorkspaceDocument;
@@ -1,47 +1,2 @@
1
- import { t as MondayWorkspaceDocument } from "../../document-hEBlSep8.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/monday-workspace/constants.d.ts
5
- declare const LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE = 1000;
7
- declare const MONDAY_WORKSPACE_SORT_KEYS: readonly ["id", "clients.title", "clients.teamwork_name", "title", "workspace_id", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/monday-workspace/fields.d.ts
10
- declare const QuerySortMondayWorkspaces: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], 7, undefined>]>, undefined>;
11
- type QuerySortMondayWorkspaces = v.InferOutput<typeof QuerySortMondayWorkspaces>;
12
- //#endregion
13
- //#region src/entities/monday-workspace/mutation.d.ts
14
- declare const CreateMondayWorkspaceDocument: v.ObjectSchema<{
15
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
16
- readonly workspace_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
18
- }, undefined>;
19
- type CreateMondayWorkspaceDocument = v.InferOutput<typeof CreateMondayWorkspaceDocument>;
20
- declare const UpdateMondayWorkspaceDocument: v.ObjectSchema<{
21
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
22
- readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
23
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
24
- }, undefined>;
25
- type UpdateMondayWorkspaceDocument = v.InferOutput<typeof UpdateMondayWorkspaceDocument>;
26
- declare const UpdateMondayWorkspaceDocumentRequest: v.ObjectSchema<{
27
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
28
- readonly data: v.ObjectSchema<{
29
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
- readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
31
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
32
- }, undefined>;
33
- }, undefined>;
34
- type UpdateMondayWorkspaceDocumentRequest = v.InferOutput<typeof UpdateMondayWorkspaceDocumentRequest>;
35
- //#endregion
36
- //#region src/entities/monday-workspace/query.d.ts
37
- declare const QueryStrapiSearchMondayWorkspaces: v.ObjectSchema<{
38
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
39
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
40
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
41
- readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
42
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
43
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], 7, undefined>]>, undefined>;
44
- }, undefined>;
45
- type QueryStrapiSearchMondayWorkspaces = v.InferOutput<typeof QueryStrapiSearchMondayWorkspaces>;
46
- //#endregion
1
+ import { At as QueryStrapiSearchMondayWorkspaces, Ft as MondayWorkspaceDocument, It as LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE, Lt as LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE, Mt as UpdateMondayWorkspaceDocument, Nt as UpdateMondayWorkspaceDocumentRequest, Pt as QuerySortMondayWorkspaces, Rt as MONDAY_WORKSPACE_SORT_KEYS, jt as CreateMondayWorkspaceDocument } from "../../index-Cb8BnFcL.cjs";
47
2
  export { CreateMondayWorkspaceDocument, LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE, LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE, MONDAY_WORKSPACE_SORT_KEYS, MondayWorkspaceDocument, QuerySortMondayWorkspaces, QueryStrapiSearchMondayWorkspaces, UpdateMondayWorkspaceDocument, UpdateMondayWorkspaceDocumentRequest };
@@ -1,47 +1,2 @@
1
- import { t as MondayWorkspaceDocument } from "../../document-Bpr9mbCs.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/monday-workspace/constants.d.ts
5
- declare const LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE = 1000;
7
- declare const MONDAY_WORKSPACE_SORT_KEYS: readonly ["id", "clients.title", "clients.teamwork_name", "title", "workspace_id", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/monday-workspace/fields.d.ts
10
- declare const QuerySortMondayWorkspaces: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], 7, undefined>]>, undefined>;
11
- type QuerySortMondayWorkspaces = v.InferOutput<typeof QuerySortMondayWorkspaces>;
12
- //#endregion
13
- //#region src/entities/monday-workspace/mutation.d.ts
14
- declare const CreateMondayWorkspaceDocument: v.ObjectSchema<{
15
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
16
- readonly workspace_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
18
- }, undefined>;
19
- type CreateMondayWorkspaceDocument = v.InferOutput<typeof CreateMondayWorkspaceDocument>;
20
- declare const UpdateMondayWorkspaceDocument: v.ObjectSchema<{
21
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
22
- readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
23
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
24
- }, undefined>;
25
- type UpdateMondayWorkspaceDocument = v.InferOutput<typeof UpdateMondayWorkspaceDocument>;
26
- declare const UpdateMondayWorkspaceDocumentRequest: v.ObjectSchema<{
27
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
28
- readonly data: v.ObjectSchema<{
29
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
30
- readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
31
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
32
- }, undefined>;
33
- }, undefined>;
34
- type UpdateMondayWorkspaceDocumentRequest = v.InferOutput<typeof UpdateMondayWorkspaceDocumentRequest>;
35
- //#endregion
36
- //#region src/entities/monday-workspace/query.d.ts
37
- declare const QueryStrapiSearchMondayWorkspaces: v.ObjectSchema<{
38
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
39
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
40
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
41
- readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
42
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
43
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "workspace_id:ASC" | "clients.title:ASC" | "clients.teamwork_name:ASC" | "title:DESC" | "workspace_id:DESC" | "clients.title:DESC" | "clients.teamwork_name:DESC")[], 7, undefined>]>, undefined>;
44
- }, undefined>;
45
- type QueryStrapiSearchMondayWorkspaces = v.InferOutput<typeof QueryStrapiSearchMondayWorkspaces>;
46
- //#endregion
1
+ import { At as QueryStrapiSearchMondayWorkspaces, Ft as MondayWorkspaceDocument, It as LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE, Lt as LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE, Mt as UpdateMondayWorkspaceDocument, Nt as UpdateMondayWorkspaceDocumentRequest, Pt as QuerySortMondayWorkspaces, Rt as MONDAY_WORKSPACE_SORT_KEYS, jt as CreateMondayWorkspaceDocument } from "../../index-GUYqdxFh.mjs";
47
2
  export { CreateMondayWorkspaceDocument, LIMIT_MONDAY_WORKSPACE_PAGINATION_DEFAULT_SIZE, LIMIT_MONDAY_WORKSPACE_PAGINATION_MAX_SIZE, MONDAY_WORKSPACE_SORT_KEYS, MondayWorkspaceDocument, QuerySortMondayWorkspaces, QueryStrapiSearchMondayWorkspaces, UpdateMondayWorkspaceDocument, UpdateMondayWorkspaceDocumentRequest };