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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/base/index.cjs +19 -19
  2. package/dist/base/index.d.cts +3 -3
  3. package/dist/base/index.d.mts +4 -4
  4. package/dist/base/index.mjs +2 -2
  5. package/dist/components/blocks/index.cjs +16 -14
  6. package/dist/components/blocks/index.d.cts +2 -1322
  7. package/dist/components/blocks/index.d.mts +2 -1322
  8. package/dist/components/blocks/index.mjs +16 -14
  9. package/dist/components/brand/index.d.cts +1 -314
  10. package/dist/components/brand/index.d.mts +1 -314
  11. package/dist/components/forms/index.cjs +10 -8
  12. package/dist/components/forms/index.d.cts +6 -3
  13. package/dist/components/forms/index.d.mts +6 -3
  14. package/dist/components/forms/index.mjs +10 -8
  15. package/dist/components/shared/index.cjs +3 -1
  16. package/dist/components/shared/index.d.cts +1 -916
  17. package/dist/components/shared/index.d.mts +1 -916
  18. package/dist/components/shared/index.mjs +3 -1
  19. package/dist/components/slideshow/index.cjs +15 -13
  20. package/dist/components/slideshow/index.d.cts +7 -5
  21. package/dist/components/slideshow/index.d.mts +7 -5
  22. package/dist/components/slideshow/index.mjs +15 -13
  23. package/dist/components/utm/index.cjs +4 -2
  24. package/dist/components/utm/index.d.cts +1 -31
  25. package/dist/components/utm/index.d.mts +1 -31
  26. package/dist/components/utm/index.mjs +4 -2
  27. package/dist/document-BFPtEW5P.d.cts +17 -0
  28. package/dist/{document-Bpr9mbCs.d.mts → document-CH1Od98-.d.mts} +6 -6
  29. package/dist/document-Ccvtwgy_.cjs +26 -0
  30. package/dist/{document-Gx2Vrg_w.d.mts → document-CnKWB70Z.d.cts} +158 -104
  31. package/dist/{document-hEBlSep8.d.cts → document-CpsxYzbB.d.cts} +6 -6
  32. package/dist/document-CrnqUGRk.cjs +243 -0
  33. package/dist/document-Cx4Klv8A.mjs +128 -0
  34. package/dist/document-D060zybc.mjs +19 -0
  35. package/dist/document-DUHPXtbm.mjs +409 -0
  36. package/dist/document-DaICHS9G.cjs +17 -0
  37. package/dist/document-DamlTVm7.cjs +19 -0
  38. package/dist/document-DnA3Nwgh.mjs +12 -0
  39. package/dist/{document-BMxLOdrT.d.cts → document-Dr5-pbqu.d.mts} +158 -104
  40. package/dist/document-GovGVYRl.d.mts +17 -0
  41. package/dist/document-c3GNPelp.mjs +10 -0
  42. package/dist/document-zu6-DmQT.cjs +632 -0
  43. package/dist/entities/audit-log/index.cjs +2 -2
  44. package/dist/entities/audit-log/index.d.cts +2 -2
  45. package/dist/entities/audit-log/index.d.mts +3 -3
  46. package/dist/entities/audit-log/index.mjs +1 -1
  47. package/dist/entities/blog-page/index.d.mts +1 -1
  48. package/dist/entities/blog-post/index.cjs +11 -65
  49. package/dist/entities/blog-post/index.d.cts +1 -1620
  50. package/dist/entities/blog-post/index.d.mts +1 -1620
  51. package/dist/entities/blog-post/index.mjs +1 -55
  52. package/dist/entities/careers-page/index.d.mts +1 -1
  53. package/dist/entities/category/index.cjs +4 -11
  54. package/dist/entities/category/index.d.cts +3 -14
  55. package/dist/entities/category/index.d.mts +3 -14
  56. package/dist/entities/category/index.mjs +2 -9
  57. package/dist/entities/client/index.cjs +3 -3
  58. package/dist/entities/client/index.d.cts +1 -84
  59. package/dist/entities/client/index.d.mts +1 -84
  60. package/dist/entities/client/index.mjs +2 -2
  61. package/dist/entities/client-content-pillar/index.cjs +10 -20
  62. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  63. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  64. package/dist/entities/client-content-pillar/index.mjs +2 -12
  65. package/dist/entities/client-media-platform/index.cjs +10 -17
  66. package/dist/entities/client-media-platform/index.d.cts +1 -52
  67. package/dist/entities/client-media-platform/index.d.mts +1 -52
  68. package/dist/entities/client-media-platform/index.mjs +2 -9
  69. package/dist/entities/client-project/index.cjs +22 -129
  70. package/dist/entities/client-project/index.d.cts +1 -146
  71. package/dist/entities/client-project/index.d.mts +1 -146
  72. package/dist/entities/client-project/index.mjs +2 -109
  73. package/dist/entities/client-report/index.cjs +7 -18
  74. package/dist/entities/client-report/index.d.cts +1 -62
  75. package/dist/entities/client-report/index.d.mts +1 -62
  76. package/dist/entities/client-report/index.mjs +2 -13
  77. package/dist/entities/client-styleguide/index.cjs +7 -27
  78. package/dist/entities/client-styleguide/index.d.cts +1 -47
  79. package/dist/entities/client-styleguide/index.d.mts +1 -47
  80. package/dist/entities/client-styleguide/index.mjs +2 -22
  81. package/dist/entities/client-user/index.cjs +17 -53
  82. package/dist/entities/client-user/index.d.cts +1 -46
  83. package/dist/entities/client-user/index.d.mts +1 -46
  84. package/dist/entities/client-user/index.mjs +2 -38
  85. package/dist/entities/comment/index.d.cts +1 -1
  86. package/dist/entities/content-pillar/index.cjs +5 -5
  87. package/dist/entities/content-pillar/index.d.cts +1 -49
  88. package/dist/entities/content-pillar/index.d.mts +1 -49
  89. package/dist/entities/content-pillar/index.mjs +2 -2
  90. package/dist/entities/faq-page/index.d.mts +1 -1
  91. package/dist/entities/gcflytour/index.cjs +9 -19
  92. package/dist/entities/gcflytour/index.d.cts +1 -60
  93. package/dist/entities/gcflytour/index.d.mts +1 -60
  94. package/dist/entities/gcflytour/index.mjs +2 -12
  95. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  96. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  97. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  98. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  99. package/dist/entities/landing-page/index.d.mts +1 -1
  100. package/dist/entities/lead/index.cjs +2 -2
  101. package/dist/entities/lead/index.mjs +1 -1
  102. package/dist/entities/media-content-type/index.cjs +10 -23
  103. package/dist/entities/media-content-type/index.d.cts +3 -3
  104. package/dist/entities/media-content-type/index.d.mts +3 -3
  105. package/dist/entities/media-content-type/index.mjs +2 -15
  106. package/dist/entities/media-creative-format/index.cjs +7 -16
  107. package/dist/entities/media-creative-format/index.d.cts +3 -3
  108. package/dist/entities/media-creative-format/index.d.mts +3 -3
  109. package/dist/entities/media-creative-format/index.mjs +2 -11
  110. package/dist/entities/media-medium/index.cjs +7 -18
  111. package/dist/entities/media-medium/index.d.cts +3 -18
  112. package/dist/entities/media-medium/index.d.mts +3 -18
  113. package/dist/entities/media-medium/index.mjs +2 -13
  114. package/dist/entities/media-platform/index.cjs +13 -29
  115. package/dist/entities/media-platform/index.d.cts +1 -73
  116. package/dist/entities/media-platform/index.d.mts +1 -73
  117. package/dist/entities/media-platform/index.mjs +2 -18
  118. package/dist/entities/monday-workspace/index.cjs +7 -14
  119. package/dist/entities/monday-workspace/index.d.cts +1 -46
  120. package/dist/entities/monday-workspace/index.d.mts +1 -46
  121. package/dist/entities/monday-workspace/index.mjs +2 -9
  122. package/dist/entities/newsletter-signup/index.cjs +2 -2
  123. package/dist/entities/newsletter-signup/index.mjs +1 -1
  124. package/dist/entities/policy-page/index.d.mts +1 -1
  125. package/dist/entities/product/index.cjs +2 -21
  126. package/dist/entities/product/index.d.cts +1 -319
  127. package/dist/entities/product/index.d.mts +1 -319
  128. package/dist/entities/product/index.mjs +1 -18
  129. package/dist/entities/product-highlight/index.cjs +2 -21
  130. package/dist/entities/product-highlight/index.d.cts +1 -244
  131. package/dist/entities/product-highlight/index.d.mts +1 -244
  132. package/dist/entities/product-highlight/index.mjs +1 -18
  133. package/dist/entities/resume/index.cjs +2 -2
  134. package/dist/entities/resume/index.mjs +1 -1
  135. package/dist/entities/tag/index.cjs +4 -11
  136. package/dist/entities/tag/index.d.cts +3 -14
  137. package/dist/entities/tag/index.d.mts +3 -14
  138. package/dist/entities/tag/index.mjs +2 -9
  139. package/dist/entities/team-member/index.cjs +1 -1
  140. package/dist/entities/team-member/index.d.cts +1 -209
  141. package/dist/entities/team-member/index.d.mts +1 -209
  142. package/dist/entities/team-member/index.mjs +1 -1
  143. package/dist/entities/team-page/index.d.mts +1 -1
  144. package/dist/entities/trend/index.cjs +4 -18
  145. package/dist/entities/trend/index.d.cts +1 -333
  146. package/dist/entities/trend/index.d.mts +1 -333
  147. package/dist/entities/trend/index.mjs +2 -16
  148. package/dist/entities/up-auth/index.d.cts +1 -1
  149. package/dist/entities/up-auth/index.d.mts +1 -1
  150. package/dist/entities/up-permission/index.cjs +2 -11
  151. package/dist/entities/up-permission/index.d.cts +1 -13
  152. package/dist/entities/up-permission/index.d.mts +1 -13
  153. package/dist/entities/up-permission/index.mjs +1 -8
  154. package/dist/entities/up-role/index.cjs +4 -27
  155. package/dist/entities/up-role/index.d.cts +1 -2
  156. package/dist/entities/up-role/index.d.mts +1 -2
  157. package/dist/entities/up-role/index.mjs +1 -22
  158. package/dist/entities/up-user/index.cjs +2 -13
  159. package/dist/entities/up-user/index.d.cts +1 -37
  160. package/dist/entities/up-user/index.d.mts +1 -37
  161. package/dist/entities/up-user/index.mjs +1 -12
  162. package/dist/entities/url-redirect/index.d.cts +2 -2
  163. package/dist/entities/url-redirect/index.d.mts +2 -2
  164. package/dist/entities/user-account/index.cjs +10 -18
  165. package/dist/entities/user-account/index.d.cts +2 -2
  166. package/dist/entities/user-account/index.d.mts +2 -2
  167. package/dist/entities/user-account/index.mjs +3 -11
  168. package/dist/entities/utm-link-builder/index.cjs +5 -5
  169. package/dist/entities/utm-link-builder/index.mjs +1 -1
  170. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  171. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  172. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  173. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  174. package/dist/index-22laZYwt.d.mts +34 -0
  175. package/dist/{index-Bht1Jd5l.d.mts → index-B-CQQO_E.d.mts} +59 -140
  176. package/dist/index-BCvKbd4C.d.cts +940 -0
  177. package/dist/index-BQ_nheAt.d.mts +1324 -0
  178. package/dist/index-Cb8BnFcL.d.cts +4731 -0
  179. package/dist/index-Cpbdnd9q.d.cts +317 -0
  180. package/dist/index-D0PCjo7e.d.mts +940 -0
  181. package/dist/index-DB45mxlG.d.mts +921 -0
  182. package/dist/index-Df7ixqwa.d.cts +1324 -0
  183. package/dist/index-GUYqdxFh.d.mts +4731 -0
  184. package/dist/index-NBz_zMvQ.d.cts +34 -0
  185. package/dist/index-Z_fJ28vW.d.mts +317 -0
  186. package/dist/index-_eItTyFr.d.cts +921 -0
  187. package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
  188. package/dist/media-upload-BEfESsVb.d.mts +140 -0
  189. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  190. package/dist/permissions/index.d.cts +1 -1
  191. package/dist/permissions/index.d.mts +1 -1
  192. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  193. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  194. package/dist/{query.schema-BOn5Kk_p.d.mts → query-Cyv28Ggi.d.cts} +1 -1
  195. package/dist/{query.schema-CItKlb0x.d.cts → query-HXwJctNd.d.mts} +1 -1
  196. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  197. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  198. package/dist/utilities/index.d.cts +2 -4
  199. package/dist/utilities/index.d.mts +2 -4
  200. package/package.json +1 -1
  201. package/dist/document-AkydjorI.d.cts +0 -12219
  202. package/dist/document-BAzLIprH.d.mts +0 -100
  203. package/dist/document-BK1ASowb.d.cts +0 -17
  204. package/dist/document-BNoXPGwF.d.mts +0 -27
  205. package/dist/document-B_pJW777.d.mts +0 -30
  206. package/dist/document-Bd2AyLs8.d.mts +0 -16
  207. package/dist/document-BezYxNmb.d.cts +0 -16
  208. package/dist/document-Bj7SRTOn.d.cts +0 -18
  209. package/dist/document-Bo869pZx.d.mts +0 -18
  210. package/dist/document-Bs8c1mok.d.cts +0 -15
  211. package/dist/document-C0c7azOe.d.mts +0 -434
  212. package/dist/document-CTTDXzOF.mjs +0 -13
  213. package/dist/document-CUl_Ys6-.mjs +0 -23
  214. package/dist/document-CWYzG60q.d.cts +0 -19
  215. package/dist/document-Ccszj8lR.cjs +0 -20
  216. package/dist/document-CjNHI7Eb.d.cts +0 -27
  217. package/dist/document-Cu_HUDC5.mjs +0 -51
  218. package/dist/document-D-KvyEb5.d.cts +0 -238
  219. package/dist/document-D2nLVGig.d.mts +0 -238
  220. package/dist/document-D5yDIDIx.d.mts +0 -15
  221. package/dist/document-D73dqRle.d.cts +0 -19
  222. package/dist/document-DA6YVZz-.d.cts +0 -100
  223. package/dist/document-DJ0YiVte.d.cts +0 -30
  224. package/dist/document-DMHIUE3J.d.mts +0 -17
  225. package/dist/document-DN3g0EFx.d.cts +0 -434
  226. package/dist/document-DYzRVV1C.d.mts +0 -16
  227. package/dist/document-D_ZMbzn6.d.cts +0 -18
  228. package/dist/document-DeoRGh7p.d.mts +0 -19
  229. package/dist/document-DsIPBTG8.cjs +0 -30
  230. package/dist/document-DsSaMVGb.cjs +0 -106
  231. package/dist/document-DsT_qkhs.d.mts +0 -12219
  232. package/dist/document-IIJpsOIO.d.cts +0 -16
  233. package/dist/document-WHS8GHY5.d.mts +0 -18
  234. package/dist/document-dqrWptdY.d.cts +0 -244
  235. package/dist/document-si7GYS5g.d.mts +0 -19
  236. package/dist/document-vq-7rcU5.d.mts +0 -244
  237. package/dist/fields-BQHSYj70.d.cts +0 -7
  238. package/dist/fields-qx-5saY5.d.mts +0 -7
  239. package/dist/index-BI8tN-QZ.d.mts +0 -99
  240. package/dist/index-DpYYzY_9.d.cts +0 -99
  241. package/dist/response-C-7nyNVD.d.mts +0 -57
  242. package/dist/response-c6SgLvi9.d.cts +0 -57
  243. /package/dist/{index-D4Mm4D2d.d.cts → index-COCNx5sv.d.cts} +0 -0
  244. /package/dist/{json-CqAaKeHA.d.mts → json-p1Yf7cEr.d.mts} +0 -0
@@ -1,342 +1,10 @@
1
+ import { c as TrendDocument } from "../../index-D0PCjo7e.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.ArraySchema<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>, 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.array(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 { Bn as SAuthConnectProviderConfirmation, Gn as SLoginUser, Hn as SAuthRawAccessToken, Jn as SResetUserPassword, Kn as SRegisterUser, Nn as AuthorizedUserDocument, Pn as UserAuthorizationSuccessResponse, Un as SChangePassword, Vn as SAuthConnectProviderRedirectSearch, Wn as SForgotUserPassword, Yn as SUserToken, qn as SRequestConfirmEmail } from "../../index-Cb8BnFcL.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 { Bn as SAuthConnectProviderConfirmation, Gn as SLoginUser, Hn as SAuthRawAccessToken, Jn as SResetUserPassword, Kn as SRegisterUser, Nn as AuthorizedUserDocument, Pn as UserAuthorizationSuccessResponse, Un as SChangePassword, Vn as SAuthConnectProviderRedirectSearch, Wn as SForgotUserPassword, Yn as SUserToken, qn as SRequestConfirmEmail } from "../../index-GUYqdxFh.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-zu6-DmQT.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 { zn as PermissionDocument } from "../../index-Cb8BnFcL.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 { zn as PermissionDocument } from "../../index-GUYqdxFh.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 { l as PermissionDocument } from "../../document-DUHPXtbm.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-zu6-DmQT.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 { Fn as RoleDocument, In as RoleType } from "../../index-Cb8BnFcL.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 { Fn as RoleDocument, In as RoleType } from "../../index-GUYqdxFh.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 ROLE_TYPES, o as RoleDocument, s as RoleType } from "../../document-DUHPXtbm.mjs";
23
2
  export { ROLE_TYPES, RoleDocument, RoleType };
@@ -1,8 +1,8 @@
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");
5
+ const require_document = require("../../document-zu6-DmQT.cjs");
6
6
  let valibot = require("valibot");
7
7
  valibot = require_chunk.__toESM(valibot, 1);
8
8
  //#region src/entities/up-user/constants.ts
@@ -18,17 +18,6 @@ const USER_SORT_KEYS = [
18
18
  "updatedAt"
19
19
  ];
20
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
21
  //#region src/entities/up-user/fields.ts
33
22
  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
23
  //#endregion
@@ -61,4 +50,4 @@ exports.QuerySortUsers = QuerySortUsers;
61
50
  exports.QueryStrapiUsers = QueryStrapiUsers;
62
51
  exports.QueryStrapiUsersByIdentifier = QueryStrapiUsersByIdentifier;
63
52
  exports.USER_SORT_KEYS = USER_SORT_KEYS;
64
- exports.UserDocument = UserDocument;
53
+ 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" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "blocked:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC" | "blocked:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "blocked:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC" | "blocked: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" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "blocked:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC" | "blocked:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "blocked:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC" | "blocked: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 { C as QueryStrapiUsersByIdentifier, D as LIMIT_USER_PAGINATION_MAX_SIZE, E as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Ln as UserDocument, O as USER_SORT_KEYS, S as QueryStrapiUsers, T as QuerySortUsers, w as CreateUserDocument } from "../../index-Cb8BnFcL.cjs";
38
2
  export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };