@getcommunity/gc-validators 0.0.270 → 0.0.271-alpha.1
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/README.md +16 -38
- package/dist/base/index.cjs +106 -0
- package/dist/base/index.d.cts +5 -0
- package/dist/base/index.d.mts +5 -0
- package/dist/base/index.mjs +21 -0
- package/dist/component-BPHZTfVY.mjs +6 -0
- package/dist/component-DLjTD_qK.cjs +19 -0
- package/dist/components/blocks/index.cjs +207 -0
- package/dist/components/blocks/index.d.cts +1322 -0
- package/dist/components/blocks/index.d.mts +1322 -0
- package/dist/components/blocks/index.mjs +175 -0
- package/dist/components/brand/index.cjs +37 -0
- package/dist/components/brand/index.d.cts +315 -0
- package/dist/components/brand/index.d.mts +315 -0
- package/dist/components/brand/index.mjs +31 -0
- package/dist/components/forms/index.cjs +70 -0
- package/dist/components/forms/index.d.cts +333 -0
- package/dist/components/forms/index.d.mts +333 -0
- package/dist/components/forms/index.mjs +58 -0
- package/dist/components/shared/index.cjs +127 -0
- package/dist/components/shared/index.d.cts +917 -0
- package/dist/components/shared/index.d.mts +917 -0
- package/dist/components/shared/index.mjs +107 -0
- package/dist/components/slideshow/index.cjs +129 -0
- package/dist/components/slideshow/index.d.cts +742 -0
- package/dist/components/slideshow/index.d.mts +742 -0
- package/dist/components/slideshow/index.mjs +106 -0
- package/dist/components/utm/index.cjs +55 -0
- package/dist/components/utm/index.d.cts +32 -0
- package/dist/components/utm/index.d.mts +32 -0
- package/dist/components/utm/index.mjs +47 -0
- package/dist/constants/index.cjs +243 -0
- package/dist/constants/index.d.cts +197 -0
- package/dist/constants/index.d.mts +197 -0
- package/dist/constants/index.mjs +182 -0
- package/dist/constants-L2goO7Eg.mjs +85 -0
- package/dist/constants-PBZKggHL.cjs +102 -0
- package/dist/document-BAro2Mrj.cjs +18 -0
- package/dist/document-BAzLIprH.d.mts +100 -0
- package/dist/document-BFukanLe.mjs +54 -0
- package/dist/document-BK1ASowb.d.cts +17 -0
- package/dist/document-BMxLOdrT.d.cts +267 -0
- package/dist/document-BNoXPGwF.d.mts +27 -0
- package/dist/document-B_pJW777.d.mts +30 -0
- package/dist/document-Bd2AyLs8.d.mts +16 -0
- package/dist/document-BezYxNmb.d.cts +16 -0
- package/dist/document-Bj7SRTOn.d.cts +18 -0
- package/dist/document-Bo869pZx.d.mts +18 -0
- package/dist/document-Bpr9mbCs.d.mts +15 -0
- package/dist/document-Bqoi1MdT.mjs +11 -0
- package/dist/document-Bs8c1mok.d.cts +15 -0
- package/dist/document-C0c7azOe.d.mts +434 -0
- package/dist/document-CTTDXzOF.mjs +13 -0
- package/dist/document-CUl_Ys6-.mjs +23 -0
- package/dist/document-CWYzG60q.d.cts +19 -0
- package/dist/document-Ccszj8lR.cjs +20 -0
- package/dist/document-CjNHI7Eb.d.cts +27 -0
- package/dist/document-Cu_HUDC5.mjs +51 -0
- package/dist/document-D-KvyEb5.d.cts +238 -0
- package/dist/document-D2nLVGig.d.mts +238 -0
- package/dist/document-D4fJt3zX.d.cts +12223 -0
- package/dist/document-D5yDIDIx.d.mts +15 -0
- package/dist/document-D73dqRle.d.cts +19 -0
- package/dist/document-DA6YVZz-.d.cts +100 -0
- package/dist/document-DJ0YiVte.d.cts +30 -0
- package/dist/document-DMHIUE3J.d.mts +17 -0
- package/dist/document-DN3g0EFx.d.cts +434 -0
- package/dist/document-DYzRVV1C.d.mts +16 -0
- package/dist/document-D_ZMbzn6.d.cts +18 -0
- package/dist/document-DdRo9TdG.d.mts +12223 -0
- package/dist/document-DeoRGh7p.d.mts +19 -0
- package/dist/document-DsIPBTG8.cjs +30 -0
- package/dist/document-DsSaMVGb.cjs +106 -0
- package/dist/document-Gx2Vrg_w.d.mts +267 -0
- package/dist/document-IIJpsOIO.d.cts +16 -0
- package/dist/document-WHS8GHY5.d.mts +18 -0
- package/dist/document-dqrWptdY.d.cts +244 -0
- package/dist/document-hEBlSep8.d.cts +15 -0
- package/dist/document-rbMXLGxt.cjs +103 -0
- package/dist/document-si7GYS5g.d.mts +19 -0
- package/dist/document-vq-7rcU5.d.mts +244 -0
- package/dist/entities/audit-log/index.cjs +127 -0
- package/dist/entities/audit-log/index.d.cts +134 -0
- package/dist/entities/audit-log/index.d.mts +134 -0
- package/dist/entities/audit-log/index.mjs +115 -0
- package/dist/entities/blog-page/index.cjs +16 -0
- package/dist/entities/blog-page/index.d.cts +257 -0
- package/dist/entities/blog-page/index.d.mts +257 -0
- package/dist/entities/blog-page/index.mjs +13 -0
- package/dist/entities/blog-post/index.cjs +33 -0
- package/dist/entities/blog-post/index.d.cts +917 -0
- package/dist/entities/blog-post/index.d.mts +917 -0
- package/dist/entities/blog-post/index.mjs +21 -0
- package/dist/entities/careers-page/index.cjs +16 -0
- package/dist/entities/careers-page/index.d.cts +257 -0
- package/dist/entities/careers-page/index.d.mts +257 -0
- package/dist/entities/careers-page/index.mjs +13 -0
- package/dist/entities/category/index.cjs +63 -0
- package/dist/entities/category/index.d.cts +300 -0
- package/dist/entities/category/index.d.mts +300 -0
- package/dist/entities/category/index.mjs +52 -0
- package/dist/entities/client/index.cjs +96 -0
- package/dist/entities/client/index.d.cts +85 -0
- package/dist/entities/client/index.d.mts +85 -0
- package/dist/entities/client/index.mjs +83 -0
- package/dist/entities/client-content-pillar/index.cjs +70 -0
- package/dist/entities/client-content-pillar/index.d.cts +49 -0
- package/dist/entities/client-content-pillar/index.d.mts +49 -0
- package/dist/entities/client-content-pillar/index.mjs +59 -0
- package/dist/entities/client-media-platform/index.cjs +74 -0
- package/dist/entities/client-media-platform/index.d.cts +53 -0
- package/dist/entities/client-media-platform/index.d.mts +53 -0
- package/dist/entities/client-media-platform/index.mjs +63 -0
- package/dist/entities/client-project/index.cjs +205 -0
- package/dist/entities/client-project/index.d.cts +147 -0
- package/dist/entities/client-project/index.d.mts +147 -0
- package/dist/entities/client-project/index.mjs +188 -0
- package/dist/entities/client-report/index.cjs +82 -0
- package/dist/entities/client-report/index.d.cts +63 -0
- package/dist/entities/client-report/index.d.mts +63 -0
- package/dist/entities/client-report/index.mjs +71 -0
- package/dist/entities/client-styleguide/index.cjs +77 -0
- package/dist/entities/client-styleguide/index.d.cts +48 -0
- package/dist/entities/client-styleguide/index.d.mts +48 -0
- package/dist/entities/client-styleguide/index.mjs +66 -0
- package/dist/entities/client-user/index.cjs +78 -0
- package/dist/entities/client-user/index.d.cts +47 -0
- package/dist/entities/client-user/index.d.mts +47 -0
- package/dist/entities/client-user/index.mjs +64 -0
- package/dist/entities/comment/index.cjs +137 -0
- package/dist/entities/comment/index.d.cts +2 -0
- package/dist/entities/comment/index.d.mts +2 -0
- package/dist/entities/comment/index.mjs +116 -0
- package/dist/entities/content-pillar/index.cjs +59 -0
- package/dist/entities/content-pillar/index.d.cts +50 -0
- package/dist/entities/content-pillar/index.d.mts +50 -0
- package/dist/entities/content-pillar/index.mjs +48 -0
- package/dist/entities/faq-page/index.cjs +17 -0
- package/dist/entities/faq-page/index.d.cts +335 -0
- package/dist/entities/faq-page/index.d.mts +335 -0
- package/dist/entities/faq-page/index.mjs +14 -0
- package/dist/entities/formatter/index.cjs +258 -0
- package/dist/entities/formatter/index.d.cts +121 -0
- package/dist/entities/formatter/index.d.mts +121 -0
- package/dist/entities/formatter/index.mjs +233 -0
- package/dist/entities/gcflytour/index.cjs +79 -0
- package/dist/entities/gcflytour/index.d.cts +61 -0
- package/dist/entities/gcflytour/index.d.mts +61 -0
- package/dist/entities/gcflytour/index.mjs +68 -0
- package/dist/entities/gcflytour-snap/index.cjs +78 -0
- package/dist/entities/gcflytour-snap/index.d.cts +59 -0
- package/dist/entities/gcflytour-snap/index.d.mts +59 -0
- package/dist/entities/gcflytour-snap/index.mjs +67 -0
- package/dist/entities/landing-page/index.cjs +28 -0
- package/dist/entities/landing-page/index.d.cts +479 -0
- package/dist/entities/landing-page/index.d.mts +479 -0
- package/dist/entities/landing-page/index.mjs +25 -0
- package/dist/entities/lead/index.cjs +63 -0
- package/dist/entities/lead/index.d.cts +75 -0
- package/dist/entities/lead/index.d.mts +75 -0
- package/dist/entities/lead/index.mjs +57 -0
- package/dist/entities/media-content-type/index.cjs +100 -0
- package/dist/entities/media-content-type/index.d.cts +66 -0
- package/dist/entities/media-content-type/index.d.mts +66 -0
- package/dist/entities/media-content-type/index.mjs +89 -0
- package/dist/entities/media-creative-format/index.cjs +79 -0
- package/dist/entities/media-creative-format/index.d.cts +54 -0
- package/dist/entities/media-creative-format/index.d.mts +54 -0
- package/dist/entities/media-creative-format/index.mjs +68 -0
- package/dist/entities/media-medium/index.cjs +90 -0
- package/dist/entities/media-medium/index.d.cts +77 -0
- package/dist/entities/media-medium/index.d.mts +77 -0
- package/dist/entities/media-medium/index.mjs +79 -0
- package/dist/entities/media-platform/index.cjs +118 -0
- package/dist/entities/media-platform/index.d.cts +74 -0
- package/dist/entities/media-platform/index.d.mts +74 -0
- package/dist/entities/media-platform/index.mjs +107 -0
- package/dist/entities/monday-workspace/index.cjs +66 -0
- package/dist/entities/monday-workspace/index.d.cts +47 -0
- package/dist/entities/monday-workspace/index.d.mts +47 -0
- package/dist/entities/monday-workspace/index.mjs +55 -0
- package/dist/entities/newsletter-signup/index.cjs +67 -0
- package/dist/entities/newsletter-signup/index.d.cts +76 -0
- package/dist/entities/newsletter-signup/index.d.mts +76 -0
- package/dist/entities/newsletter-signup/index.mjs +60 -0
- package/dist/entities/policy-page/index.cjs +23 -0
- package/dist/entities/policy-page/index.d.cts +331 -0
- package/dist/entities/policy-page/index.d.mts +331 -0
- package/dist/entities/policy-page/index.mjs +20 -0
- package/dist/entities/product/index.cjs +28 -0
- package/dist/entities/product/index.d.cts +325 -0
- package/dist/entities/product/index.d.mts +325 -0
- package/dist/entities/product/index.mjs +23 -0
- package/dist/entities/product-highlight/index.cjs +28 -0
- package/dist/entities/product-highlight/index.d.cts +245 -0
- package/dist/entities/product-highlight/index.d.mts +245 -0
- package/dist/entities/product-highlight/index.mjs +23 -0
- package/dist/entities/resume/index.cjs +129 -0
- package/dist/entities/resume/index.d.cts +198 -0
- package/dist/entities/resume/index.d.mts +198 -0
- package/dist/entities/resume/index.mjs +119 -0
- package/dist/entities/sharpspring/index.cjs +19 -0
- package/dist/entities/sharpspring/index.d.cts +16 -0
- package/dist/entities/sharpspring/index.d.mts +16 -0
- package/dist/entities/sharpspring/index.mjs +16 -0
- package/dist/entities/tag/index.cjs +61 -0
- package/dist/entities/tag/index.d.cts +54 -0
- package/dist/entities/tag/index.d.mts +54 -0
- package/dist/entities/tag/index.mjs +50 -0
- package/dist/entities/team-member/index.cjs +29 -0
- package/dist/entities/team-member/index.d.cts +210 -0
- package/dist/entities/team-member/index.d.mts +210 -0
- package/dist/entities/team-member/index.mjs +17 -0
- package/dist/entities/team-page/index.cjs +16 -0
- package/dist/entities/team-page/index.d.cts +257 -0
- package/dist/entities/team-page/index.d.mts +257 -0
- package/dist/entities/team-page/index.mjs +13 -0
- package/dist/entities/teamwork/index.cjs +74 -0
- package/dist/entities/teamwork/index.d.cts +512 -0
- package/dist/entities/teamwork/index.d.mts +512 -0
- package/dist/entities/teamwork/index.mjs +68 -0
- package/dist/entities/trend/index.cjs +34 -0
- package/dist/entities/trend/index.d.cts +347 -0
- package/dist/entities/trend/index.d.mts +347 -0
- package/dist/entities/trend/index.mjs +28 -0
- package/dist/entities/up-auth/index.cjs +56 -0
- package/dist/entities/up-auth/index.d.cts +2 -0
- package/dist/entities/up-auth/index.d.mts +2 -0
- package/dist/entities/up-auth/index.mjs +44 -0
- package/dist/entities/up-permission/index.cjs +12 -0
- package/dist/entities/up-permission/index.d.cts +14 -0
- package/dist/entities/up-permission/index.d.mts +14 -0
- package/dist/entities/up-permission/index.mjs +9 -0
- package/dist/entities/up-role/index.cjs +28 -0
- package/dist/entities/up-role/index.d.cts +7 -0
- package/dist/entities/up-role/index.d.mts +7 -0
- package/dist/entities/up-role/index.mjs +23 -0
- package/dist/entities/up-user/index.cjs +64 -0
- package/dist/entities/up-user/index.d.cts +38 -0
- package/dist/entities/up-user/index.d.mts +38 -0
- package/dist/entities/up-user/index.mjs +54 -0
- package/dist/entities/upload/index.cjs +35 -0
- package/dist/entities/upload/index.d.cts +31 -0
- package/dist/entities/upload/index.d.mts +31 -0
- package/dist/entities/upload/index.mjs +29 -0
- package/dist/entities/url-redirect/index.cjs +67 -0
- package/dist/entities/url-redirect/index.d.cts +45 -0
- package/dist/entities/url-redirect/index.d.mts +45 -0
- package/dist/entities/url-redirect/index.mjs +54 -0
- package/dist/entities/user-account/index.cjs +48 -0
- package/dist/entities/user-account/index.d.cts +39 -0
- package/dist/entities/user-account/index.d.mts +39 -0
- package/dist/entities/user-account/index.mjs +39 -0
- package/dist/entities/utm-link-builder/index.cjs +84 -0
- package/dist/entities/utm-link-builder/index.d.cts +191 -0
- package/dist/entities/utm-link-builder/index.d.mts +191 -0
- package/dist/entities/utm-link-builder/index.mjs +76 -0
- package/dist/entities/utm-meta/index.cjs +19 -0
- package/dist/entities/utm-meta/index.d.cts +83 -0
- package/dist/entities/utm-meta/index.d.mts +83 -0
- package/dist/entities/utm-meta/index.mjs +16 -0
- package/dist/entities/utm-tracking-link/index.cjs +199 -0
- package/dist/entities/utm-tracking-link/index.d.cts +235 -0
- package/dist/entities/utm-tracking-link/index.d.mts +235 -0
- package/dist/entities/utm-tracking-link/index.mjs +184 -0
- package/dist/fields-BQHSYj70.d.cts +7 -0
- package/dist/fields-qx-5saY5.d.mts +7 -0
- package/dist/fonts-CGSHKgp0.cjs +125 -0
- package/dist/fonts-tMy55UFs.mjs +58 -0
- package/dist/index-BI8tN-QZ.d.mts +99 -0
- package/dist/index-BLE_fX1Q.d.cts +200 -0
- package/dist/index-Bht1Jd5l.d.mts +422 -0
- package/dist/index-DYPjS1qh.d.mts +200 -0
- package/dist/index-DpYYzY_9.d.cts +99 -0
- package/dist/index-ZBDWYTfn.d.cts +422 -0
- package/dist/json-BJ8GyrtC.d.cts +9 -0
- package/dist/json-BgewUW_1.cjs +19 -0
- package/dist/json-CTduX6Ak.mjs +12 -0
- package/dist/json-CqAaKeHA.d.mts +9 -0
- package/dist/media-upload-B6aQYeRM.cjs +59 -0
- package/dist/media-upload-DiRJksSU.mjs +40 -0
- package/dist/pagination-4pZafglS.cjs +23 -0
- package/dist/pagination-owwfYJS6.mjs +6 -0
- package/dist/{permissions.cjs → permissions/index.cjs} +6 -89
- package/dist/permissions/index.d.cts +2 -0
- package/dist/permissions/index.d.mts +2 -0
- package/dist/{permissions.mjs → permissions/index.mjs} +3 -86
- package/dist/query.schema-BOn5Kk_p.d.mts +41 -0
- package/dist/query.schema-CItKlb0x.d.cts +41 -0
- package/dist/query.schema-DHTf6rTw.cjs +95 -0
- package/dist/query.schema-YKoOuBnk.mjs +40 -0
- package/dist/regex-BnKGcdS4.mjs +55 -0
- package/dist/regex-Cl5goNwp.cjs +342 -0
- package/dist/relations-C04F46xL.mjs +41 -0
- package/dist/relations-CGu18hfT.cjs +90 -0
- package/dist/response-C-7nyNVD.d.mts +57 -0
- package/dist/response-c6SgLvi9.d.cts +57 -0
- package/dist/strapi-C0DtxJLD.mjs +9 -0
- package/dist/strapi-C7POOPEf.cjs +34 -0
- package/dist/strapi-COeswSwJ.mjs +49 -0
- package/dist/strapi-DmhV7ODq.cjs +72 -0
- package/dist/theme-Ba9vW4PA.cjs +230 -0
- package/dist/theme-BhQd4eMI.mjs +97 -0
- package/dist/{utilities.cjs → utilities/index.cjs} +9 -28
- package/dist/utilities/index.d.cts +24 -0
- package/dist/utilities/index.d.mts +24 -0
- package/dist/{utilities.mjs → utilities/index.mjs} +9 -25
- package/dist/validators-Bc9Is5Sr.cjs +222 -0
- package/dist/validators-P5E_3qzc.mjs +95 -0
- package/package.json +64 -40
- package/dist/constants.cjs +0 -461
- package/dist/constants.d.cts +0 -2
- package/dist/constants.d.mts +0 -2
- package/dist/constants.mjs +0 -353
- package/dist/index-CiWVYf_f.d.cts +0 -291
- package/dist/index-D5uEXy4J.d.mts +0 -4509
- package/dist/index-DOR_It7I.d.mts +0 -291
- package/dist/index-Df4iWapE.d.cts +0 -4509
- package/dist/index.cjs +0 -384
- package/dist/index.d.cts +0 -3
- package/dist/index.d.mts +0 -3
- package/dist/index.mjs +0 -6
- package/dist/permissions.d.cts +0 -2
- package/dist/permissions.d.mts +0 -2
- package/dist/schemas.cjs +0 -2326
- package/dist/schemas.d.cts +0 -2
- package/dist/schemas.d.mts +0 -2
- package/dist/schemas.mjs +0 -2068
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +0 -2
- package/dist/types.d.mts +0 -2
- package/dist/types.mjs +0 -1
- package/dist/utilities.d.cts +0 -2
- package/dist/utilities.d.mts +0 -2
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { t as JsonData } from "../../json-BJ8GyrtC.cjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
|
|
4
|
+
//#region src/entities/category/constants.d.ts
|
|
5
|
+
declare const LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
+
declare const LIMIT_CATEGORIES_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
+
declare const CATEGORY_SORT_KEYS: readonly ["id", "label", "slug", "createdAt", "updatedAt"];
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/entities/category/document.d.ts
|
|
10
|
+
declare const CategoryDocument: v.ObjectSchema<{
|
|
11
|
+
readonly label: v.StringSchema<undefined>;
|
|
12
|
+
readonly slug: v.StringSchema<undefined>;
|
|
13
|
+
readonly blog_posts: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
14
|
+
readonly title: v.StringSchema<undefined>;
|
|
15
|
+
readonly slug: v.StringSchema<undefined>;
|
|
16
|
+
readonly excerpt: v.StringSchema<undefined>;
|
|
17
|
+
readonly published: v.StringSchema<undefined>;
|
|
18
|
+
readonly is_live: v.BooleanSchema<undefined>;
|
|
19
|
+
readonly is_featured: v.BooleanSchema<undefined>;
|
|
20
|
+
readonly is_public: v.BooleanSchema<undefined>;
|
|
21
|
+
readonly seo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
22
|
+
readonly metaTitle: v.StringSchema<undefined>;
|
|
23
|
+
readonly metaDescription: v.StringSchema<undefined>;
|
|
24
|
+
readonly metaImage: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
25
|
+
readonly name: v.StringSchema<undefined>;
|
|
26
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly width: v.NumberSchema<undefined>;
|
|
29
|
+
readonly height: v.NumberSchema<undefined>;
|
|
30
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
31
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
32
|
+
readonly ext: v.StringSchema<undefined>;
|
|
33
|
+
readonly url: v.StringSchema<undefined>;
|
|
34
|
+
readonly hash: v.StringSchema<undefined>;
|
|
35
|
+
readonly mime: v.StringSchema<undefined>;
|
|
36
|
+
readonly name: v.StringSchema<undefined>;
|
|
37
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
readonly size: v.NumberSchema<undefined>;
|
|
39
|
+
readonly width: v.NumberSchema<undefined>;
|
|
40
|
+
readonly height: v.NumberSchema<undefined>;
|
|
41
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
42
|
+
}, undefined>, undefined>;
|
|
43
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
44
|
+
readonly ext: v.StringSchema<undefined>;
|
|
45
|
+
readonly url: v.StringSchema<undefined>;
|
|
46
|
+
readonly hash: v.StringSchema<undefined>;
|
|
47
|
+
readonly mime: v.StringSchema<undefined>;
|
|
48
|
+
readonly name: v.StringSchema<undefined>;
|
|
49
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
+
readonly size: v.NumberSchema<undefined>;
|
|
51
|
+
readonly width: v.NumberSchema<undefined>;
|
|
52
|
+
readonly height: v.NumberSchema<undefined>;
|
|
53
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
54
|
+
}, undefined>, undefined>;
|
|
55
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
56
|
+
readonly ext: v.StringSchema<undefined>;
|
|
57
|
+
readonly url: v.StringSchema<undefined>;
|
|
58
|
+
readonly hash: v.StringSchema<undefined>;
|
|
59
|
+
readonly mime: v.StringSchema<undefined>;
|
|
60
|
+
readonly name: v.StringSchema<undefined>;
|
|
61
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
+
readonly size: v.NumberSchema<undefined>;
|
|
63
|
+
readonly width: v.NumberSchema<undefined>;
|
|
64
|
+
readonly height: v.NumberSchema<undefined>;
|
|
65
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
66
|
+
}, undefined>, undefined>;
|
|
67
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
68
|
+
readonly ext: v.StringSchema<undefined>;
|
|
69
|
+
readonly url: v.StringSchema<undefined>;
|
|
70
|
+
readonly hash: v.StringSchema<undefined>;
|
|
71
|
+
readonly mime: v.StringSchema<undefined>;
|
|
72
|
+
readonly name: v.StringSchema<undefined>;
|
|
73
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
+
readonly size: v.NumberSchema<undefined>;
|
|
75
|
+
readonly width: v.NumberSchema<undefined>;
|
|
76
|
+
readonly height: v.NumberSchema<undefined>;
|
|
77
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
78
|
+
}, undefined>, undefined>;
|
|
79
|
+
}, undefined>, undefined>, undefined>;
|
|
80
|
+
readonly hash: v.StringSchema<undefined>;
|
|
81
|
+
readonly ext: v.StringSchema<undefined>;
|
|
82
|
+
readonly mime: v.StringSchema<undefined>;
|
|
83
|
+
readonly size: v.NumberSchema<undefined>;
|
|
84
|
+
readonly url: v.StringSchema<undefined>;
|
|
85
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
+
readonly provider: v.StringSchema<undefined>;
|
|
87
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
88
|
+
readonly id: v.NumberSchema<undefined>;
|
|
89
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
90
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
92
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
93
|
+
}, undefined>>, undefined>, undefined>;
|
|
94
|
+
readonly openGraph: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
95
|
+
readonly ogTitle: v.StringSchema<undefined>;
|
|
96
|
+
readonly ogDescription: v.StringSchema<undefined>;
|
|
97
|
+
readonly ogType: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly ogUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
+
readonly ogImage: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
100
|
+
readonly name: v.StringSchema<undefined>;
|
|
101
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
102
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
103
|
+
readonly width: v.NumberSchema<undefined>;
|
|
104
|
+
readonly height: v.NumberSchema<undefined>;
|
|
105
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
106
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
107
|
+
readonly ext: v.StringSchema<undefined>;
|
|
108
|
+
readonly url: v.StringSchema<undefined>;
|
|
109
|
+
readonly hash: v.StringSchema<undefined>;
|
|
110
|
+
readonly mime: v.StringSchema<undefined>;
|
|
111
|
+
readonly name: v.StringSchema<undefined>;
|
|
112
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
+
readonly size: v.NumberSchema<undefined>;
|
|
114
|
+
readonly width: v.NumberSchema<undefined>;
|
|
115
|
+
readonly height: v.NumberSchema<undefined>;
|
|
116
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
117
|
+
}, undefined>, undefined>;
|
|
118
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
119
|
+
readonly ext: v.StringSchema<undefined>;
|
|
120
|
+
readonly url: v.StringSchema<undefined>;
|
|
121
|
+
readonly hash: v.StringSchema<undefined>;
|
|
122
|
+
readonly mime: v.StringSchema<undefined>;
|
|
123
|
+
readonly name: v.StringSchema<undefined>;
|
|
124
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
125
|
+
readonly size: v.NumberSchema<undefined>;
|
|
126
|
+
readonly width: v.NumberSchema<undefined>;
|
|
127
|
+
readonly height: v.NumberSchema<undefined>;
|
|
128
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
129
|
+
}, undefined>, undefined>;
|
|
130
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
131
|
+
readonly ext: v.StringSchema<undefined>;
|
|
132
|
+
readonly url: v.StringSchema<undefined>;
|
|
133
|
+
readonly hash: v.StringSchema<undefined>;
|
|
134
|
+
readonly mime: v.StringSchema<undefined>;
|
|
135
|
+
readonly name: v.StringSchema<undefined>;
|
|
136
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
137
|
+
readonly size: v.NumberSchema<undefined>;
|
|
138
|
+
readonly width: v.NumberSchema<undefined>;
|
|
139
|
+
readonly height: v.NumberSchema<undefined>;
|
|
140
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
141
|
+
}, undefined>, undefined>;
|
|
142
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
143
|
+
readonly ext: v.StringSchema<undefined>;
|
|
144
|
+
readonly url: v.StringSchema<undefined>;
|
|
145
|
+
readonly hash: v.StringSchema<undefined>;
|
|
146
|
+
readonly mime: v.StringSchema<undefined>;
|
|
147
|
+
readonly name: v.StringSchema<undefined>;
|
|
148
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
149
|
+
readonly size: v.NumberSchema<undefined>;
|
|
150
|
+
readonly width: v.NumberSchema<undefined>;
|
|
151
|
+
readonly height: v.NumberSchema<undefined>;
|
|
152
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
153
|
+
}, undefined>, undefined>;
|
|
154
|
+
}, undefined>, undefined>, undefined>;
|
|
155
|
+
readonly hash: v.StringSchema<undefined>;
|
|
156
|
+
readonly ext: v.StringSchema<undefined>;
|
|
157
|
+
readonly mime: v.StringSchema<undefined>;
|
|
158
|
+
readonly size: v.NumberSchema<undefined>;
|
|
159
|
+
readonly url: v.StringSchema<undefined>;
|
|
160
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
161
|
+
readonly provider: v.StringSchema<undefined>;
|
|
162
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
163
|
+
readonly id: v.NumberSchema<undefined>;
|
|
164
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
165
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
167
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
168
|
+
}, undefined>>, undefined>, undefined>;
|
|
169
|
+
}, undefined>, undefined>, undefined>;
|
|
170
|
+
readonly metaSocial: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
171
|
+
readonly socialNetwork: v.PicklistSchema<readonly ["Facebook", "Twitter"], undefined>;
|
|
172
|
+
readonly title: v.StringSchema<undefined>;
|
|
173
|
+
readonly description: v.StringSchema<undefined>;
|
|
174
|
+
readonly image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
175
|
+
readonly name: v.StringSchema<undefined>;
|
|
176
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
+
readonly width: v.NumberSchema<undefined>;
|
|
179
|
+
readonly height: v.NumberSchema<undefined>;
|
|
180
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
181
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
182
|
+
readonly ext: v.StringSchema<undefined>;
|
|
183
|
+
readonly url: v.StringSchema<undefined>;
|
|
184
|
+
readonly hash: v.StringSchema<undefined>;
|
|
185
|
+
readonly mime: v.StringSchema<undefined>;
|
|
186
|
+
readonly name: v.StringSchema<undefined>;
|
|
187
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
188
|
+
readonly size: v.NumberSchema<undefined>;
|
|
189
|
+
readonly width: v.NumberSchema<undefined>;
|
|
190
|
+
readonly height: v.NumberSchema<undefined>;
|
|
191
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
192
|
+
}, undefined>, undefined>;
|
|
193
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
194
|
+
readonly ext: v.StringSchema<undefined>;
|
|
195
|
+
readonly url: v.StringSchema<undefined>;
|
|
196
|
+
readonly hash: v.StringSchema<undefined>;
|
|
197
|
+
readonly mime: v.StringSchema<undefined>;
|
|
198
|
+
readonly name: v.StringSchema<undefined>;
|
|
199
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
200
|
+
readonly size: v.NumberSchema<undefined>;
|
|
201
|
+
readonly width: v.NumberSchema<undefined>;
|
|
202
|
+
readonly height: v.NumberSchema<undefined>;
|
|
203
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
204
|
+
}, undefined>, undefined>;
|
|
205
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
206
|
+
readonly ext: v.StringSchema<undefined>;
|
|
207
|
+
readonly url: v.StringSchema<undefined>;
|
|
208
|
+
readonly hash: v.StringSchema<undefined>;
|
|
209
|
+
readonly mime: v.StringSchema<undefined>;
|
|
210
|
+
readonly name: v.StringSchema<undefined>;
|
|
211
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
212
|
+
readonly size: v.NumberSchema<undefined>;
|
|
213
|
+
readonly width: v.NumberSchema<undefined>;
|
|
214
|
+
readonly height: v.NumberSchema<undefined>;
|
|
215
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
216
|
+
}, undefined>, undefined>;
|
|
217
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
218
|
+
readonly ext: v.StringSchema<undefined>;
|
|
219
|
+
readonly url: v.StringSchema<undefined>;
|
|
220
|
+
readonly hash: v.StringSchema<undefined>;
|
|
221
|
+
readonly mime: v.StringSchema<undefined>;
|
|
222
|
+
readonly name: v.StringSchema<undefined>;
|
|
223
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
224
|
+
readonly size: v.NumberSchema<undefined>;
|
|
225
|
+
readonly width: v.NumberSchema<undefined>;
|
|
226
|
+
readonly height: v.NumberSchema<undefined>;
|
|
227
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
228
|
+
}, undefined>, undefined>;
|
|
229
|
+
}, undefined>, undefined>, undefined>;
|
|
230
|
+
readonly hash: v.StringSchema<undefined>;
|
|
231
|
+
readonly ext: v.StringSchema<undefined>;
|
|
232
|
+
readonly mime: v.StringSchema<undefined>;
|
|
233
|
+
readonly size: v.NumberSchema<undefined>;
|
|
234
|
+
readonly url: v.StringSchema<undefined>;
|
|
235
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
236
|
+
readonly provider: v.StringSchema<undefined>;
|
|
237
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
238
|
+
readonly id: v.NumberSchema<undefined>;
|
|
239
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
240
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
241
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
242
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
243
|
+
}, undefined>>, undefined>, undefined>;
|
|
244
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
245
|
+
readonly keywords: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
246
|
+
readonly metaRobots: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
247
|
+
readonly metaViewport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
248
|
+
readonly canonicalURL: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
249
|
+
readonly structuredData: v.OptionalSchema<v.LazySchema<v.GenericSchema<JsonData>>, undefined>;
|
|
250
|
+
}, undefined>, undefined>, undefined>;
|
|
251
|
+
readonly layout: v.NullableSchema<v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>, undefined>;
|
|
252
|
+
readonly id: v.NumberSchema<undefined>;
|
|
253
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
254
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
255
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
256
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
257
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
258
|
+
readonly id: v.NumberSchema<undefined>;
|
|
259
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
260
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
261
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
262
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
263
|
+
}, undefined>;
|
|
264
|
+
type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region src/entities/category/fields.d.ts
|
|
267
|
+
declare const QuerySortCategories: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
268
|
+
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region src/entities/category/mutation.d.ts
|
|
271
|
+
declare const CreateCategoryDocument: v.ObjectSchema<{
|
|
272
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
273
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
274
|
+
}, undefined>;
|
|
275
|
+
type CreateCategoryDocument = v.InferOutput<typeof CreateCategoryDocument>;
|
|
276
|
+
declare const UpdateCategoryDocument: v.ObjectSchema<{
|
|
277
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
278
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
279
|
+
}, undefined>;
|
|
280
|
+
type UpdateCategoryDocument = v.InferOutput<typeof UpdateCategoryDocument>;
|
|
281
|
+
declare const UpdateCategoryDocumentRequest: v.ObjectSchema<{
|
|
282
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
283
|
+
readonly data: v.ObjectSchema<{
|
|
284
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
285
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
}, undefined>;
|
|
288
|
+
type UpdateCategoryDocumentRequest = v.InferOutput<typeof UpdateCategoryDocumentRequest>;
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region src/entities/category/query.d.ts
|
|
291
|
+
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
292
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
293
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
296
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
297
|
+
}, undefined>;
|
|
298
|
+
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
|
+
//#endregion
|
|
300
|
+
export { CATEGORY_SORT_KEYS, CategoryDocument, CreateCategoryDocument, LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE, LIMIT_CATEGORIES_PAGINATION_MAX_SIZE, QuerySortCategories, QueryStrapiSearchCategories, UpdateCategoryDocument, UpdateCategoryDocumentRequest };
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { t as JsonData } from "../../json-CqAaKeHA.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
|
|
4
|
+
//#region src/entities/category/constants.d.ts
|
|
5
|
+
declare const LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = 100;
|
|
6
|
+
declare const LIMIT_CATEGORIES_PAGINATION_MAX_SIZE = 1000;
|
|
7
|
+
declare const CATEGORY_SORT_KEYS: readonly ["id", "label", "slug", "createdAt", "updatedAt"];
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/entities/category/document.d.ts
|
|
10
|
+
declare const CategoryDocument: v.ObjectSchema<{
|
|
11
|
+
readonly label: v.StringSchema<undefined>;
|
|
12
|
+
readonly slug: v.StringSchema<undefined>;
|
|
13
|
+
readonly blog_posts: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
14
|
+
readonly title: v.StringSchema<undefined>;
|
|
15
|
+
readonly slug: v.StringSchema<undefined>;
|
|
16
|
+
readonly excerpt: v.StringSchema<undefined>;
|
|
17
|
+
readonly published: v.StringSchema<undefined>;
|
|
18
|
+
readonly is_live: v.BooleanSchema<undefined>;
|
|
19
|
+
readonly is_featured: v.BooleanSchema<undefined>;
|
|
20
|
+
readonly is_public: v.BooleanSchema<undefined>;
|
|
21
|
+
readonly seo: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
22
|
+
readonly metaTitle: v.StringSchema<undefined>;
|
|
23
|
+
readonly metaDescription: v.StringSchema<undefined>;
|
|
24
|
+
readonly metaImage: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
25
|
+
readonly name: v.StringSchema<undefined>;
|
|
26
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
27
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly width: v.NumberSchema<undefined>;
|
|
29
|
+
readonly height: v.NumberSchema<undefined>;
|
|
30
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
31
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
32
|
+
readonly ext: v.StringSchema<undefined>;
|
|
33
|
+
readonly url: v.StringSchema<undefined>;
|
|
34
|
+
readonly hash: v.StringSchema<undefined>;
|
|
35
|
+
readonly mime: v.StringSchema<undefined>;
|
|
36
|
+
readonly name: v.StringSchema<undefined>;
|
|
37
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
readonly size: v.NumberSchema<undefined>;
|
|
39
|
+
readonly width: v.NumberSchema<undefined>;
|
|
40
|
+
readonly height: v.NumberSchema<undefined>;
|
|
41
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
42
|
+
}, undefined>, undefined>;
|
|
43
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
44
|
+
readonly ext: v.StringSchema<undefined>;
|
|
45
|
+
readonly url: v.StringSchema<undefined>;
|
|
46
|
+
readonly hash: v.StringSchema<undefined>;
|
|
47
|
+
readonly mime: v.StringSchema<undefined>;
|
|
48
|
+
readonly name: v.StringSchema<undefined>;
|
|
49
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
+
readonly size: v.NumberSchema<undefined>;
|
|
51
|
+
readonly width: v.NumberSchema<undefined>;
|
|
52
|
+
readonly height: v.NumberSchema<undefined>;
|
|
53
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
54
|
+
}, undefined>, undefined>;
|
|
55
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
56
|
+
readonly ext: v.StringSchema<undefined>;
|
|
57
|
+
readonly url: v.StringSchema<undefined>;
|
|
58
|
+
readonly hash: v.StringSchema<undefined>;
|
|
59
|
+
readonly mime: v.StringSchema<undefined>;
|
|
60
|
+
readonly name: v.StringSchema<undefined>;
|
|
61
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
+
readonly size: v.NumberSchema<undefined>;
|
|
63
|
+
readonly width: v.NumberSchema<undefined>;
|
|
64
|
+
readonly height: v.NumberSchema<undefined>;
|
|
65
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
66
|
+
}, undefined>, undefined>;
|
|
67
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
68
|
+
readonly ext: v.StringSchema<undefined>;
|
|
69
|
+
readonly url: v.StringSchema<undefined>;
|
|
70
|
+
readonly hash: v.StringSchema<undefined>;
|
|
71
|
+
readonly mime: v.StringSchema<undefined>;
|
|
72
|
+
readonly name: v.StringSchema<undefined>;
|
|
73
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
+
readonly size: v.NumberSchema<undefined>;
|
|
75
|
+
readonly width: v.NumberSchema<undefined>;
|
|
76
|
+
readonly height: v.NumberSchema<undefined>;
|
|
77
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
78
|
+
}, undefined>, undefined>;
|
|
79
|
+
}, undefined>, undefined>, undefined>;
|
|
80
|
+
readonly hash: v.StringSchema<undefined>;
|
|
81
|
+
readonly ext: v.StringSchema<undefined>;
|
|
82
|
+
readonly mime: v.StringSchema<undefined>;
|
|
83
|
+
readonly size: v.NumberSchema<undefined>;
|
|
84
|
+
readonly url: v.StringSchema<undefined>;
|
|
85
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
+
readonly provider: v.StringSchema<undefined>;
|
|
87
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
88
|
+
readonly id: v.NumberSchema<undefined>;
|
|
89
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
90
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
92
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
93
|
+
}, undefined>>, undefined>, undefined>;
|
|
94
|
+
readonly openGraph: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
95
|
+
readonly ogTitle: v.StringSchema<undefined>;
|
|
96
|
+
readonly ogDescription: v.StringSchema<undefined>;
|
|
97
|
+
readonly ogType: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly ogUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
+
readonly ogImage: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
100
|
+
readonly name: v.StringSchema<undefined>;
|
|
101
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
102
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
103
|
+
readonly width: v.NumberSchema<undefined>;
|
|
104
|
+
readonly height: v.NumberSchema<undefined>;
|
|
105
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
106
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
107
|
+
readonly ext: v.StringSchema<undefined>;
|
|
108
|
+
readonly url: v.StringSchema<undefined>;
|
|
109
|
+
readonly hash: v.StringSchema<undefined>;
|
|
110
|
+
readonly mime: v.StringSchema<undefined>;
|
|
111
|
+
readonly name: v.StringSchema<undefined>;
|
|
112
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
+
readonly size: v.NumberSchema<undefined>;
|
|
114
|
+
readonly width: v.NumberSchema<undefined>;
|
|
115
|
+
readonly height: v.NumberSchema<undefined>;
|
|
116
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
117
|
+
}, undefined>, undefined>;
|
|
118
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
119
|
+
readonly ext: v.StringSchema<undefined>;
|
|
120
|
+
readonly url: v.StringSchema<undefined>;
|
|
121
|
+
readonly hash: v.StringSchema<undefined>;
|
|
122
|
+
readonly mime: v.StringSchema<undefined>;
|
|
123
|
+
readonly name: v.StringSchema<undefined>;
|
|
124
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
125
|
+
readonly size: v.NumberSchema<undefined>;
|
|
126
|
+
readonly width: v.NumberSchema<undefined>;
|
|
127
|
+
readonly height: v.NumberSchema<undefined>;
|
|
128
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
129
|
+
}, undefined>, undefined>;
|
|
130
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
131
|
+
readonly ext: v.StringSchema<undefined>;
|
|
132
|
+
readonly url: v.StringSchema<undefined>;
|
|
133
|
+
readonly hash: v.StringSchema<undefined>;
|
|
134
|
+
readonly mime: v.StringSchema<undefined>;
|
|
135
|
+
readonly name: v.StringSchema<undefined>;
|
|
136
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
137
|
+
readonly size: v.NumberSchema<undefined>;
|
|
138
|
+
readonly width: v.NumberSchema<undefined>;
|
|
139
|
+
readonly height: v.NumberSchema<undefined>;
|
|
140
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
141
|
+
}, undefined>, undefined>;
|
|
142
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
143
|
+
readonly ext: v.StringSchema<undefined>;
|
|
144
|
+
readonly url: v.StringSchema<undefined>;
|
|
145
|
+
readonly hash: v.StringSchema<undefined>;
|
|
146
|
+
readonly mime: v.StringSchema<undefined>;
|
|
147
|
+
readonly name: v.StringSchema<undefined>;
|
|
148
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
149
|
+
readonly size: v.NumberSchema<undefined>;
|
|
150
|
+
readonly width: v.NumberSchema<undefined>;
|
|
151
|
+
readonly height: v.NumberSchema<undefined>;
|
|
152
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
153
|
+
}, undefined>, undefined>;
|
|
154
|
+
}, undefined>, undefined>, undefined>;
|
|
155
|
+
readonly hash: v.StringSchema<undefined>;
|
|
156
|
+
readonly ext: v.StringSchema<undefined>;
|
|
157
|
+
readonly mime: v.StringSchema<undefined>;
|
|
158
|
+
readonly size: v.NumberSchema<undefined>;
|
|
159
|
+
readonly url: v.StringSchema<undefined>;
|
|
160
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
161
|
+
readonly provider: v.StringSchema<undefined>;
|
|
162
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
163
|
+
readonly id: v.NumberSchema<undefined>;
|
|
164
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
165
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
167
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
168
|
+
}, undefined>>, undefined>, undefined>;
|
|
169
|
+
}, undefined>, undefined>, undefined>;
|
|
170
|
+
readonly metaSocial: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
171
|
+
readonly socialNetwork: v.PicklistSchema<readonly ["Facebook", "Twitter"], undefined>;
|
|
172
|
+
readonly title: v.StringSchema<undefined>;
|
|
173
|
+
readonly description: v.StringSchema<undefined>;
|
|
174
|
+
readonly image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
175
|
+
readonly name: v.StringSchema<undefined>;
|
|
176
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
+
readonly width: v.NumberSchema<undefined>;
|
|
179
|
+
readonly height: v.NumberSchema<undefined>;
|
|
180
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
181
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
182
|
+
readonly ext: v.StringSchema<undefined>;
|
|
183
|
+
readonly url: v.StringSchema<undefined>;
|
|
184
|
+
readonly hash: v.StringSchema<undefined>;
|
|
185
|
+
readonly mime: v.StringSchema<undefined>;
|
|
186
|
+
readonly name: v.StringSchema<undefined>;
|
|
187
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
188
|
+
readonly size: v.NumberSchema<undefined>;
|
|
189
|
+
readonly width: v.NumberSchema<undefined>;
|
|
190
|
+
readonly height: v.NumberSchema<undefined>;
|
|
191
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
192
|
+
}, undefined>, undefined>;
|
|
193
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
194
|
+
readonly ext: v.StringSchema<undefined>;
|
|
195
|
+
readonly url: v.StringSchema<undefined>;
|
|
196
|
+
readonly hash: v.StringSchema<undefined>;
|
|
197
|
+
readonly mime: v.StringSchema<undefined>;
|
|
198
|
+
readonly name: v.StringSchema<undefined>;
|
|
199
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
200
|
+
readonly size: v.NumberSchema<undefined>;
|
|
201
|
+
readonly width: v.NumberSchema<undefined>;
|
|
202
|
+
readonly height: v.NumberSchema<undefined>;
|
|
203
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
204
|
+
}, undefined>, undefined>;
|
|
205
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
206
|
+
readonly ext: v.StringSchema<undefined>;
|
|
207
|
+
readonly url: v.StringSchema<undefined>;
|
|
208
|
+
readonly hash: v.StringSchema<undefined>;
|
|
209
|
+
readonly mime: v.StringSchema<undefined>;
|
|
210
|
+
readonly name: v.StringSchema<undefined>;
|
|
211
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
212
|
+
readonly size: v.NumberSchema<undefined>;
|
|
213
|
+
readonly width: v.NumberSchema<undefined>;
|
|
214
|
+
readonly height: v.NumberSchema<undefined>;
|
|
215
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
216
|
+
}, undefined>, undefined>;
|
|
217
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
218
|
+
readonly ext: v.StringSchema<undefined>;
|
|
219
|
+
readonly url: v.StringSchema<undefined>;
|
|
220
|
+
readonly hash: v.StringSchema<undefined>;
|
|
221
|
+
readonly mime: v.StringSchema<undefined>;
|
|
222
|
+
readonly name: v.StringSchema<undefined>;
|
|
223
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
224
|
+
readonly size: v.NumberSchema<undefined>;
|
|
225
|
+
readonly width: v.NumberSchema<undefined>;
|
|
226
|
+
readonly height: v.NumberSchema<undefined>;
|
|
227
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
228
|
+
}, undefined>, undefined>;
|
|
229
|
+
}, undefined>, undefined>, undefined>;
|
|
230
|
+
readonly hash: v.StringSchema<undefined>;
|
|
231
|
+
readonly ext: v.StringSchema<undefined>;
|
|
232
|
+
readonly mime: v.StringSchema<undefined>;
|
|
233
|
+
readonly size: v.NumberSchema<undefined>;
|
|
234
|
+
readonly url: v.StringSchema<undefined>;
|
|
235
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
236
|
+
readonly provider: v.StringSchema<undefined>;
|
|
237
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
238
|
+
readonly id: v.NumberSchema<undefined>;
|
|
239
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
240
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
241
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
242
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
243
|
+
}, undefined>>, undefined>, undefined>;
|
|
244
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
245
|
+
readonly keywords: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
246
|
+
readonly metaRobots: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
247
|
+
readonly metaViewport: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
248
|
+
readonly canonicalURL: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
249
|
+
readonly structuredData: v.OptionalSchema<v.LazySchema<v.GenericSchema<JsonData>>, undefined>;
|
|
250
|
+
}, undefined>, undefined>, undefined>;
|
|
251
|
+
readonly layout: v.NullableSchema<v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>, undefined>;
|
|
252
|
+
readonly id: v.NumberSchema<undefined>;
|
|
253
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
254
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
255
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
256
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
257
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
258
|
+
readonly id: v.NumberSchema<undefined>;
|
|
259
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
260
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
261
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
262
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
263
|
+
}, undefined>;
|
|
264
|
+
type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region src/entities/category/fields.d.ts
|
|
267
|
+
declare const QuerySortCategories: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
268
|
+
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region src/entities/category/mutation.d.ts
|
|
271
|
+
declare const CreateCategoryDocument: v.ObjectSchema<{
|
|
272
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
273
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
274
|
+
}, undefined>;
|
|
275
|
+
type CreateCategoryDocument = v.InferOutput<typeof CreateCategoryDocument>;
|
|
276
|
+
declare const UpdateCategoryDocument: v.ObjectSchema<{
|
|
277
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
278
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
279
|
+
}, undefined>;
|
|
280
|
+
type UpdateCategoryDocument = v.InferOutput<typeof UpdateCategoryDocument>;
|
|
281
|
+
declare const UpdateCategoryDocumentRequest: v.ObjectSchema<{
|
|
282
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
283
|
+
readonly data: v.ObjectSchema<{
|
|
284
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
285
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
}, undefined>;
|
|
288
|
+
type UpdateCategoryDocumentRequest = v.InferOutput<typeof UpdateCategoryDocumentRequest>;
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region src/entities/category/query.d.ts
|
|
291
|
+
declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
292
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
293
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
296
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "label:ASC" | "slug:DESC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
297
|
+
}, undefined>;
|
|
298
|
+
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
|
+
//#endregion
|
|
300
|
+
export { CATEGORY_SORT_KEYS, CategoryDocument, CreateCategoryDocument, LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE, LIMIT_CATEGORIES_PAGINATION_MAX_SIZE, QuerySortCategories, QueryStrapiSearchCategories, UpdateCategoryDocument, UpdateCategoryDocumentRequest };
|