@getcommunity/gc-validators 0.0.276 → 0.0.278
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.
- package/dist/base/index.cjs +5 -5
- package/dist/base/index.d.cts +3 -4
- package/dist/base/index.d.mts +3 -4
- package/dist/base/index.mjs +3 -3
- package/dist/components/blocks/index.d.cts +1 -1
- package/dist/components/blocks/index.d.mts +1 -1
- package/dist/components/brand/index.d.cts +1 -1
- package/dist/components/brand/index.d.mts +1 -1
- package/dist/components/shared/index.d.cts +1 -1
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/components/utm/index.d.cts +1 -1
- package/dist/components/utm/index.d.mts +1 -1
- package/dist/{document-DsFq-NTW.d.mts → document-3hTWmquv.d.mts} +11 -11
- package/dist/{document-BMjLKznC.d.cts → document-BXsy4KNE.d.cts} +1 -1
- package/dist/{document-e9e67Lic.d.mts → document-BsvqfpxB.d.mts} +1 -1
- package/dist/{document-DMXDGfAf.d.mts → document-CiG8U9vx.d.mts} +1 -1
- package/dist/{document-B5yjTW9j.d.cts → document-CsB4mNwa.d.cts} +11 -11
- package/dist/{document-B7kKDFJO.d.cts → document-D-zjo9iJ.d.cts} +5 -5
- package/dist/{document-DQ7MVuRL.d.mts → document-DpDI8RH7.d.mts} +5 -5
- package/dist/{document-DeHWmViz.d.cts → document-DzKOJL_N.d.cts} +1 -1
- package/dist/entities/audit-log/fields.cjs +0 -3
- package/dist/entities/audit-log/fields.d.cts +1 -4
- package/dist/entities/audit-log/fields.d.mts +1 -4
- package/dist/entities/audit-log/fields.mjs +2 -4
- package/dist/entities/audit-log/query.cjs +2 -1
- package/dist/entities/audit-log/query.d.cts +1 -2
- package/dist/entities/audit-log/query.d.mts +1 -2
- package/dist/entities/audit-log/query.mjs +3 -2
- package/dist/entities/blog-page/document.d.cts +1 -1
- package/dist/entities/blog-page/document.d.mts +1 -1
- package/dist/entities/blog-post/document.d.cts +1 -1
- package/dist/entities/blog-post/document.d.mts +1 -1
- package/dist/entities/blog-post/fields.cjs +0 -3
- package/dist/entities/blog-post/fields.d.cts +2 -2
- package/dist/entities/blog-post/fields.d.mts +2 -2
- package/dist/entities/blog-post/fields.mjs +2 -4
- package/dist/entities/blog-post/query.cjs +3 -3
- package/dist/entities/blog-post/query.d.cts +2 -3
- package/dist/entities/blog-post/query.d.mts +2 -3
- package/dist/entities/blog-post/query.mjs +3 -3
- package/dist/entities/careers-page/document.d.cts +1 -1
- package/dist/entities/careers-page/document.d.mts +1 -1
- package/dist/entities/category/document.d.cts +1 -1
- package/dist/entities/category/document.d.mts +1 -1
- package/dist/entities/category/query.cjs +2 -2
- package/dist/entities/category/query.d.cts +1 -2
- package/dist/entities/category/query.d.mts +1 -2
- package/dist/entities/category/query.mjs +2 -2
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/fields.cjs +0 -3
- package/dist/entities/client/fields.d.cts +2 -4
- package/dist/entities/client/fields.d.mts +2 -4
- package/dist/entities/client/fields.mjs +2 -4
- package/dist/entities/client/query.cjs +2 -1
- package/dist/entities/client/query.d.cts +1 -2
- package/dist/entities/client/query.d.mts +1 -2
- package/dist/entities/client/query.mjs +3 -2
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/query.cjs +2 -2
- package/dist/entities/client-content-pillar/query.d.cts +1 -2
- package/dist/entities/client-content-pillar/query.d.mts +1 -2
- package/dist/entities/client-content-pillar/query.mjs +2 -2
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/query.cjs +2 -2
- package/dist/entities/client-media-platform/query.d.cts +1 -2
- package/dist/entities/client-media-platform/query.d.mts +1 -2
- package/dist/entities/client-media-platform/query.mjs +2 -2
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/fields.cjs +0 -3
- package/dist/entities/client-project/fields.d.cts +2 -2
- package/dist/entities/client-project/fields.d.mts +2 -2
- package/dist/entities/client-project/fields.mjs +2 -4
- package/dist/entities/client-project/query.cjs +2 -1
- package/dist/entities/client-project/query.d.cts +1 -2
- package/dist/entities/client-project/query.d.mts +1 -2
- package/dist/entities/client-project/query.mjs +3 -2
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/query.cjs +2 -2
- package/dist/entities/client-report/query.d.cts +1 -2
- package/dist/entities/client-report/query.d.mts +1 -2
- package/dist/entities/client-report/query.mjs +2 -2
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/query.cjs +2 -2
- package/dist/entities/client-styleguide/query.d.cts +1 -2
- package/dist/entities/client-styleguide/query.d.mts +1 -2
- package/dist/entities/client-styleguide/query.mjs +2 -2
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/fields.cjs +0 -4
- package/dist/entities/client-user/fields.d.cts +2 -2
- package/dist/entities/client-user/fields.d.mts +2 -2
- package/dist/entities/client-user/fields.mjs +1 -4
- package/dist/entities/client-user/mutation.d.cts +1 -1
- package/dist/entities/client-user/mutation.d.mts +1 -1
- package/dist/entities/comment/document.d.cts +1 -1
- package/dist/entities/comment/document.d.mts +1 -1
- package/dist/entities/comment/fields.cjs +0 -3
- package/dist/entities/comment/fields.d.cts +2 -2
- package/dist/entities/comment/fields.d.mts +2 -2
- package/dist/entities/comment/fields.mjs +2 -4
- package/dist/entities/comment/query.cjs +3 -3
- package/dist/entities/comment/query.d.cts +2 -3
- package/dist/entities/comment/query.d.mts +2 -3
- package/dist/entities/comment/query.mjs +3 -3
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/query.cjs +2 -2
- package/dist/entities/content-pillar/query.d.cts +1 -2
- package/dist/entities/content-pillar/query.d.mts +1 -2
- package/dist/entities/content-pillar/query.mjs +2 -2
- package/dist/entities/faq-page/document.d.cts +2 -2
- package/dist/entities/faq-page/document.d.mts +2 -2
- package/dist/entities/gcflytour/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/query.cjs +2 -2
- package/dist/entities/gcflytour/query.d.cts +1 -2
- package/dist/entities/gcflytour/query.d.mts +1 -2
- package/dist/entities/gcflytour/query.mjs +2 -2
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +2 -2
- package/dist/entities/gcflytour-snap/query.d.cts +1 -2
- package/dist/entities/gcflytour-snap/query.d.mts +1 -2
- package/dist/entities/gcflytour-snap/query.mjs +2 -2
- package/dist/entities/landing-page/document.d.cts +2 -2
- package/dist/entities/landing-page/document.d.mts +2 -2
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/query.cjs +2 -2
- package/dist/entities/media-content-type/query.d.cts +1 -2
- package/dist/entities/media-content-type/query.d.mts +1 -2
- package/dist/entities/media-content-type/query.mjs +2 -2
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/query.cjs +2 -2
- package/dist/entities/media-creative-format/query.d.cts +1 -2
- package/dist/entities/media-creative-format/query.d.mts +1 -2
- package/dist/entities/media-creative-format/query.mjs +2 -2
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/query.cjs +2 -2
- package/dist/entities/media-medium/query.d.cts +1 -2
- package/dist/entities/media-medium/query.d.mts +1 -2
- package/dist/entities/media-medium/query.mjs +2 -2
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/query.cjs +2 -2
- package/dist/entities/media-platform/query.d.cts +1 -2
- package/dist/entities/media-platform/query.d.mts +1 -2
- package/dist/entities/media-platform/query.mjs +2 -2
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/query.cjs +2 -2
- package/dist/entities/monday-workspace/query.d.cts +1 -2
- package/dist/entities/monday-workspace/query.d.mts +1 -2
- package/dist/entities/monday-workspace/query.mjs +2 -2
- package/dist/entities/policy-page/document.d.cts +1 -1
- package/dist/entities/policy-page/document.d.mts +1 -1
- package/dist/entities/product/document.d.cts +1 -1
- package/dist/entities/product/document.d.mts +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/tag/document.d.cts +1 -1
- package/dist/entities/tag/document.d.mts +1 -1
- package/dist/entities/tag/query.cjs +2 -2
- package/dist/entities/tag/query.d.cts +1 -2
- package/dist/entities/tag/query.d.mts +1 -2
- package/dist/entities/tag/query.mjs +2 -2
- package/dist/entities/team-member/document.d.cts +1 -1
- package/dist/entities/team-member/document.d.mts +1 -1
- package/dist/entities/team-member/fields.cjs +0 -3
- package/dist/entities/team-member/fields.d.cts +2 -2
- package/dist/entities/team-member/fields.d.mts +2 -2
- package/dist/entities/team-member/fields.mjs +2 -4
- package/dist/entities/team-member/query.cjs +2 -1
- package/dist/entities/team-member/query.d.cts +12 -13
- package/dist/entities/team-member/query.d.mts +12 -13
- package/dist/entities/team-member/query.mjs +3 -2
- package/dist/entities/team-page/document.d.cts +1 -1
- package/dist/entities/team-page/document.d.mts +1 -1
- package/dist/entities/teamwork/fields.cjs +2 -1
- package/dist/entities/teamwork/fields.d.cts +1 -1
- package/dist/entities/teamwork/fields.d.mts +1 -1
- package/dist/entities/teamwork/fields.mjs +2 -1
- package/dist/entities/teamwork/query.d.cts +1 -1
- package/dist/entities/teamwork/query.d.mts +1 -1
- package/dist/entities/trend/document.d.cts +1 -1
- package/dist/entities/trend/document.d.mts +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -1
- package/dist/entities/up-auth/mutation.d.mts +1 -1
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/fields.d.cts +1 -1
- package/dist/entities/up-role/fields.d.mts +1 -1
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/fields.cjs +1 -6
- package/dist/entities/up-user/fields.d.cts +1 -4
- package/dist/entities/up-user/fields.d.mts +1 -4
- package/dist/entities/up-user/fields.mjs +1 -4
- package/dist/entities/up-user/query.cjs +2 -2
- package/dist/entities/up-user/query.d.cts +1 -2
- package/dist/entities/up-user/query.d.mts +1 -2
- package/dist/entities/up-user/query.mjs +2 -2
- package/dist/entities/url-redirect/fields.cjs +0 -3
- package/dist/entities/url-redirect/fields.d.cts +1 -4
- package/dist/entities/url-redirect/fields.d.mts +1 -4
- package/dist/entities/url-redirect/fields.mjs +2 -4
- package/dist/entities/url-redirect/query.cjs +2 -2
- package/dist/entities/url-redirect/query.d.cts +1 -2
- package/dist/entities/url-redirect/query.d.mts +1 -2
- package/dist/entities/url-redirect/query.mjs +2 -2
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.d.cts +1 -1
- package/dist/entities/user-account/query.d.mts +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/fields.cjs +0 -4
- package/dist/entities/utm-tracking-link/fields.d.cts +1 -4
- package/dist/entities/utm-tracking-link/fields.d.mts +1 -4
- package/dist/entities/utm-tracking-link/fields.mjs +1 -4
- package/dist/entities/utm-tracking-link/query.cjs +2 -1
- package/dist/entities/utm-tracking-link/query.d.cts +1 -2
- package/dist/entities/utm-tracking-link/query.d.mts +1 -2
- package/dist/entities/utm-tracking-link/query.mjs +3 -2
- package/dist/{fields-BNS6GlPT.d.mts → fields-BFPtJRX6.d.mts} +1 -4
- package/dist/{fields-BTUnOHmB.d.cts → fields-BI0r8ZIi.d.mts} +1 -4
- package/dist/{fields-BmQJMVWd.d.mts → fields-C7i8-E1D.d.mts} +1 -4
- package/dist/fields-CMHb4EEC.d.cts +9 -0
- package/dist/{fields-C3SbpCep.d.cts → fields-Co7Vh1tg.d.cts} +1 -4
- package/dist/{fields-BU_IFcBS.d.cts → fields-CsF3gS06.d.cts} +1 -4
- package/dist/{fields-DzDtA1n5.d.mts → fields-CyQ4-rQA.d.cts} +1 -4
- package/dist/fields-P_Lcpdiy.d.mts +9 -0
- package/dist/{fields-pg0wUFO1.d.mts → fields-_jMS7xO7.d.mts} +1 -4
- package/dist/{fields-DlXUyYib.d.cts → fields-_l499YlX.d.cts} +1 -4
- package/dist/{index-aDI95Sb4.d.mts → index-B-7gfvuK.d.mts} +11 -3
- package/dist/{index-BxaLO7l5.d.cts → index-Bw3YI_KS.d.cts} +11 -3
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/{query-CSfOccGr.cjs → query-1Ip28gvY.cjs} +2 -2
- package/dist/{query-Br0zLHlB.d.cts → query-70ea3TvX.d.mts} +4 -5
- package/dist/{query-Do-NCMdA.d.mts → query-BdXh0oYJ.d.cts} +4 -5
- package/dist/{query-BHNEJy6B.mjs → query-DQ5QAB2B.mjs} +2 -2
- package/dist/sort-CvgExm09.cjs +27 -0
- package/dist/sort-i9OLHfrW.mjs +8 -0
- package/dist/utilities/index.d.cts +3 -3
- package/dist/utilities/index.d.mts +3 -3
- package/package.json +1 -1
- package/dist/entities/category/fields.cjs +0 -7
- package/dist/entities/category/fields.d.cts +0 -8
- package/dist/entities/category/fields.d.mts +0 -8
- package/dist/entities/category/fields.mjs +0 -6
- package/dist/entities/client-content-pillar/fields.cjs +0 -7
- package/dist/entities/client-content-pillar/fields.d.cts +0 -8
- package/dist/entities/client-content-pillar/fields.d.mts +0 -8
- package/dist/entities/client-content-pillar/fields.mjs +0 -6
- package/dist/entities/client-media-platform/fields.cjs +0 -7
- package/dist/entities/client-media-platform/fields.d.cts +0 -8
- package/dist/entities/client-media-platform/fields.d.mts +0 -8
- package/dist/entities/client-media-platform/fields.mjs +0 -6
- package/dist/entities/client-report/fields.cjs +0 -7
- package/dist/entities/client-report/fields.d.cts +0 -8
- package/dist/entities/client-report/fields.d.mts +0 -8
- package/dist/entities/client-report/fields.mjs +0 -6
- package/dist/entities/client-styleguide/fields.cjs +0 -7
- package/dist/entities/client-styleguide/fields.d.cts +0 -8
- package/dist/entities/client-styleguide/fields.d.mts +0 -8
- package/dist/entities/client-styleguide/fields.mjs +0 -6
- package/dist/entities/content-pillar/fields.cjs +0 -7
- package/dist/entities/content-pillar/fields.d.cts +0 -8
- package/dist/entities/content-pillar/fields.d.mts +0 -8
- package/dist/entities/content-pillar/fields.mjs +0 -6
- package/dist/entities/gcflytour/fields.cjs +0 -7
- package/dist/entities/gcflytour/fields.d.cts +0 -8
- package/dist/entities/gcflytour/fields.d.mts +0 -8
- package/dist/entities/gcflytour/fields.mjs +0 -6
- package/dist/entities/gcflytour-snap/fields.cjs +0 -7
- package/dist/entities/gcflytour-snap/fields.d.cts +0 -8
- package/dist/entities/gcflytour-snap/fields.d.mts +0 -8
- package/dist/entities/gcflytour-snap/fields.mjs +0 -6
- package/dist/entities/media-content-type/fields.cjs +0 -7
- package/dist/entities/media-content-type/fields.d.cts +0 -8
- package/dist/entities/media-content-type/fields.d.mts +0 -8
- package/dist/entities/media-content-type/fields.mjs +0 -6
- package/dist/entities/media-creative-format/fields.cjs +0 -7
- package/dist/entities/media-creative-format/fields.d.cts +0 -8
- package/dist/entities/media-creative-format/fields.d.mts +0 -8
- package/dist/entities/media-creative-format/fields.mjs +0 -6
- package/dist/entities/media-medium/fields.cjs +0 -7
- package/dist/entities/media-medium/fields.d.cts +0 -8
- package/dist/entities/media-medium/fields.d.mts +0 -8
- package/dist/entities/media-medium/fields.mjs +0 -6
- package/dist/entities/media-platform/fields.cjs +0 -7
- package/dist/entities/media-platform/fields.d.cts +0 -8
- package/dist/entities/media-platform/fields.d.mts +0 -8
- package/dist/entities/media-platform/fields.mjs +0 -6
- package/dist/entities/monday-workspace/fields.cjs +0 -7
- package/dist/entities/monday-workspace/fields.d.cts +0 -8
- package/dist/entities/monday-workspace/fields.d.mts +0 -8
- package/dist/entities/monday-workspace/fields.mjs +0 -6
- package/dist/entities/tag/fields.cjs +0 -7
- package/dist/entities/tag/fields.d.cts +0 -8
- package/dist/entities/tag/fields.d.mts +0 -8
- package/dist/entities/tag/fields.mjs +0 -6
- package/dist/fields-B1AuVHPV.d.mts +0 -12
- package/dist/fields-DCX8ixQS.d.cts +0 -12
- package/dist/sort-BJrzr4Xl.mjs +0 -14
- package/dist/sort-CGhEoZGd.d.mts +0 -12
- package/dist/sort-D9B3xl2d.d.cts +0 -12
- package/dist/sort-DIln8tn5.cjs +0 -33
- /package/dist/{document-DxjJgk8X.d.mts → document-CpsxYzbB.d.cts} +0 -0
- /package/dist/{document-IA5g9kSc.d.cts → document-DKq_Q1Fp.d.mts} +0 -0
- /package/dist/{fields-BaWTQtqo.d.mts → fields-6yrZo7iR.d.cts} +0 -0
- /package/dist/{fields-CBluzZFa.d.cts → fields-Bv0zqexk.d.mts} +0 -0
- /package/dist/{index-zowAUXa0.d.cts → index-BPyXHZCW.d.cts} +0 -0
- /package/dist/{index-BT8Pa9XY.d.mts → index-C0WLYmaL.d.mts} +0 -0
- /package/dist/{index-CV7T00Qq.d.mts → index-C7WOTCBJ.d.mts} +0 -0
- /package/dist/{index-BwLZjlo3.d.cts → index-D2Znu2Fy.d.mts} +0 -0
- /package/dist/{index-BSEaV9wd.d.mts → index-D5HZmlQi.d.mts} +0 -0
- /package/dist/{index-ie_YU9zh.d.cts → index-IfpNoHXk.d.cts} +0 -0
- /package/dist/{index-CtcVMald.d.cts → index-NBz_zMvQ.d.cts} +0 -0
- /package/dist/{index-Dvu63a8_.d.mts → index-xUEv4qyE.d.cts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-BdXh0oYJ.cjs";
|
|
2
2
|
import * as _$valibot from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/user-account/query.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-70ea3TvX.mjs";
|
|
2
2
|
import * as _$valibot from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/user-account/query.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-DQ5QAB2B.mjs";
|
|
2
2
|
//#region src/entities/user-account/query.ts
|
|
3
3
|
const SReadUserAccountById = QueryStrapiById;
|
|
4
4
|
const SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as UtmTrackingLinkDocument } from "../../document-
|
|
1
|
+
import { _ as UtmTrackingLinkDocument } from "../../document-CsB4mNwa.cjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as UtmTrackingLinkDocument } from "../../document-
|
|
1
|
+
import { _ as UtmTrackingLinkDocument } from "../../document-3hTWmquv.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_limits = require("../../limits-CW6iJ7kB.cjs");
|
|
3
|
-
const require_sort = require("../../sort-DIln8tn5.cjs");
|
|
4
3
|
const require_regex = require("../../regex-BEFTMiHO.cjs");
|
|
5
4
|
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
6
|
-
const require_entities_utm_tracking_link_constants = require("./constants.cjs");
|
|
7
5
|
//#region src/entities/utm-tracking-link/fields.ts
|
|
8
|
-
const QuerySortUtmTrackingLinks = require_sort.createQuerySort(require_entities_utm_tracking_link_constants.UTM_TRACKING_LINK_SORT_KEYS);
|
|
9
6
|
const ValidUtmSource = require_string.VStringMinMaxRegex(1, require_limits.LIMIT_MAX_UTM_SOURCE, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
10
7
|
const ValidUtmMedium = require_string.VStringMinMaxRegex(1, require_limits.LIMIT_MAX_UTM_MEDIUM, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
11
8
|
const ValidUtmCampaign = require_string.VStringMinMaxRegex(1, require_limits.LIMIT_MAX_UTM_CAMPAIGN, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
@@ -13,7 +10,6 @@ const ValidUtmContent = require_string.VStringMinMaxRegex(1, require_limits.LIMI
|
|
|
13
10
|
const ValidUtmCreativeFormat = require_string.VStringMinMaxRegex(1, require_limits.LIMIT_MAX_UTM_CREATIVE_FORMAT, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
14
11
|
const ValidUtmId = require_string.VStringMinMaxRegex(1, require_limits.LIMIT_MAX_UTM_ID, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
15
12
|
//#endregion
|
|
16
|
-
exports.QuerySortUtmTrackingLinks = QuerySortUtmTrackingLinks;
|
|
17
13
|
exports.ValidUtmCampaign = ValidUtmCampaign;
|
|
18
14
|
exports.ValidUtmContent = ValidUtmContent;
|
|
19
15
|
exports.ValidUtmCreativeFormat = ValidUtmCreativeFormat;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "../../sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/utm-tracking-link/fields.d.ts
|
|
5
|
-
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"id" | "url" | "createdAt" | "updatedAt" | "is_active" | "client" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>;
|
|
6
|
-
type QuerySortUtmTrackingLinks = v.InferOutput<typeof QuerySortUtmTrackingLinks>;
|
|
7
4
|
declare const ValidUtmSource: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
8
5
|
type ValidUtmSource = v.InferOutput<typeof ValidUtmSource>;
|
|
9
6
|
declare const ValidUtmMedium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
@@ -17,4 +14,4 @@ type ValidUtmCreativeFormat = v.InferOutput<typeof ValidUtmCreativeFormat>;
|
|
|
17
14
|
declare const ValidUtmId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
18
15
|
type ValidUtmId = v.InferOutput<typeof ValidUtmId>;
|
|
19
16
|
//#endregion
|
|
20
|
-
export {
|
|
17
|
+
export { ValidUtmCampaign, ValidUtmContent, ValidUtmCreativeFormat, ValidUtmId, ValidUtmMedium, ValidUtmSource };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "../../sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/utm-tracking-link/fields.d.ts
|
|
5
|
-
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"id" | "url" | "createdAt" | "updatedAt" | "is_active" | "client" | "campaign_product" | "campaign_targeting" | "campaign_key" | "campaign_phase" | "creative_format" | "creative_format_variants" | "creator" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id">>;
|
|
6
|
-
type QuerySortUtmTrackingLinks = v.InferOutput<typeof QuerySortUtmTrackingLinks>;
|
|
7
4
|
declare const ValidUtmSource: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
8
5
|
type ValidUtmSource = v.InferOutput<typeof ValidUtmSource>;
|
|
9
6
|
declare const ValidUtmMedium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
@@ -17,4 +14,4 @@ type ValidUtmCreativeFormat = v.InferOutput<typeof ValidUtmCreativeFormat>;
|
|
|
17
14
|
declare const ValidUtmId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
18
15
|
type ValidUtmId = v.InferOutput<typeof ValidUtmId>;
|
|
19
16
|
//#endregion
|
|
20
|
-
export {
|
|
17
|
+
export { ValidUtmCampaign, ValidUtmContent, ValidUtmCreativeFormat, ValidUtmId, ValidUtmMedium, ValidUtmSource };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { c as LIMIT_MAX_UTM_CONTENT, d as LIMIT_MAX_UTM_MEDIUM, f as LIMIT_MAX_UTM_SOURCE, l as LIMIT_MAX_UTM_CREATIVE_FORMAT, s as LIMIT_MAX_UTM_CAMPAIGN, u as LIMIT_MAX_UTM_ID } from "../../limits-CKGuEuKA.mjs";
|
|
2
|
-
import { r as createQuerySort } from "../../sort-BJrzr4Xl.mjs";
|
|
3
2
|
import { r as ERROR_MESSAGE_REGEX_UTM_VALUE, s as REGEX_UTM_VALUE } from "../../regex-pSdcbWzV.mjs";
|
|
4
3
|
import { o as VStringMinMaxRegex } from "../../string-BHHnD2Qu.mjs";
|
|
5
|
-
import { UTM_TRACKING_LINK_SORT_KEYS } from "./constants.mjs";
|
|
6
4
|
//#region src/entities/utm-tracking-link/fields.ts
|
|
7
|
-
const QuerySortUtmTrackingLinks = createQuerySort(UTM_TRACKING_LINK_SORT_KEYS);
|
|
8
5
|
const ValidUtmSource = VStringMinMaxRegex(1, LIMIT_MAX_UTM_SOURCE, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
9
6
|
const ValidUtmMedium = VStringMinMaxRegex(1, LIMIT_MAX_UTM_MEDIUM, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
10
7
|
const ValidUtmCampaign = VStringMinMaxRegex(1, LIMIT_MAX_UTM_CAMPAIGN, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
@@ -12,4 +9,4 @@ const ValidUtmContent = VStringMinMaxRegex(1, LIMIT_MAX_UTM_CONTENT, REGEX_UTM_V
|
|
|
12
9
|
const ValidUtmCreativeFormat = VStringMinMaxRegex(1, LIMIT_MAX_UTM_CREATIVE_FORMAT, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
13
10
|
const ValidUtmId = VStringMinMaxRegex(1, LIMIT_MAX_UTM_ID, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE);
|
|
14
11
|
//#endregion
|
|
15
|
-
export {
|
|
12
|
+
export { ValidUtmCampaign, ValidUtmContent, ValidUtmCreativeFormat, ValidUtmId, ValidUtmMedium, ValidUtmSource };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_pagination = require("../../pagination-DWZDPzR4.cjs");
|
|
4
|
+
const require_sort = require("../../sort-CvgExm09.cjs");
|
|
4
5
|
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
5
6
|
const require_relationships = require("../../relationships-Ai5zevNv.cjs");
|
|
6
7
|
const require_utm = require("../../utm-BqkYlpua.cjs");
|
|
@@ -32,7 +33,7 @@ const QueryStrapiSearchUtmTrackingLinks = valibot.object({
|
|
|
32
33
|
url: valibot.optional(require_utm.VStringUrlUtm()),
|
|
33
34
|
is_active: valibot.optional(valibot.boolean()),
|
|
34
35
|
notes: valibot.optional(require_string.VStringShort(0)),
|
|
35
|
-
sort: valibot.optional(
|
|
36
|
+
sort: valibot.optional(require_sort.QuerySortValues)
|
|
36
37
|
});
|
|
37
38
|
//#endregion
|
|
38
39
|
exports.QueryStrapiSearchUtmTrackingLinks = QueryStrapiSearchUtmTrackingLinks;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "../../sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/utm-tracking-link/query.d.ts
|
|
@@ -25,7 +24,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
|
|
|
25
24
|
readonly url: v.OptionalSchema<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.">]>, undefined>;
|
|
26
25
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
27
26
|
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
-
readonly sort: v.OptionalSchema<v.
|
|
27
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
29
28
|
}, undefined>;
|
|
30
29
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
31
30
|
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "../../sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/utm-tracking-link/query.d.ts
|
|
@@ -25,7 +24,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
|
|
|
25
24
|
readonly url: v.OptionalSchema<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.">]>, undefined>;
|
|
26
25
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
27
26
|
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
28
|
-
readonly sort: v.OptionalSchema<v.
|
|
27
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
29
28
|
}, undefined>;
|
|
30
29
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
31
30
|
//#endregion
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
|
|
2
|
+
import { t as QuerySortValues } from "../../sort-i9OLHfrW.mjs";
|
|
2
3
|
import { s as VStringShort } from "../../string-BHHnD2Qu.mjs";
|
|
3
4
|
import { c as QueryManyEntities } from "../../relationships-yau3vYSK.mjs";
|
|
4
5
|
import { n as VStringUrlUtm, t as VStringUrlNoUtm } from "../../utm-ZUwmBoR2.mjs";
|
|
5
6
|
import "./constants.mjs";
|
|
6
|
-
import {
|
|
7
|
+
import { ValidUtmCampaign, ValidUtmContent, ValidUtmCreativeFormat, ValidUtmId, ValidUtmMedium, ValidUtmSource } from "./fields.mjs";
|
|
7
8
|
import * as v from "valibot";
|
|
8
9
|
//#region src/entities/utm-tracking-link/query.ts
|
|
9
10
|
const QueryStrapiSearchUtmTrackingLinks = v.object({
|
|
@@ -29,7 +30,7 @@ const QueryStrapiSearchUtmTrackingLinks = v.object({
|
|
|
29
30
|
url: v.optional(VStringUrlUtm()),
|
|
30
31
|
is_active: v.optional(v.boolean()),
|
|
31
32
|
notes: v.optional(VStringShort(0)),
|
|
32
|
-
sort: v.optional(
|
|
33
|
+
sort: v.optional(QuerySortValues)
|
|
33
34
|
});
|
|
34
35
|
//#endregion
|
|
35
36
|
export { QueryStrapiSearchUtmTrackingLinks };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/permissions/constants.d.ts
|
|
@@ -29,9 +28,7 @@ declare const CLIENT_ENTITY_KEYS: ClientEntityKey[];
|
|
|
29
28
|
declare const CLIENT_ENTITY_SCOPES: ClientEntityScope[];
|
|
30
29
|
//#endregion
|
|
31
30
|
//#region src/entities/client-user/fields.d.ts
|
|
32
|
-
declare const QuerySortClientUsers: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "client.title" | "client.teamwork_id" | "client.teamwork_name" | "client.is_active" | "client.allow_create_utm_link" | "client.is_paid_media" | "client.is_organic_social" | "user.username" | "user.email" | "user.confirmed" | "user.blocked">>;
|
|
33
|
-
type QuerySortClientUsers = v.InferOutput<typeof QuerySortClientUsers>;
|
|
34
31
|
declare const ClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>;
|
|
35
32
|
type ClientUserScopes = v.InferOutput<typeof ClientUserScopes>;
|
|
36
33
|
//#endregion
|
|
37
|
-
export {
|
|
34
|
+
export { ClientEntityActions as a, CLIENT_ENTITY_SCOPES as i, CLIENT_ENTITY_KEYS as n, ClientEntityKey as o, CLIENT_ENTITY_PERMISSIONS as r, ClientEntityScope as s, ClientUserScopes as t };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/blog-post/fields.d.ts
|
|
5
|
-
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_live" | "is_featured" | "is_public" | "published">>;
|
|
6
|
-
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
7
4
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
8
5
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
9
6
|
declare const BlogPostBlock: v.UnionSchema<[v.LazySchema<v.ObjectSchema<{
|
|
@@ -642,4 +639,4 @@ declare const BlogPostBlock: v.UnionSchema<[v.LazySchema<v.ObjectSchema<{
|
|
|
642
639
|
}, undefined>>], undefined>;
|
|
643
640
|
type BlogPostBlock = v.InferOutput<typeof BlogPostBlock>;
|
|
644
641
|
//#endregion
|
|
645
|
-
export { BlogPostLayout as n,
|
|
642
|
+
export { BlogPostLayout as n, BlogPostBlock as t };
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/team-member/fields.d.ts
|
|
5
|
-
declare const QuerySortTeamMembers: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "name" | "order" | "tier" | "group" | "is_employed">>;
|
|
6
|
-
type QuerySortTeamMembers = v.InferOutput<typeof QuerySortTeamMembers>;
|
|
7
4
|
declare const TeamMemberTier: v.PicklistSchema<readonly ["owner", "manager", "employee"], undefined>;
|
|
8
5
|
type TeamMemberTier = v.InferOutput<typeof TeamMemberTier>;
|
|
9
6
|
declare const TeamMemberGroup: v.PicklistSchema<readonly ["account", "media", "creative"], undefined>;
|
|
10
7
|
type TeamMemberGroup = v.InferOutput<typeof TeamMemberGroup>;
|
|
11
8
|
//#endregion
|
|
12
|
-
export {
|
|
9
|
+
export { TeamMemberTier as n, TeamMemberGroup as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
|
|
3
|
+
//#region src/entities/client-project/fields.d.ts
|
|
4
|
+
declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
|
|
5
|
+
type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
|
|
6
|
+
declare const ClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>;
|
|
7
|
+
type ClientProjectPhase = v.InferOutput<typeof ClientProjectPhase>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ClientProjectStatus as n, ClientProjectPhase as t };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/comment/fields.d.ts
|
|
@@ -6,7 +5,5 @@ declare const CommentApprovalStatus: v.PicklistSchema<("PENDING" | "APPROVED" |
|
|
|
6
5
|
type CommentApprovalStatus = v.InferOutput<typeof CommentApprovalStatus>;
|
|
7
6
|
declare const ReportCommentReason: v.PicklistSchema<("BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER")[], undefined>;
|
|
8
7
|
type ReportCommentReason = v.InferOutput<typeof ReportCommentReason>;
|
|
9
|
-
declare const QuerySortStrapiComments: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "content" | "blocked" | "blockedThread" | "approvalStatus">>;
|
|
10
|
-
type QuerySortStrapiComments = v.InferOutput<typeof QuerySortStrapiComments>;
|
|
11
8
|
//#endregion
|
|
12
|
-
export {
|
|
9
|
+
export { ReportCommentReason as n, CommentApprovalStatus as t };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/permissions/constants.d.ts
|
|
@@ -29,9 +28,7 @@ declare const CLIENT_ENTITY_KEYS: ClientEntityKey[];
|
|
|
29
28
|
declare const CLIENT_ENTITY_SCOPES: ClientEntityScope[];
|
|
30
29
|
//#endregion
|
|
31
30
|
//#region src/entities/client-user/fields.d.ts
|
|
32
|
-
declare const QuerySortClientUsers: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "client.title" | "client.teamwork_id" | "client.teamwork_name" | "client.is_active" | "client.allow_create_utm_link" | "client.is_paid_media" | "client.is_organic_social" | "user.username" | "user.email" | "user.confirmed" | "user.blocked">>;
|
|
33
|
-
type QuerySortClientUsers = v.InferOutput<typeof QuerySortClientUsers>;
|
|
34
31
|
declare const ClientUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<ClientEntityScope[], undefined>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>;
|
|
35
32
|
type ClientUserScopes = v.InferOutput<typeof ClientUserScopes>;
|
|
36
33
|
//#endregion
|
|
37
|
-
export {
|
|
34
|
+
export { ClientEntityActions as a, CLIENT_ENTITY_SCOPES as i, CLIENT_ENTITY_KEYS as n, ClientEntityKey as o, CLIENT_ENTITY_PERMISSIONS as r, ClientEntityScope as s, ClientUserScopes as t };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/blog-post/fields.d.ts
|
|
5
|
-
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_live" | "is_featured" | "is_public" | "published">>;
|
|
6
|
-
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
7
4
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
8
5
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
9
6
|
declare const BlogPostBlock: v.UnionSchema<[v.LazySchema<v.ObjectSchema<{
|
|
@@ -642,4 +639,4 @@ declare const BlogPostBlock: v.UnionSchema<[v.LazySchema<v.ObjectSchema<{
|
|
|
642
639
|
}, undefined>>], undefined>;
|
|
643
640
|
type BlogPostBlock = v.InferOutput<typeof BlogPostBlock>;
|
|
644
641
|
//#endregion
|
|
645
|
-
export { BlogPostLayout as n,
|
|
642
|
+
export { BlogPostLayout as n, BlogPostBlock as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
|
|
3
|
+
//#region src/entities/client-project/fields.d.ts
|
|
4
|
+
declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
|
|
5
|
+
type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
|
|
6
|
+
declare const ClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>;
|
|
7
|
+
type ClientProjectPhase = v.InferOutput<typeof ClientProjectPhase>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { ClientProjectStatus as n, ClientProjectPhase as t };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/comment/fields.d.ts
|
|
@@ -6,7 +5,5 @@ declare const CommentApprovalStatus: v.PicklistSchema<("PENDING" | "APPROVED" |
|
|
|
6
5
|
type CommentApprovalStatus = v.InferOutput<typeof CommentApprovalStatus>;
|
|
7
6
|
declare const ReportCommentReason: v.PicklistSchema<("BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER")[], undefined>;
|
|
8
7
|
type ReportCommentReason = v.InferOutput<typeof ReportCommentReason>;
|
|
9
|
-
declare const QuerySortStrapiComments: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "content" | "blocked" | "blockedThread" | "approvalStatus">>;
|
|
10
|
-
type QuerySortStrapiComments = v.InferOutput<typeof QuerySortStrapiComments>;
|
|
11
8
|
//#endregion
|
|
12
|
-
export {
|
|
9
|
+
export { ReportCommentReason as n, CommentApprovalStatus as t };
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/team-member/fields.d.ts
|
|
5
|
-
declare const QuerySortTeamMembers: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "name" | "order" | "tier" | "group" | "is_employed">>;
|
|
6
|
-
type QuerySortTeamMembers = v.InferOutput<typeof QuerySortTeamMembers>;
|
|
7
4
|
declare const TeamMemberTier: v.PicklistSchema<readonly ["owner", "manager", "employee"], undefined>;
|
|
8
5
|
type TeamMemberTier = v.InferOutput<typeof TeamMemberTier>;
|
|
9
6
|
declare const TeamMemberGroup: v.PicklistSchema<readonly ["account", "media", "creative"], undefined>;
|
|
10
7
|
type TeamMemberGroup = v.InferOutput<typeof TeamMemberGroup>;
|
|
11
8
|
//#endregion
|
|
12
|
-
export {
|
|
9
|
+
export { TeamMemberTier as n, TeamMemberGroup as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { t as JsonData } from "./json-Dk27QL29.mjs";
|
|
2
|
-
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
3
2
|
import * as v from "valibot";
|
|
4
3
|
|
|
5
4
|
//#region src/base/component.d.ts
|
|
@@ -66,7 +65,7 @@ type StrapiLinkRel = v.InferOutput<typeof StrapiLinkRel>;
|
|
|
66
65
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
67
66
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
68
67
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
69
|
-
readonly sort: v.OptionalSchema<v.
|
|
68
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
70
69
|
}, undefined>;
|
|
71
70
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
72
71
|
//#endregion
|
|
@@ -215,6 +214,15 @@ type StrapiAttributeErrorResponse<T> = {
|
|
|
215
214
|
};
|
|
216
215
|
type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
|
|
217
216
|
//#endregion
|
|
217
|
+
//#region src/base/sort.d.ts
|
|
218
|
+
declare const SORT_ORDER: readonly ["asc", "desc"];
|
|
219
|
+
declare const SortOrder: v.PicklistSchema<readonly ["asc", "desc"], undefined>;
|
|
220
|
+
type SortOrder = v.InferOutput<typeof SortOrder>;
|
|
221
|
+
declare const SortString: v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>;
|
|
222
|
+
type SortString = v.InferOutput<typeof SortString>;
|
|
223
|
+
declare const QuerySortValues: v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>;
|
|
224
|
+
type QuerySortValues = v.InferOutput<typeof QuerySortValues>;
|
|
225
|
+
//#endregion
|
|
218
226
|
//#region src/base/strapi.d.ts
|
|
219
227
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
220
228
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
@@ -251,4 +259,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
251
259
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
252
260
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
253
261
|
//#endregion
|
|
254
|
-
export {
|
|
262
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, BaseDocument as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseComponent as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponentId as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { t as JsonData } from "./json-Cm6HECXA.cjs";
|
|
2
|
-
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
3
2
|
import * as v from "valibot";
|
|
4
3
|
|
|
5
4
|
//#region src/base/component.d.ts
|
|
@@ -66,7 +65,7 @@ type StrapiLinkRel = v.InferOutput<typeof StrapiLinkRel>;
|
|
|
66
65
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
67
66
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
68
67
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
69
|
-
readonly sort: v.OptionalSchema<v.
|
|
68
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
70
69
|
}, undefined>;
|
|
71
70
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
72
71
|
//#endregion
|
|
@@ -215,6 +214,15 @@ type StrapiAttributeErrorResponse<T> = {
|
|
|
215
214
|
};
|
|
216
215
|
type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
|
|
217
216
|
//#endregion
|
|
217
|
+
//#region src/base/sort.d.ts
|
|
218
|
+
declare const SORT_ORDER: readonly ["asc", "desc"];
|
|
219
|
+
declare const SortOrder: v.PicklistSchema<readonly ["asc", "desc"], undefined>;
|
|
220
|
+
type SortOrder = v.InferOutput<typeof SortOrder>;
|
|
221
|
+
declare const SortString: v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>;
|
|
222
|
+
type SortString = v.InferOutput<typeof SortString>;
|
|
223
|
+
declare const QuerySortValues: v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>;
|
|
224
|
+
type QuerySortValues = v.InferOutput<typeof QuerySortValues>;
|
|
225
|
+
//#endregion
|
|
218
226
|
//#region src/base/strapi.d.ts
|
|
219
227
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
220
228
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
@@ -251,4 +259,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
251
259
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
252
260
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
253
261
|
//#endregion
|
|
254
|
-
export {
|
|
262
|
+
export { FormSelectInputOption as $, StrapiErrorResult as A, AssociateManyEntitiesOptional as B, SortOrder as C, StrapiAttributeErrorResponse as D, StrapiAttributeErrorKey as E, StrapiSingleResponse as F, SSetEntityRelationshipRequest as G, AssociateOneEntityOptional as H, AssociateEntityPosition as I, STRAPI_LINK_REL as J, QueryStrapiPaginated as K, AssociateEntityPositionDocumentRequest as L, StrapiPagination as M, StrapiResponseMeta as N, StrapiErrorDetail as O, StrapiResponseMetaWithPagination as P, StrapiLinkTarget as Q, AssociateEntityRelationshipRequest as R, SORT_ORDER as S, StrapiAttributeErrorDetail as T, QueryManyEntities as U, AssociateOneEntity as V, SEntityPosition as W, StrapiLinkReferrerPolicy as X, STRAPI_LINK_TARGET as Y, StrapiLinkRel as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WEBSAFE_FONT_SERIF as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, WebSafeFontMono as ct, StrapiGapSizes as d, BaseDocument as dt, FONT_HEADER_SIZE as et, StrapiIconName as f, BaseComponent as ft, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WEBSAFE_FONT_SANS as it, StrapiListResponse as j, StrapiErrorResponse as k, StrapiBgColorOptions as l, WebSafeFontSans as lt, StrapiLinkType as m, STRAPI_DIRECTION as n, WEBSAFE_FONT_DISPLAY as nt, STRAPI_LINK_TYPE as o, WebSafeFont as ot, StrapiIconPosition as p, BaseComponentId as pt, STRAPI_LINK_REFERRER_POLICY as q, STRAPI_GAP_SIZES as r, WEBSAFE_FONT_MONO as rt, STRAPI_TEXT_COLOR_OPTIONS as s, WebSafeFontDisplay as st, STRAPI_BG_COLOR_OPTIONS as t, FontHeaderSize as tt, StrapiDirection as u, WebSafeFontSerif as ut, ValidStrapiCollectionEntity as v, SortString as w, QuerySortValues as x, ValidStrapiSingleEntity as y, AssociateManyEntities as z };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-
|
|
2
|
-
import { a as
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-CsB4mNwa.cjs";
|
|
2
|
+
import { a as ClientEntityActions, i as CLIENT_ENTITY_SCOPES, n as CLIENT_ENTITY_KEYS, o as ClientEntityKey, r as CLIENT_ENTITY_PERMISSIONS, s as ClientEntityScope } from "../fields-CsF3gS06.cjs";
|
|
3
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-
|
|
2
|
-
import { a as
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-3hTWmquv.mjs";
|
|
2
|
+
import { a as ClientEntityActions, i as CLIENT_ENTITY_SCOPES, n as CLIENT_ENTITY_KEYS, o as ClientEntityKey, r as CLIENT_ENTITY_PERMISSIONS, s as ClientEntityScope } from "../fields-BFPtJRX6.mjs";
|
|
3
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, 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_pagination$1 = require("./pagination-DWZDPzR4.cjs");
|
|
4
|
-
const require_sort = require("./sort-
|
|
4
|
+
const require_sort = require("./sort-CvgExm09.cjs");
|
|
5
5
|
const require_email = require("./email-ByTEdUjg.cjs");
|
|
6
6
|
const require_phone = require("./phone-D_ZLG1Qv.cjs");
|
|
7
7
|
const require_string = require("./string-Yn-6xiAZ.cjs");
|
|
@@ -12,7 +12,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
12
12
|
const QueryStrapiPaginated = valibot.object({
|
|
13
13
|
page: require_pagination$1.VPage(),
|
|
14
14
|
size: require_pagination$1.VSize(require_pagination.LIMIT_PAGINATION_MAX_SIZE),
|
|
15
|
-
sort: valibot.optional(require_sort.
|
|
15
|
+
sort: valibot.optional(require_sort.QuerySortValues)
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/base/query.ts
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/base/query.d.ts
|
|
@@ -13,28 +12,28 @@ type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
|
13
12
|
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
14
13
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
15
14
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
16
|
-
readonly sort: v.OptionalSchema<v.
|
|
15
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
17
16
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
18
17
|
}, undefined>;
|
|
19
18
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
20
19
|
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
21
20
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
22
21
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
23
|
-
readonly sort: v.OptionalSchema<v.
|
|
22
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
24
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>]>;
|
|
25
24
|
}, undefined>;
|
|
26
25
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
27
26
|
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
28
27
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
29
28
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
30
|
-
readonly sort: v.OptionalSchema<v.
|
|
29
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
31
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.">]>;
|
|
32
31
|
}, undefined>;
|
|
33
32
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
34
33
|
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
35
34
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
36
35
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
37
|
-
readonly sort: v.OptionalSchema<v.
|
|
36
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
38
37
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
39
38
|
}, undefined>;
|
|
40
39
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/base/query.d.ts
|
|
@@ -13,28 +12,28 @@ type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
|
13
12
|
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
14
13
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
15
14
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
16
|
-
readonly sort: v.OptionalSchema<v.
|
|
15
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
17
16
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
18
17
|
}, undefined>;
|
|
19
18
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
20
19
|
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
21
20
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
22
21
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
23
|
-
readonly sort: v.OptionalSchema<v.
|
|
22
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
24
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>]>;
|
|
25
24
|
}, undefined>;
|
|
26
25
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
27
26
|
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
28
27
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
29
28
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
30
|
-
readonly sort: v.OptionalSchema<v.
|
|
29
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
31
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.">]>;
|
|
32
31
|
}, undefined>;
|
|
33
32
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
34
33
|
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
35
34
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
36
35
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
37
|
-
readonly sort: v.OptionalSchema<v.
|
|
36
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
38
37
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
39
38
|
}, undefined>;
|
|
40
39
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as LIMIT_PAGINATION_MAX_SIZE } from "./pagination-owwfYJS6.mjs";
|
|
2
2
|
import { n as VSize, t as VPage } from "./pagination-D5l_UjyM.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { t as QuerySortValues } from "./sort-i9OLHfrW.mjs";
|
|
4
4
|
import { t as VStringEmail } from "./email-Cnyi5Neo.mjs";
|
|
5
5
|
import { t as VStringPhone } from "./phone-C9TNVDm_.mjs";
|
|
6
6
|
import { s as VStringShort } from "./string-BHHnD2Qu.mjs";
|
|
@@ -10,7 +10,7 @@ import * as v from "valibot";
|
|
|
10
10
|
const QueryStrapiPaginated = v.object({
|
|
11
11
|
page: VPage(),
|
|
12
12
|
size: VSize(LIMIT_PAGINATION_MAX_SIZE),
|
|
13
|
-
sort: v.optional(
|
|
13
|
+
sort: v.optional(QuerySortValues)
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/base/query.ts
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
let valibot = require("valibot");
|
|
3
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
4
|
+
//#region src/base/sort.ts
|
|
5
|
+
const SORT_ORDER = ["asc", "desc"];
|
|
6
|
+
const SortOrder = valibot.picklist(SORT_ORDER);
|
|
7
|
+
const SortString = valibot.custom((input) => typeof input === "string" ? /^\S+:(asc|desc)$/.test(input) : false);
|
|
8
|
+
const QuerySortValues = valibot.union([valibot.array(SortString), valibot.pipe(SortString, valibot.transform((input) => [input]))]);
|
|
9
|
+
//#endregion
|
|
10
|
+
Object.defineProperty(exports, "QuerySortValues", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function() {
|
|
13
|
+
return QuerySortValues;
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "SORT_ORDER", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return SORT_ORDER;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "SortOrder", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function() {
|
|
25
|
+
return SortOrder;
|
|
26
|
+
}
|
|
27
|
+
});
|