@getcommunity/gc-validators 0.0.271-alpha.1 → 0.0.271-alpha.10
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/abac-BeKQtxIF.cjs +648 -0
- package/dist/abac-DPd9oLKR.mjs +643 -0
- package/dist/base/index.cjs +19 -19
- package/dist/base/index.d.cts +2 -3
- package/dist/base/index.d.mts +3 -4
- package/dist/base/index.mjs +2 -2
- package/dist/components/blocks/index.cjs +16 -14
- package/dist/components/blocks/index.d.cts +2 -1322
- package/dist/components/blocks/index.d.mts +2 -1322
- package/dist/components/blocks/index.mjs +16 -14
- package/dist/components/brand/index.d.cts +1 -314
- package/dist/components/brand/index.d.mts +1 -314
- package/dist/components/forms/index.cjs +10 -8
- package/dist/components/forms/index.d.cts +6 -3
- package/dist/components/forms/index.d.mts +6 -3
- package/dist/components/forms/index.mjs +10 -8
- package/dist/components/shared/index.cjs +3 -1
- package/dist/components/shared/index.d.cts +1 -916
- package/dist/components/shared/index.d.mts +1 -916
- package/dist/components/shared/index.mjs +3 -1
- package/dist/components/slideshow/index.cjs +15 -13
- package/dist/components/slideshow/index.d.cts +7 -5
- package/dist/components/slideshow/index.d.mts +7 -5
- package/dist/components/slideshow/index.mjs +15 -13
- package/dist/components/utm/index.cjs +7 -5
- package/dist/components/utm/index.d.cts +2 -32
- package/dist/components/utm/index.d.mts +2 -32
- package/dist/components/utm/index.mjs +7 -5
- package/dist/{document-BMxLOdrT.d.cts → document-BVhB_t1g.d.mts} +158 -104
- package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
- package/dist/document-Ccvtwgy_.cjs +26 -0
- package/dist/document-CrnqUGRk.cjs +243 -0
- package/dist/document-Cx4Klv8A.mjs +128 -0
- package/dist/document-D060zybc.mjs +19 -0
- package/dist/document-D7jG_DvK.cjs +728 -0
- package/dist/document-DEUmfrbE.mjs +457 -0
- package/dist/document-DaICHS9G.cjs +17 -0
- package/dist/{document-Gx2Vrg_w.d.mts → document-DtDSYDbn.d.cts} +158 -104
- package/dist/document-c3GNPelp.mjs +10 -0
- package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
- package/dist/entities/audit-log/index.cjs +2 -2
- package/dist/entities/audit-log/index.d.mts +1 -1
- package/dist/entities/audit-log/index.mjs +1 -1
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +1 -1
- package/dist/entities/blog-post/index.d.cts +1 -916
- package/dist/entities/blog-post/index.d.mts +1 -916
- package/dist/entities/blog-post/index.mjs +1 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +4 -13
- package/dist/entities/category/index.d.cts +3 -260
- package/dist/entities/category/index.d.mts +3 -260
- package/dist/entities/category/index.mjs +2 -11
- package/dist/entities/client/index.cjs +3 -3
- package/dist/entities/client/index.d.cts +1 -84
- package/dist/entities/client/index.d.mts +1 -84
- package/dist/entities/client/index.mjs +2 -2
- package/dist/entities/client-content-pillar/index.cjs +10 -20
- package/dist/entities/client-content-pillar/index.d.cts +1 -48
- package/dist/entities/client-content-pillar/index.d.mts +1 -48
- package/dist/entities/client-content-pillar/index.mjs +2 -12
- package/dist/entities/client-media-platform/index.cjs +10 -17
- package/dist/entities/client-media-platform/index.d.cts +1 -52
- package/dist/entities/client-media-platform/index.d.mts +1 -52
- package/dist/entities/client-media-platform/index.mjs +2 -9
- package/dist/entities/client-project/index.cjs +22 -129
- package/dist/entities/client-project/index.d.cts +1 -146
- package/dist/entities/client-project/index.d.mts +1 -146
- package/dist/entities/client-project/index.mjs +2 -109
- package/dist/entities/client-report/index.cjs +7 -18
- package/dist/entities/client-report/index.d.cts +1 -62
- package/dist/entities/client-report/index.d.mts +1 -62
- package/dist/entities/client-report/index.mjs +2 -13
- package/dist/entities/client-styleguide/index.cjs +7 -27
- package/dist/entities/client-styleguide/index.d.cts +1 -47
- package/dist/entities/client-styleguide/index.d.mts +1 -47
- package/dist/entities/client-styleguide/index.mjs +2 -22
- package/dist/entities/client-user/index.cjs +17 -53
- package/dist/entities/client-user/index.d.cts +2 -47
- package/dist/entities/client-user/index.d.mts +2 -47
- package/dist/entities/client-user/index.mjs +5 -41
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +5 -5
- package/dist/entities/content-pillar/index.d.cts +1 -49
- package/dist/entities/content-pillar/index.d.mts +1 -49
- package/dist/entities/content-pillar/index.mjs +2 -2
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.cjs +9 -19
- package/dist/entities/gcflytour/index.d.cts +1 -60
- package/dist/entities/gcflytour/index.d.mts +1 -60
- package/dist/entities/gcflytour/index.mjs +2 -12
- package/dist/entities/gcflytour-snap/index.cjs +7 -17
- package/dist/entities/gcflytour-snap/index.d.cts +1 -58
- package/dist/entities/gcflytour-snap/index.d.mts +1 -58
- package/dist/entities/gcflytour-snap/index.mjs +2 -12
- package/dist/entities/landing-page/index.d.cts +1 -0
- package/dist/entities/landing-page/index.d.mts +2 -1
- package/dist/entities/lead/index.cjs +2 -2
- package/dist/entities/lead/index.mjs +1 -1
- package/dist/entities/media-content-type/index.cjs +10 -23
- package/dist/entities/media-content-type/index.d.cts +3 -3
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-content-type/index.mjs +2 -15
- package/dist/entities/media-creative-format/index.cjs +7 -16
- package/dist/entities/media-creative-format/index.d.cts +3 -3
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.mjs +2 -11
- package/dist/entities/media-medium/index.cjs +7 -18
- package/dist/entities/media-medium/index.d.cts +3 -18
- package/dist/entities/media-medium/index.d.mts +3 -18
- package/dist/entities/media-medium/index.mjs +2 -13
- package/dist/entities/media-platform/index.cjs +13 -29
- package/dist/entities/media-platform/index.d.cts +1 -73
- package/dist/entities/media-platform/index.d.mts +1 -73
- package/dist/entities/media-platform/index.mjs +2 -18
- package/dist/entities/monday-workspace/index.cjs +7 -14
- package/dist/entities/monday-workspace/index.d.cts +1 -46
- package/dist/entities/monday-workspace/index.d.mts +1 -46
- package/dist/entities/monday-workspace/index.mjs +2 -9
- package/dist/entities/newsletter-signup/index.cjs +2 -2
- package/dist/entities/newsletter-signup/index.mjs +1 -1
- package/dist/entities/policy-page/index.d.cts +1 -0
- package/dist/entities/policy-page/index.d.mts +2 -1
- package/dist/entities/product/index.cjs +2 -21
- package/dist/entities/product/index.d.cts +1 -319
- package/dist/entities/product/index.d.mts +1 -319
- package/dist/entities/product/index.mjs +1 -18
- package/dist/entities/product-highlight/index.cjs +2 -21
- package/dist/entities/product-highlight/index.d.cts +1 -244
- package/dist/entities/product-highlight/index.d.mts +1 -244
- package/dist/entities/product-highlight/index.mjs +1 -18
- package/dist/entities/resume/index.cjs +2 -2
- package/dist/entities/resume/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +4 -11
- package/dist/entities/tag/index.d.cts +3 -14
- package/dist/entities/tag/index.d.mts +3 -14
- package/dist/entities/tag/index.mjs +2 -9
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.d.cts +1 -209
- package/dist/entities/team-member/index.d.mts +1 -209
- 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 +4 -18
- package/dist/entities/trend/index.d.cts +1 -333
- package/dist/entities/trend/index.d.mts +1 -333
- package/dist/entities/trend/index.mjs +2 -16
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-permission/index.cjs +2 -11
- package/dist/entities/up-permission/index.d.cts +1 -13
- package/dist/entities/up-permission/index.d.mts +1 -13
- package/dist/entities/up-permission/index.mjs +1 -8
- package/dist/entities/up-role/index.cjs +4 -27
- package/dist/entities/up-role/index.d.cts +1 -2
- package/dist/entities/up-role/index.d.mts +1 -2
- package/dist/entities/up-role/index.mjs +1 -22
- package/dist/entities/up-user/index.cjs +9 -63
- package/dist/entities/up-user/index.d.cts +1 -37
- package/dist/entities/up-user/index.d.mts +1 -37
- package/dist/entities/up-user/index.mjs +1 -53
- package/dist/entities/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +2 -2
- package/dist/entities/user-account/index.cjs +10 -18
- package/dist/entities/user-account/index.d.cts +2 -2
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/user-account/index.mjs +3 -11
- package/dist/entities/utm-link-builder/index.cjs +9 -8
- package/dist/entities/utm-link-builder/index.d.cts +2 -3
- package/dist/entities/utm-link-builder/index.d.mts +2 -3
- package/dist/entities/utm-link-builder/index.mjs +6 -4
- package/dist/entities/utm-meta/index.d.cts +7 -7
- package/dist/entities/utm-meta/index.d.mts +7 -7
- package/dist/entities/utm-tracking-link/index.cjs +7 -28
- package/dist/entities/utm-tracking-link/index.d.cts +1 -234
- package/dist/entities/utm-tracking-link/index.d.mts +1 -234
- package/dist/entities/utm-tracking-link/index.mjs +2 -23
- package/dist/index-4XzJDMTp.d.mts +4744 -0
- package/dist/index-B3VtiObV.d.mts +317 -0
- package/dist/index-BD4hPqIw.d.cts +940 -0
- package/dist/index-BbwsFaWE.d.cts +921 -0
- package/dist/{index-DYPjS1qh.d.mts → index-Brw4Hq18.d.cts} +3 -3
- package/dist/{index-Bht1Jd5l.d.mts → index-CJ2_Z1gW.d.mts} +97 -140
- package/dist/index-CQP_vcmO.d.cts +317 -0
- package/dist/index-CRoWUxGV.d.cts +1324 -0
- package/dist/index-CrZiM45q.d.cts +4744 -0
- package/dist/index-CygWlTrU.d.mts +940 -0
- package/dist/index-D11tQdCv.d.cts +34 -0
- package/dist/{index-BLE_fX1Q.d.cts → index-D6rOxDlM.d.mts} +3 -3
- package/dist/index-DJ-0EDJN.d.mts +921 -0
- package/dist/index-DLICmJ_-.d.mts +34 -0
- package/dist/{index-ZBDWYTfn.d.cts → index-efk0FfOP.d.cts} +96 -139
- package/dist/index-oCLNrzIj.d.mts +1324 -0
- package/dist/media-upload-D-nP8FR1.d.cts +140 -0
- package/dist/media-upload-DKeA1eD-.d.mts +140 -0
- package/dist/permissions/index.cjs +3 -663
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/permissions/index.mjs +3 -661
- package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
- package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
- package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
- package/dist/utilities/index.cjs +20 -0
- package/dist/utilities/index.d.cts +7 -2
- package/dist/utilities/index.d.mts +7 -2
- package/dist/utilities/index.mjs +19 -1
- package/package.json +1 -1
- package/dist/document-BAzLIprH.d.mts +0 -100
- package/dist/document-BFukanLe.mjs +0 -54
- package/dist/document-BK1ASowb.d.cts +0 -17
- package/dist/document-BNoXPGwF.d.mts +0 -27
- package/dist/document-B_pJW777.d.mts +0 -30
- package/dist/document-Bd2AyLs8.d.mts +0 -16
- package/dist/document-BezYxNmb.d.cts +0 -16
- package/dist/document-Bj7SRTOn.d.cts +0 -18
- package/dist/document-Bo869pZx.d.mts +0 -18
- package/dist/document-Bs8c1mok.d.cts +0 -15
- package/dist/document-C0c7azOe.d.mts +0 -434
- package/dist/document-CTTDXzOF.mjs +0 -13
- package/dist/document-CUl_Ys6-.mjs +0 -23
- package/dist/document-CWYzG60q.d.cts +0 -19
- package/dist/document-Ccszj8lR.cjs +0 -20
- package/dist/document-CjNHI7Eb.d.cts +0 -27
- package/dist/document-Cu_HUDC5.mjs +0 -51
- package/dist/document-D-KvyEb5.d.cts +0 -238
- package/dist/document-D2nLVGig.d.mts +0 -238
- package/dist/document-D4fJt3zX.d.cts +0 -12223
- package/dist/document-D5yDIDIx.d.mts +0 -15
- package/dist/document-D73dqRle.d.cts +0 -19
- package/dist/document-DA6YVZz-.d.cts +0 -100
- package/dist/document-DJ0YiVte.d.cts +0 -30
- package/dist/document-DMHIUE3J.d.mts +0 -17
- package/dist/document-DN3g0EFx.d.cts +0 -434
- package/dist/document-DYzRVV1C.d.mts +0 -16
- package/dist/document-D_ZMbzn6.d.cts +0 -18
- package/dist/document-DdRo9TdG.d.mts +0 -12223
- package/dist/document-DeoRGh7p.d.mts +0 -19
- package/dist/document-DsIPBTG8.cjs +0 -30
- package/dist/document-DsSaMVGb.cjs +0 -106
- package/dist/document-IIJpsOIO.d.cts +0 -16
- package/dist/document-WHS8GHY5.d.mts +0 -18
- package/dist/document-dqrWptdY.d.cts +0 -244
- package/dist/document-rbMXLGxt.cjs +0 -103
- package/dist/document-si7GYS5g.d.mts +0 -19
- package/dist/document-vq-7rcU5.d.mts +0 -244
- package/dist/fields-BQHSYj70.d.cts +0 -7
- package/dist/fields-qx-5saY5.d.mts +0 -7
- package/dist/index-BI8tN-QZ.d.mts +0 -99
- package/dist/index-DpYYzY_9.d.cts +0 -99
- package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
- package/dist/query.schema-CItKlb0x.d.cts +0 -41
- package/dist/response-C-7nyNVD.d.mts +0 -57
- package/dist/response-c6SgLvi9.d.cts +0 -57
- /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
- /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.d.mts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as VStringShort, i as VSize, r as VPage } from "../../validators-P5E_3qzc.mjs";
|
|
2
2
|
import { t as ContentStatus } from "../../strapi-C0DtxJLD.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as BLOG_POST_SORT_KEYS, g as BLOG_POST_LAYOUT, i as QuerySortBlogPosts, n as BlogPostBlock, r as BlogPostLayout, t as BlogPostDocument, v as LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE, y as LIMIT_BLOG_POST_PAGINATION_MAX_SIZE } from "../../document-Cx4Klv8A.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
//#region src/entities/blog-post/query.ts
|
|
6
6
|
const QueryStrapiSearchBlogPosts = v.object({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
3
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
5
4
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
|
-
const
|
|
7
|
-
const require_document
|
|
5
|
+
const require_relationships = require("../../relationships-CWVJebkQ.cjs");
|
|
6
|
+
const require_document = require("../../document-CrnqUGRk.cjs");
|
|
8
7
|
let valibot = require("valibot");
|
|
9
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
9
|
//#region src/entities/category/constants.ts
|
|
@@ -18,14 +17,6 @@ const CATEGORY_SORT_KEYS = [
|
|
|
18
17
|
"updatedAt"
|
|
19
18
|
];
|
|
20
19
|
//#endregion
|
|
21
|
-
//#region src/entities/category/document.ts
|
|
22
|
-
const CategoryDocument = valibot.object({
|
|
23
|
-
...require_document.BaseDocument.entries,
|
|
24
|
-
label: valibot.string(),
|
|
25
|
-
slug: valibot.string(),
|
|
26
|
-
blog_posts: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.BlogPostDocument))))
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
20
|
//#region src/entities/category/fields.ts
|
|
30
21
|
const QuerySortCategories = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CATEGORY_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CATEGORY_SORT_KEYS.length)));
|
|
31
22
|
//#endregion
|
|
@@ -39,7 +30,7 @@ const UpdateCategoryDocument = valibot.object({
|
|
|
39
30
|
slug: valibot.optional(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG))
|
|
40
31
|
});
|
|
41
32
|
const UpdateCategoryDocumentRequest = valibot.object({
|
|
42
|
-
documentId:
|
|
33
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
43
34
|
data: UpdateCategoryDocument
|
|
44
35
|
});
|
|
45
36
|
//#endregion
|
|
@@ -53,7 +44,7 @@ const QueryStrapiSearchCategories = valibot.object({
|
|
|
53
44
|
});
|
|
54
45
|
//#endregion
|
|
55
46
|
exports.CATEGORY_SORT_KEYS = CATEGORY_SORT_KEYS;
|
|
56
|
-
exports.CategoryDocument = CategoryDocument;
|
|
47
|
+
exports.CategoryDocument = require_document.CategoryDocument;
|
|
57
48
|
exports.CreateCategoryDocument = CreateCategoryDocument;
|
|
58
49
|
exports.LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE;
|
|
59
50
|
exports.LIMIT_CATEGORIES_PAGINATION_MAX_SIZE = LIMIT_CATEGORIES_PAGINATION_MAX_SIZE;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as CategoryDocument } from "../../index-BD4hPqIw.cjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/category/constants.d.ts
|
|
@@ -6,265 +6,8 @@ declare const LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = 100;
|
|
|
6
6
|
declare const LIMIT_CATEGORIES_PAGINATION_MAX_SIZE = 1000;
|
|
7
7
|
declare const CATEGORY_SORT_KEYS: readonly ["id", "label", "slug", "createdAt", "updatedAt"];
|
|
8
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
9
|
//#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" | "
|
|
10
|
+
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" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
268
11
|
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
12
|
//#endregion
|
|
270
13
|
//#region src/entities/category/mutation.d.ts
|
|
@@ -293,7 +36,7 @@ declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
|
293
36
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
37
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
38
|
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" | "
|
|
39
|
+
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" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
297
40
|
}, undefined>;
|
|
298
41
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
42
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as CategoryDocument } from "../../index-CygWlTrU.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/category/constants.d.ts
|
|
@@ -6,265 +6,8 @@ declare const LIMIT_CATEGORIES_PAGINATION_DEFAULT_SIZE = 100;
|
|
|
6
6
|
declare const LIMIT_CATEGORIES_PAGINATION_MAX_SIZE = 1000;
|
|
7
7
|
declare const CATEGORY_SORT_KEYS: readonly ["id", "label", "slug", "createdAt", "updatedAt"];
|
|
8
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
9
|
//#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" | "
|
|
10
|
+
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" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
268
11
|
type QuerySortCategories = v.InferOutput<typeof QuerySortCategories>;
|
|
269
12
|
//#endregion
|
|
270
13
|
//#region src/entities/category/mutation.d.ts
|
|
@@ -293,7 +36,7 @@ declare const QueryStrapiSearchCategories: v.ObjectSchema<{
|
|
|
293
36
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
294
37
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
295
38
|
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" | "
|
|
39
|
+
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" | "slug:DESC" | "label:ASC" | "label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "label:ASC" | "label:DESC")[], 5, undefined>]>, undefined>;
|
|
297
40
|
}, undefined>;
|
|
298
41
|
type QueryStrapiSearchCategories = v.InferOutput<typeof QueryStrapiSearchCategories>;
|
|
299
42
|
//#endregion
|