@getcommunity/gc-validators 0.0.271-alpha.27 → 0.0.271-alpha.29
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 +2 -2
- package/dist/base/index.d.cts +3 -1
- package/dist/base/index.d.mts +5 -3
- package/dist/base/index.mjs +2 -2
- package/dist/components/blocks/index.d.cts +1 -1
- package/dist/components/brand/index.d.cts +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/constants/index.d.cts +2 -2
- package/dist/constants/index.d.mts +2 -2
- package/dist/{document-DwkycUz9.cjs → document-B-vL7OEu.cjs} +28 -334
- package/dist/document-B4XXhINT.d.mts +3653 -0
- package/dist/document-BaRvba1n.mjs +67 -0
- package/dist/document-BtdeKgES.d.cts +55 -0
- package/dist/document-CHBScA2R.d.cts +3653 -0
- package/dist/document-CbRiGZIl.d.mts +55 -0
- package/dist/{document-BWso8VC7.mjs → document-CtZJmuhD.mjs} +24 -186
- package/dist/document-DAnLwUum.d.mts +248 -0
- package/dist/document-DZUDtwkX.cjs +92 -0
- package/dist/{document-3h6g5Qqr.d.cts → document-DeHWmViz.d.cts} +1 -1
- package/dist/document-Dk5LcN6P.d.cts +248 -0
- package/dist/{document-DqE9ISOk.d.mts → document-e9e67Lic.d.mts} +2 -2
- package/dist/entities/audit-log/constants.cjs +35 -0
- package/dist/entities/audit-log/constants.d.cts +6 -0
- package/dist/entities/audit-log/constants.d.mts +6 -0
- package/dist/entities/audit-log/constants.mjs +32 -0
- package/dist/entities/audit-log/document.cjs +13 -0
- package/dist/entities/audit-log/document.d.cts +32 -0
- package/dist/entities/audit-log/document.d.mts +32 -0
- package/dist/entities/audit-log/document.mjs +10 -0
- package/dist/entities/audit-log/fields.cjs +12 -0
- package/dist/entities/audit-log/fields.d.cts +10 -0
- package/dist/entities/audit-log/fields.d.mts +10 -0
- package/dist/entities/audit-log/fields.mjs +8 -0
- package/dist/entities/audit-log/{index.cjs → mutation.cjs} +3 -75
- package/dist/entities/audit-log/{index.d.cts → mutation.d.cts} +1 -64
- package/dist/entities/audit-log/{index.d.mts → mutation.d.mts} +2 -65
- package/dist/entities/audit-log/{index.mjs → mutation.mjs} +2 -67
- package/dist/entities/audit-log/query.cjs +32 -0
- package/dist/entities/audit-log/query.d.cts +27 -0
- package/dist/entities/audit-log/query.d.mts +27 -0
- package/dist/entities/audit-log/query.mjs +29 -0
- package/dist/entities/blog-page/{index.d.cts → document.d.cts} +1 -1
- package/dist/entities/blog-page/{index.d.mts → document.d.mts} +1 -1
- package/dist/entities/blog-post/constants.cjs +21 -0
- package/dist/entities/blog-post/constants.d.cts +7 -0
- package/dist/entities/blog-post/constants.d.mts +7 -0
- package/dist/entities/blog-post/constants.mjs +17 -0
- package/dist/entities/blog-post/document.cjs +3 -0
- package/dist/entities/blog-post/document.d.cts +2 -0
- package/dist/entities/blog-post/document.d.mts +2 -0
- package/dist/entities/blog-post/document.mjs +2 -0
- package/dist/entities/blog-post/fields.cjs +30 -0
- package/dist/entities/blog-post/fields.d.cts +2 -0
- package/dist/entities/blog-post/fields.d.mts +2 -0
- package/dist/entities/blog-post/fields.mjs +25 -0
- package/dist/entities/blog-post/{index.cjs → query.cjs} +4 -11
- package/dist/entities/blog-post/query.d.cts +22 -0
- package/dist/entities/blog-post/query.d.mts +22 -0
- package/dist/entities/blog-post/{index.mjs → query.mjs} +5 -4
- package/dist/entities/careers-page/{index.d.cts → document.d.cts} +1 -1
- package/dist/entities/careers-page/{index.d.mts → document.d.mts} +1 -1
- package/dist/entities/category/constants.cjs +15 -0
- package/dist/entities/category/constants.d.cts +6 -0
- package/dist/entities/category/constants.d.mts +6 -0
- package/dist/entities/category/constants.mjs +12 -0
- package/dist/entities/category/document.cjs +3 -0
- package/dist/entities/category/document.d.cts +2 -0
- package/dist/entities/category/document.d.mts +2 -0
- package/dist/entities/category/document.mjs +2 -0
- package/dist/entities/category/fields.cjs +7 -0
- package/dist/entities/category/fields.d.cts +8 -0
- package/dist/entities/category/fields.d.mts +8 -0
- package/dist/entities/category/fields.mjs +6 -0
- package/dist/entities/category/mutation.cjs +24 -0
- package/dist/entities/category/{index.d.mts → mutation.d.cts} +1 -22
- package/dist/entities/category/{index.d.cts → mutation.d.mts} +1 -22
- package/dist/entities/category/mutation.mjs +19 -0
- package/dist/entities/category/query.cjs +18 -0
- package/dist/entities/category/query.d.cts +14 -0
- package/dist/entities/category/query.d.mts +14 -0
- package/dist/entities/category/query.mjs +15 -0
- package/dist/entities/client/constants.cjs +25 -0
- package/dist/entities/client/constants.d.cts +7 -0
- package/dist/entities/client/constants.d.mts +7 -0
- package/dist/entities/client/constants.mjs +21 -0
- package/dist/entities/client/document.cjs +3 -0
- package/dist/entities/client/document.d.cts +2 -0
- package/dist/entities/client/document.d.mts +2 -0
- package/dist/entities/client/document.mjs +2 -0
- package/dist/entities/client/fields.cjs +12 -0
- package/dist/entities/client/fields.d.cts +9 -0
- package/dist/entities/client/fields.d.mts +9 -0
- package/dist/entities/client/fields.mjs +8 -0
- package/dist/entities/client/mutation.cjs +44 -0
- package/dist/entities/client/mutation.d.cts +53 -0
- package/dist/entities/client/mutation.d.mts +53 -0
- package/dist/entities/client/mutation.mjs +39 -0
- package/dist/entities/client/query.cjs +28 -0
- package/dist/entities/client/query.d.cts +24 -0
- package/dist/entities/client/query.d.mts +24 -0
- package/dist/entities/client/query.mjs +25 -0
- package/dist/entities/client-content-pillar/constants.cjs +16 -0
- package/dist/entities/client-content-pillar/constants.d.cts +6 -0
- package/dist/entities/client-content-pillar/constants.d.mts +6 -0
- package/dist/entities/client-content-pillar/constants.mjs +13 -0
- package/dist/entities/client-content-pillar/document.cjs +3 -0
- package/dist/entities/client-content-pillar/document.d.cts +2 -0
- package/dist/entities/client-content-pillar/document.d.mts +2 -0
- package/dist/entities/client-content-pillar/document.mjs +2 -0
- package/dist/entities/client-content-pillar/fields.cjs +7 -0
- package/dist/entities/client-content-pillar/fields.d.cts +8 -0
- package/dist/entities/client-content-pillar/fields.d.mts +8 -0
- package/dist/entities/client-content-pillar/fields.mjs +6 -0
- package/dist/entities/client-content-pillar/mutation.cjs +24 -0
- package/dist/entities/client-content-pillar/mutation.d.cts +26 -0
- package/dist/entities/client-content-pillar/mutation.d.mts +26 -0
- package/dist/entities/client-content-pillar/mutation.mjs +19 -0
- package/dist/entities/client-content-pillar/query.cjs +22 -0
- package/dist/entities/client-content-pillar/query.d.cts +17 -0
- package/dist/entities/client-content-pillar/query.d.mts +17 -0
- package/dist/entities/client-content-pillar/query.mjs +19 -0
- package/dist/entities/client-media-platform/constants.cjs +20 -0
- package/dist/entities/client-media-platform/constants.d.cts +6 -0
- package/dist/entities/client-media-platform/constants.d.mts +6 -0
- package/dist/entities/client-media-platform/constants.mjs +17 -0
- package/dist/entities/client-media-platform/document.cjs +3 -0
- package/dist/entities/client-media-platform/document.d.cts +2 -0
- package/dist/entities/client-media-platform/document.d.mts +2 -0
- package/dist/entities/client-media-platform/document.mjs +2 -0
- package/dist/entities/client-media-platform/fields.cjs +7 -0
- package/dist/entities/client-media-platform/fields.d.cts +8 -0
- package/dist/entities/client-media-platform/fields.d.mts +8 -0
- package/dist/entities/client-media-platform/fields.mjs +6 -0
- package/dist/entities/client-media-platform/mutation.cjs +28 -0
- package/dist/entities/client-media-platform/mutation.d.cts +29 -0
- package/dist/entities/client-media-platform/mutation.d.mts +29 -0
- package/dist/entities/client-media-platform/mutation.mjs +23 -0
- package/dist/entities/client-media-platform/query.cjs +24 -0
- package/dist/entities/client-media-platform/query.d.cts +18 -0
- package/dist/entities/client-media-platform/query.d.mts +18 -0
- package/dist/entities/client-media-platform/query.mjs +21 -0
- package/dist/entities/client-project/constants.cjs +85 -0
- package/dist/entities/client-project/constants.d.cts +37 -0
- package/dist/entities/client-project/constants.d.mts +37 -0
- package/dist/entities/client-project/constants.mjs +79 -0
- package/dist/entities/client-project/document.cjs +3 -0
- package/dist/entities/client-project/document.d.cts +2 -0
- package/dist/entities/client-project/document.d.mts +2 -0
- package/dist/entities/client-project/document.mjs +2 -0
- package/dist/entities/client-project/fields.cjs +14 -0
- package/dist/entities/client-project/fields.d.cts +2 -0
- package/dist/entities/client-project/fields.d.mts +2 -0
- package/dist/entities/client-project/fields.mjs +9 -0
- package/dist/entities/client-project/{index.cjs → mutation.cjs} +6 -42
- package/dist/entities/client-project/mutation.d.cts +76 -0
- package/dist/entities/client-project/mutation.d.mts +76 -0
- package/dist/entities/client-project/{index.mjs → mutation.mjs} +5 -30
- package/dist/entities/client-project/query.cjs +39 -0
- package/dist/entities/client-project/query.d.cts +30 -0
- package/dist/entities/client-project/query.d.mts +30 -0
- package/dist/entities/client-project/query.mjs +36 -0
- package/dist/entities/client-report/constants.cjs +17 -0
- package/dist/entities/client-report/constants.d.cts +6 -0
- package/dist/entities/client-report/constants.d.mts +6 -0
- package/dist/entities/client-report/constants.mjs +14 -0
- package/dist/entities/client-report/document.cjs +3 -0
- package/dist/entities/client-report/document.d.cts +2 -0
- package/dist/entities/client-report/document.d.mts +2 -0
- package/dist/entities/client-report/document.mjs +2 -0
- package/dist/entities/client-report/fields.cjs +7 -0
- package/dist/entities/client-report/fields.d.cts +8 -0
- package/dist/entities/client-report/fields.d.mts +8 -0
- package/dist/entities/client-report/fields.mjs +6 -0
- package/dist/entities/client-report/{index.cjs → mutation.cjs} +0 -39
- package/dist/entities/client-report/mutation.d.cts +38 -0
- package/dist/entities/client-report/mutation.d.mts +38 -0
- package/dist/entities/client-report/mutation.mjs +29 -0
- package/dist/entities/client-report/query.cjs +24 -0
- package/dist/entities/client-report/query.d.cts +19 -0
- package/dist/entities/client-report/query.d.mts +19 -0
- package/dist/entities/client-report/query.mjs +21 -0
- package/dist/entities/client-styleguide/constants.cjs +14 -0
- package/dist/entities/client-styleguide/constants.d.cts +6 -0
- package/dist/entities/client-styleguide/constants.d.mts +6 -0
- package/dist/entities/client-styleguide/constants.mjs +11 -0
- package/dist/entities/client-styleguide/document.cjs +3 -0
- package/dist/entities/client-styleguide/document.d.cts +2 -0
- package/dist/entities/client-styleguide/document.d.mts +2 -0
- package/dist/entities/client-styleguide/document.mjs +2 -0
- package/dist/entities/client-styleguide/fields.cjs +7 -0
- package/dist/entities/client-styleguide/fields.d.cts +8 -0
- package/dist/entities/client-styleguide/fields.d.mts +8 -0
- package/dist/entities/client-styleguide/fields.mjs +6 -0
- package/dist/entities/client-styleguide/mutation.cjs +25 -0
- package/dist/entities/client-styleguide/mutation.d.cts +26 -0
- package/dist/entities/client-styleguide/mutation.d.mts +26 -0
- package/dist/entities/client-styleguide/mutation.mjs +20 -0
- package/dist/entities/client-styleguide/query.cjs +21 -0
- package/dist/entities/client-styleguide/query.d.cts +16 -0
- package/dist/entities/client-styleguide/query.d.mts +16 -0
- package/dist/entities/client-styleguide/query.mjs +18 -0
- package/dist/entities/client-user/constants.cjs +24 -0
- package/dist/entities/client-user/constants.d.cts +6 -0
- package/dist/entities/client-user/constants.d.mts +6 -0
- package/dist/entities/client-user/constants.mjs +21 -0
- package/dist/entities/client-user/document.cjs +4 -0
- package/dist/entities/client-user/document.d.cts +2 -0
- package/dist/entities/client-user/document.d.mts +2 -0
- package/dist/entities/client-user/document.mjs +2 -0
- package/dist/entities/client-user/fields.cjs +13 -0
- package/dist/entities/client-user/fields.d.cts +2 -0
- package/dist/entities/client-user/fields.d.mts +2 -0
- package/dist/entities/client-user/fields.mjs +9 -0
- package/dist/entities/client-user/{index.cjs → mutation.cjs} +3 -19
- package/dist/entities/client-user/mutation.d.cts +28 -0
- package/dist/entities/client-user/mutation.d.mts +28 -0
- package/dist/entities/client-user/mutation.mjs +20 -0
- package/dist/entities/client-user/query.cjs +15 -0
- package/dist/entities/client-user/query.d.cts +11 -0
- package/dist/entities/client-user/query.d.mts +11 -0
- package/dist/entities/client-user/query.mjs +12 -0
- package/dist/entities/comment/constants.cjs +29 -0
- package/dist/entities/comment/constants.d.cts +16 -0
- package/dist/entities/comment/constants.d.mts +16 -0
- package/dist/entities/comment/constants.mjs +24 -0
- package/dist/entities/comment/document.cjs +38 -0
- package/dist/entities/comment/document.d.cts +2 -0
- package/dist/entities/comment/document.d.mts +2 -0
- package/dist/entities/comment/document.mjs +32 -0
- package/dist/entities/comment/fields.cjs +14 -0
- package/dist/entities/comment/fields.d.cts +2 -0
- package/dist/entities/comment/fields.d.mts +2 -0
- package/dist/entities/comment/fields.mjs +9 -0
- package/dist/entities/comment/mutation.cjs +39 -0
- package/dist/entities/comment/mutation.d.cts +39 -0
- package/dist/entities/comment/mutation.d.mts +39 -0
- package/dist/entities/comment/mutation.mjs +33 -0
- package/dist/entities/comment/query.cjs +39 -0
- package/dist/entities/comment/query.d.cts +91 -0
- package/dist/entities/comment/query.d.mts +91 -0
- package/dist/entities/comment/query.mjs +34 -0
- package/dist/entities/content-pillar/constants.cjs +15 -0
- package/dist/entities/content-pillar/constants.d.cts +6 -0
- package/dist/entities/content-pillar/constants.d.mts +6 -0
- package/dist/entities/content-pillar/constants.mjs +12 -0
- package/dist/entities/content-pillar/document.cjs +3 -0
- package/dist/entities/content-pillar/document.d.cts +2 -0
- package/dist/entities/content-pillar/document.d.mts +2 -0
- package/dist/entities/content-pillar/document.mjs +2 -0
- package/dist/entities/content-pillar/fields.cjs +7 -0
- package/dist/entities/content-pillar/fields.d.cts +8 -0
- package/dist/entities/content-pillar/fields.d.mts +8 -0
- package/dist/entities/content-pillar/fields.mjs +6 -0
- package/dist/entities/content-pillar/mutation.cjs +28 -0
- package/dist/entities/content-pillar/mutation.d.cts +29 -0
- package/dist/entities/content-pillar/mutation.d.mts +29 -0
- package/dist/entities/content-pillar/mutation.mjs +23 -0
- package/dist/entities/content-pillar/query.cjs +19 -0
- package/dist/entities/content-pillar/query.d.cts +15 -0
- package/dist/entities/content-pillar/query.d.mts +15 -0
- package/dist/entities/content-pillar/query.mjs +16 -0
- package/dist/entities/faq-page/{index.d.cts → document.d.cts} +2 -2
- package/dist/entities/faq-page/{index.d.mts → document.d.mts} +2 -2
- package/dist/entities/formatter/constants.cjs +52 -0
- package/dist/entities/formatter/constants.d.cts +37 -0
- package/dist/entities/formatter/constants.d.mts +37 -0
- package/dist/entities/formatter/constants.mjs +47 -0
- package/dist/entities/gcflytour/constants.cjs +17 -0
- package/dist/entities/gcflytour/constants.d.cts +6 -0
- package/dist/entities/gcflytour/constants.d.mts +6 -0
- package/dist/entities/gcflytour/constants.mjs +14 -0
- package/dist/entities/gcflytour/document.cjs +3 -0
- package/dist/entities/gcflytour/document.d.cts +2 -0
- package/dist/entities/gcflytour/document.d.mts +2 -0
- package/dist/entities/gcflytour/document.mjs +2 -0
- package/dist/entities/gcflytour/fields.cjs +7 -0
- package/dist/entities/gcflytour/fields.d.cts +8 -0
- package/dist/entities/gcflytour/fields.d.mts +8 -0
- package/dist/entities/gcflytour/fields.mjs +6 -0
- package/dist/entities/gcflytour/{index.cjs → mutation.cjs} +0 -37
- package/dist/entities/gcflytour/mutation.d.cts +38 -0
- package/dist/entities/gcflytour/mutation.d.mts +38 -0
- package/dist/entities/gcflytour/mutation.mjs +29 -0
- package/dist/entities/gcflytour/query.cjs +22 -0
- package/dist/entities/gcflytour/query.d.cts +17 -0
- package/dist/entities/gcflytour/query.d.mts +17 -0
- package/dist/entities/gcflytour/query.mjs +19 -0
- package/dist/entities/gcflytour-snap/constants.cjs +17 -0
- package/dist/entities/gcflytour-snap/constants.d.cts +6 -0
- package/dist/entities/gcflytour-snap/constants.d.mts +6 -0
- package/dist/entities/gcflytour-snap/constants.mjs +14 -0
- package/dist/entities/gcflytour-snap/document.cjs +3 -0
- package/dist/entities/gcflytour-snap/document.d.cts +2 -0
- package/dist/entities/gcflytour-snap/document.d.mts +2 -0
- package/dist/entities/gcflytour-snap/document.mjs +2 -0
- package/dist/entities/gcflytour-snap/fields.cjs +7 -0
- package/dist/entities/gcflytour-snap/fields.d.cts +8 -0
- package/dist/entities/gcflytour-snap/fields.d.mts +8 -0
- package/dist/entities/gcflytour-snap/fields.mjs +6 -0
- package/dist/entities/gcflytour-snap/mutation.cjs +32 -0
- package/dist/entities/gcflytour-snap/mutation.d.cts +35 -0
- package/dist/entities/gcflytour-snap/mutation.d.mts +35 -0
- package/dist/entities/gcflytour-snap/mutation.mjs +27 -0
- package/dist/entities/gcflytour-snap/query.cjs +23 -0
- package/dist/entities/gcflytour-snap/query.d.cts +18 -0
- package/dist/entities/gcflytour-snap/query.d.mts +18 -0
- package/dist/entities/gcflytour-snap/query.mjs +20 -0
- package/dist/entities/landing-page/{index.d.cts → document.d.cts} +2 -2
- package/dist/entities/landing-page/{index.d.mts → document.d.mts} +2 -2
- package/dist/entities/lead/document.cjs +23 -0
- package/dist/entities/lead/document.d.cts +25 -0
- package/dist/entities/lead/document.d.mts +25 -0
- package/dist/entities/lead/document.mjs +20 -0
- package/dist/entities/lead/{index.cjs → mutation.cjs} +0 -19
- package/dist/entities/lead/{index.d.cts → mutation.d.cts} +1 -23
- package/dist/entities/lead/{index.d.mts → mutation.d.mts} +1 -23
- package/dist/entities/lead/{index.mjs → mutation.mjs} +1 -19
- package/dist/entities/media-content-type/constants.cjs +31 -0
- package/dist/entities/media-content-type/constants.d.cts +6 -0
- package/dist/entities/media-content-type/constants.d.mts +6 -0
- package/dist/entities/media-content-type/constants.mjs +28 -0
- package/dist/entities/media-content-type/document.cjs +3 -0
- package/dist/entities/media-content-type/document.d.cts +2 -0
- package/dist/entities/media-content-type/document.d.mts +2 -0
- package/dist/entities/media-content-type/document.mjs +2 -0
- package/dist/entities/media-content-type/fields.cjs +7 -0
- package/dist/entities/media-content-type/fields.d.cts +8 -0
- package/dist/entities/media-content-type/fields.d.mts +8 -0
- package/dist/entities/media-content-type/fields.mjs +6 -0
- package/dist/entities/media-content-type/mutation.cjs +36 -0
- package/dist/entities/media-content-type/{index.d.cts → mutation.d.cts} +1 -27
- package/dist/entities/media-content-type/{index.d.mts → mutation.d.mts} +1 -27
- package/dist/entities/media-content-type/mutation.mjs +31 -0
- package/dist/entities/media-content-type/query.cjs +24 -0
- package/dist/entities/media-content-type/query.d.cts +19 -0
- package/dist/entities/media-content-type/query.d.mts +19 -0
- package/dist/entities/media-content-type/query.mjs +21 -0
- package/dist/entities/media-creative-format/constants.cjs +23 -0
- package/dist/entities/media-creative-format/constants.d.cts +6 -0
- package/dist/entities/media-creative-format/constants.d.mts +6 -0
- package/dist/entities/media-creative-format/constants.mjs +20 -0
- package/dist/entities/media-creative-format/document.cjs +3 -0
- package/dist/entities/media-creative-format/document.d.cts +2 -0
- package/dist/entities/media-creative-format/document.d.mts +2 -0
- package/dist/entities/media-creative-format/document.mjs +2 -0
- package/dist/entities/media-creative-format/fields.cjs +7 -0
- package/dist/entities/media-creative-format/fields.d.cts +8 -0
- package/dist/entities/media-creative-format/fields.d.mts +8 -0
- package/dist/entities/media-creative-format/fields.mjs +6 -0
- package/dist/entities/media-creative-format/mutation.cjs +30 -0
- package/dist/entities/media-creative-format/{index.d.cts → mutation.d.cts} +1 -24
- package/dist/entities/media-creative-format/{index.d.mts → mutation.d.mts} +1 -24
- package/dist/entities/media-creative-format/mutation.mjs +25 -0
- package/dist/entities/media-creative-format/query.cjs +21 -0
- package/dist/entities/media-creative-format/query.d.cts +16 -0
- package/dist/entities/media-creative-format/query.d.mts +16 -0
- package/dist/entities/media-creative-format/query.mjs +18 -0
- package/dist/entities/media-medium/constants.cjs +26 -0
- package/dist/entities/media-medium/constants.d.cts +6 -0
- package/dist/entities/media-medium/constants.d.mts +6 -0
- package/dist/entities/media-medium/constants.mjs +23 -0
- package/dist/entities/media-medium/document.cjs +3 -0
- package/dist/entities/media-medium/document.d.cts +2 -0
- package/dist/entities/media-medium/document.d.mts +2 -0
- package/dist/entities/media-medium/document.mjs +2 -0
- package/dist/entities/media-medium/fields.cjs +7 -0
- package/dist/entities/media-medium/fields.d.cts +8 -0
- package/dist/entities/media-medium/fields.d.mts +8 -0
- package/dist/entities/media-medium/fields.mjs +6 -0
- package/dist/entities/media-medium/mutation.cjs +34 -0
- package/dist/entities/media-medium/{index.d.cts → mutation.d.cts} +1 -26
- package/dist/entities/media-medium/{index.d.mts → mutation.d.mts} +1 -26
- package/dist/entities/media-medium/mutation.mjs +29 -0
- package/dist/entities/media-medium/query.cjs +23 -0
- package/dist/entities/media-medium/query.d.cts +18 -0
- package/dist/entities/media-medium/query.d.mts +18 -0
- package/dist/entities/media-medium/query.mjs +20 -0
- package/dist/entities/media-platform/constants.cjs +40 -0
- package/dist/entities/media-platform/constants.d.cts +6 -0
- package/dist/entities/media-platform/constants.d.mts +6 -0
- package/dist/entities/media-platform/constants.mjs +37 -0
- package/dist/entities/media-platform/document.cjs +3 -0
- package/dist/entities/media-platform/document.d.cts +2 -0
- package/dist/entities/media-platform/document.d.mts +2 -0
- package/dist/entities/media-platform/document.mjs +2 -0
- package/dist/entities/media-platform/fields.cjs +7 -0
- package/dist/entities/media-platform/fields.d.cts +8 -0
- package/dist/entities/media-platform/fields.d.mts +8 -0
- package/dist/entities/media-platform/fields.mjs +6 -0
- package/dist/entities/media-platform/mutation.cjs +41 -0
- package/dist/entities/media-platform/mutation.d.cts +47 -0
- package/dist/entities/media-platform/mutation.d.mts +47 -0
- package/dist/entities/media-platform/mutation.mjs +36 -0
- package/dist/entities/media-platform/query.cjs +27 -0
- package/dist/entities/media-platform/query.d.cts +21 -0
- package/dist/entities/media-platform/query.d.mts +21 -0
- package/dist/entities/media-platform/query.mjs +24 -0
- package/dist/entities/monday-workspace/constants.cjs +17 -0
- package/dist/entities/monday-workspace/constants.d.cts +6 -0
- package/dist/entities/monday-workspace/constants.d.mts +6 -0
- package/dist/entities/monday-workspace/constants.mjs +14 -0
- package/dist/entities/monday-workspace/document.cjs +3 -0
- package/dist/entities/monday-workspace/document.d.cts +2 -0
- package/dist/entities/monday-workspace/document.d.mts +2 -0
- package/dist/entities/monday-workspace/document.mjs +2 -0
- package/dist/entities/monday-workspace/fields.cjs +7 -0
- package/dist/entities/monday-workspace/fields.d.cts +8 -0
- package/dist/entities/monday-workspace/fields.d.mts +8 -0
- package/dist/entities/monday-workspace/fields.mjs +6 -0
- package/dist/entities/monday-workspace/mutation.cjs +26 -0
- package/dist/entities/monday-workspace/mutation.d.cts +26 -0
- package/dist/entities/monday-workspace/mutation.d.mts +26 -0
- package/dist/entities/monday-workspace/mutation.mjs +21 -0
- package/dist/entities/monday-workspace/query.cjs +20 -0
- package/dist/entities/monday-workspace/query.d.cts +15 -0
- package/dist/entities/monday-workspace/query.d.mts +15 -0
- package/dist/entities/monday-workspace/query.mjs +17 -0
- package/dist/entities/newsletter-signup/document.cjs +20 -0
- package/dist/entities/newsletter-signup/document.d.cts +22 -0
- package/dist/entities/newsletter-signup/document.d.mts +22 -0
- package/dist/entities/newsletter-signup/document.mjs +17 -0
- package/dist/entities/newsletter-signup/{index.cjs → mutation.cjs} +0 -16
- package/dist/entities/newsletter-signup/{index.d.cts → mutation.d.cts} +1 -20
- package/dist/entities/newsletter-signup/{index.d.mts → mutation.d.mts} +1 -20
- package/dist/entities/newsletter-signup/{index.mjs → mutation.mjs} +1 -16
- package/dist/entities/policy-page/{index.d.cts → document.d.cts} +1 -1
- package/dist/entities/policy-page/{index.d.mts → document.d.mts} +2 -2
- package/dist/entities/product/{index.cjs → constants.cjs} +0 -2
- package/dist/entities/product/{index.d.mts → constants.d.cts} +1 -3
- package/dist/entities/product/{index.d.cts → constants.d.mts} +1 -3
- package/dist/entities/product/{index.mjs → constants.mjs} +1 -2
- package/dist/{document-DJJFS5o8.cjs → entities/product/document.cjs} +7 -11
- package/dist/entities/product/document.d.cts +2 -0
- package/dist/entities/product/document.d.mts +2 -0
- package/dist/{document-DRyRy2Mw.mjs → entities/product/document.mjs} +5 -5
- package/dist/entities/product-highlight/{index.cjs → constants.cjs} +0 -2
- package/dist/entities/product-highlight/constants.d.cts +5 -0
- package/dist/entities/product-highlight/constants.d.mts +5 -0
- package/dist/entities/product-highlight/{index.mjs → constants.mjs} +1 -2
- package/dist/entities/product-highlight/document.cjs +3 -0
- package/dist/entities/product-highlight/document.d.cts +2 -0
- package/dist/entities/product-highlight/document.d.mts +2 -0
- package/dist/entities/product-highlight/document.mjs +2 -0
- package/dist/entities/resume/document.cjs +23 -0
- package/dist/entities/resume/document.d.cts +93 -0
- package/dist/entities/resume/document.d.mts +93 -0
- package/dist/entities/resume/document.mjs +20 -0
- package/dist/entities/resume/{index.cjs → mutation.cjs} +0 -19
- package/dist/entities/resume/{index.d.cts → mutation.d.cts} +1 -91
- package/dist/entities/resume/{index.d.mts → mutation.d.mts} +1 -91
- package/dist/entities/resume/{index.mjs → mutation.mjs} +1 -19
- package/dist/entities/tag/constants.cjs +15 -0
- package/dist/entities/tag/constants.d.cts +6 -0
- package/dist/entities/tag/constants.d.mts +6 -0
- package/dist/entities/tag/constants.mjs +12 -0
- package/dist/{document-B4FY2KXQ.cjs → entities/tag/document.cjs} +4 -8
- package/dist/entities/tag/document.d.cts +2 -0
- package/dist/entities/tag/document.d.mts +2 -0
- package/dist/{document-De-prPhc.mjs → entities/tag/document.mjs} +2 -2
- package/dist/entities/tag/fields.cjs +7 -0
- package/dist/entities/tag/fields.d.cts +8 -0
- package/dist/entities/tag/fields.d.mts +8 -0
- package/dist/entities/tag/fields.mjs +6 -0
- package/dist/entities/tag/mutation.cjs +24 -0
- package/dist/entities/tag/{index.d.cts → mutation.d.cts} +1 -22
- package/dist/entities/tag/{index.d.mts → mutation.d.mts} +1 -22
- package/dist/entities/tag/mutation.mjs +19 -0
- package/dist/entities/tag/query.cjs +18 -0
- package/dist/entities/tag/query.d.cts +14 -0
- package/dist/entities/tag/query.d.mts +14 -0
- package/dist/entities/tag/query.mjs +15 -0
- package/dist/entities/team-member/constants.cjs +30 -0
- package/dist/entities/team-member/constants.d.cts +8 -0
- package/dist/entities/team-member/constants.d.mts +8 -0
- package/dist/entities/team-member/constants.mjs +25 -0
- package/dist/entities/team-member/document.cjs +3 -0
- package/dist/entities/team-member/document.d.cts +2 -0
- package/dist/entities/team-member/document.d.mts +2 -0
- package/dist/entities/team-member/document.mjs +2 -0
- package/dist/entities/team-member/fields.cjs +14 -0
- package/dist/entities/team-member/fields.d.cts +2 -0
- package/dist/entities/team-member/fields.d.mts +2 -0
- package/dist/entities/team-member/fields.mjs +9 -0
- package/dist/entities/team-member/query.cjs +24 -0
- package/dist/entities/team-member/query.d.cts +19 -0
- package/dist/entities/team-member/query.d.mts +19 -0
- package/dist/entities/team-member/query.mjs +21 -0
- package/dist/entities/team-page/{index.d.cts → document.d.cts} +1 -1
- package/dist/entities/team-page/{index.d.mts → document.d.mts} +1 -1
- package/dist/entities/teamwork/constants.cjs +44 -0
- package/dist/entities/teamwork/constants.d.cts +35 -0
- package/dist/entities/teamwork/constants.d.mts +35 -0
- package/dist/entities/teamwork/constants.mjs +42 -0
- package/dist/entities/teamwork/fields.cjs +12 -0
- package/dist/entities/teamwork/fields.d.cts +10 -0
- package/dist/entities/teamwork/fields.d.mts +10 -0
- package/dist/entities/teamwork/fields.mjs +9 -0
- package/dist/entities/teamwork/query.cjs +27 -0
- package/dist/entities/teamwork/query.d.cts +23 -0
- package/dist/entities/teamwork/query.d.mts +23 -0
- package/dist/entities/teamwork/query.mjs +24 -0
- package/dist/entities/teamwork/types/index.cjs +0 -0
- package/dist/entities/teamwork/{index.d.cts → types/index.d.cts} +2 -64
- package/dist/entities/teamwork/{index.d.mts → types/index.d.mts} +2 -64
- package/dist/entities/teamwork/types/index.mjs +1 -0
- package/dist/entities/trend/constants.cjs +7 -0
- package/dist/entities/trend/constants.d.cts +5 -0
- package/dist/entities/trend/constants.d.mts +5 -0
- package/dist/entities/trend/constants.mjs +5 -0
- package/dist/entities/trend/document.cjs +3 -0
- package/dist/entities/trend/document.d.cts +2 -0
- package/dist/entities/trend/document.d.mts +2 -0
- package/dist/entities/trend/document.mjs +2 -0
- package/dist/entities/trend/{index.cjs → mutation.cjs} +0 -8
- package/dist/entities/trend/{index.d.mts → mutation.d.cts} +1 -6
- package/dist/entities/trend/{index.d.cts → mutation.d.mts} +1 -6
- package/dist/entities/trend/mutation.mjs +9 -0
- package/dist/entities/up-auth/{index.cjs → mutation.cjs} +2 -2
- package/dist/entities/up-auth/mutation.d.cts +86 -0
- package/dist/entities/up-auth/mutation.d.mts +86 -0
- package/dist/entities/up-auth/{index.mjs → mutation.mjs} +1 -1
- package/dist/entities/up-permission/{index.cjs → document.cjs} +1 -1
- package/dist/entities/up-permission/document.d.cts +2 -0
- package/dist/entities/up-permission/document.d.mts +2 -0
- package/dist/entities/up-permission/document.mjs +2 -0
- package/dist/entities/up-role/constants.cjs +11 -0
- package/dist/entities/up-role/{index.d.cts → constants.d.cts} +1 -3
- package/dist/entities/up-role/{index.d.mts → constants.d.mts} +1 -3
- package/dist/entities/up-role/constants.mjs +10 -0
- package/dist/entities/up-role/document.cjs +3 -0
- package/dist/entities/up-role/document.d.cts +2 -0
- package/dist/entities/up-role/document.d.mts +2 -0
- package/dist/entities/up-role/document.mjs +2 -0
- package/dist/entities/up-role/fields.cjs +9 -0
- package/dist/entities/up-role/fields.d.cts +2 -0
- package/dist/entities/up-role/fields.d.mts +2 -0
- package/dist/entities/up-role/fields.mjs +6 -0
- package/dist/entities/up-user/constants.cjs +17 -0
- package/dist/entities/up-user/constants.d.cts +6 -0
- package/dist/entities/up-user/constants.d.mts +6 -0
- package/dist/entities/up-user/constants.mjs +14 -0
- package/dist/entities/up-user/document.cjs +3 -0
- package/dist/entities/up-user/document.d.cts +2 -0
- package/dist/entities/up-user/document.d.mts +2 -0
- package/dist/entities/up-user/document.mjs +2 -0
- package/dist/entities/up-user/fields.cjs +12 -0
- package/dist/entities/up-user/fields.d.cts +10 -0
- package/dist/entities/up-user/fields.d.mts +10 -0
- package/dist/entities/up-user/fields.mjs +10 -0
- package/dist/entities/up-user/mutation.cjs +19 -0
- package/dist/entities/up-user/mutation.d.cts +14 -0
- package/dist/entities/up-user/mutation.d.mts +14 -0
- package/dist/entities/up-user/mutation.mjs +16 -0
- package/dist/entities/up-user/query.cjs +22 -0
- package/dist/entities/up-user/query.d.cts +18 -0
- package/dist/entities/up-user/query.d.mts +18 -0
- package/dist/entities/up-user/query.mjs +18 -0
- package/dist/entities/upload/fields.cjs +8 -0
- package/dist/entities/upload/fields.d.cts +6 -0
- package/dist/entities/upload/fields.d.mts +6 -0
- package/dist/entities/upload/fields.mjs +5 -0
- package/dist/entities/upload/{index.cjs → mutation.cjs} +3 -6
- package/dist/entities/upload/{index.d.cts → mutation.d.cts} +1 -4
- package/dist/entities/upload/{index.d.mts → mutation.d.mts} +1 -4
- package/dist/entities/upload/{index.mjs → mutation.mjs} +2 -4
- package/dist/entities/url-redirect/constants.cjs +32 -0
- package/dist/entities/url-redirect/constants.d.cts +8 -0
- package/dist/entities/url-redirect/constants.d.mts +8 -0
- package/dist/entities/url-redirect/constants.mjs +27 -0
- package/dist/entities/url-redirect/document.cjs +17 -0
- package/dist/entities/url-redirect/document.d.cts +18 -0
- package/dist/entities/url-redirect/document.d.mts +18 -0
- package/dist/entities/url-redirect/document.mjs +14 -0
- package/dist/entities/url-redirect/fields.cjs +14 -0
- package/dist/entities/url-redirect/fields.d.cts +12 -0
- package/dist/entities/url-redirect/fields.d.mts +12 -0
- package/dist/entities/url-redirect/fields.mjs +9 -0
- package/dist/entities/url-redirect/query.cjs +18 -0
- package/dist/entities/url-redirect/query.d.cts +16 -0
- package/dist/entities/url-redirect/query.d.mts +16 -0
- package/dist/entities/url-redirect/query.mjs +14 -0
- package/dist/entities/user-account/document.cjs +3 -0
- package/dist/entities/user-account/document.d.cts +2 -0
- package/dist/entities/user-account/document.d.mts +2 -0
- package/dist/entities/user-account/document.mjs +2 -0
- package/dist/entities/user-account/{index.cjs → mutation.cjs} +0 -9
- package/dist/entities/user-account/{index.d.cts → mutation.d.cts} +1 -13
- package/dist/entities/user-account/{index.d.mts → mutation.d.mts} +1 -13
- package/dist/entities/user-account/{index.mjs → mutation.mjs} +1 -7
- package/dist/entities/user-account/query.cjs +8 -0
- package/dist/entities/user-account/query.d.cts +14 -0
- package/dist/entities/user-account/query.d.mts +14 -0
- package/dist/entities/user-account/query.mjs +6 -0
- package/dist/entities/utm-link-builder/constants.cjs +11 -0
- package/dist/entities/utm-link-builder/constants.d.cts +4 -0
- package/dist/entities/utm-link-builder/constants.d.mts +4 -0
- package/dist/entities/utm-link-builder/constants.mjs +10 -0
- package/dist/entities/utm-link-builder/fields.cjs +9 -0
- package/dist/entities/utm-link-builder/fields.d.cts +7 -0
- package/dist/entities/utm-link-builder/fields.d.mts +7 -0
- package/dist/entities/utm-link-builder/fields.mjs +6 -0
- package/dist/entities/utm-link-builder/{index.cjs → mutation.cjs} +2 -14
- package/dist/entities/utm-link-builder/{index.d.cts → mutation.d.cts} +2 -4
- package/dist/entities/utm-link-builder/{index.d.mts → mutation.d.mts} +2 -4
- package/dist/entities/utm-link-builder/{index.mjs → mutation.mjs} +2 -13
- package/dist/entities/utm-tracking-link/constants.cjs +30 -0
- package/dist/entities/utm-tracking-link/constants.d.cts +6 -0
- package/dist/entities/utm-tracking-link/constants.d.mts +6 -0
- package/dist/entities/utm-tracking-link/constants.mjs +27 -0
- package/dist/entities/utm-tracking-link/document.cjs +3 -0
- package/dist/entities/utm-tracking-link/document.d.cts +2 -0
- package/dist/entities/utm-tracking-link/document.d.mts +2 -0
- package/dist/entities/utm-tracking-link/document.mjs +2 -0
- package/dist/entities/utm-tracking-link/fields.cjs +22 -0
- package/dist/entities/utm-tracking-link/fields.d.cts +20 -0
- package/dist/entities/utm-tracking-link/fields.d.mts +20 -0
- package/dist/entities/utm-tracking-link/fields.mjs +15 -0
- package/dist/entities/utm-tracking-link/{index.cjs → mutation.cjs} +14 -92
- package/dist/entities/utm-tracking-link/mutation.d.cts +172 -0
- package/dist/entities/utm-tracking-link/mutation.d.mts +172 -0
- package/dist/entities/utm-tracking-link/mutation.mjs +97 -0
- package/dist/entities/utm-tracking-link/query.cjs +38 -0
- package/dist/entities/utm-tracking-link/query.d.cts +32 -0
- package/dist/entities/utm-tracking-link/query.d.mts +32 -0
- package/dist/entities/utm-tracking-link/query.mjs +35 -0
- package/dist/fields-6yrZo7iR.d.cts +7 -0
- package/dist/fields-BB6Rnm2x.d.mts +37 -0
- package/dist/fields-BNPZU6Gp.d.mts +12 -0
- package/dist/fields-BmQJMVWd.d.mts +12 -0
- package/dist/{index-Cqmmzi2g.d.mts → fields-Bsv50wnV.d.mts} +3 -302
- package/dist/fields-Bv0zqexk.d.mts +7 -0
- package/dist/fields-CTfsBi5c.d.cts +12 -0
- package/dist/{index-WN2TBKki.d.cts → fields-CYFbYk8t.d.cts} +3 -302
- package/dist/fields-C_h0liCI.d.mts +12 -0
- package/dist/fields-DlXUyYib.d.cts +12 -0
- package/dist/fields-Dze87buK.d.cts +12 -0
- package/dist/fields-HW1czqjR.d.cts +37 -0
- package/dist/{index-BSYaAtme.d.mts → index-CV7T00Qq.d.mts} +2 -2
- package/dist/{index-Bjjp-2Sa.d.mts → index-DHkpV702.d.mts} +11 -57
- package/dist/{index-D7QXaSOY.d.cts → index-LS8utbTg.d.cts} +10 -56
- package/dist/permissions/index.d.cts +2 -1
- package/dist/permissions/index.d.mts +2 -1
- package/dist/query-Br0zLHlB.d.cts +42 -0
- package/dist/{query-BR5Ze6T2.mjs → query-BuKHwaMn.mjs} +2 -2
- package/dist/query-Do-NCMdA.d.mts +42 -0
- package/dist/{query-qQ_HLlxx.cjs → query-LyGctccO.cjs} +2 -2
- package/dist/{sort-D3WwshqQ.mjs → sort-BJrzr4Xl.mjs} +1 -1
- package/dist/sort-CGhEoZGd.d.mts +12 -0
- package/dist/sort-D9B3xl2d.d.cts +12 -0
- package/dist/{sort-CI87SH1y.cjs → sort-DIln8tn5.cjs} +1 -1
- package/dist/utilities/index.d.cts +3 -2
- package/dist/utilities/index.d.mts +3 -2
- package/package.json +61 -8
- package/dist/document-AqtoEbX8.cjs +0 -238
- package/dist/document-BCbxKqGE.mjs +0 -129
- package/dist/entities/blog-post/index.d.cts +0 -2
- package/dist/entities/blog-post/index.d.mts +0 -2
- package/dist/entities/category/index.cjs +0 -56
- package/dist/entities/category/index.mjs +0 -45
- package/dist/entities/client/index.cjs +0 -97
- package/dist/entities/client/index.d.cts +0 -2
- package/dist/entities/client/index.d.mts +0 -2
- package/dist/entities/client/index.mjs +0 -84
- package/dist/entities/client-content-pillar/index.cjs +0 -61
- package/dist/entities/client-content-pillar/index.d.cts +0 -2
- package/dist/entities/client-content-pillar/index.d.mts +0 -2
- package/dist/entities/client-content-pillar/index.mjs +0 -50
- package/dist/entities/client-media-platform/index.cjs +0 -69
- package/dist/entities/client-media-platform/index.d.cts +0 -2
- package/dist/entities/client-media-platform/index.d.mts +0 -2
- package/dist/entities/client-media-platform/index.mjs +0 -58
- package/dist/entities/client-project/index.d.cts +0 -2
- package/dist/entities/client-project/index.d.mts +0 -2
- package/dist/entities/client-report/index.d.cts +0 -2
- package/dist/entities/client-report/index.d.mts +0 -2
- package/dist/entities/client-report/index.mjs +0 -62
- package/dist/entities/client-styleguide/index.cjs +0 -58
- package/dist/entities/client-styleguide/index.d.cts +0 -2
- package/dist/entities/client-styleguide/index.d.mts +0 -2
- package/dist/entities/client-styleguide/index.mjs +0 -47
- package/dist/entities/client-user/index.d.cts +0 -2
- package/dist/entities/client-user/index.d.mts +0 -2
- package/dist/entities/client-user/index.mjs +0 -28
- package/dist/entities/comment/index.cjs +0 -139
- package/dist/entities/comment/index.d.cts +0 -2
- package/dist/entities/comment/index.d.mts +0 -2
- package/dist/entities/comment/index.mjs +0 -118
- package/dist/entities/content-pillar/index.cjs +0 -61
- package/dist/entities/content-pillar/index.d.cts +0 -2
- package/dist/entities/content-pillar/index.d.mts +0 -2
- package/dist/entities/content-pillar/index.mjs +0 -50
- package/dist/entities/formatter/index.cjs +0 -258
- package/dist/entities/formatter/index.d.cts +0 -121
- package/dist/entities/formatter/index.d.mts +0 -121
- package/dist/entities/formatter/index.mjs +0 -233
- package/dist/entities/gcflytour/index.d.cts +0 -2
- package/dist/entities/gcflytour/index.d.mts +0 -2
- package/dist/entities/gcflytour/index.mjs +0 -60
- package/dist/entities/gcflytour-snap/index.cjs +0 -70
- package/dist/entities/gcflytour-snap/index.d.cts +0 -2
- package/dist/entities/gcflytour-snap/index.d.mts +0 -2
- package/dist/entities/gcflytour-snap/index.mjs +0 -59
- package/dist/entities/media-content-type/index.cjs +0 -89
- package/dist/entities/media-content-type/index.mjs +0 -78
- package/dist/entities/media-creative-format/index.cjs +0 -72
- package/dist/entities/media-creative-format/index.mjs +0 -61
- package/dist/entities/media-medium/index.cjs +0 -81
- package/dist/entities/media-medium/index.mjs +0 -70
- package/dist/entities/media-platform/index.cjs +0 -105
- package/dist/entities/media-platform/index.d.cts +0 -2
- package/dist/entities/media-platform/index.d.mts +0 -2
- package/dist/entities/media-platform/index.mjs +0 -94
- package/dist/entities/monday-workspace/index.cjs +0 -61
- package/dist/entities/monday-workspace/index.d.cts +0 -2
- package/dist/entities/monday-workspace/index.d.mts +0 -2
- package/dist/entities/monday-workspace/index.mjs +0 -50
- package/dist/entities/product-highlight/index.d.cts +0 -2
- package/dist/entities/product-highlight/index.d.mts +0 -2
- package/dist/entities/tag/index.cjs +0 -56
- package/dist/entities/tag/index.mjs +0 -45
- package/dist/entities/team-member/index.cjs +0 -36
- package/dist/entities/team-member/index.d.cts +0 -2
- package/dist/entities/team-member/index.d.mts +0 -2
- package/dist/entities/team-member/index.mjs +0 -24
- package/dist/entities/teamwork/index.cjs +0 -75
- package/dist/entities/teamwork/index.mjs +0 -69
- package/dist/entities/trend/index.mjs +0 -14
- package/dist/entities/up-auth/index.d.cts +0 -2
- package/dist/entities/up-auth/index.d.mts +0 -2
- package/dist/entities/up-permission/index.d.cts +0 -2
- package/dist/entities/up-permission/index.d.mts +0 -2
- package/dist/entities/up-permission/index.mjs +0 -2
- package/dist/entities/up-role/index.cjs +0 -5
- package/dist/entities/up-role/index.mjs +0 -2
- package/dist/entities/up-user/index.cjs +0 -11
- package/dist/entities/up-user/index.d.cts +0 -2
- package/dist/entities/up-user/index.d.mts +0 -2
- package/dist/entities/up-user/index.mjs +0 -2
- package/dist/entities/url-redirect/index.cjs +0 -68
- package/dist/entities/url-redirect/index.d.cts +0 -46
- package/dist/entities/url-redirect/index.d.mts +0 -46
- package/dist/entities/url-redirect/index.mjs +0 -55
- package/dist/entities/utm-tracking-link/index.d.cts +0 -2
- package/dist/entities/utm-tracking-link/index.d.mts +0 -2
- package/dist/entities/utm-tracking-link/index.mjs +0 -163
- package/dist/index-C1GoH-4v.d.cts +0 -4761
- package/dist/index-CBW5QmNu.d.cts +0 -201
- package/dist/index-ClQOYhKi.d.mts +0 -4761
- package/dist/index-DKFW5ay8.d.mts +0 -201
- /package/dist/{document-i-h3Orv7.d.cts → document-IA5g9kSc.d.cts} +0 -0
- /package/dist/entities/blog-page/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/blog-page/{index.mjs → document.mjs} +0 -0
- /package/dist/entities/careers-page/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/careers-page/{index.mjs → document.mjs} +0 -0
- /package/dist/entities/faq-page/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/faq-page/{index.mjs → document.mjs} +0 -0
- /package/dist/entities/landing-page/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/landing-page/{index.mjs → document.mjs} +0 -0
- /package/dist/entities/policy-page/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/policy-page/{index.mjs → document.mjs} +0 -0
- /package/dist/entities/sharpspring/{index.cjs → mutation.cjs} +0 -0
- /package/dist/entities/sharpspring/{index.d.cts → mutation.d.cts} +0 -0
- /package/dist/entities/sharpspring/{index.d.mts → mutation.d.mts} +0 -0
- /package/dist/entities/sharpspring/{index.mjs → mutation.mjs} +0 -0
- /package/dist/entities/team-page/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/team-page/{index.mjs → document.mjs} +0 -0
- /package/dist/entities/utm-meta/{index.cjs → document.cjs} +0 -0
- /package/dist/entities/utm-meta/{index.d.cts → document.d.cts} +0 -0
- /package/dist/entities/utm-meta/{index.d.mts → document.d.mts} +0 -0
- /package/dist/entities/utm-meta/{index.mjs → document.mjs} +0 -0
- /package/dist/{index-DG_Lwaa7.d.cts → index-BwLZjlo3.d.cts} +0 -0
- /package/dist/{index-D11tQdCv.d.cts → index-CtcVMald.d.cts} +0 -0
- /package/dist/{index-BOxQLeAK.d.cts → index-ie_YU9zh.d.cts} +0 -0
- /package/dist/{index-COpLbpQC.d.cts → index-zowAUXa0.d.cts} +0 -0
- /package/dist/{json--oetJLQY.d.mts → json-Dk27QL29.d.mts} +0 -0
- /package/dist/{media-upload-DBG7YyU4.d.mts → media-upload-DSURwJZR.d.mts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
|
|
4
|
+
//#region src/entities/client-project/fields.d.ts
|
|
5
|
+
declare const QuerySortClientProjects: v.GenericSchema<QuerySortOutput<"id" | "slug" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "num_of_models" | "num_of_units_remain" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date">>;
|
|
6
|
+
type QuerySortClientProjects = v.InferOutput<typeof QuerySortClientProjects>;
|
|
7
|
+
declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
|
|
8
|
+
type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
|
|
9
|
+
declare const ClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>;
|
|
10
|
+
type ClientProjectPhase = v.InferOutput<typeof ClientProjectPhase>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ClientProjectStatus as n, QuerySortClientProjects as r, ClientProjectPhase as t };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
|
|
4
|
+
//#region src/permissions/constants.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Example usage of ClientEntityScope type
|
|
7
|
+
* @reference https://youtube.com/shorts/zOseJFD447U?si=xX8DYEHdl9YtN7S4
|
|
8
|
+
*
|
|
9
|
+
* > const validScope: ClientEntityScope = "utm-tracking-link:list"; // ✅
|
|
10
|
+
* > const invalidScope: ClientEntityScope = "blog-post:import"; // ❌ Type error!
|
|
11
|
+
*/
|
|
12
|
+
declare const CLIENT_ENTITY_PERMISSIONS: {
|
|
13
|
+
readonly client: readonly ["admin", "owner", "manager", "billing", "access"];
|
|
14
|
+
readonly "client-project": readonly ["list", "create", "read", "update", "delete", "assign"];
|
|
15
|
+
readonly "client-media-platform": readonly ["list", "create", "read", "update", "delete"];
|
|
16
|
+
readonly "client-content-pillar": readonly ["list", "create", "read", "update", "delete"];
|
|
17
|
+
readonly "client-report": readonly ["list", "create", "read", "update", "delete"];
|
|
18
|
+
readonly "client-styleguide": readonly ["list", "create", "read", "update", "delete"];
|
|
19
|
+
readonly "monday-workspace": readonly ["list", "create", "read", "update", "delete"];
|
|
20
|
+
readonly "utm-tracking-link": readonly ["list", "create", "read", "update", "delete"];
|
|
21
|
+
readonly gcflytour: readonly ["list", "create", "read", "update", "delete"];
|
|
22
|
+
readonly "gcflytour-snap": readonly ["list", "create", "read", "update", "delete"];
|
|
23
|
+
};
|
|
24
|
+
type ClientEntityKey = keyof typeof CLIENT_ENTITY_PERMISSIONS;
|
|
25
|
+
type ClientEntityActions<K extends ClientEntityKey = ClientEntityKey> = (typeof CLIENT_ENTITY_PERMISSIONS)[K][number];
|
|
26
|
+
type EntityActionJoin<K extends string, V extends string> = `${K}:${V}`;
|
|
27
|
+
type ClientEntityScope = { [K in ClientEntityKey]: EntityActionJoin<K, (typeof CLIENT_ENTITY_PERMISSIONS)[K][number]> }[ClientEntityKey];
|
|
28
|
+
declare const CLIENT_ENTITY_KEYS: ClientEntityKey[];
|
|
29
|
+
declare const CLIENT_ENTITY_SCOPES: ClientEntityScope[];
|
|
30
|
+
//#endregion
|
|
31
|
+
//#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
|
+
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
|
+
type ClientUserScopes = v.InferOutput<typeof ClientUserScopes>;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { CLIENT_ENTITY_SCOPES as a, ClientEntityScope as c, CLIENT_ENTITY_PERMISSIONS as i, QuerySortClientUsers as n, ClientEntityActions as o, CLIENT_ENTITY_KEYS as r, ClientEntityKey as s, ClientUserScopes as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as JsonData } from "./json
|
|
2
|
-
import { r as MediaUploadDocument } from "./media-upload-
|
|
1
|
+
import { t as JsonData } from "./json-Dk27QL29.mjs";
|
|
2
|
+
import { r as MediaUploadDocument } from "./media-upload-DSURwJZR.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/components/shared/button.d.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t as JsonData } from "./json
|
|
1
|
+
import { t as JsonData } from "./json-Dk27QL29.mjs";
|
|
2
|
+
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/base/component.d.ts
|
|
@@ -61,61 +62,14 @@ declare const STRAPI_LINK_REL: readonly ["alternate", "author", "bookmark", "ext
|
|
|
61
62
|
declare const StrapiLinkRel: v.PicklistSchema<readonly ["alternate", "author", "bookmark", "external", "help", "license", "next", "nofollow", "noreferrer", "noopener", "prev", "search", "tag"], undefined>;
|
|
62
63
|
type StrapiLinkRel = v.InferOutput<typeof StrapiLinkRel>;
|
|
63
64
|
//#endregion
|
|
64
|
-
//#region src/base/sort.d.ts
|
|
65
|
-
type SortOrder = "ASC" | "DESC";
|
|
66
|
-
type QuerySortValue<TKey extends string> = `${TKey}:${SortOrder}`;
|
|
67
|
-
type QuerySortOutput<TKey extends string> = QuerySortValue<TKey>[] | undefined;
|
|
68
|
-
declare const createQuerySort: <const TSortKeys extends readonly [string, ...string[]]>(sortKeys: TSortKeys) => v.GenericSchema<QuerySortOutput<TSortKeys[number]>>;
|
|
69
|
-
declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
|
|
70
|
-
declare const QuerySortEntities: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
71
|
-
type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
|
|
72
|
-
//#endregion
|
|
73
65
|
//#region src/base/pagination.d.ts
|
|
74
66
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
75
67
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
76
68
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
77
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
69
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
78
70
|
}, undefined>;
|
|
79
71
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
80
72
|
//#endregion
|
|
81
|
-
//#region src/base/query.d.ts
|
|
82
|
-
declare const QueryStrapiById: v.ObjectSchema<{
|
|
83
|
-
readonly id: v.NumberSchema<undefined>;
|
|
84
|
-
}, undefined>;
|
|
85
|
-
type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
|
|
86
|
-
declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
87
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
88
|
-
}, undefined>;
|
|
89
|
-
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
90
|
-
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
91
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
92
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
93
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
94
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
95
|
-
}, undefined>;
|
|
96
|
-
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
97
|
-
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
98
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
99
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
100
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
101
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
102
|
-
}, undefined>;
|
|
103
|
-
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
104
|
-
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
105
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
106
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
107
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
108
|
-
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
109
|
-
}, undefined>;
|
|
110
|
-
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
111
|
-
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
112
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
113
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
114
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
115
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
116
|
-
}, undefined>;
|
|
117
|
-
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
118
|
-
//#endregion
|
|
119
73
|
//#region src/base/relationships.d.ts
|
|
120
74
|
declare const SAssociateOneEntity: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
121
75
|
type SAssociateOneEntity = v.InferOutput<typeof SAssociateOneEntity>;
|
|
@@ -128,13 +82,13 @@ type SAssociateManyEntitiesOptional = v.InferOutput<typeof SAssociateManyEntitie
|
|
|
128
82
|
declare const SQueryManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>;
|
|
129
83
|
type SQueryManyEntities = v.InferOutput<typeof SQueryManyEntities>;
|
|
130
84
|
declare const SAssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
131
|
-
readonly collection: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
85
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
132
86
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
133
87
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
134
88
|
readonly connect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
135
89
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
136
90
|
}, undefined>, v.CheckAction<{
|
|
137
|
-
collection: "audit-logs" | "blog-posts" | "categories" | "
|
|
91
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
138
92
|
documentId: string;
|
|
139
93
|
relationKey: string;
|
|
140
94
|
connect?: string[] | undefined;
|
|
@@ -164,7 +118,7 @@ declare const SAssociateEntityPosition: v.ObjectSchema<{
|
|
|
164
118
|
}, undefined>;
|
|
165
119
|
type SAssociateEntityPosition = v.InferOutput<typeof SAssociateEntityPosition>;
|
|
166
120
|
declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
167
|
-
readonly collection: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
121
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
168
122
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
169
123
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
170
124
|
readonly connect: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -181,7 +135,7 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
181
135
|
}, undefined>, undefined>, undefined>;
|
|
182
136
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
183
137
|
}, undefined>, v.CheckAction<{
|
|
184
|
-
collection: "audit-logs" | "blog-posts" | "categories" | "
|
|
138
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
185
139
|
documentId: string;
|
|
186
140
|
relationKey: string;
|
|
187
141
|
connect?: {
|
|
@@ -198,7 +152,7 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
198
152
|
}, "You must provide a relationship to update: connect or disconnect.">]>;
|
|
199
153
|
type SAssociateEntityPositionDocumentRequest = v.InferOutput<typeof SAssociateEntityPositionDocumentRequest>;
|
|
200
154
|
declare const SSetEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
201
|
-
readonly collection: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
155
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
202
156
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
203
157
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
204
158
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
|
|
@@ -264,9 +218,9 @@ type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorRespons
|
|
|
264
218
|
//#region src/base/strapi.d.ts
|
|
265
219
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
266
220
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
267
|
-
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
221
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
268
222
|
type ValidStrapiCollectionEntity = v.InferOutput<typeof ValidStrapiCollectionEntity>;
|
|
269
|
-
declare const ValidStrapiSingleEntity: v.PicklistSchema<("
|
|
223
|
+
declare const ValidStrapiSingleEntity: v.PicklistSchema<("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[], undefined>;
|
|
270
224
|
type ValidStrapiSingleEntity = v.InferOutput<typeof ValidStrapiSingleEntity>;
|
|
271
225
|
declare const ValidStrapiSpecialEntity: v.PicklistSchema<readonly ["formatter"], undefined>;
|
|
272
226
|
type ValidStrapiSpecialEntity = v.InferOutput<typeof ValidStrapiSpecialEntity>;
|
|
@@ -297,4 +251,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
297
251
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
298
252
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
299
253
|
//#endregion
|
|
300
|
-
export {
|
|
254
|
+
export { WEBSAFE_FONT_MONO as $, StrapiResponseMetaWithPagination as A, SQueryManyEntities as B, StrapiAttributeErrorResponse as C, StrapiListResponse as D, StrapiErrorResult as E, SAssociateManyEntities as F, STRAPI_LINK_TARGET as G, QueryStrapiPaginated as H, SAssociateManyEntitiesOptional as I, StrapiLinkTarget as J, StrapiLinkReferrerPolicy as K, SAssociateOneEntity as L, SAssociateEntityPosition as M, SAssociateEntityPositionDocumentRequest as N, StrapiPagination as O, SAssociateEntityRelationshipRequest as P, WEBSAFE_FONT_DISPLAY as Q, SAssociateOneEntityOptional as R, StrapiAttributeErrorKey as S, StrapiErrorResponse as T, STRAPI_LINK_REFERRER_POLICY as U, SSetEntityRelationshipRequest as V, STRAPI_LINK_REL as W, FONT_HEADER_SIZE as X, FormSelectInputOption as Y, FontHeaderSize as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WebSafeFontSans as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, BaseComponent as ct, StrapiGapSizes as d, WEBSAFE_FONT_SANS as et, StrapiIconName as f, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WebSafeFontMono as it, StrapiSingleResponse as j, StrapiResponseMeta as k, StrapiBgColorOptions as l, BaseComponentId as lt, StrapiLinkType as m, STRAPI_DIRECTION as n, WebSafeFont as nt, STRAPI_LINK_TYPE as o, WebSafeFontSerif as ot, StrapiIconPosition as p, StrapiLinkRel as q, STRAPI_GAP_SIZES as r, WebSafeFontDisplay as rt, STRAPI_TEXT_COLOR_OPTIONS as s, BaseDocument as st, STRAPI_BG_COLOR_OPTIONS as t, WEBSAFE_FONT_SERIF as tt, StrapiDirection as u, ValidStrapiCollectionEntity as v, StrapiErrorDetail as w, StrapiAttributeErrorDetail as x, ValidStrapiSingleEntity as y, SEntityPosition as z };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { t as JsonData } from "./json-Cm6HECXA.cjs";
|
|
2
|
+
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/base/component.d.ts
|
|
@@ -61,61 +62,14 @@ declare const STRAPI_LINK_REL: readonly ["alternate", "author", "bookmark", "ext
|
|
|
61
62
|
declare const StrapiLinkRel: v.PicklistSchema<readonly ["alternate", "author", "bookmark", "external", "help", "license", "next", "nofollow", "noreferrer", "noopener", "prev", "search", "tag"], undefined>;
|
|
62
63
|
type StrapiLinkRel = v.InferOutput<typeof StrapiLinkRel>;
|
|
63
64
|
//#endregion
|
|
64
|
-
//#region src/base/sort.d.ts
|
|
65
|
-
type SortOrder = "ASC" | "DESC";
|
|
66
|
-
type QuerySortValue<TKey extends string> = `${TKey}:${SortOrder}`;
|
|
67
|
-
type QuerySortOutput<TKey extends string> = QuerySortValue<TKey>[] | undefined;
|
|
68
|
-
declare const createQuerySort: <const TSortKeys extends readonly [string, ...string[]]>(sortKeys: TSortKeys) => v.GenericSchema<QuerySortOutput<TSortKeys[number]>>;
|
|
69
|
-
declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
|
|
70
|
-
declare const QuerySortEntities: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
71
|
-
type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
|
|
72
|
-
//#endregion
|
|
73
65
|
//#region src/base/pagination.d.ts
|
|
74
66
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
75
67
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
76
68
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
77
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
69
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
78
70
|
}, undefined>;
|
|
79
71
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
80
72
|
//#endregion
|
|
81
|
-
//#region src/base/query.d.ts
|
|
82
|
-
declare const QueryStrapiById: v.ObjectSchema<{
|
|
83
|
-
readonly id: v.NumberSchema<undefined>;
|
|
84
|
-
}, undefined>;
|
|
85
|
-
type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
|
|
86
|
-
declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
87
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
88
|
-
}, undefined>;
|
|
89
|
-
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
90
|
-
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
91
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
92
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
93
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
94
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
95
|
-
}, undefined>;
|
|
96
|
-
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
97
|
-
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
98
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
99
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
100
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
101
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
102
|
-
}, undefined>;
|
|
103
|
-
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
104
|
-
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
105
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
106
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
107
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
108
|
-
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
109
|
-
}, undefined>;
|
|
110
|
-
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
111
|
-
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
112
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
113
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
114
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
115
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
116
|
-
}, undefined>;
|
|
117
|
-
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
118
|
-
//#endregion
|
|
119
73
|
//#region src/base/relationships.d.ts
|
|
120
74
|
declare const SAssociateOneEntity: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
121
75
|
type SAssociateOneEntity = v.InferOutput<typeof SAssociateOneEntity>;
|
|
@@ -128,13 +82,13 @@ type SAssociateManyEntitiesOptional = v.InferOutput<typeof SAssociateManyEntitie
|
|
|
128
82
|
declare const SQueryManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>;
|
|
129
83
|
type SQueryManyEntities = v.InferOutput<typeof SQueryManyEntities>;
|
|
130
84
|
declare const SAssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
131
|
-
readonly collection: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
85
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
132
86
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
133
87
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
134
88
|
readonly connect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
135
89
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
136
90
|
}, undefined>, v.CheckAction<{
|
|
137
|
-
collection: "audit-logs" | "blog-posts" | "categories" | "
|
|
91
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
138
92
|
documentId: string;
|
|
139
93
|
relationKey: string;
|
|
140
94
|
connect?: string[] | undefined;
|
|
@@ -164,7 +118,7 @@ declare const SAssociateEntityPosition: v.ObjectSchema<{
|
|
|
164
118
|
}, undefined>;
|
|
165
119
|
type SAssociateEntityPosition = v.InferOutput<typeof SAssociateEntityPosition>;
|
|
166
120
|
declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
167
|
-
readonly collection: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
121
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
168
122
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
169
123
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
170
124
|
readonly connect: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -181,7 +135,7 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
181
135
|
}, undefined>, undefined>, undefined>;
|
|
182
136
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
183
137
|
}, undefined>, v.CheckAction<{
|
|
184
|
-
collection: "audit-logs" | "blog-posts" | "categories" | "
|
|
138
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
185
139
|
documentId: string;
|
|
186
140
|
relationKey: string;
|
|
187
141
|
connect?: {
|
|
@@ -198,7 +152,7 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
198
152
|
}, "You must provide a relationship to update: connect or disconnect.">]>;
|
|
199
153
|
type SAssociateEntityPositionDocumentRequest = v.InferOutput<typeof SAssociateEntityPositionDocumentRequest>;
|
|
200
154
|
declare const SSetEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
201
|
-
readonly collection: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
155
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
202
156
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
203
157
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
204
158
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
|
|
@@ -264,9 +218,9 @@ type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorRespons
|
|
|
264
218
|
//#region src/base/strapi.d.ts
|
|
265
219
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
266
220
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
267
|
-
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("audit-logs" | "blog-posts" | "categories" | "
|
|
221
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
268
222
|
type ValidStrapiCollectionEntity = v.InferOutput<typeof ValidStrapiCollectionEntity>;
|
|
269
|
-
declare const ValidStrapiSingleEntity: v.PicklistSchema<("
|
|
223
|
+
declare const ValidStrapiSingleEntity: v.PicklistSchema<("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[], undefined>;
|
|
270
224
|
type ValidStrapiSingleEntity = v.InferOutput<typeof ValidStrapiSingleEntity>;
|
|
271
225
|
declare const ValidStrapiSpecialEntity: v.PicklistSchema<readonly ["formatter"], undefined>;
|
|
272
226
|
type ValidStrapiSpecialEntity = v.InferOutput<typeof ValidStrapiSpecialEntity>;
|
|
@@ -297,4 +251,4 @@ declare const STRAPI_ICON_NAME: readonly ["link", "email", "phone", "facebook",
|
|
|
297
251
|
declare const StrapiIconName: v.NullableSchema<v.PicklistSchema<readonly ["link", "email", "phone", "facebook", "instagram", "linkedin", "tiktok", "pinterest", "twitter"], undefined>, undefined>;
|
|
298
252
|
type StrapiIconName = v.InferOutput<typeof StrapiIconName>;
|
|
299
253
|
//#endregion
|
|
300
|
-
export {
|
|
254
|
+
export { WEBSAFE_FONT_MONO as $, StrapiResponseMetaWithPagination as A, SQueryManyEntities as B, StrapiAttributeErrorResponse as C, StrapiListResponse as D, StrapiErrorResult as E, SAssociateManyEntities as F, STRAPI_LINK_TARGET as G, QueryStrapiPaginated as H, SAssociateManyEntitiesOptional as I, StrapiLinkTarget as J, StrapiLinkReferrerPolicy as K, SAssociateOneEntity as L, SAssociateEntityPosition as M, SAssociateEntityPositionDocumentRequest as N, StrapiPagination as O, SAssociateEntityRelationshipRequest as P, WEBSAFE_FONT_DISPLAY as Q, SAssociateOneEntityOptional as R, StrapiAttributeErrorKey as S, StrapiErrorResponse as T, STRAPI_LINK_REFERRER_POLICY as U, SSetEntityRelationshipRequest as V, STRAPI_LINK_REL as W, FONT_HEADER_SIZE as X, FormSelectInputOption as Y, FontHeaderSize as Z, ContentStatus as _, STRAPI_ICON_POSITION as a, WebSafeFontSans as at, ValidStrapiSpecialEntity as b, STRAPI_THEME_OPTIONS as c, BaseComponent as ct, StrapiGapSizes as d, WEBSAFE_FONT_SANS as et, StrapiIconName as f, StrapiThemeOptions as g, StrapiTextColorOptions as h, STRAPI_ICON_NAME as i, WebSafeFontMono as it, StrapiSingleResponse as j, StrapiResponseMeta as k, StrapiBgColorOptions as l, BaseComponentId as lt, StrapiLinkType as m, STRAPI_DIRECTION as n, WebSafeFont as nt, STRAPI_LINK_TYPE as o, WebSafeFontSerif as ot, StrapiIconPosition as p, StrapiLinkRel as q, STRAPI_GAP_SIZES as r, WebSafeFontDisplay as rt, STRAPI_TEXT_COLOR_OPTIONS as s, BaseDocument as st, STRAPI_BG_COLOR_OPTIONS as t, WEBSAFE_FONT_SERIF as tt, StrapiDirection as u, ValidStrapiCollectionEntity as v, StrapiErrorDetail as w, StrapiAttributeErrorDetail as x, ValidStrapiSingleEntity as y, SEntityPosition as z };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-CHBScA2R.cjs";
|
|
2
|
+
import { a as CLIENT_ENTITY_SCOPES, c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, o as ClientEntityActions, r as CLIENT_ENTITY_KEYS, s as ClientEntityKey } from "../fields-HW1czqjR.cjs";
|
|
2
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-B4XXhINT.mjs";
|
|
2
|
+
import { a as CLIENT_ENTITY_SCOPES, c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, o as ClientEntityActions, r as CLIENT_ENTITY_KEYS, s as ClientEntityKey } from "../fields-BB6Rnm2x.mjs";
|
|
2
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { r as QuerySortOutput } from "./sort-D9B3xl2d.cjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
|
|
4
|
+
//#region src/base/query.d.ts
|
|
5
|
+
declare const QueryStrapiById: v.ObjectSchema<{
|
|
6
|
+
readonly id: v.NumberSchema<undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
|
|
9
|
+
declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
10
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
13
|
+
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
14
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
15
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
17
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
20
|
+
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
21
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
22
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
24
|
+
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
|
+
}, undefined>;
|
|
26
|
+
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
27
|
+
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
28
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
29
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
31
|
+
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
|
+
}, undefined>;
|
|
33
|
+
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
34
|
+
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
35
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
36
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
38
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|
|
@@ -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 { n as QuerySortEntities } from "./sort-
|
|
3
|
+
import { n as QuerySortEntities } from "./sort-BJrzr4Xl.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: QuerySortEntities
|
|
13
|
+
sort: v.optional(QuerySortEntities)
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/base/query.ts
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { r as QuerySortOutput } from "./sort-CGhEoZGd.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
|
|
4
|
+
//#region src/base/query.d.ts
|
|
5
|
+
declare const QueryStrapiById: v.ObjectSchema<{
|
|
6
|
+
readonly id: v.NumberSchema<undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
|
|
9
|
+
declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
10
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
13
|
+
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
14
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
15
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
17
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
20
|
+
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
21
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
22
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
24
|
+
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
|
+
}, undefined>;
|
|
26
|
+
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
27
|
+
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
28
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
29
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
31
|
+
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
|
+
}, undefined>;
|
|
33
|
+
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
34
|
+
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
35
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
36
|
+
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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
38
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|
|
@@ -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-DIln8tn5.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: require_sort.QuerySortEntities
|
|
15
|
+
sort: valibot.optional(require_sort.QuerySortEntities)
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/base/query.ts
|
|
@@ -2,7 +2,7 @@ import * as v from "valibot";
|
|
|
2
2
|
//#region src/base/sort.ts
|
|
3
3
|
const createQuerySort = (sortKeys) => {
|
|
4
4
|
const sortOptions = sortKeys.flatMap((key) => [`${key}:ASC`, `${key}:DESC`]);
|
|
5
|
-
return v.
|
|
5
|
+
return v.pipe(v.array(v.picklist(sortOptions)), v.maxLength(sortKeys.length));
|
|
6
6
|
};
|
|
7
7
|
const ENTITY_SORT_KEYS = [
|
|
8
8
|
"id",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
|
|
3
|
+
//#region src/base/sort.d.ts
|
|
4
|
+
type SortOrder = "ASC" | "DESC";
|
|
5
|
+
type QuerySortValue<TKey extends string> = `${TKey}:${SortOrder}`;
|
|
6
|
+
type QuerySortOutput<TKey extends string> = QuerySortValue<TKey>[] | undefined;
|
|
7
|
+
declare const createQuerySort: <const TSortKeys extends readonly [string, ...string[]]>(sortKeys: TSortKeys) => v.GenericSchema<QuerySortOutput<TSortKeys[number]>>;
|
|
8
|
+
declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
|
|
9
|
+
declare const QuerySortEntities: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
10
|
+
type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SortOrder as a, QuerySortValue as i, QuerySortEntities as n, createQuerySort as o, QuerySortOutput as r, ENTITY_SORT_KEYS as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
|
|
3
|
+
//#region src/base/sort.d.ts
|
|
4
|
+
type SortOrder = "ASC" | "DESC";
|
|
5
|
+
type QuerySortValue<TKey extends string> = `${TKey}:${SortOrder}`;
|
|
6
|
+
type QuerySortOutput<TKey extends string> = QuerySortValue<TKey>[] | undefined;
|
|
7
|
+
declare const createQuerySort: <const TSortKeys extends readonly [string, ...string[]]>(sortKeys: TSortKeys) => v.GenericSchema<QuerySortOutput<TSortKeys[number]>>;
|
|
8
|
+
declare const ENTITY_SORT_KEYS: readonly ["id", "createdAt", "updatedAt"];
|
|
9
|
+
declare const QuerySortEntities: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>;
|
|
10
|
+
type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SortOrder as a, QuerySortValue as i, QuerySortEntities as n, createQuerySort as o, QuerySortOutput as r, ENTITY_SORT_KEYS as t };
|
|
@@ -4,7 +4,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
4
4
|
//#region src/base/sort.ts
|
|
5
5
|
const createQuerySort = (sortKeys) => {
|
|
6
6
|
const sortOptions = sortKeys.flatMap((key) => [`${key}:ASC`, `${key}:DESC`]);
|
|
7
|
-
return valibot.
|
|
7
|
+
return valibot.pipe(valibot.array(valibot.picklist(sortOptions)), valibot.maxLength(sortKeys.length));
|
|
8
8
|
};
|
|
9
9
|
const ENTITY_SORT_KEYS = [
|
|
10
10
|
"id",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-LS8utbTg.cjs";
|
|
2
|
+
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-CHBScA2R.cjs";
|
|
3
|
+
import { t as RoleType } from "../fields-6yrZo7iR.cjs";
|
|
3
4
|
import * as v from "valibot";
|
|
4
5
|
|
|
5
6
|
//#region src/utilities/permissions.d.ts
|