@getcommunity/gc-validators 0.0.271-alpha.3 → 0.0.271-alpha.5
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.d.mts +4 -4
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/components/utm/index.cjs +3 -3
- package/dist/components/utm/index.d.cts +5 -5
- package/dist/components/utm/index.d.mts +5 -5
- package/dist/components/utm/index.mjs +3 -3
- package/dist/{document-CIAPAAjK.d.mts → document-DsT_qkhs.d.mts} +17 -17
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +65 -11
- package/dist/entities/blog-post/index.d.cts +707 -3
- package/dist/entities/blog-post/index.d.mts +708 -4
- package/dist/entities/blog-post/index.mjs +55 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +1 -3
- package/dist/entities/category/index.d.cts +2 -248
- package/dist/entities/category/index.d.mts +2 -248
- package/dist/entities/category/index.mjs +1 -3
- package/dist/entities/client/index.cjs +1 -1
- package/dist/entities/client/index.d.cts +2 -2
- package/dist/entities/client/index.d.mts +3 -3
- package/dist/entities/client/index.mjs +1 -1
- package/dist/entities/client-content-pillar/index.cjs +2 -2
- package/dist/entities/client-content-pillar/index.d.mts +1 -1
- package/dist/entities/client-content-pillar/index.mjs +2 -2
- package/dist/entities/client-media-platform/index.d.mts +1 -1
- package/dist/entities/client-project/index.d.cts +2 -2
- package/dist/entities/client-project/index.d.mts +3 -3
- package/dist/entities/client-report/index.d.mts +1 -1
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +1 -1
- package/dist/entities/content-pillar/index.d.cts +2 -2
- package/dist/entities/content-pillar/index.d.mts +3 -3
- package/dist/entities/content-pillar/index.mjs +1 -1
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.d.cts +2 -2
- package/dist/entities/gcflytour/index.d.mts +3 -3
- package/dist/entities/gcflytour-snap/index.d.cts +2 -2
- package/dist/entities/gcflytour-snap/index.d.mts +3 -3
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.d.cts +2 -2
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.d.cts +2 -2
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-medium/index.d.cts +2 -2
- package/dist/entities/media-medium/index.d.mts +2 -2
- package/dist/entities/media-platform/index.d.cts +2 -2
- package/dist/entities/media-platform/index.d.mts +3 -3
- package/dist/entities/monday-workspace/index.d.cts +2 -2
- package/dist/entities/monday-workspace/index.d.mts +3 -3
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/tag/index.d.cts +2 -2
- package/dist/entities/tag/index.d.mts +2 -2
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.mjs +1 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +1 -1
- package/dist/entities/trend/index.mjs +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-role/index.d.mts +2 -2
- package/dist/entities/up-user/index.d.mts +1 -1
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/utm-meta/index.d.cts +7 -7
- package/dist/entities/utm-meta/index.d.mts +7 -7
- package/dist/{index-r0hGcq70.d.mts → index-BI8tN-QZ.d.mts} +3 -3
- package/dist/{index-BL9VfVD4.d.mts → index-Bht1Jd5l.d.mts} +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/utilities/index.d.mts +4 -4
- package/package.json +1 -1
- package/dist/document-Coz4Rm8I.cjs +0 -103
- package/dist/document-DiOskbh3.mjs +0 -54
- /package/dist/{document-TK2UUOF9.d.mts → document-BAzLIprH.d.mts} +0 -0
- /package/dist/{document-W-NILXQV.d.mts → document-BNoXPGwF.d.mts} +0 -0
- /package/dist/{document-DCIBlMpe.d.mts → document-B_pJW777.d.mts} +0 -0
- /package/dist/{document-CQ9bUL-1.d.mts → document-Bd2AyLs8.d.mts} +0 -0
- /package/dist/{document-DSUxqMD4.d.mts → document-Bo869pZx.d.mts} +0 -0
- /package/dist/{document-D7nCeVSn.d.mts → document-Bpr9mbCs.d.mts} +0 -0
- /package/dist/{document-DAnzPqTm.d.mts → document-C0c7azOe.d.mts} +0 -0
- /package/dist/{document-C21JZnEl.mjs → document-CTTDXzOF.mjs} +0 -0
- /package/dist/{document-COaupB1r.mjs → document-CUl_Ys6-.mjs} +0 -0
- /package/dist/{document-BVPXeweR.cjs → document-Ccszj8lR.cjs} +0 -0
- /package/dist/{document-Bpgteig6.mjs → document-Cu_HUDC5.mjs} +0 -0
- /package/dist/{document-DmZ3XRi8.d.mts → document-D2nLVGig.d.mts} +0 -0
- /package/dist/{document-6ONY7xJm.d.mts → document-D5yDIDIx.d.mts} +0 -0
- /package/dist/{document-gwpNlSBm.d.mts → document-DMHIUE3J.d.mts} +0 -0
- /package/dist/{document-DCtr8pVh.d.mts → document-DYzRVV1C.d.mts} +0 -0
- /package/dist/{document-DgQnMgCD.d.mts → document-DeoRGh7p.d.mts} +0 -0
- /package/dist/{document-2o5WNt6V.cjs → document-DsIPBTG8.cjs} +0 -0
- /package/dist/{document-DgG9DIT2.cjs → document-DsSaMVGb.cjs} +0 -0
- /package/dist/{document-B0j6d1nH.d.mts → document-Gx2Vrg_w.d.mts} +0 -0
- /package/dist/{document-Bh0a7Y8h.d.mts → document-WHS8GHY5.d.mts} +0 -0
- /package/dist/{document-CsGd8QmZ.d.mts → document-si7GYS5g.d.mts} +0 -0
- /package/dist/{document-Db-z1nIm.d.mts → document-vq-7rcU5.d.mts} +0 -0
- /package/dist/{fields-DUuJ_1V0.d.mts → fields-qx-5saY5.d.mts} +0 -0
- /package/dist/{index-Bwlq5D5d.d.mts → index-BIWFngsB.d.mts} +0 -0
- /package/dist/{json-CiA5ZRzc.d.mts → json-CqAaKeHA.d.mts} +0 -0
- /package/dist/{query.schema-oOG7BmVm.d.mts → query.schema-BOn5Kk_p.d.mts} +0 -0
- /package/dist/{response-I41vWpVZ.d.mts → response-C-7nyNVD.d.mts} +0 -0
|
@@ -1,7 +1,61 @@
|
|
|
1
|
+
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
|
+
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
1
3
|
import { h as VStringShort, i as VSize, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
2
4
|
import { t as ContentStatus } from "../../strapi-C0DtxJLD.mjs";
|
|
3
|
-
import {
|
|
5
|
+
import { ComponentSharedRichTextBlock, SeoMeta } from "../../components/shared/index.mjs";
|
|
6
|
+
import { ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "../../components/blocks/index.mjs";
|
|
7
|
+
import { ComponentFormSelect } from "../../components/forms/index.mjs";
|
|
8
|
+
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
4
9
|
import * as v from "valibot";
|
|
10
|
+
//#region src/entities/blog-post/constants.ts
|
|
11
|
+
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
12
|
+
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
13
|
+
const BLOG_POST_SORT_KEYS = [
|
|
14
|
+
"id",
|
|
15
|
+
"title",
|
|
16
|
+
"slug",
|
|
17
|
+
"is_live",
|
|
18
|
+
"is_featured",
|
|
19
|
+
"is_public",
|
|
20
|
+
"published",
|
|
21
|
+
"createdAt",
|
|
22
|
+
"updatedAt"
|
|
23
|
+
];
|
|
24
|
+
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/entities/blog-post/fields.ts
|
|
27
|
+
const QuerySortBlogPosts = v.optional(v.pipe(v.array(v.picklist(BLOG_POST_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(BLOG_POST_SORT_KEYS.length)));
|
|
28
|
+
const BlogPostLayout = v.picklist(BLOG_POST_LAYOUT);
|
|
29
|
+
const BlogPostBlock = v.union([
|
|
30
|
+
v.lazy(() => ComponentBlockSectionTitle),
|
|
31
|
+
v.lazy(() => ComponentBlockGraphicImage),
|
|
32
|
+
v.lazy(() => ComponentBlockPullQuote),
|
|
33
|
+
v.lazy(() => ComponentBlockVideo),
|
|
34
|
+
v.lazy(() => ComponentBlockFaq),
|
|
35
|
+
v.lazy(() => ComponentBlockContact),
|
|
36
|
+
v.lazy(() => ComponentBlockButtonGroup),
|
|
37
|
+
v.lazy(() => ComponentBlockFullscreenContent),
|
|
38
|
+
v.lazy(() => ComponentFormSelect),
|
|
39
|
+
v.lazy(() => ComponentSlideshow),
|
|
40
|
+
v.lazy(() => ComponentSharedRichTextBlock)
|
|
41
|
+
]);
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/entities/blog-post/document.ts
|
|
44
|
+
const BlogPostDocument = v.object({
|
|
45
|
+
...BaseDocument.entries,
|
|
46
|
+
title: v.string(),
|
|
47
|
+
slug: v.string(),
|
|
48
|
+
excerpt: v.string(),
|
|
49
|
+
published: v.string(),
|
|
50
|
+
is_live: v.boolean(),
|
|
51
|
+
is_featured: v.boolean(),
|
|
52
|
+
is_public: v.boolean(),
|
|
53
|
+
seo: v.optional(v.nullable(SeoMeta)),
|
|
54
|
+
layout: v.nullable(BlogPostLayout),
|
|
55
|
+
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
56
|
+
blocks: v.optional(v.array(v.lazy(() => BlogPostBlock)))
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
5
59
|
//#region src/entities/blog-post/query.ts
|
|
6
60
|
const QueryStrapiSearchBlogPosts = v.object({
|
|
7
61
|
page: VPage(),
|
|
@@ -4,7 +4,6 @@ const require_document = require("../../document-BAro2Mrj.cjs");
|
|
|
4
4
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
5
5
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
6
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
7
|
-
const require_document$1 = require("../../document-Coz4Rm8I.cjs");
|
|
8
7
|
let valibot = require("valibot");
|
|
9
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
9
|
//#region src/entities/category/constants.ts
|
|
@@ -22,8 +21,7 @@ const CATEGORY_SORT_KEYS = [
|
|
|
22
21
|
const CategoryDocument = valibot.object({
|
|
23
22
|
...require_document.BaseDocument.entries,
|
|
24
23
|
label: valibot.string(),
|
|
25
|
-
slug: valibot.string()
|
|
26
|
-
blog_posts: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.BlogPostDocument))))
|
|
24
|
+
slug: valibot.string()
|
|
27
25
|
});
|
|
28
26
|
//#endregion
|
|
29
27
|
//#region src/entities/category/fields.ts
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-BJ8GyrtC.cjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/category/constants.d.ts
|
|
@@ -10,251 +9,6 @@ declare const CATEGORY_SORT_KEYS: readonly ["id", "label", "slug", "createdAt",
|
|
|
10
9
|
declare const CategoryDocument: v.ObjectSchema<{
|
|
11
10
|
readonly label: v.StringSchema<undefined>;
|
|
12
11
|
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
12
|
readonly id: v.NumberSchema<undefined>;
|
|
259
13
|
readonly documentId: v.StringSchema<undefined>;
|
|
260
14
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -264,7 +18,7 @@ declare const CategoryDocument: v.ObjectSchema<{
|
|
|
264
18
|
type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
265
19
|
//#endregion
|
|
266
20
|
//#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" | "
|
|
21
|
+
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
22
|
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
23
|
//#endregion
|
|
270
24
|
//#region src/entities/category/mutation.d.ts
|
|
@@ -293,7 +47,7 @@ declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
|
293
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
48
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
49
|
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" | "
|
|
50
|
+
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
51
|
}, undefined>;
|
|
298
52
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
53
|
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-CiA5ZRzc.mjs";
|
|
2
1
|
import * as v from "valibot";
|
|
3
2
|
|
|
4
3
|
//#region src/entities/category/constants.d.ts
|
|
@@ -10,251 +9,6 @@ declare const CATEGORY_SORT_KEYS: readonly ["id", "label", "slug", "createdAt",
|
|
|
10
9
|
declare const CategoryDocument: v.ObjectSchema<{
|
|
11
10
|
readonly label: v.StringSchema<undefined>;
|
|
12
11
|
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
12
|
readonly id: v.NumberSchema<undefined>;
|
|
259
13
|
readonly documentId: v.StringSchema<undefined>;
|
|
260
14
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -264,7 +18,7 @@ declare const CategoryDocument: v.ObjectSchema<{
|
|
|
264
18
|
type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
265
19
|
//#endregion
|
|
266
20
|
//#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" | "
|
|
21
|
+
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
22
|
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
23
|
//#endregion
|
|
270
24
|
//#region src/entities/category/mutation.d.ts
|
|
@@ -293,7 +47,7 @@ declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
|
293
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
48
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
49
|
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" | "
|
|
50
|
+
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
51
|
}, undefined>;
|
|
298
52
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
53
|
//#endregion
|