@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,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Yn as PermissionDocument } from "../../index-C1GoH-4v.cjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Yn as PermissionDocument } from "../../index-ClQOYhKi.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as PermissionDocument } from "../../document-BWso8VC7.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-DwkycUz9.cjs");
|
|
3
3
|
exports.ROLE_TYPES = require_document.ROLE_TYPES;
|
|
4
4
|
exports.RoleDocument = require_document.RoleDocument;
|
|
5
5
|
exports.RoleType = require_document.RoleType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { In as RoleDocument, Ln as RoleType } from "../../index-C1GoH-4v.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/up-role/constants.d.ts
|
|
4
4
|
declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { In as RoleDocument, Ln as RoleType } from "../../index-ClQOYhKi.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/up-role/constants.d.ts
|
|
4
4
|
declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ROLE_TYPES, S as RoleType, x as RoleDocument } from "../../document-BWso8VC7.mjs";
|
|
2
2
|
export { ROLE_TYPES, RoleDocument, RoleType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-DwkycUz9.cjs");
|
|
3
3
|
exports.CreateUserDocument = require_document.CreateUserDocument;
|
|
4
4
|
exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = require_document.LIMIT_USER_PAGINATION_DEFAULT_SIZE;
|
|
5
5
|
exports.LIMIT_USER_PAGINATION_MAX_SIZE = require_document.LIMIT_USER_PAGINATION_MAX_SIZE;
|
|
@@ -8,3 +8,4 @@ exports.QueryStrapiUsers = require_document.QueryStrapiUsers;
|
|
|
8
8
|
exports.QueryStrapiUsersByIdentifier = require_document.QueryStrapiUsersByIdentifier;
|
|
9
9
|
exports.USER_SORT_KEYS = require_document.USER_SORT_KEYS;
|
|
10
10
|
exports.UserDocument = require_document.UserDocument;
|
|
11
|
+
exports.ValidUsername = require_document.ValidUsername;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
|
|
1
|
+
import { Gn as ValidUsername, Hn as QueryStrapiUsersByIdentifier, Jn as USER_SORT_KEYS, Kn as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Rn as UserDocument, Un as CreateUserDocument, Vn as QueryStrapiUsers, Wn as QuerySortUsers, qn as LIMIT_USER_PAGINATION_MAX_SIZE } from "../../index-C1GoH-4v.cjs";
|
|
2
|
+
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, ValidUsername };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
|
|
1
|
+
import { Gn as ValidUsername, Hn as QueryStrapiUsersByIdentifier, Jn as USER_SORT_KEYS, Kn as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Rn as UserDocument, Un as CreateUserDocument, Vn as QueryStrapiUsers, Wn as QuerySortUsers, qn as LIMIT_USER_PAGINATION_MAX_SIZE } from "../../index-ClQOYhKi.mjs";
|
|
2
|
+
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, ValidUsername };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
|
|
1
|
+
import { D as USER_SORT_KEYS, E as LIMIT_USER_PAGINATION_MAX_SIZE, T as LIMIT_USER_PAGINATION_DEFAULT_SIZE, _ as ValidUsername, g as QuerySortUsers, h as CreateUserDocument, m as QueryStrapiUsersByIdentifier, p as QueryStrapiUsers, v as UserDocument } from "../../document-BWso8VC7.mjs";
|
|
2
|
+
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, ValidUsername };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
require("../../
|
|
4
|
-
const
|
|
3
|
+
require("../../limits-CW6iJ7kB.cjs");
|
|
4
|
+
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
5
5
|
let valibot = require("valibot");
|
|
6
6
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
7
7
|
//#region src/entities/upload/fields.ts
|
|
@@ -13,20 +13,20 @@ const ValidFileUpload10MB = valibot.pipe(valibot.file(), valibot.minSize(1), val
|
|
|
13
13
|
*/
|
|
14
14
|
const CreateStrapiMediaUploadDocument = valibot.object({
|
|
15
15
|
files: ValidFileUpload10MB,
|
|
16
|
-
ref:
|
|
17
|
-
refId:
|
|
18
|
-
field:
|
|
16
|
+
ref: require_string.VStringMax(),
|
|
17
|
+
refId: require_string.VStringMinMax(),
|
|
18
|
+
field: require_string.VStringMax()
|
|
19
19
|
});
|
|
20
20
|
const CreateMultipleStrapiMediaUploadDocument = valibot.object({
|
|
21
21
|
files: valibot.pipe(valibot.array(ValidFileUpload10MB), valibot.minLength(1)),
|
|
22
|
-
ref:
|
|
23
|
-
refId:
|
|
24
|
-
field:
|
|
22
|
+
ref: require_string.VStringMax(),
|
|
23
|
+
refId: require_string.VStringMinMax(),
|
|
24
|
+
field: require_string.VStringMax()
|
|
25
25
|
});
|
|
26
26
|
const UpdateStrapiMediaFileInfo = valibot.object({
|
|
27
|
-
name:
|
|
28
|
-
alternativeText: valibot.optional(
|
|
29
|
-
caption: valibot.optional(
|
|
27
|
+
name: require_string.VStringMinMax(),
|
|
28
|
+
alternativeText: valibot.optional(require_string.VStringMinMax()),
|
|
29
|
+
caption: valibot.optional(require_string.VStringMinMax())
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
exports.CreateMultipleStrapiMediaUploadDocument = CreateMultipleStrapiMediaUploadDocument;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import {
|
|
1
|
+
import "../../limits-CKGuEuKA.mjs";
|
|
2
|
+
import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
//#region src/entities/upload/fields.ts
|
|
5
5
|
const ValidFileUpload10MB = v.pipe(v.file(), v.minSize(1), v.maxSize(10485760, `File size cannot exceed 10MB.`));
|
|
@@ -11,19 +11,19 @@ const ValidFileUpload10MB = v.pipe(v.file(), v.minSize(1), v.maxSize(10485760, `
|
|
|
11
11
|
const CreateStrapiMediaUploadDocument = v.object({
|
|
12
12
|
files: ValidFileUpload10MB,
|
|
13
13
|
ref: VStringMax(),
|
|
14
|
-
refId: VStringMinMax(
|
|
14
|
+
refId: VStringMinMax(),
|
|
15
15
|
field: VStringMax()
|
|
16
16
|
});
|
|
17
17
|
const CreateMultipleStrapiMediaUploadDocument = v.object({
|
|
18
18
|
files: v.pipe(v.array(ValidFileUpload10MB), v.minLength(1)),
|
|
19
19
|
ref: VStringMax(),
|
|
20
|
-
refId: VStringMinMax(
|
|
20
|
+
refId: VStringMinMax(),
|
|
21
21
|
field: VStringMax()
|
|
22
22
|
});
|
|
23
23
|
const UpdateStrapiMediaFileInfo = v.object({
|
|
24
|
-
name: VStringMinMax(
|
|
25
|
-
alternativeText: v.optional(VStringMinMax(
|
|
26
|
-
caption: v.optional(VStringMinMax(
|
|
24
|
+
name: VStringMinMax(),
|
|
25
|
+
alternativeText: v.optional(VStringMinMax()),
|
|
26
|
+
caption: v.optional(VStringMinMax())
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CreateMultipleStrapiMediaUploadDocument, CreateStrapiMediaUploadDocument, UpdateStrapiMediaFileInfo, ValidFileUpload10MB };
|
|
@@ -1,8 +1,9 @@
|
|
|
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
|
-
require("../../
|
|
5
|
-
const
|
|
4
|
+
require("../../limits-CW6iJ7kB.cjs");
|
|
5
|
+
const require_pagination = require("../../pagination-DWZDPzR4.cjs");
|
|
6
|
+
const require_sort = require("../../sort-CI87SH1y.cjs");
|
|
6
7
|
let valibot = require("valibot");
|
|
7
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
9
|
//#region src/entities/url-redirect/constants.ts
|
|
@@ -34,7 +35,7 @@ const URL_REDIRECT_SORT_KEYS = [
|
|
|
34
35
|
//#region src/entities/url-redirect/fields.ts
|
|
35
36
|
const UrlRedirectStatusCode = valibot.picklist(URL_REDIRECT_STATUS_CODES);
|
|
36
37
|
const UrlRedirectQueryParams = valibot.picklist(URL_REDIRECT_QUERY_PARAMS);
|
|
37
|
-
const QuerySortUrlRedirects =
|
|
38
|
+
const QuerySortUrlRedirects = require_sort.createQuerySort(URL_REDIRECT_SORT_KEYS);
|
|
38
39
|
//#endregion
|
|
39
40
|
//#region src/entities/url-redirect/document.ts
|
|
40
41
|
const UrlRedirectDocument = valibot.object({
|
|
@@ -48,7 +49,7 @@ const UrlRedirectDocument = valibot.object({
|
|
|
48
49
|
//#endregion
|
|
49
50
|
//#region src/entities/url-redirect/query.ts
|
|
50
51
|
const QueryStrapiPaginatedUrlRedirects = valibot.object({
|
|
51
|
-
page: valibot.fallback(valibot.optional(
|
|
52
|
+
page: valibot.fallback(valibot.optional(require_pagination.VPage(), 1), 1),
|
|
52
53
|
size: valibot.fallback(valibot.optional(valibot.pipe(valibot.number(), valibot.minValue(1), valibot.maxValue(LIMIT_REDIRECT_PAGINATION_MAX_SIZE)), 100), 100),
|
|
53
54
|
sort: QuerySortUrlRedirects
|
|
54
55
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Z as QuerySortOutput } from "../../index-D7QXaSOY.cjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/url-redirect/constants.d.ts
|
|
@@ -27,14 +28,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
|
|
|
27
28
|
type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
|
|
28
29
|
declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
|
|
29
30
|
type UrlRedirectQueryParams = v.InferOutput<typeof UrlRedirectQueryParams>;
|
|
30
|
-
declare const QuerySortUrlRedirects: v.
|
|
31
|
+
declare const QuerySortUrlRedirects: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
|
|
31
32
|
type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
|
|
32
33
|
//#endregion
|
|
33
34
|
//#region src/entities/url-redirect/query.d.ts
|
|
34
35
|
declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
|
|
35
36
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
|
|
36
37
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, 100>, 100>;
|
|
37
|
-
readonly sort: v.
|
|
38
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
|
|
38
39
|
}, undefined>;
|
|
39
40
|
type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
|
|
40
41
|
declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Z as QuerySortOutput } from "../../index-Bjjp-2Sa.mjs";
|
|
1
2
|
import * as v from "valibot";
|
|
2
3
|
|
|
3
4
|
//#region src/entities/url-redirect/constants.d.ts
|
|
@@ -27,14 +28,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
|
|
|
27
28
|
type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
|
|
28
29
|
declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
|
|
29
30
|
type UrlRedirectQueryParams = v.InferOutput<typeof UrlRedirectQueryParams>;
|
|
30
|
-
declare const QuerySortUrlRedirects: v.
|
|
31
|
+
declare const QuerySortUrlRedirects: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
|
|
31
32
|
type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
|
|
32
33
|
//#endregion
|
|
33
34
|
//#region src/entities/url-redirect/query.d.ts
|
|
34
35
|
declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
|
|
35
36
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
|
|
36
37
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, 100>, 100>;
|
|
37
|
-
readonly sort: v.
|
|
38
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
|
|
38
39
|
}, undefined>;
|
|
39
40
|
type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
|
|
40
41
|
declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
|
-
import "../../
|
|
3
|
-
import {
|
|
2
|
+
import "../../limits-CKGuEuKA.mjs";
|
|
3
|
+
import { t as VPage } from "../../pagination-D5l_UjyM.mjs";
|
|
4
|
+
import { r as createQuerySort } from "../../sort-D3WwshqQ.mjs";
|
|
4
5
|
import * as v from "valibot";
|
|
5
6
|
//#region src/entities/url-redirect/constants.ts
|
|
6
7
|
const LIMIT_REDIRECT_PAGINATION_DEFAULT_SIZE = 100;
|
|
@@ -31,7 +32,7 @@ const URL_REDIRECT_SORT_KEYS = [
|
|
|
31
32
|
//#region src/entities/url-redirect/fields.ts
|
|
32
33
|
const UrlRedirectStatusCode = v.picklist(URL_REDIRECT_STATUS_CODES);
|
|
33
34
|
const UrlRedirectQueryParams = v.picklist(URL_REDIRECT_QUERY_PARAMS);
|
|
34
|
-
const QuerySortUrlRedirects =
|
|
35
|
+
const QuerySortUrlRedirects = createQuerySort(URL_REDIRECT_SORT_KEYS);
|
|
35
36
|
//#endregion
|
|
36
37
|
//#region src/entities/url-redirect/document.ts
|
|
37
38
|
const UrlRedirectDocument = v.object({
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_query = require("../../query-
|
|
4
|
-
require("../../
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const require_document = require("../../document-DOVZwQRq.cjs");
|
|
3
|
+
const require_query = require("../../query-qQ_HLlxx.cjs");
|
|
4
|
+
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
5
|
+
const require_relationships = require("../../relationships-DjHwYd4r.cjs");
|
|
6
|
+
const require_document = require("../../document-DwkycUz9.cjs");
|
|
8
7
|
let valibot = require("valibot");
|
|
9
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
9
|
//#region src/entities/user-account/mutation.ts
|
|
11
10
|
const UpdateUserAccount = valibot.object({
|
|
12
11
|
documentId: require_relationships.SAssociateOneEntity,
|
|
13
|
-
first_name:
|
|
14
|
-
last_name:
|
|
15
|
-
preferred_name: valibot.nullable(
|
|
12
|
+
first_name: require_string.VStringMinMax(),
|
|
13
|
+
last_name: require_string.VStringMinMax(),
|
|
14
|
+
preferred_name: valibot.nullable(require_string.VStringMinMax())
|
|
16
15
|
});
|
|
17
16
|
const UpdateUserAccountFirstName = valibot.object({
|
|
18
17
|
documentId: require_relationships.SAssociateOneEntity,
|
|
19
|
-
first_name:
|
|
18
|
+
first_name: require_string.VStringMinMax()
|
|
20
19
|
});
|
|
21
20
|
const UpdateUserAccountLastName = valibot.object({
|
|
22
21
|
documentId: require_relationships.SAssociateOneEntity,
|
|
23
|
-
last_name:
|
|
22
|
+
last_name: require_string.VStringMinMax()
|
|
24
23
|
});
|
|
25
24
|
const UpdateUserAccountPreferredName = valibot.object({
|
|
26
25
|
documentId: require_relationships.SAssociateOneEntity,
|
|
27
|
-
preferred_name: valibot.nullable(
|
|
26
|
+
preferred_name: valibot.nullable(require_string.VStringMinMax())
|
|
28
27
|
});
|
|
29
28
|
//#endregion
|
|
30
29
|
//#region src/entities/user-account/query.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { H as QueryStrapiByDocumentId, W as QueryStrapiById } from "../../index-D7QXaSOY.cjs";
|
|
2
|
+
import { Bn as UserAccountDocument } from "../../index-C1GoH-4v.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/user-account/mutation.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { H as QueryStrapiByDocumentId, W as QueryStrapiById } from "../../index-Bjjp-2Sa.mjs";
|
|
2
|
+
import { Bn as UserAccountDocument } from "../../index-ClQOYhKi.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/entities/user-account/mutation.d.ts
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-
|
|
2
|
-
import "../../
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { y as UserAccountDocument } from "../../document-kvIqz0p6.mjs";
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-BR5Ze6T2.mjs";
|
|
2
|
+
import { a as VStringMinMax } from "../../string-BHHnD2Qu.mjs";
|
|
3
|
+
import { o as SAssociateOneEntity } from "../../relationships-yPO5SILR.mjs";
|
|
4
|
+
import { b as UserAccountDocument } from "../../document-BWso8VC7.mjs";
|
|
6
5
|
import * as v from "valibot";
|
|
7
6
|
//#region src/entities/user-account/mutation.ts
|
|
8
7
|
const UpdateUserAccount = v.object({
|
|
9
8
|
documentId: SAssociateOneEntity,
|
|
10
|
-
first_name: VStringMinMax(
|
|
11
|
-
last_name: VStringMinMax(
|
|
12
|
-
preferred_name: v.nullable(VStringMinMax(
|
|
9
|
+
first_name: VStringMinMax(),
|
|
10
|
+
last_name: VStringMinMax(),
|
|
11
|
+
preferred_name: v.nullable(VStringMinMax())
|
|
13
12
|
});
|
|
14
13
|
const UpdateUserAccountFirstName = v.object({
|
|
15
14
|
documentId: SAssociateOneEntity,
|
|
16
|
-
first_name: VStringMinMax(
|
|
15
|
+
first_name: VStringMinMax()
|
|
17
16
|
});
|
|
18
17
|
const UpdateUserAccountLastName = v.object({
|
|
19
18
|
documentId: SAssociateOneEntity,
|
|
20
|
-
last_name: VStringMinMax(
|
|
19
|
+
last_name: VStringMinMax()
|
|
21
20
|
});
|
|
22
21
|
const UpdateUserAccountPreferredName = v.object({
|
|
23
22
|
documentId: SAssociateOneEntity,
|
|
24
|
-
preferred_name: v.nullable(VStringMinMax(
|
|
23
|
+
preferred_name: v.nullable(VStringMinMax())
|
|
25
24
|
});
|
|
26
25
|
//#endregion
|
|
27
26
|
//#region src/entities/user-account/query.ts
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const require_relationships = require("../../relationships-
|
|
3
|
+
require("../../limits-CW6iJ7kB.cjs");
|
|
4
|
+
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
5
|
+
const require_relationships = require("../../relationships-DjHwYd4r.cjs");
|
|
6
|
+
const require_number = require("../../number-Bt4nZKCU.cjs");
|
|
7
|
+
const require_utm = require("../../utm-BqkYlpua.cjs");
|
|
6
8
|
let valibot = require("valibot");
|
|
7
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
10
|
//#region src/entities/utm-link-builder/constants.ts
|
|
@@ -19,63 +21,55 @@ const UtmLinkBuilderPartCampaignDate = valibot.picklist(UTM_LINK_BUILDER_PART_CA
|
|
|
19
21
|
//#endregion
|
|
20
22
|
//#region src/entities/utm-link-builder/mutation.ts
|
|
21
23
|
const SUtmLinkBuilderCampaign = valibot.object({
|
|
22
|
-
campaign_phase:
|
|
23
|
-
campaign_product: valibot.optional(
|
|
24
|
-
campaign_targeting: valibot.optional(valibot.pipe(valibot.array(
|
|
25
|
-
campaign_key: valibot.optional(
|
|
24
|
+
campaign_phase: require_string.VStringMinMax(),
|
|
25
|
+
campaign_product: valibot.optional(require_string.VStringMax()),
|
|
26
|
+
campaign_targeting: valibot.optional(valibot.pipe(valibot.array(require_utm.VStringUtmKey()), valibot.maxLength(10))),
|
|
27
|
+
campaign_key: valibot.optional(require_utm.VStringUtmKey()),
|
|
26
28
|
campaign_date: valibot.object({
|
|
27
29
|
format: UtmLinkBuilderPartCampaignDate,
|
|
28
30
|
value: valibot.object({
|
|
29
31
|
year: valibot.number(),
|
|
30
|
-
quarter:
|
|
31
|
-
month:
|
|
32
|
-
day:
|
|
32
|
+
quarter: require_number.VIntegerNullable(),
|
|
33
|
+
month: require_number.VIntegerNullable(),
|
|
34
|
+
day: require_number.VIntegerNullable()
|
|
33
35
|
})
|
|
34
36
|
})
|
|
35
37
|
});
|
|
36
38
|
const SUtmLinkBuilderCreativeFormat = valibot.object({
|
|
37
|
-
creative_format: valibot.optional(
|
|
38
|
-
creative_format_variants: valibot.optional(valibot.array(
|
|
39
|
+
creative_format: valibot.optional(require_string.VStringMax()),
|
|
40
|
+
creative_format_variants: valibot.optional(valibot.array(require_string.VStringMax())),
|
|
39
41
|
creative_size: valibot.optional(valibot.object({
|
|
40
|
-
width:
|
|
41
|
-
height:
|
|
42
|
-
key: valibot.optional(
|
|
42
|
+
width: require_number.VIntegerNullable(),
|
|
43
|
+
height: require_number.VIntegerNullable(),
|
|
44
|
+
key: valibot.optional(require_string.VStringMax())
|
|
43
45
|
}))
|
|
44
46
|
});
|
|
45
47
|
const SUtmLinkBuilderTableForm = valibot.object({
|
|
46
48
|
creator: require_relationships.SAssociateOneEntity,
|
|
47
49
|
client: require_relationships.SAssociateOneEntity,
|
|
48
50
|
variants: valibot.pipe(valibot.array(valibot.object({
|
|
49
|
-
url_destinations: valibot.pipe(valibot.array(valibot.object({ url:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}, require_regex.ERROR_MESSAGE_URL_NO_QUERY_PARAMS)) })), valibot.minLength(1), valibot.maxLength(100)),
|
|
53
|
-
source: require_validators.VStringMax(255),
|
|
54
|
-
mediums: valibot.pipe(valibot.array(require_validators.VStringMax(255)), valibot.minLength(1), valibot.maxLength(10)),
|
|
51
|
+
url_destinations: valibot.pipe(valibot.array(valibot.object({ url: require_utm.VStringUrlNoUtm() })), valibot.minLength(1), valibot.maxLength(100)),
|
|
52
|
+
source: require_string.VStringMax(),
|
|
53
|
+
mediums: valibot.pipe(valibot.array(require_string.VStringMax()), valibot.minLength(1), valibot.maxLength(10)),
|
|
55
54
|
campaign: SUtmLinkBuilderCampaign,
|
|
56
|
-
content: valibot.optional(
|
|
55
|
+
content: valibot.optional(require_string.VStringMax()),
|
|
57
56
|
creative_formats: valibot.optional(valibot.pipe(valibot.array(SUtmLinkBuilderCreativeFormat), valibot.maxLength(10))),
|
|
58
|
-
id: valibot.optional(
|
|
57
|
+
id: valibot.optional(require_string.VStringMinMax())
|
|
59
58
|
})), valibot.minLength(1), valibot.maxLength(10)),
|
|
60
|
-
notes: valibot.optional(
|
|
59
|
+
notes: valibot.optional(require_string.VStringMax())
|
|
61
60
|
});
|
|
62
61
|
const SUtmLinkBuilderSingleForm = valibot.object({
|
|
63
62
|
creator: require_relationships.SAssociateOneEntity,
|
|
64
63
|
client: require_relationships.SAssociateOneEntity,
|
|
65
|
-
url_destination:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}, require_regex.ERROR_MESSAGE_URL_NO_QUERY_PARAMS)),
|
|
69
|
-
source: require_validators.VStringMax(255),
|
|
70
|
-
medium: require_validators.VStringMax(255),
|
|
64
|
+
url_destination: require_utm.VStringUrlNoUtm(),
|
|
65
|
+
source: require_string.VStringMax(),
|
|
66
|
+
medium: require_string.VStringMax(),
|
|
71
67
|
campaign: SUtmLinkBuilderCampaign,
|
|
72
|
-
content: valibot.optional(
|
|
68
|
+
content: valibot.optional(require_string.VStringMax()),
|
|
73
69
|
creative_format: valibot.optional(SUtmLinkBuilderCreativeFormat),
|
|
74
|
-
id: valibot.optional(
|
|
75
|
-
url:
|
|
76
|
-
|
|
77
|
-
}, require_regex.ERROR_MESSAGE_UTM_URL)),
|
|
78
|
-
notes: valibot.optional(require_validators.VStringMax())
|
|
70
|
+
id: valibot.optional(require_string.VStringMinMax()),
|
|
71
|
+
url: require_utm.VStringUrlUtm(),
|
|
72
|
+
notes: valibot.optional(require_string.VStringMax())
|
|
79
73
|
});
|
|
80
74
|
//#endregion
|
|
81
75
|
exports.SUtmLinkBuilderCampaign = SUtmLinkBuilderCampaign;
|
|
@@ -8,8 +8,8 @@ type SUtmLinkBuilderPartCampaignDateValue = (typeof UTM_LINK_BUILDER_PART_CAMPAI
|
|
|
8
8
|
declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
|
|
9
9
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
10
10
|
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
-
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
12
|
-
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
11
|
+
readonly campaign_targeting: 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>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
12
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
13
13
|
readonly campaign_date: v.ObjectSchema<{
|
|
14
14
|
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
15
15
|
readonly value: v.ObjectSchema<{
|
|
@@ -47,8 +47,8 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
47
47
|
readonly campaign: v.ObjectSchema<{
|
|
48
48
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
49
49
|
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
|
-
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
51
|
-
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
50
|
+
readonly campaign_targeting: 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>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
51
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
52
52
|
readonly campaign_date: v.ObjectSchema<{
|
|
53
53
|
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
54
54
|
readonly value: v.ObjectSchema<{
|
|
@@ -157,8 +157,8 @@ declare const SUtmLinkBuilderSingleForm: v.ObjectSchema<{
|
|
|
157
157
|
readonly campaign: v.ObjectSchema<{
|
|
158
158
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
159
159
|
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
160
|
-
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
161
|
-
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
160
|
+
readonly campaign_targeting: 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>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
161
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
162
162
|
readonly campaign_date: v.ObjectSchema<{
|
|
163
163
|
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
164
164
|
readonly value: v.ObjectSchema<{
|
|
@@ -8,8 +8,8 @@ type SUtmLinkBuilderPartCampaignDateValue = (typeof UTM_LINK_BUILDER_PART_CAMPAI
|
|
|
8
8
|
declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
|
|
9
9
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
10
10
|
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
-
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
12
|
-
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
11
|
+
readonly campaign_targeting: 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>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
12
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
13
13
|
readonly campaign_date: v.ObjectSchema<{
|
|
14
14
|
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
15
15
|
readonly value: v.ObjectSchema<{
|
|
@@ -47,8 +47,8 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
47
47
|
readonly campaign: v.ObjectSchema<{
|
|
48
48
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
49
49
|
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
50
|
-
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
51
|
-
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
50
|
+
readonly campaign_targeting: 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>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
51
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
52
52
|
readonly campaign_date: v.ObjectSchema<{
|
|
53
53
|
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
54
54
|
readonly value: v.ObjectSchema<{
|
|
@@ -157,8 +157,8 @@ declare const SUtmLinkBuilderSingleForm: v.ObjectSchema<{
|
|
|
157
157
|
readonly campaign: v.ObjectSchema<{
|
|
158
158
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
159
159
|
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
160
|
-
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
161
|
-
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
160
|
+
readonly campaign_targeting: 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>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
161
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
162
162
|
readonly campaign_date: v.ObjectSchema<{
|
|
163
163
|
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
164
164
|
readonly value: v.ObjectSchema<{
|