@getcommunity/gc-validators 0.0.271-alpha.6 → 0.0.271-alpha.7
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 +19 -19
- package/dist/base/index.d.cts +3 -3
- package/dist/base/index.d.mts +4 -4
- package/dist/base/index.mjs +2 -2
- package/dist/components/blocks/index.cjs +16 -14
- package/dist/components/blocks/index.d.cts +2 -1322
- package/dist/components/blocks/index.d.mts +2 -1322
- package/dist/components/blocks/index.mjs +16 -14
- package/dist/components/brand/index.d.cts +1 -314
- package/dist/components/brand/index.d.mts +1 -314
- package/dist/components/forms/index.cjs +10 -8
- package/dist/components/forms/index.d.cts +6 -3
- package/dist/components/forms/index.d.mts +6 -3
- package/dist/components/forms/index.mjs +10 -8
- package/dist/components/shared/index.cjs +3 -1
- package/dist/components/shared/index.d.cts +1 -916
- package/dist/components/shared/index.d.mts +1 -916
- package/dist/components/shared/index.mjs +3 -1
- package/dist/components/slideshow/index.cjs +15 -13
- package/dist/components/slideshow/index.d.cts +7 -5
- package/dist/components/slideshow/index.d.mts +7 -5
- package/dist/components/slideshow/index.mjs +15 -13
- package/dist/components/utm/index.cjs +4 -2
- package/dist/components/utm/index.d.cts +1 -31
- package/dist/components/utm/index.d.mts +1 -31
- package/dist/components/utm/index.mjs +4 -2
- package/dist/document-BFPtEW5P.d.cts +17 -0
- package/dist/{document-BPdwRVjm.d.cts → document-CH1Od98-.d.mts} +6 -6
- package/dist/{document-BMxLOdrT.d.cts → document-CnKWB70Z.d.cts} +158 -104
- package/dist/{document-DY8Wgy1A.d.mts → document-CpsxYzbB.d.cts} +6 -6
- package/dist/document-CrnqUGRk.cjs +243 -0
- package/dist/document-Cx4Klv8A.mjs +128 -0
- package/dist/document-DUHPXtbm.mjs +409 -0
- package/dist/{document-DnVLqNHr.cjs → document-DamlTVm7.cjs} +2 -1
- package/dist/{document-Cww9JKGT.mjs → document-DnA3Nwgh.mjs} +2 -1
- package/dist/{document-Db1-gtyJ.d.mts → document-Dr5-pbqu.d.mts} +158 -104
- package/dist/document-GovGVYRl.d.mts +17 -0
- package/dist/document-zu6-DmQT.cjs +632 -0
- package/dist/entities/audit-log/index.cjs +2 -2
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/audit-log/index.mjs +1 -1
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +1 -14
- package/dist/entities/blog-post/index.d.cts +2 -3715
- package/dist/entities/blog-post/index.d.mts +2 -3715
- package/dist/entities/blog-post/index.mjs +2 -14
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +4 -12
- package/dist/entities/category/index.d.cts +4 -977
- package/dist/entities/category/index.d.mts +4 -977
- package/dist/entities/category/index.mjs +3 -10
- package/dist/entities/client/index.cjs +3 -29
- package/dist/entities/client/index.d.cts +2 -1412
- package/dist/entities/client/index.d.mts +2 -1412
- package/dist/entities/client/index.mjs +3 -28
- package/dist/entities/client-content-pillar/index.cjs +9 -9
- package/dist/entities/client-content-pillar/index.d.cts +1 -48
- package/dist/entities/client-content-pillar/index.d.mts +1 -48
- package/dist/entities/client-content-pillar/index.mjs +2 -2
- package/dist/entities/client-media-platform/index.cjs +10 -20
- package/dist/entities/client-media-platform/index.d.cts +2 -535
- package/dist/entities/client-media-platform/index.d.mts +2 -535
- package/dist/entities/client-media-platform/index.mjs +3 -12
- package/dist/entities/client-project/index.cjs +22 -30
- package/dist/entities/client-project/index.d.cts +2 -476
- package/dist/entities/client-project/index.d.mts +2 -476
- package/dist/entities/client-project/index.mjs +3 -10
- package/dist/entities/client-report/index.cjs +7 -15
- package/dist/entities/client-report/index.d.cts +2 -311
- package/dist/entities/client-report/index.d.mts +2 -311
- package/dist/entities/client-report/index.mjs +3 -10
- package/dist/entities/client-styleguide/index.cjs +7 -15
- package/dist/entities/client-styleguide/index.d.cts +2 -711
- package/dist/entities/client-styleguide/index.d.mts +2 -711
- package/dist/entities/client-styleguide/index.mjs +3 -10
- package/dist/entities/client-user/index.cjs +17 -26
- package/dist/entities/client-user/index.d.cts +2 -291
- package/dist/entities/client-user/index.d.mts +2 -291
- package/dist/entities/client-user/index.mjs +3 -11
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +5 -12
- package/dist/entities/content-pillar/index.d.cts +2 -335
- package/dist/entities/content-pillar/index.d.mts +2 -335
- package/dist/entities/content-pillar/index.mjs +3 -9
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.cjs +9 -19
- package/dist/entities/gcflytour/index.d.cts +2 -320
- package/dist/entities/gcflytour/index.d.mts +2 -320
- package/dist/entities/gcflytour/index.mjs +3 -12
- package/dist/entities/gcflytour-snap/index.cjs +7 -15
- package/dist/entities/gcflytour-snap/index.d.cts +2 -86
- package/dist/entities/gcflytour-snap/index.d.mts +2 -86
- package/dist/entities/gcflytour-snap/index.mjs +3 -10
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/lead/index.cjs +2 -2
- package/dist/entities/lead/index.mjs +1 -1
- package/dist/entities/media-content-type/index.cjs +10 -20
- package/dist/entities/media-content-type/index.d.cts +4 -280
- package/dist/entities/media-content-type/index.d.mts +4 -280
- package/dist/entities/media-content-type/index.mjs +3 -12
- package/dist/entities/media-creative-format/index.cjs +7 -15
- package/dist/entities/media-creative-format/index.d.cts +4 -42
- package/dist/entities/media-creative-format/index.d.mts +4 -42
- package/dist/entities/media-creative-format/index.mjs +3 -10
- package/dist/entities/media-medium/index.cjs +7 -15
- package/dist/entities/media-medium/index.d.cts +4 -273
- package/dist/entities/media-medium/index.d.mts +4 -273
- package/dist/entities/media-medium/index.mjs +3 -10
- package/dist/entities/media-platform/index.cjs +13 -25
- package/dist/entities/media-platform/index.d.cts +2 -361
- package/dist/entities/media-platform/index.d.mts +2 -361
- package/dist/entities/media-platform/index.mjs +3 -14
- package/dist/entities/monday-workspace/index.cjs +7 -15
- package/dist/entities/monday-workspace/index.d.cts +2 -291
- package/dist/entities/monday-workspace/index.d.mts +2 -291
- package/dist/entities/monday-workspace/index.mjs +3 -10
- package/dist/entities/newsletter-signup/index.cjs +2 -2
- package/dist/entities/newsletter-signup/index.mjs +1 -1
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.cjs +1 -1
- package/dist/entities/product/index.d.cts +1 -319
- package/dist/entities/product/index.d.mts +1 -319
- package/dist/entities/product/index.mjs +1 -1
- package/dist/entities/product-highlight/index.cjs +2 -17
- package/dist/entities/product-highlight/index.d.cts +2 -1039
- package/dist/entities/product-highlight/index.d.mts +2 -1039
- package/dist/entities/product-highlight/index.mjs +2 -14
- package/dist/entities/resume/index.cjs +2 -2
- package/dist/entities/resume/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +3 -3
- package/dist/entities/tag/index.d.cts +3 -14
- package/dist/entities/tag/index.d.mts +3 -14
- package/dist/entities/tag/index.mjs +2 -2
- package/dist/entities/team-member/index.cjs +13 -23
- package/dist/entities/team-member/index.d.cts +2 -1668
- package/dist/entities/team-member/index.d.mts +2 -1668
- package/dist/entities/team-member/index.mjs +2 -11
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +3 -3
- package/dist/entities/trend/index.d.cts +1 -333
- package/dist/entities/trend/index.d.mts +1 -333
- package/dist/entities/trend/index.mjs +2 -2
- 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 +1 -12
- package/dist/entities/up-permission/index.d.cts +2 -35
- package/dist/entities/up-permission/index.d.mts +2 -35
- package/dist/entities/up-permission/index.mjs +2 -10
- package/dist/entities/up-role/index.cjs +4 -17
- package/dist/entities/up-role/index.d.cts +2 -38
- package/dist/entities/up-role/index.d.mts +2 -38
- package/dist/entities/up-role/index.mjs +2 -12
- package/dist/entities/up-user/index.cjs +2 -16
- package/dist/entities/up-user/index.d.cts +2 -106
- package/dist/entities/up-user/index.d.mts +2 -106
- package/dist/entities/up-user/index.mjs +2 -15
- package/dist/entities/user-account/index.cjs +9 -16
- package/dist/entities/user-account/index.d.cts +3 -17
- package/dist/entities/user-account/index.d.mts +3 -17
- package/dist/entities/user-account/index.mjs +4 -10
- package/dist/entities/utm-link-builder/index.cjs +5 -5
- package/dist/entities/utm-link-builder/index.mjs +1 -1
- package/dist/entities/utm-tracking-link/index.cjs +7 -17
- package/dist/entities/utm-tracking-link/index.d.cts +2 -236
- package/dist/entities/utm-tracking-link/index.d.mts +2 -236
- package/dist/entities/utm-tracking-link/index.mjs +3 -12
- package/dist/index-22laZYwt.d.mts +34 -0
- package/dist/{index-DxyNYBOY.d.mts → index-B-CQQO_E.d.mts} +59 -140
- package/dist/index-BCvKbd4C.d.cts +940 -0
- package/dist/{index-D6AuLdB6.d.mts → index-BIWFngsB.d.mts} +3 -3
- package/dist/index-BQ_nheAt.d.mts +1324 -0
- package/dist/{index-Dcwyodut.d.cts → index-COCNx5sv.d.cts} +3 -3
- package/dist/index-Cb8BnFcL.d.cts +4731 -0
- package/dist/index-Cpbdnd9q.d.cts +317 -0
- package/dist/index-D0PCjo7e.d.mts +940 -0
- package/dist/index-DB45mxlG.d.mts +921 -0
- package/dist/index-Df7ixqwa.d.cts +1324 -0
- package/dist/index-GUYqdxFh.d.mts +4731 -0
- package/dist/index-NBz_zMvQ.d.cts +34 -0
- package/dist/index-Z_fJ28vW.d.mts +317 -0
- package/dist/index-_eItTyFr.d.cts +921 -0
- package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
- package/dist/media-upload-BEfESsVb.d.mts +140 -0
- package/dist/media-upload-D-nP8FR1.d.cts +140 -0
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
- package/dist/{query.schema-CItKlb0x.d.cts → query-Cyv28Ggi.d.cts} +1 -1
- package/dist/{query.schema-DKllKSKC.d.mts → query-HXwJctNd.d.mts} +1 -1
- package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
- package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
- package/dist/utilities/index.d.cts +2 -4
- package/dist/utilities/index.d.mts +2 -4
- package/package.json +1 -1
- package/dist/document-382ehFRd.mjs +0 -13
- package/dist/document-7JBq8iiP.d.mts +0 -100
- package/dist/document-8oGgjvHp.cjs +0 -21
- package/dist/document-B-BesdbN.cjs +0 -106
- package/dist/document-B0Wfxtx_.cjs +0 -31
- package/dist/document-B3W1HKLY.cjs +0 -42
- package/dist/document-B6m32jys.cjs +0 -26
- package/dist/document-BInCC6Wk.d.cts +0 -17
- package/dist/document-BM56JclD.mjs +0 -19
- package/dist/document-BQ6ulTO1.d.mts +0 -15
- package/dist/document-BRxLaO7o.mjs +0 -14
- package/dist/document-Bbc9ayLX.cjs +0 -23
- package/dist/document-BdMrLGBL.d.cts +0 -244
- package/dist/document-BezYxNmb.d.cts +0 -16
- package/dist/document-BpFw7FI0.d.mts +0 -16
- package/dist/document-Bpgteig6.mjs +0 -51
- package/dist/document-BqLA3Y8O.cjs +0 -17
- package/dist/document-BqfLH_0k.d.mts +0 -12183
- package/dist/document-Bs8c1mok.d.cts +0 -15
- package/dist/document-Bt9GvI0D.mjs +0 -10
- package/dist/document-Bu5YWCAU.cjs +0 -82
- package/dist/document-BumbQ1Eb.d.cts +0 -18
- package/dist/document-BvIcrPT7.cjs +0 -171
- package/dist/document-C3OB0I_l.mjs +0 -14
- package/dist/document-C4ofAcKx.d.mts +0 -434
- package/dist/document-CCcofYd9.d.mts +0 -16
- package/dist/document-CFlCafnR.mjs +0 -23
- package/dist/document-CLNQhWUt.d.cts +0 -12183
- package/dist/document-CUGxDcNv.mjs +0 -10
- package/dist/document-CW3ycXvJ.mjs +0 -23
- package/dist/document-CXQi4qL-.mjs +0 -39
- package/dist/document-CaSvsqH_.mjs +0 -16
- package/dist/document-CfUkGKW8.mjs +0 -9
- package/dist/document-Clr6FjtO.d.cts +0 -30
- package/dist/document-Cp8Pptp9.mjs +0 -23
- package/dist/document-Ct4bnsKU.d.mts +0 -27
- package/dist/document-CxeeO4Pl.d.mts +0 -18
- package/dist/document-D1jsgU3z.cjs +0 -24
- package/dist/document-D2sLfhsG.mjs +0 -12
- package/dist/document-D73dqRle.d.cts +0 -19
- package/dist/document-DA6YVZz-.d.cts +0 -100
- package/dist/document-DAt2jaAd.cjs +0 -26
- package/dist/document-DHP4LdYq.cjs +0 -21
- package/dist/document-DIcd27AR.d.mts +0 -30
- package/dist/document-DK6Xmvao.d.cts +0 -18
- package/dist/document-DL4Wayv7.d.mts +0 -244
- package/dist/document-DM_UVNTr.cjs +0 -35
- package/dist/document-DN3g0EFx.d.cts +0 -434
- package/dist/document-DOF-cc0D.mjs +0 -13
- package/dist/document-DX2Vidl1.d.cts +0 -27
- package/dist/document-DeOzRkxJ.mjs +0 -24
- package/dist/document-DgG9DIT2.cjs +0 -106
- package/dist/document-DtBkeafK.cjs +0 -30
- package/dist/document-Dv3TYeB2.cjs +0 -30
- package/dist/document-DwpVkKFH.cjs +0 -16
- package/dist/document-DwsiJVoA.mjs +0 -22
- package/dist/document-DwuQKbb9.cjs +0 -20
- package/dist/document-HWHxKIhw.mjs +0 -17
- package/dist/document-U0OA-83z.cjs +0 -19
- package/dist/document-YDFyLZlN.d.mts +0 -18
- package/dist/document-a6GT3Sh4.mjs +0 -19
- package/dist/document-ahAv6kkH.cjs +0 -17
- package/dist/document-bJOLxFq1.d.mts +0 -19
- package/dist/document-bbO2HaC_.mjs +0 -110
- package/dist/document-cysZuK08.mjs +0 -57
- package/dist/document-llX1moYE.mjs +0 -10
- package/dist/document-mxwQ5HxZ.cjs +0 -17
- package/dist/document-oPQeqMah.cjs +0 -20
- package/dist/document-oUROy-QQ.cjs +0 -21
- package/dist/document-wBWa6c70.mjs +0 -14
- package/dist/document-xVdETwbX.d.cts +0 -16
- package/dist/document-yW376Wot.d.mts +0 -17
- package/dist/fields-BuP0NSFS.d.mts +0 -7
- package/dist/fields-ByZAYnAi.d.cts +0 -7
- package/dist/index-DfGGyf7_.d.cts +0 -114
- package/dist/index-Dj9J1FKD.d.mts +0 -114
- package/dist/relations-CG_9IVCD.d.cts +0 -274
- package/dist/relations-DxgFak1L.d.mts +0 -274
- package/dist/response-BZKHnpHe.d.mts +0 -57
- package/dist/response-c6SgLvi9.d.cts +0 -57
- /package/dist/{document-B_wA1eag.cjs → document-Ccvtwgy_.cjs} +0 -0
- /package/dist/{document-BxOiI95X.mjs → document-D060zybc.mjs} +0 -0
- /package/dist/{document-D067FSuD.cjs → document-DaICHS9G.cjs} +0 -0
- /package/dist/{document-B_cRo5-b.mjs → document-c3GNPelp.mjs} +0 -0
- /package/dist/{json-BbJGr6x_.d.mts → json-p1Yf7cEr.d.mts} +0 -0
|
@@ -0,0 +1,632 @@
|
|
|
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_constants = require("./constants-f1GP2eiq.cjs");
|
|
5
|
+
const require_components_shared_index = require("./components/shared/index.cjs");
|
|
6
|
+
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
7
|
+
const require_components_brand_index = require("./components/brand/index.cjs");
|
|
8
|
+
const require_components_utm_index = require("./components/utm/index.cjs");
|
|
9
|
+
const require_document$1 = require("./document-DaICHS9G.cjs");
|
|
10
|
+
const require_document$2 = require("./document-Ccvtwgy_.cjs");
|
|
11
|
+
const require_document$3 = require("./document-DamlTVm7.cjs");
|
|
12
|
+
let valibot = require("valibot");
|
|
13
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
14
|
+
//#region src/entities/media-creative-format/document.ts
|
|
15
|
+
const MediaCreativeFormatDocument = valibot.object({
|
|
16
|
+
...require_document.BaseDocument.entries,
|
|
17
|
+
title: valibot.string(),
|
|
18
|
+
slug: valibot.string(),
|
|
19
|
+
is_active: valibot.boolean(),
|
|
20
|
+
description: valibot.nullable(valibot.string()),
|
|
21
|
+
media_content_types: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MediaContentTypeDocument))))
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/entities/media-content-type/document.ts
|
|
25
|
+
const MediaContentTypeDocument = valibot.object({
|
|
26
|
+
...require_document.BaseDocument.entries,
|
|
27
|
+
title: valibot.string(),
|
|
28
|
+
slug: valibot.string(),
|
|
29
|
+
is_active: valibot.boolean(),
|
|
30
|
+
is_organic_social: valibot.boolean(),
|
|
31
|
+
is_paid_media: valibot.boolean(),
|
|
32
|
+
description: valibot.nullable(valibot.string()),
|
|
33
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
34
|
+
media_platforms: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MediaPlatformDocument)))),
|
|
35
|
+
media_creative_formats: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MediaCreativeFormatDocument))))
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/entities/media-medium/document.ts
|
|
39
|
+
const MediaMediumDocument = valibot.object({
|
|
40
|
+
...require_document.BaseDocument.entries,
|
|
41
|
+
title: valibot.string(),
|
|
42
|
+
slug: valibot.string(),
|
|
43
|
+
is_active: valibot.boolean(),
|
|
44
|
+
is_organic_social: valibot.boolean(),
|
|
45
|
+
is_paid_media: valibot.boolean(),
|
|
46
|
+
description: valibot.nullable(valibot.string()),
|
|
47
|
+
media_platforms: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MediaPlatformDocument))))
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/entities/media-platform/document.ts
|
|
51
|
+
const MediaPlatformDocument = valibot.object({
|
|
52
|
+
...require_document.BaseDocument.entries,
|
|
53
|
+
title: valibot.string(),
|
|
54
|
+
slug: valibot.string(),
|
|
55
|
+
utm_key: valibot.string(),
|
|
56
|
+
is_active: valibot.boolean(),
|
|
57
|
+
is_organic_social: valibot.boolean(),
|
|
58
|
+
is_paid_media: valibot.boolean(),
|
|
59
|
+
logos: valibot.optional(valibot.nullable(require_components_blocks_index.BlockBrandLogos)),
|
|
60
|
+
description: valibot.nullable(valibot.string()),
|
|
61
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
62
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientMediaPlatformDocument)))),
|
|
63
|
+
media_content_types: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MediaContentTypeDocument)))),
|
|
64
|
+
media_mediums: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MediaMediumDocument))))
|
|
65
|
+
});
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/entities/client-media-platform/document.ts
|
|
68
|
+
const ClientMediaPlatformDocument = valibot.object({
|
|
69
|
+
...require_document.BaseDocument.entries,
|
|
70
|
+
url: valibot.nullable(valibot.string()),
|
|
71
|
+
is_active: valibot.boolean(),
|
|
72
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument))),
|
|
73
|
+
media_platform: valibot.optional(valibot.nullable(valibot.lazy(() => MediaPlatformDocument)))
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/entities/client-project/constants.ts
|
|
77
|
+
const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
|
|
78
|
+
const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
|
|
79
|
+
const CLIENT_PROJECT_STATUS = [
|
|
80
|
+
"coming-soon",
|
|
81
|
+
"now-open",
|
|
82
|
+
"for-sale",
|
|
83
|
+
"sold-out",
|
|
84
|
+
"available"
|
|
85
|
+
];
|
|
86
|
+
const CLIENT_PROJECT_PHASES = [
|
|
87
|
+
{
|
|
88
|
+
label: "Brand",
|
|
89
|
+
value: "brand",
|
|
90
|
+
description: "General/Company branded content"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: "Phase 1",
|
|
94
|
+
value: "p1",
|
|
95
|
+
description: "Interest list building"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
label: "Phase 2",
|
|
99
|
+
value: "p2",
|
|
100
|
+
description: "Pre-qualification, pre-sales"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
label: "Phase 3",
|
|
104
|
+
value: "p3",
|
|
105
|
+
description: "Grand opening, now open, available"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
label: "Phase 4",
|
|
109
|
+
value: "p4",
|
|
110
|
+
description: "For sale, maintenance period"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: "Phase 5",
|
|
114
|
+
value: "p5",
|
|
115
|
+
description: "Final sale"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: "Closed",
|
|
119
|
+
value: "closed",
|
|
120
|
+
description: "Sold out, no longer available"
|
|
121
|
+
}
|
|
122
|
+
];
|
|
123
|
+
const CLIENT_PROJECT_PHASE_VALUES = [
|
|
124
|
+
"brand",
|
|
125
|
+
"p1",
|
|
126
|
+
"p2",
|
|
127
|
+
"p3",
|
|
128
|
+
"p4",
|
|
129
|
+
"p5",
|
|
130
|
+
"closed"
|
|
131
|
+
];
|
|
132
|
+
const CLIENT_PROJECT_SORT_KEYS = [
|
|
133
|
+
"id",
|
|
134
|
+
"title",
|
|
135
|
+
"slug",
|
|
136
|
+
"is_active",
|
|
137
|
+
"is_hidden",
|
|
138
|
+
"project_phase",
|
|
139
|
+
"project_url",
|
|
140
|
+
"project_type",
|
|
141
|
+
"project_pricing",
|
|
142
|
+
"project_address",
|
|
143
|
+
"phone_number",
|
|
144
|
+
"num_of_models",
|
|
145
|
+
"num_of_units_remain",
|
|
146
|
+
"buyer_profile",
|
|
147
|
+
"social_organic_start_date",
|
|
148
|
+
"paid_media_start_date",
|
|
149
|
+
"go_date",
|
|
150
|
+
"createdAt",
|
|
151
|
+
"updatedAt"
|
|
152
|
+
];
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/entities/client-project/fields.ts
|
|
155
|
+
const QuerySortClientProjects = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CLIENT_PROJECT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CLIENT_PROJECT_SORT_KEYS.length)));
|
|
156
|
+
const ClientProjectStatus = valibot.picklist(CLIENT_PROJECT_STATUS);
|
|
157
|
+
const ClientProjectPhase = valibot.picklist(CLIENT_PROJECT_PHASE_VALUES);
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region src/entities/client-project/document.ts
|
|
160
|
+
const ClientProjectDocument = valibot.object({
|
|
161
|
+
...require_document.BaseDocument.entries,
|
|
162
|
+
title: valibot.string(),
|
|
163
|
+
slug: valibot.string(),
|
|
164
|
+
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
165
|
+
is_active: valibot.boolean(),
|
|
166
|
+
is_hidden: valibot.boolean(),
|
|
167
|
+
project_status: valibot.array(ClientProjectStatus),
|
|
168
|
+
project_phase: ClientProjectPhase,
|
|
169
|
+
project_url: valibot.nullable(valibot.string()),
|
|
170
|
+
project_type: valibot.nullable(valibot.string()),
|
|
171
|
+
project_pricing: valibot.nullable(valibot.string()),
|
|
172
|
+
project_address: valibot.nullable(valibot.string()),
|
|
173
|
+
phone_number: valibot.nullable(valibot.string()),
|
|
174
|
+
num_of_models: valibot.nullable(valibot.number()),
|
|
175
|
+
num_of_units_remain: valibot.nullable(valibot.number()),
|
|
176
|
+
buyer_profile: valibot.nullable(valibot.string()),
|
|
177
|
+
social_organic_start_date: valibot.nullable(valibot.string()),
|
|
178
|
+
paid_media_start_date: valibot.nullable(valibot.string()),
|
|
179
|
+
go_date: valibot.nullable(valibot.string()),
|
|
180
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientDocument))))
|
|
181
|
+
});
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/entities/client-report/document.ts
|
|
184
|
+
const ClientReportDocument = valibot.object({
|
|
185
|
+
...require_document.BaseDocument.entries,
|
|
186
|
+
title: valibot.string(),
|
|
187
|
+
report_id: valibot.string(),
|
|
188
|
+
is_active: valibot.boolean(),
|
|
189
|
+
is_external: valibot.boolean(),
|
|
190
|
+
is_hidden: valibot.boolean(),
|
|
191
|
+
scopes: valibot.array(valibot.string()),
|
|
192
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientDocument))))
|
|
193
|
+
});
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region src/entities/client-styleguide/document.ts
|
|
196
|
+
const ClientStyleguideDocument = valibot.object({
|
|
197
|
+
...require_document.BaseDocument.entries,
|
|
198
|
+
title: valibot.string(),
|
|
199
|
+
is_active: valibot.boolean(),
|
|
200
|
+
introduction: valibot.array(require_components_shared_index.RichTextBlock),
|
|
201
|
+
voice: valibot.array(require_components_shared_index.RichTextBlock),
|
|
202
|
+
communication: valibot.array(require_components_shared_index.RichTextBlock),
|
|
203
|
+
brand_elements: valibot.array(require_components_shared_index.RichTextBlock),
|
|
204
|
+
brand_intention: valibot.array(require_components_shared_index.RichTextBlock),
|
|
205
|
+
mood: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
206
|
+
logos: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
207
|
+
brand_colors: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideColor)),
|
|
208
|
+
brand_fonts: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideFont)),
|
|
209
|
+
brand_application: valibot.optional(valibot.array(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
210
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument)))
|
|
211
|
+
});
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/entities/client-user/constants.ts
|
|
214
|
+
const LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
|
|
215
|
+
const LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT = 100;
|
|
216
|
+
const CLIENT_USER_SORT_KEYS = [
|
|
217
|
+
"id",
|
|
218
|
+
"client.title",
|
|
219
|
+
"client.teamwork_id",
|
|
220
|
+
"client.teamwork_name",
|
|
221
|
+
"client.is_active",
|
|
222
|
+
"client.allow_create_utm_link",
|
|
223
|
+
"client.is_paid_media",
|
|
224
|
+
"client.is_organic_social",
|
|
225
|
+
"user.username",
|
|
226
|
+
"user.email",
|
|
227
|
+
"user.confirmed",
|
|
228
|
+
"user.blocked",
|
|
229
|
+
"createdAt",
|
|
230
|
+
"updatedAt"
|
|
231
|
+
];
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/entities/client-user/fields.ts
|
|
234
|
+
const QuerySortClientUsers = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CLIENT_USER_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CLIENT_USER_SORT_KEYS.length)));
|
|
235
|
+
const ClientUserScope = valibot.pipe(valibot.array(valibot.picklist(require_constants.CLIENT_ENTITY_SCOPES), "Please provide a valid list of scopes."), valibot.maxLength(require_constants.CLIENT_ENTITY_SCOPES.length, "You cannot provide more scopes than there are available."));
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/entities/client-user/document.ts
|
|
238
|
+
const ClientUserDocument = valibot.object({
|
|
239
|
+
...require_document.BaseDocument.entries,
|
|
240
|
+
scopes: valibot.array(ClientUserScope),
|
|
241
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument))),
|
|
242
|
+
user: valibot.optional(valibot.unknown())
|
|
243
|
+
});
|
|
244
|
+
const ClientUserDocumentStatus = valibot.object({
|
|
245
|
+
verified: valibot.boolean(),
|
|
246
|
+
clientUser: valibot.nullable(valibot.lazy(() => ClientUserDocument)),
|
|
247
|
+
scopes: ClientUserScope
|
|
248
|
+
});
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region src/entities/gcflytour-snap/document.ts
|
|
251
|
+
const GCFlyTourSnapDocument = valibot.object({
|
|
252
|
+
...require_document.BaseDocument.entries,
|
|
253
|
+
title: valibot.string(),
|
|
254
|
+
slug: valibot.string(),
|
|
255
|
+
description: valibot.nullable(valibot.string()),
|
|
256
|
+
is_active: valibot.boolean(),
|
|
257
|
+
is_hidden: valibot.boolean(),
|
|
258
|
+
gcflytour: valibot.optional(valibot.nullable(valibot.lazy(() => GCFlyTourDocument)))
|
|
259
|
+
});
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/entities/gcflytour/document.ts
|
|
262
|
+
const GCFlyTourDocument = valibot.object({
|
|
263
|
+
...require_document.BaseDocument.entries,
|
|
264
|
+
title: valibot.string(),
|
|
265
|
+
slug: valibot.string(),
|
|
266
|
+
description: valibot.nullable(valibot.string()),
|
|
267
|
+
is_active: valibot.boolean(),
|
|
268
|
+
is_hidden: valibot.boolean(),
|
|
269
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientDocument)))),
|
|
270
|
+
gcflytour_snaps: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => GCFlyTourSnapDocument))))
|
|
271
|
+
});
|
|
272
|
+
//#endregion
|
|
273
|
+
//#region src/entities/monday-workspace/document.ts
|
|
274
|
+
const MondayWorkspaceDocument = valibot.object({
|
|
275
|
+
...require_document.BaseDocument.entries,
|
|
276
|
+
title: valibot.string(),
|
|
277
|
+
workspace_id: valibot.string(),
|
|
278
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientDocument))))
|
|
279
|
+
});
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/entities/product-highlight/document.ts
|
|
282
|
+
const ProductHighlightDocument = valibot.object({
|
|
283
|
+
...require_document.BaseDocument.entries,
|
|
284
|
+
title: valibot.string(),
|
|
285
|
+
title_line_1: valibot.string(),
|
|
286
|
+
title_line_2: valibot.string(),
|
|
287
|
+
introduction: valibot.string(),
|
|
288
|
+
highlight: valibot.optional(require_components_blocks_index.BlockFullscreenContent),
|
|
289
|
+
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
290
|
+
background_color: valibot.string(),
|
|
291
|
+
order: valibot.number(),
|
|
292
|
+
text_invert: valibot.boolean(),
|
|
293
|
+
products: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$2.ProductDocument)))),
|
|
294
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientDocument)))),
|
|
295
|
+
tags: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.TagDocument))))
|
|
296
|
+
});
|
|
297
|
+
//#endregion
|
|
298
|
+
//#region src/entities/up-permission/document.ts
|
|
299
|
+
const PermissionDocument = valibot.object({
|
|
300
|
+
...require_document.BaseDocument.entries,
|
|
301
|
+
action: valibot.string(),
|
|
302
|
+
role: valibot.optional(valibot.nullable(valibot.lazy(() => RoleDocument)))
|
|
303
|
+
});
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region src/entities/up-role/constants.ts
|
|
306
|
+
const ROLE_TYPES = [
|
|
307
|
+
"authenticated",
|
|
308
|
+
"public",
|
|
309
|
+
"employee",
|
|
310
|
+
"manager",
|
|
311
|
+
"client"
|
|
312
|
+
];
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/entities/up-role/fields.ts
|
|
315
|
+
const RoleType = valibot.picklist(ROLE_TYPES);
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/entities/up-role/document.ts
|
|
318
|
+
const RoleDocument = valibot.object({
|
|
319
|
+
...require_document.BaseDocument.entries,
|
|
320
|
+
type: RoleType,
|
|
321
|
+
name: valibot.string(),
|
|
322
|
+
description: valibot.nullable(valibot.string()),
|
|
323
|
+
permissions: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => PermissionDocument)))),
|
|
324
|
+
users: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => UserDocument))))
|
|
325
|
+
});
|
|
326
|
+
//#endregion
|
|
327
|
+
//#region src/entities/up-user/document.ts
|
|
328
|
+
const UserDocument = valibot.object({
|
|
329
|
+
...require_document.BaseDocument.entries,
|
|
330
|
+
username: valibot.string(),
|
|
331
|
+
email: valibot.string(),
|
|
332
|
+
provider: valibot.string(),
|
|
333
|
+
confirmed: valibot.boolean(),
|
|
334
|
+
blocked: valibot.boolean(),
|
|
335
|
+
clerk_user_id: valibot.nullable(valibot.string()),
|
|
336
|
+
role: valibot.optional(valibot.nullable(valibot.lazy(() => RoleDocument))),
|
|
337
|
+
account: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$3.UserAccountDocument))),
|
|
338
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientUserDocument)))),
|
|
339
|
+
utm_tracking_links: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => UtmTrackingLinkDocument))))
|
|
340
|
+
});
|
|
341
|
+
//#endregion
|
|
342
|
+
//#region src/entities/utm-tracking-link/document.ts
|
|
343
|
+
const UtmTrackingLinkDocument = valibot.object({
|
|
344
|
+
...require_document.BaseDocument.entries,
|
|
345
|
+
url_destination: valibot.string(),
|
|
346
|
+
utm_medium: valibot.string(),
|
|
347
|
+
utm_source: valibot.string(),
|
|
348
|
+
utm_campaign: valibot.string(),
|
|
349
|
+
utm_content: valibot.nullable(valibot.string()),
|
|
350
|
+
utm_creative_format: valibot.nullable(valibot.string()),
|
|
351
|
+
utm_id: valibot.nullable(valibot.string()),
|
|
352
|
+
campaign_phase: valibot.string(),
|
|
353
|
+
campaign_product: valibot.nullable(valibot.string()),
|
|
354
|
+
campaign_targeting: valibot.nullable(valibot.string()),
|
|
355
|
+
campaign_key: valibot.nullable(valibot.string()),
|
|
356
|
+
creative_format: valibot.nullable(valibot.string()),
|
|
357
|
+
creative_format_variants: valibot.nullable(valibot.string()),
|
|
358
|
+
url: valibot.string(),
|
|
359
|
+
is_active: valibot.boolean(),
|
|
360
|
+
notes: valibot.nullable(valibot.string()),
|
|
361
|
+
creator: valibot.optional(valibot.nullable(valibot.lazy(() => UserDocument))),
|
|
362
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument)))
|
|
363
|
+
});
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/entities/client/document.ts
|
|
366
|
+
const ClientDocument = valibot.object({
|
|
367
|
+
...require_document.BaseDocument.entries,
|
|
368
|
+
title: valibot.string(),
|
|
369
|
+
is_featured: valibot.boolean(),
|
|
370
|
+
logos: valibot.optional(valibot.nullable(require_components_blocks_index.BlockBrandLogos)),
|
|
371
|
+
teamwork_id: valibot.string(),
|
|
372
|
+
teamwork_name: valibot.string(),
|
|
373
|
+
gainapp_id: valibot.nullable(valibot.string()),
|
|
374
|
+
utm_sheet_id: valibot.string(),
|
|
375
|
+
allow_create_utm_link: valibot.boolean(),
|
|
376
|
+
is_organic_social: valibot.boolean(),
|
|
377
|
+
is_paid_media: valibot.boolean(),
|
|
378
|
+
is_active: valibot.boolean(),
|
|
379
|
+
is_hidden: valibot.boolean(),
|
|
380
|
+
classification: valibot.array(require_components_utm_index.UtmClassificationKey),
|
|
381
|
+
users: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientUserDocument)))),
|
|
382
|
+
product_highlights: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ProductHighlightDocument)))),
|
|
383
|
+
client_projects: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientProjectDocument)))),
|
|
384
|
+
client_reports: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientReportDocument)))),
|
|
385
|
+
monday_workspaces: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => MondayWorkspaceDocument)))),
|
|
386
|
+
utm_tracking_links: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => UtmTrackingLinkDocument)))),
|
|
387
|
+
styleguides: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientStyleguideDocument)))),
|
|
388
|
+
media_platforms: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientMediaPlatformDocument)))),
|
|
389
|
+
content_pillars: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientContentPillarDocument)))),
|
|
390
|
+
gcflytours: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => GCFlyTourDocument))))
|
|
391
|
+
});
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region src/entities/content-pillar/document.ts
|
|
394
|
+
const ContentPillarDocument = valibot.object({
|
|
395
|
+
...require_document.BaseDocument.entries,
|
|
396
|
+
title: valibot.string(),
|
|
397
|
+
slug: valibot.string(),
|
|
398
|
+
description: valibot.nullable(valibot.string()),
|
|
399
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
400
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientContentPillarDocument))))
|
|
401
|
+
});
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
404
|
+
const ClientContentPillarDocument = valibot.object({
|
|
405
|
+
...require_document.BaseDocument.entries,
|
|
406
|
+
is_active: valibot.boolean(),
|
|
407
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument))),
|
|
408
|
+
content_pillar: valibot.optional(valibot.nullable(valibot.lazy(() => ContentPillarDocument)))
|
|
409
|
+
});
|
|
410
|
+
//#endregion
|
|
411
|
+
Object.defineProperty(exports, "CLIENT_PROJECT_PHASES", {
|
|
412
|
+
enumerable: true,
|
|
413
|
+
get: function() {
|
|
414
|
+
return CLIENT_PROJECT_PHASES;
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
Object.defineProperty(exports, "CLIENT_PROJECT_PHASE_VALUES", {
|
|
418
|
+
enumerable: true,
|
|
419
|
+
get: function() {
|
|
420
|
+
return CLIENT_PROJECT_PHASE_VALUES;
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
Object.defineProperty(exports, "CLIENT_PROJECT_SORT_KEYS", {
|
|
424
|
+
enumerable: true,
|
|
425
|
+
get: function() {
|
|
426
|
+
return CLIENT_PROJECT_SORT_KEYS;
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
Object.defineProperty(exports, "CLIENT_PROJECT_STATUS", {
|
|
430
|
+
enumerable: true,
|
|
431
|
+
get: function() {
|
|
432
|
+
return CLIENT_PROJECT_STATUS;
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
Object.defineProperty(exports, "CLIENT_USER_SORT_KEYS", {
|
|
436
|
+
enumerable: true,
|
|
437
|
+
get: function() {
|
|
438
|
+
return CLIENT_USER_SORT_KEYS;
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
Object.defineProperty(exports, "ClientContentPillarDocument", {
|
|
442
|
+
enumerable: true,
|
|
443
|
+
get: function() {
|
|
444
|
+
return ClientContentPillarDocument;
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
Object.defineProperty(exports, "ClientDocument", {
|
|
448
|
+
enumerable: true,
|
|
449
|
+
get: function() {
|
|
450
|
+
return ClientDocument;
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
Object.defineProperty(exports, "ClientMediaPlatformDocument", {
|
|
454
|
+
enumerable: true,
|
|
455
|
+
get: function() {
|
|
456
|
+
return ClientMediaPlatformDocument;
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
Object.defineProperty(exports, "ClientProjectDocument", {
|
|
460
|
+
enumerable: true,
|
|
461
|
+
get: function() {
|
|
462
|
+
return ClientProjectDocument;
|
|
463
|
+
}
|
|
464
|
+
});
|
|
465
|
+
Object.defineProperty(exports, "ClientProjectPhase", {
|
|
466
|
+
enumerable: true,
|
|
467
|
+
get: function() {
|
|
468
|
+
return ClientProjectPhase;
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
Object.defineProperty(exports, "ClientProjectStatus", {
|
|
472
|
+
enumerable: true,
|
|
473
|
+
get: function() {
|
|
474
|
+
return ClientProjectStatus;
|
|
475
|
+
}
|
|
476
|
+
});
|
|
477
|
+
Object.defineProperty(exports, "ClientReportDocument", {
|
|
478
|
+
enumerable: true,
|
|
479
|
+
get: function() {
|
|
480
|
+
return ClientReportDocument;
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
Object.defineProperty(exports, "ClientStyleguideDocument", {
|
|
484
|
+
enumerable: true,
|
|
485
|
+
get: function() {
|
|
486
|
+
return ClientStyleguideDocument;
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
Object.defineProperty(exports, "ClientUserDocument", {
|
|
490
|
+
enumerable: true,
|
|
491
|
+
get: function() {
|
|
492
|
+
return ClientUserDocument;
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
Object.defineProperty(exports, "ClientUserDocumentStatus", {
|
|
496
|
+
enumerable: true,
|
|
497
|
+
get: function() {
|
|
498
|
+
return ClientUserDocumentStatus;
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
Object.defineProperty(exports, "ClientUserScope", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
get: function() {
|
|
504
|
+
return ClientUserScope;
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
Object.defineProperty(exports, "ContentPillarDocument", {
|
|
508
|
+
enumerable: true,
|
|
509
|
+
get: function() {
|
|
510
|
+
return ContentPillarDocument;
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
Object.defineProperty(exports, "GCFlyTourDocument", {
|
|
514
|
+
enumerable: true,
|
|
515
|
+
get: function() {
|
|
516
|
+
return GCFlyTourDocument;
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
Object.defineProperty(exports, "GCFlyTourSnapDocument", {
|
|
520
|
+
enumerable: true,
|
|
521
|
+
get: function() {
|
|
522
|
+
return GCFlyTourSnapDocument;
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
Object.defineProperty(exports, "LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE", {
|
|
526
|
+
enumerable: true,
|
|
527
|
+
get: function() {
|
|
528
|
+
return LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE;
|
|
529
|
+
}
|
|
530
|
+
});
|
|
531
|
+
Object.defineProperty(exports, "LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE", {
|
|
532
|
+
enumerable: true,
|
|
533
|
+
get: function() {
|
|
534
|
+
return LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE;
|
|
535
|
+
}
|
|
536
|
+
});
|
|
537
|
+
Object.defineProperty(exports, "LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT", {
|
|
538
|
+
enumerable: true,
|
|
539
|
+
get: function() {
|
|
540
|
+
return LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT;
|
|
541
|
+
}
|
|
542
|
+
});
|
|
543
|
+
Object.defineProperty(exports, "LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT", {
|
|
544
|
+
enumerable: true,
|
|
545
|
+
get: function() {
|
|
546
|
+
return LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT;
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
Object.defineProperty(exports, "MediaContentTypeDocument", {
|
|
550
|
+
enumerable: true,
|
|
551
|
+
get: function() {
|
|
552
|
+
return MediaContentTypeDocument;
|
|
553
|
+
}
|
|
554
|
+
});
|
|
555
|
+
Object.defineProperty(exports, "MediaCreativeFormatDocument", {
|
|
556
|
+
enumerable: true,
|
|
557
|
+
get: function() {
|
|
558
|
+
return MediaCreativeFormatDocument;
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
Object.defineProperty(exports, "MediaMediumDocument", {
|
|
562
|
+
enumerable: true,
|
|
563
|
+
get: function() {
|
|
564
|
+
return MediaMediumDocument;
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
Object.defineProperty(exports, "MediaPlatformDocument", {
|
|
568
|
+
enumerable: true,
|
|
569
|
+
get: function() {
|
|
570
|
+
return MediaPlatformDocument;
|
|
571
|
+
}
|
|
572
|
+
});
|
|
573
|
+
Object.defineProperty(exports, "MondayWorkspaceDocument", {
|
|
574
|
+
enumerable: true,
|
|
575
|
+
get: function() {
|
|
576
|
+
return MondayWorkspaceDocument;
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
Object.defineProperty(exports, "PermissionDocument", {
|
|
580
|
+
enumerable: true,
|
|
581
|
+
get: function() {
|
|
582
|
+
return PermissionDocument;
|
|
583
|
+
}
|
|
584
|
+
});
|
|
585
|
+
Object.defineProperty(exports, "ProductHighlightDocument", {
|
|
586
|
+
enumerable: true,
|
|
587
|
+
get: function() {
|
|
588
|
+
return ProductHighlightDocument;
|
|
589
|
+
}
|
|
590
|
+
});
|
|
591
|
+
Object.defineProperty(exports, "QuerySortClientProjects", {
|
|
592
|
+
enumerable: true,
|
|
593
|
+
get: function() {
|
|
594
|
+
return QuerySortClientProjects;
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
Object.defineProperty(exports, "QuerySortClientUsers", {
|
|
598
|
+
enumerable: true,
|
|
599
|
+
get: function() {
|
|
600
|
+
return QuerySortClientUsers;
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
Object.defineProperty(exports, "ROLE_TYPES", {
|
|
604
|
+
enumerable: true,
|
|
605
|
+
get: function() {
|
|
606
|
+
return ROLE_TYPES;
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
Object.defineProperty(exports, "RoleDocument", {
|
|
610
|
+
enumerable: true,
|
|
611
|
+
get: function() {
|
|
612
|
+
return RoleDocument;
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
Object.defineProperty(exports, "RoleType", {
|
|
616
|
+
enumerable: true,
|
|
617
|
+
get: function() {
|
|
618
|
+
return RoleType;
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
Object.defineProperty(exports, "UserDocument", {
|
|
622
|
+
enumerable: true,
|
|
623
|
+
get: function() {
|
|
624
|
+
return UserDocument;
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
Object.defineProperty(exports, "UtmTrackingLinkDocument", {
|
|
628
|
+
enumerable: true,
|
|
629
|
+
get: function() {
|
|
630
|
+
return UtmTrackingLinkDocument;
|
|
631
|
+
}
|
|
632
|
+
});
|
|
@@ -3,7 +3,7 @@ const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
|
3
3
|
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
4
|
const require_json = require("../../json-BgewUW_1.cjs");
|
|
5
5
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
|
-
const
|
|
6
|
+
const require_relationships = require("../../relationships-CWVJebkQ.cjs");
|
|
7
7
|
let valibot = require("valibot");
|
|
8
8
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
9
|
//#region src/entities/audit-log/constants.ts
|
|
@@ -83,7 +83,7 @@ const UpdateAuditLogDocument = valibot.object({
|
|
|
83
83
|
after: valibot.optional(valibot.nullable(require_json.JsonSchema))
|
|
84
84
|
});
|
|
85
85
|
const UpdateAuditLogDocumentRequest = valibot.object({
|
|
86
|
-
documentId:
|
|
86
|
+
documentId: require_relationships.SAssociateOneEntity,
|
|
87
87
|
data: UpdateAuditLogDocument
|
|
88
88
|
});
|
|
89
89
|
//#endregion
|
|
@@ -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" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler: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" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label: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" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler: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" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|