@getcommunity/gc-validators 0.0.271-alpha.0 → 0.0.271-alpha.10
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/README.md +16 -0
- package/dist/abac-BeKQtxIF.cjs +648 -0
- package/dist/abac-DPd9oLKR.mjs +643 -0
- package/dist/base/index.cjs +19 -19
- package/dist/base/index.d.cts +2 -3
- package/dist/base/index.d.mts +3 -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 +7 -5
- package/dist/components/utm/index.d.cts +2 -32
- package/dist/components/utm/index.d.mts +2 -32
- package/dist/components/utm/index.mjs +7 -5
- package/dist/{document-BMxLOdrT.d.cts → document-BVhB_t1g.d.mts} +158 -104
- package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
- package/dist/document-Ccvtwgy_.cjs +26 -0
- package/dist/document-CrnqUGRk.cjs +243 -0
- package/dist/document-Cx4Klv8A.mjs +128 -0
- package/dist/document-D060zybc.mjs +19 -0
- package/dist/document-D7jG_DvK.cjs +728 -0
- package/dist/document-DEUmfrbE.mjs +457 -0
- package/dist/document-DaICHS9G.cjs +17 -0
- package/dist/{document-Gx2Vrg_w.d.mts → document-DtDSYDbn.d.cts} +158 -104
- package/dist/document-c3GNPelp.mjs +10 -0
- package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
- 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 -1
- package/dist/entities/blog-post/index.d.cts +1 -916
- package/dist/entities/blog-post/index.d.mts +1 -916
- package/dist/entities/blog-post/index.mjs +1 -1
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +4 -13
- package/dist/entities/category/index.d.cts +3 -260
- package/dist/entities/category/index.d.mts +3 -260
- package/dist/entities/category/index.mjs +2 -11
- package/dist/entities/client/index.cjs +3 -3
- package/dist/entities/client/index.d.cts +1 -84
- package/dist/entities/client/index.d.mts +1 -84
- package/dist/entities/client/index.mjs +2 -2
- package/dist/entities/client-content-pillar/index.cjs +10 -20
- 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 -12
- package/dist/entities/client-media-platform/index.cjs +10 -17
- package/dist/entities/client-media-platform/index.d.cts +1 -52
- package/dist/entities/client-media-platform/index.d.mts +1 -52
- package/dist/entities/client-media-platform/index.mjs +2 -9
- package/dist/entities/client-project/index.cjs +22 -129
- package/dist/entities/client-project/index.d.cts +1 -146
- package/dist/entities/client-project/index.d.mts +1 -146
- package/dist/entities/client-project/index.mjs +2 -109
- package/dist/entities/client-report/index.cjs +7 -18
- package/dist/entities/client-report/index.d.cts +1 -62
- package/dist/entities/client-report/index.d.mts +1 -62
- package/dist/entities/client-report/index.mjs +2 -13
- package/dist/entities/client-styleguide/index.cjs +7 -27
- package/dist/entities/client-styleguide/index.d.cts +1 -47
- package/dist/entities/client-styleguide/index.d.mts +1 -47
- package/dist/entities/client-styleguide/index.mjs +2 -22
- package/dist/entities/client-user/index.cjs +17 -53
- package/dist/entities/client-user/index.d.cts +2 -47
- package/dist/entities/client-user/index.d.mts +2 -47
- package/dist/entities/client-user/index.mjs +5 -41
- 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 -5
- package/dist/entities/content-pillar/index.d.cts +1 -49
- package/dist/entities/content-pillar/index.d.mts +1 -49
- package/dist/entities/content-pillar/index.mjs +2 -2
- 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 +1 -60
- package/dist/entities/gcflytour/index.d.mts +1 -60
- package/dist/entities/gcflytour/index.mjs +2 -12
- package/dist/entities/gcflytour-snap/index.cjs +7 -17
- package/dist/entities/gcflytour-snap/index.d.cts +1 -58
- package/dist/entities/gcflytour-snap/index.d.mts +1 -58
- package/dist/entities/gcflytour-snap/index.mjs +2 -12
- package/dist/entities/landing-page/index.d.cts +1 -0
- package/dist/entities/landing-page/index.d.mts +2 -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 -23
- package/dist/entities/media-content-type/index.d.cts +3 -3
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-content-type/index.mjs +2 -15
- package/dist/entities/media-creative-format/index.cjs +7 -16
- package/dist/entities/media-creative-format/index.d.cts +3 -3
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.mjs +2 -11
- package/dist/entities/media-medium/index.cjs +7 -18
- package/dist/entities/media-medium/index.d.cts +3 -18
- package/dist/entities/media-medium/index.d.mts +3 -18
- package/dist/entities/media-medium/index.mjs +2 -13
- package/dist/entities/media-platform/index.cjs +13 -29
- package/dist/entities/media-platform/index.d.cts +1 -73
- package/dist/entities/media-platform/index.d.mts +1 -73
- package/dist/entities/media-platform/index.mjs +2 -18
- package/dist/entities/monday-workspace/index.cjs +7 -14
- package/dist/entities/monday-workspace/index.d.cts +1 -46
- package/dist/entities/monday-workspace/index.d.mts +1 -46
- package/dist/entities/monday-workspace/index.mjs +2 -9
- 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.cts +1 -0
- package/dist/entities/policy-page/index.d.mts +2 -1
- package/dist/entities/product/index.cjs +2 -21
- 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 -18
- package/dist/entities/product-highlight/index.cjs +2 -21
- package/dist/entities/product-highlight/index.d.cts +1 -244
- package/dist/entities/product-highlight/index.d.mts +1 -244
- package/dist/entities/product-highlight/index.mjs +1 -18
- package/dist/entities/resume/index.cjs +2 -2
- package/dist/entities/resume/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +4 -11
- 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 -9
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.d.cts +1 -209
- package/dist/entities/team-member/index.d.mts +1 -209
- package/dist/entities/team-member/index.mjs +1 -1
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +4 -18
- 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 -16
- package/dist/entities/up-auth/index.d.cts +2 -2
- package/dist/entities/up-auth/index.d.mts +2 -2
- package/dist/entities/up-permission/index.cjs +2 -11
- package/dist/entities/up-permission/index.d.cts +1 -13
- package/dist/entities/up-permission/index.d.mts +1 -13
- package/dist/entities/up-permission/index.mjs +1 -8
- package/dist/entities/up-role/index.cjs +4 -27
- package/dist/entities/up-role/index.d.cts +1 -2
- package/dist/entities/up-role/index.d.mts +1 -2
- package/dist/entities/up-role/index.mjs +1 -22
- package/dist/entities/up-user/index.cjs +9 -63
- package/dist/entities/up-user/index.d.cts +1 -37
- package/dist/entities/up-user/index.d.mts +1 -37
- package/dist/entities/up-user/index.mjs +1 -53
- 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 +10 -18
- package/dist/entities/user-account/index.d.cts +2 -2
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/user-account/index.mjs +3 -11
- package/dist/entities/utm-link-builder/index.cjs +9 -8
- package/dist/entities/utm-link-builder/index.d.cts +2 -3
- package/dist/entities/utm-link-builder/index.d.mts +2 -3
- package/dist/entities/utm-link-builder/index.mjs +6 -4
- package/dist/entities/utm-meta/index.d.cts +7 -7
- package/dist/entities/utm-meta/index.d.mts +7 -7
- package/dist/entities/utm-tracking-link/index.cjs +7 -28
- package/dist/entities/utm-tracking-link/index.d.cts +1 -234
- package/dist/entities/utm-tracking-link/index.d.mts +1 -234
- package/dist/entities/utm-tracking-link/index.mjs +2 -23
- package/dist/index-4XzJDMTp.d.mts +4744 -0
- package/dist/index-B3VtiObV.d.mts +317 -0
- package/dist/index-BD4hPqIw.d.cts +940 -0
- package/dist/index-BbwsFaWE.d.cts +921 -0
- package/dist/{index-DDYmaYSm.d.mts → index-Brw4Hq18.d.cts} +3 -3
- package/dist/{index-Dl6KBLdT.d.mts → index-CJ2_Z1gW.d.mts} +99 -142
- package/dist/index-CQP_vcmO.d.cts +317 -0
- package/dist/index-CRoWUxGV.d.cts +1324 -0
- package/dist/index-CrZiM45q.d.cts +4744 -0
- package/dist/index-CygWlTrU.d.mts +940 -0
- package/dist/index-D11tQdCv.d.cts +34 -0
- package/dist/{index-DmLVZdb3.d.cts → index-D6rOxDlM.d.mts} +3 -3
- package/dist/index-DJ-0EDJN.d.mts +921 -0
- package/dist/index-DLICmJ_-.d.mts +34 -0
- package/dist/{index-Dv9bgrpo.d.cts → index-efk0FfOP.d.cts} +98 -141
- package/dist/index-oCLNrzIj.d.mts +1324 -0
- package/dist/media-upload-D-nP8FR1.d.cts +140 -0
- package/dist/media-upload-DKeA1eD-.d.mts +140 -0
- package/dist/permissions/index.cjs +3 -663
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/permissions/index.mjs +3 -661
- package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
- package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
- package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
- package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
- package/dist/utilities/index.cjs +20 -0
- package/dist/utilities/index.d.cts +7 -2
- package/dist/utilities/index.d.mts +7 -2
- package/dist/utilities/index.mjs +19 -1
- package/package.json +1 -1
- package/dist/document-BAzLIprH.d.mts +0 -100
- package/dist/document-BFukanLe.mjs +0 -54
- package/dist/document-BK1ASowb.d.cts +0 -17
- package/dist/document-BNoXPGwF.d.mts +0 -27
- package/dist/document-B_pJW777.d.mts +0 -30
- package/dist/document-Bd2AyLs8.d.mts +0 -16
- package/dist/document-BezYxNmb.d.cts +0 -16
- package/dist/document-Bj7SRTOn.d.cts +0 -18
- package/dist/document-Bo869pZx.d.mts +0 -18
- package/dist/document-Bs8c1mok.d.cts +0 -15
- package/dist/document-C0c7azOe.d.mts +0 -434
- package/dist/document-CTTDXzOF.mjs +0 -13
- package/dist/document-CUl_Ys6-.mjs +0 -23
- package/dist/document-CWYzG60q.d.cts +0 -19
- package/dist/document-Ccszj8lR.cjs +0 -20
- package/dist/document-CjNHI7Eb.d.cts +0 -27
- package/dist/document-Cu_HUDC5.mjs +0 -51
- package/dist/document-D-KvyEb5.d.cts +0 -238
- package/dist/document-D2nLVGig.d.mts +0 -238
- package/dist/document-D5yDIDIx.d.mts +0 -15
- package/dist/document-D73dqRle.d.cts +0 -19
- package/dist/document-DA6YVZz-.d.cts +0 -100
- package/dist/document-DJ0YiVte.d.cts +0 -30
- package/dist/document-DMHIUE3J.d.mts +0 -17
- package/dist/document-DN3g0EFx.d.cts +0 -434
- package/dist/document-DWapIF7V.d.cts +0 -12223
- package/dist/document-DYzRVV1C.d.mts +0 -16
- package/dist/document-D_ZMbzn6.d.cts +0 -18
- package/dist/document-DeoRGh7p.d.mts +0 -19
- package/dist/document-DsIPBTG8.cjs +0 -30
- package/dist/document-DsSaMVGb.cjs +0 -106
- package/dist/document-IIJpsOIO.d.cts +0 -16
- package/dist/document-WHS8GHY5.d.mts +0 -18
- package/dist/document-dqrWptdY.d.cts +0 -244
- package/dist/document-qcC-10Nd.d.mts +0 -12223
- package/dist/document-rbMXLGxt.cjs +0 -103
- package/dist/document-si7GYS5g.d.mts +0 -19
- package/dist/document-vq-7rcU5.d.mts +0 -244
- package/dist/fields-BQHSYj70.d.cts +0 -7
- package/dist/fields-qx-5saY5.d.mts +0 -7
- package/dist/index-CPUGB8lZ.d.mts +0 -95
- package/dist/index-H4RC0v4h.d.cts +0 -95
- package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
- package/dist/query.schema-CItKlb0x.d.cts +0 -41
- package/dist/response-C-7nyNVD.d.mts +0 -57
- package/dist/response-c6SgLvi9.d.cts +0 -57
- /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
- /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.d.mts} +0 -0
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
const require_document = require("./document-BAro2Mrj.cjs");
|
|
3
|
-
const require_components_shared_index = require("./components/shared/index.cjs");
|
|
4
|
-
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
5
|
-
const require_components_forms_index = require("./components/forms/index.cjs");
|
|
6
|
-
const require_components_slideshow_index = require("./components/slideshow/index.cjs");
|
|
7
|
-
let valibot = require("valibot");
|
|
8
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
9
|
-
//#region src/entities/blog-post/constants.ts
|
|
10
|
-
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
11
|
-
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
12
|
-
const BLOG_POST_SORT_KEYS = [
|
|
13
|
-
"id",
|
|
14
|
-
"title",
|
|
15
|
-
"slug",
|
|
16
|
-
"is_live",
|
|
17
|
-
"is_featured",
|
|
18
|
-
"is_public",
|
|
19
|
-
"published",
|
|
20
|
-
"createdAt",
|
|
21
|
-
"updatedAt"
|
|
22
|
-
];
|
|
23
|
-
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region src/entities/blog-post/fields.ts
|
|
26
|
-
const QuerySortBlogPosts = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(BLOG_POST_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(BLOG_POST_SORT_KEYS.length)));
|
|
27
|
-
const BlogPostLayout = valibot.picklist(BLOG_POST_LAYOUT);
|
|
28
|
-
const BlogPostBlock = valibot.union([
|
|
29
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockSectionTitle),
|
|
30
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockGraphicImage),
|
|
31
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockPullQuote),
|
|
32
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockVideo),
|
|
33
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockFaq),
|
|
34
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockContact),
|
|
35
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockButtonGroup),
|
|
36
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockFullscreenContent),
|
|
37
|
-
valibot.lazy(() => require_components_forms_index.ComponentFormSelect),
|
|
38
|
-
valibot.lazy(() => require_components_slideshow_index.ComponentSlideshow),
|
|
39
|
-
valibot.lazy(() => require_components_shared_index.ComponentSharedRichTextBlock)
|
|
40
|
-
]);
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/entities/blog-post/document.ts
|
|
43
|
-
const BlogPostDocument = valibot.object({
|
|
44
|
-
...require_document.BaseDocument.entries,
|
|
45
|
-
title: valibot.string(),
|
|
46
|
-
slug: valibot.string(),
|
|
47
|
-
excerpt: valibot.string(),
|
|
48
|
-
published: valibot.string(),
|
|
49
|
-
is_live: valibot.boolean(),
|
|
50
|
-
is_featured: valibot.boolean(),
|
|
51
|
-
is_public: valibot.boolean(),
|
|
52
|
-
seo: valibot.optional(valibot.nullable(require_components_shared_index.SeoMeta)),
|
|
53
|
-
layout: valibot.nullable(BlogPostLayout)
|
|
54
|
-
});
|
|
55
|
-
//#endregion
|
|
56
|
-
Object.defineProperty(exports, "BLOG_POST_LAYOUT", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function() {
|
|
59
|
-
return BLOG_POST_LAYOUT;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
Object.defineProperty(exports, "BLOG_POST_SORT_KEYS", {
|
|
63
|
-
enumerable: true,
|
|
64
|
-
get: function() {
|
|
65
|
-
return BLOG_POST_SORT_KEYS;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, "BlogPostBlock", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function() {
|
|
71
|
-
return BlogPostBlock;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
Object.defineProperty(exports, "BlogPostDocument", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function() {
|
|
77
|
-
return BlogPostDocument;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, "BlogPostLayout", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function() {
|
|
83
|
-
return BlogPostLayout;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(exports, "LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function() {
|
|
89
|
-
return LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "LIMIT_BLOG_POST_PAGINATION_MAX_SIZE", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function() {
|
|
95
|
-
return LIMIT_BLOG_POST_PAGINATION_MAX_SIZE;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, "QuerySortBlogPosts", {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function() {
|
|
101
|
-
return QuerySortBlogPosts;
|
|
102
|
-
}
|
|
103
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/up-user/document.d.ts
|
|
4
|
-
declare const UserDocument: v.ObjectSchema<{
|
|
5
|
-
readonly username: v.StringSchema<undefined>;
|
|
6
|
-
readonly email: v.StringSchema<undefined>;
|
|
7
|
-
readonly provider: v.StringSchema<undefined>;
|
|
8
|
-
readonly confirmed: v.BooleanSchema<undefined>;
|
|
9
|
-
readonly blocked: v.BooleanSchema<undefined>;
|
|
10
|
-
readonly clerk_user_id: v.NullableSchema<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 UserDocument = v.InferOutput<typeof UserDocument>;
|
|
18
|
-
//#endregion
|
|
19
|
-
export { UserDocument as t };
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/media-platform/document.d.ts
|
|
4
|
-
declare const MediaPlatformDocument: v.ObjectSchema<{
|
|
5
|
-
readonly title: v.StringSchema<undefined>;
|
|
6
|
-
readonly slug: v.StringSchema<undefined>;
|
|
7
|
-
readonly utm_key: v.StringSchema<undefined>;
|
|
8
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
9
|
-
readonly is_organic_social: v.BooleanSchema<undefined>;
|
|
10
|
-
readonly is_paid_media: v.BooleanSchema<undefined>;
|
|
11
|
-
readonly logos: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
12
|
-
readonly light: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
13
|
-
readonly name: v.StringSchema<undefined>;
|
|
14
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
-
readonly width: v.NumberSchema<undefined>;
|
|
17
|
-
readonly height: v.NumberSchema<undefined>;
|
|
18
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
19
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
20
|
-
readonly ext: v.StringSchema<undefined>;
|
|
21
|
-
readonly url: v.StringSchema<undefined>;
|
|
22
|
-
readonly hash: v.StringSchema<undefined>;
|
|
23
|
-
readonly mime: v.StringSchema<undefined>;
|
|
24
|
-
readonly name: v.StringSchema<undefined>;
|
|
25
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
26
|
-
readonly size: v.NumberSchema<undefined>;
|
|
27
|
-
readonly width: v.NumberSchema<undefined>;
|
|
28
|
-
readonly height: v.NumberSchema<undefined>;
|
|
29
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
30
|
-
}, undefined>, undefined>;
|
|
31
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
32
|
-
readonly ext: v.StringSchema<undefined>;
|
|
33
|
-
readonly url: v.StringSchema<undefined>;
|
|
34
|
-
readonly hash: v.StringSchema<undefined>;
|
|
35
|
-
readonly mime: v.StringSchema<undefined>;
|
|
36
|
-
readonly name: v.StringSchema<undefined>;
|
|
37
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
-
readonly size: v.NumberSchema<undefined>;
|
|
39
|
-
readonly width: v.NumberSchema<undefined>;
|
|
40
|
-
readonly height: v.NumberSchema<undefined>;
|
|
41
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
42
|
-
}, undefined>, undefined>;
|
|
43
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
44
|
-
readonly ext: v.StringSchema<undefined>;
|
|
45
|
-
readonly url: v.StringSchema<undefined>;
|
|
46
|
-
readonly hash: v.StringSchema<undefined>;
|
|
47
|
-
readonly mime: v.StringSchema<undefined>;
|
|
48
|
-
readonly name: v.StringSchema<undefined>;
|
|
49
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
-
readonly size: v.NumberSchema<undefined>;
|
|
51
|
-
readonly width: v.NumberSchema<undefined>;
|
|
52
|
-
readonly height: v.NumberSchema<undefined>;
|
|
53
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
54
|
-
}, undefined>, undefined>;
|
|
55
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
56
|
-
readonly ext: v.StringSchema<undefined>;
|
|
57
|
-
readonly url: v.StringSchema<undefined>;
|
|
58
|
-
readonly hash: v.StringSchema<undefined>;
|
|
59
|
-
readonly mime: v.StringSchema<undefined>;
|
|
60
|
-
readonly name: v.StringSchema<undefined>;
|
|
61
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
-
readonly size: v.NumberSchema<undefined>;
|
|
63
|
-
readonly width: v.NumberSchema<undefined>;
|
|
64
|
-
readonly height: v.NumberSchema<undefined>;
|
|
65
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
66
|
-
}, undefined>, undefined>;
|
|
67
|
-
}, undefined>, undefined>, undefined>;
|
|
68
|
-
readonly hash: v.StringSchema<undefined>;
|
|
69
|
-
readonly ext: v.StringSchema<undefined>;
|
|
70
|
-
readonly mime: v.StringSchema<undefined>;
|
|
71
|
-
readonly size: v.NumberSchema<undefined>;
|
|
72
|
-
readonly url: v.StringSchema<undefined>;
|
|
73
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
74
|
-
readonly provider: v.StringSchema<undefined>;
|
|
75
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
76
|
-
readonly id: v.NumberSchema<undefined>;
|
|
77
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
78
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
79
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
80
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
81
|
-
}, undefined>>, undefined>, undefined>;
|
|
82
|
-
readonly dark: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
83
|
-
readonly name: v.StringSchema<undefined>;
|
|
84
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
readonly width: v.NumberSchema<undefined>;
|
|
87
|
-
readonly height: v.NumberSchema<undefined>;
|
|
88
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
89
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
90
|
-
readonly ext: v.StringSchema<undefined>;
|
|
91
|
-
readonly url: v.StringSchema<undefined>;
|
|
92
|
-
readonly hash: v.StringSchema<undefined>;
|
|
93
|
-
readonly mime: v.StringSchema<undefined>;
|
|
94
|
-
readonly name: v.StringSchema<undefined>;
|
|
95
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
-
readonly size: v.NumberSchema<undefined>;
|
|
97
|
-
readonly width: v.NumberSchema<undefined>;
|
|
98
|
-
readonly height: v.NumberSchema<undefined>;
|
|
99
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
100
|
-
}, undefined>, undefined>;
|
|
101
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
102
|
-
readonly ext: v.StringSchema<undefined>;
|
|
103
|
-
readonly url: v.StringSchema<undefined>;
|
|
104
|
-
readonly hash: v.StringSchema<undefined>;
|
|
105
|
-
readonly mime: v.StringSchema<undefined>;
|
|
106
|
-
readonly name: v.StringSchema<undefined>;
|
|
107
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
108
|
-
readonly size: v.NumberSchema<undefined>;
|
|
109
|
-
readonly width: v.NumberSchema<undefined>;
|
|
110
|
-
readonly height: v.NumberSchema<undefined>;
|
|
111
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
112
|
-
}, undefined>, undefined>;
|
|
113
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
114
|
-
readonly ext: v.StringSchema<undefined>;
|
|
115
|
-
readonly url: v.StringSchema<undefined>;
|
|
116
|
-
readonly hash: v.StringSchema<undefined>;
|
|
117
|
-
readonly mime: v.StringSchema<undefined>;
|
|
118
|
-
readonly name: v.StringSchema<undefined>;
|
|
119
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
-
readonly size: v.NumberSchema<undefined>;
|
|
121
|
-
readonly width: v.NumberSchema<undefined>;
|
|
122
|
-
readonly height: v.NumberSchema<undefined>;
|
|
123
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
124
|
-
}, undefined>, undefined>;
|
|
125
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
126
|
-
readonly ext: v.StringSchema<undefined>;
|
|
127
|
-
readonly url: v.StringSchema<undefined>;
|
|
128
|
-
readonly hash: v.StringSchema<undefined>;
|
|
129
|
-
readonly mime: v.StringSchema<undefined>;
|
|
130
|
-
readonly name: v.StringSchema<undefined>;
|
|
131
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
-
readonly size: v.NumberSchema<undefined>;
|
|
133
|
-
readonly width: v.NumberSchema<undefined>;
|
|
134
|
-
readonly height: v.NumberSchema<undefined>;
|
|
135
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
136
|
-
}, undefined>, undefined>;
|
|
137
|
-
}, undefined>, undefined>, undefined>;
|
|
138
|
-
readonly hash: v.StringSchema<undefined>;
|
|
139
|
-
readonly ext: v.StringSchema<undefined>;
|
|
140
|
-
readonly mime: v.StringSchema<undefined>;
|
|
141
|
-
readonly size: v.NumberSchema<undefined>;
|
|
142
|
-
readonly url: v.StringSchema<undefined>;
|
|
143
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
144
|
-
readonly provider: v.StringSchema<undefined>;
|
|
145
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
146
|
-
readonly id: v.NumberSchema<undefined>;
|
|
147
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
148
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
149
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
150
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
151
|
-
}, undefined>>, undefined>, undefined>;
|
|
152
|
-
readonly color: v.ObjectSchema<{
|
|
153
|
-
readonly name: v.StringSchema<undefined>;
|
|
154
|
-
readonly alternativeText: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
155
|
-
readonly caption: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
-
readonly width: v.NumberSchema<undefined>;
|
|
157
|
-
readonly height: v.NumberSchema<undefined>;
|
|
158
|
-
readonly formats: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
159
|
-
readonly large: v.OptionalSchema<v.ObjectSchema<{
|
|
160
|
-
readonly ext: v.StringSchema<undefined>;
|
|
161
|
-
readonly url: v.StringSchema<undefined>;
|
|
162
|
-
readonly hash: v.StringSchema<undefined>;
|
|
163
|
-
readonly mime: v.StringSchema<undefined>;
|
|
164
|
-
readonly name: v.StringSchema<undefined>;
|
|
165
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
-
readonly size: v.NumberSchema<undefined>;
|
|
167
|
-
readonly width: v.NumberSchema<undefined>;
|
|
168
|
-
readonly height: v.NumberSchema<undefined>;
|
|
169
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
170
|
-
}, undefined>, undefined>;
|
|
171
|
-
readonly small: v.OptionalSchema<v.ObjectSchema<{
|
|
172
|
-
readonly ext: v.StringSchema<undefined>;
|
|
173
|
-
readonly url: v.StringSchema<undefined>;
|
|
174
|
-
readonly hash: v.StringSchema<undefined>;
|
|
175
|
-
readonly mime: v.StringSchema<undefined>;
|
|
176
|
-
readonly name: v.StringSchema<undefined>;
|
|
177
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
-
readonly size: v.NumberSchema<undefined>;
|
|
179
|
-
readonly width: v.NumberSchema<undefined>;
|
|
180
|
-
readonly height: v.NumberSchema<undefined>;
|
|
181
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
182
|
-
}, undefined>, undefined>;
|
|
183
|
-
readonly medium: v.OptionalSchema<v.ObjectSchema<{
|
|
184
|
-
readonly ext: v.StringSchema<undefined>;
|
|
185
|
-
readonly url: v.StringSchema<undefined>;
|
|
186
|
-
readonly hash: v.StringSchema<undefined>;
|
|
187
|
-
readonly mime: v.StringSchema<undefined>;
|
|
188
|
-
readonly name: v.StringSchema<undefined>;
|
|
189
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
-
readonly size: v.NumberSchema<undefined>;
|
|
191
|
-
readonly width: v.NumberSchema<undefined>;
|
|
192
|
-
readonly height: v.NumberSchema<undefined>;
|
|
193
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
194
|
-
}, undefined>, undefined>;
|
|
195
|
-
readonly thumbnail: v.OptionalSchema<v.ObjectSchema<{
|
|
196
|
-
readonly ext: v.StringSchema<undefined>;
|
|
197
|
-
readonly url: v.StringSchema<undefined>;
|
|
198
|
-
readonly hash: v.StringSchema<undefined>;
|
|
199
|
-
readonly mime: v.StringSchema<undefined>;
|
|
200
|
-
readonly name: v.StringSchema<undefined>;
|
|
201
|
-
readonly path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
-
readonly size: v.NumberSchema<undefined>;
|
|
203
|
-
readonly width: v.NumberSchema<undefined>;
|
|
204
|
-
readonly height: v.NumberSchema<undefined>;
|
|
205
|
-
readonly sizeInBytes: v.NumberSchema<undefined>;
|
|
206
|
-
}, undefined>, undefined>;
|
|
207
|
-
}, undefined>, undefined>, undefined>;
|
|
208
|
-
readonly hash: v.StringSchema<undefined>;
|
|
209
|
-
readonly ext: v.StringSchema<undefined>;
|
|
210
|
-
readonly mime: v.StringSchema<undefined>;
|
|
211
|
-
readonly size: v.NumberSchema<undefined>;
|
|
212
|
-
readonly url: v.StringSchema<undefined>;
|
|
213
|
-
readonly previewUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
214
|
-
readonly provider: v.StringSchema<undefined>;
|
|
215
|
-
readonly provider_metadata: v.NullSchema<undefined>;
|
|
216
|
-
readonly id: v.NumberSchema<undefined>;
|
|
217
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
218
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
219
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
220
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
221
|
-
}, undefined>;
|
|
222
|
-
readonly id: v.NumberSchema<undefined>;
|
|
223
|
-
}, undefined>, undefined>, undefined>;
|
|
224
|
-
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
225
|
-
readonly information: v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
226
|
-
readonly type: v.StringSchema<undefined>;
|
|
227
|
-
readonly children: v.ArraySchema<v.ObjectSchema<{
|
|
228
|
-
readonly type: v.StringSchema<undefined>;
|
|
229
|
-
readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
230
|
-
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
-
readonly bold: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
232
|
-
readonly italic: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
233
|
-
readonly underline: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
234
|
-
}, undefined>, undefined>;
|
|
235
|
-
}, undefined>, undefined>, undefined>;
|
|
236
|
-
readonly id: v.NumberSchema<undefined>;
|
|
237
|
-
readonly documentId: v.StringSchema<undefined>;
|
|
238
|
-
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
239
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
240
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
241
|
-
}, undefined>;
|
|
242
|
-
type MediaPlatformDocument = v.InferOutput<typeof MediaPlatformDocument>;
|
|
243
|
-
//#endregion
|
|
244
|
-
export { MediaPlatformDocument 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,95 +0,0 @@
|
|
|
1
|
-
import { t as RoleDocument } from "./document-DYzRVV1C.mjs";
|
|
2
|
-
import { t as UserDocument } from "./document-si7GYS5g.mjs";
|
|
3
|
-
import { t as UserAccountDocument } from "./document-Bd2AyLs8.mjs";
|
|
4
|
-
import * as v from "valibot";
|
|
5
|
-
|
|
6
|
-
//#region src/entities/up-auth/mutation.d.ts
|
|
7
|
-
declare const SUserToken: v.ObjectSchema<{
|
|
8
|
-
readonly token: v.StringSchema<undefined>;
|
|
9
|
-
}, undefined>;
|
|
10
|
-
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
11
|
-
declare const SLoginUser: v.ObjectSchema<{
|
|
12
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
13
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
16
|
-
declare const SRegisterUser: v.ObjectSchema<{
|
|
17
|
-
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
18
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
19
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
20
|
-
}, undefined>;
|
|
21
|
-
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
22
|
-
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
23
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
26
|
-
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
27
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
28
|
-
}, undefined>;
|
|
29
|
-
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
30
|
-
declare const SResetUserPassword: v.ObjectSchema<{
|
|
31
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
32
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
33
|
-
readonly code: v.StringSchema<undefined>;
|
|
34
|
-
}, undefined>;
|
|
35
|
-
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
36
|
-
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
37
|
-
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
39
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
40
|
-
}, undefined>, v.BaseValidation<{
|
|
41
|
-
currentPassword: string;
|
|
42
|
-
password: string;
|
|
43
|
-
passwordConfirmation: string;
|
|
44
|
-
}, {
|
|
45
|
-
currentPassword: string;
|
|
46
|
-
password: string;
|
|
47
|
-
passwordConfirmation: string;
|
|
48
|
-
}, v.PartialCheckIssue<{
|
|
49
|
-
password: string;
|
|
50
|
-
passwordConfirmation: string;
|
|
51
|
-
}>>]>;
|
|
52
|
-
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
53
|
-
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
54
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
56
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
57
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
58
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
59
|
-
}, undefined>;
|
|
60
|
-
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
61
|
-
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
62
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
63
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
64
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
65
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
67
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
-
}, undefined>, undefined>;
|
|
71
|
-
}, undefined>;
|
|
72
|
-
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
73
|
-
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
74
|
-
readonly provider: v.StringSchema<undefined>;
|
|
75
|
-
readonly search: v.ObjectSchema<{
|
|
76
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
77
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
78
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
79
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
80
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
81
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
-
}, undefined>, undefined>;
|
|
85
|
-
}, undefined>;
|
|
86
|
-
}, undefined>;
|
|
87
|
-
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region src/entities/up-auth/types.d.ts
|
|
90
|
-
type AuthorizedUserDocument = Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id"> & {
|
|
91
|
-
account: UserAccountDocument;
|
|
92
|
-
role: RoleDocument;
|
|
93
|
-
};
|
|
94
|
-
//#endregion
|
|
95
|
-
export { SChangePassword as a, SRegisterUser as c, SUserToken as d, SAuthRawAccessToken as i, SRequestConfirmEmail as l, SAuthConnectProviderConfirmation as n, SForgotUserPassword as o, SAuthConnectProviderRedirectSearch as r, SLoginUser as s, AuthorizedUserDocument as t, SResetUserPassword as u };
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { t as RoleDocument } from "./document-BezYxNmb.cjs";
|
|
2
|
-
import { t as UserDocument } from "./document-CWYzG60q.cjs";
|
|
3
|
-
import { t as UserAccountDocument } from "./document-IIJpsOIO.cjs";
|
|
4
|
-
import * as v from "valibot";
|
|
5
|
-
|
|
6
|
-
//#region src/entities/up-auth/mutation.d.ts
|
|
7
|
-
declare const SUserToken: v.ObjectSchema<{
|
|
8
|
-
readonly token: v.StringSchema<undefined>;
|
|
9
|
-
}, undefined>;
|
|
10
|
-
type SUserToken = v.InferOutput<typeof SUserToken>;
|
|
11
|
-
declare const SLoginUser: v.ObjectSchema<{
|
|
12
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
13
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
type SLoginUser = v.InferOutput<typeof SLoginUser>;
|
|
16
|
-
declare const SRegisterUser: v.ObjectSchema<{
|
|
17
|
-
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
18
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
19
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
20
|
-
}, undefined>;
|
|
21
|
-
type SRegisterUser = v.InferOutput<typeof SRegisterUser>;
|
|
22
|
-
declare const SForgotUserPassword: v.ObjectSchema<{
|
|
23
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
type SForgotUserPassword = v.InferOutput<typeof SForgotUserPassword>;
|
|
26
|
-
declare const SRequestConfirmEmail: v.ObjectSchema<{
|
|
27
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
28
|
-
}, undefined>;
|
|
29
|
-
type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
|
|
30
|
-
declare const SResetUserPassword: v.ObjectSchema<{
|
|
31
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
32
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
33
|
-
readonly code: v.StringSchema<undefined>;
|
|
34
|
-
}, undefined>;
|
|
35
|
-
type SResetUserPassword = v.InferOutput<typeof SResetUserPassword>;
|
|
36
|
-
declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
37
|
-
readonly currentPassword: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
|
-
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
39
|
-
readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
40
|
-
}, undefined>, v.BaseValidation<{
|
|
41
|
-
currentPassword: string;
|
|
42
|
-
password: string;
|
|
43
|
-
passwordConfirmation: string;
|
|
44
|
-
}, {
|
|
45
|
-
currentPassword: string;
|
|
46
|
-
password: string;
|
|
47
|
-
passwordConfirmation: string;
|
|
48
|
-
}, v.PartialCheckIssue<{
|
|
49
|
-
password: string;
|
|
50
|
-
passwordConfirmation: string;
|
|
51
|
-
}>>]>;
|
|
52
|
-
type SChangePassword = v.InferOutput<typeof SChangePassword>;
|
|
53
|
-
declare const SAuthRawAccessToken: v.ObjectSchema<{
|
|
54
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
56
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
57
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
58
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
59
|
-
}, undefined>;
|
|
60
|
-
type SAuthRawAccessToken = v.InferOutput<typeof SAuthRawAccessToken>;
|
|
61
|
-
declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
|
|
62
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
63
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
64
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
65
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
67
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
-
}, undefined>, undefined>;
|
|
71
|
-
}, undefined>;
|
|
72
|
-
type SAuthConnectProviderRedirectSearch = v.InferOutput<typeof SAuthConnectProviderRedirectSearch>;
|
|
73
|
-
declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
|
|
74
|
-
readonly provider: v.StringSchema<undefined>;
|
|
75
|
-
readonly search: v.ObjectSchema<{
|
|
76
|
-
readonly id_token: v.StringSchema<undefined>;
|
|
77
|
-
readonly access_token: v.StringSchema<undefined>;
|
|
78
|
-
readonly raw: v.OptionalSchema<v.ObjectSchema<{
|
|
79
|
-
readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
80
|
-
readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
81
|
-
readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
-
readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
-
readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
-
}, undefined>, undefined>;
|
|
85
|
-
}, undefined>;
|
|
86
|
-
}, undefined>;
|
|
87
|
-
type SAuthConnectProviderConfirmation = v.InferOutput<typeof SAuthConnectProviderConfirmation>;
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region src/entities/up-auth/types.d.ts
|
|
90
|
-
type AuthorizedUserDocument = Pick<UserDocument, "id" | "documentId" | "createdAt" | "updatedAt" | "publishedAt" | "username" | "email" | "provider" | "confirmed" | "blocked" | "clerk_user_id"> & {
|
|
91
|
-
account: UserAccountDocument;
|
|
92
|
-
role: RoleDocument;
|
|
93
|
-
};
|
|
94
|
-
//#endregion
|
|
95
|
-
export { SChangePassword as a, SRegisterUser as c, SUserToken as d, SAuthRawAccessToken as i, SRequestConfirmEmail as l, SAuthConnectProviderConfirmation as n, SForgotUserPassword as o, SAuthConnectProviderRedirectSearch as r, SLoginUser as s, AuthorizedUserDocument as t, SResetUserPassword as u };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/base/query.schema.d.ts
|
|
4
|
-
declare const QueryStrapiById: v.ObjectSchema<{
|
|
5
|
-
readonly id: v.NumberSchema<undefined>;
|
|
6
|
-
}, undefined>;
|
|
7
|
-
type QueryStrapiById = v.InferOutput<typeof QueryStrapiById>;
|
|
8
|
-
declare const QueryStrapiByDocumentId: v.ObjectSchema<{
|
|
9
|
-
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
10
|
-
}, undefined>;
|
|
11
|
-
type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
12
|
-
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
13
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
14
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
15
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
16
|
-
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
17
|
-
}, undefined>;
|
|
18
|
-
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
19
|
-
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
20
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
21
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
22
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
23
|
-
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
24
|
-
}, undefined>;
|
|
25
|
-
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
26
|
-
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
27
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
28
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
29
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
30
|
-
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
31
|
-
}, undefined>;
|
|
32
|
-
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
33
|
-
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
34
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
35
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
36
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC")[], 3, undefined>]>, undefined>;
|
|
37
|
-
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
38
|
-
}, undefined>;
|
|
39
|
-
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
40
|
-
//#endregion
|
|
41
|
-
export { QueryStrapiByPhone as a, QueryStrapiByName as i, QueryStrapiByEmail as n, QueryStrapiBySlug as o, QueryStrapiById as r, QueryStrapiByDocumentId as t };
|