@getcommunity/gc-validators 0.0.271-alpha.5 → 0.0.271-alpha.6
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/document-382ehFRd.mjs +13 -0
- package/dist/document-8oGgjvHp.cjs +21 -0
- package/dist/document-B-BesdbN.cjs +106 -0
- package/dist/document-B0Wfxtx_.cjs +31 -0
- package/dist/document-B3W1HKLY.cjs +42 -0
- package/dist/document-B6m32jys.cjs +26 -0
- package/dist/document-BM56JclD.mjs +19 -0
- package/dist/document-BRxLaO7o.mjs +14 -0
- package/dist/document-B_cRo5-b.mjs +10 -0
- package/dist/document-B_wA1eag.cjs +26 -0
- package/dist/{document-Ccszj8lR.cjs → document-Bbc9ayLX.cjs} +7 -4
- package/dist/document-BqLA3Y8O.cjs +17 -0
- package/dist/{document-DsT_qkhs.d.mts → document-BqfLH_0k.d.mts} +243 -279
- package/dist/document-Bt9GvI0D.mjs +10 -0
- package/dist/document-Bu5YWCAU.cjs +82 -0
- package/dist/document-BvIcrPT7.cjs +171 -0
- package/dist/document-BxOiI95X.mjs +19 -0
- package/dist/document-C3OB0I_l.mjs +14 -0
- package/dist/document-CFlCafnR.mjs +23 -0
- package/dist/{document-AkydjorI.d.cts → document-CLNQhWUt.d.cts} +238 -274
- package/dist/document-CUGxDcNv.mjs +10 -0
- package/dist/document-CXQi4qL-.mjs +39 -0
- package/dist/{document-CTTDXzOF.mjs → document-CaSvsqH_.mjs} +6 -3
- package/dist/document-CfUkGKW8.mjs +9 -0
- package/dist/document-Cp8Pptp9.mjs +23 -0
- package/dist/document-Cww9JKGT.mjs +11 -0
- package/dist/document-D067FSuD.cjs +17 -0
- package/dist/document-D1jsgU3z.cjs +24 -0
- package/dist/document-D2sLfhsG.mjs +12 -0
- package/dist/document-DAt2jaAd.cjs +26 -0
- package/dist/document-DHP4LdYq.cjs +21 -0
- package/dist/document-DM_UVNTr.cjs +35 -0
- package/dist/document-DOF-cc0D.mjs +13 -0
- package/dist/document-DeOzRkxJ.mjs +24 -0
- package/dist/document-DnVLqNHr.cjs +18 -0
- package/dist/document-Dv3TYeB2.cjs +30 -0
- package/dist/document-DwpVkKFH.cjs +16 -0
- package/dist/document-DwsiJVoA.mjs +22 -0
- package/dist/document-DwuQKbb9.cjs +20 -0
- package/dist/document-HWHxKIhw.mjs +17 -0
- package/dist/document-U0OA-83z.cjs +19 -0
- package/dist/document-a6GT3Sh4.mjs +19 -0
- package/dist/document-ahAv6kkH.cjs +17 -0
- package/dist/document-bbO2HaC_.mjs +110 -0
- package/dist/document-cysZuK08.mjs +57 -0
- package/dist/document-llX1moYE.mjs +10 -0
- package/dist/document-mxwQ5HxZ.cjs +17 -0
- package/dist/document-oPQeqMah.cjs +20 -0
- package/dist/document-oUROy-QQ.cjs +21 -0
- package/dist/document-wBWa6c70.mjs +14 -0
- 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 +24 -65
- package/dist/entities/blog-post/index.d.cts +2098 -4
- package/dist/entities/blog-post/index.d.mts +2099 -5
- package/dist/entities/blog-post/index.mjs +14 -56
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +10 -9
- package/dist/entities/category/index.d.cts +963 -1
- package/dist/entities/category/index.d.mts +963 -1
- package/dist/entities/category/index.mjs +9 -9
- package/dist/entities/client/index.cjs +27 -1
- package/dist/entities/client/index.d.cts +1331 -4
- package/dist/entities/client/index.d.mts +1331 -4
- package/dist/entities/client/index.mjs +27 -2
- package/dist/entities/client-content-pillar/index.cjs +2 -12
- package/dist/entities/client-content-pillar/index.d.cts +2 -2
- package/dist/entities/client-content-pillar/index.d.mts +3 -3
- package/dist/entities/client-content-pillar/index.mjs +1 -11
- package/dist/entities/client-media-platform/index.cjs +12 -9
- package/dist/entities/client-media-platform/index.d.cts +485 -3
- package/dist/entities/client-media-platform/index.d.mts +486 -4
- package/dist/entities/client-media-platform/index.mjs +11 -9
- package/dist/entities/client-project/index.cjs +26 -125
- package/dist/entities/client-project/index.d.cts +332 -3
- package/dist/entities/client-project/index.d.mts +333 -4
- package/dist/entities/client-project/index.mjs +9 -109
- package/dist/entities/client-report/index.cjs +10 -13
- package/dist/entities/client-report/index.d.cts +251 -3
- package/dist/entities/client-report/index.d.mts +252 -4
- package/dist/entities/client-report/index.mjs +9 -13
- package/dist/entities/client-styleguide/index.cjs +10 -22
- package/dist/entities/client-styleguide/index.d.cts +666 -3
- package/dist/entities/client-styleguide/index.d.mts +667 -4
- package/dist/entities/client-styleguide/index.mjs +9 -22
- package/dist/entities/client-user/index.cjs +19 -46
- package/dist/entities/client-user/index.d.cts +246 -2
- package/dist/entities/client-user/index.d.mts +246 -2
- package/dist/entities/client-user/index.mjs +10 -38
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +8 -1
- package/dist/entities/content-pillar/index.d.cts +289 -4
- package/dist/entities/content-pillar/index.d.mts +289 -4
- package/dist/entities/content-pillar/index.mjs +8 -2
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.cjs +12 -12
- package/dist/entities/gcflytour/index.d.cts +263 -4
- package/dist/entities/gcflytour/index.d.mts +263 -4
- package/dist/entities/gcflytour/index.mjs +11 -12
- package/dist/entities/gcflytour-snap/index.cjs +10 -12
- package/dist/entities/gcflytour-snap/index.d.cts +31 -4
- package/dist/entities/gcflytour-snap/index.d.mts +31 -4
- package/dist/entities/gcflytour-snap/index.mjs +9 -12
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.cjs +12 -15
- package/dist/entities/media-content-type/index.d.cts +280 -4
- package/dist/entities/media-content-type/index.d.mts +280 -4
- package/dist/entities/media-content-type/index.mjs +11 -15
- package/dist/entities/media-creative-format/index.cjs +10 -11
- package/dist/entities/media-creative-format/index.d.cts +42 -4
- package/dist/entities/media-creative-format/index.d.mts +42 -4
- package/dist/entities/media-creative-format/index.mjs +9 -11
- package/dist/entities/media-medium/index.cjs +10 -13
- package/dist/entities/media-medium/index.d.cts +257 -3
- package/dist/entities/media-medium/index.d.mts +257 -3
- package/dist/entities/media-medium/index.mjs +9 -13
- package/dist/entities/media-platform/index.cjs +14 -18
- package/dist/entities/media-platform/index.d.cts +291 -4
- package/dist/entities/media-platform/index.d.mts +291 -4
- package/dist/entities/media-platform/index.mjs +13 -18
- package/dist/entities/monday-workspace/index.cjs +10 -9
- package/dist/entities/monday-workspace/index.d.cts +248 -4
- package/dist/entities/monday-workspace/index.d.mts +248 -4
- package/dist/entities/monday-workspace/index.mjs +9 -9
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.cjs +2 -21
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/product/index.mjs +1 -18
- package/dist/entities/product-highlight/index.cjs +12 -16
- package/dist/entities/product-highlight/index.d.cts +795 -1
- package/dist/entities/product-highlight/index.d.mts +795 -1
- package/dist/entities/product-highlight/index.mjs +11 -16
- package/dist/entities/tag/index.cjs +2 -9
- package/dist/entities/tag/index.mjs +1 -8
- package/dist/entities/team-member/index.cjs +23 -13
- package/dist/entities/team-member/index.d.cts +1459 -1
- package/dist/entities/team-member/index.d.mts +1459 -1
- package/dist/entities/team-member/index.mjs +11 -2
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +2 -16
- package/dist/entities/trend/index.mjs +1 -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-permission/index.cjs +8 -6
- package/dist/entities/up-permission/index.d.cts +22 -1
- package/dist/entities/up-permission/index.d.mts +22 -1
- package/dist/entities/up-permission/index.mjs +7 -6
- package/dist/entities/up-role/index.cjs +12 -22
- package/dist/entities/up-role/index.d.cts +37 -2
- package/dist/entities/up-role/index.d.mts +38 -3
- package/dist/entities/up-role/index.mjs +9 -20
- package/dist/entities/up-user/index.cjs +16 -13
- package/dist/entities/up-user/index.d.cts +72 -4
- package/dist/entities/up-user/index.d.mts +72 -4
- package/dist/entities/up-user/index.mjs +15 -13
- package/dist/entities/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +2 -2
- package/dist/entities/user-account/index.cjs +9 -10
- package/dist/entities/user-account/index.d.cts +16 -2
- package/dist/entities/user-account/index.d.mts +17 -3
- package/dist/entities/user-account/index.mjs +8 -10
- package/dist/entities/utm-tracking-link/index.cjs +12 -23
- package/dist/entities/utm-tracking-link/index.d.cts +4 -3
- package/dist/entities/utm-tracking-link/index.d.mts +4 -3
- package/dist/entities/utm-tracking-link/index.mjs +11 -23
- package/dist/{index-BIWFngsB.d.mts → index-D6AuLdB6.d.mts} +3 -3
- package/dist/{index-D4Mm4D2d.d.cts → index-Dcwyodut.d.cts} +3 -3
- package/dist/{index-DpYYzY_9.d.cts → index-DfGGyf7_.d.cts} +18 -3
- package/dist/{index-BI8tN-QZ.d.mts → index-Dj9J1FKD.d.mts} +19 -4
- package/dist/{index-Bht1Jd5l.d.mts → index-DxyNYBOY.d.mts} +1 -1
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/relations-CG_9IVCD.d.cts +274 -0
- package/dist/relations-DxgFak1L.d.mts +274 -0
- package/dist/utilities/index.d.cts +3 -3
- package/dist/utilities/index.d.mts +4 -4
- package/package.json +1 -1
- package/dist/document-CWYzG60q.d.cts +0 -19
- package/dist/document-D-KvyEb5.d.cts +0 -238
- package/dist/document-D2nLVGig.d.mts +0 -238
- package/dist/document-si7GYS5g.d.mts +0 -19
- /package/dist/{document-BAzLIprH.d.mts → document-7JBq8iiP.d.mts} +0 -0
- /package/dist/{document-BK1ASowb.d.cts → document-BInCC6Wk.d.cts} +0 -0
- /package/dist/{document-Bpr9mbCs.d.mts → document-BPdwRVjm.d.cts} +0 -0
- /package/dist/{document-D5yDIDIx.d.mts → document-BQ6ulTO1.d.mts} +0 -0
- /package/dist/{document-dqrWptdY.d.cts → document-BdMrLGBL.d.cts} +0 -0
- /package/dist/{document-Bd2AyLs8.d.mts → document-BpFw7FI0.d.mts} +0 -0
- /package/dist/{document-Cu_HUDC5.mjs → document-Bpgteig6.mjs} +0 -0
- /package/dist/{document-Bj7SRTOn.d.cts → document-BumbQ1Eb.d.cts} +0 -0
- /package/dist/{document-C0c7azOe.d.mts → document-C4ofAcKx.d.mts} +0 -0
- /package/dist/{document-DYzRVV1C.d.mts → document-CCcofYd9.d.mts} +0 -0
- /package/dist/{document-CUl_Ys6-.mjs → document-CW3ycXvJ.mjs} +0 -0
- /package/dist/{document-B_pJW777.d.mts → document-Clr6FjtO.d.cts} +0 -0
- /package/dist/{document-BNoXPGwF.d.mts → document-Ct4bnsKU.d.mts} +0 -0
- /package/dist/{document-D_ZMbzn6.d.cts → document-CxeeO4Pl.d.mts} +0 -0
- /package/dist/{document-DJ0YiVte.d.cts → document-DIcd27AR.d.mts} +0 -0
- /package/dist/{document-WHS8GHY5.d.mts → document-DK6Xmvao.d.cts} +0 -0
- /package/dist/{document-vq-7rcU5.d.mts → document-DL4Wayv7.d.mts} +0 -0
- /package/dist/{document-CjNHI7Eb.d.cts → document-DX2Vidl1.d.cts} +0 -0
- /package/dist/{document-hEBlSep8.d.cts → document-DY8Wgy1A.d.mts} +0 -0
- /package/dist/{document-Gx2Vrg_w.d.mts → document-Db1-gtyJ.d.mts} +0 -0
- /package/dist/{document-DsSaMVGb.cjs → document-DgG9DIT2.cjs} +0 -0
- /package/dist/{document-DsIPBTG8.cjs → document-DtBkeafK.cjs} +0 -0
- /package/dist/{document-Bo869pZx.d.mts → document-YDFyLZlN.d.mts} +0 -0
- /package/dist/{document-DeoRGh7p.d.mts → document-bJOLxFq1.d.mts} +0 -0
- /package/dist/{document-IIJpsOIO.d.cts → document-xVdETwbX.d.cts} +0 -0
- /package/dist/{document-DMHIUE3J.d.mts → document-yW376Wot.d.mts} +0 -0
- /package/dist/{fields-BQHSYj70.d.cts → fields-BuP0NSFS.d.mts} +0 -0
- /package/dist/{fields-qx-5saY5.d.mts → fields-ByZAYnAi.d.cts} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-BbJGr6x_.d.mts} +0 -0
- /package/dist/{query.schema-BOn5Kk_p.d.mts → query.schema-DKllKSKC.d.mts} +0 -0
- /package/dist/{response-C-7nyNVD.d.mts → response-BZKHnpHe.d.mts} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/up-permission/document.ts
|
|
4
|
+
const PermissionDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
action: v.string()
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { PermissionDocument as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
+
import { RichTextBlock } from "./components/shared/index.mjs";
|
|
4
|
+
import { ComponentBrandStyleguideColor, ComponentBrandStyleguideFont } from "./components/brand/index.mjs";
|
|
5
|
+
import * as v from "valibot";
|
|
6
|
+
//#region src/entities/client-styleguide/document.ts
|
|
7
|
+
const ClientStyleguideDocument = v.object({
|
|
8
|
+
...BaseDocument.entries,
|
|
9
|
+
title: v.string(),
|
|
10
|
+
is_active: v.boolean(),
|
|
11
|
+
introduction: v.array(RichTextBlock),
|
|
12
|
+
voice: v.array(RichTextBlock),
|
|
13
|
+
communication: v.array(RichTextBlock),
|
|
14
|
+
brand_elements: v.array(RichTextBlock),
|
|
15
|
+
brand_intention: v.array(RichTextBlock),
|
|
16
|
+
mood: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
17
|
+
logos: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
18
|
+
brand_colors: v.optional(v.array(ComponentBrandStyleguideColor)),
|
|
19
|
+
brand_fonts: v.optional(v.array(ComponentBrandStyleguideFont)),
|
|
20
|
+
brand_application: v.optional(v.array(v.lazy(() => MediaUploadDocument)))
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { ClientStyleguideDocument as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/user-account/document.ts
|
|
4
|
+
const UserAccountDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
preferred_name: v.nullable(v.string()),
|
|
7
|
+
first_name: v.string(),
|
|
8
|
+
last_name: v.string()
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { UserAccountDocument as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/tag/document.ts
|
|
6
|
+
const TagDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
label: valibot.string(),
|
|
9
|
+
slug: valibot.string()
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
Object.defineProperty(exports, "TagDocument", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function() {
|
|
15
|
+
return TagDocument;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
const require_media_upload = require("./media-upload-B6aQYeRM.cjs");
|
|
4
|
+
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
5
|
+
const require_document$1 = require("./document-DgG9DIT2.cjs");
|
|
6
|
+
let valibot = require("valibot");
|
|
7
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
|
+
//#region src/entities/trend/document.ts
|
|
9
|
+
const TrendDocument = valibot.object({
|
|
10
|
+
...require_document.BaseDocument.entries,
|
|
11
|
+
title: valibot.string(),
|
|
12
|
+
video_embed: valibot.optional(valibot.nullable(require_components_blocks_index.BlockVideoEmbed)),
|
|
13
|
+
caption: valibot.nullable(valibot.string()),
|
|
14
|
+
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
15
|
+
likes: valibot.number(),
|
|
16
|
+
creators: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.TeamMemberDocument))))
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
Object.defineProperty(exports, "TrendDocument", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function() {
|
|
22
|
+
return TrendDocument;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/media-creative-format/document.ts
|
|
4
|
+
const MediaCreativeFormatDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
title: v.string(),
|
|
7
|
+
slug: v.string(),
|
|
8
|
+
is_active: v.boolean(),
|
|
9
|
+
description: v.nullable(v.string())
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
export { MediaCreativeFormatDocument as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
const require_media_upload = require("./media-upload-B6aQYeRM.cjs");
|
|
4
|
+
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
5
|
+
let valibot = require("valibot");
|
|
6
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
7
|
+
//#region src/entities/product-highlight/document.ts
|
|
8
|
+
const ProductHighlightDocument = valibot.object({
|
|
9
|
+
...require_document.BaseDocument.entries,
|
|
10
|
+
title: valibot.string(),
|
|
11
|
+
title_line_1: valibot.string(),
|
|
12
|
+
title_line_2: valibot.string(),
|
|
13
|
+
introduction: valibot.string(),
|
|
14
|
+
highlight: valibot.optional(require_components_blocks_index.BlockFullscreenContent),
|
|
15
|
+
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
16
|
+
background_color: valibot.string(),
|
|
17
|
+
order: valibot.number(),
|
|
18
|
+
text_invert: valibot.boolean()
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, "ProductHighlightDocument", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function() {
|
|
24
|
+
return ProductHighlightDocument;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/client-report/document.ts
|
|
6
|
+
const ClientReportDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
title: valibot.string(),
|
|
9
|
+
report_id: valibot.string(),
|
|
10
|
+
is_active: valibot.boolean(),
|
|
11
|
+
is_external: valibot.boolean(),
|
|
12
|
+
is_hidden: valibot.boolean(),
|
|
13
|
+
scopes: valibot.array(valibot.string())
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
Object.defineProperty(exports, "ClientReportDocument", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return ClientReportDocument;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
const require_components_shared_index = require("./components/shared/index.cjs");
|
|
4
|
+
const require_document$1 = require("./document-DtBkeafK.cjs");
|
|
5
|
+
let valibot = require("valibot");
|
|
6
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
7
|
+
//#region src/entities/content-pillar/document.ts
|
|
8
|
+
const ContentPillarDocument = valibot.object({
|
|
9
|
+
...require_document.BaseDocument.entries,
|
|
10
|
+
title: valibot.string(),
|
|
11
|
+
slug: valibot.string(),
|
|
12
|
+
description: valibot.nullable(valibot.string()),
|
|
13
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock))
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
17
|
+
const ClientContentPillarDocument = valibot.object({
|
|
18
|
+
...require_document.BaseDocument.entries,
|
|
19
|
+
is_active: valibot.boolean(),
|
|
20
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$1.ClientDocument))),
|
|
21
|
+
content_pillar: valibot.optional(valibot.nullable(valibot.lazy(() => ContentPillarDocument)))
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
Object.defineProperty(exports, "ClientContentPillarDocument", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function() {
|
|
27
|
+
return ClientContentPillarDocument;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ContentPillarDocument", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function() {
|
|
33
|
+
return ContentPillarDocument;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/gcflytour/document.ts
|
|
4
|
+
const GCFlyTourDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
title: v.string(),
|
|
7
|
+
slug: v.string(),
|
|
8
|
+
description: v.nullable(v.string()),
|
|
9
|
+
is_active: v.boolean(),
|
|
10
|
+
is_hidden: v.boolean()
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { GCFlyTourDocument as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/utm-tracking-link/document.ts
|
|
4
|
+
const UtmTrackingLinkDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
url_destination: v.string(),
|
|
7
|
+
utm_medium: v.string(),
|
|
8
|
+
utm_source: v.string(),
|
|
9
|
+
utm_campaign: v.string(),
|
|
10
|
+
utm_content: v.nullable(v.string()),
|
|
11
|
+
utm_creative_format: v.nullable(v.string()),
|
|
12
|
+
utm_id: v.nullable(v.string()),
|
|
13
|
+
campaign_phase: v.string(),
|
|
14
|
+
campaign_product: v.nullable(v.string()),
|
|
15
|
+
campaign_targeting: v.nullable(v.string()),
|
|
16
|
+
campaign_key: v.nullable(v.string()),
|
|
17
|
+
creative_format: v.nullable(v.string()),
|
|
18
|
+
creative_format_variants: v.nullable(v.string()),
|
|
19
|
+
url: v.string(),
|
|
20
|
+
is_active: v.boolean(),
|
|
21
|
+
notes: v.nullable(v.string())
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { UtmTrackingLinkDocument as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/user-account/document.ts
|
|
6
|
+
const UserAccountDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
preferred_name: valibot.nullable(valibot.string()),
|
|
9
|
+
first_name: valibot.string(),
|
|
10
|
+
last_name: valibot.string()
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
Object.defineProperty(exports, "UserAccountDocument", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function() {
|
|
16
|
+
return UserAccountDocument;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
const require_media_upload = require("./media-upload-B6aQYeRM.cjs");
|
|
4
|
+
const require_components_shared_index = require("./components/shared/index.cjs");
|
|
5
|
+
const require_components_brand_index = require("./components/brand/index.cjs");
|
|
6
|
+
let valibot = require("valibot");
|
|
7
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
|
+
//#region src/entities/client-styleguide/document.ts
|
|
9
|
+
const ClientStyleguideDocument = valibot.object({
|
|
10
|
+
...require_document.BaseDocument.entries,
|
|
11
|
+
title: valibot.string(),
|
|
12
|
+
is_active: valibot.boolean(),
|
|
13
|
+
introduction: valibot.array(require_components_shared_index.RichTextBlock),
|
|
14
|
+
voice: valibot.array(require_components_shared_index.RichTextBlock),
|
|
15
|
+
communication: valibot.array(require_components_shared_index.RichTextBlock),
|
|
16
|
+
brand_elements: valibot.array(require_components_shared_index.RichTextBlock),
|
|
17
|
+
brand_intention: valibot.array(require_components_shared_index.RichTextBlock),
|
|
18
|
+
mood: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
19
|
+
logos: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
20
|
+
brand_colors: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideColor)),
|
|
21
|
+
brand_fonts: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideFont)),
|
|
22
|
+
brand_application: valibot.optional(valibot.array(valibot.lazy(() => require_media_upload.MediaUploadDocument)))
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
Object.defineProperty(exports, "ClientStyleguideDocument", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function() {
|
|
28
|
+
return ClientStyleguideDocument;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/up-permission/document.ts
|
|
6
|
+
const PermissionDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
action: valibot.string()
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
Object.defineProperty(exports, "PermissionDocument", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function() {
|
|
14
|
+
return PermissionDocument;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import { RichTextBlock } from "./components/shared/index.mjs";
|
|
3
|
+
import { t as ClientDocument } from "./document-CW3ycXvJ.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
//#region src/entities/content-pillar/document.ts
|
|
6
|
+
const ContentPillarDocument = v.object({
|
|
7
|
+
...BaseDocument.entries,
|
|
8
|
+
title: v.string(),
|
|
9
|
+
slug: v.string(),
|
|
10
|
+
description: v.nullable(v.string()),
|
|
11
|
+
information: v.nullable(v.array(RichTextBlock))
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
15
|
+
const ClientContentPillarDocument = v.object({
|
|
16
|
+
...BaseDocument.entries,
|
|
17
|
+
is_active: v.boolean(),
|
|
18
|
+
client: v.optional(v.nullable(v.lazy(() => ClientDocument))),
|
|
19
|
+
content_pillar: v.optional(v.nullable(v.lazy(() => ContentPillarDocument)))
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ContentPillarDocument as n, ClientContentPillarDocument as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/gcflytour/document.ts
|
|
6
|
+
const GCFlyTourDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
title: valibot.string(),
|
|
9
|
+
slug: valibot.string(),
|
|
10
|
+
description: valibot.nullable(valibot.string()),
|
|
11
|
+
is_active: valibot.boolean(),
|
|
12
|
+
is_hidden: valibot.boolean()
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
Object.defineProperty(exports, "GCFlyTourDocument", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return GCFlyTourDocument;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
+
import { BlockVideoEmbed } from "./components/blocks/index.mjs";
|
|
4
|
+
import { t as TeamMemberDocument } from "./document-Bpgteig6.mjs";
|
|
5
|
+
import * as v from "valibot";
|
|
6
|
+
//#region src/entities/trend/document.ts
|
|
7
|
+
const TrendDocument = v.object({
|
|
8
|
+
...BaseDocument.entries,
|
|
9
|
+
title: v.string(),
|
|
10
|
+
video_embed: v.optional(v.nullable(BlockVideoEmbed)),
|
|
11
|
+
caption: v.nullable(v.string()),
|
|
12
|
+
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
13
|
+
likes: v.number(),
|
|
14
|
+
creators: v.optional(v.nullable(v.array(v.lazy(() => TeamMemberDocument))))
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { TrendDocument as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/media-creative-format/document.ts
|
|
6
|
+
const MediaCreativeFormatDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
title: valibot.string(),
|
|
9
|
+
slug: valibot.string(),
|
|
10
|
+
is_active: valibot.boolean(),
|
|
11
|
+
description: valibot.nullable(valibot.string())
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
Object.defineProperty(exports, "MediaCreativeFormatDocument", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function() {
|
|
17
|
+
return MediaCreativeFormatDocument;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import { RichTextBlock } from "./components/shared/index.mjs";
|
|
3
|
+
import { BlockBrandLogos } from "./components/blocks/index.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
//#region src/entities/media-platform/document.ts
|
|
6
|
+
const MediaPlatformDocument = v.object({
|
|
7
|
+
...BaseDocument.entries,
|
|
8
|
+
title: v.string(),
|
|
9
|
+
slug: v.string(),
|
|
10
|
+
utm_key: v.string(),
|
|
11
|
+
is_active: v.boolean(),
|
|
12
|
+
is_organic_social: v.boolean(),
|
|
13
|
+
is_paid_media: v.boolean(),
|
|
14
|
+
logos: v.optional(v.nullable(BlockBrandLogos)),
|
|
15
|
+
description: v.nullable(v.string()),
|
|
16
|
+
information: v.nullable(v.array(RichTextBlock))
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { MediaPlatformDocument as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/client-media-platform/document.ts
|
|
6
|
+
const ClientMediaPlatformDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
url: valibot.nullable(valibot.string()),
|
|
9
|
+
is_active: valibot.boolean()
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
Object.defineProperty(exports, "ClientMediaPlatformDocument", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function() {
|
|
15
|
+
return ClientMediaPlatformDocument;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
//#region src/entities/client-project/constants.ts
|
|
5
|
+
const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
|
|
6
|
+
const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
|
|
7
|
+
const CLIENT_PROJECT_STATUS = [
|
|
8
|
+
"coming-soon",
|
|
9
|
+
"now-open",
|
|
10
|
+
"for-sale",
|
|
11
|
+
"sold-out",
|
|
12
|
+
"available"
|
|
13
|
+
];
|
|
14
|
+
const CLIENT_PROJECT_PHASES = [
|
|
15
|
+
{
|
|
16
|
+
label: "Brand",
|
|
17
|
+
value: "brand",
|
|
18
|
+
description: "General/Company branded content"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: "Phase 1",
|
|
22
|
+
value: "p1",
|
|
23
|
+
description: "Interest list building"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Phase 2",
|
|
27
|
+
value: "p2",
|
|
28
|
+
description: "Pre-qualification, pre-sales"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: "Phase 3",
|
|
32
|
+
value: "p3",
|
|
33
|
+
description: "Grand opening, now open, available"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: "Phase 4",
|
|
37
|
+
value: "p4",
|
|
38
|
+
description: "For sale, maintenance period"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "Phase 5",
|
|
42
|
+
value: "p5",
|
|
43
|
+
description: "Final sale"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "Closed",
|
|
47
|
+
value: "closed",
|
|
48
|
+
description: "Sold out, no longer available"
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
const CLIENT_PROJECT_PHASE_VALUES = [
|
|
52
|
+
"brand",
|
|
53
|
+
"p1",
|
|
54
|
+
"p2",
|
|
55
|
+
"p3",
|
|
56
|
+
"p4",
|
|
57
|
+
"p5",
|
|
58
|
+
"closed"
|
|
59
|
+
];
|
|
60
|
+
const CLIENT_PROJECT_SORT_KEYS = [
|
|
61
|
+
"id",
|
|
62
|
+
"title",
|
|
63
|
+
"slug",
|
|
64
|
+
"is_active",
|
|
65
|
+
"is_hidden",
|
|
66
|
+
"project_phase",
|
|
67
|
+
"project_url",
|
|
68
|
+
"project_type",
|
|
69
|
+
"project_pricing",
|
|
70
|
+
"project_address",
|
|
71
|
+
"phone_number",
|
|
72
|
+
"num_of_models",
|
|
73
|
+
"num_of_units_remain",
|
|
74
|
+
"buyer_profile",
|
|
75
|
+
"social_organic_start_date",
|
|
76
|
+
"paid_media_start_date",
|
|
77
|
+
"go_date",
|
|
78
|
+
"createdAt",
|
|
79
|
+
"updatedAt"
|
|
80
|
+
];
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/entities/client-project/fields.ts
|
|
83
|
+
const QuerySortClientProjects = v.optional(v.pipe(v.array(v.picklist(CLIENT_PROJECT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(CLIENT_PROJECT_SORT_KEYS.length)));
|
|
84
|
+
const ClientProjectStatus = v.picklist(CLIENT_PROJECT_STATUS);
|
|
85
|
+
const ClientProjectPhase = v.picklist(CLIENT_PROJECT_PHASE_VALUES);
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/entities/client-project/document.ts
|
|
88
|
+
const ClientProjectDocument = v.object({
|
|
89
|
+
...BaseDocument.entries,
|
|
90
|
+
title: v.string(),
|
|
91
|
+
slug: v.string(),
|
|
92
|
+
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
93
|
+
is_active: v.boolean(),
|
|
94
|
+
is_hidden: v.boolean(),
|
|
95
|
+
project_status: v.array(ClientProjectStatus),
|
|
96
|
+
project_phase: ClientProjectPhase,
|
|
97
|
+
project_url: v.nullable(v.string()),
|
|
98
|
+
project_type: v.nullable(v.string()),
|
|
99
|
+
project_pricing: v.nullable(v.string()),
|
|
100
|
+
project_address: v.nullable(v.string()),
|
|
101
|
+
phone_number: v.nullable(v.string()),
|
|
102
|
+
num_of_models: v.nullable(v.number()),
|
|
103
|
+
num_of_units_remain: v.nullable(v.number()),
|
|
104
|
+
buyer_profile: v.nullable(v.string()),
|
|
105
|
+
social_organic_start_date: v.nullable(v.string()),
|
|
106
|
+
paid_media_start_date: v.nullable(v.string()),
|
|
107
|
+
go_date: v.nullable(v.string())
|
|
108
|
+
});
|
|
109
|
+
//#endregion
|
|
110
|
+
export { CLIENT_PROJECT_PHASES as a, CLIENT_PROJECT_STATUS as c, QuerySortClientProjects as i, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE as l, ClientProjectPhase as n, CLIENT_PROJECT_PHASE_VALUES as o, ClientProjectStatus as r, CLIENT_PROJECT_SORT_KEYS as s, ClientProjectDocument as t, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE as u };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
+
import { ComponentSharedRichTextBlock, SeoMeta } from "./components/shared/index.mjs";
|
|
4
|
+
import { ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "./components/blocks/index.mjs";
|
|
5
|
+
import { ComponentFormSelect } from "./components/forms/index.mjs";
|
|
6
|
+
import { ComponentSlideshow } from "./components/slideshow/index.mjs";
|
|
7
|
+
import * as v from "valibot";
|
|
8
|
+
//#region src/entities/blog-post/constants.ts
|
|
9
|
+
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
10
|
+
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
11
|
+
const BLOG_POST_SORT_KEYS = [
|
|
12
|
+
"id",
|
|
13
|
+
"title",
|
|
14
|
+
"slug",
|
|
15
|
+
"is_live",
|
|
16
|
+
"is_featured",
|
|
17
|
+
"is_public",
|
|
18
|
+
"published",
|
|
19
|
+
"createdAt",
|
|
20
|
+
"updatedAt"
|
|
21
|
+
];
|
|
22
|
+
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/entities/blog-post/fields.ts
|
|
25
|
+
const QuerySortBlogPosts = v.optional(v.pipe(v.array(v.picklist(BLOG_POST_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(BLOG_POST_SORT_KEYS.length)));
|
|
26
|
+
const BlogPostLayout = v.picklist(BLOG_POST_LAYOUT);
|
|
27
|
+
const BlogPostBlock = v.union([
|
|
28
|
+
v.lazy(() => ComponentBlockSectionTitle),
|
|
29
|
+
v.lazy(() => ComponentBlockGraphicImage),
|
|
30
|
+
v.lazy(() => ComponentBlockPullQuote),
|
|
31
|
+
v.lazy(() => ComponentBlockVideo),
|
|
32
|
+
v.lazy(() => ComponentBlockFaq),
|
|
33
|
+
v.lazy(() => ComponentBlockContact),
|
|
34
|
+
v.lazy(() => ComponentBlockButtonGroup),
|
|
35
|
+
v.lazy(() => ComponentBlockFullscreenContent),
|
|
36
|
+
v.lazy(() => ComponentFormSelect),
|
|
37
|
+
v.lazy(() => ComponentSlideshow),
|
|
38
|
+
v.lazy(() => ComponentSharedRichTextBlock)
|
|
39
|
+
]);
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/entities/blog-post/document.ts
|
|
42
|
+
const BlogPostDocument = v.object({
|
|
43
|
+
...BaseDocument.entries,
|
|
44
|
+
title: v.string(),
|
|
45
|
+
slug: v.string(),
|
|
46
|
+
excerpt: v.string(),
|
|
47
|
+
published: v.string(),
|
|
48
|
+
is_live: v.boolean(),
|
|
49
|
+
is_featured: v.boolean(),
|
|
50
|
+
is_public: v.boolean(),
|
|
51
|
+
seo: v.optional(v.nullable(SeoMeta)),
|
|
52
|
+
layout: v.nullable(BlogPostLayout),
|
|
53
|
+
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
54
|
+
blocks: v.optional(v.array(v.lazy(() => BlogPostBlock)))
|
|
55
|
+
});
|
|
56
|
+
//#endregion
|
|
57
|
+
export { BLOG_POST_LAYOUT as a, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE as c, QuerySortBlogPosts as i, BlogPostBlock as n, BLOG_POST_SORT_KEYS as o, BlogPostLayout as r, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE as s, BlogPostDocument as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/category/document.ts
|
|
4
|
+
const CategoryDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
label: v.string(),
|
|
7
|
+
slug: v.string()
|
|
8
|
+
});
|
|
9
|
+
//#endregion
|
|
10
|
+
export { CategoryDocument as t };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/category/document.ts
|
|
6
|
+
const CategoryDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
label: valibot.string(),
|
|
9
|
+
slug: valibot.string()
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
Object.defineProperty(exports, "CategoryDocument", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function() {
|
|
15
|
+
return CategoryDocument;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/gcflytour-snap/document.ts
|
|
6
|
+
const GCFlyTourSnapDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
title: valibot.string(),
|
|
9
|
+
slug: valibot.string(),
|
|
10
|
+
description: valibot.nullable(valibot.string()),
|
|
11
|
+
is_active: valibot.boolean(),
|
|
12
|
+
is_hidden: valibot.boolean()
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
Object.defineProperty(exports, "GCFlyTourSnapDocument", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return GCFlyTourSnapDocument;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
+
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
+
let valibot = require("valibot");
|
|
4
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
+
//#region src/entities/up-user/document.ts
|
|
6
|
+
const UserDocument = valibot.object({
|
|
7
|
+
...require_document.BaseDocument.entries,
|
|
8
|
+
username: valibot.string(),
|
|
9
|
+
email: valibot.string(),
|
|
10
|
+
provider: valibot.string(),
|
|
11
|
+
confirmed: valibot.boolean(),
|
|
12
|
+
blocked: valibot.boolean(),
|
|
13
|
+
clerk_user_id: valibot.nullable(valibot.string())
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
Object.defineProperty(exports, "UserDocument", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return UserDocument;
|
|
20
|
+
}
|
|
21
|
+
});
|