@getcommunity/gc-validators 0.0.271-alpha.2 → 0.0.271-alpha.21

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 (287) hide show
  1. package/dist/abac-BeKQtxIF.cjs +648 -0
  2. package/dist/abac-DPd9oLKR.mjs +643 -0
  3. package/dist/base/index.cjs +20 -20
  4. package/dist/base/index.d.cts +3 -4
  5. package/dist/base/index.d.mts +3 -4
  6. package/dist/base/index.mjs +3 -3
  7. package/dist/components/blocks/index.cjs +16 -14
  8. package/dist/components/blocks/index.d.cts +2 -1322
  9. package/dist/components/blocks/index.d.mts +2 -1322
  10. package/dist/components/blocks/index.mjs +16 -14
  11. package/dist/components/brand/index.d.cts +1 -314
  12. package/dist/components/brand/index.d.mts +1 -314
  13. package/dist/components/forms/index.cjs +10 -8
  14. package/dist/components/forms/index.d.cts +6 -3
  15. package/dist/components/forms/index.d.mts +6 -3
  16. package/dist/components/forms/index.mjs +10 -8
  17. package/dist/components/shared/index.cjs +13 -2
  18. package/dist/components/shared/index.d.cts +1 -916
  19. package/dist/components/shared/index.d.mts +1 -916
  20. package/dist/components/shared/index.mjs +13 -2
  21. package/dist/components/slideshow/index.cjs +15 -13
  22. package/dist/components/slideshow/index.d.cts +7 -5
  23. package/dist/components/slideshow/index.d.mts +7 -5
  24. package/dist/components/slideshow/index.mjs +15 -13
  25. package/dist/components/utm/index.cjs +7 -5
  26. package/dist/components/utm/index.d.cts +2 -32
  27. package/dist/components/utm/index.d.mts +2 -32
  28. package/dist/components/utm/index.mjs +7 -5
  29. package/dist/constants/index.cjs +5 -3
  30. package/dist/constants/index.d.cts +417 -3
  31. package/dist/constants/index.d.mts +417 -3
  32. package/dist/constants/index.mjs +2 -2
  33. package/dist/document-CAkRm1Y_.d.mts +24 -0
  34. package/dist/document-CDavjuJ-.mjs +19 -0
  35. package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
  36. package/dist/document-CwIvc2p7.cjs +26 -0
  37. package/dist/document-DOVZwQRq.cjs +728 -0
  38. package/dist/document-DR6GQUE8.cjs +243 -0
  39. package/dist/document-DaICHS9G.cjs +17 -0
  40. package/dist/document-TlMeVEGy.d.cts +24 -0
  41. package/dist/document-c3GNPelp.mjs +10 -0
  42. package/dist/document-exUYRsta.mjs +128 -0
  43. package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
  44. package/dist/document-kvIqz0p6.mjs +457 -0
  45. package/dist/entities/audit-log/index.cjs +2 -2
  46. package/dist/entities/audit-log/index.d.cts +3 -3
  47. package/dist/entities/audit-log/index.d.mts +3 -3
  48. package/dist/entities/audit-log/index.mjs +1 -1
  49. package/dist/entities/blog-page/index.cjs +1 -1
  50. package/dist/entities/blog-page/index.d.cts +12 -251
  51. package/dist/entities/blog-page/index.d.mts +12 -251
  52. package/dist/entities/blog-page/index.mjs +1 -1
  53. package/dist/entities/blog-post/index.cjs +2 -2
  54. package/dist/entities/blog-post/index.d.cts +1 -916
  55. package/dist/entities/blog-post/index.d.mts +1 -916
  56. package/dist/entities/blog-post/index.mjs +2 -2
  57. package/dist/entities/careers-page/index.cjs +1 -1
  58. package/dist/entities/careers-page/index.d.cts +12 -251
  59. package/dist/entities/careers-page/index.d.mts +12 -251
  60. package/dist/entities/careers-page/index.mjs +1 -1
  61. package/dist/entities/category/index.cjs +4 -13
  62. package/dist/entities/category/index.d.cts +3 -260
  63. package/dist/entities/category/index.d.mts +3 -260
  64. package/dist/entities/category/index.mjs +2 -11
  65. package/dist/entities/client/index.cjs +3 -3
  66. package/dist/entities/client/index.d.cts +1 -84
  67. package/dist/entities/client/index.d.mts +1 -84
  68. package/dist/entities/client/index.mjs +2 -2
  69. package/dist/entities/client-content-pillar/index.cjs +10 -20
  70. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  71. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  72. package/dist/entities/client-content-pillar/index.mjs +2 -12
  73. package/dist/entities/client-media-platform/index.cjs +10 -17
  74. package/dist/entities/client-media-platform/index.d.cts +1 -52
  75. package/dist/entities/client-media-platform/index.d.mts +1 -52
  76. package/dist/entities/client-media-platform/index.mjs +2 -9
  77. package/dist/entities/client-project/index.cjs +22 -129
  78. package/dist/entities/client-project/index.d.cts +1 -146
  79. package/dist/entities/client-project/index.d.mts +1 -146
  80. package/dist/entities/client-project/index.mjs +2 -109
  81. package/dist/entities/client-report/index.cjs +7 -18
  82. package/dist/entities/client-report/index.d.cts +1 -62
  83. package/dist/entities/client-report/index.d.mts +1 -62
  84. package/dist/entities/client-report/index.mjs +2 -13
  85. package/dist/entities/client-styleguide/index.cjs +7 -27
  86. package/dist/entities/client-styleguide/index.d.cts +1 -47
  87. package/dist/entities/client-styleguide/index.d.mts +1 -47
  88. package/dist/entities/client-styleguide/index.mjs +2 -22
  89. package/dist/entities/client-user/index.cjs +17 -53
  90. package/dist/entities/client-user/index.d.cts +2 -47
  91. package/dist/entities/client-user/index.d.mts +2 -47
  92. package/dist/entities/client-user/index.mjs +5 -41
  93. package/dist/entities/comment/index.d.cts +1 -1
  94. package/dist/entities/comment/index.d.mts +1 -1
  95. package/dist/entities/content-pillar/index.cjs +5 -5
  96. package/dist/entities/content-pillar/index.d.cts +1 -49
  97. package/dist/entities/content-pillar/index.d.mts +1 -49
  98. package/dist/entities/content-pillar/index.mjs +2 -2
  99. package/dist/entities/faq-page/index.cjs +1 -1
  100. package/dist/entities/faq-page/index.d.cts +13 -329
  101. package/dist/entities/faq-page/index.d.mts +13 -329
  102. package/dist/entities/faq-page/index.mjs +1 -1
  103. package/dist/entities/gcflytour/index.cjs +9 -19
  104. package/dist/entities/gcflytour/index.d.cts +1 -60
  105. package/dist/entities/gcflytour/index.d.mts +1 -60
  106. package/dist/entities/gcflytour/index.mjs +2 -12
  107. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  108. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  109. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  110. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  111. package/dist/entities/landing-page/index.cjs +2 -2
  112. package/dist/entities/landing-page/index.d.cts +25 -474
  113. package/dist/entities/landing-page/index.d.mts +25 -474
  114. package/dist/entities/landing-page/index.mjs +2 -2
  115. package/dist/entities/lead/index.cjs +2 -2
  116. package/dist/entities/lead/index.mjs +1 -1
  117. package/dist/entities/media-content-type/index.cjs +10 -23
  118. package/dist/entities/media-content-type/index.d.cts +3 -3
  119. package/dist/entities/media-content-type/index.d.mts +3 -3
  120. package/dist/entities/media-content-type/index.mjs +2 -15
  121. package/dist/entities/media-creative-format/index.cjs +7 -16
  122. package/dist/entities/media-creative-format/index.d.cts +3 -3
  123. package/dist/entities/media-creative-format/index.d.mts +3 -3
  124. package/dist/entities/media-creative-format/index.mjs +2 -11
  125. package/dist/entities/media-medium/index.cjs +7 -18
  126. package/dist/entities/media-medium/index.d.cts +3 -18
  127. package/dist/entities/media-medium/index.d.mts +3 -18
  128. package/dist/entities/media-medium/index.mjs +2 -13
  129. package/dist/entities/media-platform/index.cjs +13 -29
  130. package/dist/entities/media-platform/index.d.cts +1 -73
  131. package/dist/entities/media-platform/index.d.mts +1 -73
  132. package/dist/entities/media-platform/index.mjs +2 -18
  133. package/dist/entities/monday-workspace/index.cjs +7 -14
  134. package/dist/entities/monday-workspace/index.d.cts +1 -46
  135. package/dist/entities/monday-workspace/index.d.mts +1 -46
  136. package/dist/entities/monday-workspace/index.mjs +2 -9
  137. package/dist/entities/newsletter-signup/index.cjs +2 -2
  138. package/dist/entities/newsletter-signup/index.mjs +1 -1
  139. package/dist/entities/policy-page/index.cjs +2 -2
  140. package/dist/entities/policy-page/index.d.cts +15 -321
  141. package/dist/entities/policy-page/index.d.mts +15 -321
  142. package/dist/entities/policy-page/index.mjs +2 -2
  143. package/dist/entities/product/index.cjs +2 -21
  144. package/dist/entities/product/index.d.cts +1 -319
  145. package/dist/entities/product/index.d.mts +1 -319
  146. package/dist/entities/product/index.mjs +1 -18
  147. package/dist/entities/product-highlight/index.cjs +2 -21
  148. package/dist/entities/product-highlight/index.d.cts +1 -244
  149. package/dist/entities/product-highlight/index.d.mts +1 -244
  150. package/dist/entities/product-highlight/index.mjs +1 -18
  151. package/dist/entities/resume/index.cjs +2 -2
  152. package/dist/entities/resume/index.mjs +1 -1
  153. package/dist/entities/tag/index.cjs +4 -11
  154. package/dist/entities/tag/index.d.cts +3 -14
  155. package/dist/entities/tag/index.d.mts +3 -14
  156. package/dist/entities/tag/index.mjs +2 -9
  157. package/dist/entities/team-member/index.cjs +8 -3
  158. package/dist/entities/team-member/index.d.cts +2 -210
  159. package/dist/entities/team-member/index.d.mts +2 -210
  160. package/dist/entities/team-member/index.mjs +7 -3
  161. package/dist/entities/team-page/index.cjs +1 -1
  162. package/dist/entities/team-page/index.d.cts +12 -251
  163. package/dist/entities/team-page/index.d.mts +12 -251
  164. package/dist/entities/team-page/index.mjs +1 -1
  165. package/dist/entities/teamwork/index.d.cts +5 -6
  166. package/dist/entities/teamwork/index.d.mts +5 -6
  167. package/dist/entities/trend/index.cjs +4 -18
  168. package/dist/entities/trend/index.d.cts +1 -333
  169. package/dist/entities/trend/index.d.mts +1 -333
  170. package/dist/entities/trend/index.mjs +2 -16
  171. package/dist/entities/up-auth/index.d.cts +1 -1
  172. package/dist/entities/up-auth/index.d.mts +1 -1
  173. package/dist/entities/up-permission/index.cjs +2 -11
  174. package/dist/entities/up-permission/index.d.cts +1 -13
  175. package/dist/entities/up-permission/index.d.mts +1 -13
  176. package/dist/entities/up-permission/index.mjs +1 -8
  177. package/dist/entities/up-role/index.cjs +4 -27
  178. package/dist/entities/up-role/index.d.cts +1 -2
  179. package/dist/entities/up-role/index.d.mts +1 -2
  180. package/dist/entities/up-role/index.mjs +1 -22
  181. package/dist/entities/up-user/index.cjs +9 -63
  182. package/dist/entities/up-user/index.d.cts +1 -37
  183. package/dist/entities/up-user/index.d.mts +1 -37
  184. package/dist/entities/up-user/index.mjs +1 -53
  185. package/dist/entities/url-redirect/index.d.cts +2 -2
  186. package/dist/entities/url-redirect/index.d.mts +2 -2
  187. package/dist/entities/user-account/index.cjs +10 -18
  188. package/dist/entities/user-account/index.d.cts +2 -2
  189. package/dist/entities/user-account/index.d.mts +2 -2
  190. package/dist/entities/user-account/index.mjs +3 -11
  191. package/dist/entities/utm-link-builder/index.cjs +9 -8
  192. package/dist/entities/utm-link-builder/index.d.cts +2 -3
  193. package/dist/entities/utm-link-builder/index.d.mts +2 -3
  194. package/dist/entities/utm-link-builder/index.mjs +6 -4
  195. package/dist/entities/utm-meta/index.d.cts +7 -7
  196. package/dist/entities/utm-meta/index.d.mts +7 -7
  197. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  198. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  199. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  200. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  201. package/dist/index-B3VtiObV.d.mts +317 -0
  202. package/dist/index-B7kzXrHG.d.mts +4746 -0
  203. package/dist/index-Bo7Y0_IX.d.mts +945 -0
  204. package/dist/index-BqCOvpbq.d.cts +945 -0
  205. package/dist/{document-C0c7azOe.d.mts → index-BxEBUjx2.d.mts} +236 -184
  206. package/dist/index-CQP_vcmO.d.cts +317 -0
  207. package/dist/index-CRoWUxGV.d.cts +1324 -0
  208. package/dist/index-CnZGEWjN.d.cts +4746 -0
  209. package/dist/index-D11tQdCv.d.cts +34 -0
  210. package/dist/{index-DYPjS1qh.d.mts → index-D3KnOYr7.d.mts} +3 -3
  211. package/dist/index-DLICmJ_-.d.mts +34 -0
  212. package/dist/{index-BLE_fX1Q.d.cts → index-D_YPjLxv.d.cts} +3 -3
  213. package/dist/{index-Bht1Jd5l.d.mts → index-HC5SDR9c.d.mts} +111 -154
  214. package/dist/{index-ZBDWYTfn.d.cts → index-VMlL6p9e.d.cts} +111 -154
  215. package/dist/{document-DN3g0EFx.d.cts → index-auU0DaW5.d.cts} +236 -184
  216. package/dist/index-oCLNrzIj.d.mts +1324 -0
  217. package/dist/{json-CqAaKeHA.d.mts → json-BrVkpLbC.d.mts} +1 -0
  218. package/dist/{json-BJ8GyrtC.d.cts → json-Cm6HECXA.d.cts} +1 -0
  219. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  220. package/dist/media-upload-DKeA1eD-.d.mts +140 -0
  221. package/dist/permissions/index.cjs +3 -663
  222. package/dist/permissions/index.d.cts +2 -2
  223. package/dist/permissions/index.d.mts +2 -2
  224. package/dist/permissions/index.mjs +3 -661
  225. package/dist/{query.schema-DHTf6rTw.cjs → query-BOZj3jek.cjs} +3 -3
  226. package/dist/{query.schema-YKoOuBnk.mjs → query-Dpy-S8bA.mjs} +2 -2
  227. package/dist/{relations-CGu18hfT.cjs → relationships-B0sgMFZA.cjs} +2 -2
  228. package/dist/{relations-C04F46xL.mjs → relationships-D1Kp-Gfe.mjs} +2 -2
  229. package/dist/{strapi-C7POOPEf.cjs → strapi-B0f98T3D.cjs} +3 -3
  230. package/dist/strapi-BZGtE-mE.cjs +455 -0
  231. package/dist/{strapi-C0DtxJLD.mjs → strapi-CcyhoATG.mjs} +3 -3
  232. package/dist/strapi-JZZXwngw.mjs +420 -0
  233. package/dist/utilities/index.cjs +20 -0
  234. package/dist/utilities/index.d.cts +11 -2
  235. package/dist/utilities/index.d.mts +11 -2
  236. package/dist/utilities/index.mjs +19 -1
  237. package/package.json +1 -1
  238. package/dist/document-BAzLIprH.d.mts +0 -100
  239. package/dist/document-BFukanLe.mjs +0 -54
  240. package/dist/document-BK1ASowb.d.cts +0 -17
  241. package/dist/document-BMxLOdrT.d.cts +0 -267
  242. package/dist/document-BNoXPGwF.d.mts +0 -27
  243. package/dist/document-B_pJW777.d.mts +0 -30
  244. package/dist/document-Bd2AyLs8.d.mts +0 -16
  245. package/dist/document-BezYxNmb.d.cts +0 -16
  246. package/dist/document-Bj7SRTOn.d.cts +0 -18
  247. package/dist/document-Bo869pZx.d.mts +0 -18
  248. package/dist/document-Bs8c1mok.d.cts +0 -15
  249. package/dist/document-CTTDXzOF.mjs +0 -13
  250. package/dist/document-CUl_Ys6-.mjs +0 -23
  251. package/dist/document-CWYzG60q.d.cts +0 -19
  252. package/dist/document-Ccszj8lR.cjs +0 -20
  253. package/dist/document-CjNHI7Eb.d.cts +0 -27
  254. package/dist/document-Cu_HUDC5.mjs +0 -51
  255. package/dist/document-D-KvyEb5.d.cts +0 -238
  256. package/dist/document-D2nLVGig.d.mts +0 -238
  257. package/dist/document-D4fJt3zX.d.cts +0 -12223
  258. package/dist/document-D5yDIDIx.d.mts +0 -15
  259. package/dist/document-D73dqRle.d.cts +0 -19
  260. package/dist/document-DA6YVZz-.d.cts +0 -100
  261. package/dist/document-DJ0YiVte.d.cts +0 -30
  262. package/dist/document-DMHIUE3J.d.mts +0 -17
  263. package/dist/document-DYzRVV1C.d.mts +0 -16
  264. package/dist/document-D_ZMbzn6.d.cts +0 -18
  265. package/dist/document-DdRo9TdG.d.mts +0 -12223
  266. package/dist/document-DeoRGh7p.d.mts +0 -19
  267. package/dist/document-DsIPBTG8.cjs +0 -30
  268. package/dist/document-DsSaMVGb.cjs +0 -106
  269. package/dist/document-Gx2Vrg_w.d.mts +0 -267
  270. package/dist/document-IIJpsOIO.d.cts +0 -16
  271. package/dist/document-WHS8GHY5.d.mts +0 -18
  272. package/dist/document-dqrWptdY.d.cts +0 -244
  273. package/dist/document-rbMXLGxt.cjs +0 -103
  274. package/dist/document-si7GYS5g.d.mts +0 -19
  275. package/dist/document-vq-7rcU5.d.mts +0 -244
  276. package/dist/fields-BQHSYj70.d.cts +0 -7
  277. package/dist/fields-qx-5saY5.d.mts +0 -7
  278. package/dist/index-BI8tN-QZ.d.mts +0 -99
  279. package/dist/index-DpYYzY_9.d.cts +0 -99
  280. package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
  281. package/dist/query.schema-CItKlb0x.d.cts +0 -41
  282. package/dist/response-C-7nyNVD.d.mts +0 -57
  283. package/dist/response-c6SgLvi9.d.cts +0 -57
  284. package/dist/strapi-COeswSwJ.mjs +0 -49
  285. package/dist/strapi-DmhV7ODq.cjs +0 -72
  286. /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
  287. /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
@@ -1,99 +0,0 @@
1
- import { t as RoleDocument } from "./document-DYzRVV1C.mjs";
2
- import { t as UserDocument } from "./document-si7GYS5g.mjs";
3
- import { t as UserAccountDocument } from "./document-Bd2AyLs8.mjs";
4
- import * as v from "valibot";
5
-
6
- //#region src/entities/up-auth/mutation.d.ts
7
- declare const SUserToken: v.ObjectSchema<{
8
- readonly token: v.StringSchema<undefined>;
9
- }, undefined>;
10
- type SUserToken = v.InferOutput<typeof SUserToken>;
11
- declare const SLoginUser: v.ObjectSchema<{
12
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
13
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
14
- }, undefined>;
15
- type SLoginUser = v.InferOutput<typeof SLoginUser>;
16
- declare const SRegisterUser: v.ObjectSchema<{
17
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
18
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
19
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
20
- }, undefined>;
21
- type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
22
- declare const SForgotUserPassword: v.ObjectSchema<{
23
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
24
- }, undefined>;
25
- type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
26
- declare const SRequestConfirmEmail: v.ObjectSchema<{
27
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
28
- }, undefined>;
29
- type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
30
- declare const SResetUserPassword: v.ObjectSchema<{
31
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
32
- readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
33
- readonly code: v.StringSchema<undefined>;
34
- }, undefined>;
35
- type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
36
- declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
37
- readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
38
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
39
- readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
40
- }, undefined>, v.BaseValidation<{
41
- currentPassword: string;
42
- password: string;
43
- passwordConfirmation: string;
44
- }, {
45
- currentPassword: string;
46
- password: string;
47
- passwordConfirmation: string;
48
- }, v.PartialCheckIssue<{
49
- password: string;
50
- passwordConfirmation: string;
51
- }>>]>;
52
- type SChangePassword = v.InferOutput<typeof SChangePassword>;
53
- declare const SAuthRawAccessToken: v.ObjectSchema<{
54
- readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
55
- readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
56
- readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
57
- readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
59
- }, undefined>;
60
- type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
61
- declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
62
- readonly id_token: v.StringSchema<undefined>;
63
- readonly access_token: v.StringSchema<undefined>;
64
- readonly raw: v.OptionalSchema<v.ObjectSchema<{
65
- readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
66
- readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
67
- readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
68
- readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
69
- readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
70
- }, undefined>, undefined>;
71
- }, undefined>;
72
- type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
73
- declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
74
- readonly provider: v.StringSchema<undefined>;
75
- readonly search: v.ObjectSchema<{
76
- readonly id_token: v.StringSchema<undefined>;
77
- readonly access_token: v.StringSchema<undefined>;
78
- readonly raw: v.OptionalSchema<v.ObjectSchema<{
79
- readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
80
- readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
81
- readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
82
- readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
83
- readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
84
- }, undefined>, undefined>;
85
- }, undefined>;
86
- }, undefined>;
87
- type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
88
- //#endregion
89
- //#region src/entities/up-auth/types.d.ts
90
- type AuthorizedUserDocument = Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id"> & {
91
- account: UserAccountDocument;
92
- role: RoleDocument;
93
- };
94
- type UserAuthorizationSuccessResponse = {
95
- jwt: string;
96
- user: UserDocument;
97
- };
98
- //#endregion
99
- export { SAuthRawAccessToken as a, SLoginUser as c, SResetUserPassword as d, SUserToken as f, SAuthConnectProviderRedirectSearch as i, SRegisterUser as l, UserAuthorizationSuccessResponse as n, SChangePassword as o, SAuthConnectProviderConfirmation as r, SForgotUserPassword as s, AuthorizedUserDocument as t, SRequestConfirmEmail as u };
@@ -1,99 +0,0 @@
1
- import { t as RoleDocument } from "./document-BezYxNmb.cjs";
2
- import { t as UserDocument } from "./document-CWYzG60q.cjs";
3
- import { t as UserAccountDocument } from "./document-IIJpsOIO.cjs";
4
- import * as v from "valibot";
5
-
6
- //#region src/entities/up-auth/mutation.d.ts
7
- declare const SUserToken: v.ObjectSchema<{
8
- readonly token: v.StringSchema<undefined>;
9
- }, undefined>;
10
- type SUserToken = v.InferOutput<typeof SUserToken>;
11
- declare const SLoginUser: v.ObjectSchema<{
12
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
13
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
14
- }, undefined>;
15
- type SLoginUser = v.InferOutput<typeof SLoginUser>;
16
- declare const SRegisterUser: v.ObjectSchema<{
17
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
18
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
19
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
20
- }, undefined>;
21
- type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
22
- declare const SForgotUserPassword: v.ObjectSchema<{
23
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
24
- }, undefined>;
25
- type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
26
- declare const SRequestConfirmEmail: v.ObjectSchema<{
27
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
28
- }, undefined>;
29
- type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
30
- declare const SResetUserPassword: v.ObjectSchema<{
31
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
32
- readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
33
- readonly code: v.StringSchema<undefined>;
34
- }, undefined>;
35
- type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
36
- declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
37
- readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
38
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
39
- readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
40
- }, undefined>, v.BaseValidation<{
41
- currentPassword: string;
42
- password: string;
43
- passwordConfirmation: string;
44
- }, {
45
- currentPassword: string;
46
- password: string;
47
- passwordConfirmation: string;
48
- }, v.PartialCheckIssue<{
49
- password: string;
50
- passwordConfirmation: string;
51
- }>>]>;
52
- type SChangePassword = v.InferOutput<typeof SChangePassword>;
53
- declare const SAuthRawAccessToken: v.ObjectSchema<{
54
- readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
55
- readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
56
- readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
57
- readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
59
- }, undefined>;
60
- type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
61
- declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
62
- readonly id_token: v.StringSchema<undefined>;
63
- readonly access_token: v.StringSchema<undefined>;
64
- readonly raw: v.OptionalSchema<v.ObjectSchema<{
65
- readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
66
- readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
67
- readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
68
- readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
69
- readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
70
- }, undefined>, undefined>;
71
- }, undefined>;
72
- type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
73
- declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
74
- readonly provider: v.StringSchema<undefined>;
75
- readonly search: v.ObjectSchema<{
76
- readonly id_token: v.StringSchema<undefined>;
77
- readonly access_token: v.StringSchema<undefined>;
78
- readonly raw: v.OptionalSchema<v.ObjectSchema<{
79
- readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
80
- readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
81
- readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
82
- readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
83
- readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
84
- }, undefined>, undefined>;
85
- }, undefined>;
86
- }, undefined>;
87
- type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
88
- //#endregion
89
- //#region src/entities/up-auth/types.d.ts
90
- type AuthorizedUserDocument = Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id"> & {
91
- account: UserAccountDocument;
92
- role: RoleDocument;
93
- };
94
- type UserAuthorizationSuccessResponse = {
95
- jwt: string;
96
- user: UserDocument;
97
- };
98
- //#endregion
99
- export { SAuthRawAccessToken as a, SLoginUser as c, SResetUserPassword as d, SUserToken as f, SAuthConnectProviderRedirectSearch as i, SRegisterUser as l, UserAuthorizationSuccessResponse as n, SChangePassword as o, SAuthConnectProviderConfirmation as r, SForgotUserPassword as s, AuthorizedUserDocument as t, SRequestConfirmEmail as u };
@@ -1,41 +0,0 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/base/query.schema.d.ts
4
- declare const QueryStrapiById: v.ObjectSchema<{
5
- readonly id: v.NumberSchema<undefined>;
6
- }, undefined>;
7
- type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
8
- declare const QueryStrapiByDocumentId: v.ObjectSchema<{
9
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
10
- }, undefined>;
11
- type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
12
- declare const QueryStrapiBySlug: v.ObjectSchema<{
13
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
14
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
15
- 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>;
16
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
17
- }, undefined>;
18
- type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
19
- declare const QueryStrapiByEmail: v.ObjectSchema<{
20
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
21
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
22
- 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>;
23
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
24
- }, undefined>;
25
- type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
26
- declare const QueryStrapiByPhone: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- 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>;
30
- 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.">]>;
31
- }, undefined>;
32
- type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
33
- declare const QueryStrapiByName: v.ObjectSchema<{
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- 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>;
37
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
38
- }, undefined>;
39
- type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
40
- //#endregion
41
- export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
@@ -1,41 +0,0 @@
1
- import * as v from "valibot";
2
-
3
- //#region src/base/query.schema.d.ts
4
- declare const QueryStrapiById: v.ObjectSchema<{
5
- readonly id: v.NumberSchema<undefined>;
6
- }, undefined>;
7
- type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
8
- declare const QueryStrapiByDocumentId: v.ObjectSchema<{
9
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
10
- }, undefined>;
11
- type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
12
- declare const QueryStrapiBySlug: v.ObjectSchema<{
13
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
14
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
15
- 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>;
16
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
17
- }, undefined>;
18
- type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
19
- declare const QueryStrapiByEmail: v.ObjectSchema<{
20
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
21
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
22
- 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>;
23
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
24
- }, undefined>;
25
- type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
26
- declare const QueryStrapiByPhone: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- 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>;
30
- 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.">]>;
31
- }, undefined>;
32
- type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
33
- declare const QueryStrapiByName: v.ObjectSchema<{
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- 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>;
37
- readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
38
- }, undefined>;
39
- type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
40
- //#endregion
41
- export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
@@ -1,57 +0,0 @@
1
- //#region src/base/response.d.ts
2
- type StrapiPagination = {
3
- page: number;
4
- pageSize: number;
5
- pageCount: number;
6
- total: number;
7
- };
8
- type StrapiResponseMeta = {
9
- pagination?: StrapiPagination;
10
- token?: string;
11
- };
12
- type StrapiResponseMetaWithPagination = Omit<StrapiResponseMeta, "pagination"> & {
13
- pagination: StrapiPagination;
14
- };
15
- type StrapiAttributeErrorKey<T> = {
16
- message: string;
17
- name: string;
18
- path: string[];
19
- value: T[keyof T];
20
- };
21
- type StrapiErrorDetail<T> = {
22
- status: string | number;
23
- name: string;
24
- message: string;
25
- details: Record<keyof T, string>;
26
- };
27
- type StrapiAttributeErrorDetail<T> = {
28
- status: string | number;
29
- name: string;
30
- message: string;
31
- details: {
32
- errors: StrapiAttributeErrorKey<T>[];
33
- };
34
- };
35
- type StrapiSingleResponse<T> = {
36
- data: T;
37
- meta?: StrapiResponseMeta;
38
- error?: undefined;
39
- };
40
- type StrapiListResponse<T> = {
41
- data: T[];
42
- meta: StrapiResponseMetaWithPagination;
43
- error?: undefined;
44
- };
45
- type StrapiErrorResponse<T> = {
46
- error: StrapiErrorDetail<T>;
47
- data: null;
48
- meta?: undefined;
49
- };
50
- type StrapiAttributeErrorResponse<T> = {
51
- error: StrapiAttributeErrorDetail<T>;
52
- data: null;
53
- meta?: undefined;
54
- };
55
- type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
56
- //#endregion
57
- export { StrapiErrorResponse as a, StrapiPagination as c, StrapiSingleResponse as d, StrapiErrorDetail as i, StrapiResponseMeta as l, StrapiAttributeErrorKey as n, StrapiErrorResult as o, StrapiAttributeErrorResponse as r, StrapiListResponse as s, StrapiAttributeErrorDetail as t, StrapiResponseMetaWithPagination as u };
@@ -1,57 +0,0 @@
1
- //#region src/base/response.d.ts
2
- type StrapiPagination = {
3
- page: number;
4
- pageSize: number;
5
- pageCount: number;
6
- total: number;
7
- };
8
- type StrapiResponseMeta = {
9
- pagination?: StrapiPagination;
10
- token?: string;
11
- };
12
- type StrapiResponseMetaWithPagination = Omit<StrapiResponseMeta, "pagination"> & {
13
- pagination: StrapiPagination;
14
- };
15
- type StrapiAttributeErrorKey<T> = {
16
- message: string;
17
- name: string;
18
- path: string[];
19
- value: T[keyof T];
20
- };
21
- type StrapiErrorDetail<T> = {
22
- status: string | number;
23
- name: string;
24
- message: string;
25
- details: Record<keyof T, string>;
26
- };
27
- type StrapiAttributeErrorDetail<T> = {
28
- status: string | number;
29
- name: string;
30
- message: string;
31
- details: {
32
- errors: StrapiAttributeErrorKey<T>[];
33
- };
34
- };
35
- type StrapiSingleResponse<T> = {
36
- data: T;
37
- meta?: StrapiResponseMeta;
38
- error?: undefined;
39
- };
40
- type StrapiListResponse<T> = {
41
- data: T[];
42
- meta: StrapiResponseMetaWithPagination;
43
- error?: undefined;
44
- };
45
- type StrapiErrorResponse<T> = {
46
- error: StrapiErrorDetail<T>;
47
- data: null;
48
- meta?: undefined;
49
- };
50
- type StrapiAttributeErrorResponse<T> = {
51
- error: StrapiAttributeErrorDetail<T>;
52
- data: null;
53
- meta?: undefined;
54
- };
55
- type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
56
- //#endregion
57
- export { StrapiErrorResponse as a, StrapiPagination as c, StrapiSingleResponse as d, StrapiErrorDetail as i, StrapiResponseMeta as l, StrapiAttributeErrorKey as n, StrapiErrorResult as o, StrapiAttributeErrorResponse as r, StrapiListResponse as s, StrapiAttributeErrorDetail as t, StrapiResponseMetaWithPagination as u };
@@ -1,49 +0,0 @@
1
- //#region src/constants/strapi.ts
2
- const CONTENT_STATUS = ["draft", "published"];
3
- const STRAPI_SPECIAL_ENTITIES = ["formatter"];
4
- const STRAPI_COLLECTION_ENTITIES = [
5
- "audit-logs",
6
- "blog-posts",
7
- "categories",
8
- "clients",
9
- "client-users",
10
- "client-content-pillars",
11
- "client-media-platforms",
12
- "client-projects",
13
- "client-reports",
14
- "client-styleguides",
15
- "comments",
16
- "comment-reports",
17
- "content-pillars",
18
- "gc-fly-tours",
19
- "gc-fly-tour-snaps",
20
- "leads",
21
- "media-content-types",
22
- "media-creative-formats",
23
- "media-mediums",
24
- "media-platforms",
25
- "monday-workspaces",
26
- "newsletter-signups",
27
- "products",
28
- "product-highlights",
29
- "resumes",
30
- "tags",
31
- "team-members",
32
- "trends",
33
- "url-redirections",
34
- "users",
35
- "user-accounts",
36
- "utm-tracking-links"
37
- ];
38
- const STRAPI_SINGLE_ENTITIES = [
39
- "blog-page",
40
- "careers-page",
41
- "faq",
42
- "landing-page",
43
- "privacy-policy",
44
- "sms-policy",
45
- "team-page",
46
- "utm-meta"
47
- ];
48
- //#endregion
49
- export { STRAPI_SPECIAL_ENTITIES as i, STRAPI_COLLECTION_ENTITIES as n, STRAPI_SINGLE_ENTITIES as r, CONTENT_STATUS as t };
@@ -1,72 +0,0 @@
1
- //#region src/constants/strapi.ts
2
- const CONTENT_STATUS = ["draft", "published"];
3
- const STRAPI_SPECIAL_ENTITIES = ["formatter"];
4
- const STRAPI_COLLECTION_ENTITIES = [
5
- "audit-logs",
6
- "blog-posts",
7
- "categories",
8
- "clients",
9
- "client-users",
10
- "client-content-pillars",
11
- "client-media-platforms",
12
- "client-projects",
13
- "client-reports",
14
- "client-styleguides",
15
- "comments",
16
- "comment-reports",
17
- "content-pillars",
18
- "gc-fly-tours",
19
- "gc-fly-tour-snaps",
20
- "leads",
21
- "media-content-types",
22
- "media-creative-formats",
23
- "media-mediums",
24
- "media-platforms",
25
- "monday-workspaces",
26
- "newsletter-signups",
27
- "products",
28
- "product-highlights",
29
- "resumes",
30
- "tags",
31
- "team-members",
32
- "trends",
33
- "url-redirections",
34
- "users",
35
- "user-accounts",
36
- "utm-tracking-links"
37
- ];
38
- const STRAPI_SINGLE_ENTITIES = [
39
- "blog-page",
40
- "careers-page",
41
- "faq",
42
- "landing-page",
43
- "privacy-policy",
44
- "sms-policy",
45
- "team-page",
46
- "utm-meta"
47
- ];
48
- //#endregion
49
- Object.defineProperty(exports, "CONTENT_STATUS", {
50
- enumerable: true,
51
- get: function() {
52
- return CONTENT_STATUS;
53
- }
54
- });
55
- Object.defineProperty(exports, "STRAPI_COLLECTION_ENTITIES", {
56
- enumerable: true,
57
- get: function() {
58
- return STRAPI_COLLECTION_ENTITIES;
59
- }
60
- });
61
- Object.defineProperty(exports, "STRAPI_SINGLE_ENTITIES", {
62
- enumerable: true,
63
- get: function() {
64
- return STRAPI_SINGLE_ENTITIES;
65
- }
66
- });
67
- Object.defineProperty(exports, "STRAPI_SPECIAL_ENTITIES", {
68
- enumerable: true,
69
- get: function() {
70
- return STRAPI_SPECIAL_ENTITIES;
71
- }
72
- });