@getcommunity/gc-validators 0.0.271-alpha.25 → 0.0.271-alpha.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.cjs +9 -27
- package/dist/base/index.d.cts +2 -2
- package/dist/base/index.d.mts +4 -4
- package/dist/base/index.mjs +5 -5
- package/dist/components/blocks/index.cjs +5 -4
- package/dist/components/blocks/index.d.cts +1 -1
- package/dist/components/blocks/index.d.mts +1 -1
- package/dist/components/blocks/index.mjs +5 -4
- package/dist/components/brand/index.cjs +3 -2
- package/dist/components/brand/index.d.cts +1 -1
- package/dist/components/brand/index.d.mts +1 -1
- package/dist/components/brand/index.mjs +3 -2
- package/dist/components/forms/index.cjs +2 -1
- package/dist/components/forms/index.d.cts +280 -280
- package/dist/components/forms/index.d.mts +280 -280
- package/dist/components/forms/index.mjs +2 -1
- package/dist/components/shared/index.cjs +5 -4
- package/dist/components/shared/index.d.cts +1 -1
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/components/shared/index.mjs +5 -4
- package/dist/components/slideshow/index.d.cts +280 -280
- package/dist/components/slideshow/index.d.mts +280 -280
- package/dist/components/utm/index.d.mts +1 -1
- package/dist/constants/index.cjs +45 -43
- package/dist/constants/index.mjs +4 -2
- package/dist/{document-TlMeVEGy.d.cts → document-3h6g5Qqr.d.cts} +1 -1
- package/dist/{document-DjM6F56Q.cjs → document-AqtoEbX8.cjs} +19 -24
- package/dist/{document-aEa-gTmH.mjs → document-BCbxKqGE.mjs} +20 -19
- package/dist/{document-kvIqz0p6.mjs → document-BWso8VC7.mjs} +62 -56
- package/dist/{document-CwIvc2p7.cjs → document-DJJFS5o8.cjs} +2 -1
- package/dist/{document-CDavjuJ-.mjs → document-DRyRy2Mw.mjs} +2 -1
- package/dist/{document-CAkRm1Y_.d.mts → document-DqE9ISOk.d.mts} +2 -2
- package/dist/{document-DOVZwQRq.cjs → document-DwkycUz9.cjs} +74 -62
- package/dist/email-ByTEdUjg.cjs +13 -0
- package/dist/email-Cnyi5Neo.mjs +6 -0
- package/dist/entities/audit-log/index.cjs +44 -41
- package/dist/entities/audit-log/index.d.cts +3 -2
- package/dist/entities/audit-log/index.d.mts +4 -3
- package/dist/entities/audit-log/index.mjs +6 -3
- package/dist/entities/blog-page/index.d.cts +1 -1
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +10 -9
- package/dist/entities/blog-post/index.d.cts +1 -1
- package/dist/entities/blog-post/index.d.mts +1 -1
- package/dist/entities/blog-post/index.mjs +4 -3
- package/dist/entities/careers-page/index.d.cts +1 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +15 -13
- package/dist/entities/category/index.d.cts +7 -6
- package/dist/entities/category/index.d.mts +7 -6
- package/dist/entities/category/index.mjs +11 -9
- package/dist/entities/client/index.cjs +23 -22
- package/dist/entities/client/index.d.cts +1 -1
- package/dist/entities/client/index.d.mts +1 -1
- package/dist/entities/client/index.mjs +16 -15
- package/dist/entities/client-content-pillar/index.cjs +14 -13
- package/dist/entities/client-content-pillar/index.d.cts +1 -1
- package/dist/entities/client-content-pillar/index.d.mts +1 -1
- package/dist/entities/client-content-pillar/index.mjs +12 -11
- package/dist/entities/client-media-platform/index.cjs +18 -16
- package/dist/entities/client-media-platform/index.d.cts +1 -1
- package/dist/entities/client-media-platform/index.d.mts +1 -1
- package/dist/entities/client-media-platform/index.mjs +13 -11
- package/dist/entities/client-project/index.cjs +47 -41
- package/dist/entities/client-project/index.d.cts +1 -1
- package/dist/entities/client-project/index.d.mts +1 -1
- package/dist/entities/client-project/index.mjs +11 -5
- package/dist/entities/client-report/index.cjs +18 -16
- package/dist/entities/client-report/index.d.cts +1 -1
- package/dist/entities/client-report/index.d.mts +1 -1
- package/dist/entities/client-report/index.mjs +14 -12
- package/dist/entities/client-styleguide/index.cjs +14 -13
- package/dist/entities/client-styleguide/index.d.cts +1 -1
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-styleguide/index.mjs +11 -10
- package/dist/entities/client-user/index.cjs +7 -7
- package/dist/entities/client-user/index.d.cts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/client-user/index.mjs +5 -5
- package/dist/entities/comment/index.cjs +18 -16
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/comment/index.mjs +12 -10
- package/dist/entities/content-pillar/index.cjs +20 -18
- package/dist/entities/content-pillar/index.d.cts +1 -1
- package/dist/entities/content-pillar/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.mjs +15 -13
- package/dist/entities/faq-page/index.cjs +2 -1
- package/dist/entities/faq-page/index.d.cts +2 -2
- package/dist/entities/faq-page/index.d.mts +3 -3
- package/dist/entities/faq-page/index.mjs +2 -1
- package/dist/entities/formatter/index.d.cts +5 -5
- package/dist/entities/formatter/index.d.mts +5 -5
- package/dist/entities/gcflytour/index.cjs +21 -19
- package/dist/entities/gcflytour/index.d.cts +1 -1
- package/dist/entities/gcflytour/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.mjs +17 -15
- package/dist/entities/gcflytour-snap/index.cjs +20 -18
- package/dist/entities/gcflytour-snap/index.d.cts +1 -1
- package/dist/entities/gcflytour-snap/index.d.mts +1 -1
- package/dist/entities/gcflytour-snap/index.mjs +16 -14
- package/dist/entities/landing-page/index.d.cts +2 -2
- package/dist/entities/landing-page/index.d.mts +3 -3
- package/dist/entities/lead/index.cjs +25 -23
- package/dist/entities/lead/index.mjs +15 -13
- package/dist/entities/media-content-type/index.cjs +21 -19
- package/dist/entities/media-content-type/index.d.cts +7 -6
- package/dist/entities/media-content-type/index.d.mts +7 -6
- package/dist/entities/media-content-type/index.mjs +17 -15
- package/dist/entities/media-creative-format/index.cjs +19 -17
- package/dist/entities/media-creative-format/index.d.cts +7 -6
- package/dist/entities/media-creative-format/index.d.mts +7 -6
- package/dist/entities/media-creative-format/index.mjs +15 -13
- package/dist/entities/media-medium/index.cjs +19 -17
- package/dist/entities/media-medium/index.d.cts +7 -6
- package/dist/entities/media-medium/index.d.mts +7 -6
- package/dist/entities/media-medium/index.mjs +15 -13
- package/dist/entities/media-platform/index.cjs +27 -24
- package/dist/entities/media-platform/index.d.cts +1 -1
- package/dist/entities/media-platform/index.d.mts +1 -1
- package/dist/entities/media-platform/index.mjs +23 -20
- package/dist/entities/monday-workspace/index.cjs +17 -15
- package/dist/entities/monday-workspace/index.d.cts +1 -1
- package/dist/entities/monday-workspace/index.d.mts +1 -1
- package/dist/entities/monday-workspace/index.mjs +11 -9
- package/dist/entities/newsletter-signup/index.cjs +25 -23
- package/dist/entities/newsletter-signup/index.mjs +13 -11
- package/dist/entities/policy-page/index.cjs +2 -1
- package/dist/entities/policy-page/index.d.cts +1 -1
- package/dist/entities/policy-page/index.d.mts +2 -2
- package/dist/entities/policy-page/index.mjs +2 -1
- package/dist/entities/product/index.cjs +1 -1
- package/dist/entities/product/index.d.cts +1 -1
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/product/index.mjs +1 -1
- package/dist/entities/product-highlight/index.cjs +1 -1
- package/dist/entities/product-highlight/index.d.cts +1 -1
- package/dist/entities/product-highlight/index.d.mts +1 -1
- package/dist/entities/product-highlight/index.mjs +1 -1
- package/dist/entities/resume/index.cjs +43 -40
- package/dist/entities/resume/index.mjs +16 -13
- package/dist/entities/sharpspring/index.cjs +9 -8
- package/dist/entities/sharpspring/index.mjs +6 -5
- package/dist/entities/tag/index.cjs +15 -13
- package/dist/entities/tag/index.d.cts +6 -5
- package/dist/entities/tag/index.d.mts +7 -6
- package/dist/entities/tag/index.mjs +11 -9
- package/dist/entities/team-member/index.cjs +11 -9
- package/dist/entities/team-member/index.d.cts +2 -2
- package/dist/entities/team-member/index.d.mts +2 -2
- package/dist/entities/team-member/index.mjs +7 -4
- package/dist/entities/team-page/index.d.cts +1 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/teamwork/index.cjs +12 -11
- package/dist/entities/teamwork/index.d.mts +1 -1
- package/dist/entities/teamwork/index.mjs +7 -6
- package/dist/entities/trend/index.cjs +2 -2
- package/dist/entities/trend/index.d.cts +1 -1
- package/dist/entities/trend/index.d.mts +1 -1
- package/dist/entities/trend/index.mjs +2 -2
- package/dist/entities/up-auth/index.cjs +18 -15
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-auth/index.mjs +6 -3
- package/dist/entities/up-permission/index.cjs +1 -1
- package/dist/entities/up-permission/index.d.cts +1 -1
- package/dist/entities/up-permission/index.d.mts +1 -1
- package/dist/entities/up-permission/index.mjs +1 -1
- package/dist/entities/up-role/index.cjs +1 -1
- package/dist/entities/up-role/index.d.cts +1 -1
- package/dist/entities/up-role/index.d.mts +1 -1
- package/dist/entities/up-role/index.mjs +1 -1
- package/dist/entities/up-user/index.cjs +2 -1
- package/dist/entities/up-user/index.d.cts +2 -2
- package/dist/entities/up-user/index.d.mts +2 -2
- package/dist/entities/up-user/index.mjs +2 -2
- package/dist/entities/upload/index.cjs +11 -11
- package/dist/entities/upload/index.mjs +7 -7
- package/dist/entities/url-redirect/index.cjs +5 -4
- package/dist/entities/url-redirect/index.d.cts +3 -2
- package/dist/entities/url-redirect/index.d.mts +3 -2
- package/dist/entities/url-redirect/index.mjs +4 -3
- package/dist/entities/user-account/index.cjs +10 -11
- 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 +10 -11
- package/dist/entities/utm-link-builder/index.cjs +30 -36
- package/dist/entities/utm-link-builder/index.d.cts +6 -6
- package/dist/entities/utm-link-builder/index.d.mts +6 -6
- package/dist/entities/utm-link-builder/index.mjs +22 -28
- package/dist/entities/utm-tracking-link/index.cjs +110 -104
- package/dist/entities/utm-tracking-link/index.d.cts +2 -2
- package/dist/entities/utm-tracking-link/index.d.mts +2 -2
- package/dist/entities/utm-tracking-link/index.mjs +68 -68
- package/dist/error-messages-9ZhRqNGW.mjs +10 -0
- package/dist/error-messages-C0I1kOur.cjs +51 -0
- package/dist/generators/index.cjs +231 -0
- package/dist/generators/index.d.cts +19 -0
- package/dist/generators/index.d.mts +19 -0
- package/dist/generators/index.mjs +226 -0
- package/dist/index-BOxQLeAK.d.cts +317 -0
- package/dist/index-BSYaAtme.d.mts +486 -0
- package/dist/index-BT8Pa9XY.d.mts +317 -0
- package/dist/{index-DXo7B4ng.d.mts → index-Bjjp-2Sa.d.mts} +20 -99
- package/dist/{index-DXUuI-fJ.d.cts → index-C1GoH-4v.d.cts} +91 -76
- package/dist/{index-D_YPjLxv.d.cts → index-CBW5QmNu.d.cts} +4 -3
- package/dist/index-COpLbpQC.d.cts +486 -0
- package/dist/{index-DEm89ERm.d.mts → index-ClQOYhKi.d.mts} +94 -79
- package/dist/index-Cqmmzi2g.d.mts +944 -0
- package/dist/{index-B_L_83Q2.d.cts → index-D7QXaSOY.d.cts} +19 -98
- package/dist/index-DG_Lwaa7.d.cts +1324 -0
- package/dist/{index-D3KnOYr7.d.mts → index-DKFW5ay8.d.mts} +4 -3
- package/dist/index-Dvu63a8_.d.mts +1324 -0
- package/dist/index-WN2TBKki.d.cts +944 -0
- package/dist/limits-CKGuEuKA.mjs +37 -0
- package/dist/{regex-Cl5goNwp.cjs → limits-CW6iJ7kB.cjs} +0 -102
- package/dist/number-Bt4nZKCU.cjs +19 -0
- package/dist/number-OMFRufFt.mjs +6 -0
- package/dist/pagination-D5l_UjyM.mjs +7 -0
- package/dist/pagination-DWZDPzR4.cjs +20 -0
- package/dist/permissions/index.cjs +2 -2
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +2 -2
- package/dist/phone-C9TNVDm_.mjs +8 -0
- package/dist/phone-D_ZLG1Qv.cjs +21 -0
- package/dist/{query-DHY-nlUQ.mjs → query-BR5Ze6T2.mjs} +7 -11
- package/dist/{query-DelNcssC.cjs → query-qQ_HLlxx.cjs} +13 -29
- package/dist/regex-BEFTMiHO.cjs +51 -0
- package/dist/regex-pSdcbWzV.mjs +10 -0
- package/dist/relation-Bd-xUcj8.cjs +33 -0
- package/dist/relation-DMhLjp7K.mjs +8 -0
- package/dist/{relationships-HTBNe0F-.cjs → relationships-DjHwYd4r.cjs} +23 -9
- package/dist/{relationships-C6xfgdwR.mjs → relationships-yPO5SILR.mjs} +7 -5
- package/dist/slug-BUtm1t-B.mjs +7 -0
- package/dist/slug-cWXTZEIT.cjs +14 -0
- package/dist/sort-CI87SH1y.cjs +33 -0
- package/dist/sort-D3WwshqQ.mjs +14 -0
- package/dist/{strapi-DvyAfgFF.mjs → strapi-B2cNPAao.mjs} +1 -1
- package/dist/{strapi-QFDWi4vD.cjs → strapi-RlhF30B7.cjs} +1 -1
- package/dist/string-BHHnD2Qu.mjs +42 -0
- package/dist/string-Yn-6xiAZ.cjs +97 -0
- package/dist/urls-UOvhCu0z.mjs +14 -0
- package/dist/urls-og5upHgL.cjs +27 -0
- package/dist/utilities/index.cjs +1 -1
- package/dist/utilities/index.d.cts +6 -6
- package/dist/utilities/index.d.mts +6 -6
- package/dist/utilities/index.mjs +1 -1
- package/dist/utm-BqkYlpua.cjs +47 -0
- package/dist/utm-ZUwmBoR2.mjs +28 -0
- package/dist/validators/index.cjs +36 -0
- package/dist/validators/index.d.cts +94 -0
- package/dist/validators/index.d.mts +94 -0
- package/dist/validators/index.mjs +10 -0
- package/package.json +29 -2
- package/dist/index-B3VtiObV.d.mts +0 -317
- package/dist/index-BxEBUjx2.d.mts +0 -486
- package/dist/index-CQP_vcmO.d.cts +0 -317
- package/dist/index-CRoWUxGV.d.cts +0 -1324
- package/dist/index-DYSlcIkJ.d.mts +0 -945
- package/dist/index-Dmtom8iC.d.cts +0 -945
- package/dist/index-auU0DaW5.d.cts +0 -486
- package/dist/index-oCLNrzIj.d.mts +0 -1324
- package/dist/regex-BnKGcdS4.mjs +0 -55
- package/dist/validators-Bc9Is5Sr.cjs +0 -222
- package/dist/validators-P5E_3qzc.mjs +0 -95
- /package/dist/{abac-DPd9oLKR.mjs → abac-BPxkvVVy.mjs} +0 -0
- /package/dist/{abac-BeKQtxIF.cjs → abac-YYI2Ckwv.cjs} +0 -0
- /package/dist/{constants-Htf-MeCA.mjs → constants-C4cy6LoY.mjs} +0 -0
- /package/dist/{constants-f1GP2eiq.cjs → constants-D6DsS_A0.cjs} +0 -0
- /package/dist/{document-DaICHS9G.cjs → document-B4FY2KXQ.cjs} +0 -0
- /package/dist/{document-c3GNPelp.mjs → document-De-prPhc.mjs} +0 -0
- /package/dist/{document-CbE38CzE.d.mts → document-DxjJgk8X.d.mts} +0 -0
- /package/dist/{index-DLICmJ_-.d.mts → index-BSEaV9wd.d.mts} +0 -0
- /package/dist/{json-BrVkpLbC.d.mts → json--oetJLQY.d.mts} +0 -0
- /package/dist/{media-upload-DKeA1eD-.d.mts → media-upload-DBG7YyU4.d.mts} +0 -0
- /package/dist/{strapi-BDLWeEyv.mjs → strapi-CE9bz7Kc.mjs} +0 -0
- /package/dist/{strapi-C4HuWGb_.cjs → strapi-D8C1C0D7.cjs} +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
3
|
+
const require_pagination = require("../../pagination-DWZDPzR4.cjs");
|
|
4
|
+
const require_sort = require("../../sort-CI87SH1y.cjs");
|
|
5
|
+
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
6
|
+
const require_relationships = require("../../relationships-DjHwYd4r.cjs");
|
|
7
|
+
const require_slug = require("../../slug-cWXTZEIT.cjs");
|
|
8
|
+
const require_document = require("../../document-DwkycUz9.cjs");
|
|
7
9
|
let valibot = require("valibot");
|
|
8
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
11
|
//#region src/entities/gcflytour-snap/constants.ts
|
|
@@ -20,24 +22,24 @@ const GCFLYTOUR_SNAP_SORT_KEYS = [
|
|
|
20
22
|
];
|
|
21
23
|
//#endregion
|
|
22
24
|
//#region src/entities/gcflytour-snap/fields.ts
|
|
23
|
-
const QuerySortGCFlyTourSnaps =
|
|
25
|
+
const QuerySortGCFlyTourSnaps = require_sort.createQuerySort(GCFLYTOUR_SNAP_SORT_KEYS);
|
|
24
26
|
//#endregion
|
|
25
27
|
//#region src/entities/gcflytour-snap/mutation.ts
|
|
26
28
|
const CreateGCFlyTourSnapDocument = valibot.object({
|
|
27
|
-
title:
|
|
28
|
-
slug:
|
|
29
|
-
description: valibot.optional(valibot.nullable(
|
|
29
|
+
title: require_string.VStringMinMax(),
|
|
30
|
+
slug: require_slug.VStringSlug(),
|
|
31
|
+
description: valibot.optional(valibot.nullable(require_string.VStringMax())),
|
|
30
32
|
is_active: valibot.boolean(),
|
|
31
33
|
is_hidden: valibot.boolean(),
|
|
32
|
-
gcflytour:
|
|
34
|
+
gcflytour: require_relationships.SAssociateOneEntityOptional
|
|
33
35
|
});
|
|
34
36
|
const UpdateGCFlyTourSnapDocument = valibot.object({
|
|
35
|
-
title: valibot.optional(
|
|
36
|
-
slug: valibot.optional(
|
|
37
|
-
description: valibot.optional(valibot.nullable(
|
|
37
|
+
title: valibot.optional(require_string.VStringMinMax()),
|
|
38
|
+
slug: valibot.optional(require_slug.VStringSlug()),
|
|
39
|
+
description: valibot.optional(valibot.nullable(require_string.VStringMax())),
|
|
38
40
|
is_active: valibot.optional(valibot.boolean()),
|
|
39
41
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
40
|
-
gcflytour:
|
|
42
|
+
gcflytour: require_relationships.SAssociateOneEntityOptional
|
|
41
43
|
});
|
|
42
44
|
const UpdateGCFlyTourSnapDocumentRequest = valibot.object({
|
|
43
45
|
documentId: require_relationships.SAssociateOneEntity,
|
|
@@ -46,13 +48,13 @@ const UpdateGCFlyTourSnapDocumentRequest = valibot.object({
|
|
|
46
48
|
//#endregion
|
|
47
49
|
//#region src/entities/gcflytour-snap/query.ts
|
|
48
50
|
const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
|
|
49
|
-
page:
|
|
50
|
-
size:
|
|
51
|
-
title: valibot.optional(
|
|
52
|
-
slug: valibot.optional(
|
|
51
|
+
page: require_pagination.VPage(),
|
|
52
|
+
size: require_pagination.VSize(LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE),
|
|
53
|
+
title: valibot.optional(require_string.VStringMax()),
|
|
54
|
+
slug: valibot.optional(require_string.VStringMax()),
|
|
53
55
|
is_active: valibot.optional(valibot.boolean()),
|
|
54
56
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
55
|
-
gcflytour: valibot.optional(
|
|
57
|
+
gcflytour: valibot.optional(require_string.VStringMinMax()),
|
|
56
58
|
gcflytours: valibot.optional(require_relationships.SQueryManyEntities),
|
|
57
59
|
sort: QuerySortGCFlyTourSnaps
|
|
58
60
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-
|
|
1
|
+
import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-C1GoH-4v.cjs";
|
|
2
2
|
export { CreateGCFlyTourSnapDocument, GCFLYTOUR_SNAP_SORT_KEYS, GCFlyTourSnapDocument, LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, QuerySortGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps, UpdateGCFlyTourSnapDocument, UpdateGCFlyTourSnapDocumentRequest };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-
|
|
1
|
+
import { C as LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, S as LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, _ as CreateGCFlyTourSnapDocument, b as QuerySortGCFlyTourSnaps, g as QueryStrapiSearchGCFlyTourSnaps, q as GCFlyTourSnapDocument, v as UpdateGCFlyTourSnapDocument, x as GCFLYTOUR_SNAP_SORT_KEYS, y as UpdateGCFlyTourSnapDocumentRequest } from "../../index-ClQOYhKi.mjs";
|
|
2
2
|
export { CreateGCFlyTourSnapDocument, GCFLYTOUR_SNAP_SORT_KEYS, GCFlyTourSnapDocument, LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE, LIMIT_GCFLYTOUR_SNAP_PAGINATION_MAX_SIZE, QuerySortGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps, UpdateGCFlyTourSnapDocument, UpdateGCFlyTourSnapDocumentRequest };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
1
|
+
import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
|
|
2
|
+
import { r as createQuerySort } from "../../sort-D3WwshqQ.mjs";
|
|
3
|
+
import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
|
|
4
|
+
import { l as SQueryManyEntities, o as SAssociateOneEntity, s as SAssociateOneEntityOptional } from "../../relationships-yPO5SILR.mjs";
|
|
5
|
+
import { t as VStringSlug } from "../../slug-BUtm1t-B.mjs";
|
|
6
|
+
import { a as GCFlyTourSnapDocument } from "../../document-BWso8VC7.mjs";
|
|
5
7
|
import * as v from "valibot";
|
|
6
8
|
//#region src/entities/gcflytour-snap/constants.ts
|
|
7
9
|
const LIMIT_GCFLYTOUR_SNAP_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -17,24 +19,24 @@ const GCFLYTOUR_SNAP_SORT_KEYS = [
|
|
|
17
19
|
];
|
|
18
20
|
//#endregion
|
|
19
21
|
//#region src/entities/gcflytour-snap/fields.ts
|
|
20
|
-
const QuerySortGCFlyTourSnaps =
|
|
22
|
+
const QuerySortGCFlyTourSnaps = createQuerySort(GCFLYTOUR_SNAP_SORT_KEYS);
|
|
21
23
|
//#endregion
|
|
22
24
|
//#region src/entities/gcflytour-snap/mutation.ts
|
|
23
25
|
const CreateGCFlyTourSnapDocument = v.object({
|
|
24
|
-
title: VStringMinMax(
|
|
25
|
-
slug:
|
|
26
|
-
description: v.optional(v.nullable(VStringMax(
|
|
26
|
+
title: VStringMinMax(),
|
|
27
|
+
slug: VStringSlug(),
|
|
28
|
+
description: v.optional(v.nullable(VStringMax())),
|
|
27
29
|
is_active: v.boolean(),
|
|
28
30
|
is_hidden: v.boolean(),
|
|
29
|
-
gcflytour:
|
|
31
|
+
gcflytour: SAssociateOneEntityOptional
|
|
30
32
|
});
|
|
31
33
|
const UpdateGCFlyTourSnapDocument = v.object({
|
|
32
|
-
title: v.optional(VStringMinMax(
|
|
33
|
-
slug: v.optional(
|
|
34
|
-
description: v.optional(v.nullable(VStringMax(
|
|
34
|
+
title: v.optional(VStringMinMax()),
|
|
35
|
+
slug: v.optional(VStringSlug()),
|
|
36
|
+
description: v.optional(v.nullable(VStringMax())),
|
|
35
37
|
is_active: v.optional(v.boolean()),
|
|
36
38
|
is_hidden: v.optional(v.boolean()),
|
|
37
|
-
gcflytour:
|
|
39
|
+
gcflytour: SAssociateOneEntityOptional
|
|
38
40
|
});
|
|
39
41
|
const UpdateGCFlyTourSnapDocumentRequest = v.object({
|
|
40
42
|
documentId: SAssociateOneEntity,
|
|
@@ -49,7 +51,7 @@ const QueryStrapiSearchGCFlyTourSnaps = v.object({
|
|
|
49
51
|
slug: v.optional(VStringMax()),
|
|
50
52
|
is_active: v.optional(v.boolean()),
|
|
51
53
|
is_hidden: v.optional(v.boolean()),
|
|
52
|
-
gcflytour: v.optional(VStringMinMax(
|
|
54
|
+
gcflytour: v.optional(VStringMinMax()),
|
|
53
55
|
gcflytours: v.optional(SQueryManyEntities),
|
|
54
56
|
sort: QuerySortGCFlyTourSnaps
|
|
55
57
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as MediaUploadDocument } from "../../media-upload-D-nP8FR1.cjs";
|
|
2
|
-
import { k as BlockAnnouncementBar } from "../../index-
|
|
3
|
-
import { s as SeoMeta } from "../../index-
|
|
2
|
+
import { k as BlockAnnouncementBar } from "../../index-DG_Lwaa7.cjs";
|
|
3
|
+
import { s as SeoMeta } from "../../index-COpLbpQC.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
6
6
|
//#region src/entities/landing-page/document.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as MediaUploadDocument } from "../../media-upload-
|
|
2
|
-
import { k as BlockAnnouncementBar } from "../../index-
|
|
3
|
-
import { s as SeoMeta } from "../../index-
|
|
1
|
+
import { r as MediaUploadDocument } from "../../media-upload-DBG7YyU4.mjs";
|
|
2
|
+
import { k as BlockAnnouncementBar } from "../../index-Dvu63a8_.mjs";
|
|
3
|
+
import { s as SeoMeta } from "../../index-BSYaAtme.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
6
6
|
//#region src/entities/landing-page/document.d.ts
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const require_limits = require("../../limits-CW6iJ7kB.cjs");
|
|
5
|
+
const require_email = require("../../email-ByTEdUjg.cjs");
|
|
6
|
+
const require_phone = require("../../phone-D_ZLG1Qv.cjs");
|
|
7
|
+
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
8
|
+
const require_relationships = require("../../relationships-DjHwYd4r.cjs");
|
|
7
9
|
let valibot = require("valibot");
|
|
8
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
11
|
//#region src/entities/lead/document.ts
|
|
@@ -25,32 +27,32 @@ const LeadDocument = valibot.object({
|
|
|
25
27
|
//#endregion
|
|
26
28
|
//#region src/entities/lead/mutation.ts
|
|
27
29
|
const CreateLeadDocument = valibot.object({
|
|
28
|
-
first_name:
|
|
29
|
-
last_name:
|
|
30
|
-
email:
|
|
31
|
-
phone:
|
|
32
|
-
company:
|
|
33
|
-
title:
|
|
34
|
-
message:
|
|
35
|
-
product_interest:
|
|
30
|
+
first_name: require_string.VStringMinMax(),
|
|
31
|
+
last_name: require_string.VStringMinMax(),
|
|
32
|
+
email: require_email.VStringEmail(),
|
|
33
|
+
phone: require_phone.VStringPhone(),
|
|
34
|
+
company: require_string.VStringMinMax(),
|
|
35
|
+
title: require_string.VStringMinMax(),
|
|
36
|
+
message: require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH),
|
|
37
|
+
product_interest: require_string.VStringMax(),
|
|
36
38
|
email_consent: valibot.boolean(),
|
|
37
39
|
sms_consent: valibot.boolean(),
|
|
38
|
-
on_page:
|
|
39
|
-
captcha:
|
|
40
|
+
on_page: require_string.VStringMax(require_limits.LIMIT_MAX_DESTINATION),
|
|
41
|
+
captcha: require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)
|
|
40
42
|
});
|
|
41
43
|
const UpdateLeadDocument = valibot.object({
|
|
42
|
-
first_name: valibot.optional(
|
|
43
|
-
last_name: valibot.optional(
|
|
44
|
-
email: valibot.optional(
|
|
45
|
-
phone: valibot.optional(
|
|
46
|
-
company: valibot.optional(
|
|
47
|
-
title: valibot.optional(
|
|
48
|
-
message: valibot.optional(
|
|
49
|
-
product_interest: valibot.optional(valibot.nullable(
|
|
44
|
+
first_name: valibot.optional(require_string.VStringMinMax()),
|
|
45
|
+
last_name: valibot.optional(require_string.VStringMinMax()),
|
|
46
|
+
email: valibot.optional(require_email.VStringEmail()),
|
|
47
|
+
phone: valibot.optional(require_phone.VStringPhone()),
|
|
48
|
+
company: valibot.optional(require_string.VStringMinMax()),
|
|
49
|
+
title: valibot.optional(require_string.VStringMinMax()),
|
|
50
|
+
message: valibot.optional(require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
51
|
+
product_interest: valibot.optional(valibot.nullable(require_string.VStringMax())),
|
|
50
52
|
email_consent: valibot.optional(valibot.boolean()),
|
|
51
53
|
sms_consent: valibot.optional(valibot.boolean()),
|
|
52
|
-
on_page: valibot.optional(
|
|
53
|
-
captcha:
|
|
54
|
+
on_page: valibot.optional(require_string.VStringMax(require_limits.LIMIT_MAX_DESTINATION)),
|
|
55
|
+
captcha: require_string.VStringMax(require_limits.LIMIT_LONG_STRING_MAX_LENGTH)
|
|
54
56
|
});
|
|
55
57
|
const UpdateLeadDocumentRequest = valibot.object({
|
|
56
58
|
documentId: require_relationships.SAssociateOneEntity,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { n as LIMIT_MAX_DESTINATION, t as LIMIT_LONG_STRING_MAX_LENGTH } from "../../limits-CKGuEuKA.mjs";
|
|
3
|
+
import { t as VStringEmail } from "../../email-Cnyi5Neo.mjs";
|
|
4
|
+
import { t as VStringPhone } from "../../phone-C9TNVDm_.mjs";
|
|
5
|
+
import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
|
|
6
|
+
import { o as SAssociateOneEntity } from "../../relationships-yPO5SILR.mjs";
|
|
5
7
|
import * as v from "valibot";
|
|
6
8
|
//#region src/entities/lead/document.ts
|
|
7
9
|
const LeadDocument = v.object({
|
|
@@ -22,28 +24,28 @@ const LeadDocument = v.object({
|
|
|
22
24
|
//#endregion
|
|
23
25
|
//#region src/entities/lead/mutation.ts
|
|
24
26
|
const CreateLeadDocument = v.object({
|
|
25
|
-
first_name: VStringMinMax(
|
|
26
|
-
last_name: VStringMinMax(
|
|
27
|
+
first_name: VStringMinMax(),
|
|
28
|
+
last_name: VStringMinMax(),
|
|
27
29
|
email: VStringEmail(),
|
|
28
30
|
phone: VStringPhone(),
|
|
29
|
-
company: VStringMinMax(
|
|
30
|
-
title: VStringMinMax(
|
|
31
|
+
company: VStringMinMax(),
|
|
32
|
+
title: VStringMinMax(),
|
|
31
33
|
message: VStringMax(LIMIT_LONG_STRING_MAX_LENGTH),
|
|
32
|
-
product_interest: VStringMax(
|
|
34
|
+
product_interest: VStringMax(),
|
|
33
35
|
email_consent: v.boolean(),
|
|
34
36
|
sms_consent: v.boolean(),
|
|
35
37
|
on_page: VStringMax(LIMIT_MAX_DESTINATION),
|
|
36
38
|
captcha: VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)
|
|
37
39
|
});
|
|
38
40
|
const UpdateLeadDocument = v.object({
|
|
39
|
-
first_name: v.optional(VStringMinMax(
|
|
40
|
-
last_name: v.optional(VStringMinMax(
|
|
41
|
+
first_name: v.optional(VStringMinMax()),
|
|
42
|
+
last_name: v.optional(VStringMinMax()),
|
|
41
43
|
email: v.optional(VStringEmail()),
|
|
42
44
|
phone: v.optional(VStringPhone()),
|
|
43
|
-
company: v.optional(VStringMinMax(
|
|
44
|
-
title: v.optional(VStringMinMax(
|
|
45
|
+
company: v.optional(VStringMinMax()),
|
|
46
|
+
title: v.optional(VStringMinMax()),
|
|
45
47
|
message: v.optional(VStringMax(LIMIT_LONG_STRING_MAX_LENGTH)),
|
|
46
|
-
product_interest: v.optional(v.nullable(VStringMax(
|
|
48
|
+
product_interest: v.optional(v.nullable(VStringMax())),
|
|
47
49
|
email_consent: v.optional(v.boolean()),
|
|
48
50
|
sms_consent: v.optional(v.boolean()),
|
|
49
51
|
on_page: v.optional(VStringMax(LIMIT_MAX_DESTINATION)),
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
3
|
+
const require_pagination = require("../../pagination-DWZDPzR4.cjs");
|
|
4
|
+
const require_sort = require("../../sort-CI87SH1y.cjs");
|
|
5
|
+
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
6
|
+
const require_relationships = require("../../relationships-DjHwYd4r.cjs");
|
|
7
|
+
const require_slug = require("../../slug-cWXTZEIT.cjs");
|
|
8
|
+
const require_document = require("../../document-DwkycUz9.cjs");
|
|
7
9
|
let valibot = require("valibot");
|
|
8
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
11
|
//#region src/entities/media-content-type/constants.ts
|
|
@@ -34,28 +36,28 @@ const MEDIA_CONTENT_TYPE_SORT_KEYS = [
|
|
|
34
36
|
];
|
|
35
37
|
//#endregion
|
|
36
38
|
//#region src/entities/media-content-type/fields.ts
|
|
37
|
-
const QuerySortMediaContentTypes =
|
|
39
|
+
const QuerySortMediaContentTypes = require_sort.createQuerySort(MEDIA_CONTENT_TYPE_SORT_KEYS);
|
|
38
40
|
//#endregion
|
|
39
41
|
//#region src/entities/media-content-type/mutation.ts
|
|
40
42
|
const CreateMediaContentTypeDocument = valibot.object({
|
|
41
|
-
title:
|
|
42
|
-
slug:
|
|
43
|
+
title: require_string.VStringMinMax(),
|
|
44
|
+
slug: require_slug.VStringSlug(),
|
|
43
45
|
is_active: valibot.boolean(),
|
|
44
46
|
is_organic_social: valibot.boolean(),
|
|
45
47
|
is_paid_media: valibot.boolean(),
|
|
46
|
-
description: valibot.optional(valibot.nullable(
|
|
47
|
-
media_platforms:
|
|
48
|
-
media_creative_formats:
|
|
48
|
+
description: valibot.optional(valibot.nullable(require_string.VStringMax())),
|
|
49
|
+
media_platforms: require_relationships.SAssociateManyEntitiesOptional,
|
|
50
|
+
media_creative_formats: require_relationships.SAssociateManyEntitiesOptional
|
|
49
51
|
});
|
|
50
52
|
const UpdateMediaContentTypeDocument = valibot.object({
|
|
51
|
-
title: valibot.optional(
|
|
52
|
-
slug: valibot.optional(
|
|
53
|
+
title: valibot.optional(require_string.VStringMinMax()),
|
|
54
|
+
slug: valibot.optional(require_slug.VStringSlug()),
|
|
53
55
|
is_active: valibot.optional(valibot.boolean()),
|
|
54
56
|
is_organic_social: valibot.optional(valibot.boolean()),
|
|
55
57
|
is_paid_media: valibot.optional(valibot.boolean()),
|
|
56
|
-
description: valibot.optional(valibot.nullable(
|
|
57
|
-
media_platforms:
|
|
58
|
-
media_creative_formats:
|
|
58
|
+
description: valibot.optional(valibot.nullable(require_string.VStringMax())),
|
|
59
|
+
media_platforms: require_relationships.SAssociateManyEntitiesOptional,
|
|
60
|
+
media_creative_formats: require_relationships.SAssociateManyEntitiesOptional
|
|
59
61
|
});
|
|
60
62
|
const UpdateMediaContentTypeDocumentRequest = valibot.object({
|
|
61
63
|
documentId: require_relationships.SAssociateOneEntity,
|
|
@@ -64,10 +66,10 @@ const UpdateMediaContentTypeDocumentRequest = valibot.object({
|
|
|
64
66
|
//#endregion
|
|
65
67
|
//#region src/entities/media-content-type/query.ts
|
|
66
68
|
const QueryStrapiSearchMediaContentTypes = valibot.object({
|
|
67
|
-
page:
|
|
68
|
-
size:
|
|
69
|
-
title: valibot.optional(
|
|
70
|
-
slug: valibot.optional(
|
|
69
|
+
page: require_pagination.VPage(),
|
|
70
|
+
size: require_pagination.VSize(LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE),
|
|
71
|
+
title: valibot.optional(require_string.VStringMax()),
|
|
72
|
+
slug: valibot.optional(require_string.VStringMax()),
|
|
71
73
|
is_active: valibot.optional(valibot.boolean()),
|
|
72
74
|
is_organic_social: valibot.optional(valibot.boolean()),
|
|
73
75
|
is_paid_media: valibot.optional(valibot.boolean()),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Z as QuerySortOutput } from "../../index-D7QXaSOY.cjs";
|
|
2
|
+
import { hr as MediaContentTypeDocument } from "../../index-C1GoH-4v.cjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/entities/media-content-type/constants.d.ts
|
|
@@ -7,13 +8,13 @@ declare const LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE = 1000;
|
|
|
7
8
|
declare const MEDIA_CONTENT_TYPE_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "media_platforms.title", "media_platforms.slug", "media_platforms.utm_key", "media_platforms.is_active", "media_platforms.is_organic_social", "media_platforms.is_paid_media", "media_platforms.createdAt", "media_platforms.updatedAt", "media_creative_formats.title", "media_creative_formats.slug", "media_creative_formats.is_active", "media_creative_formats.createdAt", "media_creative_formats.updatedAt"];
|
|
8
9
|
//#endregion
|
|
9
10
|
//#region src/entities/media-content-type/fields.d.ts
|
|
10
|
-
declare const QuerySortMediaContentTypes: v.
|
|
11
|
+
declare const QuerySortMediaContentTypes: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
|
|
11
12
|
type QuerySortMediaContentTypes = v.InferOutput<typeof QuerySortMediaContentTypes>;
|
|
12
13
|
//#endregion
|
|
13
14
|
//#region src/entities/media-content-type/mutation.d.ts
|
|
14
15
|
declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
|
|
15
16
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string,
|
|
17
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
17
18
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
18
19
|
readonly is_organic_social: v.BooleanSchema<undefined>;
|
|
19
20
|
readonly is_paid_media: v.BooleanSchema<undefined>;
|
|
@@ -24,7 +25,7 @@ declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
|
|
|
24
25
|
type CreateMediaContentTypeDocument = v.InferOutput<typeof CreateMediaContentTypeDocument>;
|
|
25
26
|
declare const UpdateMediaContentTypeDocument: v.ObjectSchema<{
|
|
26
27
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string,
|
|
28
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
28
29
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
29
30
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
30
31
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -37,7 +38,7 @@ declare const UpdateMediaContentTypeDocumentRequest: v.ObjectSchema<{
|
|
|
37
38
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
39
|
readonly data: v.ObjectSchema<{
|
|
39
40
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string,
|
|
41
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
41
42
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
42
43
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
43
44
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -59,7 +60,7 @@ declare const QueryStrapiSearchMediaContentTypes: v.ObjectSchema<{
|
|
|
59
60
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
60
61
|
readonly media_platforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
61
62
|
readonly media_creative_formats: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
62
|
-
readonly sort: v.
|
|
63
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
|
|
63
64
|
}, undefined>;
|
|
64
65
|
type QueryStrapiSearchMediaContentTypes = v.InferOutput<typeof QueryStrapiSearchMediaContentTypes>;
|
|
65
66
|
//#endregion
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Z as QuerySortOutput } from "../../index-Bjjp-2Sa.mjs";
|
|
2
|
+
import { hr as MediaContentTypeDocument } from "../../index-ClQOYhKi.mjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/entities/media-content-type/constants.d.ts
|
|
@@ -7,13 +8,13 @@ declare const LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_MAX_SIZE = 1000;
|
|
|
7
8
|
declare const MEDIA_CONTENT_TYPE_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "media_platforms.title", "media_platforms.slug", "media_platforms.utm_key", "media_platforms.is_active", "media_platforms.is_organic_social", "media_platforms.is_paid_media", "media_platforms.createdAt", "media_platforms.updatedAt", "media_creative_formats.title", "media_creative_formats.slug", "media_creative_formats.is_active", "media_creative_formats.createdAt", "media_creative_formats.updatedAt"];
|
|
8
9
|
//#endregion
|
|
9
10
|
//#region src/entities/media-content-type/fields.d.ts
|
|
10
|
-
declare const QuerySortMediaContentTypes: v.
|
|
11
|
+
declare const QuerySortMediaContentTypes: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
|
|
11
12
|
type QuerySortMediaContentTypes = v.InferOutput<typeof QuerySortMediaContentTypes>;
|
|
12
13
|
//#endregion
|
|
13
14
|
//#region src/entities/media-content-type/mutation.d.ts
|
|
14
15
|
declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
|
|
15
16
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string,
|
|
17
|
+
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
17
18
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
18
19
|
readonly is_organic_social: v.BooleanSchema<undefined>;
|
|
19
20
|
readonly is_paid_media: v.BooleanSchema<undefined>;
|
|
@@ -24,7 +25,7 @@ declare const CreateMediaContentTypeDocument: v.ObjectSchema<{
|
|
|
24
25
|
type CreateMediaContentTypeDocument = v.InferOutput<typeof CreateMediaContentTypeDocument>;
|
|
25
26
|
declare const UpdateMediaContentTypeDocument: v.ObjectSchema<{
|
|
26
27
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string,
|
|
28
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
28
29
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
29
30
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
30
31
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -37,7 +38,7 @@ declare const UpdateMediaContentTypeDocumentRequest: v.ObjectSchema<{
|
|
|
37
38
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
39
|
readonly data: v.ObjectSchema<{
|
|
39
40
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
40
|
-
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string,
|
|
41
|
+
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
41
42
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
42
43
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
43
44
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -59,7 +60,7 @@ declare const QueryStrapiSearchMediaContentTypes: v.ObjectSchema<{
|
|
|
59
60
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
60
61
|
readonly media_platforms: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
61
62
|
readonly media_creative_formats: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
62
|
-
readonly sort: v.
|
|
63
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platforms.title" | "media_platforms.slug" | "media_platforms.utm_key" | "media_platforms.is_active" | "media_platforms.is_organic_social" | "media_platforms.is_paid_media" | "media_platforms.createdAt" | "media_platforms.updatedAt" | "media_creative_formats.title" | "media_creative_formats.slug" | "media_creative_formats.is_active" | "media_creative_formats.createdAt" | "media_creative_formats.updatedAt">>;
|
|
63
64
|
}, undefined>;
|
|
64
65
|
type QueryStrapiSearchMediaContentTypes = v.InferOutput<typeof QueryStrapiSearchMediaContentTypes>;
|
|
65
66
|
//#endregion
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
1
|
+
import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
|
|
2
|
+
import { r as createQuerySort } from "../../sort-D3WwshqQ.mjs";
|
|
3
|
+
import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
|
|
4
|
+
import { a as SAssociateManyEntitiesOptional, l as SQueryManyEntities, o as SAssociateOneEntity } from "../../relationships-yPO5SILR.mjs";
|
|
5
|
+
import { t as VStringSlug } from "../../slug-BUtm1t-B.mjs";
|
|
6
|
+
import { U as MediaContentTypeDocument } from "../../document-BWso8VC7.mjs";
|
|
5
7
|
import * as v from "valibot";
|
|
6
8
|
//#region src/entities/media-content-type/constants.ts
|
|
7
9
|
const LIMIT_MEDIA_CONTENT_TYPE_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -31,28 +33,28 @@ const MEDIA_CONTENT_TYPE_SORT_KEYS = [
|
|
|
31
33
|
];
|
|
32
34
|
//#endregion
|
|
33
35
|
//#region src/entities/media-content-type/fields.ts
|
|
34
|
-
const QuerySortMediaContentTypes =
|
|
36
|
+
const QuerySortMediaContentTypes = createQuerySort(MEDIA_CONTENT_TYPE_SORT_KEYS);
|
|
35
37
|
//#endregion
|
|
36
38
|
//#region src/entities/media-content-type/mutation.ts
|
|
37
39
|
const CreateMediaContentTypeDocument = v.object({
|
|
38
|
-
title: VStringMinMax(
|
|
39
|
-
slug:
|
|
40
|
+
title: VStringMinMax(),
|
|
41
|
+
slug: VStringSlug(),
|
|
40
42
|
is_active: v.boolean(),
|
|
41
43
|
is_organic_social: v.boolean(),
|
|
42
44
|
is_paid_media: v.boolean(),
|
|
43
|
-
description: v.optional(v.nullable(VStringMax(
|
|
44
|
-
media_platforms:
|
|
45
|
-
media_creative_formats:
|
|
45
|
+
description: v.optional(v.nullable(VStringMax())),
|
|
46
|
+
media_platforms: SAssociateManyEntitiesOptional,
|
|
47
|
+
media_creative_formats: SAssociateManyEntitiesOptional
|
|
46
48
|
});
|
|
47
49
|
const UpdateMediaContentTypeDocument = v.object({
|
|
48
|
-
title: v.optional(VStringMinMax(
|
|
49
|
-
slug: v.optional(
|
|
50
|
+
title: v.optional(VStringMinMax()),
|
|
51
|
+
slug: v.optional(VStringSlug()),
|
|
50
52
|
is_active: v.optional(v.boolean()),
|
|
51
53
|
is_organic_social: v.optional(v.boolean()),
|
|
52
54
|
is_paid_media: v.optional(v.boolean()),
|
|
53
|
-
description: v.optional(v.nullable(VStringMax(
|
|
54
|
-
media_platforms:
|
|
55
|
-
media_creative_formats:
|
|
55
|
+
description: v.optional(v.nullable(VStringMax())),
|
|
56
|
+
media_platforms: SAssociateManyEntitiesOptional,
|
|
57
|
+
media_creative_formats: SAssociateManyEntitiesOptional
|
|
56
58
|
});
|
|
57
59
|
const UpdateMediaContentTypeDocumentRequest = v.object({
|
|
58
60
|
documentId: SAssociateOneEntity,
|