@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
|
@@ -1,118 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
|
-
const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
|
|
5
3
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
6
4
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
7
5
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
6
|
+
const require_document = require("../../document-DtBkeafK.cjs");
|
|
7
|
+
const require_document$1 = require("../../document-BvIcrPT7.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
|
-
//#region src/entities/client-project/constants.ts
|
|
11
|
-
const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
|
|
12
|
-
const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
|
|
13
|
-
const CLIENT_PROJECT_STATUS = [
|
|
14
|
-
"coming-soon",
|
|
15
|
-
"now-open",
|
|
16
|
-
"for-sale",
|
|
17
|
-
"sold-out",
|
|
18
|
-
"available"
|
|
19
|
-
];
|
|
20
|
-
const CLIENT_PROJECT_PHASES = [
|
|
21
|
-
{
|
|
22
|
-
label: "Brand",
|
|
23
|
-
value: "brand",
|
|
24
|
-
description: "General/Company branded content"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: "Phase 1",
|
|
28
|
-
value: "p1",
|
|
29
|
-
description: "Interest list building"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
label: "Phase 2",
|
|
33
|
-
value: "p2",
|
|
34
|
-
description: "Pre-qualification, pre-sales"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
label: "Phase 3",
|
|
38
|
-
value: "p3",
|
|
39
|
-
description: "Grand opening, now open, available"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
label: "Phase 4",
|
|
43
|
-
value: "p4",
|
|
44
|
-
description: "For sale, maintenance period"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
label: "Phase 5",
|
|
48
|
-
value: "p5",
|
|
49
|
-
description: "Final sale"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
label: "Closed",
|
|
53
|
-
value: "closed",
|
|
54
|
-
description: "Sold out, no longer available"
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
const CLIENT_PROJECT_PHASE_VALUES = [
|
|
58
|
-
"brand",
|
|
59
|
-
"p1",
|
|
60
|
-
"p2",
|
|
61
|
-
"p3",
|
|
62
|
-
"p4",
|
|
63
|
-
"p5",
|
|
64
|
-
"closed"
|
|
65
|
-
];
|
|
66
|
-
const CLIENT_PROJECT_SORT_KEYS = [
|
|
67
|
-
"id",
|
|
68
|
-
"title",
|
|
69
|
-
"slug",
|
|
70
|
-
"is_active",
|
|
71
|
-
"is_hidden",
|
|
72
|
-
"project_phase",
|
|
73
|
-
"project_url",
|
|
74
|
-
"project_type",
|
|
75
|
-
"project_pricing",
|
|
76
|
-
"project_address",
|
|
77
|
-
"phone_number",
|
|
78
|
-
"num_of_models",
|
|
79
|
-
"num_of_units_remain",
|
|
80
|
-
"buyer_profile",
|
|
81
|
-
"social_organic_start_date",
|
|
82
|
-
"paid_media_start_date",
|
|
83
|
-
"go_date",
|
|
84
|
-
"createdAt",
|
|
85
|
-
"updatedAt"
|
|
86
|
-
];
|
|
87
|
-
//#endregion
|
|
88
|
-
//#region src/entities/client-project/fields.ts
|
|
89
|
-
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)));
|
|
90
|
-
const ClientProjectStatus = valibot.picklist(CLIENT_PROJECT_STATUS);
|
|
91
|
-
const ClientProjectPhase = valibot.picklist(CLIENT_PROJECT_PHASE_VALUES);
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region src/entities/client-project/document.ts
|
|
94
|
-
const ClientProjectDocument = valibot.object({
|
|
95
|
-
...require_document.BaseDocument.entries,
|
|
96
|
-
title: valibot.string(),
|
|
97
|
-
slug: valibot.string(),
|
|
98
|
-
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
99
|
-
is_active: valibot.boolean(),
|
|
100
|
-
is_hidden: valibot.boolean(),
|
|
101
|
-
project_status: valibot.array(ClientProjectStatus),
|
|
102
|
-
project_phase: ClientProjectPhase,
|
|
103
|
-
project_url: valibot.nullable(valibot.string()),
|
|
104
|
-
project_type: valibot.nullable(valibot.string()),
|
|
105
|
-
project_pricing: valibot.nullable(valibot.string()),
|
|
106
|
-
project_address: valibot.nullable(valibot.string()),
|
|
107
|
-
phone_number: valibot.nullable(valibot.string()),
|
|
108
|
-
num_of_models: valibot.nullable(valibot.number()),
|
|
109
|
-
num_of_units_remain: valibot.nullable(valibot.number()),
|
|
110
|
-
buyer_profile: valibot.nullable(valibot.string()),
|
|
111
|
-
social_organic_start_date: valibot.nullable(valibot.string()),
|
|
112
|
-
paid_media_start_date: valibot.nullable(valibot.string()),
|
|
113
|
-
go_date: valibot.nullable(valibot.string())
|
|
114
|
-
});
|
|
115
|
-
//#endregion
|
|
116
10
|
//#region src/entities/client-project/mutation.ts
|
|
117
11
|
const CreateClientProjectDocument = valibot.object({
|
|
118
12
|
clients: valibot.pipe(valibot.array(require_validators.VStringShort()), valibot.minLength(1)),
|
|
@@ -120,8 +14,8 @@ const CreateClientProjectDocument = valibot.object({
|
|
|
120
14
|
slug: require_validators.VStringSlug(),
|
|
121
15
|
is_active: valibot.boolean(),
|
|
122
16
|
is_hidden: valibot.boolean(),
|
|
123
|
-
project_status: valibot.pipe(valibot.array(valibot.optional(ClientProjectStatus, CLIENT_PROJECT_STATUS[0])), valibot.minLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS), valibot.maxLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS)),
|
|
124
|
-
project_phase: ClientProjectPhase,
|
|
17
|
+
project_status: valibot.pipe(valibot.array(valibot.optional(require_document$1.ClientProjectStatus, require_document$1.CLIENT_PROJECT_STATUS[0])), valibot.minLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS), valibot.maxLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS)),
|
|
18
|
+
project_phase: require_document$1.ClientProjectPhase,
|
|
125
19
|
project_url: require_validators.VStringUrlNullable(),
|
|
126
20
|
project_type: valibot.optional(valibot.nullable(require_validators.VStringMax())),
|
|
127
21
|
project_pricing: valibot.optional(valibot.nullable(require_validators.VStringMax())),
|
|
@@ -140,8 +34,8 @@ const UpdateClientProjectDocument = valibot.object({
|
|
|
140
34
|
slug: valibot.optional(require_validators.VStringSlug()),
|
|
141
35
|
is_active: valibot.optional(valibot.boolean()),
|
|
142
36
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
143
|
-
project_status: valibot.optional(valibot.pipe(valibot.array(valibot.optional(ClientProjectStatus, CLIENT_PROJECT_STATUS[0])), valibot.minLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS), valibot.maxLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS))),
|
|
144
|
-
project_phase: valibot.optional(ClientProjectPhase),
|
|
37
|
+
project_status: valibot.optional(valibot.pipe(valibot.array(valibot.optional(require_document$1.ClientProjectStatus, require_document$1.CLIENT_PROJECT_STATUS[0])), valibot.minLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS), valibot.maxLength(1, require_regex.ERROR_MESSAGE_ONE_PROJECT_STATUS))),
|
|
38
|
+
project_phase: valibot.optional(require_document$1.ClientProjectPhase),
|
|
145
39
|
project_url: require_validators.VStringUrlNullable(),
|
|
146
40
|
project_type: valibot.optional(valibot.nullable(require_validators.VStringMax())),
|
|
147
41
|
project_pricing: valibot.optional(valibot.nullable(require_validators.VStringMax())),
|
|
@@ -172,8 +66,8 @@ const QueryStrapiSearchClientProjects = valibot.object({
|
|
|
172
66
|
slug: valibot.optional(require_validators.VStringSlug()),
|
|
173
67
|
is_active: valibot.optional(valibot.boolean()),
|
|
174
68
|
is_hidden: valibot.optional(valibot.boolean()),
|
|
175
|
-
project_status: valibot.optional(valibot.pipe(valibot.array(valibot.optional(ClientProjectStatus, CLIENT_PROJECT_STATUS[0])), valibot.minLength(1), valibot.maxLength(1))),
|
|
176
|
-
project_phase: valibot.optional(ClientProjectPhase),
|
|
69
|
+
project_status: valibot.optional(valibot.pipe(valibot.array(valibot.optional(require_document$1.ClientProjectStatus, require_document$1.CLIENT_PROJECT_STATUS[0])), valibot.minLength(1), valibot.maxLength(1))),
|
|
70
|
+
project_phase: valibot.optional(require_document$1.ClientProjectPhase),
|
|
177
71
|
project_url: valibot.optional(require_validators.VStringUrl()),
|
|
178
72
|
project_type: valibot.optional(require_validators.VStringMax()),
|
|
179
73
|
project_pricing: valibot.optional(require_validators.VStringMax(255)),
|
|
@@ -185,20 +79,27 @@ const QueryStrapiSearchClientProjects = valibot.object({
|
|
|
185
79
|
social_organic_start_date: valibot.optional(valibot.pipe(valibot.string(), valibot.isoDate())),
|
|
186
80
|
paid_media_start_date: valibot.optional(valibot.pipe(valibot.string(), valibot.isoDate())),
|
|
187
81
|
go_date: valibot.optional(valibot.pipe(valibot.string(), valibot.isoDate())),
|
|
188
|
-
sort: QuerySortClientProjects
|
|
82
|
+
sort: require_document$1.QuerySortClientProjects
|
|
83
|
+
});
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/entities/client-project/relations.ts
|
|
86
|
+
const ClientProjectDocumentWithRelations = valibot.object({
|
|
87
|
+
...require_document$1.ClientProjectDocument.entries,
|
|
88
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document.ClientDocument))))
|
|
189
89
|
});
|
|
190
90
|
//#endregion
|
|
191
|
-
exports.CLIENT_PROJECT_PHASES = CLIENT_PROJECT_PHASES;
|
|
192
|
-
exports.CLIENT_PROJECT_PHASE_VALUES = CLIENT_PROJECT_PHASE_VALUES;
|
|
193
|
-
exports.CLIENT_PROJECT_SORT_KEYS = CLIENT_PROJECT_SORT_KEYS;
|
|
194
|
-
exports.CLIENT_PROJECT_STATUS = CLIENT_PROJECT_STATUS;
|
|
195
|
-
exports.ClientProjectDocument = ClientProjectDocument;
|
|
196
|
-
exports.
|
|
197
|
-
exports.
|
|
91
|
+
exports.CLIENT_PROJECT_PHASES = require_document$1.CLIENT_PROJECT_PHASES;
|
|
92
|
+
exports.CLIENT_PROJECT_PHASE_VALUES = require_document$1.CLIENT_PROJECT_PHASE_VALUES;
|
|
93
|
+
exports.CLIENT_PROJECT_SORT_KEYS = require_document$1.CLIENT_PROJECT_SORT_KEYS;
|
|
94
|
+
exports.CLIENT_PROJECT_STATUS = require_document$1.CLIENT_PROJECT_STATUS;
|
|
95
|
+
exports.ClientProjectDocument = require_document$1.ClientProjectDocument;
|
|
96
|
+
exports.ClientProjectDocumentWithRelations = ClientProjectDocumentWithRelations;
|
|
97
|
+
exports.ClientProjectPhase = require_document$1.ClientProjectPhase;
|
|
98
|
+
exports.ClientProjectStatus = require_document$1.ClientProjectStatus;
|
|
198
99
|
exports.CreateClientProjectDocument = CreateClientProjectDocument;
|
|
199
|
-
exports.LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE;
|
|
200
|
-
exports.LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE;
|
|
201
|
-
exports.QuerySortClientProjects = QuerySortClientProjects;
|
|
100
|
+
exports.LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = require_document$1.LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE;
|
|
101
|
+
exports.LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = require_document$1.LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE;
|
|
102
|
+
exports.QuerySortClientProjects = require_document$1.QuerySortClientProjects;
|
|
202
103
|
exports.QueryStrapiSearchClientProjects = QueryStrapiSearchClientProjects;
|
|
203
104
|
exports.SAssociateClientToClientProjectDocument = SAssociateClientToClientProjectDocument;
|
|
204
105
|
exports.UpdateClientProjectDocument = UpdateClientProjectDocument;
|
|
@@ -38,7 +38,7 @@ declare const CLIENT_PROJECT_PHASE_VALUES: readonly ["brand", "p1", "p2", "p3",
|
|
|
38
38
|
declare const CLIENT_PROJECT_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_hidden", "project_phase", "project_url", "project_type", "project_pricing", "project_address", "phone_number", "num_of_models", "num_of_units_remain", "buyer_profile", "social_organic_start_date", "paid_media_start_date", "go_date", "createdAt", "updatedAt"];
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/entities/client-project/fields.d.ts
|
|
41
|
-
declare const QuerySortClientProjects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
41
|
+
declare const QuerySortClientProjects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], 19, undefined>]>, undefined>;
|
|
42
42
|
type QuerySortClientProjects = v.InferOutput<typeof QuerySortClientProjects>;
|
|
43
43
|
declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
|
|
44
44
|
type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
|
|
@@ -140,8 +140,337 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
140
140
|
readonly social_organic_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
141
141
|
readonly paid_media_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
142
142
|
readonly go_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
143
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
143
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "title:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:DESC" | "slug:ASC" | "slug:DESC" | "is_active:ASC" | "is_active:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], 19, undefined>]>, undefined>;
|
|
144
144
|
}, undefined>;
|
|
145
145
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
146
146
|
//#endregion
|
|
147
|
-
|
|
147
|
+
//#region src/entities/client-project/relations.d.ts
|
|
148
|
+
declare const ClientProjectDocumentWithRelations: v.ObjectSchema<{
|
|
149
|
+
readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
150
|
+
readonly title: v.StringSchema<undefined>;
|
|
151
|
+
readonly is_featured: v.BooleanSchema<undefined>;
|
|
152
|
+
readonly logos: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
153
|
+
readonly light: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
154
|
+
readonly name: v.StringSchema<undefined>;
|
|
155
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
+
readonly width: v.NumberSchema<undefined>;
|
|
158
|
+
readonly height: v.NumberSchema<undefined>;
|
|
159
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
160
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
161
|
+
readonly ext: v.StringSchema<undefined>;
|
|
162
|
+
readonly url: v.StringSchema<undefined>;
|
|
163
|
+
readonly hash: v.StringSchema<undefined>;
|
|
164
|
+
readonly mime: v.StringSchema<undefined>;
|
|
165
|
+
readonly name: v.StringSchema<undefined>;
|
|
166
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
167
|
+
readonly size: v.NumberSchema<undefined>;
|
|
168
|
+
readonly width: v.NumberSchema<undefined>;
|
|
169
|
+
readonly height: v.NumberSchema<undefined>;
|
|
170
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
171
|
+
}, undefined>, undefined>;
|
|
172
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
173
|
+
readonly ext: v.StringSchema<undefined>;
|
|
174
|
+
readonly url: v.StringSchema<undefined>;
|
|
175
|
+
readonly hash: v.StringSchema<undefined>;
|
|
176
|
+
readonly mime: v.StringSchema<undefined>;
|
|
177
|
+
readonly name: v.StringSchema<undefined>;
|
|
178
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
179
|
+
readonly size: v.NumberSchema<undefined>;
|
|
180
|
+
readonly width: v.NumberSchema<undefined>;
|
|
181
|
+
readonly height: v.NumberSchema<undefined>;
|
|
182
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
183
|
+
}, undefined>, undefined>;
|
|
184
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
185
|
+
readonly ext: v.StringSchema<undefined>;
|
|
186
|
+
readonly url: v.StringSchema<undefined>;
|
|
187
|
+
readonly hash: v.StringSchema<undefined>;
|
|
188
|
+
readonly mime: v.StringSchema<undefined>;
|
|
189
|
+
readonly name: v.StringSchema<undefined>;
|
|
190
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
191
|
+
readonly size: v.NumberSchema<undefined>;
|
|
192
|
+
readonly width: v.NumberSchema<undefined>;
|
|
193
|
+
readonly height: v.NumberSchema<undefined>;
|
|
194
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
195
|
+
}, undefined>, undefined>;
|
|
196
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
197
|
+
readonly ext: v.StringSchema<undefined>;
|
|
198
|
+
readonly url: v.StringSchema<undefined>;
|
|
199
|
+
readonly hash: v.StringSchema<undefined>;
|
|
200
|
+
readonly mime: v.StringSchema<undefined>;
|
|
201
|
+
readonly name: v.StringSchema<undefined>;
|
|
202
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
203
|
+
readonly size: v.NumberSchema<undefined>;
|
|
204
|
+
readonly width: v.NumberSchema<undefined>;
|
|
205
|
+
readonly height: v.NumberSchema<undefined>;
|
|
206
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
207
|
+
}, undefined>, undefined>;
|
|
208
|
+
}, undefined>, undefined>, undefined>;
|
|
209
|
+
readonly hash: v.StringSchema<undefined>;
|
|
210
|
+
readonly ext: v.StringSchema<undefined>;
|
|
211
|
+
readonly mime: v.StringSchema<undefined>;
|
|
212
|
+
readonly size: v.NumberSchema<undefined>;
|
|
213
|
+
readonly url: v.StringSchema<undefined>;
|
|
214
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
215
|
+
readonly provider: v.StringSchema<undefined>;
|
|
216
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
217
|
+
readonly id: v.NumberSchema<undefined>;
|
|
218
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
219
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
220
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
221
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
222
|
+
}, undefined>>, undefined>, undefined>;
|
|
223
|
+
readonly dark: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
224
|
+
readonly name: v.StringSchema<undefined>;
|
|
225
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
227
|
+
readonly width: v.NumberSchema<undefined>;
|
|
228
|
+
readonly height: v.NumberSchema<undefined>;
|
|
229
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
230
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
231
|
+
readonly ext: v.StringSchema<undefined>;
|
|
232
|
+
readonly url: v.StringSchema<undefined>;
|
|
233
|
+
readonly hash: v.StringSchema<undefined>;
|
|
234
|
+
readonly mime: v.StringSchema<undefined>;
|
|
235
|
+
readonly name: v.StringSchema<undefined>;
|
|
236
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
237
|
+
readonly size: v.NumberSchema<undefined>;
|
|
238
|
+
readonly width: v.NumberSchema<undefined>;
|
|
239
|
+
readonly height: v.NumberSchema<undefined>;
|
|
240
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
241
|
+
}, undefined>, undefined>;
|
|
242
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
243
|
+
readonly ext: v.StringSchema<undefined>;
|
|
244
|
+
readonly url: v.StringSchema<undefined>;
|
|
245
|
+
readonly hash: v.StringSchema<undefined>;
|
|
246
|
+
readonly mime: v.StringSchema<undefined>;
|
|
247
|
+
readonly name: v.StringSchema<undefined>;
|
|
248
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
249
|
+
readonly size: v.NumberSchema<undefined>;
|
|
250
|
+
readonly width: v.NumberSchema<undefined>;
|
|
251
|
+
readonly height: v.NumberSchema<undefined>;
|
|
252
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
253
|
+
}, undefined>, undefined>;
|
|
254
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
255
|
+
readonly ext: v.StringSchema<undefined>;
|
|
256
|
+
readonly url: v.StringSchema<undefined>;
|
|
257
|
+
readonly hash: v.StringSchema<undefined>;
|
|
258
|
+
readonly mime: v.StringSchema<undefined>;
|
|
259
|
+
readonly name: v.StringSchema<undefined>;
|
|
260
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
261
|
+
readonly size: v.NumberSchema<undefined>;
|
|
262
|
+
readonly width: v.NumberSchema<undefined>;
|
|
263
|
+
readonly height: v.NumberSchema<undefined>;
|
|
264
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
265
|
+
}, undefined>, undefined>;
|
|
266
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
267
|
+
readonly ext: v.StringSchema<undefined>;
|
|
268
|
+
readonly url: v.StringSchema<undefined>;
|
|
269
|
+
readonly hash: v.StringSchema<undefined>;
|
|
270
|
+
readonly mime: v.StringSchema<undefined>;
|
|
271
|
+
readonly name: v.StringSchema<undefined>;
|
|
272
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
+
readonly size: v.NumberSchema<undefined>;
|
|
274
|
+
readonly width: v.NumberSchema<undefined>;
|
|
275
|
+
readonly height: v.NumberSchema<undefined>;
|
|
276
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
277
|
+
}, undefined>, undefined>;
|
|
278
|
+
}, undefined>, undefined>, undefined>;
|
|
279
|
+
readonly hash: v.StringSchema<undefined>;
|
|
280
|
+
readonly ext: v.StringSchema<undefined>;
|
|
281
|
+
readonly mime: v.StringSchema<undefined>;
|
|
282
|
+
readonly size: v.NumberSchema<undefined>;
|
|
283
|
+
readonly url: v.StringSchema<undefined>;
|
|
284
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
285
|
+
readonly provider: v.StringSchema<undefined>;
|
|
286
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
287
|
+
readonly id: v.NumberSchema<undefined>;
|
|
288
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
289
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
291
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
292
|
+
}, undefined>>, undefined>, undefined>;
|
|
293
|
+
readonly color: v.ObjectSchema<{
|
|
294
|
+
readonly name: v.StringSchema<undefined>;
|
|
295
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
296
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
297
|
+
readonly width: v.NumberSchema<undefined>;
|
|
298
|
+
readonly height: v.NumberSchema<undefined>;
|
|
299
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
300
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
301
|
+
readonly ext: v.StringSchema<undefined>;
|
|
302
|
+
readonly url: v.StringSchema<undefined>;
|
|
303
|
+
readonly hash: v.StringSchema<undefined>;
|
|
304
|
+
readonly mime: v.StringSchema<undefined>;
|
|
305
|
+
readonly name: v.StringSchema<undefined>;
|
|
306
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
307
|
+
readonly size: v.NumberSchema<undefined>;
|
|
308
|
+
readonly width: v.NumberSchema<undefined>;
|
|
309
|
+
readonly height: v.NumberSchema<undefined>;
|
|
310
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
311
|
+
}, undefined>, undefined>;
|
|
312
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
313
|
+
readonly ext: v.StringSchema<undefined>;
|
|
314
|
+
readonly url: v.StringSchema<undefined>;
|
|
315
|
+
readonly hash: v.StringSchema<undefined>;
|
|
316
|
+
readonly mime: v.StringSchema<undefined>;
|
|
317
|
+
readonly name: v.StringSchema<undefined>;
|
|
318
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
319
|
+
readonly size: v.NumberSchema<undefined>;
|
|
320
|
+
readonly width: v.NumberSchema<undefined>;
|
|
321
|
+
readonly height: v.NumberSchema<undefined>;
|
|
322
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
323
|
+
}, undefined>, undefined>;
|
|
324
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
325
|
+
readonly ext: v.StringSchema<undefined>;
|
|
326
|
+
readonly url: v.StringSchema<undefined>;
|
|
327
|
+
readonly hash: v.StringSchema<undefined>;
|
|
328
|
+
readonly mime: v.StringSchema<undefined>;
|
|
329
|
+
readonly name: v.StringSchema<undefined>;
|
|
330
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
331
|
+
readonly size: v.NumberSchema<undefined>;
|
|
332
|
+
readonly width: v.NumberSchema<undefined>;
|
|
333
|
+
readonly height: v.NumberSchema<undefined>;
|
|
334
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
335
|
+
}, undefined>, undefined>;
|
|
336
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
337
|
+
readonly ext: v.StringSchema<undefined>;
|
|
338
|
+
readonly url: v.StringSchema<undefined>;
|
|
339
|
+
readonly hash: v.StringSchema<undefined>;
|
|
340
|
+
readonly mime: v.StringSchema<undefined>;
|
|
341
|
+
readonly name: v.StringSchema<undefined>;
|
|
342
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
343
|
+
readonly size: v.NumberSchema<undefined>;
|
|
344
|
+
readonly width: v.NumberSchema<undefined>;
|
|
345
|
+
readonly height: v.NumberSchema<undefined>;
|
|
346
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
347
|
+
}, undefined>, undefined>;
|
|
348
|
+
}, undefined>, undefined>, undefined>;
|
|
349
|
+
readonly hash: v.StringSchema<undefined>;
|
|
350
|
+
readonly ext: v.StringSchema<undefined>;
|
|
351
|
+
readonly mime: v.StringSchema<undefined>;
|
|
352
|
+
readonly size: v.NumberSchema<undefined>;
|
|
353
|
+
readonly url: v.StringSchema<undefined>;
|
|
354
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
355
|
+
readonly provider: v.StringSchema<undefined>;
|
|
356
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
357
|
+
readonly id: v.NumberSchema<undefined>;
|
|
358
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
359
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
360
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
361
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
362
|
+
}, undefined>;
|
|
363
|
+
readonly id: v.NumberSchema<undefined>;
|
|
364
|
+
}, undefined>, undefined>, undefined>;
|
|
365
|
+
readonly teamwork_id: v.StringSchema<undefined>;
|
|
366
|
+
readonly teamwork_name: v.StringSchema<undefined>;
|
|
367
|
+
readonly gainapp_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
368
|
+
readonly utm_sheet_id: v.StringSchema<undefined>;
|
|
369
|
+
readonly allow_create_utm_link: v.BooleanSchema<undefined>;
|
|
370
|
+
readonly is_organic_social: v.BooleanSchema<undefined>;
|
|
371
|
+
readonly is_paid_media: v.BooleanSchema<undefined>;
|
|
372
|
+
readonly is_active: v.BooleanSchema<undefined>;
|
|
373
|
+
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
374
|
+
readonly classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
|
|
375
|
+
readonly id: v.NumberSchema<undefined>;
|
|
376
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
377
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
378
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
379
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
380
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
381
|
+
readonly title: v.StringSchema<undefined>;
|
|
382
|
+
readonly slug: v.StringSchema<undefined>;
|
|
383
|
+
readonly featured_image: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
384
|
+
readonly name: v.StringSchema<undefined>;
|
|
385
|
+
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
386
|
+
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
387
|
+
readonly width: v.NumberSchema<undefined>;
|
|
388
|
+
readonly height: v.NumberSchema<undefined>;
|
|
389
|
+
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
390
|
+
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
391
|
+
readonly ext: v.StringSchema<undefined>;
|
|
392
|
+
readonly url: v.StringSchema<undefined>;
|
|
393
|
+
readonly hash: v.StringSchema<undefined>;
|
|
394
|
+
readonly mime: v.StringSchema<undefined>;
|
|
395
|
+
readonly name: v.StringSchema<undefined>;
|
|
396
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
397
|
+
readonly size: v.NumberSchema<undefined>;
|
|
398
|
+
readonly width: v.NumberSchema<undefined>;
|
|
399
|
+
readonly height: v.NumberSchema<undefined>;
|
|
400
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
401
|
+
}, undefined>, undefined>;
|
|
402
|
+
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
403
|
+
readonly ext: v.StringSchema<undefined>;
|
|
404
|
+
readonly url: v.StringSchema<undefined>;
|
|
405
|
+
readonly hash: v.StringSchema<undefined>;
|
|
406
|
+
readonly mime: v.StringSchema<undefined>;
|
|
407
|
+
readonly name: v.StringSchema<undefined>;
|
|
408
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
409
|
+
readonly size: v.NumberSchema<undefined>;
|
|
410
|
+
readonly width: v.NumberSchema<undefined>;
|
|
411
|
+
readonly height: v.NumberSchema<undefined>;
|
|
412
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
413
|
+
}, undefined>, undefined>;
|
|
414
|
+
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
415
|
+
readonly ext: v.StringSchema<undefined>;
|
|
416
|
+
readonly url: v.StringSchema<undefined>;
|
|
417
|
+
readonly hash: v.StringSchema<undefined>;
|
|
418
|
+
readonly mime: v.StringSchema<undefined>;
|
|
419
|
+
readonly name: v.StringSchema<undefined>;
|
|
420
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
421
|
+
readonly size: v.NumberSchema<undefined>;
|
|
422
|
+
readonly width: v.NumberSchema<undefined>;
|
|
423
|
+
readonly height: v.NumberSchema<undefined>;
|
|
424
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
425
|
+
}, undefined>, undefined>;
|
|
426
|
+
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
427
|
+
readonly ext: v.StringSchema<undefined>;
|
|
428
|
+
readonly url: v.StringSchema<undefined>;
|
|
429
|
+
readonly hash: v.StringSchema<undefined>;
|
|
430
|
+
readonly mime: v.StringSchema<undefined>;
|
|
431
|
+
readonly name: v.StringSchema<undefined>;
|
|
432
|
+
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
433
|
+
readonly size: v.NumberSchema<undefined>;
|
|
434
|
+
readonly width: v.NumberSchema<undefined>;
|
|
435
|
+
readonly height: v.NumberSchema<undefined>;
|
|
436
|
+
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
437
|
+
}, undefined>, undefined>;
|
|
438
|
+
}, undefined>, undefined>, undefined>;
|
|
439
|
+
readonly hash: v.StringSchema<undefined>;
|
|
440
|
+
readonly ext: v.StringSchema<undefined>;
|
|
441
|
+
readonly mime: v.StringSchema<undefined>;
|
|
442
|
+
readonly size: v.NumberSchema<undefined>;
|
|
443
|
+
readonly url: v.StringSchema<undefined>;
|
|
444
|
+
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
445
|
+
readonly provider: v.StringSchema<undefined>;
|
|
446
|
+
readonly provider_metadata: v.NullSchema<undefined>;
|
|
447
|
+
readonly id: v.NumberSchema<undefined>;
|
|
448
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
449
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
450
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
451
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
452
|
+
}, undefined>>, undefined>, undefined>;
|
|
453
|
+
readonly is_active: v.BooleanSchema<undefined>;
|
|
454
|
+
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
455
|
+
readonly project_status: v.ArraySchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>, undefined>;
|
|
456
|
+
readonly project_phase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>;
|
|
457
|
+
readonly project_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
458
|
+
readonly project_type: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
459
|
+
readonly project_pricing: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
460
|
+
readonly project_address: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
461
|
+
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
462
|
+
readonly num_of_models: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
463
|
+
readonly num_of_units_remain: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
464
|
+
readonly buyer_profile: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
465
|
+
readonly social_organic_start_date: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
466
|
+
readonly paid_media_start_date: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
467
|
+
readonly go_date: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
468
|
+
readonly id: v.NumberSchema<undefined>;
|
|
469
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
470
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
471
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
472
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
473
|
+
}, undefined>;
|
|
474
|
+
type ClientProjectDocumentWithRelations = v.InferOutput<typeof ClientProjectDocumentWithRelations>;
|
|
475
|
+
//#endregion
|
|
476
|
+
export { CLIENT_PROJECT_PHASES, CLIENT_PROJECT_PHASE_VALUES, CLIENT_PROJECT_SORT_KEYS, CLIENT_PROJECT_STATUS, ClientProjectDocument, ClientProjectDocumentWithRelations, ClientProjectPhase, ClientProjectStatus, CreateClientProjectDocument, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, QuerySortClientProjects, QueryStrapiSearchClientProjects, SAssociateClientToClientProjectDocument, UpdateClientProjectDocument, UpdateClientProjectDocumentRequest };
|