@getcommunity/gc-validators 0.0.271-alpha.2 → 0.0.271-alpha.21
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 +20 -20
- package/dist/base/index.d.cts +3 -4
- package/dist/base/index.d.mts +3 -4
- package/dist/base/index.mjs +3 -3
- 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 +13 -2
- package/dist/components/shared/index.d.cts +1 -916
- package/dist/components/shared/index.d.mts +1 -916
- package/dist/components/shared/index.mjs +13 -2
- 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/constants/index.cjs +5 -3
- package/dist/constants/index.d.cts +417 -3
- package/dist/constants/index.d.mts +417 -3
- package/dist/constants/index.mjs +2 -2
- package/dist/document-CAkRm1Y_.d.mts +24 -0
- package/dist/document-CDavjuJ-.mjs +19 -0
- package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
- package/dist/document-CwIvc2p7.cjs +26 -0
- package/dist/document-DOVZwQRq.cjs +728 -0
- package/dist/document-DR6GQUE8.cjs +243 -0
- package/dist/document-DaICHS9G.cjs +17 -0
- package/dist/document-TlMeVEGy.d.cts +24 -0
- package/dist/document-c3GNPelp.mjs +10 -0
- package/dist/document-exUYRsta.mjs +128 -0
- package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
- package/dist/document-kvIqz0p6.mjs +457 -0
- package/dist/entities/audit-log/index.cjs +2 -2
- package/dist/entities/audit-log/index.d.cts +3 -3
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/audit-log/index.mjs +1 -1
- package/dist/entities/blog-page/index.cjs +1 -1
- package/dist/entities/blog-page/index.d.cts +12 -251
- package/dist/entities/blog-page/index.d.mts +12 -251
- package/dist/entities/blog-page/index.mjs +1 -1
- package/dist/entities/blog-post/index.cjs +2 -2
- 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 +2 -2
- package/dist/entities/careers-page/index.cjs +1 -1
- package/dist/entities/careers-page/index.d.cts +12 -251
- package/dist/entities/careers-page/index.d.mts +12 -251
- package/dist/entities/careers-page/index.mjs +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.cjs +1 -1
- package/dist/entities/faq-page/index.d.cts +13 -329
- package/dist/entities/faq-page/index.d.mts +13 -329
- package/dist/entities/faq-page/index.mjs +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.cjs +2 -2
- package/dist/entities/landing-page/index.d.cts +25 -474
- package/dist/entities/landing-page/index.d.mts +25 -474
- package/dist/entities/landing-page/index.mjs +2 -2
- 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.cjs +2 -2
- package/dist/entities/policy-page/index.d.cts +15 -321
- package/dist/entities/policy-page/index.d.mts +15 -321
- package/dist/entities/policy-page/index.mjs +2 -2
- 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 +8 -3
- package/dist/entities/team-member/index.d.cts +2 -210
- package/dist/entities/team-member/index.d.mts +2 -210
- package/dist/entities/team-member/index.mjs +7 -3
- package/dist/entities/team-page/index.cjs +1 -1
- package/dist/entities/team-page/index.d.cts +12 -251
- package/dist/entities/team-page/index.d.mts +12 -251
- package/dist/entities/team-page/index.mjs +1 -1
- package/dist/entities/teamwork/index.d.cts +5 -6
- package/dist/entities/teamwork/index.d.mts +5 -6
- 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-B3VtiObV.d.mts +317 -0
- package/dist/index-B7kzXrHG.d.mts +4746 -0
- package/dist/index-Bo7Y0_IX.d.mts +945 -0
- package/dist/index-BqCOvpbq.d.cts +945 -0
- package/dist/{document-C0c7azOe.d.mts → index-BxEBUjx2.d.mts} +236 -184
- package/dist/index-CQP_vcmO.d.cts +317 -0
- package/dist/index-CRoWUxGV.d.cts +1324 -0
- package/dist/index-CnZGEWjN.d.cts +4746 -0
- package/dist/index-D11tQdCv.d.cts +34 -0
- package/dist/{index-DYPjS1qh.d.mts → index-D3KnOYr7.d.mts} +3 -3
- package/dist/index-DLICmJ_-.d.mts +34 -0
- package/dist/{index-BLE_fX1Q.d.cts → index-D_YPjLxv.d.cts} +3 -3
- package/dist/{index-Bht1Jd5l.d.mts → index-HC5SDR9c.d.mts} +111 -154
- package/dist/{index-ZBDWYTfn.d.cts → index-VMlL6p9e.d.cts} +111 -154
- package/dist/{document-DN3g0EFx.d.cts → index-auU0DaW5.d.cts} +236 -184
- package/dist/index-oCLNrzIj.d.mts +1324 -0
- package/dist/{json-CqAaKeHA.d.mts → json-BrVkpLbC.d.mts} +1 -0
- package/dist/{json-BJ8GyrtC.d.cts → json-Cm6HECXA.d.cts} +1 -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-BOZj3jek.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-Dpy-S8bA.mjs} +2 -2
- package/dist/{relations-CGu18hfT.cjs → relationships-B0sgMFZA.cjs} +2 -2
- package/dist/{relations-C04F46xL.mjs → relationships-D1Kp-Gfe.mjs} +2 -2
- package/dist/{strapi-C7POOPEf.cjs → strapi-B0f98T3D.cjs} +3 -3
- package/dist/strapi-BZGtE-mE.cjs +455 -0
- package/dist/{strapi-C0DtxJLD.mjs → strapi-CcyhoATG.mjs} +3 -3
- package/dist/strapi-JZZXwngw.mjs +420 -0
- package/dist/utilities/index.cjs +20 -0
- package/dist/utilities/index.d.cts +11 -2
- package/dist/utilities/index.d.mts +11 -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-BMxLOdrT.d.cts +0 -267
- 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-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-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-Gx2Vrg_w.d.mts +0 -267
- 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/strapi-COeswSwJ.mjs +0 -49
- package/dist/strapi-DmhV7ODq.cjs +0 -72
- /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
- /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
3
|
-
import { SeoMeta } from "../../components/shared/index.mjs";
|
|
4
|
-
import * as v from "valibot";
|
|
1
|
+
import { t as ProductDocument } from "../../document-CDavjuJ-.mjs";
|
|
5
2
|
//#region src/entities/product/constants.ts
|
|
6
3
|
const LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE = 10;
|
|
7
4
|
const LIMIT_PRODUCT_PAGINATION_MAX_SIZE = 100;
|
|
8
5
|
//#endregion
|
|
9
|
-
//#region src/entities/product/document.ts
|
|
10
|
-
const ProductDocument = v.object({
|
|
11
|
-
...BaseDocument.entries,
|
|
12
|
-
seo: v.optional(SeoMeta),
|
|
13
|
-
title: v.string(),
|
|
14
|
-
slug: v.string(),
|
|
15
|
-
introduction: v.string(),
|
|
16
|
-
flyer_link: v.nullable(v.string()),
|
|
17
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
18
|
-
cta_text: v.string(),
|
|
19
|
-
cta_form_caption: v.string(),
|
|
20
|
-
order: v.number()
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
6
|
export { LIMIT_PRODUCT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_PAGINATION_MAX_SIZE, ProductDocument };
|
|
@@ -1,28 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
|
-
const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
|
|
5
|
-
const require_components_blocks_index = require("../../components/blocks/index.cjs");
|
|
6
|
-
let valibot = require("valibot");
|
|
7
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
2
|
+
const require_document = require("../../document-DOVZwQRq.cjs");
|
|
8
3
|
//#region src/entities/product-highlight/constants.ts
|
|
9
4
|
const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
10
5
|
const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
11
6
|
//#endregion
|
|
12
|
-
//#region src/entities/product-highlight/document.ts
|
|
13
|
-
const ProductHighlightDocument = valibot.object({
|
|
14
|
-
...require_document.BaseDocument.entries,
|
|
15
|
-
title: valibot.string(),
|
|
16
|
-
title_line_1: valibot.string(),
|
|
17
|
-
title_line_2: valibot.string(),
|
|
18
|
-
introduction: valibot.string(),
|
|
19
|
-
highlight: valibot.optional(require_components_blocks_index.BlockFullscreenContent),
|
|
20
|
-
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
21
|
-
background_color: valibot.string(),
|
|
22
|
-
order: valibot.number(),
|
|
23
|
-
text_invert: valibot.boolean()
|
|
24
|
-
});
|
|
25
|
-
//#endregion
|
|
26
7
|
exports.LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE;
|
|
27
8
|
exports.LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE;
|
|
28
|
-
exports.ProductHighlightDocument = ProductHighlightDocument;
|
|
9
|
+
exports.ProductHighlightDocument = require_document.ProductHighlightDocument;
|
|
@@ -1,245 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/entities/product-highlight/constants.d.ts
|
|
4
|
-
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
5
|
-
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/entities/product-highlight/document.d.ts
|
|
8
|
-
declare const ProductHighlightDocument: v.ObjectSchema<{
|
|
9
|
-
readonly title: v.StringSchema<undefined>;
|
|
10
|
-
readonly title_line_1: v.StringSchema<undefined>;
|
|
11
|
-
readonly title_line_2: v.StringSchema<undefined>;
|
|
12
|
-
readonly introduction: v.StringSchema<undefined>;
|
|
13
|
-
readonly highlight: v.OptionalSchema<v.ObjectSchema<{
|
|
14
|
-
readonly fullscreen_type: v.PicklistSchema<readonly ["zoomable-image", "video", "html", "website"], undefined>;
|
|
15
|
-
readonly fullscreen_img: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
16
|
-
readonly name: v.StringSchema<undefined>;
|
|
17
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
-
readonly width: v.NumberSchema<undefined>;
|
|
20
|
-
readonly height: v.NumberSchema<undefined>;
|
|
21
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
22
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
23
|
-
readonly ext: v.StringSchema<undefined>;
|
|
24
|
-
readonly url: v.StringSchema<undefined>;
|
|
25
|
-
readonly hash: v.StringSchema<undefined>;
|
|
26
|
-
readonly mime: v.StringSchema<undefined>;
|
|
27
|
-
readonly name: v.StringSchema<undefined>;
|
|
28
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
-
readonly size: v.NumberSchema<undefined>;
|
|
30
|
-
readonly width: v.NumberSchema<undefined>;
|
|
31
|
-
readonly height: v.NumberSchema<undefined>;
|
|
32
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
33
|
-
}, undefined>, undefined>;
|
|
34
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
35
|
-
readonly ext: v.StringSchema<undefined>;
|
|
36
|
-
readonly url: v.StringSchema<undefined>;
|
|
37
|
-
readonly hash: v.StringSchema<undefined>;
|
|
38
|
-
readonly mime: v.StringSchema<undefined>;
|
|
39
|
-
readonly name: v.StringSchema<undefined>;
|
|
40
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
-
readonly size: v.NumberSchema<undefined>;
|
|
42
|
-
readonly width: v.NumberSchema<undefined>;
|
|
43
|
-
readonly height: v.NumberSchema<undefined>;
|
|
44
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
45
|
-
}, undefined>, undefined>;
|
|
46
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
47
|
-
readonly ext: v.StringSchema<undefined>;
|
|
48
|
-
readonly url: v.StringSchema<undefined>;
|
|
49
|
-
readonly hash: v.StringSchema<undefined>;
|
|
50
|
-
readonly mime: v.StringSchema<undefined>;
|
|
51
|
-
readonly name: v.StringSchema<undefined>;
|
|
52
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
53
|
-
readonly size: v.NumberSchema<undefined>;
|
|
54
|
-
readonly width: v.NumberSchema<undefined>;
|
|
55
|
-
readonly height: v.NumberSchema<undefined>;
|
|
56
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
57
|
-
}, undefined>, undefined>;
|
|
58
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
59
|
-
readonly ext: v.StringSchema<undefined>;
|
|
60
|
-
readonly url: v.StringSchema<undefined>;
|
|
61
|
-
readonly hash: v.StringSchema<undefined>;
|
|
62
|
-
readonly mime: v.StringSchema<undefined>;
|
|
63
|
-
readonly name: v.StringSchema<undefined>;
|
|
64
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
65
|
-
readonly size: v.NumberSchema<undefined>;
|
|
66
|
-
readonly width: v.NumberSchema<undefined>;
|
|
67
|
-
readonly height: v.NumberSchema<undefined>;
|
|
68
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
69
|
-
}, undefined>, undefined>;
|
|
70
|
-
}, undefined>, undefined>, undefined>;
|
|
71
|
-
readonly hash: v.StringSchema<undefined>;
|
|
72
|
-
readonly ext: v.StringSchema<undefined>;
|
|
73
|
-
readonly mime: v.StringSchema<undefined>;
|
|
74
|
-
readonly size: v.NumberSchema<undefined>;
|
|
75
|
-
readonly url: v.StringSchema<undefined>;
|
|
76
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
77
|
-
readonly provider: v.StringSchema<undefined>;
|
|
78
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
79
|
-
readonly id: v.NumberSchema<undefined>;
|
|
80
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
81
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
83
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
84
|
-
}, undefined>>, undefined>, undefined>;
|
|
85
|
-
readonly website_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
readonly html_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
87
|
-
readonly video: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
88
|
-
readonly video_source: v.PicklistSchema<readonly ["youtube", "upload"], undefined>;
|
|
89
|
-
readonly video_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
-
readonly video_upload: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
91
|
-
readonly name: v.StringSchema<undefined>;
|
|
92
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
93
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
-
readonly width: v.NumberSchema<undefined>;
|
|
95
|
-
readonly height: v.NumberSchema<undefined>;
|
|
96
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
97
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
98
|
-
readonly ext: v.StringSchema<undefined>;
|
|
99
|
-
readonly url: v.StringSchema<undefined>;
|
|
100
|
-
readonly hash: v.StringSchema<undefined>;
|
|
101
|
-
readonly mime: v.StringSchema<undefined>;
|
|
102
|
-
readonly name: v.StringSchema<undefined>;
|
|
103
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
-
readonly size: v.NumberSchema<undefined>;
|
|
105
|
-
readonly width: v.NumberSchema<undefined>;
|
|
106
|
-
readonly height: v.NumberSchema<undefined>;
|
|
107
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
108
|
-
}, undefined>, undefined>;
|
|
109
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
110
|
-
readonly ext: v.StringSchema<undefined>;
|
|
111
|
-
readonly url: v.StringSchema<undefined>;
|
|
112
|
-
readonly hash: v.StringSchema<undefined>;
|
|
113
|
-
readonly mime: v.StringSchema<undefined>;
|
|
114
|
-
readonly name: v.StringSchema<undefined>;
|
|
115
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
116
|
-
readonly size: v.NumberSchema<undefined>;
|
|
117
|
-
readonly width: v.NumberSchema<undefined>;
|
|
118
|
-
readonly height: v.NumberSchema<undefined>;
|
|
119
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
120
|
-
}, undefined>, undefined>;
|
|
121
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
122
|
-
readonly ext: v.StringSchema<undefined>;
|
|
123
|
-
readonly url: v.StringSchema<undefined>;
|
|
124
|
-
readonly hash: v.StringSchema<undefined>;
|
|
125
|
-
readonly mime: v.StringSchema<undefined>;
|
|
126
|
-
readonly name: v.StringSchema<undefined>;
|
|
127
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
-
readonly size: v.NumberSchema<undefined>;
|
|
129
|
-
readonly width: v.NumberSchema<undefined>;
|
|
130
|
-
readonly height: v.NumberSchema<undefined>;
|
|
131
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
132
|
-
}, undefined>, undefined>;
|
|
133
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
134
|
-
readonly ext: v.StringSchema<undefined>;
|
|
135
|
-
readonly url: v.StringSchema<undefined>;
|
|
136
|
-
readonly hash: v.StringSchema<undefined>;
|
|
137
|
-
readonly mime: v.StringSchema<undefined>;
|
|
138
|
-
readonly name: v.StringSchema<undefined>;
|
|
139
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
140
|
-
readonly size: v.NumberSchema<undefined>;
|
|
141
|
-
readonly width: v.NumberSchema<undefined>;
|
|
142
|
-
readonly height: v.NumberSchema<undefined>;
|
|
143
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
144
|
-
}, undefined>, undefined>;
|
|
145
|
-
}, undefined>, undefined>, undefined>;
|
|
146
|
-
readonly hash: v.StringSchema<undefined>;
|
|
147
|
-
readonly ext: v.StringSchema<undefined>;
|
|
148
|
-
readonly mime: v.StringSchema<undefined>;
|
|
149
|
-
readonly size: v.NumberSchema<undefined>;
|
|
150
|
-
readonly url: v.StringSchema<undefined>;
|
|
151
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
-
readonly provider: v.StringSchema<undefined>;
|
|
153
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
154
|
-
readonly id: v.NumberSchema<undefined>;
|
|
155
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
156
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
158
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
159
|
-
}, undefined>>, undefined>, undefined>;
|
|
160
|
-
readonly id: v.NumberSchema<undefined>;
|
|
161
|
-
}, undefined>, undefined>, undefined>;
|
|
162
|
-
readonly id: v.NumberSchema<undefined>;
|
|
163
|
-
}, undefined>, undefined>;
|
|
164
|
-
readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
165
|
-
readonly name: v.StringSchema<undefined>;
|
|
166
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
167
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
168
|
-
readonly width: v.NumberSchema<undefined>;
|
|
169
|
-
readonly height: v.NumberSchema<undefined>;
|
|
170
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
171
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
172
|
-
readonly ext: v.StringSchema<undefined>;
|
|
173
|
-
readonly url: v.StringSchema<undefined>;
|
|
174
|
-
readonly hash: v.StringSchema<undefined>;
|
|
175
|
-
readonly mime: v.StringSchema<undefined>;
|
|
176
|
-
readonly name: v.StringSchema<undefined>;
|
|
177
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
-
readonly size: v.NumberSchema<undefined>;
|
|
179
|
-
readonly width: v.NumberSchema<undefined>;
|
|
180
|
-
readonly height: v.NumberSchema<undefined>;
|
|
181
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
182
|
-
}, undefined>, undefined>;
|
|
183
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
184
|
-
readonly ext: v.StringSchema<undefined>;
|
|
185
|
-
readonly url: v.StringSchema<undefined>;
|
|
186
|
-
readonly hash: v.StringSchema<undefined>;
|
|
187
|
-
readonly mime: v.StringSchema<undefined>;
|
|
188
|
-
readonly name: v.StringSchema<undefined>;
|
|
189
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
-
readonly size: v.NumberSchema<undefined>;
|
|
191
|
-
readonly width: v.NumberSchema<undefined>;
|
|
192
|
-
readonly height: v.NumberSchema<undefined>;
|
|
193
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
194
|
-
}, undefined>, undefined>;
|
|
195
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
196
|
-
readonly ext: v.StringSchema<undefined>;
|
|
197
|
-
readonly url: v.StringSchema<undefined>;
|
|
198
|
-
readonly hash: v.StringSchema<undefined>;
|
|
199
|
-
readonly mime: v.StringSchema<undefined>;
|
|
200
|
-
readonly name: v.StringSchema<undefined>;
|
|
201
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
-
readonly size: v.NumberSchema<undefined>;
|
|
203
|
-
readonly width: v.NumberSchema<undefined>;
|
|
204
|
-
readonly height: v.NumberSchema<undefined>;
|
|
205
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
206
|
-
}, undefined>, undefined>;
|
|
207
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
208
|
-
readonly ext: v.StringSchema<undefined>;
|
|
209
|
-
readonly url: v.StringSchema<undefined>;
|
|
210
|
-
readonly hash: v.StringSchema<undefined>;
|
|
211
|
-
readonly mime: v.StringSchema<undefined>;
|
|
212
|
-
readonly name: v.StringSchema<undefined>;
|
|
213
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
214
|
-
readonly size: v.NumberSchema<undefined>;
|
|
215
|
-
readonly width: v.NumberSchema<undefined>;
|
|
216
|
-
readonly height: v.NumberSchema<undefined>;
|
|
217
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
218
|
-
}, undefined>, undefined>;
|
|
219
|
-
}, undefined>, undefined>, undefined>;
|
|
220
|
-
readonly hash: v.StringSchema<undefined>;
|
|
221
|
-
readonly ext: v.StringSchema<undefined>;
|
|
222
|
-
readonly mime: v.StringSchema<undefined>;
|
|
223
|
-
readonly size: v.NumberSchema<undefined>;
|
|
224
|
-
readonly url: v.StringSchema<undefined>;
|
|
225
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
-
readonly provider: v.StringSchema<undefined>;
|
|
227
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
228
|
-
readonly id: v.NumberSchema<undefined>;
|
|
229
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
230
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
232
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
233
|
-
}, undefined>>, undefined>, undefined>;
|
|
234
|
-
readonly background_color: v.StringSchema<undefined>;
|
|
235
|
-
readonly order: v.NumberSchema<undefined>;
|
|
236
|
-
readonly text_invert: v.BooleanSchema<undefined>;
|
|
237
|
-
readonly id: v.NumberSchema<undefined>;
|
|
238
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
239
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
240
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
241
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
242
|
-
}, undefined>;
|
|
243
|
-
type ProductHighlightDocument = v.InferOutput<typeof ProductHighlightDocument>;
|
|
244
|
-
//#endregion
|
|
1
|
+
import { $t as ProductHighlightDocument, en as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, tn as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE } from "../../index-CnZGEWjN.cjs";
|
|
245
2
|
export { LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, ProductHighlightDocument };
|
|
@@ -1,245 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/entities/product-highlight/constants.d.ts
|
|
4
|
-
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
5
|
-
declare const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
6
|
-
//#endregion
|
|
7
|
-
//#region src/entities/product-highlight/document.d.ts
|
|
8
|
-
declare const ProductHighlightDocument: v.ObjectSchema<{
|
|
9
|
-
readonly title: v.StringSchema<undefined>;
|
|
10
|
-
readonly title_line_1: v.StringSchema<undefined>;
|
|
11
|
-
readonly title_line_2: v.StringSchema<undefined>;
|
|
12
|
-
readonly introduction: v.StringSchema<undefined>;
|
|
13
|
-
readonly highlight: v.OptionalSchema<v.ObjectSchema<{
|
|
14
|
-
readonly fullscreen_type: v.PicklistSchema<readonly ["zoomable-image", "video", "html", "website"], undefined>;
|
|
15
|
-
readonly fullscreen_img: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
16
|
-
readonly name: v.StringSchema<undefined>;
|
|
17
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
-
readonly width: v.NumberSchema<undefined>;
|
|
20
|
-
readonly height: v.NumberSchema<undefined>;
|
|
21
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
22
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
23
|
-
readonly ext: v.StringSchema<undefined>;
|
|
24
|
-
readonly url: v.StringSchema<undefined>;
|
|
25
|
-
readonly hash: v.StringSchema<undefined>;
|
|
26
|
-
readonly mime: v.StringSchema<undefined>;
|
|
27
|
-
readonly name: v.StringSchema<undefined>;
|
|
28
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
-
readonly size: v.NumberSchema<undefined>;
|
|
30
|
-
readonly width: v.NumberSchema<undefined>;
|
|
31
|
-
readonly height: v.NumberSchema<undefined>;
|
|
32
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
33
|
-
}, undefined>, undefined>;
|
|
34
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
35
|
-
readonly ext: v.StringSchema<undefined>;
|
|
36
|
-
readonly url: v.StringSchema<undefined>;
|
|
37
|
-
readonly hash: v.StringSchema<undefined>;
|
|
38
|
-
readonly mime: v.StringSchema<undefined>;
|
|
39
|
-
readonly name: v.StringSchema<undefined>;
|
|
40
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
-
readonly size: v.NumberSchema<undefined>;
|
|
42
|
-
readonly width: v.NumberSchema<undefined>;
|
|
43
|
-
readonly height: v.NumberSchema<undefined>;
|
|
44
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
45
|
-
}, undefined>, undefined>;
|
|
46
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
47
|
-
readonly ext: v.StringSchema<undefined>;
|
|
48
|
-
readonly url: v.StringSchema<undefined>;
|
|
49
|
-
readonly hash: v.StringSchema<undefined>;
|
|
50
|
-
readonly mime: v.StringSchema<undefined>;
|
|
51
|
-
readonly name: v.StringSchema<undefined>;
|
|
52
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
53
|
-
readonly size: v.NumberSchema<undefined>;
|
|
54
|
-
readonly width: v.NumberSchema<undefined>;
|
|
55
|
-
readonly height: v.NumberSchema<undefined>;
|
|
56
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
57
|
-
}, undefined>, undefined>;
|
|
58
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
59
|
-
readonly ext: v.StringSchema<undefined>;
|
|
60
|
-
readonly url: v.StringSchema<undefined>;
|
|
61
|
-
readonly hash: v.StringSchema<undefined>;
|
|
62
|
-
readonly mime: v.StringSchema<undefined>;
|
|
63
|
-
readonly name: v.StringSchema<undefined>;
|
|
64
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
65
|
-
readonly size: v.NumberSchema<undefined>;
|
|
66
|
-
readonly width: v.NumberSchema<undefined>;
|
|
67
|
-
readonly height: v.NumberSchema<undefined>;
|
|
68
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
69
|
-
}, undefined>, undefined>;
|
|
70
|
-
}, undefined>, undefined>, undefined>;
|
|
71
|
-
readonly hash: v.StringSchema<undefined>;
|
|
72
|
-
readonly ext: v.StringSchema<undefined>;
|
|
73
|
-
readonly mime: v.StringSchema<undefined>;
|
|
74
|
-
readonly size: v.NumberSchema<undefined>;
|
|
75
|
-
readonly url: v.StringSchema<undefined>;
|
|
76
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
77
|
-
readonly provider: v.StringSchema<undefined>;
|
|
78
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
79
|
-
readonly id: v.NumberSchema<undefined>;
|
|
80
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
81
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
83
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
84
|
-
}, undefined>>, undefined>, undefined>;
|
|
85
|
-
readonly website_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
readonly html_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
87
|
-
readonly video: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
88
|
-
readonly video_source: v.PicklistSchema<readonly ["youtube", "upload"], undefined>;
|
|
89
|
-
readonly video_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
-
readonly video_upload: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
91
|
-
readonly name: v.StringSchema<undefined>;
|
|
92
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
93
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
-
readonly width: v.NumberSchema<undefined>;
|
|
95
|
-
readonly height: v.NumberSchema<undefined>;
|
|
96
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
97
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
98
|
-
readonly ext: v.StringSchema<undefined>;
|
|
99
|
-
readonly url: v.StringSchema<undefined>;
|
|
100
|
-
readonly hash: v.StringSchema<undefined>;
|
|
101
|
-
readonly mime: v.StringSchema<undefined>;
|
|
102
|
-
readonly name: v.StringSchema<undefined>;
|
|
103
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
-
readonly size: v.NumberSchema<undefined>;
|
|
105
|
-
readonly width: v.NumberSchema<undefined>;
|
|
106
|
-
readonly height: v.NumberSchema<undefined>;
|
|
107
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
108
|
-
}, undefined>, undefined>;
|
|
109
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
110
|
-
readonly ext: v.StringSchema<undefined>;
|
|
111
|
-
readonly url: v.StringSchema<undefined>;
|
|
112
|
-
readonly hash: v.StringSchema<undefined>;
|
|
113
|
-
readonly mime: v.StringSchema<undefined>;
|
|
114
|
-
readonly name: v.StringSchema<undefined>;
|
|
115
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
116
|
-
readonly size: v.NumberSchema<undefined>;
|
|
117
|
-
readonly width: v.NumberSchema<undefined>;
|
|
118
|
-
readonly height: v.NumberSchema<undefined>;
|
|
119
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
120
|
-
}, undefined>, undefined>;
|
|
121
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
122
|
-
readonly ext: v.StringSchema<undefined>;
|
|
123
|
-
readonly url: v.StringSchema<undefined>;
|
|
124
|
-
readonly hash: v.StringSchema<undefined>;
|
|
125
|
-
readonly mime: v.StringSchema<undefined>;
|
|
126
|
-
readonly name: v.StringSchema<undefined>;
|
|
127
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
-
readonly size: v.NumberSchema<undefined>;
|
|
129
|
-
readonly width: v.NumberSchema<undefined>;
|
|
130
|
-
readonly height: v.NumberSchema<undefined>;
|
|
131
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
132
|
-
}, undefined>, undefined>;
|
|
133
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
134
|
-
readonly ext: v.StringSchema<undefined>;
|
|
135
|
-
readonly url: v.StringSchema<undefined>;
|
|
136
|
-
readonly hash: v.StringSchema<undefined>;
|
|
137
|
-
readonly mime: v.StringSchema<undefined>;
|
|
138
|
-
readonly name: v.StringSchema<undefined>;
|
|
139
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
140
|
-
readonly size: v.NumberSchema<undefined>;
|
|
141
|
-
readonly width: v.NumberSchema<undefined>;
|
|
142
|
-
readonly height: v.NumberSchema<undefined>;
|
|
143
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
144
|
-
}, undefined>, undefined>;
|
|
145
|
-
}, undefined>, undefined>, undefined>;
|
|
146
|
-
readonly hash: v.StringSchema<undefined>;
|
|
147
|
-
readonly ext: v.StringSchema<undefined>;
|
|
148
|
-
readonly mime: v.StringSchema<undefined>;
|
|
149
|
-
readonly size: v.NumberSchema<undefined>;
|
|
150
|
-
readonly url: v.StringSchema<undefined>;
|
|
151
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
-
readonly provider: v.StringSchema<undefined>;
|
|
153
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
154
|
-
readonly id: v.NumberSchema<undefined>;
|
|
155
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
156
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
158
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
159
|
-
}, undefined>>, undefined>, undefined>;
|
|
160
|
-
readonly id: v.NumberSchema<undefined>;
|
|
161
|
-
}, undefined>, undefined>, undefined>;
|
|
162
|
-
readonly id: v.NumberSchema<undefined>;
|
|
163
|
-
}, undefined>, undefined>;
|
|
164
|
-
readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
165
|
-
readonly name: v.StringSchema<undefined>;
|
|
166
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
167
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
168
|
-
readonly width: v.NumberSchema<undefined>;
|
|
169
|
-
readonly height: v.NumberSchema<undefined>;
|
|
170
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
171
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
172
|
-
readonly ext: v.StringSchema<undefined>;
|
|
173
|
-
readonly url: v.StringSchema<undefined>;
|
|
174
|
-
readonly hash: v.StringSchema<undefined>;
|
|
175
|
-
readonly mime: v.StringSchema<undefined>;
|
|
176
|
-
readonly name: v.StringSchema<undefined>;
|
|
177
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
-
readonly size: v.NumberSchema<undefined>;
|
|
179
|
-
readonly width: v.NumberSchema<undefined>;
|
|
180
|
-
readonly height: v.NumberSchema<undefined>;
|
|
181
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
182
|
-
}, undefined>, undefined>;
|
|
183
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
184
|
-
readonly ext: v.StringSchema<undefined>;
|
|
185
|
-
readonly url: v.StringSchema<undefined>;
|
|
186
|
-
readonly hash: v.StringSchema<undefined>;
|
|
187
|
-
readonly mime: v.StringSchema<undefined>;
|
|
188
|
-
readonly name: v.StringSchema<undefined>;
|
|
189
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
-
readonly size: v.NumberSchema<undefined>;
|
|
191
|
-
readonly width: v.NumberSchema<undefined>;
|
|
192
|
-
readonly height: v.NumberSchema<undefined>;
|
|
193
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
194
|
-
}, undefined>, undefined>;
|
|
195
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
196
|
-
readonly ext: v.StringSchema<undefined>;
|
|
197
|
-
readonly url: v.StringSchema<undefined>;
|
|
198
|
-
readonly hash: v.StringSchema<undefined>;
|
|
199
|
-
readonly mime: v.StringSchema<undefined>;
|
|
200
|
-
readonly name: v.StringSchema<undefined>;
|
|
201
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
-
readonly size: v.NumberSchema<undefined>;
|
|
203
|
-
readonly width: v.NumberSchema<undefined>;
|
|
204
|
-
readonly height: v.NumberSchema<undefined>;
|
|
205
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
206
|
-
}, undefined>, undefined>;
|
|
207
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
208
|
-
readonly ext: v.StringSchema<undefined>;
|
|
209
|
-
readonly url: v.StringSchema<undefined>;
|
|
210
|
-
readonly hash: v.StringSchema<undefined>;
|
|
211
|
-
readonly mime: v.StringSchema<undefined>;
|
|
212
|
-
readonly name: v.StringSchema<undefined>;
|
|
213
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
214
|
-
readonly size: v.NumberSchema<undefined>;
|
|
215
|
-
readonly width: v.NumberSchema<undefined>;
|
|
216
|
-
readonly height: v.NumberSchema<undefined>;
|
|
217
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
218
|
-
}, undefined>, undefined>;
|
|
219
|
-
}, undefined>, undefined>, undefined>;
|
|
220
|
-
readonly hash: v.StringSchema<undefined>;
|
|
221
|
-
readonly ext: v.StringSchema<undefined>;
|
|
222
|
-
readonly mime: v.StringSchema<undefined>;
|
|
223
|
-
readonly size: v.NumberSchema<undefined>;
|
|
224
|
-
readonly url: v.StringSchema<undefined>;
|
|
225
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
-
readonly provider: v.StringSchema<undefined>;
|
|
227
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
228
|
-
readonly id: v.NumberSchema<undefined>;
|
|
229
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
230
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
232
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
233
|
-
}, undefined>>, undefined>, undefined>;
|
|
234
|
-
readonly background_color: v.StringSchema<undefined>;
|
|
235
|
-
readonly order: v.NumberSchema<undefined>;
|
|
236
|
-
readonly text_invert: v.BooleanSchema<undefined>;
|
|
237
|
-
readonly id: v.NumberSchema<undefined>;
|
|
238
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
239
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
240
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
241
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
242
|
-
}, undefined>;
|
|
243
|
-
type ProductHighlightDocument = v.InferOutput<typeof ProductHighlightDocument>;
|
|
244
|
-
//#endregion
|
|
1
|
+
import { $t as ProductHighlightDocument, en as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, tn as LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE } from "../../index-B7kzXrHG.mjs";
|
|
245
2
|
export { LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, ProductHighlightDocument };
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
3
|
-
import { BlockFullscreenContent } from "../../components/blocks/index.mjs";
|
|
4
|
-
import * as v from "valibot";
|
|
1
|
+
import { n as ProductHighlightDocument } from "../../document-kvIqz0p6.mjs";
|
|
5
2
|
//#region src/entities/product-highlight/constants.ts
|
|
6
3
|
const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE = 10;
|
|
7
4
|
const LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE = 100;
|
|
8
5
|
//#endregion
|
|
9
|
-
//#region src/entities/product-highlight/document.ts
|
|
10
|
-
const ProductHighlightDocument = v.object({
|
|
11
|
-
...BaseDocument.entries,
|
|
12
|
-
title: v.string(),
|
|
13
|
-
title_line_1: v.string(),
|
|
14
|
-
title_line_2: v.string(),
|
|
15
|
-
introduction: v.string(),
|
|
16
|
-
highlight: v.optional(BlockFullscreenContent),
|
|
17
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
18
|
-
background_color: v.string(),
|
|
19
|
-
order: v.number(),
|
|
20
|
-
text_invert: v.boolean()
|
|
21
|
-
});
|
|
22
|
-
//#endregion
|
|
23
6
|
export { LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_DEFAULT_SIZE, LIMIT_PRODUCT_HIGHLIGHT_PAGINATION_MAX_SIZE, ProductHighlightDocument };
|
|
@@ -4,7 +4,7 @@ const require_document = require("../../document-BAro2Mrj.cjs");
|
|
|
4
4
|
const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
|
|
5
5
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
6
6
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
7
|
-
const
|
|
7
|
+
const require_relationships = require("../../relationships-B0sgMFZA.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/resume/document.ts
|
|
@@ -115,7 +115,7 @@ const UpdateResumeInfoDocument = valibot.object({
|
|
|
115
115
|
captcha: require_validators.VStringMax(require_regex.LIMIT_LONG_STRING_MAX_LENGTH)
|
|
116
116
|
});
|
|
117
117
|
const UpdateResumeInfoDocumentRequest = valibot.object({
|
|
118
|
-
documentId:
|
|
118
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
119
119
|
data: UpdateResumeInfo
|
|
120
120
|
});
|
|
121
121
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
|
2
2
|
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
3
3
|
import { H as ERROR_MESSAGE_COMMA_SEPPARATED_URLS, U as ERROR_MESSAGE_INVALID_URL, c as LIMIT_LONG_STRING_MAX_LENGTH, l as LIMIT_MAX_DESTINATION, q as ERROR_MESSAGE_URL_PREFIX } from "../../regex-BnKGcdS4.mjs";
|
|
4
4
|
import { d as VStringMinMax, l as VStringMax, m as VStringPhoneNullable, o as VStringEmail, p as VStringPhone } from "../../validators-P5E_3qzc.mjs";
|
|
5
|
-
import { a as SAssociateOneEntity } from "../../
|
|
5
|
+
import { a as SAssociateOneEntity } from "../../relationships-D1Kp-Gfe.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/resume/document.ts
|
|
8
8
|
const ResumeDocument = v.object({
|
|
@@ -1,9 +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
|
|
5
|
+
const require_relationships = require("../../relationships-B0sgMFZA.cjs");
|
|
6
|
+
const require_document = require("../../document-DaICHS9G.cjs");
|
|
7
7
|
let valibot = require("valibot");
|
|
8
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
9
|
//#region src/entities/tag/constants.ts
|
|
@@ -17,13 +17,6 @@ const TAG_SORT_KEYS = [
|
|
|
17
17
|
"updatedAt"
|
|
18
18
|
];
|
|
19
19
|
//#endregion
|
|
20
|
-
//#region src/entities/tag/document.ts
|
|
21
|
-
const TagDocument = valibot.object({
|
|
22
|
-
...require_document.BaseDocument.entries,
|
|
23
|
-
label: valibot.string(),
|
|
24
|
-
slug: valibot.string()
|
|
25
|
-
});
|
|
26
|
-
//#endregion
|
|
27
20
|
//#region src/entities/tag/fields.ts
|
|
28
21
|
const QuerySortTags = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(TAG_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(TAG_SORT_KEYS.length)));
|
|
29
22
|
//#endregion
|
|
@@ -37,7 +30,7 @@ const UpdateTagDocument = valibot.object({
|
|
|
37
30
|
slug: valibot.optional(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_URL_SLUG, require_regex.ERROR_MESSAGE_REGEX_URL_SLUG))
|
|
38
31
|
});
|
|
39
32
|
const UpdateTagDocumentRequest = valibot.object({
|
|
40
|
-
documentId:
|
|
33
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
41
34
|
data: UpdateTagDocument
|
|
42
35
|
});
|
|
43
36
|
//#endregion
|
|
@@ -56,6 +49,6 @@ exports.LIMIT_TAGS_PAGINATION_MAX_SIZE = LIMIT_TAGS_PAGINATION_MAX_SIZE;
|
|
|
56
49
|
exports.QuerySortTags = QuerySortTags;
|
|
57
50
|
exports.QueryStrapiSearchTags = QueryStrapiSearchTags;
|
|
58
51
|
exports.TAG_SORT_KEYS = TAG_SORT_KEYS;
|
|
59
|
-
exports.TagDocument = TagDocument;
|
|
52
|
+
exports.TagDocument = require_document.TagDocument;
|
|
60
53
|
exports.UpdateTagDocument = UpdateTagDocument;
|
|
61
54
|
exports.UpdateTagDocumentRequest = UpdateTagDocumentRequest;
|