@getcommunity/gc-validators 0.0.271-alpha.3 → 0.0.271-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.d.mts +4 -4
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/components/utm/index.cjs +3 -3
- package/dist/components/utm/index.d.cts +5 -5
- package/dist/components/utm/index.d.mts +5 -5
- package/dist/components/utm/index.mjs +3 -3
- package/dist/{document-CIAPAAjK.d.mts → document-DsT_qkhs.d.mts} +17 -17
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +65 -11
- package/dist/entities/blog-post/index.d.cts +707 -3
- package/dist/entities/blog-post/index.d.mts +708 -4
- package/dist/entities/blog-post/index.mjs +55 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +1 -3
- package/dist/entities/category/index.d.cts +2 -248
- package/dist/entities/category/index.d.mts +2 -248
- package/dist/entities/category/index.mjs +1 -3
- package/dist/entities/client/index.cjs +1 -1
- package/dist/entities/client/index.d.cts +2 -2
- package/dist/entities/client/index.d.mts +3 -3
- package/dist/entities/client/index.mjs +1 -1
- package/dist/entities/client-content-pillar/index.cjs +2 -2
- package/dist/entities/client-content-pillar/index.d.mts +1 -1
- package/dist/entities/client-content-pillar/index.mjs +2 -2
- package/dist/entities/client-media-platform/index.d.mts +1 -1
- package/dist/entities/client-project/index.d.cts +2 -2
- package/dist/entities/client-project/index.d.mts +3 -3
- package/dist/entities/client-report/index.d.mts +1 -1
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +1 -1
- package/dist/entities/content-pillar/index.d.cts +2 -2
- package/dist/entities/content-pillar/index.d.mts +3 -3
- package/dist/entities/content-pillar/index.mjs +1 -1
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.d.cts +2 -2
- package/dist/entities/gcflytour/index.d.mts +3 -3
- package/dist/entities/gcflytour-snap/index.d.cts +2 -2
- package/dist/entities/gcflytour-snap/index.d.mts +3 -3
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.d.cts +2 -2
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.d.cts +2 -2
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-medium/index.d.cts +2 -2
- package/dist/entities/media-medium/index.d.mts +2 -2
- package/dist/entities/media-platform/index.d.cts +2 -2
- package/dist/entities/media-platform/index.d.mts +3 -3
- package/dist/entities/monday-workspace/index.d.cts +2 -2
- package/dist/entities/monday-workspace/index.d.mts +3 -3
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/tag/index.d.cts +2 -2
- package/dist/entities/tag/index.d.mts +2 -2
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.mjs +1 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +1 -1
- package/dist/entities/trend/index.mjs +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-role/index.d.mts +2 -2
- package/dist/entities/up-user/index.d.mts +1 -1
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/utm-meta/index.d.cts +7 -7
- package/dist/entities/utm-meta/index.d.mts +7 -7
- package/dist/{index-r0hGcq70.d.mts → index-BI8tN-QZ.d.mts} +3 -3
- package/dist/{index-BL9VfVD4.d.mts → index-Bht1Jd5l.d.mts} +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/utilities/index.d.mts +4 -4
- package/package.json +1 -1
- package/dist/document-Coz4Rm8I.cjs +0 -103
- package/dist/document-DiOskbh3.mjs +0 -54
- /package/dist/{document-TK2UUOF9.d.mts → document-BAzLIprH.d.mts} +0 -0
- /package/dist/{document-W-NILXQV.d.mts → document-BNoXPGwF.d.mts} +0 -0
- /package/dist/{document-DCIBlMpe.d.mts → document-B_pJW777.d.mts} +0 -0
- /package/dist/{document-CQ9bUL-1.d.mts → document-Bd2AyLs8.d.mts} +0 -0
- /package/dist/{document-DSUxqMD4.d.mts → document-Bo869pZx.d.mts} +0 -0
- /package/dist/{document-D7nCeVSn.d.mts → document-Bpr9mbCs.d.mts} +0 -0
- /package/dist/{document-DAnzPqTm.d.mts → document-C0c7azOe.d.mts} +0 -0
- /package/dist/{document-C21JZnEl.mjs → document-CTTDXzOF.mjs} +0 -0
- /package/dist/{document-COaupB1r.mjs → document-CUl_Ys6-.mjs} +0 -0
- /package/dist/{document-BVPXeweR.cjs → document-Ccszj8lR.cjs} +0 -0
- /package/dist/{document-Bpgteig6.mjs → document-Cu_HUDC5.mjs} +0 -0
- /package/dist/{document-DmZ3XRi8.d.mts → document-D2nLVGig.d.mts} +0 -0
- /package/dist/{document-6ONY7xJm.d.mts → document-D5yDIDIx.d.mts} +0 -0
- /package/dist/{document-gwpNlSBm.d.mts → document-DMHIUE3J.d.mts} +0 -0
- /package/dist/{document-DCtr8pVh.d.mts → document-DYzRVV1C.d.mts} +0 -0
- /package/dist/{document-DgQnMgCD.d.mts → document-DeoRGh7p.d.mts} +0 -0
- /package/dist/{document-2o5WNt6V.cjs → document-DsIPBTG8.cjs} +0 -0
- /package/dist/{document-DgG9DIT2.cjs → document-DsSaMVGb.cjs} +0 -0
- /package/dist/{document-B0j6d1nH.d.mts → document-Gx2Vrg_w.d.mts} +0 -0
- /package/dist/{document-Bh0a7Y8h.d.mts → document-WHS8GHY5.d.mts} +0 -0
- /package/dist/{document-CsGd8QmZ.d.mts → document-si7GYS5g.d.mts} +0 -0
- /package/dist/{document-Db-z1nIm.d.mts → document-vq-7rcU5.d.mts} +0 -0
- /package/dist/{fields-DUuJ_1V0.d.mts → fields-qx-5saY5.d.mts} +0 -0
- /package/dist/{index-Bwlq5D5d.d.mts → index-BIWFngsB.d.mts} +0 -0
- /package/dist/{json-CiA5ZRzc.d.mts → json-CqAaKeHA.d.mts} +0 -0
- /package/dist/{query.schema-oOG7BmVm.d.mts → query.schema-BOn5Kk_p.d.mts} +0 -0
- /package/dist/{response-I41vWpVZ.d.mts → response-C-7nyNVD.d.mts} +0 -0
package/dist/base/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as MediaFormat, A as StrapiBgColorOptions, B as ValidStrapiSingleEntity, C as STRAPI_DIRECTION, D as STRAPI_LINK_TYPE, E as STRAPI_ICON_POSITION, F as StrapiLinkType, G as SAssociateEntityPositionDocumentRequest, H as ENTITY_SORT_KEYS, I as StrapiTextColorOptions, J as SAssociateOneEntity, K as SAssociateEntityRelationshipRequest, L as StrapiThemeOptions, M as StrapiGapSizes, N as StrapiIconName, O as STRAPI_TEXT_COLOR_OPTIONS, P as StrapiIconPosition, Q as QueryStrapiPaginated, R as ContentStatus, S as STRAPI_BG_COLOR_OPTIONS, St as BaseComponentId, T as STRAPI_ICON_NAME, U as QuerySortEntities, V as ValidStrapiSpecialEntity, W as SAssociateEntityPosition, X as SQueryManyEntities, Y as SEntityPosition, Z as SSetEntityRelationshipRequest, _ as VStringSlug, _t as WebSafeFontMono, a as VString, at as StrapiLinkReferrerPolicy, b as VStringUrlNullable, bt as BaseDocument, c as VStringLongNullable, ct as FormSelectInputOption, d as VStringMinMax, dt as WEBSAFE_FONT_DISPLAY, et as MediaFormats, f as VStringMinMaxRegex, ft as WEBSAFE_FONT_MONO, g as VStringShortNullable, gt as WebSafeFontDisplay, h as VStringShort, ht as WebSafeFont, i as VSize, it as STRAPI_LINK_TARGET, j as StrapiDirection, k as STRAPI_THEME_OPTIONS, l as VStringMax, lt as FONT_HEADER_SIZE, m as VStringPhoneNullable, mt as WEBSAFE_FONT_SERIF, n as VNumberNullable, nt as STRAPI_LINK_REFERRER_POLICY, o as VStringEmail, ot as StrapiLinkRel, p as VStringPhone, pt as WEBSAFE_FONT_SANS, q as SAssociateManyEntities, r as VPage, rt as STRAPI_LINK_REL, s as VStringLong, st as StrapiLinkTarget, t as VIntegerNullable, tt as MediaUploadDocument, u as VStringMaxRegex, ut as FontHeaderSize, v as VStringUrl, vt as WebSafeFontSans, w as STRAPI_GAP_SIZES, x as VStringUrlUtm, xt as BaseComponent, y as VStringUrlNoUtm, yt as WebSafeFontSerif, z as ValidStrapiCollectionEntity } from "../index-
|
|
2
|
-
import { n as JsonSchema, t as JsonData } from "../json-
|
|
3
|
-
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../query.schema-
|
|
4
|
-
import { a as StrapiErrorResponse, c as StrapiPagination, d as StrapiSingleResponse, i as StrapiErrorDetail, l as StrapiResponseMeta, n as StrapiAttributeErrorKey, o as StrapiErrorResult, r as StrapiAttributeErrorResponse, s as StrapiListResponse, t as StrapiAttributeErrorDetail, u as StrapiResponseMetaWithPagination } from "../response-
|
|
1
|
+
import { $ as MediaFormat, A as StrapiBgColorOptions, B as ValidStrapiSingleEntity, C as STRAPI_DIRECTION, D as STRAPI_LINK_TYPE, E as STRAPI_ICON_POSITION, F as StrapiLinkType, G as SAssociateEntityPositionDocumentRequest, H as ENTITY_SORT_KEYS, I as StrapiTextColorOptions, J as SAssociateOneEntity, K as SAssociateEntityRelationshipRequest, L as StrapiThemeOptions, M as StrapiGapSizes, N as StrapiIconName, O as STRAPI_TEXT_COLOR_OPTIONS, P as StrapiIconPosition, Q as QueryStrapiPaginated, R as ContentStatus, S as STRAPI_BG_COLOR_OPTIONS, St as BaseComponentId, T as STRAPI_ICON_NAME, U as QuerySortEntities, V as ValidStrapiSpecialEntity, W as SAssociateEntityPosition, X as SQueryManyEntities, Y as SEntityPosition, Z as SSetEntityRelationshipRequest, _ as VStringSlug, _t as WebSafeFontMono, a as VString, at as StrapiLinkReferrerPolicy, b as VStringUrlNullable, bt as BaseDocument, c as VStringLongNullable, ct as FormSelectInputOption, d as VStringMinMax, dt as WEBSAFE_FONT_DISPLAY, et as MediaFormats, f as VStringMinMaxRegex, ft as WEBSAFE_FONT_MONO, g as VStringShortNullable, gt as WebSafeFontDisplay, h as VStringShort, ht as WebSafeFont, i as VSize, it as STRAPI_LINK_TARGET, j as StrapiDirection, k as STRAPI_THEME_OPTIONS, l as VStringMax, lt as FONT_HEADER_SIZE, m as VStringPhoneNullable, mt as WEBSAFE_FONT_SERIF, n as VNumberNullable, nt as STRAPI_LINK_REFERRER_POLICY, o as VStringEmail, ot as StrapiLinkRel, p as VStringPhone, pt as WEBSAFE_FONT_SANS, q as SAssociateManyEntities, r as VPage, rt as STRAPI_LINK_REL, s as VStringLong, st as StrapiLinkTarget, t as VIntegerNullable, tt as MediaUploadDocument, u as VStringMaxRegex, ut as FontHeaderSize, v as VStringUrl, vt as WebSafeFontSans, w as STRAPI_GAP_SIZES, x as VStringUrlUtm, xt as BaseComponent, y as VStringUrlNoUtm, yt as WebSafeFontSerif, z as ValidStrapiCollectionEntity } from "../index-Bht1Jd5l.mjs";
|
|
2
|
+
import { n as JsonSchema, t as JsonData } from "../json-CqAaKeHA.mjs";
|
|
3
|
+
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../query.schema-BOn5Kk_p.mjs";
|
|
4
|
+
import { a as StrapiErrorResponse, c as StrapiPagination, d as StrapiSingleResponse, i as StrapiErrorDetail, l as StrapiResponseMeta, n as StrapiAttributeErrorKey, o as StrapiErrorResult, r as StrapiAttributeErrorResponse, s as StrapiListResponse, t as StrapiAttributeErrorDetail, u as StrapiResponseMetaWithPagination } from "../response-C-7nyNVD.mjs";
|
|
5
5
|
export { BaseComponent, BaseComponentId, BaseDocument, ContentStatus, ENTITY_SORT_KEYS, FONT_HEADER_SIZE, FontHeaderSize, FormSelectInputOption, JsonData, JsonSchema, MediaFormat, MediaFormats, MediaUploadDocument, QuerySortEntities, QueryStrapiByDocumentId, QueryStrapiByEmail, QueryStrapiById, QueryStrapiByName, QueryStrapiByPhone, QueryStrapiBySlug, QueryStrapiPaginated, SAssociateEntityPosition, SAssociateEntityPositionDocumentRequest, SAssociateEntityRelationshipRequest, SAssociateManyEntities, SAssociateOneEntity, SEntityPosition, SQueryManyEntities, SSetEntityRelationshipRequest, STRAPI_BG_COLOR_OPTIONS, STRAPI_DIRECTION, STRAPI_GAP_SIZES, STRAPI_ICON_NAME, STRAPI_ICON_POSITION, STRAPI_LINK_REFERRER_POLICY, STRAPI_LINK_REL, STRAPI_LINK_TARGET, STRAPI_LINK_TYPE, STRAPI_TEXT_COLOR_OPTIONS, STRAPI_THEME_OPTIONS, StrapiAttributeErrorDetail, StrapiAttributeErrorKey, StrapiAttributeErrorResponse, StrapiBgColorOptions, StrapiDirection, StrapiErrorDetail, StrapiErrorResponse, StrapiErrorResult, StrapiGapSizes, StrapiIconName, StrapiIconPosition, StrapiLinkReferrerPolicy, StrapiLinkRel, StrapiLinkTarget, StrapiLinkType, StrapiListResponse, StrapiPagination, StrapiResponseMeta, StrapiResponseMetaWithPagination, StrapiSingleResponse, StrapiTextColorOptions, StrapiThemeOptions, VIntegerNullable, VNumberNullable, VPage, VSize, VString, VStringEmail, VStringLong, VStringLongNullable, VStringMax, VStringMaxRegex, VStringMinMax, VStringMinMaxRegex, VStringPhone, VStringPhoneNullable, VStringShort, VStringShortNullable, VStringSlug, VStringUrl, VStringUrlNoUtm, VStringUrlNullable, VStringUrlUtm, ValidStrapiCollectionEntity, ValidStrapiSingleEntity, ValidStrapiSpecialEntity, WEBSAFE_FONT_DISPLAY, WEBSAFE_FONT_MONO, WEBSAFE_FONT_SANS, WEBSAFE_FONT_SERIF, WebSafeFont, WebSafeFontDisplay, WebSafeFontMono, WebSafeFontSans, WebSafeFontSerif };
|
|
@@ -6,7 +6,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
6
6
|
//#region src/components/utm/utm-option.ts
|
|
7
7
|
const UTM_CLASSIFICATION_KEY = ["organic", "paid"];
|
|
8
8
|
const UtmClassificationKey = valibot.picklist(UTM_CLASSIFICATION_KEY);
|
|
9
|
-
const
|
|
9
|
+
const UTM_SOURCE_KEY = [
|
|
10
10
|
"all",
|
|
11
11
|
"meta",
|
|
12
12
|
"meta_facebook",
|
|
@@ -32,7 +32,7 @@ const UTM_KEY_SOURCE = [
|
|
|
32
32
|
"gcflytour",
|
|
33
33
|
"referral"
|
|
34
34
|
];
|
|
35
|
-
const UtmSourceKey = valibot.picklist(
|
|
35
|
+
const UtmSourceKey = valibot.picklist(UTM_SOURCE_KEY);
|
|
36
36
|
const UtmOption = valibot.object({
|
|
37
37
|
...require_component.BaseComponentId.entries,
|
|
38
38
|
label: valibot.string(),
|
|
@@ -49,7 +49,7 @@ const ComponentUtmOption = valibot.object({
|
|
|
49
49
|
//#endregion
|
|
50
50
|
exports.ComponentUtmOption = ComponentUtmOption;
|
|
51
51
|
exports.UTM_CLASSIFICATION_KEY = UTM_CLASSIFICATION_KEY;
|
|
52
|
-
exports.
|
|
52
|
+
exports.UTM_SOURCE_KEY = UTM_SOURCE_KEY;
|
|
53
53
|
exports.UtmClassificationKey = UtmClassificationKey;
|
|
54
54
|
exports.UtmOption = UtmOption;
|
|
55
55
|
exports.UtmSourceKey = UtmSourceKey;
|
|
@@ -4,8 +4,8 @@ import * as v from "valibot";
|
|
|
4
4
|
declare const UTM_CLASSIFICATION_KEY: readonly ["organic", "paid"];
|
|
5
5
|
declare const UtmClassificationKey: v.PicklistSchema<readonly ["organic", "paid"], undefined>;
|
|
6
6
|
type UtmClassificationKey = v.InferOutput<typeof UtmClassificationKey>;
|
|
7
|
-
declare const
|
|
8
|
-
declare const UtmSourceKey: v.PicklistSchema<readonly ["
|
|
7
|
+
declare const UTM_SOURCE_KEY: readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"];
|
|
8
|
+
declare const UtmSourceKey: v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>;
|
|
9
9
|
type UtmSourceKey = v.InferOutput<typeof UtmSourceKey>;
|
|
10
10
|
declare const UtmOption: v.ObjectSchema<{
|
|
11
11
|
readonly label: v.StringSchema<undefined>;
|
|
@@ -13,7 +13,7 @@ declare const UtmOption: v.ObjectSchema<{
|
|
|
13
13
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
14
14
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
15
15
|
readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
|
|
16
|
-
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["
|
|
16
|
+
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
|
|
17
17
|
readonly id: v.NumberSchema<undefined>;
|
|
18
18
|
}, undefined>;
|
|
19
19
|
type UtmOption = v.InferOutput<typeof UtmOption>;
|
|
@@ -23,10 +23,10 @@ declare const ComponentUtmOption: v.ObjectSchema<{
|
|
|
23
23
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
24
24
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
25
25
|
readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
|
|
26
|
-
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["
|
|
26
|
+
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
|
|
27
27
|
readonly id: v.NumberSchema<undefined>;
|
|
28
28
|
readonly __component: v.StringSchema<undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
type ComponentUtmOption = v.InferOutput<typeof ComponentUtmOption>;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { ComponentUtmOption, UTM_CLASSIFICATION_KEY,
|
|
32
|
+
export { ComponentUtmOption, UTM_CLASSIFICATION_KEY, UTM_SOURCE_KEY, UtmClassificationKey, UtmOption, UtmSourceKey };
|
|
@@ -4,8 +4,8 @@ import * as v from "valibot";
|
|
|
4
4
|
declare const UTM_CLASSIFICATION_KEY: readonly ["organic", "paid"];
|
|
5
5
|
declare const UtmClassificationKey: v.PicklistSchema<readonly ["organic", "paid"], undefined>;
|
|
6
6
|
type UtmClassificationKey = v.InferOutput<typeof UtmClassificationKey>;
|
|
7
|
-
declare const
|
|
8
|
-
declare const UtmSourceKey: v.PicklistSchema<readonly ["
|
|
7
|
+
declare const UTM_SOURCE_KEY: readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"];
|
|
8
|
+
declare const UtmSourceKey: v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>;
|
|
9
9
|
type UtmSourceKey = v.InferOutput<typeof UtmSourceKey>;
|
|
10
10
|
declare const UtmOption: v.ObjectSchema<{
|
|
11
11
|
readonly label: v.StringSchema<undefined>;
|
|
@@ -13,7 +13,7 @@ declare const UtmOption: v.ObjectSchema<{
|
|
|
13
13
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
14
14
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
15
15
|
readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
|
|
16
|
-
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["
|
|
16
|
+
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
|
|
17
17
|
readonly id: v.NumberSchema<undefined>;
|
|
18
18
|
}, undefined>;
|
|
19
19
|
type UtmOption = v.InferOutput<typeof UtmOption>;
|
|
@@ -23,10 +23,10 @@ declare const ComponentUtmOption: v.ObjectSchema<{
|
|
|
23
23
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
24
24
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
25
25
|
readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
|
|
26
|
-
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["
|
|
26
|
+
readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
|
|
27
27
|
readonly id: v.NumberSchema<undefined>;
|
|
28
28
|
readonly __component: v.StringSchema<undefined>;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
type ComponentUtmOption = v.InferOutput<typeof ComponentUtmOption>;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { ComponentUtmOption, UTM_CLASSIFICATION_KEY,
|
|
32
|
+
export { ComponentUtmOption, UTM_CLASSIFICATION_KEY, UTM_SOURCE_KEY, UtmClassificationKey, UtmOption, UtmSourceKey };
|
|
@@ -3,7 +3,7 @@ import * as v from "valibot";
|
|
|
3
3
|
//#region src/components/utm/utm-option.ts
|
|
4
4
|
const UTM_CLASSIFICATION_KEY = ["organic", "paid"];
|
|
5
5
|
const UtmClassificationKey = v.picklist(UTM_CLASSIFICATION_KEY);
|
|
6
|
-
const
|
|
6
|
+
const UTM_SOURCE_KEY = [
|
|
7
7
|
"all",
|
|
8
8
|
"meta",
|
|
9
9
|
"meta_facebook",
|
|
@@ -29,7 +29,7 @@ const UTM_KEY_SOURCE = [
|
|
|
29
29
|
"gcflytour",
|
|
30
30
|
"referral"
|
|
31
31
|
];
|
|
32
|
-
const UtmSourceKey = v.picklist(
|
|
32
|
+
const UtmSourceKey = v.picklist(UTM_SOURCE_KEY);
|
|
33
33
|
const UtmOption = v.object({
|
|
34
34
|
...BaseComponentId.entries,
|
|
35
35
|
label: v.string(),
|
|
@@ -44,4 +44,4 @@ const ComponentUtmOption = v.object({
|
|
|
44
44
|
...UtmOption.entries
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
|
-
export { ComponentUtmOption, UTM_CLASSIFICATION_KEY,
|
|
47
|
+
export { ComponentUtmOption, UTM_CLASSIFICATION_KEY, UTM_SOURCE_KEY, UtmClassificationKey, UtmOption, UtmSourceKey };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { t as ClientContentPillarDocument } from "./document-
|
|
2
|
-
import { t as ClientMediaPlatformDocument } from "./document-
|
|
3
|
-
import { t as ClientProjectDocument } from "./document-
|
|
4
|
-
import { t as ClientReportDocument } from "./document-
|
|
5
|
-
import { t as ClientStyleguideDocument } from "./document-
|
|
6
|
-
import { t as AuthorizedUserDocument } from "./index-
|
|
7
|
-
import { t as UserAccountDocument } from "./document-
|
|
8
|
-
import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-
|
|
9
|
-
import { t as ClientDocument } from "./document-
|
|
10
|
-
import { t as ContentPillarDocument } from "./document-
|
|
11
|
-
import { t as GCFlyTourSnapDocument } from "./document-
|
|
12
|
-
import { t as GCFlyTourDocument } from "./document-
|
|
13
|
-
import { t as MediaContentTypeDocument } from "./document-
|
|
14
|
-
import { t as MediaCreativeFormatDocument } from "./document-
|
|
15
|
-
import { t as MediaPlatformDocument } from "./document-
|
|
16
|
-
import { t as MondayWorkspaceDocument } from "./document-
|
|
17
|
-
import { t as RoleType } from "./fields-
|
|
1
|
+
import { t as ClientContentPillarDocument } from "./document-Gx2Vrg_w.mjs";
|
|
2
|
+
import { t as ClientMediaPlatformDocument } from "./document-D5yDIDIx.mjs";
|
|
3
|
+
import { t as ClientProjectDocument } from "./document-BAzLIprH.mjs";
|
|
4
|
+
import { t as ClientReportDocument } from "./document-DeoRGh7p.mjs";
|
|
5
|
+
import { t as ClientStyleguideDocument } from "./document-C0c7azOe.mjs";
|
|
6
|
+
import { t as AuthorizedUserDocument } from "./index-BI8tN-QZ.mjs";
|
|
7
|
+
import { t as UserAccountDocument } from "./document-Bd2AyLs8.mjs";
|
|
8
|
+
import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-BIWFngsB.mjs";
|
|
9
|
+
import { t as ClientDocument } from "./document-D2nLVGig.mjs";
|
|
10
|
+
import { t as ContentPillarDocument } from "./document-BNoXPGwF.mjs";
|
|
11
|
+
import { t as GCFlyTourSnapDocument } from "./document-WHS8GHY5.mjs";
|
|
12
|
+
import { t as GCFlyTourDocument } from "./document-Bo869pZx.mjs";
|
|
13
|
+
import { t as MediaContentTypeDocument } from "./document-B_pJW777.mjs";
|
|
14
|
+
import { t as MediaCreativeFormatDocument } from "./document-DMHIUE3J.mjs";
|
|
15
|
+
import { t as MediaPlatformDocument } from "./document-vq-7rcU5.mjs";
|
|
16
|
+
import { t as MondayWorkspaceDocument } from "./document-Bpr9mbCs.mjs";
|
|
17
|
+
import { t as RoleType } from "./fields-qx-5saY5.mjs";
|
|
18
18
|
import * as v from "valibot";
|
|
19
19
|
|
|
20
20
|
//#region src/permissions/constants.d.ts
|
|
@@ -35,7 +35,7 @@ declare const AuditLogDocument: v.ObjectSchema<{
|
|
|
35
35
|
type AuditLogDocument = v.InferOutput<typeof AuditLogDocument>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/entities/audit-log/fields.d.ts
|
|
38
|
-
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "
|
|
38
|
+
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
39
39
|
type QuerySortAuditLogs = v.InferOutput<typeof QuerySortAuditLogs>;
|
|
40
40
|
declare const AuditLogMethod: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
41
41
|
type AuditLogMethod = v.InferOutput<typeof AuditLogMethod>;
|
|
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
|
127
127
|
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
128
128
|
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
129
129
|
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
130
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "
|
|
130
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-
|
|
1
|
+
import { t as JsonData } from "../../json-CqAaKeHA.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/audit-log/constants.d.ts
|
|
@@ -35,7 +35,7 @@ declare const AuditLogDocument: v.ObjectSchema<{
|
|
|
35
35
|
type AuditLogDocument = v.InferOutput<typeof AuditLogDocument>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/entities/audit-log/fields.d.ts
|
|
38
|
-
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "
|
|
38
|
+
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
39
39
|
type QuerySortAuditLogs = v.InferOutput<typeof QuerySortAuditLogs>;
|
|
40
40
|
declare const AuditLogMethod: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
41
41
|
type AuditLogMethod = v.InferOutput<typeof AuditLogMethod>;
|
|
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
|
127
127
|
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
128
128
|
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
129
129
|
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
130
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "
|
|
130
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "url:ASC" | "url:DESC" | "path:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -1,10 +1,64 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
+
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
|
+
const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
|
|
3
5
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
4
6
|
const require_strapi = require("../../strapi-C7POOPEf.cjs");
|
|
5
|
-
const
|
|
7
|
+
const require_components_shared_index = require("../../components/shared/index.cjs");
|
|
8
|
+
const require_components_blocks_index = require("../../components/blocks/index.cjs");
|
|
9
|
+
const require_components_forms_index = require("../../components/forms/index.cjs");
|
|
10
|
+
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
6
11
|
let valibot = require("valibot");
|
|
7
12
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
13
|
+
//#region src/entities/blog-post/constants.ts
|
|
14
|
+
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
15
|
+
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
16
|
+
const BLOG_POST_SORT_KEYS = [
|
|
17
|
+
"id",
|
|
18
|
+
"title",
|
|
19
|
+
"slug",
|
|
20
|
+
"is_live",
|
|
21
|
+
"is_featured",
|
|
22
|
+
"is_public",
|
|
23
|
+
"published",
|
|
24
|
+
"createdAt",
|
|
25
|
+
"updatedAt"
|
|
26
|
+
];
|
|
27
|
+
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/entities/blog-post/fields.ts
|
|
30
|
+
const QuerySortBlogPosts = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(BLOG_POST_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(BLOG_POST_SORT_KEYS.length)));
|
|
31
|
+
const BlogPostLayout = valibot.picklist(BLOG_POST_LAYOUT);
|
|
32
|
+
const BlogPostBlock = valibot.union([
|
|
33
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockSectionTitle),
|
|
34
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockGraphicImage),
|
|
35
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockPullQuote),
|
|
36
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockVideo),
|
|
37
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockFaq),
|
|
38
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockContact),
|
|
39
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockButtonGroup),
|
|
40
|
+
valibot.lazy(() => require_components_blocks_index.ComponentBlockFullscreenContent),
|
|
41
|
+
valibot.lazy(() => require_components_forms_index.ComponentFormSelect),
|
|
42
|
+
valibot.lazy(() => require_components_slideshow_index.ComponentSlideshow),
|
|
43
|
+
valibot.lazy(() => require_components_shared_index.ComponentSharedRichTextBlock)
|
|
44
|
+
]);
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/entities/blog-post/document.ts
|
|
47
|
+
const BlogPostDocument = valibot.object({
|
|
48
|
+
...require_document.BaseDocument.entries,
|
|
49
|
+
title: valibot.string(),
|
|
50
|
+
slug: valibot.string(),
|
|
51
|
+
excerpt: valibot.string(),
|
|
52
|
+
published: valibot.string(),
|
|
53
|
+
is_live: valibot.boolean(),
|
|
54
|
+
is_featured: valibot.boolean(),
|
|
55
|
+
is_public: valibot.boolean(),
|
|
56
|
+
seo: valibot.optional(valibot.nullable(require_components_shared_index.SeoMeta)),
|
|
57
|
+
layout: valibot.nullable(BlogPostLayout),
|
|
58
|
+
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
59
|
+
blocks: valibot.optional(valibot.array(valibot.lazy(() => BlogPostBlock)))
|
|
60
|
+
});
|
|
61
|
+
//#endregion
|
|
8
62
|
//#region src/entities/blog-post/query.ts
|
|
9
63
|
const QueryStrapiSearchBlogPosts = valibot.object({
|
|
10
64
|
page: require_validators.VPage(),
|
|
@@ -13,21 +67,21 @@ const QueryStrapiSearchBlogPosts = valibot.object({
|
|
|
13
67
|
category: valibot.optional(require_validators.VStringShort(0)),
|
|
14
68
|
tags: valibot.optional(valibot.array(require_validators.VStringShort())),
|
|
15
69
|
status: valibot.optional(require_strapi.ContentStatus),
|
|
16
|
-
sort:
|
|
70
|
+
sort: QuerySortBlogPosts
|
|
17
71
|
});
|
|
18
72
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
19
73
|
slug: require_validators.VStringShort(),
|
|
20
74
|
status: valibot.optional(require_strapi.ContentStatus, "published"),
|
|
21
|
-
sort:
|
|
75
|
+
sort: QuerySortBlogPosts
|
|
22
76
|
});
|
|
23
77
|
//#endregion
|
|
24
|
-
exports.BLOG_POST_LAYOUT =
|
|
25
|
-
exports.BLOG_POST_SORT_KEYS =
|
|
26
|
-
exports.BlogPostBlock =
|
|
27
|
-
exports.BlogPostDocument =
|
|
28
|
-
exports.BlogPostLayout =
|
|
29
|
-
exports.LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE =
|
|
30
|
-
exports.LIMIT_BLOG_POST_PAGINATION_MAX_SIZE =
|
|
31
|
-
exports.QuerySortBlogPosts =
|
|
78
|
+
exports.BLOG_POST_LAYOUT = BLOG_POST_LAYOUT;
|
|
79
|
+
exports.BLOG_POST_SORT_KEYS = BLOG_POST_SORT_KEYS;
|
|
80
|
+
exports.BlogPostBlock = BlogPostBlock;
|
|
81
|
+
exports.BlogPostDocument = BlogPostDocument;
|
|
82
|
+
exports.BlogPostLayout = BlogPostLayout;
|
|
83
|
+
exports.LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE;
|
|
84
|
+
exports.LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = LIMIT_BLOG_POST_PAGINATION_MAX_SIZE;
|
|
85
|
+
exports.QuerySortBlogPosts = QuerySortBlogPosts;
|
|
32
86
|
exports.QueryStrapiSearchBlogPosts = QueryStrapiSearchBlogPosts;
|
|
33
87
|
exports.QueryStrapiSearchBlogPostsBySlug = QueryStrapiSearchBlogPostsBySlug;
|