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

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 (260) 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-CTozOkYP.mjs +457 -0
  31. package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
  32. package/dist/document-Ccvtwgy_.cjs +26 -0
  33. package/dist/document-CrnqUGRk.cjs +243 -0
  34. package/dist/document-Cx4Klv8A.mjs +128 -0
  35. package/dist/document-D060zybc.mjs +19 -0
  36. package/dist/document-DaICHS9G.cjs +17 -0
  37. package/dist/{document-Gx2Vrg_w.d.mts → document-DtDSYDbn.d.cts} +158 -104
  38. package/dist/document-c3GNPelp.mjs +10 -0
  39. package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
  40. package/dist/document-rndDoVSo.cjs +728 -0
  41. package/dist/entities/audit-log/index.cjs +2 -2
  42. package/dist/entities/audit-log/index.d.cts +2 -2
  43. package/dist/entities/audit-log/index.d.mts +3 -3
  44. package/dist/entities/audit-log/index.mjs +1 -1
  45. package/dist/entities/blog-page/index.d.mts +1 -1
  46. package/dist/entities/blog-post/index.cjs +1 -1
  47. package/dist/entities/blog-post/index.d.cts +1 -916
  48. package/dist/entities/blog-post/index.d.mts +1 -916
  49. package/dist/entities/blog-post/index.mjs +1 -1
  50. package/dist/entities/careers-page/index.d.mts +1 -1
  51. package/dist/entities/category/index.cjs +4 -13
  52. package/dist/entities/category/index.d.cts +1 -258
  53. package/dist/entities/category/index.d.mts +1 -258
  54. package/dist/entities/category/index.mjs +2 -11
  55. package/dist/entities/client/index.cjs +3 -3
  56. package/dist/entities/client/index.d.cts +1 -84
  57. package/dist/entities/client/index.d.mts +1 -84
  58. package/dist/entities/client/index.mjs +2 -2
  59. package/dist/entities/client-content-pillar/index.cjs +10 -20
  60. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  61. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  62. package/dist/entities/client-content-pillar/index.mjs +2 -12
  63. package/dist/entities/client-media-platform/index.cjs +10 -17
  64. package/dist/entities/client-media-platform/index.d.cts +1 -52
  65. package/dist/entities/client-media-platform/index.d.mts +1 -52
  66. package/dist/entities/client-media-platform/index.mjs +2 -9
  67. package/dist/entities/client-project/index.cjs +22 -129
  68. package/dist/entities/client-project/index.d.cts +1 -146
  69. package/dist/entities/client-project/index.d.mts +1 -146
  70. package/dist/entities/client-project/index.mjs +2 -109
  71. package/dist/entities/client-report/index.cjs +7 -18
  72. package/dist/entities/client-report/index.d.cts +1 -62
  73. package/dist/entities/client-report/index.d.mts +1 -62
  74. package/dist/entities/client-report/index.mjs +2 -13
  75. package/dist/entities/client-styleguide/index.cjs +7 -27
  76. package/dist/entities/client-styleguide/index.d.cts +1 -47
  77. package/dist/entities/client-styleguide/index.d.mts +1 -47
  78. package/dist/entities/client-styleguide/index.mjs +2 -22
  79. package/dist/entities/client-user/index.cjs +17 -53
  80. package/dist/entities/client-user/index.d.cts +2 -47
  81. package/dist/entities/client-user/index.d.mts +2 -47
  82. package/dist/entities/client-user/index.mjs +5 -41
  83. package/dist/entities/comment/index.d.cts +1 -1
  84. package/dist/entities/comment/index.d.mts +1 -1
  85. package/dist/entities/content-pillar/index.cjs +5 -5
  86. package/dist/entities/content-pillar/index.d.cts +1 -49
  87. package/dist/entities/content-pillar/index.d.mts +1 -49
  88. package/dist/entities/content-pillar/index.mjs +2 -2
  89. package/dist/entities/faq-page/index.d.mts +1 -1
  90. package/dist/entities/gcflytour/index.cjs +9 -19
  91. package/dist/entities/gcflytour/index.d.cts +1 -60
  92. package/dist/entities/gcflytour/index.d.mts +1 -60
  93. package/dist/entities/gcflytour/index.mjs +2 -12
  94. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  95. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  96. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  97. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  98. package/dist/entities/landing-page/index.cjs +1 -1
  99. package/dist/entities/landing-page/index.d.cts +3 -2
  100. package/dist/entities/landing-page/index.d.mts +4 -3
  101. package/dist/entities/landing-page/index.mjs +1 -1
  102. package/dist/entities/lead/index.cjs +2 -2
  103. package/dist/entities/lead/index.mjs +1 -1
  104. package/dist/entities/media-content-type/index.cjs +10 -23
  105. package/dist/entities/media-content-type/index.d.cts +3 -3
  106. package/dist/entities/media-content-type/index.d.mts +3 -3
  107. package/dist/entities/media-content-type/index.mjs +2 -15
  108. package/dist/entities/media-creative-format/index.cjs +7 -16
  109. package/dist/entities/media-creative-format/index.d.cts +3 -3
  110. package/dist/entities/media-creative-format/index.d.mts +3 -3
  111. package/dist/entities/media-creative-format/index.mjs +2 -11
  112. package/dist/entities/media-medium/index.cjs +7 -18
  113. package/dist/entities/media-medium/index.d.cts +3 -18
  114. package/dist/entities/media-medium/index.d.mts +3 -18
  115. package/dist/entities/media-medium/index.mjs +2 -13
  116. package/dist/entities/media-platform/index.cjs +13 -29
  117. package/dist/entities/media-platform/index.d.cts +1 -73
  118. package/dist/entities/media-platform/index.d.mts +1 -73
  119. package/dist/entities/media-platform/index.mjs +2 -18
  120. package/dist/entities/monday-workspace/index.cjs +7 -14
  121. package/dist/entities/monday-workspace/index.d.cts +1 -46
  122. package/dist/entities/monday-workspace/index.d.mts +1 -46
  123. package/dist/entities/monday-workspace/index.mjs +2 -9
  124. package/dist/entities/newsletter-signup/index.cjs +2 -2
  125. package/dist/entities/newsletter-signup/index.mjs +1 -1
  126. package/dist/entities/policy-page/index.d.cts +1 -0
  127. package/dist/entities/policy-page/index.d.mts +2 -1
  128. package/dist/entities/product/index.cjs +2 -21
  129. package/dist/entities/product/index.d.cts +1 -319
  130. package/dist/entities/product/index.d.mts +1 -319
  131. package/dist/entities/product/index.mjs +1 -18
  132. package/dist/entities/product-highlight/index.cjs +2 -21
  133. package/dist/entities/product-highlight/index.d.cts +1 -244
  134. package/dist/entities/product-highlight/index.d.mts +1 -244
  135. package/dist/entities/product-highlight/index.mjs +1 -18
  136. package/dist/entities/resume/index.cjs +2 -2
  137. package/dist/entities/resume/index.mjs +1 -1
  138. package/dist/entities/tag/index.cjs +4 -11
  139. package/dist/entities/tag/index.d.cts +1 -12
  140. package/dist/entities/tag/index.d.mts +1 -12
  141. package/dist/entities/tag/index.mjs +2 -9
  142. package/dist/entities/team-member/index.cjs +1 -1
  143. package/dist/entities/team-member/index.d.cts +1 -209
  144. package/dist/entities/team-member/index.d.mts +1 -209
  145. package/dist/entities/team-member/index.mjs +1 -1
  146. package/dist/entities/team-page/index.d.mts +1 -1
  147. package/dist/entities/trend/index.cjs +4 -18
  148. package/dist/entities/trend/index.d.cts +1 -333
  149. package/dist/entities/trend/index.d.mts +1 -333
  150. package/dist/entities/trend/index.mjs +2 -16
  151. package/dist/entities/up-auth/index.d.cts +1 -1
  152. package/dist/entities/up-auth/index.d.mts +1 -1
  153. package/dist/entities/up-permission/index.cjs +2 -11
  154. package/dist/entities/up-permission/index.d.cts +1 -13
  155. package/dist/entities/up-permission/index.d.mts +1 -13
  156. package/dist/entities/up-permission/index.mjs +1 -8
  157. package/dist/entities/up-role/index.cjs +4 -27
  158. package/dist/entities/up-role/index.d.cts +1 -2
  159. package/dist/entities/up-role/index.d.mts +1 -2
  160. package/dist/entities/up-role/index.mjs +1 -22
  161. package/dist/entities/up-user/index.cjs +9 -63
  162. package/dist/entities/up-user/index.d.cts +1 -37
  163. package/dist/entities/up-user/index.d.mts +1 -37
  164. package/dist/entities/up-user/index.mjs +1 -53
  165. package/dist/entities/url-redirect/index.d.cts +2 -2
  166. package/dist/entities/url-redirect/index.d.mts +2 -2
  167. package/dist/entities/user-account/index.cjs +10 -18
  168. package/dist/entities/user-account/index.d.cts +2 -2
  169. package/dist/entities/user-account/index.d.mts +2 -2
  170. package/dist/entities/user-account/index.mjs +3 -11
  171. package/dist/entities/utm-link-builder/index.cjs +9 -8
  172. package/dist/entities/utm-link-builder/index.d.cts +2 -3
  173. package/dist/entities/utm-link-builder/index.d.mts +2 -3
  174. package/dist/entities/utm-link-builder/index.mjs +6 -4
  175. package/dist/entities/utm-meta/index.d.cts +7 -7
  176. package/dist/entities/utm-meta/index.d.mts +7 -7
  177. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  178. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  179. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  180. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  181. package/dist/index--PSda81w.d.cts +4744 -0
  182. package/dist/index-B3VtiObV.d.mts +317 -0
  183. package/dist/index-BbwsFaWE.d.cts +921 -0
  184. package/dist/{index-DYPjS1qh.d.mts → index-Brw4Hq18.d.cts} +3 -3
  185. package/dist/index-C2eyUQu3.d.mts +4744 -0
  186. package/dist/index-CGetOe65.d.mts +940 -0
  187. package/dist/{index-Bht1Jd5l.d.mts → index-CJ2_Z1gW.d.mts} +97 -140
  188. package/dist/index-CQP_vcmO.d.cts +317 -0
  189. package/dist/index-CRoWUxGV.d.cts +1324 -0
  190. package/dist/index-C_UxUxQs.d.cts +940 -0
  191. package/dist/index-D11tQdCv.d.cts +34 -0
  192. package/dist/{index-BLE_fX1Q.d.cts → index-D6rOxDlM.d.mts} +3 -3
  193. package/dist/index-DJ-0EDJN.d.mts +921 -0
  194. package/dist/index-DLICmJ_-.d.mts +34 -0
  195. package/dist/{index-ZBDWYTfn.d.cts → index-efk0FfOP.d.cts} +96 -139
  196. package/dist/index-oCLNrzIj.d.mts +1324 -0
  197. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  198. package/dist/media-upload-DKeA1eD-.d.mts +140 -0
  199. package/dist/permissions/index.cjs +3 -663
  200. package/dist/permissions/index.d.cts +2 -2
  201. package/dist/permissions/index.d.mts +2 -2
  202. package/dist/permissions/index.mjs +3 -661
  203. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  204. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  205. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  206. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  207. package/dist/utilities/index.cjs +20 -0
  208. package/dist/utilities/index.d.cts +7 -2
  209. package/dist/utilities/index.d.mts +7 -2
  210. package/dist/utilities/index.mjs +19 -1
  211. package/package.json +1 -1
  212. package/dist/document-BAzLIprH.d.mts +0 -100
  213. package/dist/document-BFukanLe.mjs +0 -54
  214. package/dist/document-BK1ASowb.d.cts +0 -17
  215. package/dist/document-BNoXPGwF.d.mts +0 -27
  216. package/dist/document-B_pJW777.d.mts +0 -30
  217. package/dist/document-Bd2AyLs8.d.mts +0 -16
  218. package/dist/document-BezYxNmb.d.cts +0 -16
  219. package/dist/document-Bj7SRTOn.d.cts +0 -18
  220. package/dist/document-Bo869pZx.d.mts +0 -18
  221. package/dist/document-Bs8c1mok.d.cts +0 -15
  222. package/dist/document-C0c7azOe.d.mts +0 -434
  223. package/dist/document-CTTDXzOF.mjs +0 -13
  224. package/dist/document-CUl_Ys6-.mjs +0 -23
  225. package/dist/document-CWYzG60q.d.cts +0 -19
  226. package/dist/document-Ccszj8lR.cjs +0 -20
  227. package/dist/document-CjNHI7Eb.d.cts +0 -27
  228. package/dist/document-Cu_HUDC5.mjs +0 -51
  229. package/dist/document-D-KvyEb5.d.cts +0 -238
  230. package/dist/document-D2nLVGig.d.mts +0 -238
  231. package/dist/document-D4fJt3zX.d.cts +0 -12223
  232. package/dist/document-D5yDIDIx.d.mts +0 -15
  233. package/dist/document-D73dqRle.d.cts +0 -19
  234. package/dist/document-DA6YVZz-.d.cts +0 -100
  235. package/dist/document-DJ0YiVte.d.cts +0 -30
  236. package/dist/document-DMHIUE3J.d.mts +0 -17
  237. package/dist/document-DN3g0EFx.d.cts +0 -434
  238. package/dist/document-DYzRVV1C.d.mts +0 -16
  239. package/dist/document-D_ZMbzn6.d.cts +0 -18
  240. package/dist/document-DdRo9TdG.d.mts +0 -12223
  241. package/dist/document-DeoRGh7p.d.mts +0 -19
  242. package/dist/document-DsIPBTG8.cjs +0 -30
  243. package/dist/document-DsSaMVGb.cjs +0 -106
  244. package/dist/document-IIJpsOIO.d.cts +0 -16
  245. package/dist/document-WHS8GHY5.d.mts +0 -18
  246. package/dist/document-dqrWptdY.d.cts +0 -244
  247. package/dist/document-rbMXLGxt.cjs +0 -103
  248. package/dist/document-si7GYS5g.d.mts +0 -19
  249. package/dist/document-vq-7rcU5.d.mts +0 -244
  250. package/dist/fields-BQHSYj70.d.cts +0 -7
  251. package/dist/fields-qx-5saY5.d.mts +0 -7
  252. package/dist/index-BI8tN-QZ.d.mts +0 -99
  253. package/dist/index-DpYYzY_9.d.cts +0 -99
  254. package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
  255. package/dist/query.schema-CItKlb0x.d.cts +0 -41
  256. package/dist/response-C-7nyNVD.d.mts +0 -57
  257. package/dist/response-c6SgLvi9.d.cts +0 -57
  258. /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
  259. /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
  260. /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.d.mts} +0 -0
@@ -1,342 +1,10 @@
1
+ import { c as TrendDocument } from "../../index-CGetOe65.mjs";
1
2
  import * as v from "valibot";
2
3
 
3
4
  //#region src/entities/trend/constants.d.ts
4
5
  declare const LIMIT_TREND_PAGINATION_DEFAULT_SIZE = 7;
5
6
  declare const LIMIT_TREND_PAGINATION_MAX_SIZE = 100;
6
7
  //#endregion
7
- //#region src/entities/trend/document.d.ts
8
- declare const TrendDocument: v.ObjectSchema<{
9
- readonly title: v.StringSchema<undefined>;
10
- readonly video_embed: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11
- readonly video_source: v.PicklistSchema<readonly ["youtube", "upload"], undefined>;
12
- readonly video_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
13
- readonly video_upload: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
14
- readonly name: v.StringSchema<undefined>;
15
- readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
16
- readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
17
- readonly width: v.NumberSchema<undefined>;
18
- readonly height: v.NumberSchema<undefined>;
19
- readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
20
- readonly large: v.OptionalSchema<v.ObjectSchema<{
21
- readonly ext: v.StringSchema<undefined>;
22
- readonly url: v.StringSchema<undefined>;
23
- readonly hash: v.StringSchema<undefined>;
24
- readonly mime: v.StringSchema<undefined>;
25
- readonly name: v.StringSchema<undefined>;
26
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
27
- readonly size: v.NumberSchema<undefined>;
28
- readonly width: v.NumberSchema<undefined>;
29
- readonly height: v.NumberSchema<undefined>;
30
- readonly sizeInBytes: v.NumberSchema<undefined>;
31
- }, undefined>, undefined>;
32
- readonly small: v.OptionalSchema<v.ObjectSchema<{
33
- readonly ext: v.StringSchema<undefined>;
34
- readonly url: v.StringSchema<undefined>;
35
- readonly hash: v.StringSchema<undefined>;
36
- readonly mime: v.StringSchema<undefined>;
37
- readonly name: v.StringSchema<undefined>;
38
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
39
- readonly size: v.NumberSchema<undefined>;
40
- readonly width: v.NumberSchema<undefined>;
41
- readonly height: v.NumberSchema<undefined>;
42
- readonly sizeInBytes: v.NumberSchema<undefined>;
43
- }, undefined>, undefined>;
44
- readonly medium: v.OptionalSchema<v.ObjectSchema<{
45
- readonly ext: v.StringSchema<undefined>;
46
- readonly url: v.StringSchema<undefined>;
47
- readonly hash: v.StringSchema<undefined>;
48
- readonly mime: v.StringSchema<undefined>;
49
- readonly name: v.StringSchema<undefined>;
50
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
51
- readonly size: v.NumberSchema<undefined>;
52
- readonly width: v.NumberSchema<undefined>;
53
- readonly height: v.NumberSchema<undefined>;
54
- readonly sizeInBytes: v.NumberSchema<undefined>;
55
- }, undefined>, undefined>;
56
- readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
57
- readonly ext: v.StringSchema<undefined>;
58
- readonly url: v.StringSchema<undefined>;
59
- readonly hash: v.StringSchema<undefined>;
60
- readonly mime: v.StringSchema<undefined>;
61
- readonly name: v.StringSchema<undefined>;
62
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
63
- readonly size: v.NumberSchema<undefined>;
64
- readonly width: v.NumberSchema<undefined>;
65
- readonly height: v.NumberSchema<undefined>;
66
- readonly sizeInBytes: v.NumberSchema<undefined>;
67
- }, undefined>, undefined>;
68
- }, undefined>, undefined>, undefined>;
69
- readonly hash: v.StringSchema<undefined>;
70
- readonly ext: v.StringSchema<undefined>;
71
- readonly mime: v.StringSchema<undefined>;
72
- readonly size: v.NumberSchema<undefined>;
73
- readonly url: v.StringSchema<undefined>;
74
- readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
75
- readonly provider: v.StringSchema<undefined>;
76
- readonly provider_metadata: v.NullSchema<undefined>;
77
- readonly id: v.NumberSchema<undefined>;
78
- readonly documentId: v.StringSchema<undefined>;
79
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
80
- readonly createdAt: v.StringSchema<undefined>;
81
- readonly updatedAt: v.StringSchema<undefined>;
82
- }, undefined>>, undefined>, undefined>;
83
- readonly id: v.NumberSchema<undefined>;
84
- }, undefined>, undefined>, undefined>;
85
- readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
86
- readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
87
- readonly name: v.StringSchema<undefined>;
88
- readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
89
- readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
90
- readonly width: v.NumberSchema<undefined>;
91
- readonly height: v.NumberSchema<undefined>;
92
- readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
93
- readonly large: v.OptionalSchema<v.ObjectSchema<{
94
- readonly ext: v.StringSchema<undefined>;
95
- readonly url: v.StringSchema<undefined>;
96
- readonly hash: v.StringSchema<undefined>;
97
- readonly mime: v.StringSchema<undefined>;
98
- readonly name: v.StringSchema<undefined>;
99
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
100
- readonly size: v.NumberSchema<undefined>;
101
- readonly width: v.NumberSchema<undefined>;
102
- readonly height: v.NumberSchema<undefined>;
103
- readonly sizeInBytes: v.NumberSchema<undefined>;
104
- }, undefined>, undefined>;
105
- readonly small: v.OptionalSchema<v.ObjectSchema<{
106
- readonly ext: v.StringSchema<undefined>;
107
- readonly url: v.StringSchema<undefined>;
108
- readonly hash: v.StringSchema<undefined>;
109
- readonly mime: v.StringSchema<undefined>;
110
- readonly name: v.StringSchema<undefined>;
111
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
112
- readonly size: v.NumberSchema<undefined>;
113
- readonly width: v.NumberSchema<undefined>;
114
- readonly height: v.NumberSchema<undefined>;
115
- readonly sizeInBytes: v.NumberSchema<undefined>;
116
- }, undefined>, undefined>;
117
- readonly medium: v.OptionalSchema<v.ObjectSchema<{
118
- readonly ext: v.StringSchema<undefined>;
119
- readonly url: v.StringSchema<undefined>;
120
- readonly hash: v.StringSchema<undefined>;
121
- readonly mime: v.StringSchema<undefined>;
122
- readonly name: v.StringSchema<undefined>;
123
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
124
- readonly size: v.NumberSchema<undefined>;
125
- readonly width: v.NumberSchema<undefined>;
126
- readonly height: v.NumberSchema<undefined>;
127
- readonly sizeInBytes: v.NumberSchema<undefined>;
128
- }, undefined>, undefined>;
129
- readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
130
- readonly ext: v.StringSchema<undefined>;
131
- readonly url: v.StringSchema<undefined>;
132
- readonly hash: v.StringSchema<undefined>;
133
- readonly mime: v.StringSchema<undefined>;
134
- readonly name: v.StringSchema<undefined>;
135
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
136
- readonly size: v.NumberSchema<undefined>;
137
- readonly width: v.NumberSchema<undefined>;
138
- readonly height: v.NumberSchema<undefined>;
139
- readonly sizeInBytes: v.NumberSchema<undefined>;
140
- }, undefined>, undefined>;
141
- }, undefined>, undefined>, undefined>;
142
- readonly hash: v.StringSchema<undefined>;
143
- readonly ext: v.StringSchema<undefined>;
144
- readonly mime: v.StringSchema<undefined>;
145
- readonly size: v.NumberSchema<undefined>;
146
- readonly url: v.StringSchema<undefined>;
147
- readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
148
- readonly provider: v.StringSchema<undefined>;
149
- readonly provider_metadata: v.NullSchema<undefined>;
150
- readonly id: v.NumberSchema<undefined>;
151
- readonly documentId: v.StringSchema<undefined>;
152
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
153
- readonly createdAt: v.StringSchema<undefined>;
154
- readonly updatedAt: v.StringSchema<undefined>;
155
- }, undefined>>, undefined>, undefined>;
156
- readonly likes: v.NumberSchema<undefined>;
157
- readonly creators: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
158
- readonly name: v.StringSchema<undefined>;
159
- readonly slug: v.StringSchema<undefined>;
160
- readonly order: v.NumberSchema<undefined>;
161
- readonly job_title: v.StringSchema<undefined>;
162
- readonly tier: v.PicklistSchema<readonly ["owner", "manager", "employee"], undefined>;
163
- readonly group: v.PicklistSchema<readonly ["account", "media", "creative"], undefined>;
164
- readonly is_employed: v.BooleanSchema<undefined>;
165
- readonly contact_links: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
166
- readonly link_type: v.NullableSchema<v.PicklistSchema<readonly ["email", "phone", "social", "link"], undefined>, undefined>;
167
- readonly label: v.StringSchema<undefined>;
168
- readonly destination: v.StringSchema<undefined>;
169
- readonly icon: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
170
- readonly show_icon: v.BooleanSchema<undefined>;
171
- readonly icon_position: v.PicklistSchema<readonly ["before", "after", "above", "below"], undefined>;
172
- readonly full_width: v.BooleanSchema<undefined>;
173
- readonly id: v.NumberSchema<undefined>;
174
- }, undefined>, undefined>, undefined>;
175
- readonly biography: v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
176
- readonly type: v.StringSchema<undefined>;
177
- readonly children: v.ArraySchema<v.ObjectSchema<{
178
- readonly type: v.StringSchema<undefined>;
179
- readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
180
- readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
181
- readonly bold: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
182
- readonly italic: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
183
- readonly underline: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
184
- }, undefined>, undefined>;
185
- }, undefined>, undefined>, undefined>;
186
- readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
187
- readonly name: v.StringSchema<undefined>;
188
- readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
189
- readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
190
- readonly width: v.NumberSchema<undefined>;
191
- readonly height: v.NumberSchema<undefined>;
192
- readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
193
- readonly large: v.OptionalSchema<v.ObjectSchema<{
194
- readonly ext: v.StringSchema<undefined>;
195
- readonly url: v.StringSchema<undefined>;
196
- readonly hash: v.StringSchema<undefined>;
197
- readonly mime: v.StringSchema<undefined>;
198
- readonly name: v.StringSchema<undefined>;
199
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
200
- readonly size: v.NumberSchema<undefined>;
201
- readonly width: v.NumberSchema<undefined>;
202
- readonly height: v.NumberSchema<undefined>;
203
- readonly sizeInBytes: v.NumberSchema<undefined>;
204
- }, undefined>, undefined>;
205
- readonly small: v.OptionalSchema<v.ObjectSchema<{
206
- readonly ext: v.StringSchema<undefined>;
207
- readonly url: v.StringSchema<undefined>;
208
- readonly hash: v.StringSchema<undefined>;
209
- readonly mime: v.StringSchema<undefined>;
210
- readonly name: v.StringSchema<undefined>;
211
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
212
- readonly size: v.NumberSchema<undefined>;
213
- readonly width: v.NumberSchema<undefined>;
214
- readonly height: v.NumberSchema<undefined>;
215
- readonly sizeInBytes: v.NumberSchema<undefined>;
216
- }, undefined>, undefined>;
217
- readonly medium: v.OptionalSchema<v.ObjectSchema<{
218
- readonly ext: v.StringSchema<undefined>;
219
- readonly url: v.StringSchema<undefined>;
220
- readonly hash: v.StringSchema<undefined>;
221
- readonly mime: v.StringSchema<undefined>;
222
- readonly name: v.StringSchema<undefined>;
223
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
224
- readonly size: v.NumberSchema<undefined>;
225
- readonly width: v.NumberSchema<undefined>;
226
- readonly height: v.NumberSchema<undefined>;
227
- readonly sizeInBytes: v.NumberSchema<undefined>;
228
- }, undefined>, undefined>;
229
- readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
230
- readonly ext: v.StringSchema<undefined>;
231
- readonly url: v.StringSchema<undefined>;
232
- readonly hash: v.StringSchema<undefined>;
233
- readonly mime: v.StringSchema<undefined>;
234
- readonly name: v.StringSchema<undefined>;
235
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
236
- readonly size: v.NumberSchema<undefined>;
237
- readonly width: v.NumberSchema<undefined>;
238
- readonly height: v.NumberSchema<undefined>;
239
- readonly sizeInBytes: v.NumberSchema<undefined>;
240
- }, undefined>, undefined>;
241
- }, undefined>, undefined>, undefined>;
242
- readonly hash: v.StringSchema<undefined>;
243
- readonly ext: v.StringSchema<undefined>;
244
- readonly mime: v.StringSchema<undefined>;
245
- readonly size: v.NumberSchema<undefined>;
246
- readonly url: v.StringSchema<undefined>;
247
- readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
248
- readonly provider: v.StringSchema<undefined>;
249
- readonly provider_metadata: v.NullSchema<undefined>;
250
- readonly id: v.NumberSchema<undefined>;
251
- readonly documentId: v.StringSchema<undefined>;
252
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
253
- readonly createdAt: v.StringSchema<undefined>;
254
- readonly updatedAt: v.StringSchema<undefined>;
255
- }, undefined>>, undefined>, undefined>;
256
- readonly featured_video: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
257
- readonly name: v.StringSchema<undefined>;
258
- readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
259
- readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
260
- readonly width: v.NumberSchema<undefined>;
261
- readonly height: v.NumberSchema<undefined>;
262
- readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
263
- readonly large: v.OptionalSchema<v.ObjectSchema<{
264
- readonly ext: v.StringSchema<undefined>;
265
- readonly url: v.StringSchema<undefined>;
266
- readonly hash: v.StringSchema<undefined>;
267
- readonly mime: v.StringSchema<undefined>;
268
- readonly name: v.StringSchema<undefined>;
269
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
270
- readonly size: v.NumberSchema<undefined>;
271
- readonly width: v.NumberSchema<undefined>;
272
- readonly height: v.NumberSchema<undefined>;
273
- readonly sizeInBytes: v.NumberSchema<undefined>;
274
- }, undefined>, undefined>;
275
- readonly small: v.OptionalSchema<v.ObjectSchema<{
276
- readonly ext: v.StringSchema<undefined>;
277
- readonly url: v.StringSchema<undefined>;
278
- readonly hash: v.StringSchema<undefined>;
279
- readonly mime: v.StringSchema<undefined>;
280
- readonly name: v.StringSchema<undefined>;
281
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
282
- readonly size: v.NumberSchema<undefined>;
283
- readonly width: v.NumberSchema<undefined>;
284
- readonly height: v.NumberSchema<undefined>;
285
- readonly sizeInBytes: v.NumberSchema<undefined>;
286
- }, undefined>, undefined>;
287
- readonly medium: v.OptionalSchema<v.ObjectSchema<{
288
- readonly ext: v.StringSchema<undefined>;
289
- readonly url: v.StringSchema<undefined>;
290
- readonly hash: v.StringSchema<undefined>;
291
- readonly mime: v.StringSchema<undefined>;
292
- readonly name: v.StringSchema<undefined>;
293
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
294
- readonly size: v.NumberSchema<undefined>;
295
- readonly width: v.NumberSchema<undefined>;
296
- readonly height: v.NumberSchema<undefined>;
297
- readonly sizeInBytes: v.NumberSchema<undefined>;
298
- }, undefined>, undefined>;
299
- readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
300
- readonly ext: v.StringSchema<undefined>;
301
- readonly url: v.StringSchema<undefined>;
302
- readonly hash: v.StringSchema<undefined>;
303
- readonly mime: v.StringSchema<undefined>;
304
- readonly name: v.StringSchema<undefined>;
305
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
306
- readonly size: v.NumberSchema<undefined>;
307
- readonly width: v.NumberSchema<undefined>;
308
- readonly height: v.NumberSchema<undefined>;
309
- readonly sizeInBytes: v.NumberSchema<undefined>;
310
- }, undefined>, undefined>;
311
- }, undefined>, undefined>, undefined>;
312
- readonly hash: v.StringSchema<undefined>;
313
- readonly ext: v.StringSchema<undefined>;
314
- readonly mime: v.StringSchema<undefined>;
315
- readonly size: v.NumberSchema<undefined>;
316
- readonly url: v.StringSchema<undefined>;
317
- readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
318
- readonly provider: v.StringSchema<undefined>;
319
- readonly provider_metadata: v.NullSchema<undefined>;
320
- readonly id: v.NumberSchema<undefined>;
321
- readonly documentId: v.StringSchema<undefined>;
322
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
323
- readonly createdAt: v.StringSchema<undefined>;
324
- readonly updatedAt: v.StringSchema<undefined>;
325
- }, undefined>>, undefined>, undefined>;
326
- readonly id: v.NumberSchema<undefined>;
327
- readonly documentId: v.StringSchema<undefined>;
328
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
329
- readonly createdAt: v.StringSchema<undefined>;
330
- readonly updatedAt: v.StringSchema<undefined>;
331
- }, undefined>>, undefined>, undefined>;
332
- readonly id: v.NumberSchema<undefined>;
333
- readonly documentId: v.StringSchema<undefined>;
334
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
335
- readonly createdAt: v.StringSchema<undefined>;
336
- readonly updatedAt: v.StringSchema<undefined>;
337
- }, undefined>;
338
- type TrendDocument = v.InferOutput<typeof TrendDocument>;
339
- //#endregion
340
8
  //#region src/entities/trend/mutation.d.ts
341
9
  declare const UpdateTrendsLikes: v.ObjectSchema<{
342
10
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
@@ -1,24 +1,10 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
3
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
4
- import { BlockVideoEmbed } from "../../components/blocks/index.mjs";
5
- import { t as TeamMemberDocument } from "../../document-Cu_HUDC5.mjs";
1
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
2
+ import { m as TrendDocument } from "../../document-Cx4Klv8A.mjs";
6
3
  import * as v from "valibot";
7
4
  //#region src/entities/trend/constants.ts
8
5
  const LIMIT_TREND_PAGINATION_DEFAULT_SIZE = 7;
9
6
  const LIMIT_TREND_PAGINATION_MAX_SIZE = 100;
10
7
  //#endregion
11
- //#region src/entities/trend/document.ts
12
- const TrendDocument = v.object({
13
- ...BaseDocument.entries,
14
- title: v.string(),
15
- video_embed: v.optional(v.nullable(BlockVideoEmbed)),
16
- caption: v.nullable(v.string()),
17
- featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
18
- likes: v.number(),
19
- creators: v.optional(v.nullable(v.lazy(() => TeamMemberDocument)))
20
- });
21
- //#endregion
22
8
  //#region src/entities/trend/mutation.ts
23
9
  const UpdateTrendsLikes = v.object({
24
10
  documentId: SAssociateOneEntity,
@@ -1,2 +1,2 @@
1
- import { a as SAuthRawAccessToken, c as SLoginUser, d as SResetUserPassword, f as SUserToken, i as SAuthConnectProviderRedirectSearch, l as SRegisterUser, n as UserAuthorizationSuccessResponse, o as SChangePassword, r as SAuthConnectProviderConfirmation, s as SForgotUserPassword, t as AuthorizedUserDocument, u as SRequestConfirmEmail } from "../../index-DpYYzY_9.cjs";
1
+ import { Dn as UserAuthorizationSuccessResponse, En as AuthorizedUserDocument, Gn as SForgotUserPassword, Hn as SAuthConnectProviderRedirectSearch, Jn as SRequestConfirmEmail, Kn as SLoginUser, Un as SAuthRawAccessToken, Vn as SAuthConnectProviderConfirmation, Wn as SChangePassword, Xn as SUserToken, Yn as SResetUserPassword, qn as SRegisterUser } from "../../index--PSda81w.cjs";
2
2
  export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
@@ -1,2 +1,2 @@
1
- import { a as SAuthRawAccessToken, c as SLoginUser, d as SResetUserPassword, f as SUserToken, i as SAuthConnectProviderRedirectSearch, l as SRegisterUser, n as UserAuthorizationSuccessResponse, o as SChangePassword, r as SAuthConnectProviderConfirmation, s as SForgotUserPassword, t as AuthorizedUserDocument, u as SRequestConfirmEmail } from "../../index-BI8tN-QZ.mjs";
1
+ import { Dn as UserAuthorizationSuccessResponse, En as AuthorizedUserDocument, Gn as SForgotUserPassword, Hn as SAuthConnectProviderRedirectSearch, Jn as SRequestConfirmEmail, Kn as SLoginUser, Un as SAuthRawAccessToken, Vn as SAuthConnectProviderConfirmation, Wn as SChangePassword, Xn as SUserToken, Yn as SResetUserPassword, qn as SRegisterUser } from "../../index-C2eyUQu3.mjs";
2
2
  export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
@@ -1,12 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
- let valibot = require("valibot");
5
- valibot = require_chunk.__toESM(valibot, 1);
6
- //#region src/entities/up-permission/document.ts
7
- const PermissionDocument = valibot.object({
8
- ...require_document.BaseDocument.entries,
9
- action: valibot.string()
10
- });
11
- //#endregion
12
- exports.PermissionDocument = PermissionDocument;
2
+ const require_document = require("../../document-rndDoVSo.cjs");
3
+ exports.PermissionDocument = require_document.PermissionDocument;
@@ -1,14 +1,2 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/entities/up-permission/document.d.ts
4
- declare const PermissionDocument: v.ObjectSchema<{
5
- readonly action: v.StringSchema<undefined>;
6
- readonly id: v.NumberSchema<undefined>;
7
- readonly documentId: v.StringSchema<undefined>;
8
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9
- readonly createdAt: v.StringSchema<undefined>;
10
- readonly updatedAt: v.StringSchema<undefined>;
11
- }, undefined>;
12
- type PermissionDocument = v.InferOutput<typeof PermissionDocument>;
13
- //#endregion
1
+ import { Bn as PermissionDocument } from "../../index--PSda81w.cjs";
14
2
  export { PermissionDocument };
@@ -1,14 +1,2 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/entities/up-permission/document.d.ts
4
- declare const PermissionDocument: v.ObjectSchema<{
5
- readonly action: v.StringSchema<undefined>;
6
- readonly id: v.NumberSchema<undefined>;
7
- readonly documentId: v.StringSchema<undefined>;
8
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9
- readonly createdAt: v.StringSchema<undefined>;
10
- readonly updatedAt: v.StringSchema<undefined>;
11
- }, undefined>;
12
- type PermissionDocument = v.InferOutput<typeof PermissionDocument>;
13
- //#endregion
1
+ import { Bn as PermissionDocument } from "../../index-C2eyUQu3.mjs";
14
2
  export { PermissionDocument };
@@ -1,9 +1,2 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import * as v from "valibot";
3
- //#region src/entities/up-permission/document.ts
4
- const PermissionDocument = v.object({
5
- ...BaseDocument.entries,
6
- action: v.string()
7
- });
8
- //#endregion
1
+ import { T as PermissionDocument } from "../../document-CTozOkYP.mjs";
9
2
  export { PermissionDocument };
@@ -1,28 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
- let valibot = require("valibot");
5
- valibot = require_chunk.__toESM(valibot, 1);
6
- //#region src/entities/up-role/constants.ts
7
- const ROLE_TYPES = [
8
- "authenticated",
9
- "public",
10
- "employee",
11
- "manager",
12
- "client"
13
- ];
14
- //#endregion
15
- //#region src/entities/up-role/fields.ts
16
- const RoleType = valibot.picklist(ROLE_TYPES);
17
- //#endregion
18
- //#region src/entities/up-role/document.ts
19
- const RoleDocument = valibot.object({
20
- ...require_document.BaseDocument.entries,
21
- type: RoleType,
22
- name: valibot.string(),
23
- description: valibot.nullable(valibot.string())
24
- });
25
- //#endregion
26
- exports.ROLE_TYPES = ROLE_TYPES;
27
- exports.RoleDocument = RoleDocument;
28
- exports.RoleType = RoleType;
2
+ const require_document = require("../../document-rndDoVSo.cjs");
3
+ exports.ROLE_TYPES = require_document.ROLE_TYPES;
4
+ exports.RoleDocument = require_document.RoleDocument;
5
+ exports.RoleType = require_document.RoleType;
@@ -1,5 +1,4 @@
1
- import { t as RoleDocument } from "../../document-BezYxNmb.cjs";
2
- import { t as RoleType } from "../../fields-BQHSYj70.cjs";
1
+ import { On as RoleDocument, kn as RoleType } from "../../index--PSda81w.cjs";
3
2
 
4
3
  //#region src/entities/up-role/constants.d.ts
5
4
  declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
@@ -1,5 +1,4 @@
1
- import { t as RoleDocument } from "../../document-DYzRVV1C.mjs";
2
- import { t as RoleType } from "../../fields-qx-5saY5.mjs";
1
+ import { On as RoleDocument, kn as RoleType } from "../../index-C2eyUQu3.mjs";
3
2
 
4
3
  //#region src/entities/up-role/constants.d.ts
5
4
  declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
@@ -1,23 +1,2 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import * as v from "valibot";
3
- //#region src/entities/up-role/constants.ts
4
- const ROLE_TYPES = [
5
- "authenticated",
6
- "public",
7
- "employee",
8
- "manager",
9
- "client"
10
- ];
11
- //#endregion
12
- //#region src/entities/up-role/fields.ts
13
- const RoleType = v.picklist(ROLE_TYPES);
14
- //#endregion
15
- //#region src/entities/up-role/document.ts
16
- const RoleDocument = v.object({
17
- ...BaseDocument.entries,
18
- type: RoleType,
19
- name: v.string(),
20
- description: v.nullable(v.string())
21
- });
22
- //#endregion
1
+ import { C as RoleType, S as RoleDocument, w as ROLE_TYPES } from "../../document-CTozOkYP.mjs";
23
2
  export { ROLE_TYPES, RoleDocument, RoleType };
@@ -1,64 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
- const require_regex = require("../../regex-Cl5goNwp.cjs");
5
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- let valibot = require("valibot");
7
- valibot = require_chunk.__toESM(valibot, 1);
8
- //#region src/entities/up-user/constants.ts
9
- const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
10
- const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
11
- const USER_SORT_KEYS = [
12
- "id",
13
- "username",
14
- "email",
15
- "confirmed",
16
- "blocked",
17
- "createdAt",
18
- "updatedAt"
19
- ];
20
- //#endregion
21
- //#region src/entities/up-user/document.ts
22
- const UserDocument = valibot.object({
23
- ...require_document.BaseDocument.entries,
24
- username: valibot.string(),
25
- email: valibot.string(),
26
- provider: valibot.string(),
27
- confirmed: valibot.boolean(),
28
- blocked: valibot.boolean(),
29
- clerk_user_id: valibot.nullable(valibot.string())
30
- });
31
- //#endregion
32
- //#region src/entities/up-user/fields.ts
33
- const QuerySortUsers = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(USER_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(USER_SORT_KEYS.length)));
34
- //#endregion
35
- //#region src/entities/up-user/mutation.ts
36
- const CreateUserDocument = valibot.object({
37
- username: require_validators.VStringMinMaxRegex(3, 255, require_regex.REGEX_UTM_VALUE, "username must be alphanumeric"),
38
- email: require_validators.VStringEmail(),
39
- password: require_validators.VStringMinMax(8, 255),
40
- blocked: valibot.boolean(),
41
- confirmed: valibot.boolean(),
42
- role: valibot.number()
43
- });
44
- //#endregion
45
- //#region src/entities/up-user/query.ts
46
- const QueryStrapiUsers = valibot.object({
47
- page: require_validators.VPage(),
48
- size: require_validators.VSize(10),
49
- sort: QuerySortUsers
50
- });
51
- const QueryStrapiUsersByIdentifier = valibot.object({
52
- identifier: require_validators.VStringShort(0),
53
- page: require_validators.VPage(),
54
- size: require_validators.VSize(10)
55
- });
56
- //#endregion
57
- exports.CreateUserDocument = CreateUserDocument;
58
- exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = LIMIT_USER_PAGINATION_DEFAULT_SIZE;
59
- exports.LIMIT_USER_PAGINATION_MAX_SIZE = LIMIT_USER_PAGINATION_MAX_SIZE;
60
- exports.QuerySortUsers = QuerySortUsers;
61
- exports.QueryStrapiUsers = QueryStrapiUsers;
62
- exports.QueryStrapiUsersByIdentifier = QueryStrapiUsersByIdentifier;
63
- exports.USER_SORT_KEYS = USER_SORT_KEYS;
64
- exports.UserDocument = UserDocument;
2
+ const require_document = require("../../document-rndDoVSo.cjs");
3
+ exports.CreateUserDocument = require_document.CreateUserDocument;
4
+ exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = require_document.LIMIT_USER_PAGINATION_DEFAULT_SIZE;
5
+ exports.LIMIT_USER_PAGINATION_MAX_SIZE = require_document.LIMIT_USER_PAGINATION_MAX_SIZE;
6
+ exports.QuerySortUsers = require_document.QuerySortUsers;
7
+ exports.QueryStrapiUsers = require_document.QueryStrapiUsers;
8
+ exports.QueryStrapiUsersByIdentifier = require_document.QueryStrapiUsersByIdentifier;
9
+ exports.USER_SORT_KEYS = require_document.USER_SORT_KEYS;
10
+ exports.UserDocument = require_document.UserDocument;
@@ -1,38 +1,2 @@
1
- import { t as UserDocument } from "../../document-CWYzG60q.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/up-user/constants.d.ts
5
- declare const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
7
- declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/up-user/fields.d.ts
10
- declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
11
- type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
12
- //#endregion
13
- //#region src/entities/up-user/mutation.d.ts
14
- declare const CreateUserDocument: v.ObjectSchema<{
15
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
16
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
17
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
18
- readonly blocked: v.BooleanSchema<undefined>;
19
- readonly confirmed: v.BooleanSchema<undefined>;
20
- readonly role: v.NumberSchema<undefined>;
21
- }, undefined>;
22
- type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
23
- //#endregion
24
- //#region src/entities/up-user/query.d.ts
25
- declare const QueryStrapiUsers: v.ObjectSchema<{
26
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
27
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
28
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
29
- }, undefined>;
30
- type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
31
- declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
32
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
33
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
34
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
35
- }, undefined>;
36
- type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
37
- //#endregion
1
+ import { An as UserDocument, Fn as CreateUserDocument, In as QuerySortUsers, Ln as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Nn as QueryStrapiUsers, Pn as QueryStrapiUsersByIdentifier, Rn as LIMIT_USER_PAGINATION_MAX_SIZE, zn as USER_SORT_KEYS } from "../../index--PSda81w.cjs";
38
2
  export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };