@getcommunity/gc-validators 0.0.271-alpha.25 → 0.0.271-alpha.27

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 (278) hide show
  1. package/dist/base/index.cjs +9 -27
  2. package/dist/base/index.d.cts +2 -2
  3. package/dist/base/index.d.mts +4 -4
  4. package/dist/base/index.mjs +5 -5
  5. package/dist/components/blocks/index.cjs +5 -4
  6. package/dist/components/blocks/index.d.cts +1 -1
  7. package/dist/components/blocks/index.d.mts +1 -1
  8. package/dist/components/blocks/index.mjs +5 -4
  9. package/dist/components/brand/index.cjs +3 -2
  10. package/dist/components/brand/index.d.cts +1 -1
  11. package/dist/components/brand/index.d.mts +1 -1
  12. package/dist/components/brand/index.mjs +3 -2
  13. package/dist/components/forms/index.cjs +2 -1
  14. package/dist/components/forms/index.d.cts +280 -280
  15. package/dist/components/forms/index.d.mts +280 -280
  16. package/dist/components/forms/index.mjs +2 -1
  17. package/dist/components/shared/index.cjs +5 -4
  18. package/dist/components/shared/index.d.cts +1 -1
  19. package/dist/components/shared/index.d.mts +1 -1
  20. package/dist/components/shared/index.mjs +5 -4
  21. package/dist/components/slideshow/index.d.cts +280 -280
  22. package/dist/components/slideshow/index.d.mts +280 -280
  23. package/dist/components/utm/index.d.mts +1 -1
  24. package/dist/constants/index.cjs +45 -43
  25. package/dist/constants/index.mjs +4 -2
  26. package/dist/{document-TlMeVEGy.d.cts → document-3h6g5Qqr.d.cts} +1 -1
  27. package/dist/{document-DjM6F56Q.cjs → document-AqtoEbX8.cjs} +19 -24
  28. package/dist/{document-aEa-gTmH.mjs → document-BCbxKqGE.mjs} +20 -19
  29. package/dist/{document-kvIqz0p6.mjs → document-BWso8VC7.mjs} +62 -56
  30. package/dist/{document-CwIvc2p7.cjs → document-DJJFS5o8.cjs} +2 -1
  31. package/dist/{document-CDavjuJ-.mjs → document-DRyRy2Mw.mjs} +2 -1
  32. package/dist/{document-CAkRm1Y_.d.mts → document-DqE9ISOk.d.mts} +2 -2
  33. package/dist/{document-DOVZwQRq.cjs → document-DwkycUz9.cjs} +74 -62
  34. package/dist/email-ByTEdUjg.cjs +13 -0
  35. package/dist/email-Cnyi5Neo.mjs +6 -0
  36. package/dist/entities/audit-log/index.cjs +44 -41
  37. package/dist/entities/audit-log/index.d.cts +3 -2
  38. package/dist/entities/audit-log/index.d.mts +4 -3
  39. package/dist/entities/audit-log/index.mjs +6 -3
  40. package/dist/entities/blog-page/index.d.cts +1 -1
  41. package/dist/entities/blog-page/index.d.mts +1 -1
  42. package/dist/entities/blog-post/index.cjs +10 -9
  43. package/dist/entities/blog-post/index.d.cts +1 -1
  44. package/dist/entities/blog-post/index.d.mts +1 -1
  45. package/dist/entities/blog-post/index.mjs +4 -3
  46. package/dist/entities/careers-page/index.d.cts +1 -1
  47. package/dist/entities/careers-page/index.d.mts +1 -1
  48. package/dist/entities/category/index.cjs +15 -13
  49. package/dist/entities/category/index.d.cts +7 -6
  50. package/dist/entities/category/index.d.mts +7 -6
  51. package/dist/entities/category/index.mjs +11 -9
  52. package/dist/entities/client/index.cjs +23 -22
  53. package/dist/entities/client/index.d.cts +1 -1
  54. package/dist/entities/client/index.d.mts +1 -1
  55. package/dist/entities/client/index.mjs +16 -15
  56. package/dist/entities/client-content-pillar/index.cjs +14 -13
  57. package/dist/entities/client-content-pillar/index.d.cts +1 -1
  58. package/dist/entities/client-content-pillar/index.d.mts +1 -1
  59. package/dist/entities/client-content-pillar/index.mjs +12 -11
  60. package/dist/entities/client-media-platform/index.cjs +18 -16
  61. package/dist/entities/client-media-platform/index.d.cts +1 -1
  62. package/dist/entities/client-media-platform/index.d.mts +1 -1
  63. package/dist/entities/client-media-platform/index.mjs +13 -11
  64. package/dist/entities/client-project/index.cjs +47 -41
  65. package/dist/entities/client-project/index.d.cts +1 -1
  66. package/dist/entities/client-project/index.d.mts +1 -1
  67. package/dist/entities/client-project/index.mjs +11 -5
  68. package/dist/entities/client-report/index.cjs +18 -16
  69. package/dist/entities/client-report/index.d.cts +1 -1
  70. package/dist/entities/client-report/index.d.mts +1 -1
  71. package/dist/entities/client-report/index.mjs +14 -12
  72. package/dist/entities/client-styleguide/index.cjs +14 -13
  73. package/dist/entities/client-styleguide/index.d.cts +1 -1
  74. package/dist/entities/client-styleguide/index.d.mts +1 -1
  75. package/dist/entities/client-styleguide/index.mjs +11 -10
  76. package/dist/entities/client-user/index.cjs +7 -7
  77. package/dist/entities/client-user/index.d.cts +1 -1
  78. package/dist/entities/client-user/index.d.mts +1 -1
  79. package/dist/entities/client-user/index.mjs +5 -5
  80. package/dist/entities/comment/index.cjs +18 -16
  81. package/dist/entities/comment/index.d.cts +1 -1
  82. package/dist/entities/comment/index.d.mts +1 -1
  83. package/dist/entities/comment/index.mjs +12 -10
  84. package/dist/entities/content-pillar/index.cjs +20 -18
  85. package/dist/entities/content-pillar/index.d.cts +1 -1
  86. package/dist/entities/content-pillar/index.d.mts +1 -1
  87. package/dist/entities/content-pillar/index.mjs +15 -13
  88. package/dist/entities/faq-page/index.cjs +2 -1
  89. package/dist/entities/faq-page/index.d.cts +2 -2
  90. package/dist/entities/faq-page/index.d.mts +3 -3
  91. package/dist/entities/faq-page/index.mjs +2 -1
  92. package/dist/entities/formatter/index.d.cts +5 -5
  93. package/dist/entities/formatter/index.d.mts +5 -5
  94. package/dist/entities/gcflytour/index.cjs +21 -19
  95. package/dist/entities/gcflytour/index.d.cts +1 -1
  96. package/dist/entities/gcflytour/index.d.mts +1 -1
  97. package/dist/entities/gcflytour/index.mjs +17 -15
  98. package/dist/entities/gcflytour-snap/index.cjs +20 -18
  99. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  100. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  101. package/dist/entities/gcflytour-snap/index.mjs +16 -14
  102. package/dist/entities/landing-page/index.d.cts +2 -2
  103. package/dist/entities/landing-page/index.d.mts +3 -3
  104. package/dist/entities/lead/index.cjs +25 -23
  105. package/dist/entities/lead/index.mjs +15 -13
  106. package/dist/entities/media-content-type/index.cjs +21 -19
  107. package/dist/entities/media-content-type/index.d.cts +7 -6
  108. package/dist/entities/media-content-type/index.d.mts +7 -6
  109. package/dist/entities/media-content-type/index.mjs +17 -15
  110. package/dist/entities/media-creative-format/index.cjs +19 -17
  111. package/dist/entities/media-creative-format/index.d.cts +7 -6
  112. package/dist/entities/media-creative-format/index.d.mts +7 -6
  113. package/dist/entities/media-creative-format/index.mjs +15 -13
  114. package/dist/entities/media-medium/index.cjs +19 -17
  115. package/dist/entities/media-medium/index.d.cts +7 -6
  116. package/dist/entities/media-medium/index.d.mts +7 -6
  117. package/dist/entities/media-medium/index.mjs +15 -13
  118. package/dist/entities/media-platform/index.cjs +27 -24
  119. package/dist/entities/media-platform/index.d.cts +1 -1
  120. package/dist/entities/media-platform/index.d.mts +1 -1
  121. package/dist/entities/media-platform/index.mjs +23 -20
  122. package/dist/entities/monday-workspace/index.cjs +17 -15
  123. package/dist/entities/monday-workspace/index.d.cts +1 -1
  124. package/dist/entities/monday-workspace/index.d.mts +1 -1
  125. package/dist/entities/monday-workspace/index.mjs +11 -9
  126. package/dist/entities/newsletter-signup/index.cjs +25 -23
  127. package/dist/entities/newsletter-signup/index.mjs +13 -11
  128. package/dist/entities/policy-page/index.cjs +2 -1
  129. package/dist/entities/policy-page/index.d.cts +1 -1
  130. package/dist/entities/policy-page/index.d.mts +2 -2
  131. package/dist/entities/policy-page/index.mjs +2 -1
  132. package/dist/entities/product/index.cjs +1 -1
  133. package/dist/entities/product/index.d.cts +1 -1
  134. package/dist/entities/product/index.d.mts +1 -1
  135. package/dist/entities/product/index.mjs +1 -1
  136. package/dist/entities/product-highlight/index.cjs +1 -1
  137. package/dist/entities/product-highlight/index.d.cts +1 -1
  138. package/dist/entities/product-highlight/index.d.mts +1 -1
  139. package/dist/entities/product-highlight/index.mjs +1 -1
  140. package/dist/entities/resume/index.cjs +43 -40
  141. package/dist/entities/resume/index.mjs +16 -13
  142. package/dist/entities/sharpspring/index.cjs +9 -8
  143. package/dist/entities/sharpspring/index.mjs +6 -5
  144. package/dist/entities/tag/index.cjs +15 -13
  145. package/dist/entities/tag/index.d.cts +6 -5
  146. package/dist/entities/tag/index.d.mts +7 -6
  147. package/dist/entities/tag/index.mjs +11 -9
  148. package/dist/entities/team-member/index.cjs +11 -9
  149. package/dist/entities/team-member/index.d.cts +2 -2
  150. package/dist/entities/team-member/index.d.mts +2 -2
  151. package/dist/entities/team-member/index.mjs +7 -4
  152. package/dist/entities/team-page/index.d.cts +1 -1
  153. package/dist/entities/team-page/index.d.mts +1 -1
  154. package/dist/entities/teamwork/index.cjs +12 -11
  155. package/dist/entities/teamwork/index.d.mts +1 -1
  156. package/dist/entities/teamwork/index.mjs +7 -6
  157. package/dist/entities/trend/index.cjs +2 -2
  158. package/dist/entities/trend/index.d.cts +1 -1
  159. package/dist/entities/trend/index.d.mts +1 -1
  160. package/dist/entities/trend/index.mjs +2 -2
  161. package/dist/entities/up-auth/index.cjs +18 -15
  162. package/dist/entities/up-auth/index.d.cts +1 -1
  163. package/dist/entities/up-auth/index.d.mts +1 -1
  164. package/dist/entities/up-auth/index.mjs +6 -3
  165. package/dist/entities/up-permission/index.cjs +1 -1
  166. package/dist/entities/up-permission/index.d.cts +1 -1
  167. package/dist/entities/up-permission/index.d.mts +1 -1
  168. package/dist/entities/up-permission/index.mjs +1 -1
  169. package/dist/entities/up-role/index.cjs +1 -1
  170. package/dist/entities/up-role/index.d.cts +1 -1
  171. package/dist/entities/up-role/index.d.mts +1 -1
  172. package/dist/entities/up-role/index.mjs +1 -1
  173. package/dist/entities/up-user/index.cjs +2 -1
  174. package/dist/entities/up-user/index.d.cts +2 -2
  175. package/dist/entities/up-user/index.d.mts +2 -2
  176. package/dist/entities/up-user/index.mjs +2 -2
  177. package/dist/entities/upload/index.cjs +11 -11
  178. package/dist/entities/upload/index.mjs +7 -7
  179. package/dist/entities/url-redirect/index.cjs +5 -4
  180. package/dist/entities/url-redirect/index.d.cts +3 -2
  181. package/dist/entities/url-redirect/index.d.mts +3 -2
  182. package/dist/entities/url-redirect/index.mjs +4 -3
  183. package/dist/entities/user-account/index.cjs +10 -11
  184. package/dist/entities/user-account/index.d.cts +2 -2
  185. package/dist/entities/user-account/index.d.mts +2 -2
  186. package/dist/entities/user-account/index.mjs +10 -11
  187. package/dist/entities/utm-link-builder/index.cjs +30 -36
  188. package/dist/entities/utm-link-builder/index.d.cts +6 -6
  189. package/dist/entities/utm-link-builder/index.d.mts +6 -6
  190. package/dist/entities/utm-link-builder/index.mjs +22 -28
  191. package/dist/entities/utm-tracking-link/index.cjs +110 -104
  192. package/dist/entities/utm-tracking-link/index.d.cts +2 -2
  193. package/dist/entities/utm-tracking-link/index.d.mts +2 -2
  194. package/dist/entities/utm-tracking-link/index.mjs +68 -68
  195. package/dist/error-messages-9ZhRqNGW.mjs +10 -0
  196. package/dist/error-messages-C0I1kOur.cjs +51 -0
  197. package/dist/generators/index.cjs +231 -0
  198. package/dist/generators/index.d.cts +19 -0
  199. package/dist/generators/index.d.mts +19 -0
  200. package/dist/generators/index.mjs +226 -0
  201. package/dist/index-BOxQLeAK.d.cts +317 -0
  202. package/dist/index-BSYaAtme.d.mts +486 -0
  203. package/dist/index-BT8Pa9XY.d.mts +317 -0
  204. package/dist/{index-DXo7B4ng.d.mts → index-Bjjp-2Sa.d.mts} +20 -99
  205. package/dist/{index-DXUuI-fJ.d.cts → index-C1GoH-4v.d.cts} +91 -76
  206. package/dist/{index-D_YPjLxv.d.cts → index-CBW5QmNu.d.cts} +4 -3
  207. package/dist/index-COpLbpQC.d.cts +486 -0
  208. package/dist/{index-DEm89ERm.d.mts → index-ClQOYhKi.d.mts} +94 -79
  209. package/dist/index-Cqmmzi2g.d.mts +944 -0
  210. package/dist/{index-B_L_83Q2.d.cts → index-D7QXaSOY.d.cts} +19 -98
  211. package/dist/index-DG_Lwaa7.d.cts +1324 -0
  212. package/dist/{index-D3KnOYr7.d.mts → index-DKFW5ay8.d.mts} +4 -3
  213. package/dist/index-Dvu63a8_.d.mts +1324 -0
  214. package/dist/index-WN2TBKki.d.cts +944 -0
  215. package/dist/limits-CKGuEuKA.mjs +37 -0
  216. package/dist/{regex-Cl5goNwp.cjs → limits-CW6iJ7kB.cjs} +0 -102
  217. package/dist/number-Bt4nZKCU.cjs +19 -0
  218. package/dist/number-OMFRufFt.mjs +6 -0
  219. package/dist/pagination-D5l_UjyM.mjs +7 -0
  220. package/dist/pagination-DWZDPzR4.cjs +20 -0
  221. package/dist/permissions/index.cjs +2 -2
  222. package/dist/permissions/index.d.cts +1 -1
  223. package/dist/permissions/index.d.mts +1 -1
  224. package/dist/permissions/index.mjs +2 -2
  225. package/dist/phone-C9TNVDm_.mjs +8 -0
  226. package/dist/phone-D_ZLG1Qv.cjs +21 -0
  227. package/dist/{query-DHY-nlUQ.mjs → query-BR5Ze6T2.mjs} +7 -11
  228. package/dist/{query-DelNcssC.cjs → query-qQ_HLlxx.cjs} +13 -29
  229. package/dist/regex-BEFTMiHO.cjs +51 -0
  230. package/dist/regex-pSdcbWzV.mjs +10 -0
  231. package/dist/relation-Bd-xUcj8.cjs +33 -0
  232. package/dist/relation-DMhLjp7K.mjs +8 -0
  233. package/dist/{relationships-HTBNe0F-.cjs → relationships-DjHwYd4r.cjs} +23 -9
  234. package/dist/{relationships-C6xfgdwR.mjs → relationships-yPO5SILR.mjs} +7 -5
  235. package/dist/slug-BUtm1t-B.mjs +7 -0
  236. package/dist/slug-cWXTZEIT.cjs +14 -0
  237. package/dist/sort-CI87SH1y.cjs +33 -0
  238. package/dist/sort-D3WwshqQ.mjs +14 -0
  239. package/dist/{strapi-DvyAfgFF.mjs → strapi-B2cNPAao.mjs} +1 -1
  240. package/dist/{strapi-QFDWi4vD.cjs → strapi-RlhF30B7.cjs} +1 -1
  241. package/dist/string-BHHnD2Qu.mjs +42 -0
  242. package/dist/string-Yn-6xiAZ.cjs +97 -0
  243. package/dist/urls-UOvhCu0z.mjs +14 -0
  244. package/dist/urls-og5upHgL.cjs +27 -0
  245. package/dist/utilities/index.cjs +1 -1
  246. package/dist/utilities/index.d.cts +6 -6
  247. package/dist/utilities/index.d.mts +6 -6
  248. package/dist/utilities/index.mjs +1 -1
  249. package/dist/utm-BqkYlpua.cjs +47 -0
  250. package/dist/utm-ZUwmBoR2.mjs +28 -0
  251. package/dist/validators/index.cjs +36 -0
  252. package/dist/validators/index.d.cts +94 -0
  253. package/dist/validators/index.d.mts +94 -0
  254. package/dist/validators/index.mjs +10 -0
  255. package/package.json +29 -2
  256. package/dist/index-B3VtiObV.d.mts +0 -317
  257. package/dist/index-BxEBUjx2.d.mts +0 -486
  258. package/dist/index-CQP_vcmO.d.cts +0 -317
  259. package/dist/index-CRoWUxGV.d.cts +0 -1324
  260. package/dist/index-DYSlcIkJ.d.mts +0 -945
  261. package/dist/index-Dmtom8iC.d.cts +0 -945
  262. package/dist/index-auU0DaW5.d.cts +0 -486
  263. package/dist/index-oCLNrzIj.d.mts +0 -1324
  264. package/dist/regex-BnKGcdS4.mjs +0 -55
  265. package/dist/validators-Bc9Is5Sr.cjs +0 -222
  266. package/dist/validators-P5E_3qzc.mjs +0 -95
  267. /package/dist/{abac-DPd9oLKR.mjs → abac-BPxkvVVy.mjs} +0 -0
  268. /package/dist/{abac-BeKQtxIF.cjs → abac-YYI2Ckwv.cjs} +0 -0
  269. /package/dist/{constants-Htf-MeCA.mjs → constants-C4cy6LoY.mjs} +0 -0
  270. /package/dist/{constants-f1GP2eiq.cjs → constants-D6DsS_A0.cjs} +0 -0
  271. /package/dist/{document-DaICHS9G.cjs → document-B4FY2KXQ.cjs} +0 -0
  272. /package/dist/{document-c3GNPelp.mjs → document-De-prPhc.mjs} +0 -0
  273. /package/dist/{document-CbE38CzE.d.mts → document-DxjJgk8X.d.mts} +0 -0
  274. /package/dist/{index-DLICmJ_-.d.mts → index-BSEaV9wd.d.mts} +0 -0
  275. /package/dist/{json-BrVkpLbC.d.mts → json--oetJLQY.d.mts} +0 -0
  276. /package/dist/{media-upload-DKeA1eD-.d.mts → media-upload-DBG7YyU4.d.mts} +0 -0
  277. /package/dist/{strapi-BDLWeEyv.mjs → strapi-CE9bz7Kc.mjs} +0 -0
  278. /package/dist/{strapi-C4HuWGb_.cjs → strapi-D8C1C0D7.cjs} +0 -0
@@ -61,11 +61,20 @@ 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/sort.d.ts
65
+ type SortOrder = "ASC" | "DESC";
66
+ type QuerySortValue<TKey extends string> = `${TKey}:${SortOrder}`;
67
+ type QuerySortOutput<TKey extends string> = QuerySortValue<TKey>[] | undefined;
68
+ declare const createQuerySort: <const TSortKeys extends readonly [string, ...string[]]>(sortKeys: TSortKeys) => v.GenericSchema<QuerySortOutput<TSortKeys[number]>>;
69
+ declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
70
+ declare const QuerySortEntities: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
71
+ type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
72
+ //#endregion
64
73
  //#region src/base/pagination.d.ts
65
74
  declare const QueryStrapiPaginated: v.ObjectSchema<{
66
75
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
67
76
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
68
- readonly sort: 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>;
77
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
69
78
  }, undefined>;
70
79
  type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
71
80
  //#endregion
@@ -81,28 +90,28 @@ type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
81
90
  declare const QueryStrapiBySlug: v.ObjectSchema<{
82
91
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
83
92
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
84
- readonly sort: 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>;
93
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
85
94
  readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
86
95
  }, undefined>;
87
96
  type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
88
97
  declare const QueryStrapiByEmail: v.ObjectSchema<{
89
98
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
90
99
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
91
- readonly sort: 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>;
100
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
92
101
  readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
93
102
  }, undefined>;
94
103
  type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
95
104
  declare const QueryStrapiByPhone: v.ObjectSchema<{
96
105
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
97
106
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
98
- readonly sort: 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>;
107
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
99
108
  readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
100
109
  }, undefined>;
101
110
  type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
102
111
  declare const QueryStrapiByName: v.ObjectSchema<{
103
112
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
104
113
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
105
- readonly sort: 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>;
114
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
106
115
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
107
116
  }, undefined>;
108
117
  type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
@@ -110,8 +119,12 @@ type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
110
119
  //#region src/base/relationships.d.ts
111
120
  declare const SAssociateOneEntity: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
112
121
  type SAssociateOneEntity = v.InferOutput<typeof SAssociateOneEntity>;
122
+ declare const SAssociateOneEntityOptional: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
123
+ type SAssociateOneEntityOptional = v.InferOutput<typeof SAssociateOneEntity>;
113
124
  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>]>;
114
125
  type SAssociateManyEntities = v.InferOutput<typeof SAssociateManyEntities>;
126
+ declare const SAssociateManyEntitiesOptional: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
127
+ type SAssociateManyEntitiesOptional = v.InferOutput<typeof SAssociateManyEntitiesOptional>;
115
128
  declare const SQueryManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>;
116
129
  type SQueryManyEntities = v.InferOutput<typeof SQueryManyEntities>;
117
130
  declare const SAssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -248,11 +261,6 @@ type StrapiAttributeErrorResponse<T> = {
248
261
  };
249
262
  type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
250
263
  //#endregion
251
- //#region src/base/sort.d.ts
252
- declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
253
- 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>;
254
- type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
255
- //#endregion
256
264
  //#region src/base/strapi.d.ts
257
265
  declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
258
266
  type ContentStatus = v.InferOutput<typeof ContentStatus>;
@@ -289,91 +297,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
289
297
  declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
290
298
  type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
291
299
  //#endregion
292
- //#region src/base/validators.d.ts
293
- /**
294
- * Basic number validator
295
- */
296
- declare const VNumberNullable: () => v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
297
- declare const VIntegerNullable: () => v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
298
- /**
299
- * Basic string validator with trim and min length
300
- */
301
- declare const VString: (minLength?: number) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>]>;
302
- /**
303
- * String validator with trim, min length, and max length (Short)
304
- */
305
- declare const VStringShort: (minLength?: number) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
306
- /**
307
- * String validator with trim, min length, and max length (Long)
308
- */
309
- declare const VStringLong: (minLength?: number) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 5000, undefined>]>;
310
- /**
311
- * String validator with trim, and max length
312
- */
313
- declare const VStringMax: (maxLength?: number) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
314
- /**
315
- * String validator with trim, and max length
316
- */
317
- declare const VStringMaxRegex: (maxLength: number | undefined, pattern: RegExp, message: string) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
318
- /**
319
- * String validator with trim, min length, and max length
320
- */
321
- declare const VStringMinMax: (minLength?: number, maxLength?: number) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
322
- /**
323
- * String validator with trim, min length, max length, and regex pattern
324
- */
325
- declare const VStringMinMaxRegex: (minLength: number | undefined, maxLength: number | undefined, pattern: RegExp, message: string) => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
326
- /**
327
- * Optional Nullable String validator (Long)
328
- */
329
- declare const VStringLongNullable: () => v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
330
- /**
331
- * Optional Nullable String validator
332
- * Commonly used for optional fields that might be null in the database or API
333
- */
334
- declare const VStringShortNullable: () => v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
335
- /**
336
- * URL Validator
337
- * Checks for http/https prefix and valid URL format
338
- */
339
- declare const VStringUrl: () => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>;
340
- /**
341
- * UTM URL Validator
342
- * Checks for valid URL format that does contain utm params
343
- */
344
- declare const VStringUrlUtm: () => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
345
- /**
346
- * URL no utm params Validator
347
- * Checks for valid URL format that does not contain utm params
348
- */
349
- declare const VStringUrlNoUtm: () => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>;
350
- /**
351
- * Optional Nullable URL Validator
352
- */
353
- declare const VStringUrlNullable: () => v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, undefined>;
354
- /**
355
- * Slug Validator
356
- */
357
- declare const VStringSlug: () => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
358
- /**
359
- * Email Validator
360
- */
361
- declare const VStringEmail: () => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
362
- /**
363
- * Phone Validator (NANP)
364
- */
365
- declare const VStringPhone: () => v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
366
- /**
367
- * Optional Nullable Phone Validator
368
- */
369
- declare const VStringPhoneNullable: () => v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
370
- /**
371
- * Pagination Page Validator
372
- */
373
- declare const VPage: () => v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
374
- /**
375
- * Pagination Size Validator
376
- */
377
- declare const VSize: (maxSize: number) => v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
378
- //#endregion
379
- export { StrapiResponseMetaWithPagination as $, StrapiBgColorOptions as A, WebSafeFontDisplay as At, ValidStrapiSingleEntity as B, STRAPI_DIRECTION as C, FONT_HEADER_SIZE as Ct, STRAPI_LINK_TYPE as D, WEBSAFE_FONT_SANS as Dt, STRAPI_ICON_POSITION as E, WEBSAFE_FONT_MONO as Et, StrapiLinkType as F, BaseComponent as Ft, StrapiAttributeErrorKey as G, ENTITY_SORT_KEYS as H, StrapiTextColorOptions as I, BaseComponentId as It, StrapiErrorResponse as J, StrapiAttributeErrorResponse as K, StrapiThemeOptions as L, StrapiGapSizes as M, WebSafeFontSans as Mt, StrapiIconName as N, WebSafeFontSerif as Nt, STRAPI_TEXT_COLOR_OPTIONS as O, WEBSAFE_FONT_SERIF as Ot, StrapiIconPosition as P, BaseDocument as Pt, StrapiResponseMeta as Q, ContentStatus as R, STRAPI_BG_COLOR_OPTIONS as S, FormSelectInputOption as St, STRAPI_ICON_NAME as T, WEBSAFE_FONT_DISPLAY as Tt, QuerySortEntities as U, ValidStrapiSpecialEntity as V, StrapiAttributeErrorDetail as W, StrapiListResponse as X, StrapiErrorResult as Y, StrapiPagination as Z, VStringSlug as _, STRAPI_LINK_REL as _t, VString as a, SAssociateOneEntity as at, VStringUrlNullable as b, StrapiLinkRel as bt, VStringLongNullable as c, SSetEntityRelationshipRequest as ct, VStringMinMax as d, QueryStrapiById as dt, StrapiSingleResponse as et, VStringMinMaxRegex as f, QueryStrapiByName as ft, VStringShortNullable as g, STRAPI_LINK_REFERRER_POLICY as gt, VStringShort as h, QueryStrapiPaginated as ht, VSize as i, SAssociateManyEntities as it, StrapiDirection as j, WebSafeFontMono as jt, STRAPI_THEME_OPTIONS as k, WebSafeFont as kt, VStringMax as l, QueryStrapiByDocumentId as lt, VStringPhoneNullable as m, QueryStrapiBySlug as mt, VNumberNullable as n, SAssociateEntityPositionDocumentRequest as nt, VStringEmail as o, SEntityPosition as ot, VStringPhone as p, QueryStrapiByPhone 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, QueryStrapiByEmail as ut, VStringUrl as v, STRAPI_LINK_TARGET as vt, STRAPI_GAP_SIZES as w, FontHeaderSize as wt, VStringUrlUtm as x, StrapiLinkTarget as xt, VStringUrlNoUtm as y, StrapiLinkReferrerPolicy as yt, ValidStrapiCollectionEntity as z };
300
+ export { SortOrder as $, StrapiResponseMetaWithPagination as A, SQueryManyEntities as B, StrapiAttributeErrorResponse as C, StrapiListResponse as D, StrapiErrorResult as E, SAssociateManyEntities as F, QueryStrapiByName as G, QueryStrapiByDocumentId as H, SAssociateManyEntitiesOptional as I, QueryStrapiPaginated as J, QueryStrapiByPhone as K, SAssociateOneEntity as L, SAssociateEntityPosition as M, SAssociateEntityPositionDocumentRequest as N, StrapiPagination as O, SAssociateEntityRelationshipRequest as P, QuerySortValue as Q, SAssociateOneEntityOptional as R, StrapiAttributeErrorKey as S, StrapiErrorResponse as T, QueryStrapiByEmail as U, SSetEntityRelationshipRequest as V, QueryStrapiById as W, QuerySortEntities as X, ENTITY_SORT_KEYS as Y, QuerySortOutput as Z, ContentStatus as _, WebSafeFontSans as _t, STRAPI_ICON_POSITION as a, StrapiLinkRel as at, ValidStrapiSpecialEntity as b, BaseComponent as bt, STRAPI_THEME_OPTIONS as c, FONT_HEADER_SIZE as ct, StrapiGapSizes as d, WEBSAFE_FONT_MONO as dt, createQuerySort as et, StrapiIconName as f, WEBSAFE_FONT_SANS as ft, StrapiThemeOptions as g, WebSafeFontMono as gt, StrapiTextColorOptions as h, WebSafeFontDisplay as ht, STRAPI_ICON_NAME as i, StrapiLinkReferrerPolicy as it, StrapiSingleResponse as j, StrapiResponseMeta as k, StrapiBgColorOptions as l, FontHeaderSize as lt, StrapiLinkType as m, WebSafeFont as mt, STRAPI_DIRECTION as n, STRAPI_LINK_REL as nt, STRAPI_LINK_TYPE as o, StrapiLinkTarget as ot, StrapiIconPosition as p, WEBSAFE_FONT_SERIF as pt, QueryStrapiBySlug as q, STRAPI_GAP_SIZES as r, STRAPI_LINK_TARGET as rt, STRAPI_TEXT_COLOR_OPTIONS as s, FormSelectInputOption as st, STRAPI_BG_COLOR_OPTIONS as t, STRAPI_LINK_REFERRER_POLICY as tt, StrapiDirection as u, WEBSAFE_FONT_DISPLAY as ut, ValidStrapiCollectionEntity as v, WebSafeFontSerif as vt, StrapiErrorDetail as w, StrapiAttributeErrorDetail as x, BaseComponentId as xt, ValidStrapiSingleEntity as y, BaseDocument as yt, SEntityPosition as z };