@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
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
const require_media_upload = require("./media-upload-B6aQYeRM.cjs");
|
|
4
|
-
const require_components_shared_index = require("./components/shared/index.cjs");
|
|
5
|
-
const require_components_brand_index = require("./components/brand/index.cjs");
|
|
6
|
-
let valibot = require("valibot");
|
|
7
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
|
-
//#region src/entities/client-styleguide/document.ts
|
|
9
|
-
const ClientStyleguideDocument = valibot.object({
|
|
10
|
-
...require_document.BaseDocument.entries,
|
|
11
|
-
title: valibot.string(),
|
|
12
|
-
is_active: valibot.boolean(),
|
|
13
|
-
introduction: valibot.array(require_components_shared_index.RichTextBlock),
|
|
14
|
-
voice: valibot.array(require_components_shared_index.RichTextBlock),
|
|
15
|
-
communication: valibot.array(require_components_shared_index.RichTextBlock),
|
|
16
|
-
brand_elements: valibot.array(require_components_shared_index.RichTextBlock),
|
|
17
|
-
brand_intention: valibot.array(require_components_shared_index.RichTextBlock),
|
|
18
|
-
mood: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
19
|
-
logos: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
20
|
-
brand_colors: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideColor)),
|
|
21
|
-
brand_fonts: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideFont)),
|
|
22
|
-
brand_application: valibot.optional(valibot.array(valibot.lazy(() => require_media_upload.MediaUploadDocument)))
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
|
-
Object.defineProperty(exports, "ClientStyleguideDocument", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function() {
|
|
28
|
-
return ClientStyleguideDocument;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/up-permission/document.ts
|
|
6
|
-
const PermissionDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
action: valibot.string()
|
|
9
|
-
});
|
|
10
|
-
//#endregion
|
|
11
|
-
Object.defineProperty(exports, "PermissionDocument", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function() {
|
|
14
|
-
return PermissionDocument;
|
|
15
|
-
}
|
|
16
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import { RichTextBlock } from "./components/shared/index.mjs";
|
|
3
|
-
import { t as ClientDocument } from "./document-CW3ycXvJ.mjs";
|
|
4
|
-
import * as v from "valibot";
|
|
5
|
-
//#region src/entities/content-pillar/document.ts
|
|
6
|
-
const ContentPillarDocument = v.object({
|
|
7
|
-
...BaseDocument.entries,
|
|
8
|
-
title: v.string(),
|
|
9
|
-
slug: v.string(),
|
|
10
|
-
description: v.nullable(v.string()),
|
|
11
|
-
information: v.nullable(v.array(RichTextBlock))
|
|
12
|
-
});
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
15
|
-
const ClientContentPillarDocument = v.object({
|
|
16
|
-
...BaseDocument.entries,
|
|
17
|
-
is_active: v.boolean(),
|
|
18
|
-
client: v.optional(v.nullable(v.lazy(() => ClientDocument))),
|
|
19
|
-
content_pillar: v.optional(v.nullable(v.lazy(() => ContentPillarDocument)))
|
|
20
|
-
});
|
|
21
|
-
//#endregion
|
|
22
|
-
export { ContentPillarDocument as n, ClientContentPillarDocument as t };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/gcflytour/document.ts
|
|
6
|
-
const GCFlyTourDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
title: valibot.string(),
|
|
9
|
-
slug: valibot.string(),
|
|
10
|
-
description: valibot.nullable(valibot.string()),
|
|
11
|
-
is_active: valibot.boolean(),
|
|
12
|
-
is_hidden: valibot.boolean()
|
|
13
|
-
});
|
|
14
|
-
//#endregion
|
|
15
|
-
Object.defineProperty(exports, "GCFlyTourDocument", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function() {
|
|
18
|
-
return GCFlyTourDocument;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
-
import { BlockVideoEmbed } from "./components/blocks/index.mjs";
|
|
4
|
-
import { t as TeamMemberDocument } from "./document-Bpgteig6.mjs";
|
|
5
|
-
import * as v from "valibot";
|
|
6
|
-
//#region src/entities/trend/document.ts
|
|
7
|
-
const TrendDocument = v.object({
|
|
8
|
-
...BaseDocument.entries,
|
|
9
|
-
title: v.string(),
|
|
10
|
-
video_embed: v.optional(v.nullable(BlockVideoEmbed)),
|
|
11
|
-
caption: v.nullable(v.string()),
|
|
12
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
13
|
-
likes: v.number(),
|
|
14
|
-
creators: v.optional(v.nullable(v.array(v.lazy(() => TeamMemberDocument))))
|
|
15
|
-
});
|
|
16
|
-
//#endregion
|
|
17
|
-
export { TrendDocument as t };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/media-creative-format/document.ts
|
|
6
|
-
const MediaCreativeFormatDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
title: valibot.string(),
|
|
9
|
-
slug: valibot.string(),
|
|
10
|
-
is_active: valibot.boolean(),
|
|
11
|
-
description: valibot.nullable(valibot.string())
|
|
12
|
-
});
|
|
13
|
-
//#endregion
|
|
14
|
-
Object.defineProperty(exports, "MediaCreativeFormatDocument", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function() {
|
|
17
|
-
return MediaCreativeFormatDocument;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/gcflytour/document.d.ts
|
|
4
|
-
declare const GCFlyTourDocument: v.ObjectSchema<{
|
|
5
|
-
readonly title: v.StringSchema<undefined>;
|
|
6
|
-
readonly slug: v.StringSchema<undefined>;
|
|
7
|
-
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
9
|
-
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
10
|
-
readonly id: v.NumberSchema<undefined>;
|
|
11
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
12
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
14
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
type GCFlyTourDocument = v.InferOutput<typeof GCFlyTourDocument>;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { GCFlyTourDocument as t };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import { RichTextBlock } from "./components/shared/index.mjs";
|
|
3
|
-
import { BlockBrandLogos } from "./components/blocks/index.mjs";
|
|
4
|
-
import * as v from "valibot";
|
|
5
|
-
//#region src/entities/media-platform/document.ts
|
|
6
|
-
const MediaPlatformDocument = v.object({
|
|
7
|
-
...BaseDocument.entries,
|
|
8
|
-
title: v.string(),
|
|
9
|
-
slug: v.string(),
|
|
10
|
-
utm_key: v.string(),
|
|
11
|
-
is_active: v.boolean(),
|
|
12
|
-
is_organic_social: v.boolean(),
|
|
13
|
-
is_paid_media: v.boolean(),
|
|
14
|
-
logos: v.optional(v.nullable(BlockBrandLogos)),
|
|
15
|
-
description: v.nullable(v.string()),
|
|
16
|
-
information: v.nullable(v.array(RichTextBlock))
|
|
17
|
-
});
|
|
18
|
-
//#endregion
|
|
19
|
-
export { MediaPlatformDocument as t };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/client-media-platform/document.ts
|
|
6
|
-
const ClientMediaPlatformDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
url: valibot.nullable(valibot.string()),
|
|
9
|
-
is_active: valibot.boolean()
|
|
10
|
-
});
|
|
11
|
-
//#endregion
|
|
12
|
-
Object.defineProperty(exports, "ClientMediaPlatformDocument", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return ClientMediaPlatformDocument;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/client-report/document.d.ts
|
|
4
|
-
declare const ClientReportDocument: v.ObjectSchema<{
|
|
5
|
-
readonly title: v.StringSchema<undefined>;
|
|
6
|
-
readonly report_id: v.StringSchema<undefined>;
|
|
7
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
8
|
-
readonly is_external: v.BooleanSchema<undefined>;
|
|
9
|
-
readonly is_hidden: v.BooleanSchema<undefined>;
|
|
10
|
-
readonly scopes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
-
readonly id: v.NumberSchema<undefined>;
|
|
12
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
13
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
15
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
16
|
-
}, undefined>;
|
|
17
|
-
type ClientReportDocument = v.InferOutput<typeof ClientReportDocument>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { ClientReportDocument as t };
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
-
import * as v from "valibot";
|
|
4
|
-
//#region src/entities/client-project/constants.ts
|
|
5
|
-
const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
|
|
6
|
-
const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
|
|
7
|
-
const CLIENT_PROJECT_STATUS = [
|
|
8
|
-
"coming-soon",
|
|
9
|
-
"now-open",
|
|
10
|
-
"for-sale",
|
|
11
|
-
"sold-out",
|
|
12
|
-
"available"
|
|
13
|
-
];
|
|
14
|
-
const CLIENT_PROJECT_PHASES = [
|
|
15
|
-
{
|
|
16
|
-
label: "Brand",
|
|
17
|
-
value: "brand",
|
|
18
|
-
description: "General/Company branded content"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
label: "Phase 1",
|
|
22
|
-
value: "p1",
|
|
23
|
-
description: "Interest list building"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: "Phase 2",
|
|
27
|
-
value: "p2",
|
|
28
|
-
description: "Pre-qualification, pre-sales"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: "Phase 3",
|
|
32
|
-
value: "p3",
|
|
33
|
-
description: "Grand opening, now open, available"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
label: "Phase 4",
|
|
37
|
-
value: "p4",
|
|
38
|
-
description: "For sale, maintenance period"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: "Phase 5",
|
|
42
|
-
value: "p5",
|
|
43
|
-
description: "Final sale"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
label: "Closed",
|
|
47
|
-
value: "closed",
|
|
48
|
-
description: "Sold out, no longer available"
|
|
49
|
-
}
|
|
50
|
-
];
|
|
51
|
-
const CLIENT_PROJECT_PHASE_VALUES = [
|
|
52
|
-
"brand",
|
|
53
|
-
"p1",
|
|
54
|
-
"p2",
|
|
55
|
-
"p3",
|
|
56
|
-
"p4",
|
|
57
|
-
"p5",
|
|
58
|
-
"closed"
|
|
59
|
-
];
|
|
60
|
-
const CLIENT_PROJECT_SORT_KEYS = [
|
|
61
|
-
"id",
|
|
62
|
-
"title",
|
|
63
|
-
"slug",
|
|
64
|
-
"is_active",
|
|
65
|
-
"is_hidden",
|
|
66
|
-
"project_phase",
|
|
67
|
-
"project_url",
|
|
68
|
-
"project_type",
|
|
69
|
-
"project_pricing",
|
|
70
|
-
"project_address",
|
|
71
|
-
"phone_number",
|
|
72
|
-
"num_of_models",
|
|
73
|
-
"num_of_units_remain",
|
|
74
|
-
"buyer_profile",
|
|
75
|
-
"social_organic_start_date",
|
|
76
|
-
"paid_media_start_date",
|
|
77
|
-
"go_date",
|
|
78
|
-
"createdAt",
|
|
79
|
-
"updatedAt"
|
|
80
|
-
];
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region src/entities/client-project/fields.ts
|
|
83
|
-
const QuerySortClientProjects = v.optional(v.pipe(v.array(v.picklist(CLIENT_PROJECT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(CLIENT_PROJECT_SORT_KEYS.length)));
|
|
84
|
-
const ClientProjectStatus = v.picklist(CLIENT_PROJECT_STATUS);
|
|
85
|
-
const ClientProjectPhase = v.picklist(CLIENT_PROJECT_PHASE_VALUES);
|
|
86
|
-
//#endregion
|
|
87
|
-
//#region src/entities/client-project/document.ts
|
|
88
|
-
const ClientProjectDocument = v.object({
|
|
89
|
-
...BaseDocument.entries,
|
|
90
|
-
title: v.string(),
|
|
91
|
-
slug: v.string(),
|
|
92
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
93
|
-
is_active: v.boolean(),
|
|
94
|
-
is_hidden: v.boolean(),
|
|
95
|
-
project_status: v.array(ClientProjectStatus),
|
|
96
|
-
project_phase: ClientProjectPhase,
|
|
97
|
-
project_url: v.nullable(v.string()),
|
|
98
|
-
project_type: v.nullable(v.string()),
|
|
99
|
-
project_pricing: v.nullable(v.string()),
|
|
100
|
-
project_address: v.nullable(v.string()),
|
|
101
|
-
phone_number: v.nullable(v.string()),
|
|
102
|
-
num_of_models: v.nullable(v.number()),
|
|
103
|
-
num_of_units_remain: v.nullable(v.number()),
|
|
104
|
-
buyer_profile: v.nullable(v.string()),
|
|
105
|
-
social_organic_start_date: v.nullable(v.string()),
|
|
106
|
-
paid_media_start_date: v.nullable(v.string()),
|
|
107
|
-
go_date: v.nullable(v.string())
|
|
108
|
-
});
|
|
109
|
-
//#endregion
|
|
110
|
-
export { CLIENT_PROJECT_PHASES as a, CLIENT_PROJECT_STATUS as c, QuerySortClientProjects as i, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE as l, ClientProjectPhase as n, CLIENT_PROJECT_PHASE_VALUES as o, ClientProjectStatus as r, CLIENT_PROJECT_SORT_KEYS as s, ClientProjectDocument as t, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE as u };
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import { r as MediaUploadDocument } from "./media-upload-DiRJksSU.mjs";
|
|
3
|
-
import { ComponentSharedRichTextBlock, SeoMeta } from "./components/shared/index.mjs";
|
|
4
|
-
import { ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "./components/blocks/index.mjs";
|
|
5
|
-
import { ComponentFormSelect } from "./components/forms/index.mjs";
|
|
6
|
-
import { ComponentSlideshow } from "./components/slideshow/index.mjs";
|
|
7
|
-
import * as v from "valibot";
|
|
8
|
-
//#region src/entities/blog-post/constants.ts
|
|
9
|
-
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
10
|
-
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
11
|
-
const BLOG_POST_SORT_KEYS = [
|
|
12
|
-
"id",
|
|
13
|
-
"title",
|
|
14
|
-
"slug",
|
|
15
|
-
"is_live",
|
|
16
|
-
"is_featured",
|
|
17
|
-
"is_public",
|
|
18
|
-
"published",
|
|
19
|
-
"createdAt",
|
|
20
|
-
"updatedAt"
|
|
21
|
-
];
|
|
22
|
-
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/entities/blog-post/fields.ts
|
|
25
|
-
const QuerySortBlogPosts = v.optional(v.pipe(v.array(v.picklist(BLOG_POST_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(BLOG_POST_SORT_KEYS.length)));
|
|
26
|
-
const BlogPostLayout = v.picklist(BLOG_POST_LAYOUT);
|
|
27
|
-
const BlogPostBlock = v.union([
|
|
28
|
-
v.lazy(() => ComponentBlockSectionTitle),
|
|
29
|
-
v.lazy(() => ComponentBlockGraphicImage),
|
|
30
|
-
v.lazy(() => ComponentBlockPullQuote),
|
|
31
|
-
v.lazy(() => ComponentBlockVideo),
|
|
32
|
-
v.lazy(() => ComponentBlockFaq),
|
|
33
|
-
v.lazy(() => ComponentBlockContact),
|
|
34
|
-
v.lazy(() => ComponentBlockButtonGroup),
|
|
35
|
-
v.lazy(() => ComponentBlockFullscreenContent),
|
|
36
|
-
v.lazy(() => ComponentFormSelect),
|
|
37
|
-
v.lazy(() => ComponentSlideshow),
|
|
38
|
-
v.lazy(() => ComponentSharedRichTextBlock)
|
|
39
|
-
]);
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region src/entities/blog-post/document.ts
|
|
42
|
-
const BlogPostDocument = v.object({
|
|
43
|
-
...BaseDocument.entries,
|
|
44
|
-
title: v.string(),
|
|
45
|
-
slug: v.string(),
|
|
46
|
-
excerpt: v.string(),
|
|
47
|
-
published: v.string(),
|
|
48
|
-
is_live: v.boolean(),
|
|
49
|
-
is_featured: v.boolean(),
|
|
50
|
-
is_public: v.boolean(),
|
|
51
|
-
seo: v.optional(v.nullable(SeoMeta)),
|
|
52
|
-
layout: v.nullable(BlogPostLayout),
|
|
53
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
54
|
-
blocks: v.optional(v.array(v.lazy(() => BlogPostBlock)))
|
|
55
|
-
});
|
|
56
|
-
//#endregion
|
|
57
|
-
export { BLOG_POST_LAYOUT as a, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE as c, QuerySortBlogPosts as i, BlogPostBlock as n, BLOG_POST_SORT_KEYS as o, BlogPostLayout as r, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE as s, BlogPostDocument as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
//#region src/entities/category/document.ts
|
|
4
|
-
const CategoryDocument = v.object({
|
|
5
|
-
...BaseDocument.entries,
|
|
6
|
-
label: v.string(),
|
|
7
|
-
slug: v.string()
|
|
8
|
-
});
|
|
9
|
-
//#endregion
|
|
10
|
-
export { CategoryDocument as t };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/category/document.ts
|
|
6
|
-
const CategoryDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
label: valibot.string(),
|
|
9
|
-
slug: valibot.string()
|
|
10
|
-
});
|
|
11
|
-
//#endregion
|
|
12
|
-
Object.defineProperty(exports, "CategoryDocument", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function() {
|
|
15
|
-
return CategoryDocument;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/gcflytour-snap/document.ts
|
|
6
|
-
const GCFlyTourSnapDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
title: valibot.string(),
|
|
9
|
-
slug: valibot.string(),
|
|
10
|
-
description: valibot.nullable(valibot.string()),
|
|
11
|
-
is_active: valibot.boolean(),
|
|
12
|
-
is_hidden: valibot.boolean()
|
|
13
|
-
});
|
|
14
|
-
//#endregion
|
|
15
|
-
Object.defineProperty(exports, "GCFlyTourSnapDocument", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function() {
|
|
18
|
-
return GCFlyTourSnapDocument;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
let valibot = require("valibot");
|
|
4
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
5
|
-
//#region src/entities/up-user/document.ts
|
|
6
|
-
const UserDocument = valibot.object({
|
|
7
|
-
...require_document.BaseDocument.entries,
|
|
8
|
-
username: valibot.string(),
|
|
9
|
-
email: valibot.string(),
|
|
10
|
-
provider: valibot.string(),
|
|
11
|
-
confirmed: valibot.boolean(),
|
|
12
|
-
blocked: valibot.boolean(),
|
|
13
|
-
clerk_user_id: valibot.nullable(valibot.string())
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
Object.defineProperty(exports, "UserDocument", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function() {
|
|
19
|
-
return UserDocument;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
-
import * as v from "valibot";
|
|
3
|
-
//#region src/entities/media-medium/document.ts
|
|
4
|
-
const MediaMediumDocument = v.object({
|
|
5
|
-
...BaseDocument.entries,
|
|
6
|
-
title: v.string(),
|
|
7
|
-
slug: v.string(),
|
|
8
|
-
is_active: v.boolean(),
|
|
9
|
-
is_organic_social: v.boolean(),
|
|
10
|
-
is_paid_media: v.boolean(),
|
|
11
|
-
description: v.nullable(v.string())
|
|
12
|
-
});
|
|
13
|
-
//#endregion
|
|
14
|
-
export { MediaMediumDocument as t };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/user-account/document.d.ts
|
|
4
|
-
declare const UserAccountDocument: v.ObjectSchema<{
|
|
5
|
-
readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
-
readonly first_name: v.StringSchema<undefined>;
|
|
7
|
-
readonly last_name: v.StringSchema<undefined>;
|
|
8
|
-
readonly id: v.NumberSchema<undefined>;
|
|
9
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
10
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
11
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
12
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
13
|
-
}, undefined>;
|
|
14
|
-
type UserAccountDocument = v.InferOutput<typeof UserAccountDocument>;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { UserAccountDocument as t };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/media-creative-format/document.d.ts
|
|
4
|
-
declare const MediaCreativeFormatDocument: v.ObjectSchema<{
|
|
5
|
-
readonly title: v.StringSchema<undefined>;
|
|
6
|
-
readonly slug: v.StringSchema<undefined>;
|
|
7
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
8
|
-
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
-
readonly id: v.NumberSchema<undefined>;
|
|
10
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
11
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
13
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
type MediaCreativeFormatDocument = v.InferOutput<typeof MediaCreativeFormatDocument>;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { MediaCreativeFormatDocument as t };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/up-role/fields.d.ts
|
|
4
|
-
declare const RoleType: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
5
|
-
type RoleType = v.InferOutput<typeof RoleType>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { RoleType as t };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/up-role/fields.d.ts
|
|
4
|
-
declare const RoleType: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
5
|
-
type RoleType = v.InferOutput<typeof RoleType>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { RoleType as t };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { t as RoleDocument } from "./document-BezYxNmb.cjs";
|
|
2
|
-
import { t as UserAccountDocument } from "./document-xVdETwbX.cjs";
|
|
3
|
-
import * as v from "valibot";
|
|
4
|
-
|
|
5
|
-
//#region src/entities/up-auth/mutation.d.ts
|
|
6
|
-
declare const SUserToken: v.ObjectSchema<{
|
|
7
|
-
readonly token: v.StringSchema<undefined>;
|
|
8
|
-
}, undefined>;
|
|
9
|
-
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
10
|
-
declare const SLoginUser: v.ObjectSchema<{
|
|
11
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
12
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
13
|
-
}, undefined>;
|
|
14
|
-
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
15
|
-
declare const SRegisterUser: v.ObjectSchema<{
|
|
16
|
-
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
17
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
18
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
19
|
-
}, undefined>;
|
|
20
|
-
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
21
|
-
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
22
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
23
|
-
}, undefined>;
|
|
24
|
-
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
25
|
-
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
26
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
27
|
-
}, undefined>;
|
|
28
|
-
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
29
|
-
declare const SResetUserPassword: v.ObjectSchema<{
|
|
30
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
31
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
32
|
-
readonly code: v.StringSchema<undefined>;
|
|
33
|
-
}, undefined>;
|
|
34
|
-
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
35
|
-
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
36
|
-
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
37
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
39
|
-
}, undefined>, v.BaseValidation<{
|
|
40
|
-
currentPassword: string;
|
|
41
|
-
password: string;
|
|
42
|
-
passwordConfirmation: string;
|
|
43
|
-
}, {
|
|
44
|
-
currentPassword: string;
|
|
45
|
-
password: string;
|
|
46
|
-
passwordConfirmation: string;
|
|
47
|
-
}, v.PartialCheckIssue<{
|
|
48
|
-
password: string;
|
|
49
|
-
passwordConfirmation: string;
|
|
50
|
-
}>>]>;
|
|
51
|
-
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
52
|
-
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
53
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
54
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
55
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
56
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
57
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
58
|
-
}, undefined>;
|
|
59
|
-
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
60
|
-
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
61
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
62
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
63
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
64
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
65
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
66
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
67
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
-
}, undefined>, undefined>;
|
|
70
|
-
}, undefined>;
|
|
71
|
-
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
72
|
-
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
73
|
-
readonly provider: v.StringSchema<undefined>;
|
|
74
|
-
readonly search: v.ObjectSchema<{
|
|
75
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
76
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
77
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
78
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
79
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
80
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
81
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
-
}, undefined>, undefined>;
|
|
84
|
-
}, undefined>;
|
|
85
|
-
}, undefined>;
|
|
86
|
-
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
87
|
-
//#endregion
|
|
88
|
-
//#region src/entities/up-user/document.d.ts
|
|
89
|
-
declare const UserDocument: v.ObjectSchema<{
|
|
90
|
-
readonly username: v.StringSchema<undefined>;
|
|
91
|
-
readonly email: v.StringSchema<undefined>;
|
|
92
|
-
readonly provider: v.StringSchema<undefined>;
|
|
93
|
-
readonly confirmed: v.BooleanSchema<undefined>;
|
|
94
|
-
readonly blocked: v.BooleanSchema<undefined>;
|
|
95
|
-
readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
-
readonly id: v.NumberSchema<undefined>;
|
|
97
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
98
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
100
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
101
|
-
}, undefined>;
|
|
102
|
-
type UserDocument = v.InferOutput<typeof UserDocument>;
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region src/entities/up-auth/types.d.ts
|
|
105
|
-
type AuthorizedUserDocument = Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id"> & {
|
|
106
|
-
account: UserAccountDocument;
|
|
107
|
-
role: RoleDocument;
|
|
108
|
-
};
|
|
109
|
-
type UserAuthorizationSuccessResponse = {
|
|
110
|
-
jwt: string;
|
|
111
|
-
user: UserDocument;
|
|
112
|
-
};
|
|
113
|
-
//#endregion
|
|
114
|
-
export { SAuthConnectProviderRedirectSearch as a, SForgotUserPassword as c, SRequestConfirmEmail as d, SResetUserPassword as f, SAuthConnectProviderConfirmation as i, SLoginUser as l, UserAuthorizationSuccessResponse as n, SAuthRawAccessToken as o, SUserToken as p, UserDocument as r, SChangePassword as s, AuthorizedUserDocument as t, SRegisterUser as u };
|