@getcommunity/gc-validators 0.0.271-alpha.6 → 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 (282) 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-BPdwRVjm.d.cts → document-CH1Od98-.d.mts} +6 -6
  29. package/dist/{document-BMxLOdrT.d.cts → document-CnKWB70Z.d.cts} +158 -104
  30. package/dist/{document-DY8Wgy1A.d.mts → document-CpsxYzbB.d.cts} +6 -6
  31. package/dist/document-CrnqUGRk.cjs +243 -0
  32. package/dist/document-Cx4Klv8A.mjs +128 -0
  33. package/dist/document-DUHPXtbm.mjs +409 -0
  34. package/dist/{document-DnVLqNHr.cjs → document-DamlTVm7.cjs} +2 -1
  35. package/dist/{document-Cww9JKGT.mjs → document-DnA3Nwgh.mjs} +2 -1
  36. package/dist/{document-Db1-gtyJ.d.mts → document-Dr5-pbqu.d.mts} +158 -104
  37. package/dist/document-GovGVYRl.d.mts +17 -0
  38. package/dist/document-zu6-DmQT.cjs +632 -0
  39. package/dist/entities/audit-log/index.cjs +2 -2
  40. package/dist/entities/audit-log/index.d.cts +2 -2
  41. package/dist/entities/audit-log/index.d.mts +3 -3
  42. package/dist/entities/audit-log/index.mjs +1 -1
  43. package/dist/entities/blog-page/index.d.mts +1 -1
  44. package/dist/entities/blog-post/index.cjs +1 -14
  45. package/dist/entities/blog-post/index.d.cts +2 -3715
  46. package/dist/entities/blog-post/index.d.mts +2 -3715
  47. package/dist/entities/blog-post/index.mjs +2 -14
  48. package/dist/entities/careers-page/index.d.mts +1 -1
  49. package/dist/entities/category/index.cjs +4 -12
  50. package/dist/entities/category/index.d.cts +4 -977
  51. package/dist/entities/category/index.d.mts +4 -977
  52. package/dist/entities/category/index.mjs +3 -10
  53. package/dist/entities/client/index.cjs +3 -29
  54. package/dist/entities/client/index.d.cts +2 -1412
  55. package/dist/entities/client/index.d.mts +2 -1412
  56. package/dist/entities/client/index.mjs +3 -28
  57. package/dist/entities/client-content-pillar/index.cjs +9 -9
  58. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  59. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  60. package/dist/entities/client-content-pillar/index.mjs +2 -2
  61. package/dist/entities/client-media-platform/index.cjs +10 -20
  62. package/dist/entities/client-media-platform/index.d.cts +2 -535
  63. package/dist/entities/client-media-platform/index.d.mts +2 -535
  64. package/dist/entities/client-media-platform/index.mjs +3 -12
  65. package/dist/entities/client-project/index.cjs +22 -30
  66. package/dist/entities/client-project/index.d.cts +2 -476
  67. package/dist/entities/client-project/index.d.mts +2 -476
  68. package/dist/entities/client-project/index.mjs +3 -10
  69. package/dist/entities/client-report/index.cjs +7 -15
  70. package/dist/entities/client-report/index.d.cts +2 -311
  71. package/dist/entities/client-report/index.d.mts +2 -311
  72. package/dist/entities/client-report/index.mjs +3 -10
  73. package/dist/entities/client-styleguide/index.cjs +7 -15
  74. package/dist/entities/client-styleguide/index.d.cts +2 -711
  75. package/dist/entities/client-styleguide/index.d.mts +2 -711
  76. package/dist/entities/client-styleguide/index.mjs +3 -10
  77. package/dist/entities/client-user/index.cjs +17 -26
  78. package/dist/entities/client-user/index.d.cts +2 -291
  79. package/dist/entities/client-user/index.d.mts +2 -291
  80. package/dist/entities/client-user/index.mjs +3 -11
  81. package/dist/entities/comment/index.d.cts +1 -1
  82. package/dist/entities/comment/index.d.mts +1 -1
  83. package/dist/entities/content-pillar/index.cjs +5 -12
  84. package/dist/entities/content-pillar/index.d.cts +2 -335
  85. package/dist/entities/content-pillar/index.d.mts +2 -335
  86. package/dist/entities/content-pillar/index.mjs +3 -9
  87. package/dist/entities/faq-page/index.d.mts +1 -1
  88. package/dist/entities/gcflytour/index.cjs +9 -19
  89. package/dist/entities/gcflytour/index.d.cts +2 -320
  90. package/dist/entities/gcflytour/index.d.mts +2 -320
  91. package/dist/entities/gcflytour/index.mjs +3 -12
  92. package/dist/entities/gcflytour-snap/index.cjs +7 -15
  93. package/dist/entities/gcflytour-snap/index.d.cts +2 -86
  94. package/dist/entities/gcflytour-snap/index.d.mts +2 -86
  95. package/dist/entities/gcflytour-snap/index.mjs +3 -10
  96. package/dist/entities/landing-page/index.d.mts +1 -1
  97. package/dist/entities/lead/index.cjs +2 -2
  98. package/dist/entities/lead/index.mjs +1 -1
  99. package/dist/entities/media-content-type/index.cjs +10 -20
  100. package/dist/entities/media-content-type/index.d.cts +4 -280
  101. package/dist/entities/media-content-type/index.d.mts +4 -280
  102. package/dist/entities/media-content-type/index.mjs +3 -12
  103. package/dist/entities/media-creative-format/index.cjs +7 -15
  104. package/dist/entities/media-creative-format/index.d.cts +4 -42
  105. package/dist/entities/media-creative-format/index.d.mts +4 -42
  106. package/dist/entities/media-creative-format/index.mjs +3 -10
  107. package/dist/entities/media-medium/index.cjs +7 -15
  108. package/dist/entities/media-medium/index.d.cts +4 -273
  109. package/dist/entities/media-medium/index.d.mts +4 -273
  110. package/dist/entities/media-medium/index.mjs +3 -10
  111. package/dist/entities/media-platform/index.cjs +13 -25
  112. package/dist/entities/media-platform/index.d.cts +2 -361
  113. package/dist/entities/media-platform/index.d.mts +2 -361
  114. package/dist/entities/media-platform/index.mjs +3 -14
  115. package/dist/entities/monday-workspace/index.cjs +7 -15
  116. package/dist/entities/monday-workspace/index.d.cts +2 -291
  117. package/dist/entities/monday-workspace/index.d.mts +2 -291
  118. package/dist/entities/monday-workspace/index.mjs +3 -10
  119. package/dist/entities/newsletter-signup/index.cjs +2 -2
  120. package/dist/entities/newsletter-signup/index.mjs +1 -1
  121. package/dist/entities/policy-page/index.d.mts +1 -1
  122. package/dist/entities/product/index.cjs +1 -1
  123. package/dist/entities/product/index.d.cts +1 -319
  124. package/dist/entities/product/index.d.mts +1 -319
  125. package/dist/entities/product/index.mjs +1 -1
  126. package/dist/entities/product-highlight/index.cjs +2 -17
  127. package/dist/entities/product-highlight/index.d.cts +2 -1039
  128. package/dist/entities/product-highlight/index.d.mts +2 -1039
  129. package/dist/entities/product-highlight/index.mjs +2 -14
  130. package/dist/entities/resume/index.cjs +2 -2
  131. package/dist/entities/resume/index.mjs +1 -1
  132. package/dist/entities/tag/index.cjs +3 -3
  133. package/dist/entities/tag/index.d.cts +3 -14
  134. package/dist/entities/tag/index.d.mts +3 -14
  135. package/dist/entities/tag/index.mjs +2 -2
  136. package/dist/entities/team-member/index.cjs +13 -23
  137. package/dist/entities/team-member/index.d.cts +2 -1668
  138. package/dist/entities/team-member/index.d.mts +2 -1668
  139. package/dist/entities/team-member/index.mjs +2 -11
  140. package/dist/entities/team-page/index.d.mts +1 -1
  141. package/dist/entities/trend/index.cjs +3 -3
  142. package/dist/entities/trend/index.d.cts +1 -333
  143. package/dist/entities/trend/index.d.mts +1 -333
  144. package/dist/entities/trend/index.mjs +2 -2
  145. package/dist/entities/up-auth/index.d.cts +1 -1
  146. package/dist/entities/up-auth/index.d.mts +1 -1
  147. package/dist/entities/up-permission/index.cjs +1 -12
  148. package/dist/entities/up-permission/index.d.cts +2 -35
  149. package/dist/entities/up-permission/index.d.mts +2 -35
  150. package/dist/entities/up-permission/index.mjs +2 -10
  151. package/dist/entities/up-role/index.cjs +4 -17
  152. package/dist/entities/up-role/index.d.cts +2 -38
  153. package/dist/entities/up-role/index.d.mts +2 -38
  154. package/dist/entities/up-role/index.mjs +2 -12
  155. package/dist/entities/up-user/index.cjs +2 -16
  156. package/dist/entities/up-user/index.d.cts +2 -106
  157. package/dist/entities/up-user/index.d.mts +2 -106
  158. package/dist/entities/up-user/index.mjs +2 -15
  159. package/dist/entities/user-account/index.cjs +9 -16
  160. package/dist/entities/user-account/index.d.cts +3 -17
  161. package/dist/entities/user-account/index.d.mts +3 -17
  162. package/dist/entities/user-account/index.mjs +4 -10
  163. package/dist/entities/utm-link-builder/index.cjs +5 -5
  164. package/dist/entities/utm-link-builder/index.mjs +1 -1
  165. package/dist/entities/utm-tracking-link/index.cjs +7 -17
  166. package/dist/entities/utm-tracking-link/index.d.cts +2 -236
  167. package/dist/entities/utm-tracking-link/index.d.mts +2 -236
  168. package/dist/entities/utm-tracking-link/index.mjs +3 -12
  169. package/dist/index-22laZYwt.d.mts +34 -0
  170. package/dist/{index-DxyNYBOY.d.mts → index-B-CQQO_E.d.mts} +59 -140
  171. package/dist/index-BCvKbd4C.d.cts +940 -0
  172. package/dist/{index-D6AuLdB6.d.mts → index-BIWFngsB.d.mts} +3 -3
  173. package/dist/index-BQ_nheAt.d.mts +1324 -0
  174. package/dist/{index-Dcwyodut.d.cts → index-COCNx5sv.d.cts} +3 -3
  175. package/dist/index-Cb8BnFcL.d.cts +4731 -0
  176. package/dist/index-Cpbdnd9q.d.cts +317 -0
  177. package/dist/index-D0PCjo7e.d.mts +940 -0
  178. package/dist/index-DB45mxlG.d.mts +921 -0
  179. package/dist/index-Df7ixqwa.d.cts +1324 -0
  180. package/dist/index-GUYqdxFh.d.mts +4731 -0
  181. package/dist/index-NBz_zMvQ.d.cts +34 -0
  182. package/dist/index-Z_fJ28vW.d.mts +317 -0
  183. package/dist/index-_eItTyFr.d.cts +921 -0
  184. package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
  185. package/dist/media-upload-BEfESsVb.d.mts +140 -0
  186. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  187. package/dist/permissions/index.d.cts +1 -1
  188. package/dist/permissions/index.d.mts +1 -1
  189. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  190. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  191. package/dist/{query.schema-CItKlb0x.d.cts → query-Cyv28Ggi.d.cts} +1 -1
  192. package/dist/{query.schema-DKllKSKC.d.mts → query-HXwJctNd.d.mts} +1 -1
  193. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  194. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  195. package/dist/utilities/index.d.cts +2 -4
  196. package/dist/utilities/index.d.mts +2 -4
  197. package/package.json +1 -1
  198. package/dist/document-382ehFRd.mjs +0 -13
  199. package/dist/document-7JBq8iiP.d.mts +0 -100
  200. package/dist/document-8oGgjvHp.cjs +0 -21
  201. package/dist/document-B-BesdbN.cjs +0 -106
  202. package/dist/document-B0Wfxtx_.cjs +0 -31
  203. package/dist/document-B3W1HKLY.cjs +0 -42
  204. package/dist/document-B6m32jys.cjs +0 -26
  205. package/dist/document-BInCC6Wk.d.cts +0 -17
  206. package/dist/document-BM56JclD.mjs +0 -19
  207. package/dist/document-BQ6ulTO1.d.mts +0 -15
  208. package/dist/document-BRxLaO7o.mjs +0 -14
  209. package/dist/document-Bbc9ayLX.cjs +0 -23
  210. package/dist/document-BdMrLGBL.d.cts +0 -244
  211. package/dist/document-BezYxNmb.d.cts +0 -16
  212. package/dist/document-BpFw7FI0.d.mts +0 -16
  213. package/dist/document-Bpgteig6.mjs +0 -51
  214. package/dist/document-BqLA3Y8O.cjs +0 -17
  215. package/dist/document-BqfLH_0k.d.mts +0 -12183
  216. package/dist/document-Bs8c1mok.d.cts +0 -15
  217. package/dist/document-Bt9GvI0D.mjs +0 -10
  218. package/dist/document-Bu5YWCAU.cjs +0 -82
  219. package/dist/document-BumbQ1Eb.d.cts +0 -18
  220. package/dist/document-BvIcrPT7.cjs +0 -171
  221. package/dist/document-C3OB0I_l.mjs +0 -14
  222. package/dist/document-C4ofAcKx.d.mts +0 -434
  223. package/dist/document-CCcofYd9.d.mts +0 -16
  224. package/dist/document-CFlCafnR.mjs +0 -23
  225. package/dist/document-CLNQhWUt.d.cts +0 -12183
  226. package/dist/document-CUGxDcNv.mjs +0 -10
  227. package/dist/document-CW3ycXvJ.mjs +0 -23
  228. package/dist/document-CXQi4qL-.mjs +0 -39
  229. package/dist/document-CaSvsqH_.mjs +0 -16
  230. package/dist/document-CfUkGKW8.mjs +0 -9
  231. package/dist/document-Clr6FjtO.d.cts +0 -30
  232. package/dist/document-Cp8Pptp9.mjs +0 -23
  233. package/dist/document-Ct4bnsKU.d.mts +0 -27
  234. package/dist/document-CxeeO4Pl.d.mts +0 -18
  235. package/dist/document-D1jsgU3z.cjs +0 -24
  236. package/dist/document-D2sLfhsG.mjs +0 -12
  237. package/dist/document-D73dqRle.d.cts +0 -19
  238. package/dist/document-DA6YVZz-.d.cts +0 -100
  239. package/dist/document-DAt2jaAd.cjs +0 -26
  240. package/dist/document-DHP4LdYq.cjs +0 -21
  241. package/dist/document-DIcd27AR.d.mts +0 -30
  242. package/dist/document-DK6Xmvao.d.cts +0 -18
  243. package/dist/document-DL4Wayv7.d.mts +0 -244
  244. package/dist/document-DM_UVNTr.cjs +0 -35
  245. package/dist/document-DN3g0EFx.d.cts +0 -434
  246. package/dist/document-DOF-cc0D.mjs +0 -13
  247. package/dist/document-DX2Vidl1.d.cts +0 -27
  248. package/dist/document-DeOzRkxJ.mjs +0 -24
  249. package/dist/document-DgG9DIT2.cjs +0 -106
  250. package/dist/document-DtBkeafK.cjs +0 -30
  251. package/dist/document-Dv3TYeB2.cjs +0 -30
  252. package/dist/document-DwpVkKFH.cjs +0 -16
  253. package/dist/document-DwsiJVoA.mjs +0 -22
  254. package/dist/document-DwuQKbb9.cjs +0 -20
  255. package/dist/document-HWHxKIhw.mjs +0 -17
  256. package/dist/document-U0OA-83z.cjs +0 -19
  257. package/dist/document-YDFyLZlN.d.mts +0 -18
  258. package/dist/document-a6GT3Sh4.mjs +0 -19
  259. package/dist/document-ahAv6kkH.cjs +0 -17
  260. package/dist/document-bJOLxFq1.d.mts +0 -19
  261. package/dist/document-bbO2HaC_.mjs +0 -110
  262. package/dist/document-cysZuK08.mjs +0 -57
  263. package/dist/document-llX1moYE.mjs +0 -10
  264. package/dist/document-mxwQ5HxZ.cjs +0 -17
  265. package/dist/document-oPQeqMah.cjs +0 -20
  266. package/dist/document-oUROy-QQ.cjs +0 -21
  267. package/dist/document-wBWa6c70.mjs +0 -14
  268. package/dist/document-xVdETwbX.d.cts +0 -16
  269. package/dist/document-yW376Wot.d.mts +0 -17
  270. package/dist/fields-BuP0NSFS.d.mts +0 -7
  271. package/dist/fields-ByZAYnAi.d.cts +0 -7
  272. package/dist/index-DfGGyf7_.d.cts +0 -114
  273. package/dist/index-Dj9J1FKD.d.mts +0 -114
  274. package/dist/relations-CG_9IVCD.d.cts +0 -274
  275. package/dist/relations-DxgFak1L.d.mts +0 -274
  276. package/dist/response-BZKHnpHe.d.mts +0 -57
  277. package/dist/response-c6SgLvi9.d.cts +0 -57
  278. /package/dist/{document-B_wA1eag.cjs → document-Ccvtwgy_.cjs} +0 -0
  279. /package/dist/{document-BxOiI95X.mjs → document-D060zybc.mjs} +0 -0
  280. /package/dist/{document-D067FSuD.cjs → document-DaICHS9G.cjs} +0 -0
  281. /package/dist/{document-B_cRo5-b.mjs → document-c3GNPelp.mjs} +0 -0
  282. /package/dist/{json-BbJGr6x_.d.mts → json-p1Yf7cEr.d.mts} +0 -0
@@ -61,143 +61,6 @@ declare const STRAPI_LINK_REL: readonly ["alternate", "author", "bookmark", "ext
61
61
  declare const StrapiLinkRel: v.PicklistSchema<readonly ["alternate", "author", "bookmark", "external", "help", "license", "next", "nofollow", "noreferrer", "noopener", "prev", "search", "tag"], undefined>;
62
62
  type StrapiLinkRel = v.InferOutput<typeof StrapiLinkRel>;
63
63
  //#endregion
64
- //#region src/base/media-upload.d.ts
65
- declare const MediaFormat: v.ObjectSchema<{
66
- readonly ext: v.StringSchema<undefined>;
67
- readonly url: v.StringSchema<undefined>;
68
- readonly hash: v.StringSchema<undefined>;
69
- readonly mime: v.StringSchema<undefined>;
70
- readonly name: v.StringSchema<undefined>;
71
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
72
- readonly size: v.NumberSchema<undefined>;
73
- readonly width: v.NumberSchema<undefined>;
74
- readonly height: v.NumberSchema<undefined>;
75
- readonly sizeInBytes: v.NumberSchema<undefined>;
76
- }, undefined>;
77
- type MediaFormat = v.InferOutput<typeof MediaFormat>;
78
- declare const MediaFormats: v.ObjectSchema<{
79
- readonly large: v.OptionalSchema<v.ObjectSchema<{
80
- readonly ext: v.StringSchema<undefined>;
81
- readonly url: v.StringSchema<undefined>;
82
- readonly hash: v.StringSchema<undefined>;
83
- readonly mime: v.StringSchema<undefined>;
84
- readonly name: v.StringSchema<undefined>;
85
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
86
- readonly size: v.NumberSchema<undefined>;
87
- readonly width: v.NumberSchema<undefined>;
88
- readonly height: v.NumberSchema<undefined>;
89
- readonly sizeInBytes: v.NumberSchema<undefined>;
90
- }, undefined>, undefined>;
91
- readonly small: v.OptionalSchema<v.ObjectSchema<{
92
- readonly ext: v.StringSchema<undefined>;
93
- readonly url: v.StringSchema<undefined>;
94
- readonly hash: v.StringSchema<undefined>;
95
- readonly mime: v.StringSchema<undefined>;
96
- readonly name: v.StringSchema<undefined>;
97
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
98
- readonly size: v.NumberSchema<undefined>;
99
- readonly width: v.NumberSchema<undefined>;
100
- readonly height: v.NumberSchema<undefined>;
101
- readonly sizeInBytes: v.NumberSchema<undefined>;
102
- }, undefined>, undefined>;
103
- readonly medium: v.OptionalSchema<v.ObjectSchema<{
104
- readonly ext: v.StringSchema<undefined>;
105
- readonly url: v.StringSchema<undefined>;
106
- readonly hash: v.StringSchema<undefined>;
107
- readonly mime: v.StringSchema<undefined>;
108
- readonly name: v.StringSchema<undefined>;
109
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
110
- readonly size: v.NumberSchema<undefined>;
111
- readonly width: v.NumberSchema<undefined>;
112
- readonly height: v.NumberSchema<undefined>;
113
- readonly sizeInBytes: v.NumberSchema<undefined>;
114
- }, undefined>, undefined>;
115
- readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
116
- readonly ext: v.StringSchema<undefined>;
117
- readonly url: v.StringSchema<undefined>;
118
- readonly hash: v.StringSchema<undefined>;
119
- readonly mime: v.StringSchema<undefined>;
120
- readonly name: v.StringSchema<undefined>;
121
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
122
- readonly size: v.NumberSchema<undefined>;
123
- readonly width: v.NumberSchema<undefined>;
124
- readonly height: v.NumberSchema<undefined>;
125
- readonly sizeInBytes: v.NumberSchema<undefined>;
126
- }, undefined>, undefined>;
127
- }, undefined>;
128
- type MediaFormats = v.InferOutput<typeof MediaFormats>;
129
- declare const MediaUploadDocument: v.ObjectSchema<{
130
- readonly name: v.StringSchema<undefined>;
131
- readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
132
- readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
133
- readonly width: v.NumberSchema<undefined>;
134
- readonly height: v.NumberSchema<undefined>;
135
- readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
136
- readonly large: v.OptionalSchema<v.ObjectSchema<{
137
- readonly ext: v.StringSchema<undefined>;
138
- readonly url: v.StringSchema<undefined>;
139
- readonly hash: v.StringSchema<undefined>;
140
- readonly mime: v.StringSchema<undefined>;
141
- readonly name: v.StringSchema<undefined>;
142
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
143
- readonly size: v.NumberSchema<undefined>;
144
- readonly width: v.NumberSchema<undefined>;
145
- readonly height: v.NumberSchema<undefined>;
146
- readonly sizeInBytes: v.NumberSchema<undefined>;
147
- }, undefined>, undefined>;
148
- readonly small: v.OptionalSchema<v.ObjectSchema<{
149
- readonly ext: v.StringSchema<undefined>;
150
- readonly url: v.StringSchema<undefined>;
151
- readonly hash: v.StringSchema<undefined>;
152
- readonly mime: v.StringSchema<undefined>;
153
- readonly name: v.StringSchema<undefined>;
154
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
155
- readonly size: v.NumberSchema<undefined>;
156
- readonly width: v.NumberSchema<undefined>;
157
- readonly height: v.NumberSchema<undefined>;
158
- readonly sizeInBytes: v.NumberSchema<undefined>;
159
- }, undefined>, undefined>;
160
- readonly medium: v.OptionalSchema<v.ObjectSchema<{
161
- readonly ext: v.StringSchema<undefined>;
162
- readonly url: v.StringSchema<undefined>;
163
- readonly hash: v.StringSchema<undefined>;
164
- readonly mime: v.StringSchema<undefined>;
165
- readonly name: v.StringSchema<undefined>;
166
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
167
- readonly size: v.NumberSchema<undefined>;
168
- readonly width: v.NumberSchema<undefined>;
169
- readonly height: v.NumberSchema<undefined>;
170
- readonly sizeInBytes: v.NumberSchema<undefined>;
171
- }, undefined>, undefined>;
172
- readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
173
- readonly ext: v.StringSchema<undefined>;
174
- readonly url: v.StringSchema<undefined>;
175
- readonly hash: v.StringSchema<undefined>;
176
- readonly mime: v.StringSchema<undefined>;
177
- readonly name: v.StringSchema<undefined>;
178
- readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
179
- readonly size: v.NumberSchema<undefined>;
180
- readonly width: v.NumberSchema<undefined>;
181
- readonly height: v.NumberSchema<undefined>;
182
- readonly sizeInBytes: v.NumberSchema<undefined>;
183
- }, undefined>, undefined>;
184
- }, undefined>, undefined>, undefined>;
185
- readonly hash: v.StringSchema<undefined>;
186
- readonly ext: v.StringSchema<undefined>;
187
- readonly mime: v.StringSchema<undefined>;
188
- readonly size: v.NumberSchema<undefined>;
189
- readonly url: v.StringSchema<undefined>;
190
- readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
191
- readonly provider: v.StringSchema<undefined>;
192
- readonly provider_metadata: v.NullSchema<undefined>;
193
- readonly id: v.NumberSchema<undefined>;
194
- readonly documentId: v.StringSchema<undefined>;
195
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
196
- readonly createdAt: v.StringSchema<undefined>;
197
- readonly updatedAt: v.StringSchema<undefined>;
198
- }, undefined>;
199
- type MediaUploadDocument = v.InferOutput<typeof MediaUploadDocument>;
200
- //#endregion
201
64
  //#region src/base/pagination.d.ts
202
65
  declare const QueryStrapiPaginated: v.ObjectSchema<{
203
66
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
@@ -206,7 +69,7 @@ declare const QueryStrapiPaginated: v.ObjectSchema<{
206
69
  }, undefined>;
207
70
  type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
208
71
  //#endregion
209
- //#region src/base/relations.d.ts
72
+ //#region src/base/relationships.d.ts
210
73
  declare const SAssociateOneEntity: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
211
74
  type SAssociateOneEntity = v.InferOutput<typeof SAssociateOneEntity>;
212
75
  declare const SAssociateManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
@@ -291,6 +154,62 @@ declare const SSetEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.Object
291
154
  }, undefined>]>;
292
155
  type SSetEntityRelationshipRequest = v.InferOutput<typeof SSetEntityRelationshipRequest>;
293
156
  //#endregion
157
+ //#region src/base/response.d.ts
158
+ type StrapiPagination = {
159
+ page: number;
160
+ pageSize: number;
161
+ pageCount: number;
162
+ total: number;
163
+ };
164
+ type StrapiResponseMeta = {
165
+ pagination?: StrapiPagination;
166
+ token?: string;
167
+ };
168
+ type StrapiResponseMetaWithPagination = Omit<StrapiResponseMeta, "pagination"> & {
169
+ pagination: StrapiPagination;
170
+ };
171
+ type StrapiAttributeErrorKey<T> = {
172
+ message: string;
173
+ name: string;
174
+ path: string[];
175
+ value: T[keyof T];
176
+ };
177
+ type StrapiErrorDetail<T> = {
178
+ status: string | number;
179
+ name: string;
180
+ message: string;
181
+ details: Record<keyof T, string>;
182
+ };
183
+ type StrapiAttributeErrorDetail<T> = {
184
+ status: string | number;
185
+ name: string;
186
+ message: string;
187
+ details: {
188
+ errors: StrapiAttributeErrorKey<T>[];
189
+ };
190
+ };
191
+ type StrapiSingleResponse<T> = {
192
+ data: T;
193
+ meta?: StrapiResponseMeta;
194
+ error?: undefined;
195
+ };
196
+ type StrapiListResponse<T> = {
197
+ data: T[];
198
+ meta: StrapiResponseMetaWithPagination;
199
+ error?: undefined;
200
+ };
201
+ type StrapiErrorResponse<T> = {
202
+ error: StrapiErrorDetail<T>;
203
+ data: null;
204
+ meta?: undefined;
205
+ };
206
+ type StrapiAttributeErrorResponse<T> = {
207
+ error: StrapiAttributeErrorDetail<T>;
208
+ data: null;
209
+ meta?: undefined;
210
+ };
211
+ type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
212
+ //#endregion
294
213
  //#region src/base/sort.d.ts
295
214
  declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
296
215
  declare const QuerySortEntities: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
@@ -419,4 +338,4 @@ declare const VPage: () => v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberS
419
338
  */
420
339
  declare const VSize: (maxSize: number) => v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
421
340
  //#endregion
422
- export { MediaFormat as $, StrapiBgColorOptions as A, ValidStrapiSingleEntity as B, STRAPI_DIRECTION as C, STRAPI_LINK_TYPE as D, STRAPI_ICON_POSITION as E, StrapiLinkType as F, SAssociateEntityPositionDocumentRequest as G, ENTITY_SORT_KEYS as H, StrapiTextColorOptions as I, SAssociateOneEntity as J, SAssociateEntityRelationshipRequest as K, StrapiThemeOptions as L, StrapiGapSizes as M, StrapiIconName as N, STRAPI_TEXT_COLOR_OPTIONS as O, StrapiIconPosition as P, QueryStrapiPaginated as Q, ContentStatus as R, STRAPI_BG_COLOR_OPTIONS as S, BaseComponentId as St, STRAPI_ICON_NAME as T, QuerySortEntities as U, ValidStrapiSpecialEntity as V, SAssociateEntityPosition as W, SQueryManyEntities as X, SEntityPosition as Y, SSetEntityRelationshipRequest as Z, VStringSlug as _, WebSafeFontMono as _t, VString as a, StrapiLinkReferrerPolicy as at, VStringUrlNullable as b, BaseDocument as bt, VStringLongNullable as c, FormSelectInputOption as ct, VStringMinMax as d, WEBSAFE_FONT_DISPLAY as dt, MediaFormats as et, VStringMinMaxRegex as f, WEBSAFE_FONT_MONO as ft, VStringShortNullable as g, WebSafeFontDisplay as gt, VStringShort as h, WebSafeFont as ht, VSize as i, STRAPI_LINK_TARGET as it, StrapiDirection as j, STRAPI_THEME_OPTIONS as k, VStringMax as l, FONT_HEADER_SIZE as lt, VStringPhoneNullable as m, WEBSAFE_FONT_SERIF as mt, VNumberNullable as n, STRAPI_LINK_REFERRER_POLICY as nt, VStringEmail as o, StrapiLinkRel as ot, VStringPhone as p, WEBSAFE_FONT_SANS as pt, SAssociateManyEntities as q, VPage as r, STRAPI_LINK_REL as rt, VStringLong as s, StrapiLinkTarget as st, VIntegerNullable as t, MediaUploadDocument as tt, VStringMaxRegex as u, FontHeaderSize as ut, VStringUrl as v, WebSafeFontSans as vt, STRAPI_GAP_SIZES as w, VStringUrlUtm as x, BaseComponent as xt, VStringUrlNoUtm as y, WebSafeFontSerif as yt, ValidStrapiCollectionEntity as z };
341
+ export { StrapiResponseMetaWithPagination as $, StrapiBgColorOptions as A, BaseComponentId as At, ValidStrapiSingleEntity as B, STRAPI_DIRECTION as C, WebSafeFont as Ct, STRAPI_LINK_TYPE as D, WebSafeFontSerif as Dt, STRAPI_ICON_POSITION as E, WebSafeFontSans as Et, StrapiLinkType as F, StrapiAttributeErrorKey as G, ENTITY_SORT_KEYS as H, StrapiTextColorOptions as I, StrapiErrorResponse as J, StrapiAttributeErrorResponse as K, StrapiThemeOptions as L, StrapiGapSizes as M, StrapiIconName as N, STRAPI_TEXT_COLOR_OPTIONS as O, BaseDocument as Ot, StrapiIconPosition as P, StrapiResponseMeta as Q, ContentStatus as R, STRAPI_BG_COLOR_OPTIONS as S, WEBSAFE_FONT_SERIF as St, STRAPI_ICON_NAME as T, WebSafeFontMono as Tt, QuerySortEntities as U, ValidStrapiSpecialEntity as V, StrapiAttributeErrorDetail as W, StrapiListResponse as X, StrapiErrorResult as Y, StrapiPagination as Z, VStringSlug as _, FONT_HEADER_SIZE as _t, VString as a, SAssociateOneEntity as at, VStringUrlNullable as b, WEBSAFE_FONT_MONO as bt, VStringLongNullable as c, SSetEntityRelationshipRequest as ct, VStringMinMax as d, STRAPI_LINK_REL as dt, StrapiSingleResponse as et, VStringMinMaxRegex as f, STRAPI_LINK_TARGET as ft, VStringShortNullable as g, FormSelectInputOption as gt, VStringShort as h, StrapiLinkTarget as ht, VSize as i, SAssociateManyEntities as it, StrapiDirection as j, STRAPI_THEME_OPTIONS as k, BaseComponent as kt, VStringMax as l, QueryStrapiPaginated as lt, VStringPhoneNullable as m, StrapiLinkRel as mt, VNumberNullable as n, SAssociateEntityPositionDocumentRequest as nt, VStringEmail as o, SEntityPosition as ot, VStringPhone as p, StrapiLinkReferrerPolicy as pt, StrapiErrorDetail as q, VPage as r, SAssociateEntityRelationshipRequest as rt, VStringLong as s, SQueryManyEntities as st, VIntegerNullable as t, SAssociateEntityPosition as tt, VStringMaxRegex as u, STRAPI_LINK_REFERRER_POLICY as ut, VStringUrl as v, FontHeaderSize as vt, STRAPI_GAP_SIZES as w, WebSafeFontDisplay as wt, VStringUrlUtm as x, WEBSAFE_FONT_SANS as xt, VStringUrlNoUtm as y, WEBSAFE_FONT_DISPLAY as yt, ValidStrapiCollectionEntity as z };
@@ -0,0 +1,140 @@
1
+ import * as v from "valibot";
2
+
3
+ //#region src/base/media-upload.d.ts
4
+ declare const MediaFormat: v.ObjectSchema<{
5
+ readonly ext: v.StringSchema<undefined>;
6
+ readonly url: v.StringSchema<undefined>;
7
+ readonly hash: v.StringSchema<undefined>;
8
+ readonly mime: v.StringSchema<undefined>;
9
+ readonly name: v.StringSchema<undefined>;
10
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
11
+ readonly size: v.NumberSchema<undefined>;
12
+ readonly width: v.NumberSchema<undefined>;
13
+ readonly height: v.NumberSchema<undefined>;
14
+ readonly sizeInBytes: v.NumberSchema<undefined>;
15
+ }, undefined>;
16
+ type MediaFormat = v.InferOutput<typeof MediaFormat>;
17
+ declare const MediaFormats: v.ObjectSchema<{
18
+ readonly large: v.OptionalSchema<v.ObjectSchema<{
19
+ readonly ext: v.StringSchema<undefined>;
20
+ readonly url: v.StringSchema<undefined>;
21
+ readonly hash: v.StringSchema<undefined>;
22
+ readonly mime: v.StringSchema<undefined>;
23
+ readonly name: v.StringSchema<undefined>;
24
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
25
+ readonly size: v.NumberSchema<undefined>;
26
+ readonly width: v.NumberSchema<undefined>;
27
+ readonly height: v.NumberSchema<undefined>;
28
+ readonly sizeInBytes: v.NumberSchema<undefined>;
29
+ }, undefined>, undefined>;
30
+ readonly small: v.OptionalSchema<v.ObjectSchema<{
31
+ readonly ext: v.StringSchema<undefined>;
32
+ readonly url: v.StringSchema<undefined>;
33
+ readonly hash: v.StringSchema<undefined>;
34
+ readonly mime: v.StringSchema<undefined>;
35
+ readonly name: v.StringSchema<undefined>;
36
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
37
+ readonly size: v.NumberSchema<undefined>;
38
+ readonly width: v.NumberSchema<undefined>;
39
+ readonly height: v.NumberSchema<undefined>;
40
+ readonly sizeInBytes: v.NumberSchema<undefined>;
41
+ }, undefined>, undefined>;
42
+ readonly medium: v.OptionalSchema<v.ObjectSchema<{
43
+ readonly ext: v.StringSchema<undefined>;
44
+ readonly url: v.StringSchema<undefined>;
45
+ readonly hash: v.StringSchema<undefined>;
46
+ readonly mime: v.StringSchema<undefined>;
47
+ readonly name: v.StringSchema<undefined>;
48
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
49
+ readonly size: v.NumberSchema<undefined>;
50
+ readonly width: v.NumberSchema<undefined>;
51
+ readonly height: v.NumberSchema<undefined>;
52
+ readonly sizeInBytes: v.NumberSchema<undefined>;
53
+ }, undefined>, undefined>;
54
+ readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
55
+ readonly ext: v.StringSchema<undefined>;
56
+ readonly url: v.StringSchema<undefined>;
57
+ readonly hash: v.StringSchema<undefined>;
58
+ readonly mime: v.StringSchema<undefined>;
59
+ readonly name: v.StringSchema<undefined>;
60
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
61
+ readonly size: v.NumberSchema<undefined>;
62
+ readonly width: v.NumberSchema<undefined>;
63
+ readonly height: v.NumberSchema<undefined>;
64
+ readonly sizeInBytes: v.NumberSchema<undefined>;
65
+ }, undefined>, undefined>;
66
+ }, undefined>;
67
+ type MediaFormats = v.InferOutput<typeof MediaFormats>;
68
+ declare const MediaUploadDocument: v.ObjectSchema<{
69
+ readonly name: v.StringSchema<undefined>;
70
+ readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
71
+ readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
72
+ readonly width: v.NumberSchema<undefined>;
73
+ readonly height: v.NumberSchema<undefined>;
74
+ readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
75
+ readonly large: v.OptionalSchema<v.ObjectSchema<{
76
+ readonly ext: v.StringSchema<undefined>;
77
+ readonly url: v.StringSchema<undefined>;
78
+ readonly hash: v.StringSchema<undefined>;
79
+ readonly mime: v.StringSchema<undefined>;
80
+ readonly name: v.StringSchema<undefined>;
81
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
82
+ readonly size: v.NumberSchema<undefined>;
83
+ readonly width: v.NumberSchema<undefined>;
84
+ readonly height: v.NumberSchema<undefined>;
85
+ readonly sizeInBytes: v.NumberSchema<undefined>;
86
+ }, undefined>, undefined>;
87
+ readonly small: v.OptionalSchema<v.ObjectSchema<{
88
+ readonly ext: v.StringSchema<undefined>;
89
+ readonly url: v.StringSchema<undefined>;
90
+ readonly hash: v.StringSchema<undefined>;
91
+ readonly mime: v.StringSchema<undefined>;
92
+ readonly name: v.StringSchema<undefined>;
93
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
94
+ readonly size: v.NumberSchema<undefined>;
95
+ readonly width: v.NumberSchema<undefined>;
96
+ readonly height: v.NumberSchema<undefined>;
97
+ readonly sizeInBytes: v.NumberSchema<undefined>;
98
+ }, undefined>, undefined>;
99
+ readonly medium: v.OptionalSchema<v.ObjectSchema<{
100
+ readonly ext: v.StringSchema<undefined>;
101
+ readonly url: v.StringSchema<undefined>;
102
+ readonly hash: v.StringSchema<undefined>;
103
+ readonly mime: v.StringSchema<undefined>;
104
+ readonly name: v.StringSchema<undefined>;
105
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
106
+ readonly size: v.NumberSchema<undefined>;
107
+ readonly width: v.NumberSchema<undefined>;
108
+ readonly height: v.NumberSchema<undefined>;
109
+ readonly sizeInBytes: v.NumberSchema<undefined>;
110
+ }, undefined>, undefined>;
111
+ readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
112
+ readonly ext: v.StringSchema<undefined>;
113
+ readonly url: v.StringSchema<undefined>;
114
+ readonly hash: v.StringSchema<undefined>;
115
+ readonly mime: v.StringSchema<undefined>;
116
+ readonly name: v.StringSchema<undefined>;
117
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
118
+ readonly size: v.NumberSchema<undefined>;
119
+ readonly width: v.NumberSchema<undefined>;
120
+ readonly height: v.NumberSchema<undefined>;
121
+ readonly sizeInBytes: v.NumberSchema<undefined>;
122
+ }, undefined>, undefined>;
123
+ }, undefined>, undefined>, undefined>;
124
+ readonly hash: v.StringSchema<undefined>;
125
+ readonly ext: v.StringSchema<undefined>;
126
+ readonly mime: v.StringSchema<undefined>;
127
+ readonly size: v.NumberSchema<undefined>;
128
+ readonly url: v.StringSchema<undefined>;
129
+ readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
130
+ readonly provider: v.StringSchema<undefined>;
131
+ readonly provider_metadata: v.NullSchema<undefined>;
132
+ readonly id: v.NumberSchema<undefined>;
133
+ readonly documentId: v.StringSchema<undefined>;
134
+ readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
135
+ readonly createdAt: v.StringSchema<undefined>;
136
+ readonly updatedAt: v.StringSchema<undefined>;
137
+ }, undefined>;
138
+ type MediaUploadDocument = v.InferOutput<typeof MediaUploadDocument>;
139
+ //#endregion
140
+ export { MediaFormats as n, MediaUploadDocument as r, MediaFormat as t };
@@ -0,0 +1,140 @@
1
+ import * as v from "valibot";
2
+
3
+ //#region src/base/media-upload.d.ts
4
+ declare const MediaFormat: v.ObjectSchema<{
5
+ readonly ext: v.StringSchema<undefined>;
6
+ readonly url: v.StringSchema<undefined>;
7
+ readonly hash: v.StringSchema<undefined>;
8
+ readonly mime: v.StringSchema<undefined>;
9
+ readonly name: v.StringSchema<undefined>;
10
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
11
+ readonly size: v.NumberSchema<undefined>;
12
+ readonly width: v.NumberSchema<undefined>;
13
+ readonly height: v.NumberSchema<undefined>;
14
+ readonly sizeInBytes: v.NumberSchema<undefined>;
15
+ }, undefined>;
16
+ type MediaFormat = v.InferOutput<typeof MediaFormat>;
17
+ declare const MediaFormats: v.ObjectSchema<{
18
+ readonly large: v.OptionalSchema<v.ObjectSchema<{
19
+ readonly ext: v.StringSchema<undefined>;
20
+ readonly url: v.StringSchema<undefined>;
21
+ readonly hash: v.StringSchema<undefined>;
22
+ readonly mime: v.StringSchema<undefined>;
23
+ readonly name: v.StringSchema<undefined>;
24
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
25
+ readonly size: v.NumberSchema<undefined>;
26
+ readonly width: v.NumberSchema<undefined>;
27
+ readonly height: v.NumberSchema<undefined>;
28
+ readonly sizeInBytes: v.NumberSchema<undefined>;
29
+ }, undefined>, undefined>;
30
+ readonly small: v.OptionalSchema<v.ObjectSchema<{
31
+ readonly ext: v.StringSchema<undefined>;
32
+ readonly url: v.StringSchema<undefined>;
33
+ readonly hash: v.StringSchema<undefined>;
34
+ readonly mime: v.StringSchema<undefined>;
35
+ readonly name: v.StringSchema<undefined>;
36
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
37
+ readonly size: v.NumberSchema<undefined>;
38
+ readonly width: v.NumberSchema<undefined>;
39
+ readonly height: v.NumberSchema<undefined>;
40
+ readonly sizeInBytes: v.NumberSchema<undefined>;
41
+ }, undefined>, undefined>;
42
+ readonly medium: v.OptionalSchema<v.ObjectSchema<{
43
+ readonly ext: v.StringSchema<undefined>;
44
+ readonly url: v.StringSchema<undefined>;
45
+ readonly hash: v.StringSchema<undefined>;
46
+ readonly mime: v.StringSchema<undefined>;
47
+ readonly name: v.StringSchema<undefined>;
48
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
49
+ readonly size: v.NumberSchema<undefined>;
50
+ readonly width: v.NumberSchema<undefined>;
51
+ readonly height: v.NumberSchema<undefined>;
52
+ readonly sizeInBytes: v.NumberSchema<undefined>;
53
+ }, undefined>, undefined>;
54
+ readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
55
+ readonly ext: v.StringSchema<undefined>;
56
+ readonly url: v.StringSchema<undefined>;
57
+ readonly hash: v.StringSchema<undefined>;
58
+ readonly mime: v.StringSchema<undefined>;
59
+ readonly name: v.StringSchema<undefined>;
60
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
61
+ readonly size: v.NumberSchema<undefined>;
62
+ readonly width: v.NumberSchema<undefined>;
63
+ readonly height: v.NumberSchema<undefined>;
64
+ readonly sizeInBytes: v.NumberSchema<undefined>;
65
+ }, undefined>, undefined>;
66
+ }, undefined>;
67
+ type MediaFormats = v.InferOutput<typeof MediaFormats>;
68
+ declare const MediaUploadDocument: v.ObjectSchema<{
69
+ readonly name: v.StringSchema<undefined>;
70
+ readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
71
+ readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
72
+ readonly width: v.NumberSchema<undefined>;
73
+ readonly height: v.NumberSchema<undefined>;
74
+ readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
75
+ readonly large: v.OptionalSchema<v.ObjectSchema<{
76
+ readonly ext: v.StringSchema<undefined>;
77
+ readonly url: v.StringSchema<undefined>;
78
+ readonly hash: v.StringSchema<undefined>;
79
+ readonly mime: v.StringSchema<undefined>;
80
+ readonly name: v.StringSchema<undefined>;
81
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
82
+ readonly size: v.NumberSchema<undefined>;
83
+ readonly width: v.NumberSchema<undefined>;
84
+ readonly height: v.NumberSchema<undefined>;
85
+ readonly sizeInBytes: v.NumberSchema<undefined>;
86
+ }, undefined>, undefined>;
87
+ readonly small: v.OptionalSchema<v.ObjectSchema<{
88
+ readonly ext: v.StringSchema<undefined>;
89
+ readonly url: v.StringSchema<undefined>;
90
+ readonly hash: v.StringSchema<undefined>;
91
+ readonly mime: v.StringSchema<undefined>;
92
+ readonly name: v.StringSchema<undefined>;
93
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
94
+ readonly size: v.NumberSchema<undefined>;
95
+ readonly width: v.NumberSchema<undefined>;
96
+ readonly height: v.NumberSchema<undefined>;
97
+ readonly sizeInBytes: v.NumberSchema<undefined>;
98
+ }, undefined>, undefined>;
99
+ readonly medium: v.OptionalSchema<v.ObjectSchema<{
100
+ readonly ext: v.StringSchema<undefined>;
101
+ readonly url: v.StringSchema<undefined>;
102
+ readonly hash: v.StringSchema<undefined>;
103
+ readonly mime: v.StringSchema<undefined>;
104
+ readonly name: v.StringSchema<undefined>;
105
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
106
+ readonly size: v.NumberSchema<undefined>;
107
+ readonly width: v.NumberSchema<undefined>;
108
+ readonly height: v.NumberSchema<undefined>;
109
+ readonly sizeInBytes: v.NumberSchema<undefined>;
110
+ }, undefined>, undefined>;
111
+ readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
112
+ readonly ext: v.StringSchema<undefined>;
113
+ readonly url: v.StringSchema<undefined>;
114
+ readonly hash: v.StringSchema<undefined>;
115
+ readonly mime: v.StringSchema<undefined>;
116
+ readonly name: v.StringSchema<undefined>;
117
+ readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
118
+ readonly size: v.NumberSchema<undefined>;
119
+ readonly width: v.NumberSchema<undefined>;
120
+ readonly height: v.NumberSchema<undefined>;
121
+ readonly sizeInBytes: v.NumberSchema<undefined>;
122
+ }, undefined>, undefined>;
123
+ }, undefined>, undefined>, undefined>;
124
+ readonly hash: v.StringSchema<undefined>;
125
+ readonly ext: v.StringSchema<undefined>;
126
+ readonly mime: v.StringSchema<undefined>;
127
+ readonly size: v.NumberSchema<undefined>;
128
+ readonly url: v.StringSchema<undefined>;
129
+ readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
130
+ readonly provider: v.StringSchema<undefined>;
131
+ readonly provider_metadata: v.NullSchema<undefined>;
132
+ readonly id: v.NumberSchema<undefined>;
133
+ readonly documentId: v.StringSchema<undefined>;
134
+ readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
135
+ readonly createdAt: v.StringSchema<undefined>;
136
+ readonly updatedAt: v.StringSchema<undefined>;
137
+ }, undefined>;
138
+ type MediaUploadDocument = v.InferOutput<typeof MediaUploadDocument>;
139
+ //#endregion
140
+ export { MediaFormats as n, MediaUploadDocument as r, MediaFormat as t };
@@ -1,2 +1,2 @@
1
- import { a as RolesWithPermissions, c as CLIENT_ENTITY_KEYS, d as ClientEntityActions, f as ClientEntityKey, i as Permissions, l as CLIENT_ENTITY_PERMISSIONS, p as ClientEntityScope, r as LCRUDActions, s as ROLE_PERMISSIONS, u as CLIENT_ENTITY_SCOPES } from "../document-CLNQhWUt.cjs";
1
+ import { Dn as ClientEntityActions, En as CLIENT_ENTITY_SCOPES, On as ClientEntityKey, Tn as CLIENT_ENTITY_PERMISSIONS, d as Permissions, f as RolesWithPermissions, kn as ClientEntityScope, p as ROLE_PERMISSIONS, u as LCRUDActions, wn as CLIENT_ENTITY_KEYS } from "../index-Cb8BnFcL.cjs";
2
2
  export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, ROLE_PERMISSIONS, RolesWithPermissions };
@@ -1,2 +1,2 @@
1
- import { a as RolesWithPermissions, c as CLIENT_ENTITY_KEYS, d as ClientEntityActions, f as ClientEntityKey, i as Permissions, l as CLIENT_ENTITY_PERMISSIONS, p as ClientEntityScope, r as LCRUDActions, s as ROLE_PERMISSIONS, u as CLIENT_ENTITY_SCOPES } from "../document-BqfLH_0k.mjs";
1
+ import { Dn as ClientEntityActions, En as CLIENT_ENTITY_SCOPES, On as ClientEntityKey, Tn as CLIENT_ENTITY_PERMISSIONS, d as Permissions, f as RolesWithPermissions, kn as ClientEntityScope, p as ROLE_PERMISSIONS, u as LCRUDActions, wn as CLIENT_ENTITY_KEYS } from "../index-GUYqdxFh.mjs";
2
2
  export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, ROLE_PERMISSIONS, RolesWithPermissions };
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require("./chunk-CKQMccvm.cjs");
2
2
  const require_pagination = require("./pagination-4pZafglS.cjs");
3
3
  const require_validators = require("./validators-Bc9Is5Sr.cjs");
4
- const require_relations = require("./relations-CGu18hfT.cjs");
4
+ const require_relationships = require("./relationships-CWVJebkQ.cjs");
5
5
  let valibot = require("valibot");
6
6
  valibot = require_chunk.__toESM(valibot, 1);
7
7
  //#region src/base/sort.ts
@@ -19,9 +19,9 @@ const QueryStrapiPaginated = valibot.object({
19
19
  sort: QuerySortEntities
20
20
  });
21
21
  //#endregion
22
- //#region src/base/query.schema.ts
22
+ //#region src/base/query.ts
23
23
  const QueryStrapiById = valibot.object({ id: valibot.number() });
24
- const QueryStrapiByDocumentId = valibot.object({ documentId: require_relations.SAssociateOneEntity });
24
+ const QueryStrapiByDocumentId = valibot.object({ documentId: require_relationships.SAssociateOneEntity });
25
25
  const QueryStrapiBySlug = valibot.object({
26
26
  slug: require_validators.VStringShort(),
27
27
  ...QueryStrapiPaginated.entries
@@ -1,6 +1,6 @@
1
1
  import { n as LIMIT_PAGINATION_MAX_SIZE } from "./pagination-owwfYJS6.mjs";
2
2
  import { h as VStringShort, i as VSize, o as VStringEmail, p as VStringPhone, r as VPage } from "./validators-P5E_3qzc.mjs";
3
- import { a as SAssociateOneEntity } from "./relations-C04F46xL.mjs";
3
+ import { a as SAssociateOneEntity } from "./relationships-BosK0kyG.mjs";
4
4
  import * as v from "valibot";
5
5
  //#region src/base/sort.ts
6
6
  const ENTITY_SORT_KEYS = [
@@ -17,7 +17,7 @@ const QueryStrapiPaginated = v.object({
17
17
  sort: QuerySortEntities
18
18
  });
19
19
  //#endregion
20
- //#region src/base/query.schema.ts
20
+ //#region src/base/query.ts
21
21
  const QueryStrapiById = v.object({ id: v.number() });
22
22
  const QueryStrapiByDocumentId = v.object({ documentId: SAssociateOneEntity });
23
23
  const QueryStrapiBySlug = v.object({
@@ -1,6 +1,6 @@
1
1
  import * as v from "valibot";
2
2
 
3
- //#region src/base/query.schema.d.ts
3
+ //#region src/base/query.d.ts
4
4
  declare const QueryStrapiById: v.ObjectSchema<{
5
5
  readonly id: v.NumberSchema<undefined>;
6
6
  }, undefined>;
@@ -1,6 +1,6 @@
1
1
  import * as v from "valibot";
2
2
 
3
- //#region src/base/query.schema.d.ts
3
+ //#region src/base/query.d.ts
4
4
  declare const QueryStrapiById: v.ObjectSchema<{
5
5
  readonly id: v.NumberSchema<undefined>;
6
6
  }, undefined>;
@@ -2,7 +2,7 @@ import "./regex-BnKGcdS4.mjs";
2
2
  import { d as VStringMinMax, h as VStringShort } from "./validators-P5E_3qzc.mjs";
3
3
  import { n as ValidStrapiCollectionEntity } from "./strapi-C0DtxJLD.mjs";
4
4
  import * as v from "valibot";
5
- //#region src/base/relations.ts
5
+ //#region src/base/relationships.ts
6
6
  const SAssociateOneEntity = VStringMinMax(1, 255);
7
7
  const SAssociateManyEntities = v.pipe(v.array(SAssociateOneEntity), v.maxLength(100));
8
8
  const SQueryManyEntities = v.pipe(v.array(VStringMinMax(1, 255)));
@@ -4,7 +4,7 @@ const require_validators = require("./validators-Bc9Is5Sr.cjs");
4
4
  const require_strapi = require("./strapi-C7POOPEf.cjs");
5
5
  let valibot = require("valibot");
6
6
  valibot = require_chunk.__toESM(valibot, 1);
7
- //#region src/base/relations.ts
7
+ //#region src/base/relationships.ts
8
8
  const SAssociateOneEntity = require_validators.VStringMinMax(1, 255);
9
9
  const SAssociateManyEntities = valibot.pipe(valibot.array(SAssociateOneEntity), valibot.maxLength(100));
10
10
  const SQueryManyEntities = valibot.pipe(valibot.array(require_validators.VStringMinMax(1, 255)));
@@ -1,7 +1,5 @@
1
- import { a as StrapiErrorResponse, r as StrapiAttributeErrorResponse } from "../response-c6SgLvi9.cjs";
2
- import { t as AuthorizedUserDocument } from "../index-DfGGyf7_.cjs";
3
- import { i as Permissions, n as ClientUserDocumentStatus } from "../document-CLNQhWUt.cjs";
4
- import { t as RoleType } from "../fields-ByZAYnAi.cjs";
1
+ import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-j2pTtcNX.cjs";
2
+ import { In as RoleType, Nn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-Cb8BnFcL.cjs";
5
3
  import * as v from "valibot";
6
4
 
7
5
  //#region src/utilities/permissions.d.ts
@@ -1,7 +1,5 @@
1
- import { a as StrapiErrorResponse, r as StrapiAttributeErrorResponse } from "../response-BZKHnpHe.mjs";
2
- import { t as AuthorizedUserDocument } from "../index-Dj9J1FKD.mjs";
3
- import { i as Permissions, n as ClientUserDocumentStatus } from "../document-BqfLH_0k.mjs";
4
- import { t as RoleType } from "../fields-BuP0NSFS.mjs";
1
+ import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-B-CQQO_E.mjs";
2
+ import { In as RoleType, Nn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-GUYqdxFh.mjs";
5
3
  import * as v from "valibot";
6
4
 
7
5
  //#region src/utilities/permissions.d.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getcommunity/gc-validators",
3
3
  "description": "Schema Validator for GetCommunity web-stack types",
4
- "version": "0.0.271-alpha.6",
4
+ "version": "0.0.271-alpha.7",
5
5
  "author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
6
6
  "contributors": [],
7
7
  "type": "module",
@@ -1,13 +0,0 @@
1
- import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
2
- import * as v from "valibot";
3
- //#region src/entities/gcflytour-snap/document.ts
4
- const GCFlyTourSnapDocument = v.object({
5
- ...BaseDocument.entries,
6
- title: v.string(),
7
- slug: v.string(),
8
- description: v.nullable(v.string()),
9
- is_active: v.boolean(),
10
- is_hidden: v.boolean()
11
- });
12
- //#endregion
13
- export { GCFlyTourSnapDocument as t };