@getcommunity/gc-validators 0.0.271-alpha.1 → 0.0.271-alpha.10

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 (257) hide show
  1. package/dist/abac-BeKQtxIF.cjs +648 -0
  2. package/dist/abac-DPd9oLKR.mjs +643 -0
  3. package/dist/base/index.cjs +19 -19
  4. package/dist/base/index.d.cts +2 -3
  5. package/dist/base/index.d.mts +3 -4
  6. package/dist/base/index.mjs +2 -2
  7. package/dist/components/blocks/index.cjs +16 -14
  8. package/dist/components/blocks/index.d.cts +2 -1322
  9. package/dist/components/blocks/index.d.mts +2 -1322
  10. package/dist/components/blocks/index.mjs +16 -14
  11. package/dist/components/brand/index.d.cts +1 -314
  12. package/dist/components/brand/index.d.mts +1 -314
  13. package/dist/components/forms/index.cjs +10 -8
  14. package/dist/components/forms/index.d.cts +6 -3
  15. package/dist/components/forms/index.d.mts +6 -3
  16. package/dist/components/forms/index.mjs +10 -8
  17. package/dist/components/shared/index.cjs +3 -1
  18. package/dist/components/shared/index.d.cts +1 -916
  19. package/dist/components/shared/index.d.mts +1 -916
  20. package/dist/components/shared/index.mjs +3 -1
  21. package/dist/components/slideshow/index.cjs +15 -13
  22. package/dist/components/slideshow/index.d.cts +7 -5
  23. package/dist/components/slideshow/index.d.mts +7 -5
  24. package/dist/components/slideshow/index.mjs +15 -13
  25. package/dist/components/utm/index.cjs +7 -5
  26. package/dist/components/utm/index.d.cts +2 -32
  27. package/dist/components/utm/index.d.mts +2 -32
  28. package/dist/components/utm/index.mjs +7 -5
  29. package/dist/{document-BMxLOdrT.d.cts → document-BVhB_t1g.d.mts} +158 -104
  30. package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
  31. package/dist/document-Ccvtwgy_.cjs +26 -0
  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-D7jG_DvK.cjs +728 -0
  36. package/dist/document-DEUmfrbE.mjs +457 -0
  37. package/dist/document-DaICHS9G.cjs +17 -0
  38. package/dist/{document-Gx2Vrg_w.d.mts → document-DtDSYDbn.d.cts} +158 -104
  39. package/dist/document-c3GNPelp.mjs +10 -0
  40. package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
  41. package/dist/entities/audit-log/index.cjs +2 -2
  42. package/dist/entities/audit-log/index.d.mts +1 -1
  43. package/dist/entities/audit-log/index.mjs +1 -1
  44. package/dist/entities/blog-page/index.d.mts +1 -1
  45. package/dist/entities/blog-post/index.cjs +1 -1
  46. package/dist/entities/blog-post/index.d.cts +1 -916
  47. package/dist/entities/blog-post/index.d.mts +1 -916
  48. package/dist/entities/blog-post/index.mjs +1 -1
  49. package/dist/entities/careers-page/index.d.mts +1 -1
  50. package/dist/entities/category/index.cjs +4 -13
  51. package/dist/entities/category/index.d.cts +3 -260
  52. package/dist/entities/category/index.d.mts +3 -260
  53. package/dist/entities/category/index.mjs +2 -11
  54. package/dist/entities/client/index.cjs +3 -3
  55. package/dist/entities/client/index.d.cts +1 -84
  56. package/dist/entities/client/index.d.mts +1 -84
  57. package/dist/entities/client/index.mjs +2 -2
  58. package/dist/entities/client-content-pillar/index.cjs +10 -20
  59. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  60. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  61. package/dist/entities/client-content-pillar/index.mjs +2 -12
  62. package/dist/entities/client-media-platform/index.cjs +10 -17
  63. package/dist/entities/client-media-platform/index.d.cts +1 -52
  64. package/dist/entities/client-media-platform/index.d.mts +1 -52
  65. package/dist/entities/client-media-platform/index.mjs +2 -9
  66. package/dist/entities/client-project/index.cjs +22 -129
  67. package/dist/entities/client-project/index.d.cts +1 -146
  68. package/dist/entities/client-project/index.d.mts +1 -146
  69. package/dist/entities/client-project/index.mjs +2 -109
  70. package/dist/entities/client-report/index.cjs +7 -18
  71. package/dist/entities/client-report/index.d.cts +1 -62
  72. package/dist/entities/client-report/index.d.mts +1 -62
  73. package/dist/entities/client-report/index.mjs +2 -13
  74. package/dist/entities/client-styleguide/index.cjs +7 -27
  75. package/dist/entities/client-styleguide/index.d.cts +1 -47
  76. package/dist/entities/client-styleguide/index.d.mts +1 -47
  77. package/dist/entities/client-styleguide/index.mjs +2 -22
  78. package/dist/entities/client-user/index.cjs +17 -53
  79. package/dist/entities/client-user/index.d.cts +2 -47
  80. package/dist/entities/client-user/index.d.mts +2 -47
  81. package/dist/entities/client-user/index.mjs +5 -41
  82. package/dist/entities/comment/index.d.cts +1 -1
  83. package/dist/entities/comment/index.d.mts +1 -1
  84. package/dist/entities/content-pillar/index.cjs +5 -5
  85. package/dist/entities/content-pillar/index.d.cts +1 -49
  86. package/dist/entities/content-pillar/index.d.mts +1 -49
  87. package/dist/entities/content-pillar/index.mjs +2 -2
  88. package/dist/entities/faq-page/index.d.mts +1 -1
  89. package/dist/entities/gcflytour/index.cjs +9 -19
  90. package/dist/entities/gcflytour/index.d.cts +1 -60
  91. package/dist/entities/gcflytour/index.d.mts +1 -60
  92. package/dist/entities/gcflytour/index.mjs +2 -12
  93. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  94. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  95. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  96. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  97. package/dist/entities/landing-page/index.d.cts +1 -0
  98. package/dist/entities/landing-page/index.d.mts +2 -1
  99. package/dist/entities/lead/index.cjs +2 -2
  100. package/dist/entities/lead/index.mjs +1 -1
  101. package/dist/entities/media-content-type/index.cjs +10 -23
  102. package/dist/entities/media-content-type/index.d.cts +3 -3
  103. package/dist/entities/media-content-type/index.d.mts +3 -3
  104. package/dist/entities/media-content-type/index.mjs +2 -15
  105. package/dist/entities/media-creative-format/index.cjs +7 -16
  106. package/dist/entities/media-creative-format/index.d.cts +3 -3
  107. package/dist/entities/media-creative-format/index.d.mts +3 -3
  108. package/dist/entities/media-creative-format/index.mjs +2 -11
  109. package/dist/entities/media-medium/index.cjs +7 -18
  110. package/dist/entities/media-medium/index.d.cts +3 -18
  111. package/dist/entities/media-medium/index.d.mts +3 -18
  112. package/dist/entities/media-medium/index.mjs +2 -13
  113. package/dist/entities/media-platform/index.cjs +13 -29
  114. package/dist/entities/media-platform/index.d.cts +1 -73
  115. package/dist/entities/media-platform/index.d.mts +1 -73
  116. package/dist/entities/media-platform/index.mjs +2 -18
  117. package/dist/entities/monday-workspace/index.cjs +7 -14
  118. package/dist/entities/monday-workspace/index.d.cts +1 -46
  119. package/dist/entities/monday-workspace/index.d.mts +1 -46
  120. package/dist/entities/monday-workspace/index.mjs +2 -9
  121. package/dist/entities/newsletter-signup/index.cjs +2 -2
  122. package/dist/entities/newsletter-signup/index.mjs +1 -1
  123. package/dist/entities/policy-page/index.d.cts +1 -0
  124. package/dist/entities/policy-page/index.d.mts +2 -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 +9 -63
  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 -53
  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 +9 -8
  169. package/dist/entities/utm-link-builder/index.d.cts +2 -3
  170. package/dist/entities/utm-link-builder/index.d.mts +2 -3
  171. package/dist/entities/utm-link-builder/index.mjs +6 -4
  172. package/dist/entities/utm-meta/index.d.cts +7 -7
  173. package/dist/entities/utm-meta/index.d.mts +7 -7
  174. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  175. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  176. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  177. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  178. package/dist/index-4XzJDMTp.d.mts +4744 -0
  179. package/dist/index-B3VtiObV.d.mts +317 -0
  180. package/dist/index-BD4hPqIw.d.cts +940 -0
  181. package/dist/index-BbwsFaWE.d.cts +921 -0
  182. package/dist/{index-DYPjS1qh.d.mts → index-Brw4Hq18.d.cts} +3 -3
  183. package/dist/{index-Bht1Jd5l.d.mts → index-CJ2_Z1gW.d.mts} +97 -140
  184. package/dist/index-CQP_vcmO.d.cts +317 -0
  185. package/dist/index-CRoWUxGV.d.cts +1324 -0
  186. package/dist/index-CrZiM45q.d.cts +4744 -0
  187. package/dist/index-CygWlTrU.d.mts +940 -0
  188. package/dist/index-D11tQdCv.d.cts +34 -0
  189. package/dist/{index-BLE_fX1Q.d.cts → index-D6rOxDlM.d.mts} +3 -3
  190. package/dist/index-DJ-0EDJN.d.mts +921 -0
  191. package/dist/index-DLICmJ_-.d.mts +34 -0
  192. package/dist/{index-ZBDWYTfn.d.cts → index-efk0FfOP.d.cts} +96 -139
  193. package/dist/index-oCLNrzIj.d.mts +1324 -0
  194. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  195. package/dist/media-upload-DKeA1eD-.d.mts +140 -0
  196. package/dist/permissions/index.cjs +3 -663
  197. package/dist/permissions/index.d.cts +2 -2
  198. package/dist/permissions/index.d.mts +2 -2
  199. package/dist/permissions/index.mjs +3 -661
  200. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  201. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  202. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  203. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  204. package/dist/utilities/index.cjs +20 -0
  205. package/dist/utilities/index.d.cts +7 -2
  206. package/dist/utilities/index.d.mts +7 -2
  207. package/dist/utilities/index.mjs +19 -1
  208. package/package.json +1 -1
  209. package/dist/document-BAzLIprH.d.mts +0 -100
  210. package/dist/document-BFukanLe.mjs +0 -54
  211. package/dist/document-BK1ASowb.d.cts +0 -17
  212. package/dist/document-BNoXPGwF.d.mts +0 -27
  213. package/dist/document-B_pJW777.d.mts +0 -30
  214. package/dist/document-Bd2AyLs8.d.mts +0 -16
  215. package/dist/document-BezYxNmb.d.cts +0 -16
  216. package/dist/document-Bj7SRTOn.d.cts +0 -18
  217. package/dist/document-Bo869pZx.d.mts +0 -18
  218. package/dist/document-Bs8c1mok.d.cts +0 -15
  219. package/dist/document-C0c7azOe.d.mts +0 -434
  220. package/dist/document-CTTDXzOF.mjs +0 -13
  221. package/dist/document-CUl_Ys6-.mjs +0 -23
  222. package/dist/document-CWYzG60q.d.cts +0 -19
  223. package/dist/document-Ccszj8lR.cjs +0 -20
  224. package/dist/document-CjNHI7Eb.d.cts +0 -27
  225. package/dist/document-Cu_HUDC5.mjs +0 -51
  226. package/dist/document-D-KvyEb5.d.cts +0 -238
  227. package/dist/document-D2nLVGig.d.mts +0 -238
  228. package/dist/document-D4fJt3zX.d.cts +0 -12223
  229. package/dist/document-D5yDIDIx.d.mts +0 -15
  230. package/dist/document-D73dqRle.d.cts +0 -19
  231. package/dist/document-DA6YVZz-.d.cts +0 -100
  232. package/dist/document-DJ0YiVte.d.cts +0 -30
  233. package/dist/document-DMHIUE3J.d.mts +0 -17
  234. package/dist/document-DN3g0EFx.d.cts +0 -434
  235. package/dist/document-DYzRVV1C.d.mts +0 -16
  236. package/dist/document-D_ZMbzn6.d.cts +0 -18
  237. package/dist/document-DdRo9TdG.d.mts +0 -12223
  238. package/dist/document-DeoRGh7p.d.mts +0 -19
  239. package/dist/document-DsIPBTG8.cjs +0 -30
  240. package/dist/document-DsSaMVGb.cjs +0 -106
  241. package/dist/document-IIJpsOIO.d.cts +0 -16
  242. package/dist/document-WHS8GHY5.d.mts +0 -18
  243. package/dist/document-dqrWptdY.d.cts +0 -244
  244. package/dist/document-rbMXLGxt.cjs +0 -103
  245. package/dist/document-si7GYS5g.d.mts +0 -19
  246. package/dist/document-vq-7rcU5.d.mts +0 -244
  247. package/dist/fields-BQHSYj70.d.cts +0 -7
  248. package/dist/fields-qx-5saY5.d.mts +0 -7
  249. package/dist/index-BI8tN-QZ.d.mts +0 -99
  250. package/dist/index-DpYYzY_9.d.cts +0 -99
  251. package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
  252. package/dist/query.schema-CItKlb0x.d.cts +0 -41
  253. package/dist/response-C-7nyNVD.d.mts +0 -57
  254. package/dist/response-c6SgLvi9.d.cts +0 -57
  255. /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
  256. /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
  257. /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.d.mts} +0 -0
@@ -1,8 +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 } from "../../relations-C04F46xL.mjs";
5
- import { t as BlogPostDocument } from "../../document-BFukanLe.mjs";
3
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
4
+ import { h as CategoryDocument } from "../../document-Cx4Klv8A.mjs";
6
5
  import * as v from "valibot";
7
6
  //#region src/entities/category/constants.ts
8
7
  const LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = 100;
@@ -15,14 +14,6 @@ const CATEGORY_SORT_KEYS = [
15
14
  "updatedAt"
16
15
  ];
17
16
  //#endregion
18
- //#region src/entities/category/document.ts
19
- const CategoryDocument = v.object({
20
- ...BaseDocument.entries,
21
- label: v.string(),
22
- slug: v.string(),
23
- blog_posts: v.optional(v.nullable(v.array(v.lazy(() => BlogPostDocument))))
24
- });
25
- //#endregion
26
17
  //#region src/entities/category/fields.ts
27
18
  const QuerySortCategories = v.optional(v.pipe(v.array(v.picklist(CATEGORY_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(CATEGORY_SORT_KEYS.length)));
28
19
  //#endregion
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
3
  require("../../regex-Cl5goNwp.cjs");
4
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relations = require("../../relations-CGu18hfT.cjs");
6
- const require_document = require("../../document-DsIPBTG8.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-D7jG_DvK.cjs");
7
7
  let valibot = require("valibot");
8
8
  valibot = require_chunk.__toESM(valibot, 1);
9
9
  //#region src/entities/client/constants.ts
@@ -60,7 +60,7 @@ const UpdateClientDocument = valibot.object({
60
60
  classification: valibot.optional(ClientClassification)
61
61
  });
62
62
  const UpdateClientDocumentRequest = valibot.object({
63
- documentId: require_relations.SAssociateOneEntity,
63
+ documentId: require_relationships.SAssociateOneEntity,
64
64
  data: UpdateClientDocument
65
65
  });
66
66
  //#endregion
@@ -1,85 +1,2 @@
1
- import { t as ClientDocument } from "../../document-D-KvyEb5.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client/constants.d.ts
5
- declare const LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 20;
6
- declare const LIMIT_CLIENT_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_SORT_KEYS: readonly ["id", "title", "teamwork_id", "teamwork_name", "utm_sheet_id", "is_active", "is_hidden", "is_featured", "allow_create_utm_link", "is_organic_social", "is_paid_media", "createdAt", "updatedAt"];
8
- declare const CLIENT_CLASSIFICATIONS: readonly ["organic", "paid"];
9
- //#endregion
10
- //#region src/entities/client/fields.d.ts
11
- declare const QuerySortClients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], 13, undefined>]>, undefined>;
12
- type QuerySortClients = v.InferOutput<typeof QuerySortClients>;
13
- declare const ClientClassification: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>;
14
- //#endregion
15
- //#region src/entities/client/mutation.d.ts
16
- declare const CreateClientDocument: v.ObjectSchema<{
17
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
18
- readonly teamwork_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
19
- readonly teamwork_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
20
- readonly gainapp_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
21
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
22
- readonly is_active: v.BooleanSchema<undefined>;
23
- readonly is_hidden: v.BooleanSchema<undefined>;
24
- readonly is_featured: v.BooleanSchema<undefined>;
25
- readonly allow_create_utm_link: v.BooleanSchema<undefined>;
26
- readonly is_organic_social: v.BooleanSchema<undefined>;
27
- readonly is_paid_media: v.BooleanSchema<undefined>;
28
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
29
- }, undefined>;
30
- type CreateClientDocument = v.InferOutput<typeof CreateClientDocument>;
31
- declare const UpdateClientDocument: v.ObjectSchema<{
32
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
33
- readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
34
- readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
35
- readonly gainapp_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
36
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
37
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
38
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
39
- readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
40
- readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
41
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
42
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
43
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
44
- }, undefined>;
45
- type UpdateClientDocument = v.InferOutput<typeof UpdateClientDocument>;
46
- declare const UpdateClientDocumentRequest: v.ObjectSchema<{
47
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
48
- readonly data: v.ObjectSchema<{
49
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
50
- readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
51
- readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
52
- readonly gainapp_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
53
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
54
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
56
- readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
57
- readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
58
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
59
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
60
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
61
- }, undefined>;
62
- }, undefined>;
63
- type UpdateClientDocumentRequest = v.InferOutput<typeof UpdateClientDocumentRequest>;
64
- //#endregion
65
- //#region src/entities/client/query.d.ts
66
- declare const QueryStrapiSearchClients: v.ObjectSchema<{
67
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
68
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
69
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
70
- readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
71
- readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
72
- readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
73
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
74
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
75
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
76
- readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
77
- readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
78
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
79
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
80
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
81
- 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" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], 13, undefined>]>, undefined>;
82
- }, undefined>;
83
- type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
84
- //#endregion
1
+ import { an as QuerySortClients, cn as LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, en as QueryStrapiSearchClients, in as ClientClassification, ln as LIMIT_CLIENT_PAGINATION_MAX_SIZE, nn as UpdateClientDocument, on as CLIENT_CLASSIFICATIONS, rn as UpdateClientDocumentRequest, s as ClientDocument, sn as CLIENT_SORT_KEYS, tn as CreateClientDocument } from "../../index-CrZiM45q.cjs";
85
2
  export { CLIENT_CLASSIFICATIONS, CLIENT_SORT_KEYS, ClientClassification, ClientDocument, CreateClientDocument, LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, QuerySortClients, QueryStrapiSearchClients, UpdateClientDocument, UpdateClientDocumentRequest };
@@ -1,85 +1,2 @@
1
- import { t as ClientDocument } from "../../document-D2nLVGig.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client/constants.d.ts
5
- declare const LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 20;
6
- declare const LIMIT_CLIENT_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_SORT_KEYS: readonly ["id", "title", "teamwork_id", "teamwork_name", "utm_sheet_id", "is_active", "is_hidden", "is_featured", "allow_create_utm_link", "is_organic_social", "is_paid_media", "createdAt", "updatedAt"];
8
- declare const CLIENT_CLASSIFICATIONS: readonly ["organic", "paid"];
9
- //#endregion
10
- //#region src/entities/client/fields.d.ts
11
- declare const QuerySortClients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], 13, undefined>]>, undefined>;
12
- type QuerySortClients = v.InferOutput<typeof QuerySortClients>;
13
- declare const ClientClassification: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>;
14
- //#endregion
15
- //#region src/entities/client/mutation.d.ts
16
- declare const CreateClientDocument: v.ObjectSchema<{
17
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
18
- readonly teamwork_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
19
- readonly teamwork_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
20
- readonly gainapp_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
21
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
22
- readonly is_active: v.BooleanSchema<undefined>;
23
- readonly is_hidden: v.BooleanSchema<undefined>;
24
- readonly is_featured: v.BooleanSchema<undefined>;
25
- readonly allow_create_utm_link: v.BooleanSchema<undefined>;
26
- readonly is_organic_social: v.BooleanSchema<undefined>;
27
- readonly is_paid_media: v.BooleanSchema<undefined>;
28
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
29
- }, undefined>;
30
- type CreateClientDocument = v.InferOutput<typeof CreateClientDocument>;
31
- declare const UpdateClientDocument: v.ObjectSchema<{
32
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
33
- readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
34
- readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
35
- readonly gainapp_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
36
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
37
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
38
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
39
- readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
40
- readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
41
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
42
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
43
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
44
- }, undefined>;
45
- type UpdateClientDocument = v.InferOutput<typeof UpdateClientDocument>;
46
- declare const UpdateClientDocumentRequest: v.ObjectSchema<{
47
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
48
- readonly data: v.ObjectSchema<{
49
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
50
- readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
51
- readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
52
- readonly gainapp_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
53
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
54
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
56
- readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
57
- readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
58
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
59
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
60
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
61
- }, undefined>;
62
- }, undefined>;
63
- type UpdateClientDocumentRequest = v.InferOutput<typeof UpdateClientDocumentRequest>;
64
- //#endregion
65
- //#region src/entities/client/query.d.ts
66
- declare const QueryStrapiSearchClients: v.ObjectSchema<{
67
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
68
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
69
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
70
- readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
71
- readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
72
- readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
73
- readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
74
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
75
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
76
- readonly is_featured: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
77
- readonly allow_create_utm_link: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
78
- readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
79
- readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
80
- readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
81
- 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" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_featured:ASC" | "teamwork_id:ASC" | "teamwork_name:ASC" | "utm_sheet_id:ASC" | "allow_create_utm_link:ASC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_hidden:ASC" | "is_featured:DESC" | "teamwork_id:DESC" | "teamwork_name:DESC" | "utm_sheet_id:DESC" | "allow_create_utm_link:DESC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "is_hidden:DESC")[], 13, undefined>]>, undefined>;
82
- }, undefined>;
83
- type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
84
- //#endregion
1
+ import { an as QuerySortClients, cn as LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, en as QueryStrapiSearchClients, in as ClientClassification, ln as LIMIT_CLIENT_PAGINATION_MAX_SIZE, nn as UpdateClientDocument, on as CLIENT_CLASSIFICATIONS, rn as UpdateClientDocumentRequest, s as ClientDocument, sn as CLIENT_SORT_KEYS, tn as CreateClientDocument } from "../../index-4XzJDMTp.mjs";
85
2
  export { CLIENT_CLASSIFICATIONS, CLIENT_SORT_KEYS, ClientClassification, ClientDocument, CreateClientDocument, LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PAGINATION_MAX_SIZE, QuerySortClients, QueryStrapiSearchClients, UpdateClientDocument, UpdateClientDocumentRequest };
@@ -1,7 +1,7 @@
1
1
  import "../../regex-BnKGcdS4.mjs";
2
2
  import { d as VStringMinMax, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
3
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
4
- import { t as ClientDocument } from "../../document-CUl_Ys6-.mjs";
3
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
4
+ import { t as ClientDocument } from "../../document-DEUmfrbE.mjs";
5
5
  import * as v from "valibot";
6
6
  //#region src/entities/client/constants.ts
7
7
  const LIMIT_CLIENT_PAGINATION_DEFAULT_SIZE = 20;
@@ -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
  require("../../regex-Cl5goNwp.cjs");
5
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relations = require("../../relations-CGu18hfT.cjs");
7
- const require_document$1 = require("../../document-DsIPBTG8.cjs");
8
- const require_document$2 = require("../../document-Ccszj8lR.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-D7jG_DvK.cjs");
9
7
  let valibot = require("valibot");
10
8
  valibot = require_chunk.__toESM(valibot, 1);
11
9
  //#region src/entities/client-content-pillar/constants.ts
@@ -20,30 +18,22 @@ const CLIENT_CONTENT_PILLAR_SORT_KEYS = [
20
18
  "updatedAt"
21
19
  ];
22
20
  //#endregion
23
- //#region src/entities/client-content-pillar/document.ts
24
- const ClientContentPillarDocument = valibot.object({
25
- ...require_document.BaseDocument.entries,
26
- is_active: valibot.boolean(),
27
- client: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$1.ClientDocument))),
28
- content_pillar: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$2.ContentPillarDocument)))
29
- });
30
- //#endregion
31
21
  //#region src/entities/client-content-pillar/fields.ts
32
22
  const QuerySortClientContentPillars = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CLIENT_CONTENT_PILLAR_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CLIENT_CONTENT_PILLAR_SORT_KEYS.length)));
33
23
  //#endregion
34
24
  //#region src/entities/client-content-pillar/mutation.ts
35
25
  const CreateClientContentPillarDocument = valibot.object({
36
26
  is_active: valibot.optional(valibot.boolean()),
37
- client: valibot.optional(require_relations.SAssociateOneEntity),
38
- content_pillar: valibot.optional(require_relations.SAssociateOneEntity)
27
+ client: valibot.optional(require_relationships.SAssociateOneEntity),
28
+ content_pillar: valibot.optional(require_relationships.SAssociateOneEntity)
39
29
  });
40
30
  const UpdateClientContentPillarDocument = valibot.object({
41
31
  is_active: valibot.optional(valibot.boolean()),
42
- client: valibot.optional(require_relations.SAssociateOneEntity),
43
- content_pillar: valibot.optional(require_relations.SAssociateOneEntity)
32
+ client: valibot.optional(require_relationships.SAssociateOneEntity),
33
+ content_pillar: valibot.optional(require_relationships.SAssociateOneEntity)
44
34
  });
45
35
  const UpdateClientContentPillarDocumentRequest = valibot.object({
46
- documentId: require_relations.SAssociateOneEntity,
36
+ documentId: require_relationships.SAssociateOneEntity,
47
37
  data: UpdateClientContentPillarDocument
48
38
  });
49
39
  //#endregion
@@ -53,14 +43,14 @@ const QueryStrapiSearchClientContentPillars = valibot.object({
53
43
  size: require_validators.VSize(100),
54
44
  is_active: valibot.optional(valibot.boolean()),
55
45
  client_id: valibot.optional(require_validators.VStringMinMax(1, 255)),
56
- clients: valibot.optional(require_relations.SQueryManyEntities),
46
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
57
47
  content_pillar_id: valibot.optional(require_validators.VStringMinMax(1, 255)),
58
- content_pillars: valibot.optional(require_relations.SQueryManyEntities),
48
+ content_pillars: valibot.optional(require_relationships.SQueryManyEntities),
59
49
  sort: QuerySortClientContentPillars
60
50
  });
61
51
  //#endregion
62
52
  exports.CLIENT_CONTENT_PILLAR_SORT_KEYS = CLIENT_CONTENT_PILLAR_SORT_KEYS;
63
- exports.ClientContentPillarDocument = ClientContentPillarDocument;
53
+ exports.ClientContentPillarDocument = require_document.ClientContentPillarDocument;
64
54
  exports.CreateClientContentPillarDocument = CreateClientContentPillarDocument;
65
55
  exports.LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE;
66
56
  exports.LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE;
@@ -1,49 +1,2 @@
1
- import { t as ClientContentPillarDocument } from "../../document-BMxLOdrT.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client-content-pillar/constants.d.ts
5
- declare const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_CONTENT_PILLAR_SORT_KEYS: readonly ["id", "is_active", "content_pillar.title", "content_pillar.slug", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/client-content-pillar/fields.d.ts
10
- declare const QuerySortClientContentPillars: 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" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
11
- type QuerySortClientContentPillars = v.InferOutput<typeof QuerySortClientContentPillars>;
12
- //#endregion
13
- //#region src/entities/client-content-pillar/mutation.d.ts
14
- declare const CreateClientContentPillarDocument: v.ObjectSchema<{
15
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
16
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
17
- readonly content_pillar: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
18
- }, undefined>;
19
- type CreateClientContentPillarDocument = v.InferOutput<typeof CreateClientContentPillarDocument>;
20
- declare const UpdateClientContentPillarDocument: v.ObjectSchema<{
21
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
22
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
23
- readonly content_pillar: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
24
- }, undefined>;
25
- type UpdateClientContentPillarDocument = v.InferOutput<typeof UpdateClientContentPillarDocument>;
26
- declare const UpdateClientContentPillarDocumentRequest: 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 is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
31
- readonly content_pillar: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
32
- }, undefined>;
33
- }, undefined>;
34
- type UpdateClientContentPillarDocumentRequest = v.InferOutput<typeof UpdateClientContentPillarDocumentRequest>;
35
- //#endregion
36
- //#region src/entities/client-content-pillar/query.d.ts
37
- declare const QueryStrapiSearchClientContentPillars: 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 is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
41
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, 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 content_pillar_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
44
- readonly content_pillars: 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>;
45
- 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" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
46
- }, undefined>;
47
- type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
48
- //#endregion
1
+ import { a as QuerySortClientContentPillars, cr as CLIENT_CONTENT_PILLAR_SORT_KEYS, i as UpdateClientContentPillarDocumentRequest, lr as LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, n as CreateClientContentPillarDocument, o as ClientContentPillarDocument, r as UpdateClientContentPillarDocument, t as QueryStrapiSearchClientContentPillars, ur as LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE } from "../../index-CrZiM45q.cjs";
49
2
  export { CLIENT_CONTENT_PILLAR_SORT_KEYS, ClientContentPillarDocument, CreateClientContentPillarDocument, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, QuerySortClientContentPillars, QueryStrapiSearchClientContentPillars, UpdateClientContentPillarDocument, UpdateClientContentPillarDocumentRequest };
@@ -1,49 +1,2 @@
1
- import { t as ClientContentPillarDocument } from "../../document-Gx2Vrg_w.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client-content-pillar/constants.d.ts
5
- declare const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_CONTENT_PILLAR_SORT_KEYS: readonly ["id", "is_active", "content_pillar.title", "content_pillar.slug", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/client-content-pillar/fields.d.ts
10
- declare const QuerySortClientContentPillars: 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" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
11
- type QuerySortClientContentPillars = v.InferOutput<typeof QuerySortClientContentPillars>;
12
- //#endregion
13
- //#region src/entities/client-content-pillar/mutation.d.ts
14
- declare const CreateClientContentPillarDocument: v.ObjectSchema<{
15
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
16
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
17
- readonly content_pillar: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
18
- }, undefined>;
19
- type CreateClientContentPillarDocument = v.InferOutput<typeof CreateClientContentPillarDocument>;
20
- declare const UpdateClientContentPillarDocument: v.ObjectSchema<{
21
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
22
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
23
- readonly content_pillar: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
24
- }, undefined>;
25
- type UpdateClientContentPillarDocument = v.InferOutput<typeof UpdateClientContentPillarDocument>;
26
- declare const UpdateClientContentPillarDocumentRequest: 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 is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
31
- readonly content_pillar: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
32
- }, undefined>;
33
- }, undefined>;
34
- type UpdateClientContentPillarDocumentRequest = v.InferOutput<typeof UpdateClientContentPillarDocumentRequest>;
35
- //#endregion
36
- //#region src/entities/client-content-pillar/query.d.ts
37
- declare const QueryStrapiSearchClientContentPillars: 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 is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
41
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, 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 content_pillar_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
44
- readonly content_pillars: 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>;
45
- 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" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "is_active:DESC" | "content_pillar.title:ASC" | "content_pillar.slug:ASC" | "content_pillar.title:DESC" | "content_pillar.slug:DESC")[], 6, undefined>]>, undefined>;
46
- }, undefined>;
47
- type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
48
- //#endregion
1
+ import { a as QuerySortClientContentPillars, cr as CLIENT_CONTENT_PILLAR_SORT_KEYS, i as UpdateClientContentPillarDocumentRequest, lr as LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, n as CreateClientContentPillarDocument, o as ClientContentPillarDocument, r as UpdateClientContentPillarDocument, t as QueryStrapiSearchClientContentPillars, ur as LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE } from "../../index-4XzJDMTp.mjs";
49
2
  export { CLIENT_CONTENT_PILLAR_SORT_KEYS, ClientContentPillarDocument, CreateClientContentPillarDocument, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_MAX_SIZE, QuerySortClientContentPillars, QueryStrapiSearchClientContentPillars, UpdateClientContentPillarDocument, UpdateClientContentPillarDocumentRequest };
@@ -1,9 +1,7 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
1
  import "../../regex-BnKGcdS4.mjs";
3
2
  import { d as VStringMinMax, i as VSize, r as VPage } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity, s as SQueryManyEntities } from "../../relations-C04F46xL.mjs";
5
- import { t as ClientDocument } from "../../document-CUl_Ys6-.mjs";
6
- import { t as ContentPillarDocument } from "../../document-CTTDXzOF.mjs";
3
+ import { a as SAssociateOneEntity, s as SQueryManyEntities } from "../../relationships-BosK0kyG.mjs";
4
+ import { W as ClientContentPillarDocument } from "../../document-DEUmfrbE.mjs";
7
5
  import * as v from "valibot";
8
6
  //#region src/entities/client-content-pillar/constants.ts
9
7
  const LIMIT_CLIENT_CONTENT_PILLAR_PAGINATION_DEFAULT_SIZE = 10;
@@ -17,14 +15,6 @@ const CLIENT_CONTENT_PILLAR_SORT_KEYS = [
17
15
  "updatedAt"
18
16
  ];
19
17
  //#endregion
20
- //#region src/entities/client-content-pillar/document.ts
21
- const ClientContentPillarDocument = v.object({
22
- ...BaseDocument.entries,
23
- is_active: v.boolean(),
24
- client: v.optional(v.nullable(v.lazy(() => ClientDocument))),
25
- content_pillar: v.optional(v.nullable(v.lazy(() => ContentPillarDocument)))
26
- });
27
- //#endregion
28
18
  //#region src/entities/client-content-pillar/fields.ts
29
19
  const QuerySortClientContentPillars = v.optional(v.pipe(v.array(v.picklist(CLIENT_CONTENT_PILLAR_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(CLIENT_CONTENT_PILLAR_SORT_KEYS.length)));
30
20
  //#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-D7jG_DvK.cjs");
7
7
  let valibot = require("valibot");
8
8
  valibot = require_chunk.__toESM(valibot, 1);
9
9
  //#region src/entities/client-media-platform/constants.ts
@@ -22,13 +22,6 @@ const CLIENT_MEDIA_PLATFORM_SORT_KEYS = [
22
22
  "media_platform.updatedAt"
23
23
  ];
24
24
  //#endregion
25
- //#region src/entities/client-media-platform/document.ts
26
- const ClientMediaPlatformDocument = valibot.object({
27
- ...require_document.BaseDocument.entries,
28
- url: valibot.nullable(valibot.string()),
29
- is_active: valibot.boolean()
30
- });
31
- //#endregion
32
25
  //#region src/entities/client-media-platform/fields.ts
33
26
  const QuerySortClientMediaPlatforms = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CLIENT_MEDIA_PLATFORM_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CLIENT_MEDIA_PLATFORM_SORT_KEYS.length)));
34
27
  //#endregion
@@ -36,17 +29,17 @@ const QuerySortClientMediaPlatforms = valibot.optional(valibot.pipe(valibot.arra
36
29
  const CreateClientMediaPlatformDocument = valibot.object({
37
30
  url: valibot.nullable(require_validators.VStringMax(require_regex.LIMIT_MAX_DESTINATION)),
38
31
  is_active: valibot.boolean(),
39
- client: valibot.optional(require_relations.SAssociateOneEntity),
40
- media_platform: valibot.optional(require_relations.SAssociateOneEntity)
32
+ client: valibot.optional(require_relationships.SAssociateOneEntity),
33
+ media_platform: valibot.optional(require_relationships.SAssociateOneEntity)
41
34
  });
42
35
  const UpdateClientMediaPlatformDocument = valibot.object({
43
36
  url: valibot.optional(valibot.nullable(require_validators.VStringMax(require_regex.LIMIT_MAX_DESTINATION))),
44
37
  is_active: valibot.optional(valibot.boolean()),
45
- client: valibot.optional(require_relations.SAssociateOneEntity),
46
- media_platform: valibot.optional(require_relations.SAssociateOneEntity)
38
+ client: valibot.optional(require_relationships.SAssociateOneEntity),
39
+ media_platform: valibot.optional(require_relationships.SAssociateOneEntity)
47
40
  });
48
41
  const UpdateClientMediaPlatformDocumentRequest = valibot.object({
49
- documentId: require_relations.SAssociateOneEntity,
42
+ documentId: require_relationships.SAssociateOneEntity,
50
43
  data: UpdateClientMediaPlatformDocument
51
44
  });
52
45
  //#endregion
@@ -57,14 +50,14 @@ const QueryStrapiSearchClientMediaPlatforms = valibot.object({
57
50
  url: valibot.optional(require_validators.VStringMax(require_regex.LIMIT_MAX_DESTINATION)),
58
51
  is_active: valibot.optional(valibot.boolean()),
59
52
  client_id: valibot.optional(require_validators.VStringMinMax(1, 255)),
60
- clients: valibot.optional(require_relations.SQueryManyEntities),
53
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
61
54
  media_platform_id: valibot.optional(require_validators.VStringMinMax(1, 255)),
62
- media_platforms: valibot.optional(require_relations.SQueryManyEntities),
55
+ media_platforms: valibot.optional(require_relationships.SQueryManyEntities),
63
56
  sort: QuerySortClientMediaPlatforms
64
57
  });
65
58
  //#endregion
66
59
  exports.CLIENT_MEDIA_PLATFORM_SORT_KEYS = CLIENT_MEDIA_PLATFORM_SORT_KEYS;
67
- exports.ClientMediaPlatformDocument = ClientMediaPlatformDocument;
60
+ exports.ClientMediaPlatformDocument = require_document.ClientMediaPlatformDocument;
68
61
  exports.CreateClientMediaPlatformDocument = CreateClientMediaPlatformDocument;
69
62
  exports.LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE = LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE;
70
63
  exports.LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE;
@@ -1,53 +1,2 @@
1
- import { t as ClientMediaPlatformDocument } from "../../document-Bs8c1mok.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client-media-platform/constants.d.ts
5
- declare const LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_MEDIA_PLATFORM_SORT_KEYS: readonly ["id", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "media_platform.title", "media_platform.slug", "media_platform.createdAt", "media_platform.updatedAt"];
8
- //#endregion
9
- //#region src/entities/client-media-platform/fields.d.ts
10
- declare const QuerySortClientMediaPlatforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], 10, undefined>]>, undefined>;
11
- type QuerySortClientMediaPlatforms = v.InferOutput<typeof QuerySortClientMediaPlatforms>;
12
- //#endregion
13
- //#region src/entities/client-media-platform/mutation.d.ts
14
- declare const CreateClientMediaPlatformDocument: v.ObjectSchema<{
15
- readonly url: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
16
- readonly is_active: v.BooleanSchema<undefined>;
17
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
18
- readonly media_platform: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
19
- }, undefined>;
20
- type CreateClientMediaPlatformDocument = v.InferOutput<typeof CreateClientMediaPlatformDocument>;
21
- declare const UpdateClientMediaPlatformDocument: v.ObjectSchema<{
22
- readonly url: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
23
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
24
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
25
- readonly media_platform: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
26
- }, undefined>;
27
- type UpdateClientMediaPlatformDocument = v.InferOutput<typeof UpdateClientMediaPlatformDocument>;
28
- declare const UpdateClientMediaPlatformDocumentRequest: v.ObjectSchema<{
29
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
30
- readonly data: v.ObjectSchema<{
31
- readonly url: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
32
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
33
- readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
34
- readonly media_platform: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
35
- }, undefined>;
36
- }, undefined>;
37
- type UpdateClientMediaPlatformDocumentRequest = v.InferOutput<typeof UpdateClientMediaPlatformDocumentRequest>;
38
- //#endregion
39
- //#region src/entities/client-media-platform/query.d.ts
40
- declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
41
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
42
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
43
- readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
44
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
45
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
46
- 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>;
47
- readonly media_platform_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
48
- 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>;
49
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_organic_social:ASC" | "is_paid_media:ASC" | "is_active:ASC" | "is_organic_social:DESC" | "is_paid_media:DESC" | "is_active:DESC" | "media_platform.title:ASC" | "media_platform.slug:ASC" | "media_platform.createdAt:ASC" | "media_platform.updatedAt:ASC" | "media_platform.title:DESC" | "media_platform.slug:DESC" | "media_platform.createdAt:DESC" | "media_platform.updatedAt:DESC")[], 10, undefined>]>, undefined>;
50
- }, undefined>;
51
- type QueryStrapiSearchClientMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchClientMediaPlatforms>;
52
- //#endregion
1
+ import { $ as QuerySortClientMediaPlatforms, Q as UpdateClientMediaPlatformDocumentRequest, X as CreateClientMediaPlatformDocument, Y as QueryStrapiSearchClientMediaPlatforms, Z as UpdateClientMediaPlatformDocument, et as CLIENT_MEDIA_PLATFORM_SORT_KEYS, nt as LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, rr as ClientMediaPlatformDocument, tt as LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE } from "../../index-CrZiM45q.cjs";
53
2
  export { CLIENT_MEDIA_PLATFORM_SORT_KEYS, ClientMediaPlatformDocument, CreateClientMediaPlatformDocument, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE, QuerySortClientMediaPlatforms, QueryStrapiSearchClientMediaPlatforms, UpdateClientMediaPlatformDocument, UpdateClientMediaPlatformDocumentRequest };