@getcommunity/gc-validators 0.0.288-alpha.0 → 0.0.288-alpha.2
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 +7 -7
- package/dist/base/index.d.cts +3 -3
- package/dist/base/index.d.mts +3 -3
- package/dist/base/index.mjs +3 -4
- package/dist/boolean-BwqaNE9c.cjs +23 -0
- package/dist/boolean-cJxcC8gC.mjs +10 -0
- package/dist/constants/index.cjs +2 -2
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +2 -2
- package/dist/{document-DZnOyFC3.d.cts → document-CPHhI3jF.d.cts} +1 -1
- package/dist/{document-BiAMIsiM.mjs → document-D8qKQkPt.mjs} +64 -64
- package/dist/{document-Bs5gh1PK.d.mts → document-DHJf5HxE.d.mts} +1 -1
- package/dist/{document-CMD9cQiK.mjs → document-DKCXrhcv.mjs} +9 -9
- package/dist/entities/audit-log/mutation.cjs +3 -3
- package/dist/entities/audit-log/mutation.mjs +3 -3
- package/dist/entities/audit-log/query.cjs +29 -18
- package/dist/entities/audit-log/query.d.cts +63 -16
- package/dist/entities/audit-log/query.d.mts +63 -16
- package/dist/entities/audit-log/query.mjs +28 -19
- package/dist/entities/blog-post/document.cjs +1 -1
- package/dist/entities/blog-post/document.mjs +1 -1
- package/dist/entities/blog-post/query.cjs +34 -9
- package/dist/entities/blog-post/query.d.cts +59 -5
- package/dist/entities/blog-post/query.d.mts +59 -5
- package/dist/entities/blog-post/query.mjs +30 -7
- package/dist/entities/category/document.cjs +1 -1
- package/dist/entities/category/document.mjs +1 -1
- package/dist/entities/category/mutation.cjs +1 -1
- package/dist/entities/category/mutation.mjs +1 -1
- package/dist/entities/category/query.cjs +13 -4
- package/dist/entities/category/query.d.cts +19 -3
- package/dist/entities/category/query.d.mts +19 -3
- package/dist/entities/category/query.mjs +13 -5
- package/dist/entities/client/document.cjs +1 -1
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/document.mjs +1 -1
- package/dist/entities/client/fields.cjs +3 -1
- package/dist/entities/client/fields.d.cts +3 -1
- package/dist/entities/client/fields.d.mts +3 -1
- package/dist/entities/client/fields.mjs +3 -2
- package/dist/entities/client/mutation.cjs +1 -1
- package/dist/entities/client/mutation.mjs +1 -1
- package/dist/entities/client/query.cjs +24 -50
- package/dist/entities/client/query.d.cts +2 -663
- package/dist/entities/client/query.d.mts +2 -663
- package/dist/entities/client/query.mjs +17 -43
- package/dist/entities/client-content-pillar/document.cjs +1 -1
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/document.mjs +1 -1
- package/dist/entities/client-content-pillar/mutation.cjs +1 -1
- package/dist/entities/client-content-pillar/mutation.mjs +1 -1
- package/dist/entities/client-content-pillar/query.cjs +3 -20
- package/dist/entities/client-content-pillar/query.d.cts +2 -16
- package/dist/entities/client-content-pillar/query.d.mts +2 -16
- package/dist/entities/client-content-pillar/query.mjs +2 -18
- package/dist/entities/client-media-platform/document.cjs +1 -1
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/document.mjs +1 -1
- package/dist/entities/client-media-platform/mutation.cjs +1 -1
- package/dist/entities/client-media-platform/mutation.mjs +1 -1
- package/dist/entities/client-media-platform/query.cjs +3 -22
- package/dist/entities/client-media-platform/query.d.cts +2 -17
- package/dist/entities/client-media-platform/query.d.mts +2 -17
- package/dist/entities/client-media-platform/query.mjs +2 -20
- package/dist/entities/client-project/document.cjs +1 -1
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/document.mjs +1 -1
- package/dist/entities/client-project/mutation.cjs +3 -3
- package/dist/entities/client-project/mutation.mjs +3 -3
- package/dist/entities/client-project/query.cjs +36 -26
- package/dist/entities/client-project/query.d.cts +88 -19
- package/dist/entities/client-project/query.d.mts +88 -19
- package/dist/entities/client-project/query.mjs +34 -27
- package/dist/entities/client-report/document.cjs +1 -1
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/document.mjs +1 -1
- package/dist/entities/client-report/mutation.cjs +1 -1
- package/dist/entities/client-report/mutation.mjs +1 -1
- package/dist/entities/client-report/query.cjs +23 -10
- package/dist/entities/client-report/query.d.cts +48 -8
- package/dist/entities/client-report/query.d.mts +48 -8
- package/dist/entities/client-report/query.mjs +22 -11
- package/dist/entities/client-styleguide/document.cjs +1 -1
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/document.mjs +1 -1
- package/dist/entities/client-styleguide/mutation.cjs +1 -1
- package/dist/entities/client-styleguide/mutation.mjs +1 -1
- package/dist/entities/client-styleguide/query.cjs +16 -7
- package/dist/entities/client-styleguide/query.d.cts +22 -5
- package/dist/entities/client-styleguide/query.d.mts +22 -5
- package/dist/entities/client-styleguide/query.mjs +16 -8
- package/dist/entities/client-user/document.cjs +1 -1
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/document.mjs +1 -1
- package/dist/entities/client-user/fields.cjs +2 -0
- package/dist/entities/client-user/fields.d.cts +2 -2
- package/dist/entities/client-user/fields.d.mts +2 -2
- package/dist/entities/client-user/fields.mjs +2 -1
- package/dist/entities/client-user/mutation.cjs +1 -1
- package/dist/entities/client-user/mutation.d.cts +1 -1
- package/dist/entities/client-user/mutation.d.mts +1 -1
- package/dist/entities/client-user/mutation.mjs +1 -1
- package/dist/entities/client-user/query.cjs +3 -13
- package/dist/entities/client-user/query.d.cts +2 -11
- package/dist/entities/client-user/query.d.mts +2 -11
- package/dist/entities/client-user/query.mjs +2 -11
- package/dist/entities/comment/query.cjs +2 -2
- package/dist/entities/comment/query.mjs +2 -2
- package/dist/entities/content-pillar/document.cjs +1 -1
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/document.mjs +1 -1
- package/dist/entities/content-pillar/mutation.cjs +1 -1
- package/dist/entities/content-pillar/mutation.mjs +1 -1
- package/dist/entities/content-pillar/query.cjs +3 -17
- package/dist/entities/content-pillar/query.d.cts +2 -14
- package/dist/entities/content-pillar/query.d.mts +2 -14
- package/dist/entities/content-pillar/query.mjs +2 -15
- package/dist/entities/formatter/constants.d.cts +1 -1
- package/dist/entities/formatter/constants.d.mts +1 -1
- package/dist/entities/formatter/fields.d.cts +4 -4
- package/dist/entities/formatter/fields.d.mts +4 -4
- package/dist/entities/gcflytour/document.cjs +1 -1
- package/dist/entities/gcflytour/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/document.mjs +1 -1
- package/dist/entities/gcflytour/mutation.cjs +1 -1
- package/dist/entities/gcflytour/mutation.mjs +1 -1
- package/dist/entities/gcflytour/query.cjs +3 -20
- package/dist/entities/gcflytour/query.d.cts +2 -16
- package/dist/entities/gcflytour/query.d.mts +2 -16
- package/dist/entities/gcflytour/query.mjs +2 -18
- package/dist/entities/gcflytour-snap/document.cjs +1 -1
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/document.mjs +1 -1
- package/dist/entities/gcflytour-snap/mutation.cjs +1 -1
- package/dist/entities/gcflytour-snap/mutation.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +3 -21
- package/dist/entities/gcflytour-snap/query.d.cts +2 -17
- package/dist/entities/gcflytour-snap/query.d.mts +2 -17
- package/dist/entities/gcflytour-snap/query.mjs +2 -19
- package/dist/entities/lead/mutation.cjs +2 -2
- package/dist/entities/lead/mutation.mjs +2 -2
- package/dist/entities/media-content-type/document.cjs +1 -1
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/document.mjs +1 -1
- package/dist/entities/media-content-type/mutation.cjs +1 -1
- package/dist/entities/media-content-type/mutation.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +3 -22
- package/dist/entities/media-content-type/query.d.cts +2 -18
- package/dist/entities/media-content-type/query.d.mts +2 -18
- package/dist/entities/media-content-type/query.mjs +2 -20
- package/dist/entities/media-creative-format/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/document.mjs +1 -1
- package/dist/entities/media-creative-format/mutation.cjs +1 -1
- package/dist/entities/media-creative-format/mutation.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +3 -20
- package/dist/entities/media-creative-format/query.d.cts +2 -16
- package/dist/entities/media-creative-format/query.d.mts +2 -16
- package/dist/entities/media-creative-format/query.mjs +2 -18
- package/dist/entities/media-medium/document.cjs +1 -1
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/document.mjs +1 -1
- package/dist/entities/media-medium/mutation.cjs +1 -1
- package/dist/entities/media-medium/mutation.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +3 -21
- package/dist/entities/media-medium/query.d.cts +2 -17
- package/dist/entities/media-medium/query.d.mts +2 -17
- package/dist/entities/media-medium/query.mjs +2 -19
- package/dist/entities/media-platform/document.cjs +1 -1
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/document.mjs +1 -1
- package/dist/entities/media-platform/mutation.cjs +2 -2
- package/dist/entities/media-platform/mutation.mjs +2 -2
- package/dist/entities/media-platform/query.cjs +3 -25
- package/dist/entities/media-platform/query.d.cts +2 -20
- package/dist/entities/media-platform/query.d.mts +2 -20
- package/dist/entities/media-platform/query.mjs +2 -23
- package/dist/entities/monday-workspace/document.cjs +1 -1
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/document.mjs +1 -1
- package/dist/entities/monday-workspace/mutation.cjs +1 -1
- package/dist/entities/monday-workspace/mutation.mjs +1 -1
- package/dist/entities/monday-workspace/query.cjs +15 -6
- package/dist/entities/monday-workspace/query.d.cts +22 -4
- package/dist/entities/monday-workspace/query.d.mts +22 -4
- package/dist/entities/monday-workspace/query.mjs +15 -7
- package/dist/entities/newsletter-signup/mutation.cjs +2 -2
- package/dist/entities/newsletter-signup/mutation.mjs +2 -2
- package/dist/entities/product-highlight/document.cjs +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/product-highlight/document.mjs +1 -1
- package/dist/entities/resume/mutation.cjs +3 -3
- package/dist/entities/resume/mutation.mjs +3 -3
- package/dist/entities/sharpspring/mutation.cjs +1 -1
- package/dist/entities/sharpspring/mutation.mjs +1 -1
- package/dist/entities/tag/mutation.cjs +1 -1
- package/dist/entities/tag/mutation.mjs +1 -1
- package/dist/entities/tag/query.cjs +13 -4
- package/dist/entities/tag/query.d.cts +19 -3
- package/dist/entities/tag/query.d.mts +19 -3
- package/dist/entities/tag/query.mjs +13 -5
- package/dist/entities/team-member/document.cjs +1 -1
- package/dist/entities/team-member/document.mjs +1 -1
- package/dist/entities/team-member/query.cjs +24 -9
- package/dist/entities/team-member/query.d.cts +65 -7
- package/dist/entities/team-member/query.d.mts +65 -7
- package/dist/entities/team-member/query.mjs +22 -10
- package/dist/entities/teamwork/query.cjs +1 -2
- package/dist/entities/teamwork/query.mjs +1 -2
- package/dist/entities/trend/document.cjs +1 -1
- package/dist/entities/trend/document.mjs +1 -1
- package/dist/entities/trend/mutation.cjs +1 -1
- package/dist/entities/trend/mutation.mjs +1 -1
- package/dist/entities/up-auth/mutation.cjs +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -1
- package/dist/entities/up-auth/mutation.d.mts +1 -1
- package/dist/entities/up-auth/mutation.mjs +1 -1
- package/dist/entities/up-permission/document.cjs +1 -1
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-permission/document.mjs +1 -1
- package/dist/entities/up-permission/fields.cjs +7 -0
- package/dist/entities/up-permission/fields.d.cts +2 -0
- package/dist/entities/up-permission/fields.d.mts +2 -0
- package/dist/entities/up-permission/fields.mjs +6 -0
- package/dist/entities/up-role/document.cjs +1 -1
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/document.mjs +1 -1
- package/dist/entities/up-role/query.cjs +19 -0
- package/dist/entities/up-role/query.d.cts +2 -0
- package/dist/entities/up-role/query.d.mts +2 -0
- package/dist/entities/up-role/query.mjs +17 -0
- package/dist/entities/up-user/document.cjs +1 -1
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- package/dist/entities/up-user/fields.cjs +2 -1
- package/dist/entities/up-user/fields.mjs +1 -1
- package/dist/entities/up-user/mutation.cjs +1 -1
- package/dist/entities/up-user/mutation.mjs +1 -1
- package/dist/entities/up-user/query.cjs +4 -20
- package/dist/entities/up-user/query.d.cts +2 -17
- package/dist/entities/up-user/query.d.mts +2 -17
- package/dist/entities/up-user/query.mjs +2 -17
- package/dist/entities/url-redirect/query.cjs +25 -3
- package/dist/entities/url-redirect/query.d.cts +63 -3
- package/dist/entities/url-redirect/query.d.mts +63 -3
- package/dist/entities/url-redirect/query.mjs +22 -3
- package/dist/entities/user-account/document.cjs +1 -1
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/document.mjs +1 -1
- package/dist/entities/user-account/mutation.cjs +1 -1
- package/dist/entities/user-account/mutation.mjs +1 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.d.cts +1 -1
- package/dist/entities/user-account/query.d.mts +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-link-builder/mutation.cjs +2 -2
- package/dist/entities/utm-link-builder/mutation.mjs +2 -2
- package/dist/entities/utm-tracking-link/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/document.mjs +1 -1
- package/dist/entities/utm-tracking-link/fields.cjs +1 -1
- package/dist/entities/utm-tracking-link/fields.mjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +2 -2
- package/dist/entities/utm-tracking-link/mutation.mjs +2 -2
- package/dist/entities/utm-tracking-link/query.cjs +32 -25
- package/dist/entities/utm-tracking-link/query.d.cts +53 -21
- package/dist/entities/utm-tracking-link/query.d.mts +53 -21
- package/dist/entities/utm-tracking-link/query.mjs +32 -26
- package/dist/{fields-BNrM_SmR.d.cts → fields-CPhXlK2H.d.cts} +3 -1
- package/dist/{fields-BNrM_SmR.d.mts → fields-CPhXlK2H.d.mts} +3 -1
- package/dist/fields-PCsCdBLK.d.cts +25 -0
- package/dist/fields-S54MmK9N.d.mts +25 -0
- package/dist/filters/index.cjs +18 -51
- package/dist/filters/index.d.cts +3 -484
- package/dist/filters/index.d.mts +3 -484
- package/dist/filters/index.mjs +4 -37
- package/dist/index-B3eh9Z-Q.d.cts +401 -0
- package/dist/index-B3eh9Z-Q.d.mts +401 -0
- package/dist/index-Bk5hIBoB.d.cts +108 -0
- package/dist/index-Bk5hIBoB.d.mts +108 -0
- package/dist/{index-zDQP0gcQ.d.cts → index-G2dwQO5K.d.cts} +23 -7
- package/dist/{index-DHHJwRNf.d.mts → index-S6qdsw3U.d.mts} +23 -7
- package/dist/logical-operators-Bku8NPDs.cjs +24 -0
- package/dist/logical-operators-C0-wSK0P.mjs +17 -0
- package/dist/null-operators-CyK5Nxn3.cjs +96 -0
- package/dist/null-operators-DvwH8j8n.mjs +47 -0
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/picklist-DMZjp2EE.cjs +29 -0
- package/dist/picklist-DayZlSoN.mjs +16 -0
- package/dist/query-0Z9KdoGa.d.mts +75 -0
- package/dist/query-BGz5Dj7o.d.cts +34 -0
- package/dist/query-B_0RzvVW.cjs +74 -0
- package/dist/query-Bi8_XzuT.mjs +54 -0
- package/dist/query-BjiGq9-J.cjs +171 -0
- package/dist/query-C-G04KqP.d.mts +174 -0
- package/dist/query-C6GwPFXA.d.mts +73 -0
- package/dist/query-CEvYGQyI.d.cts +61 -0
- package/dist/query-CJTbiRV2.mjs +43 -0
- package/dist/{query-iF2acn2f.cjs → query-CMOLb-qs.cjs} +23 -6
- package/dist/query-CZV-Qu8U.mjs +110 -0
- package/dist/{query-DPFgSbu5.d.cts → query-CZWKfQ2W.d.mts} +25 -0
- package/dist/query-Ck0NC_9l.cjs +68 -0
- package/dist/query-DAmB2_nm.d.cts +73 -0
- package/dist/query-DV68iZaG.mjs +49 -0
- package/dist/{query-DPFgSbu5.d.mts → query-Db1jwzou.d.cts} +25 -0
- package/dist/{query-Bflh6Vd8.mjs → query-Du84-6vd.mjs} +16 -5
- package/dist/query-DxEOf4Ya.d.cts +174 -0
- package/dist/query-Dzx1W_xi.cjs +85 -0
- package/dist/query-F1Pi5Frs.d.mts +34 -0
- package/dist/query-X_l9YFS6.d.mts +61 -0
- package/dist/query-gZEGybi3.d.cts +75 -0
- package/dist/query-hvHQxwdK.d.mts +67 -0
- package/dist/query-ohFZ5p3e.d.cts +67 -0
- package/dist/{relationships-fCFeEt1G.mjs → relationships-BFmesnzw.mjs} +8 -2
- package/dist/{relationships-yGO2L8BR.cjs → relationships-BjJkIfbK.cjs} +34 -4
- package/dist/string-BzuFgUlq.mjs +106 -0
- package/dist/string-CmrQCAO3.cjs +227 -0
- package/dist/utilities/index.d.cts +2 -2
- package/dist/utilities/index.d.mts +2 -2
- package/dist/validators/index.cjs +4 -4
- package/dist/validators/index.mjs +4 -4
- package/package.json +1 -1
- package/dist/index-CvAzE6rd.d.cts +0 -25
- package/dist/index-CvAzE6rd.d.mts +0 -25
- package/dist/strapi-B79JabkQ.cjs +0 -34
- package/dist/strapi-BgfOZjWn.mjs +0 -9
- package/dist/string-CJYo78-9.cjs +0 -254
- package/dist/string-sEYvBtr0.mjs +0 -133
- package/dist/{document-C5i7ol4r.cjs → document-D-6H7hBf.cjs} +8 -8
- package/dist/{document-CHO80cjy.cjs → document-DmlmGzg1.cjs} +63 -63
- package/dist/{utm-B6km5JHd.mjs → utm-Bt8jPpRI.mjs} +1 -1
- package/dist/{utm-DxODH4Ry.cjs → utm-Dt4mu8AU.cjs} +1 -1
|
@@ -1,26 +1,73 @@
|
|
|
1
|
+
import { T as StrapiStrictFilterObjectSchema, d as DocumentIdFilter, f as EmailFilter, n as LongStringFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-B3eh9Z-Q.mjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/audit-log/query.d.ts
|
|
5
|
+
declare const FilterAuditLogMethod: StrapiStrictFilterObjectSchema<{
|
|
6
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
10
|
+
readonly $eq: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
11
|
+
readonly $ne: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
12
|
+
} & {
|
|
13
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
14
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>, v.MinLengthAction<("GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "UNKNOWN")[], 1, undefined>]>;
|
|
18
|
+
readonly $eq: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
19
|
+
readonly $ne: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
20
|
+
}>;
|
|
21
|
+
}>;
|
|
22
|
+
type FilterAuditLogMethod = v.InferOutput<typeof FilterAuditLogMethod>;
|
|
23
|
+
declare const FilterStrapiAuditLogs: v.GenericSchema<{
|
|
24
|
+
id?: IdFilter;
|
|
25
|
+
documentId?: DocumentIdFilter;
|
|
26
|
+
createdAt?: DateTimeFilter;
|
|
27
|
+
updatedAt?: DateTimeFilter;
|
|
28
|
+
method?: FilterAuditLogMethod;
|
|
29
|
+
url?: LongStringFilter;
|
|
30
|
+
path?: StringFilter;
|
|
31
|
+
request_id?: StringFilter;
|
|
32
|
+
ipaddress?: StringFilter;
|
|
33
|
+
user_agent?: StringFilter;
|
|
34
|
+
route_path?: StringFilter;
|
|
35
|
+
route_handler?: StringFilter;
|
|
36
|
+
actor_type?: StringFilter;
|
|
37
|
+
actor_id?: StringFilter;
|
|
38
|
+
actor_email?: EmailFilter;
|
|
39
|
+
entity_action?: StringFilter;
|
|
40
|
+
entity_content_type?: StringFilter;
|
|
41
|
+
entity_id?: StringFilter;
|
|
42
|
+
entity_label?: StringFilter;
|
|
43
|
+
}>;
|
|
44
|
+
type FilterStrapiAuditLogs = v.InferOutput<typeof FilterStrapiAuditLogs>;
|
|
4
45
|
declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
5
46
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly method: v.OptionalSchema<v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>, undefined>;
|
|
8
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
-
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
-
readonly request_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
-
readonly ipaddress: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
12
|
-
readonly user_agent: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
13
|
-
readonly route_path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
|
-
readonly route_handler: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
|
-
readonly actor_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
16
|
-
readonly actor_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
-
readonly actor_email: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
18
|
-
readonly entity_action: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
19
|
-
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
-
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
-
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
48
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
49
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
50
|
+
id?: IdFilter;
|
|
51
|
+
documentId?: DocumentIdFilter;
|
|
52
|
+
createdAt?: DateTimeFilter;
|
|
53
|
+
updatedAt?: DateTimeFilter;
|
|
54
|
+
method?: FilterAuditLogMethod;
|
|
55
|
+
url?: LongStringFilter;
|
|
56
|
+
path?: StringFilter;
|
|
57
|
+
request_id?: StringFilter;
|
|
58
|
+
ipaddress?: StringFilter;
|
|
59
|
+
user_agent?: StringFilter;
|
|
60
|
+
route_path?: StringFilter;
|
|
61
|
+
route_handler?: StringFilter;
|
|
62
|
+
actor_type?: StringFilter;
|
|
63
|
+
actor_id?: StringFilter;
|
|
64
|
+
actor_email?: EmailFilter;
|
|
65
|
+
entity_action?: StringFilter;
|
|
66
|
+
entity_content_type?: StringFilter;
|
|
67
|
+
entity_id?: StringFilter;
|
|
68
|
+
entity_label?: StringFilter;
|
|
69
|
+
}>, undefined>;
|
|
23
70
|
}, undefined>;
|
|
24
71
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
25
72
|
//#endregion
|
|
26
|
-
export { QueryStrapiSearchAuditLogs };
|
|
73
|
+
export { FilterAuditLogMethod, FilterStrapiAuditLogs, QueryStrapiSearchAuditLogs };
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
+
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
2
|
+
import { _ as DateTimeFilter, a as EmailFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "../../string-BzuFgUlq.mjs";
|
|
3
|
+
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
1
4
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
2
5
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
3
|
-
import { t as VStringEmail } from "../../email-FSLftR8P.mjs";
|
|
4
|
-
import { i as VStringMax } from "../../string-v2gu3xz0.mjs";
|
|
5
6
|
import { AuditLogMethod } from "./fields.mjs";
|
|
6
7
|
import * as v from "valibot";
|
|
7
8
|
//#region src/entities/audit-log/query.ts
|
|
9
|
+
const FilterAuditLogMethod = createPicklistFilter(AuditLogMethod);
|
|
10
|
+
const FilterStrapiAuditLogs = createStrapiFilterSchema({
|
|
11
|
+
id: IdFilter,
|
|
12
|
+
documentId: DocumentIdFilter,
|
|
13
|
+
createdAt: DateTimeFilter,
|
|
14
|
+
updatedAt: DateTimeFilter,
|
|
15
|
+
method: FilterAuditLogMethod,
|
|
16
|
+
url: LongStringFilter,
|
|
17
|
+
path: LongStringFilter,
|
|
18
|
+
request_id: StringFilter,
|
|
19
|
+
ipaddress: StringFilter,
|
|
20
|
+
user_agent: StringFilter,
|
|
21
|
+
route_path: StringFilter,
|
|
22
|
+
route_handler: StringFilter,
|
|
23
|
+
actor_type: StringFilter,
|
|
24
|
+
actor_id: StringFilter,
|
|
25
|
+
actor_email: EmailFilter,
|
|
26
|
+
entity_action: StringFilter,
|
|
27
|
+
entity_content_type: StringFilter,
|
|
28
|
+
entity_id: StringFilter,
|
|
29
|
+
entity_label: StringFilter
|
|
30
|
+
});
|
|
8
31
|
const QueryStrapiSearchAuditLogs = v.object({
|
|
9
32
|
page: VPage(),
|
|
10
33
|
size: VSize(),
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
path: v.optional(v.string()),
|
|
14
|
-
request_id: v.optional(VStringMax()),
|
|
15
|
-
ipaddress: v.optional(VStringMax(64)),
|
|
16
|
-
user_agent: v.optional(VStringMax()),
|
|
17
|
-
route_path: v.optional(VStringMax()),
|
|
18
|
-
route_handler: v.optional(VStringMax()),
|
|
19
|
-
actor_type: v.optional(VStringMax()),
|
|
20
|
-
actor_id: v.optional(VStringMax()),
|
|
21
|
-
actor_email: v.optional(VStringEmail()),
|
|
22
|
-
entity_action: v.optional(VStringMax()),
|
|
23
|
-
entity_content_type: v.optional(VStringMax()),
|
|
24
|
-
entity_id: v.optional(VStringMax()),
|
|
25
|
-
entity_label: v.optional(VStringMax()),
|
|
26
|
-
sort: v.optional(QuerySortValues)
|
|
34
|
+
sort: v.optional(QuerySortValues),
|
|
35
|
+
f: v.optional(FilterStrapiAuditLogs)
|
|
27
36
|
});
|
|
28
37
|
//#endregion
|
|
29
|
-
export { QueryStrapiSearchAuditLogs };
|
|
38
|
+
export { FilterAuditLogMethod, FilterStrapiAuditLogs, QueryStrapiSearchAuditLogs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as BlogPostDocument } from "../../document-DKCXrhcv.mjs";
|
|
2
2
|
export { BlogPostDocument };
|
|
@@ -1,26 +1,51 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
|
+
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
4
|
+
const require_string = require("../../string-CmrQCAO3.cjs");
|
|
5
|
+
const require_boolean = require("../../boolean-BwqaNE9c.cjs");
|
|
6
|
+
const require_relationships = require("../../relationships-BjJkIfbK.cjs");
|
|
7
|
+
const require_string$1 = require("../../string-AHrZ--r_.cjs");
|
|
8
|
+
const require_picklist = require("../../picklist-DMZjp2EE.cjs");
|
|
3
9
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
4
10
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
11
|
+
const require_entities_category_query = require("../category/query.cjs");
|
|
12
|
+
const require_entities_tag_query = require("../tag/query.cjs");
|
|
13
|
+
const require_entities_team_member_query = require("../team-member/query.cjs");
|
|
7
14
|
let valibot = require("valibot");
|
|
8
15
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
16
|
//#region src/entities/blog-post/query.ts
|
|
17
|
+
const FilterBlogPostsStatus = require_picklist.createPicklistFilter(require_relationships.ContentStatus);
|
|
18
|
+
const FilterStrapiBlogPosts = require_logical_operators.createStrapiFilterSchema({
|
|
19
|
+
id: require_string.IdFilter,
|
|
20
|
+
documentId: require_string.DocumentIdFilter,
|
|
21
|
+
publishedAt: require_string.DateTimeFilter,
|
|
22
|
+
createdAt: require_string.DateTimeFilter,
|
|
23
|
+
updatedAt: require_string.DateTimeFilter,
|
|
24
|
+
title: require_string.StringFilter,
|
|
25
|
+
slug: require_string.SlugFilter,
|
|
26
|
+
excerpt: require_string.LongStringFilter,
|
|
27
|
+
published: require_string.DateTimeFilter,
|
|
28
|
+
is_live: require_boolean.BooleanFilter,
|
|
29
|
+
is_featured: require_boolean.BooleanFilter,
|
|
30
|
+
is_public: require_boolean.BooleanFilter,
|
|
31
|
+
category: valibot.optional(require_entities_category_query.FilterStrapiCategories),
|
|
32
|
+
tags: valibot.optional(require_entities_tag_query.FilterStrapiTags),
|
|
33
|
+
authors: valibot.optional(require_entities_team_member_query.FilterStrapiTeamMembers)
|
|
34
|
+
});
|
|
10
35
|
const QueryStrapiSearchBlogPosts = valibot.object({
|
|
11
36
|
page: require_pagination.VPage(),
|
|
12
37
|
size: require_pagination.VSize(),
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
status: valibot.optional(require_strapi.ContentStatus),
|
|
17
|
-
sort: valibot.optional(require_sort.QuerySortValues)
|
|
38
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
39
|
+
status: valibot.optional(require_relationships.ContentStatus),
|
|
40
|
+
f: valibot.optional(FilterStrapiBlogPosts)
|
|
18
41
|
});
|
|
19
42
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
20
|
-
slug: require_string.VStringShort(),
|
|
21
|
-
status: valibot.optional(
|
|
43
|
+
slug: require_string$1.VStringShort(),
|
|
44
|
+
status: valibot.optional(require_relationships.ContentStatus, "published"),
|
|
22
45
|
sort: valibot.optional(require_sort.QuerySortValues)
|
|
23
46
|
});
|
|
24
47
|
//#endregion
|
|
48
|
+
exports.FilterBlogPostsStatus = FilterBlogPostsStatus;
|
|
49
|
+
exports.FilterStrapiBlogPosts = FilterStrapiBlogPosts;
|
|
25
50
|
exports.QueryStrapiSearchBlogPosts = QueryStrapiSearchBlogPosts;
|
|
26
51
|
exports.QueryStrapiSearchBlogPostsBySlug = QueryStrapiSearchBlogPostsBySlug;
|
|
@@ -1,14 +1,68 @@
|
|
|
1
|
+
import { C as BooleanFilter, T as StrapiStrictFilterObjectSchema, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-B3eh9Z-Q.cjs";
|
|
2
|
+
import { FilterStrapiCategories } from "../category/query.cjs";
|
|
3
|
+
import { FilterStrapiTags } from "../tag/query.cjs";
|
|
4
|
+
import { FilterStrapiTeamMembers } from "../team-member/query.cjs";
|
|
1
5
|
import * as v from "valibot";
|
|
2
6
|
|
|
3
7
|
//#region src/entities/blog-post/query.d.ts
|
|
8
|
+
declare const FilterBlogPostsStatus: StrapiStrictFilterObjectSchema<{
|
|
9
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
10
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
11
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
12
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
13
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
14
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
15
|
+
} & {
|
|
16
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
17
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
18
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
19
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
20
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
21
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
22
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
23
|
+
}>;
|
|
24
|
+
}>;
|
|
25
|
+
type FilterBlogPostsStatus = v.InferOutput<typeof FilterBlogPostsStatus>;
|
|
26
|
+
declare const FilterStrapiBlogPosts: v.GenericSchema<{
|
|
27
|
+
id?: IdFilter;
|
|
28
|
+
documentId?: DocumentIdFilter;
|
|
29
|
+
publishedAt?: DateTimeFilter;
|
|
30
|
+
createdAt?: DateTimeFilter;
|
|
31
|
+
updatedAt?: DateTimeFilter;
|
|
32
|
+
title?: StringFilter;
|
|
33
|
+
slug?: SlugFilter;
|
|
34
|
+
excerpt?: StringFilter;
|
|
35
|
+
published?: DateTimeFilter;
|
|
36
|
+
is_live?: BooleanFilter;
|
|
37
|
+
is_featured?: BooleanFilter;
|
|
38
|
+
is_public?: BooleanFilter;
|
|
39
|
+
category?: FilterStrapiCategories;
|
|
40
|
+
tags?: FilterStrapiTags;
|
|
41
|
+
authors?: FilterStrapiTeamMembers;
|
|
42
|
+
}>;
|
|
43
|
+
type FilterStrapiBlogPosts = v.InferOutput<typeof FilterStrapiBlogPosts>;
|
|
4
44
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
5
45
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
46
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
|
-
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
|
-
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
10
|
-
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
11
47
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
48
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
49
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
50
|
+
id?: IdFilter;
|
|
51
|
+
documentId?: DocumentIdFilter;
|
|
52
|
+
publishedAt?: DateTimeFilter;
|
|
53
|
+
createdAt?: DateTimeFilter;
|
|
54
|
+
updatedAt?: DateTimeFilter;
|
|
55
|
+
title?: StringFilter;
|
|
56
|
+
slug?: SlugFilter;
|
|
57
|
+
excerpt?: StringFilter;
|
|
58
|
+
published?: DateTimeFilter;
|
|
59
|
+
is_live?: BooleanFilter;
|
|
60
|
+
is_featured?: BooleanFilter;
|
|
61
|
+
is_public?: BooleanFilter;
|
|
62
|
+
category?: FilterStrapiCategories;
|
|
63
|
+
tags?: FilterStrapiTags;
|
|
64
|
+
authors?: FilterStrapiTeamMembers;
|
|
65
|
+
}>, undefined>;
|
|
12
66
|
}, undefined>;
|
|
13
67
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
14
68
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
@@ -18,4 +72,4 @@ declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
|
18
72
|
}, undefined>;
|
|
19
73
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
20
74
|
//#endregion
|
|
21
|
-
export { QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
75
|
+
export { FilterBlogPostsStatus, FilterStrapiBlogPosts, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
@@ -1,14 +1,68 @@
|
|
|
1
|
+
import { C as BooleanFilter, T as StrapiStrictFilterObjectSchema, d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-B3eh9Z-Q.mjs";
|
|
2
|
+
import { FilterStrapiCategories } from "../category/query.mjs";
|
|
3
|
+
import { FilterStrapiTags } from "../tag/query.mjs";
|
|
4
|
+
import { FilterStrapiTeamMembers } from "../team-member/query.mjs";
|
|
1
5
|
import * as v from "valibot";
|
|
2
6
|
|
|
3
7
|
//#region src/entities/blog-post/query.d.ts
|
|
8
|
+
declare const FilterBlogPostsStatus: StrapiStrictFilterObjectSchema<{
|
|
9
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
10
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
11
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
12
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
13
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
14
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
15
|
+
} & {
|
|
16
|
+
readonly $not: StrapiStrictFilterObjectSchema<{
|
|
17
|
+
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
18
|
+
readonly $null: v.LiteralSchema<true, undefined>;
|
|
19
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
20
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>, v.MinLengthAction<("draft" | "published")[], 1, undefined>]>;
|
|
21
|
+
readonly $eq: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
22
|
+
readonly $ne: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
23
|
+
}>;
|
|
24
|
+
}>;
|
|
25
|
+
type FilterBlogPostsStatus = v.InferOutput<typeof FilterBlogPostsStatus>;
|
|
26
|
+
declare const FilterStrapiBlogPosts: v.GenericSchema<{
|
|
27
|
+
id?: IdFilter;
|
|
28
|
+
documentId?: DocumentIdFilter;
|
|
29
|
+
publishedAt?: DateTimeFilter;
|
|
30
|
+
createdAt?: DateTimeFilter;
|
|
31
|
+
updatedAt?: DateTimeFilter;
|
|
32
|
+
title?: StringFilter;
|
|
33
|
+
slug?: SlugFilter;
|
|
34
|
+
excerpt?: StringFilter;
|
|
35
|
+
published?: DateTimeFilter;
|
|
36
|
+
is_live?: BooleanFilter;
|
|
37
|
+
is_featured?: BooleanFilter;
|
|
38
|
+
is_public?: BooleanFilter;
|
|
39
|
+
category?: FilterStrapiCategories;
|
|
40
|
+
tags?: FilterStrapiTags;
|
|
41
|
+
authors?: FilterStrapiTeamMembers;
|
|
42
|
+
}>;
|
|
43
|
+
type FilterStrapiBlogPosts = v.InferOutput<typeof FilterStrapiBlogPosts>;
|
|
4
44
|
declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
5
45
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
46
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
8
|
-
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
|
-
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
10
|
-
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
11
47
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
48
|
+
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
49
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
50
|
+
id?: IdFilter;
|
|
51
|
+
documentId?: DocumentIdFilter;
|
|
52
|
+
publishedAt?: DateTimeFilter;
|
|
53
|
+
createdAt?: DateTimeFilter;
|
|
54
|
+
updatedAt?: DateTimeFilter;
|
|
55
|
+
title?: StringFilter;
|
|
56
|
+
slug?: SlugFilter;
|
|
57
|
+
excerpt?: StringFilter;
|
|
58
|
+
published?: DateTimeFilter;
|
|
59
|
+
is_live?: BooleanFilter;
|
|
60
|
+
is_featured?: BooleanFilter;
|
|
61
|
+
is_public?: BooleanFilter;
|
|
62
|
+
category?: FilterStrapiCategories;
|
|
63
|
+
tags?: FilterStrapiTags;
|
|
64
|
+
authors?: FilterStrapiTeamMembers;
|
|
65
|
+
}>, undefined>;
|
|
12
66
|
}, undefined>;
|
|
13
67
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
14
68
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
@@ -18,4 +72,4 @@ declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
|
18
72
|
}, undefined>;
|
|
19
73
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
20
74
|
//#endregion
|
|
21
|
-
export { QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
75
|
+
export { FilterBlogPostsStatus, FilterStrapiBlogPosts, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
@@ -1,17 +1,40 @@
|
|
|
1
|
+
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
2
|
+
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, n as LongStringFilter, o as IdFilter, r as StringFilter } from "../../string-BzuFgUlq.mjs";
|
|
3
|
+
import { t as BooleanFilter } from "../../boolean-cJxcC8gC.mjs";
|
|
4
|
+
import { d as ContentStatus } from "../../relationships-BFmesnzw.mjs";
|
|
5
|
+
import { s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
6
|
+
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
1
7
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
2
8
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
9
|
+
import { FilterStrapiCategories } from "../category/query.mjs";
|
|
10
|
+
import { FilterStrapiTags } from "../tag/query.mjs";
|
|
11
|
+
import { FilterStrapiTeamMembers } from "../team-member/query.mjs";
|
|
5
12
|
import * as v from "valibot";
|
|
6
13
|
//#region src/entities/blog-post/query.ts
|
|
14
|
+
const FilterBlogPostsStatus = createPicklistFilter(ContentStatus);
|
|
15
|
+
const FilterStrapiBlogPosts = createStrapiFilterSchema({
|
|
16
|
+
id: IdFilter,
|
|
17
|
+
documentId: DocumentIdFilter,
|
|
18
|
+
publishedAt: DateTimeFilter,
|
|
19
|
+
createdAt: DateTimeFilter,
|
|
20
|
+
updatedAt: DateTimeFilter,
|
|
21
|
+
title: StringFilter,
|
|
22
|
+
slug: SlugFilter,
|
|
23
|
+
excerpt: LongStringFilter,
|
|
24
|
+
published: DateTimeFilter,
|
|
25
|
+
is_live: BooleanFilter,
|
|
26
|
+
is_featured: BooleanFilter,
|
|
27
|
+
is_public: BooleanFilter,
|
|
28
|
+
category: v.optional(FilterStrapiCategories),
|
|
29
|
+
tags: v.optional(FilterStrapiTags),
|
|
30
|
+
authors: v.optional(FilterStrapiTeamMembers)
|
|
31
|
+
});
|
|
7
32
|
const QueryStrapiSearchBlogPosts = v.object({
|
|
8
33
|
page: VPage(),
|
|
9
34
|
size: VSize(),
|
|
10
|
-
|
|
11
|
-
category: v.optional(VStringShort(0)),
|
|
12
|
-
tags: v.optional(v.array(VStringShort())),
|
|
35
|
+
sort: v.optional(QuerySortValues),
|
|
13
36
|
status: v.optional(ContentStatus),
|
|
14
|
-
|
|
37
|
+
f: v.optional(FilterStrapiBlogPosts)
|
|
15
38
|
});
|
|
16
39
|
const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
17
40
|
slug: VStringShort(),
|
|
@@ -19,4 +42,4 @@ const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
|
19
42
|
sort: v.optional(QuerySortValues)
|
|
20
43
|
});
|
|
21
44
|
//#endregion
|
|
22
|
-
export { QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
45
|
+
export { FilterBlogPostsStatus, FilterStrapiBlogPosts, QueryStrapiSearchBlogPosts, QueryStrapiSearchBlogPostsBySlug };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as CategoryDocument } from "../../document-DKCXrhcv.mjs";
|
|
2
2
|
export { CategoryDocument };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
|
+
const require_relationships = require("../../relationships-BjJkIfbK.cjs");
|
|
3
4
|
const require_string = require("../../string-AHrZ--r_.cjs");
|
|
4
|
-
const require_relationships = require("../../relationships-yGO2L8BR.cjs");
|
|
5
5
|
const require_slug = require("../../slug-BcLLMLTX.cjs");
|
|
6
6
|
let valibot = require("valibot");
|
|
7
7
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { o as AssociateOneEntity } from "../../relationships-BFmesnzw.mjs";
|
|
1
2
|
import { a as VStringMinMax } from "../../string-v2gu3xz0.mjs";
|
|
2
|
-
import { o as AssociateOneEntity } from "../../relationships-fCFeEt1G.mjs";
|
|
3
3
|
import { t as VStringSlug } from "../../slug-By9EotXj.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
//#region src/entities/category/mutation.ts
|
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-D6vf50IK.cjs");
|
|
3
|
+
const require_logical_operators = require("../../logical-operators-Bku8NPDs.cjs");
|
|
4
|
+
const require_string = require("../../string-CmrQCAO3.cjs");
|
|
3
5
|
const require_pagination = require("../../pagination-DhAgQr7d.cjs");
|
|
4
6
|
const require_sort = require("../../sort-CYllFl6q.cjs");
|
|
5
|
-
const require_string = require("../../string-AHrZ--r_.cjs");
|
|
6
7
|
let valibot = require("valibot");
|
|
7
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
9
|
//#region src/entities/category/query.ts
|
|
10
|
+
const FilterStrapiCategories = require_logical_operators.createStrapiFilterSchema({
|
|
11
|
+
id: require_string.IdFilter,
|
|
12
|
+
documentId: require_string.DocumentIdFilter,
|
|
13
|
+
createdAt: require_string.DateTimeFilter,
|
|
14
|
+
updatedAt: require_string.DateTimeFilter,
|
|
15
|
+
label: require_string.StringFilter,
|
|
16
|
+
slug: require_string.SlugFilter
|
|
17
|
+
});
|
|
9
18
|
const QueryStrapiSearchCategories = valibot.object({
|
|
10
19
|
page: require_pagination.VPage(),
|
|
11
20
|
size: require_pagination.VSize(),
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sort: valibot.optional(require_sort.QuerySortValues)
|
|
21
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
22
|
+
f: valibot.optional(FilterStrapiCategories)
|
|
15
23
|
});
|
|
16
24
|
//#endregion
|
|
25
|
+
exports.FilterStrapiCategories = FilterStrapiCategories;
|
|
17
26
|
exports.QueryStrapiSearchCategories = QueryStrapiSearchCategories;
|
|
@@ -1,13 +1,29 @@
|
|
|
1
|
+
import { d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-B3eh9Z-Q.cjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/category/query.d.ts
|
|
5
|
+
declare const FilterStrapiCategories: v.GenericSchema<{
|
|
6
|
+
id?: IdFilter;
|
|
7
|
+
documentId?: DocumentIdFilter;
|
|
8
|
+
createdAt?: DateTimeFilter;
|
|
9
|
+
updatedAt?: DateTimeFilter;
|
|
10
|
+
label?: StringFilter;
|
|
11
|
+
slug?: SlugFilter;
|
|
12
|
+
}>;
|
|
13
|
+
type FilterStrapiCategories = v.InferOutput<typeof FilterStrapiCategories>;
|
|
4
14
|
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
5
15
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
16
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
17
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
18
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
19
|
+
id?: IdFilter;
|
|
20
|
+
documentId?: DocumentIdFilter;
|
|
21
|
+
createdAt?: DateTimeFilter;
|
|
22
|
+
updatedAt?: DateTimeFilter;
|
|
23
|
+
label?: StringFilter;
|
|
24
|
+
slug?: SlugFilter;
|
|
25
|
+
}>, undefined>;
|
|
10
26
|
}, undefined>;
|
|
11
27
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
12
28
|
//#endregion
|
|
13
|
-
export { QueryStrapiSearchCategories };
|
|
29
|
+
export { FilterStrapiCategories, QueryStrapiSearchCategories };
|
|
@@ -1,13 +1,29 @@
|
|
|
1
|
+
import { d as DocumentIdFilter, h as SlugFilter, p as IdFilter, r as StringFilter, y as DateTimeFilter } from "../../index-B3eh9Z-Q.mjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/category/query.d.ts
|
|
5
|
+
declare const FilterStrapiCategories: v.GenericSchema<{
|
|
6
|
+
id?: IdFilter;
|
|
7
|
+
documentId?: DocumentIdFilter;
|
|
8
|
+
createdAt?: DateTimeFilter;
|
|
9
|
+
updatedAt?: DateTimeFilter;
|
|
10
|
+
label?: StringFilter;
|
|
11
|
+
slug?: SlugFilter;
|
|
12
|
+
}>;
|
|
13
|
+
type FilterStrapiCategories = v.InferOutput<typeof FilterStrapiCategories>;
|
|
4
14
|
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
5
15
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
16
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
7
|
-
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
17
|
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
18
|
+
readonly f: v.OptionalSchema<v.GenericSchema<{
|
|
19
|
+
id?: IdFilter;
|
|
20
|
+
documentId?: DocumentIdFilter;
|
|
21
|
+
createdAt?: DateTimeFilter;
|
|
22
|
+
updatedAt?: DateTimeFilter;
|
|
23
|
+
label?: StringFilter;
|
|
24
|
+
slug?: SlugFilter;
|
|
25
|
+
}>, undefined>;
|
|
10
26
|
}, undefined>;
|
|
11
27
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
12
28
|
//#endregion
|
|
13
|
-
export { QueryStrapiSearchCategories };
|
|
29
|
+
export { FilterStrapiCategories, QueryStrapiSearchCategories };
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
+
import { t as createStrapiFilterSchema } from "../../logical-operators-C0-wSK0P.mjs";
|
|
2
|
+
import { _ as DateTimeFilter, c as SlugFilter, i as DocumentIdFilter, o as IdFilter, r as StringFilter } from "../../string-BzuFgUlq.mjs";
|
|
1
3
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
2
4
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
3
|
-
import { i as VStringMax } from "../../string-v2gu3xz0.mjs";
|
|
4
5
|
import * as v from "valibot";
|
|
5
6
|
//#region src/entities/category/query.ts
|
|
7
|
+
const FilterStrapiCategories = createStrapiFilterSchema({
|
|
8
|
+
id: IdFilter,
|
|
9
|
+
documentId: DocumentIdFilter,
|
|
10
|
+
createdAt: DateTimeFilter,
|
|
11
|
+
updatedAt: DateTimeFilter,
|
|
12
|
+
label: StringFilter,
|
|
13
|
+
slug: SlugFilter
|
|
14
|
+
});
|
|
6
15
|
const QueryStrapiSearchCategories = v.object({
|
|
7
16
|
page: VPage(),
|
|
8
17
|
size: VSize(),
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
sort: v.optional(QuerySortValues)
|
|
18
|
+
sort: v.optional(QuerySortValues),
|
|
19
|
+
f: v.optional(FilterStrapiCategories)
|
|
12
20
|
});
|
|
13
21
|
//#endregion
|
|
14
|
-
export { QueryStrapiSearchCategories };
|
|
22
|
+
export { FilterStrapiCategories, QueryStrapiSearchCategories };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ClientDocument } from "../../document-
|
|
1
|
+
import { n as ClientDocument } from "../../document-CPHhI3jF.cjs";
|
|
2
2
|
export { ClientDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ClientDocument } from "../../document-
|
|
1
|
+
import { n as ClientDocument } from "../../document-DHJf5HxE.mjs";
|
|
2
2
|
export { ClientDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as ClientDocument } from "../../document-D8qKQkPt.mjs";
|
|
2
2
|
export { ClientDocument };
|
|
@@ -4,6 +4,8 @@ const require_entities_client_constants = require("./constants.cjs");
|
|
|
4
4
|
let valibot = require("valibot");
|
|
5
5
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
6
6
|
//#region src/entities/client/fields.ts
|
|
7
|
-
const
|
|
7
|
+
const ClientClassificationKey = valibot.picklist(require_entities_client_constants.CLIENT_CLASSIFICATIONS);
|
|
8
|
+
const ClientClassification = valibot.pipe(valibot.array(ClientClassificationKey), valibot.maxLength(require_entities_client_constants.CLIENT_CLASSIFICATIONS.length));
|
|
8
9
|
//#endregion
|
|
9
10
|
exports.ClientClassification = ClientClassification;
|
|
11
|
+
exports.ClientClassificationKey = ClientClassificationKey;
|