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

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 (334) hide show
  1. package/README.md +16 -38
  2. package/dist/base/index.cjs +106 -0
  3. package/dist/base/index.d.cts +5 -0
  4. package/dist/base/index.d.mts +5 -0
  5. package/dist/base/index.mjs +21 -0
  6. package/dist/component-BPHZTfVY.mjs +6 -0
  7. package/dist/component-DLjTD_qK.cjs +19 -0
  8. package/dist/components/blocks/index.cjs +207 -0
  9. package/dist/components/blocks/index.d.cts +1322 -0
  10. package/dist/components/blocks/index.d.mts +1322 -0
  11. package/dist/components/blocks/index.mjs +175 -0
  12. package/dist/components/brand/index.cjs +37 -0
  13. package/dist/components/brand/index.d.cts +315 -0
  14. package/dist/components/brand/index.d.mts +315 -0
  15. package/dist/components/brand/index.mjs +31 -0
  16. package/dist/components/forms/index.cjs +70 -0
  17. package/dist/components/forms/index.d.cts +333 -0
  18. package/dist/components/forms/index.d.mts +333 -0
  19. package/dist/components/forms/index.mjs +58 -0
  20. package/dist/components/shared/index.cjs +127 -0
  21. package/dist/components/shared/index.d.cts +917 -0
  22. package/dist/components/shared/index.d.mts +917 -0
  23. package/dist/components/shared/index.mjs +107 -0
  24. package/dist/components/slideshow/index.cjs +129 -0
  25. package/dist/components/slideshow/index.d.cts +742 -0
  26. package/dist/components/slideshow/index.d.mts +742 -0
  27. package/dist/components/slideshow/index.mjs +106 -0
  28. package/dist/components/utm/index.cjs +55 -0
  29. package/dist/components/utm/index.d.cts +32 -0
  30. package/dist/components/utm/index.d.mts +32 -0
  31. package/dist/components/utm/index.mjs +47 -0
  32. package/dist/constants/index.cjs +243 -0
  33. package/dist/constants/index.d.cts +197 -0
  34. package/dist/constants/index.d.mts +197 -0
  35. package/dist/constants/index.mjs +182 -0
  36. package/dist/constants-L2goO7Eg.mjs +85 -0
  37. package/dist/constants-PBZKggHL.cjs +102 -0
  38. package/dist/document-BAro2Mrj.cjs +18 -0
  39. package/dist/document-BAzLIprH.d.mts +100 -0
  40. package/dist/document-BFukanLe.mjs +54 -0
  41. package/dist/document-BK1ASowb.d.cts +17 -0
  42. package/dist/document-BMxLOdrT.d.cts +267 -0
  43. package/dist/document-BNoXPGwF.d.mts +27 -0
  44. package/dist/document-B_pJW777.d.mts +30 -0
  45. package/dist/document-Bd2AyLs8.d.mts +16 -0
  46. package/dist/document-BezYxNmb.d.cts +16 -0
  47. package/dist/document-Bj7SRTOn.d.cts +18 -0
  48. package/dist/document-Bo869pZx.d.mts +18 -0
  49. package/dist/document-Bpr9mbCs.d.mts +15 -0
  50. package/dist/document-Bqoi1MdT.mjs +11 -0
  51. package/dist/document-Bs8c1mok.d.cts +15 -0
  52. package/dist/document-C0c7azOe.d.mts +434 -0
  53. package/dist/document-CTTDXzOF.mjs +13 -0
  54. package/dist/document-CUl_Ys6-.mjs +23 -0
  55. package/dist/document-CWYzG60q.d.cts +19 -0
  56. package/dist/document-Ccszj8lR.cjs +20 -0
  57. package/dist/document-CjNHI7Eb.d.cts +27 -0
  58. package/dist/document-Cu_HUDC5.mjs +51 -0
  59. package/dist/document-D-KvyEb5.d.cts +238 -0
  60. package/dist/document-D2nLVGig.d.mts +238 -0
  61. package/dist/document-D4fJt3zX.d.cts +12223 -0
  62. package/dist/document-D5yDIDIx.d.mts +15 -0
  63. package/dist/document-D73dqRle.d.cts +19 -0
  64. package/dist/document-DA6YVZz-.d.cts +100 -0
  65. package/dist/document-DJ0YiVte.d.cts +30 -0
  66. package/dist/document-DMHIUE3J.d.mts +17 -0
  67. package/dist/document-DN3g0EFx.d.cts +434 -0
  68. package/dist/document-DYzRVV1C.d.mts +16 -0
  69. package/dist/document-D_ZMbzn6.d.cts +18 -0
  70. package/dist/document-DdRo9TdG.d.mts +12223 -0
  71. package/dist/document-DeoRGh7p.d.mts +19 -0
  72. package/dist/document-DsIPBTG8.cjs +30 -0
  73. package/dist/document-DsSaMVGb.cjs +106 -0
  74. package/dist/document-Gx2Vrg_w.d.mts +267 -0
  75. package/dist/document-IIJpsOIO.d.cts +16 -0
  76. package/dist/document-WHS8GHY5.d.mts +18 -0
  77. package/dist/document-dqrWptdY.d.cts +244 -0
  78. package/dist/document-hEBlSep8.d.cts +15 -0
  79. package/dist/document-rbMXLGxt.cjs +103 -0
  80. package/dist/document-si7GYS5g.d.mts +19 -0
  81. package/dist/document-vq-7rcU5.d.mts +244 -0
  82. package/dist/entities/audit-log/index.cjs +127 -0
  83. package/dist/entities/audit-log/index.d.cts +134 -0
  84. package/dist/entities/audit-log/index.d.mts +134 -0
  85. package/dist/entities/audit-log/index.mjs +115 -0
  86. package/dist/entities/blog-page/index.cjs +16 -0
  87. package/dist/entities/blog-page/index.d.cts +257 -0
  88. package/dist/entities/blog-page/index.d.mts +257 -0
  89. package/dist/entities/blog-page/index.mjs +13 -0
  90. package/dist/entities/blog-post/index.cjs +33 -0
  91. package/dist/entities/blog-post/index.d.cts +917 -0
  92. package/dist/entities/blog-post/index.d.mts +917 -0
  93. package/dist/entities/blog-post/index.mjs +21 -0
  94. package/dist/entities/careers-page/index.cjs +16 -0
  95. package/dist/entities/careers-page/index.d.cts +257 -0
  96. package/dist/entities/careers-page/index.d.mts +257 -0
  97. package/dist/entities/careers-page/index.mjs +13 -0
  98. package/dist/entities/category/index.cjs +63 -0
  99. package/dist/entities/category/index.d.cts +300 -0
  100. package/dist/entities/category/index.d.mts +300 -0
  101. package/dist/entities/category/index.mjs +52 -0
  102. package/dist/entities/client/index.cjs +96 -0
  103. package/dist/entities/client/index.d.cts +85 -0
  104. package/dist/entities/client/index.d.mts +85 -0
  105. package/dist/entities/client/index.mjs +83 -0
  106. package/dist/entities/client-content-pillar/index.cjs +70 -0
  107. package/dist/entities/client-content-pillar/index.d.cts +49 -0
  108. package/dist/entities/client-content-pillar/index.d.mts +49 -0
  109. package/dist/entities/client-content-pillar/index.mjs +59 -0
  110. package/dist/entities/client-media-platform/index.cjs +74 -0
  111. package/dist/entities/client-media-platform/index.d.cts +53 -0
  112. package/dist/entities/client-media-platform/index.d.mts +53 -0
  113. package/dist/entities/client-media-platform/index.mjs +63 -0
  114. package/dist/entities/client-project/index.cjs +205 -0
  115. package/dist/entities/client-project/index.d.cts +147 -0
  116. package/dist/entities/client-project/index.d.mts +147 -0
  117. package/dist/entities/client-project/index.mjs +188 -0
  118. package/dist/entities/client-report/index.cjs +82 -0
  119. package/dist/entities/client-report/index.d.cts +63 -0
  120. package/dist/entities/client-report/index.d.mts +63 -0
  121. package/dist/entities/client-report/index.mjs +71 -0
  122. package/dist/entities/client-styleguide/index.cjs +77 -0
  123. package/dist/entities/client-styleguide/index.d.cts +48 -0
  124. package/dist/entities/client-styleguide/index.d.mts +48 -0
  125. package/dist/entities/client-styleguide/index.mjs +66 -0
  126. package/dist/entities/client-user/index.cjs +78 -0
  127. package/dist/entities/client-user/index.d.cts +47 -0
  128. package/dist/entities/client-user/index.d.mts +47 -0
  129. package/dist/entities/client-user/index.mjs +64 -0
  130. package/dist/entities/comment/index.cjs +137 -0
  131. package/dist/entities/comment/index.d.cts +2 -0
  132. package/dist/entities/comment/index.d.mts +2 -0
  133. package/dist/entities/comment/index.mjs +116 -0
  134. package/dist/entities/content-pillar/index.cjs +59 -0
  135. package/dist/entities/content-pillar/index.d.cts +50 -0
  136. package/dist/entities/content-pillar/index.d.mts +50 -0
  137. package/dist/entities/content-pillar/index.mjs +48 -0
  138. package/dist/entities/faq-page/index.cjs +17 -0
  139. package/dist/entities/faq-page/index.d.cts +335 -0
  140. package/dist/entities/faq-page/index.d.mts +335 -0
  141. package/dist/entities/faq-page/index.mjs +14 -0
  142. package/dist/entities/formatter/index.cjs +258 -0
  143. package/dist/entities/formatter/index.d.cts +121 -0
  144. package/dist/entities/formatter/index.d.mts +121 -0
  145. package/dist/entities/formatter/index.mjs +233 -0
  146. package/dist/entities/gcflytour/index.cjs +79 -0
  147. package/dist/entities/gcflytour/index.d.cts +61 -0
  148. package/dist/entities/gcflytour/index.d.mts +61 -0
  149. package/dist/entities/gcflytour/index.mjs +68 -0
  150. package/dist/entities/gcflytour-snap/index.cjs +78 -0
  151. package/dist/entities/gcflytour-snap/index.d.cts +59 -0
  152. package/dist/entities/gcflytour-snap/index.d.mts +59 -0
  153. package/dist/entities/gcflytour-snap/index.mjs +67 -0
  154. package/dist/entities/landing-page/index.cjs +28 -0
  155. package/dist/entities/landing-page/index.d.cts +479 -0
  156. package/dist/entities/landing-page/index.d.mts +479 -0
  157. package/dist/entities/landing-page/index.mjs +25 -0
  158. package/dist/entities/lead/index.cjs +63 -0
  159. package/dist/entities/lead/index.d.cts +75 -0
  160. package/dist/entities/lead/index.d.mts +75 -0
  161. package/dist/entities/lead/index.mjs +57 -0
  162. package/dist/entities/media-content-type/index.cjs +100 -0
  163. package/dist/entities/media-content-type/index.d.cts +66 -0
  164. package/dist/entities/media-content-type/index.d.mts +66 -0
  165. package/dist/entities/media-content-type/index.mjs +89 -0
  166. package/dist/entities/media-creative-format/index.cjs +79 -0
  167. package/dist/entities/media-creative-format/index.d.cts +54 -0
  168. package/dist/entities/media-creative-format/index.d.mts +54 -0
  169. package/dist/entities/media-creative-format/index.mjs +68 -0
  170. package/dist/entities/media-medium/index.cjs +90 -0
  171. package/dist/entities/media-medium/index.d.cts +77 -0
  172. package/dist/entities/media-medium/index.d.mts +77 -0
  173. package/dist/entities/media-medium/index.mjs +79 -0
  174. package/dist/entities/media-platform/index.cjs +118 -0
  175. package/dist/entities/media-platform/index.d.cts +74 -0
  176. package/dist/entities/media-platform/index.d.mts +74 -0
  177. package/dist/entities/media-platform/index.mjs +107 -0
  178. package/dist/entities/monday-workspace/index.cjs +66 -0
  179. package/dist/entities/monday-workspace/index.d.cts +47 -0
  180. package/dist/entities/monday-workspace/index.d.mts +47 -0
  181. package/dist/entities/monday-workspace/index.mjs +55 -0
  182. package/dist/entities/newsletter-signup/index.cjs +67 -0
  183. package/dist/entities/newsletter-signup/index.d.cts +76 -0
  184. package/dist/entities/newsletter-signup/index.d.mts +76 -0
  185. package/dist/entities/newsletter-signup/index.mjs +60 -0
  186. package/dist/entities/policy-page/index.cjs +23 -0
  187. package/dist/entities/policy-page/index.d.cts +331 -0
  188. package/dist/entities/policy-page/index.d.mts +331 -0
  189. package/dist/entities/policy-page/index.mjs +20 -0
  190. package/dist/entities/product/index.cjs +28 -0
  191. package/dist/entities/product/index.d.cts +325 -0
  192. package/dist/entities/product/index.d.mts +325 -0
  193. package/dist/entities/product/index.mjs +23 -0
  194. package/dist/entities/product-highlight/index.cjs +28 -0
  195. package/dist/entities/product-highlight/index.d.cts +245 -0
  196. package/dist/entities/product-highlight/index.d.mts +245 -0
  197. package/dist/entities/product-highlight/index.mjs +23 -0
  198. package/dist/entities/resume/index.cjs +129 -0
  199. package/dist/entities/resume/index.d.cts +198 -0
  200. package/dist/entities/resume/index.d.mts +198 -0
  201. package/dist/entities/resume/index.mjs +119 -0
  202. package/dist/entities/sharpspring/index.cjs +19 -0
  203. package/dist/entities/sharpspring/index.d.cts +16 -0
  204. package/dist/entities/sharpspring/index.d.mts +16 -0
  205. package/dist/entities/sharpspring/index.mjs +16 -0
  206. package/dist/entities/tag/index.cjs +61 -0
  207. package/dist/entities/tag/index.d.cts +54 -0
  208. package/dist/entities/tag/index.d.mts +54 -0
  209. package/dist/entities/tag/index.mjs +50 -0
  210. package/dist/entities/team-member/index.cjs +29 -0
  211. package/dist/entities/team-member/index.d.cts +210 -0
  212. package/dist/entities/team-member/index.d.mts +210 -0
  213. package/dist/entities/team-member/index.mjs +17 -0
  214. package/dist/entities/team-page/index.cjs +16 -0
  215. package/dist/entities/team-page/index.d.cts +257 -0
  216. package/dist/entities/team-page/index.d.mts +257 -0
  217. package/dist/entities/team-page/index.mjs +13 -0
  218. package/dist/entities/teamwork/index.cjs +74 -0
  219. package/dist/entities/teamwork/index.d.cts +512 -0
  220. package/dist/entities/teamwork/index.d.mts +512 -0
  221. package/dist/entities/teamwork/index.mjs +68 -0
  222. package/dist/entities/trend/index.cjs +34 -0
  223. package/dist/entities/trend/index.d.cts +347 -0
  224. package/dist/entities/trend/index.d.mts +347 -0
  225. package/dist/entities/trend/index.mjs +28 -0
  226. package/dist/entities/up-auth/index.cjs +56 -0
  227. package/dist/entities/up-auth/index.d.cts +2 -0
  228. package/dist/entities/up-auth/index.d.mts +2 -0
  229. package/dist/entities/up-auth/index.mjs +44 -0
  230. package/dist/entities/up-permission/index.cjs +12 -0
  231. package/dist/entities/up-permission/index.d.cts +14 -0
  232. package/dist/entities/up-permission/index.d.mts +14 -0
  233. package/dist/entities/up-permission/index.mjs +9 -0
  234. package/dist/entities/up-role/index.cjs +28 -0
  235. package/dist/entities/up-role/index.d.cts +7 -0
  236. package/dist/entities/up-role/index.d.mts +7 -0
  237. package/dist/entities/up-role/index.mjs +23 -0
  238. package/dist/entities/up-user/index.cjs +64 -0
  239. package/dist/entities/up-user/index.d.cts +38 -0
  240. package/dist/entities/up-user/index.d.mts +38 -0
  241. package/dist/entities/up-user/index.mjs +54 -0
  242. package/dist/entities/upload/index.cjs +35 -0
  243. package/dist/entities/upload/index.d.cts +31 -0
  244. package/dist/entities/upload/index.d.mts +31 -0
  245. package/dist/entities/upload/index.mjs +29 -0
  246. package/dist/entities/url-redirect/index.cjs +67 -0
  247. package/dist/entities/url-redirect/index.d.cts +45 -0
  248. package/dist/entities/url-redirect/index.d.mts +45 -0
  249. package/dist/entities/url-redirect/index.mjs +54 -0
  250. package/dist/entities/user-account/index.cjs +48 -0
  251. package/dist/entities/user-account/index.d.cts +39 -0
  252. package/dist/entities/user-account/index.d.mts +39 -0
  253. package/dist/entities/user-account/index.mjs +39 -0
  254. package/dist/entities/utm-link-builder/index.cjs +84 -0
  255. package/dist/entities/utm-link-builder/index.d.cts +191 -0
  256. package/dist/entities/utm-link-builder/index.d.mts +191 -0
  257. package/dist/entities/utm-link-builder/index.mjs +76 -0
  258. package/dist/entities/utm-meta/index.cjs +19 -0
  259. package/dist/entities/utm-meta/index.d.cts +83 -0
  260. package/dist/entities/utm-meta/index.d.mts +83 -0
  261. package/dist/entities/utm-meta/index.mjs +16 -0
  262. package/dist/entities/utm-tracking-link/index.cjs +199 -0
  263. package/dist/entities/utm-tracking-link/index.d.cts +235 -0
  264. package/dist/entities/utm-tracking-link/index.d.mts +235 -0
  265. package/dist/entities/utm-tracking-link/index.mjs +184 -0
  266. package/dist/fields-BQHSYj70.d.cts +7 -0
  267. package/dist/fields-qx-5saY5.d.mts +7 -0
  268. package/dist/fonts-CGSHKgp0.cjs +125 -0
  269. package/dist/fonts-tMy55UFs.mjs +58 -0
  270. package/dist/index-BI8tN-QZ.d.mts +99 -0
  271. package/dist/index-BLE_fX1Q.d.cts +200 -0
  272. package/dist/index-Bht1Jd5l.d.mts +422 -0
  273. package/dist/index-DYPjS1qh.d.mts +200 -0
  274. package/dist/index-DpYYzY_9.d.cts +99 -0
  275. package/dist/index-ZBDWYTfn.d.cts +422 -0
  276. package/dist/json-BJ8GyrtC.d.cts +9 -0
  277. package/dist/json-BgewUW_1.cjs +19 -0
  278. package/dist/json-CTduX6Ak.mjs +12 -0
  279. package/dist/json-CqAaKeHA.d.mts +9 -0
  280. package/dist/media-upload-B6aQYeRM.cjs +59 -0
  281. package/dist/media-upload-DiRJksSU.mjs +40 -0
  282. package/dist/pagination-4pZafglS.cjs +23 -0
  283. package/dist/pagination-owwfYJS6.mjs +6 -0
  284. package/dist/{permissions.cjs → permissions/index.cjs} +6 -89
  285. package/dist/permissions/index.d.cts +2 -0
  286. package/dist/permissions/index.d.mts +2 -0
  287. package/dist/{permissions.mjs → permissions/index.mjs} +3 -86
  288. package/dist/query.schema-BOn5Kk_p.d.mts +41 -0
  289. package/dist/query.schema-CItKlb0x.d.cts +41 -0
  290. package/dist/query.schema-DHTf6rTw.cjs +95 -0
  291. package/dist/query.schema-YKoOuBnk.mjs +40 -0
  292. package/dist/regex-BnKGcdS4.mjs +55 -0
  293. package/dist/regex-Cl5goNwp.cjs +342 -0
  294. package/dist/relations-C04F46xL.mjs +41 -0
  295. package/dist/relations-CGu18hfT.cjs +90 -0
  296. package/dist/response-C-7nyNVD.d.mts +57 -0
  297. package/dist/response-c6SgLvi9.d.cts +57 -0
  298. package/dist/strapi-C0DtxJLD.mjs +9 -0
  299. package/dist/strapi-C7POOPEf.cjs +34 -0
  300. package/dist/strapi-COeswSwJ.mjs +49 -0
  301. package/dist/strapi-DmhV7ODq.cjs +72 -0
  302. package/dist/theme-Ba9vW4PA.cjs +230 -0
  303. package/dist/theme-BhQd4eMI.mjs +97 -0
  304. package/dist/{utilities.cjs → utilities/index.cjs} +9 -28
  305. package/dist/utilities/index.d.cts +24 -0
  306. package/dist/utilities/index.d.mts +24 -0
  307. package/dist/{utilities.mjs → utilities/index.mjs} +9 -25
  308. package/dist/validators-Bc9Is5Sr.cjs +222 -0
  309. package/dist/validators-P5E_3qzc.mjs +95 -0
  310. package/package.json +64 -40
  311. package/dist/constants.cjs +0 -461
  312. package/dist/constants.d.cts +0 -2
  313. package/dist/constants.d.mts +0 -2
  314. package/dist/constants.mjs +0 -353
  315. package/dist/index-CiWVYf_f.d.cts +0 -291
  316. package/dist/index-D5uEXy4J.d.mts +0 -4509
  317. package/dist/index-DOR_It7I.d.mts +0 -291
  318. package/dist/index-Df4iWapE.d.cts +0 -4509
  319. package/dist/index.cjs +0 -384
  320. package/dist/index.d.cts +0 -3
  321. package/dist/index.d.mts +0 -3
  322. package/dist/index.mjs +0 -6
  323. package/dist/permissions.d.cts +0 -2
  324. package/dist/permissions.d.mts +0 -2
  325. package/dist/schemas.cjs +0 -2326
  326. package/dist/schemas.d.cts +0 -2
  327. package/dist/schemas.d.mts +0 -2
  328. package/dist/schemas.mjs +0 -2068
  329. package/dist/types.cjs +0 -0
  330. package/dist/types.d.cts +0 -2
  331. package/dist/types.d.mts +0 -2
  332. package/dist/types.mjs +0 -1
  333. package/dist/utilities.d.cts +0 -2
  334. package/dist/utilities.d.mts +0 -2
@@ -0,0 +1,347 @@
1
+ import * as v from "valibot";
2
+
3
+ //#region src/entities/trend/constants.d.ts
4
+ declare const LIMIT_TREND_PAGINATION_DEFAULT_SIZE = 7;
5
+ declare const LIMIT_TREND_PAGINATION_MAX_SIZE = 100;
6
+ //#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
+ //#region src/entities/trend/mutation.d.ts
341
+ declare const UpdateTrendsLikes: v.ObjectSchema<{
342
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
343
+ readonly likes: v.NumberSchema<undefined>;
344
+ }, undefined>;
345
+ type UpdateTrendsLikes = v.InferOutput<typeof UpdateTrendsLikes>;
346
+ //#endregion
347
+ export { LIMIT_TREND_PAGINATION_DEFAULT_SIZE, LIMIT_TREND_PAGINATION_MAX_SIZE, TrendDocument, UpdateTrendsLikes };
@@ -0,0 +1,28 @@
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";
6
+ import * as v from "valibot";
7
+ //#region src/entities/trend/constants.ts
8
+ const LIMIT_TREND_PAGINATION_DEFAULT_SIZE = 7;
9
+ const LIMIT_TREND_PAGINATION_MAX_SIZE = 100;
10
+ //#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
+ //#region src/entities/trend/mutation.ts
23
+ const UpdateTrendsLikes = v.object({
24
+ documentId: SAssociateOneEntity,
25
+ likes: v.number()
26
+ });
27
+ //#endregion
28
+ export { LIMIT_TREND_PAGINATION_DEFAULT_SIZE, LIMIT_TREND_PAGINATION_MAX_SIZE, TrendDocument, UpdateTrendsLikes };
@@ -0,0 +1,56 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
+ const require_regex = require("../../regex-Cl5goNwp.cjs");
4
+ const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
+ let valibot = require("valibot");
6
+ valibot = require_chunk.__toESM(valibot, 1);
7
+ //#region src/entities/up-auth/mutation.ts
8
+ const SUserToken = valibot.object({ token: valibot.string() });
9
+ const SLoginUser = valibot.object({
10
+ identifier: require_validators.VStringEmail(),
11
+ password: require_validators.VStringMinMax(8, 255)
12
+ });
13
+ const SRegisterUser = valibot.object({
14
+ username: require_validators.VStringMinMaxRegex(3, 255, require_regex.REGEX_UTM_VALUE, "username must be alphanumeric"),
15
+ email: require_validators.VStringEmail(),
16
+ password: require_validators.VStringMinMax(8, 255)
17
+ });
18
+ const SForgotUserPassword = valibot.object({ email: require_validators.VStringEmail() });
19
+ const SRequestConfirmEmail = valibot.object({ email: require_validators.VStringEmail() });
20
+ const SResetUserPassword = valibot.object({
21
+ password: require_validators.VStringMinMax(8, 255),
22
+ passwordConfirmation: require_validators.VStringMinMax(8, 255),
23
+ code: valibot.string()
24
+ });
25
+ const SChangePassword = valibot.pipe(valibot.object({
26
+ currentPassword: require_validators.VStringMinMax(8, 255),
27
+ password: require_validators.VStringMinMax(8, 255),
28
+ passwordConfirmation: require_validators.VStringMinMax(8, 255)
29
+ }), valibot.forward(valibot.partialCheck([["password"], ["passwordConfirmation"]], (input) => input.password === input.passwordConfirmation, "Your new passwords do not match."), ["passwordConfirmation"]));
30
+ const SAuthRawAccessToken = valibot.object({
31
+ access_token: valibot.optional(valibot.string()),
32
+ expires_in: require_validators.VIntegerNullable(),
33
+ scope: valibot.optional(valibot.string()),
34
+ token_type: valibot.optional(valibot.string()),
35
+ id_token: valibot.optional(valibot.string())
36
+ });
37
+ const SAuthConnectProviderRedirectSearch = valibot.object({
38
+ id_token: valibot.string(),
39
+ access_token: valibot.string(),
40
+ raw: valibot.optional(SAuthRawAccessToken)
41
+ });
42
+ const SAuthConnectProviderConfirmation = valibot.object({
43
+ provider: valibot.string(),
44
+ search: SAuthConnectProviderRedirectSearch
45
+ });
46
+ //#endregion
47
+ exports.SAuthConnectProviderConfirmation = SAuthConnectProviderConfirmation;
48
+ exports.SAuthConnectProviderRedirectSearch = SAuthConnectProviderRedirectSearch;
49
+ exports.SAuthRawAccessToken = SAuthRawAccessToken;
50
+ exports.SChangePassword = SChangePassword;
51
+ exports.SForgotUserPassword = SForgotUserPassword;
52
+ exports.SLoginUser = SLoginUser;
53
+ exports.SRegisterUser = SRegisterUser;
54
+ exports.SRequestConfirmEmail = SRequestConfirmEmail;
55
+ exports.SResetUserPassword = SResetUserPassword;
56
+ exports.SUserToken = SUserToken;
@@ -0,0 +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";
2
+ export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
@@ -0,0 +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";
2
+ export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
@@ -0,0 +1,44 @@
1
+ import { s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
2
+ import { d as VStringMinMax, f as VStringMinMaxRegex, o as VStringEmail, t as VIntegerNullable } from "../../validators-P5E_3qzc.mjs";
3
+ import * as v from "valibot";
4
+ //#region src/entities/up-auth/mutation.ts
5
+ const SUserToken = v.object({ token: v.string() });
6
+ const SLoginUser = v.object({
7
+ identifier: VStringEmail(),
8
+ password: VStringMinMax(8, 255)
9
+ });
10
+ const SRegisterUser = v.object({
11
+ username: VStringMinMaxRegex(3, 255, REGEX_UTM_VALUE, "username must be alphanumeric"),
12
+ email: VStringEmail(),
13
+ password: VStringMinMax(8, 255)
14
+ });
15
+ const SForgotUserPassword = v.object({ email: VStringEmail() });
16
+ const SRequestConfirmEmail = v.object({ email: VStringEmail() });
17
+ const SResetUserPassword = v.object({
18
+ password: VStringMinMax(8, 255),
19
+ passwordConfirmation: VStringMinMax(8, 255),
20
+ code: v.string()
21
+ });
22
+ const SChangePassword = v.pipe(v.object({
23
+ currentPassword: VStringMinMax(8, 255),
24
+ password: VStringMinMax(8, 255),
25
+ passwordConfirmation: VStringMinMax(8, 255)
26
+ }), v.forward(v.partialCheck([["password"], ["passwordConfirmation"]], (input) => input.password === input.passwordConfirmation, "Your new passwords do not match."), ["passwordConfirmation"]));
27
+ const SAuthRawAccessToken = v.object({
28
+ access_token: v.optional(v.string()),
29
+ expires_in: VIntegerNullable(),
30
+ scope: v.optional(v.string()),
31
+ token_type: v.optional(v.string()),
32
+ id_token: v.optional(v.string())
33
+ });
34
+ const SAuthConnectProviderRedirectSearch = v.object({
35
+ id_token: v.string(),
36
+ access_token: v.string(),
37
+ raw: v.optional(SAuthRawAccessToken)
38
+ });
39
+ const SAuthConnectProviderConfirmation = v.object({
40
+ provider: v.string(),
41
+ search: SAuthConnectProviderRedirectSearch
42
+ });
43
+ //#endregion
44
+ export { SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken };
@@ -0,0 +1,12 @@
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;
@@ -0,0 +1,14 @@
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
14
+ export { PermissionDocument };
@@ -0,0 +1,14 @@
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
14
+ export { PermissionDocument };
@@ -0,0 +1,9 @@
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
9
+ export { PermissionDocument };
@@ -0,0 +1,28 @@
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;
@@ -0,0 +1,7 @@
1
+ import { t as RoleDocument } from "../../document-BezYxNmb.cjs";
2
+ import { t as RoleType } from "../../fields-BQHSYj70.cjs";
3
+
4
+ //#region src/entities/up-role/constants.d.ts
5
+ declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
6
+ //#endregion
7
+ export { ROLE_TYPES, RoleDocument, RoleType };
@@ -0,0 +1,7 @@
1
+ import { t as RoleDocument } from "../../document-DYzRVV1C.mjs";
2
+ import { t as RoleType } from "../../fields-qx-5saY5.mjs";
3
+
4
+ //#region src/entities/up-role/constants.d.ts
5
+ declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
6
+ //#endregion
7
+ export { ROLE_TYPES, RoleDocument, RoleType };
@@ -0,0 +1,23 @@
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
23
+ export { ROLE_TYPES, RoleDocument, RoleType };