@getcommunity/gc-validators 0.0.271-alpha.5 → 0.0.271-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.d.mts +4 -4
- package/dist/components/shared/index.d.mts +1 -1
- package/dist/document-382ehFRd.mjs +13 -0
- package/dist/document-8oGgjvHp.cjs +21 -0
- package/dist/document-B-BesdbN.cjs +106 -0
- package/dist/document-B0Wfxtx_.cjs +31 -0
- package/dist/document-B3W1HKLY.cjs +42 -0
- package/dist/document-B6m32jys.cjs +26 -0
- package/dist/document-BM56JclD.mjs +19 -0
- package/dist/document-BRxLaO7o.mjs +14 -0
- package/dist/document-B_cRo5-b.mjs +10 -0
- package/dist/document-B_wA1eag.cjs +26 -0
- package/dist/{document-Ccszj8lR.cjs → document-Bbc9ayLX.cjs} +7 -4
- package/dist/document-BqLA3Y8O.cjs +17 -0
- package/dist/{document-DsT_qkhs.d.mts → document-BqfLH_0k.d.mts} +243 -279
- package/dist/document-Bt9GvI0D.mjs +10 -0
- package/dist/document-Bu5YWCAU.cjs +82 -0
- package/dist/document-BvIcrPT7.cjs +171 -0
- package/dist/document-BxOiI95X.mjs +19 -0
- package/dist/document-C3OB0I_l.mjs +14 -0
- package/dist/document-CFlCafnR.mjs +23 -0
- package/dist/{document-AkydjorI.d.cts → document-CLNQhWUt.d.cts} +238 -274
- package/dist/document-CUGxDcNv.mjs +10 -0
- package/dist/document-CXQi4qL-.mjs +39 -0
- package/dist/{document-CTTDXzOF.mjs → document-CaSvsqH_.mjs} +6 -3
- package/dist/document-CfUkGKW8.mjs +9 -0
- package/dist/document-Cp8Pptp9.mjs +23 -0
- package/dist/document-Cww9JKGT.mjs +11 -0
- package/dist/document-D067FSuD.cjs +17 -0
- package/dist/document-D1jsgU3z.cjs +24 -0
- package/dist/document-D2sLfhsG.mjs +12 -0
- package/dist/document-DAt2jaAd.cjs +26 -0
- package/dist/document-DHP4LdYq.cjs +21 -0
- package/dist/document-DM_UVNTr.cjs +35 -0
- package/dist/document-DOF-cc0D.mjs +13 -0
- package/dist/document-DeOzRkxJ.mjs +24 -0
- package/dist/document-DnVLqNHr.cjs +18 -0
- package/dist/document-Dv3TYeB2.cjs +30 -0
- package/dist/document-DwpVkKFH.cjs +16 -0
- package/dist/document-DwsiJVoA.mjs +22 -0
- package/dist/document-DwuQKbb9.cjs +20 -0
- package/dist/document-HWHxKIhw.mjs +17 -0
- package/dist/document-U0OA-83z.cjs +19 -0
- package/dist/document-a6GT3Sh4.mjs +19 -0
- package/dist/document-ahAv6kkH.cjs +17 -0
- package/dist/document-bbO2HaC_.mjs +110 -0
- package/dist/document-cysZuK08.mjs +57 -0
- package/dist/document-llX1moYE.mjs +10 -0
- package/dist/document-mxwQ5HxZ.cjs +17 -0
- package/dist/document-oPQeqMah.cjs +20 -0
- package/dist/document-oUROy-QQ.cjs +21 -0
- package/dist/document-wBWa6c70.mjs +14 -0
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +3 -3
- package/dist/entities/blog-page/index.d.mts +1 -1
- package/dist/entities/blog-post/index.cjs +24 -65
- package/dist/entities/blog-post/index.d.cts +2098 -4
- package/dist/entities/blog-post/index.d.mts +2099 -5
- package/dist/entities/blog-post/index.mjs +14 -56
- package/dist/entities/careers-page/index.d.mts +1 -1
- package/dist/entities/category/index.cjs +10 -9
- package/dist/entities/category/index.d.cts +963 -1
- package/dist/entities/category/index.d.mts +963 -1
- package/dist/entities/category/index.mjs +9 -9
- package/dist/entities/client/index.cjs +27 -1
- package/dist/entities/client/index.d.cts +1331 -4
- package/dist/entities/client/index.d.mts +1331 -4
- package/dist/entities/client/index.mjs +27 -2
- package/dist/entities/client-content-pillar/index.cjs +2 -12
- package/dist/entities/client-content-pillar/index.d.cts +2 -2
- package/dist/entities/client-content-pillar/index.d.mts +3 -3
- package/dist/entities/client-content-pillar/index.mjs +1 -11
- package/dist/entities/client-media-platform/index.cjs +12 -9
- package/dist/entities/client-media-platform/index.d.cts +485 -3
- package/dist/entities/client-media-platform/index.d.mts +486 -4
- package/dist/entities/client-media-platform/index.mjs +11 -9
- package/dist/entities/client-project/index.cjs +26 -125
- package/dist/entities/client-project/index.d.cts +332 -3
- package/dist/entities/client-project/index.d.mts +333 -4
- package/dist/entities/client-project/index.mjs +9 -109
- package/dist/entities/client-report/index.cjs +10 -13
- package/dist/entities/client-report/index.d.cts +251 -3
- package/dist/entities/client-report/index.d.mts +252 -4
- package/dist/entities/client-report/index.mjs +9 -13
- package/dist/entities/client-styleguide/index.cjs +10 -22
- package/dist/entities/client-styleguide/index.d.cts +666 -3
- package/dist/entities/client-styleguide/index.d.mts +667 -4
- package/dist/entities/client-styleguide/index.mjs +9 -22
- package/dist/entities/client-user/index.cjs +19 -46
- package/dist/entities/client-user/index.d.cts +246 -2
- package/dist/entities/client-user/index.d.mts +246 -2
- package/dist/entities/client-user/index.mjs +10 -38
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.cjs +8 -1
- package/dist/entities/content-pillar/index.d.cts +289 -4
- package/dist/entities/content-pillar/index.d.mts +289 -4
- package/dist/entities/content-pillar/index.mjs +8 -2
- package/dist/entities/faq-page/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.cjs +12 -12
- package/dist/entities/gcflytour/index.d.cts +263 -4
- package/dist/entities/gcflytour/index.d.mts +263 -4
- package/dist/entities/gcflytour/index.mjs +11 -12
- package/dist/entities/gcflytour-snap/index.cjs +10 -12
- package/dist/entities/gcflytour-snap/index.d.cts +31 -4
- package/dist/entities/gcflytour-snap/index.d.mts +31 -4
- package/dist/entities/gcflytour-snap/index.mjs +9 -12
- package/dist/entities/landing-page/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.cjs +12 -15
- package/dist/entities/media-content-type/index.d.cts +280 -4
- package/dist/entities/media-content-type/index.d.mts +280 -4
- package/dist/entities/media-content-type/index.mjs +11 -15
- package/dist/entities/media-creative-format/index.cjs +10 -11
- package/dist/entities/media-creative-format/index.d.cts +42 -4
- package/dist/entities/media-creative-format/index.d.mts +42 -4
- package/dist/entities/media-creative-format/index.mjs +9 -11
- package/dist/entities/media-medium/index.cjs +10 -13
- package/dist/entities/media-medium/index.d.cts +257 -3
- package/dist/entities/media-medium/index.d.mts +257 -3
- package/dist/entities/media-medium/index.mjs +9 -13
- package/dist/entities/media-platform/index.cjs +14 -18
- package/dist/entities/media-platform/index.d.cts +291 -4
- package/dist/entities/media-platform/index.d.mts +291 -4
- package/dist/entities/media-platform/index.mjs +13 -18
- package/dist/entities/monday-workspace/index.cjs +10 -9
- package/dist/entities/monday-workspace/index.d.cts +248 -4
- package/dist/entities/monday-workspace/index.d.mts +248 -4
- package/dist/entities/monday-workspace/index.mjs +9 -9
- package/dist/entities/policy-page/index.d.mts +1 -1
- package/dist/entities/product/index.cjs +2 -21
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/product/index.mjs +1 -18
- package/dist/entities/product-highlight/index.cjs +12 -16
- package/dist/entities/product-highlight/index.d.cts +795 -1
- package/dist/entities/product-highlight/index.d.mts +795 -1
- package/dist/entities/product-highlight/index.mjs +11 -16
- package/dist/entities/tag/index.cjs +2 -9
- package/dist/entities/tag/index.mjs +1 -8
- package/dist/entities/team-member/index.cjs +23 -13
- package/dist/entities/team-member/index.d.cts +1459 -1
- package/dist/entities/team-member/index.d.mts +1459 -1
- package/dist/entities/team-member/index.mjs +11 -2
- package/dist/entities/team-page/index.d.mts +1 -1
- package/dist/entities/trend/index.cjs +2 -16
- package/dist/entities/trend/index.mjs +1 -15
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-permission/index.cjs +8 -6
- package/dist/entities/up-permission/index.d.cts +22 -1
- package/dist/entities/up-permission/index.d.mts +22 -1
- package/dist/entities/up-permission/index.mjs +7 -6
- package/dist/entities/up-role/index.cjs +12 -22
- package/dist/entities/up-role/index.d.cts +37 -2
- package/dist/entities/up-role/index.d.mts +38 -3
- package/dist/entities/up-role/index.mjs +9 -20
- package/dist/entities/up-user/index.cjs +16 -13
- package/dist/entities/up-user/index.d.cts +72 -4
- package/dist/entities/up-user/index.d.mts +72 -4
- package/dist/entities/up-user/index.mjs +15 -13
- package/dist/entities/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +2 -2
- package/dist/entities/user-account/index.cjs +9 -10
- package/dist/entities/user-account/index.d.cts +16 -2
- package/dist/entities/user-account/index.d.mts +17 -3
- package/dist/entities/user-account/index.mjs +8 -10
- package/dist/entities/utm-tracking-link/index.cjs +12 -23
- package/dist/entities/utm-tracking-link/index.d.cts +4 -3
- package/dist/entities/utm-tracking-link/index.d.mts +4 -3
- package/dist/entities/utm-tracking-link/index.mjs +11 -23
- package/dist/{index-BIWFngsB.d.mts → index-D6AuLdB6.d.mts} +3 -3
- package/dist/{index-D4Mm4D2d.d.cts → index-Dcwyodut.d.cts} +3 -3
- package/dist/{index-DpYYzY_9.d.cts → index-DfGGyf7_.d.cts} +18 -3
- package/dist/{index-BI8tN-QZ.d.mts → index-Dj9J1FKD.d.mts} +19 -4
- package/dist/{index-Bht1Jd5l.d.mts → index-DxyNYBOY.d.mts} +1 -1
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/relations-CG_9IVCD.d.cts +274 -0
- package/dist/relations-DxgFak1L.d.mts +274 -0
- package/dist/utilities/index.d.cts +3 -3
- package/dist/utilities/index.d.mts +4 -4
- package/package.json +1 -1
- package/dist/document-CWYzG60q.d.cts +0 -19
- package/dist/document-D-KvyEb5.d.cts +0 -238
- package/dist/document-D2nLVGig.d.mts +0 -238
- package/dist/document-si7GYS5g.d.mts +0 -19
- /package/dist/{document-BAzLIprH.d.mts → document-7JBq8iiP.d.mts} +0 -0
- /package/dist/{document-BK1ASowb.d.cts → document-BInCC6Wk.d.cts} +0 -0
- /package/dist/{document-Bpr9mbCs.d.mts → document-BPdwRVjm.d.cts} +0 -0
- /package/dist/{document-D5yDIDIx.d.mts → document-BQ6ulTO1.d.mts} +0 -0
- /package/dist/{document-dqrWptdY.d.cts → document-BdMrLGBL.d.cts} +0 -0
- /package/dist/{document-Bd2AyLs8.d.mts → document-BpFw7FI0.d.mts} +0 -0
- /package/dist/{document-Cu_HUDC5.mjs → document-Bpgteig6.mjs} +0 -0
- /package/dist/{document-Bj7SRTOn.d.cts → document-BumbQ1Eb.d.cts} +0 -0
- /package/dist/{document-C0c7azOe.d.mts → document-C4ofAcKx.d.mts} +0 -0
- /package/dist/{document-DYzRVV1C.d.mts → document-CCcofYd9.d.mts} +0 -0
- /package/dist/{document-CUl_Ys6-.mjs → document-CW3ycXvJ.mjs} +0 -0
- /package/dist/{document-B_pJW777.d.mts → document-Clr6FjtO.d.cts} +0 -0
- /package/dist/{document-BNoXPGwF.d.mts → document-Ct4bnsKU.d.mts} +0 -0
- /package/dist/{document-D_ZMbzn6.d.cts → document-CxeeO4Pl.d.mts} +0 -0
- /package/dist/{document-DJ0YiVte.d.cts → document-DIcd27AR.d.mts} +0 -0
- /package/dist/{document-WHS8GHY5.d.mts → document-DK6Xmvao.d.cts} +0 -0
- /package/dist/{document-vq-7rcU5.d.mts → document-DL4Wayv7.d.mts} +0 -0
- /package/dist/{document-CjNHI7Eb.d.cts → document-DX2Vidl1.d.cts} +0 -0
- /package/dist/{document-hEBlSep8.d.cts → document-DY8Wgy1A.d.mts} +0 -0
- /package/dist/{document-Gx2Vrg_w.d.mts → document-Db1-gtyJ.d.mts} +0 -0
- /package/dist/{document-DsSaMVGb.cjs → document-DgG9DIT2.cjs} +0 -0
- /package/dist/{document-DsIPBTG8.cjs → document-DtBkeafK.cjs} +0 -0
- /package/dist/{document-Bo869pZx.d.mts → document-YDFyLZlN.d.mts} +0 -0
- /package/dist/{document-DeoRGh7p.d.mts → document-bJOLxFq1.d.mts} +0 -0
- /package/dist/{document-IIJpsOIO.d.cts → document-xVdETwbX.d.cts} +0 -0
- /package/dist/{document-DMHIUE3J.d.mts → document-yW376Wot.d.mts} +0 -0
- /package/dist/{fields-BQHSYj70.d.cts → fields-BuP0NSFS.d.mts} +0 -0
- /package/dist/{fields-qx-5saY5.d.mts → fields-ByZAYnAi.d.cts} +0 -0
- /package/dist/{json-CqAaKeHA.d.mts → json-BbJGr6x_.d.mts} +0 -0
- /package/dist/{query.schema-BOn5Kk_p.d.mts → query.schema-DKllKSKC.d.mts} +0 -0
- /package/dist/{response-C-7nyNVD.d.mts → response-BZKHnpHe.d.mts} +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { i as VSize, l as VStringMax, r as VPage, t as VIntegerNullable } from "../../validators-P5E_3qzc.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { t as BlogPostDocument } from "../../document-cysZuK08.mjs";
|
|
3
|
+
import { a as LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, c as TEAM_MEMBER_SORT_KEYS, i as TeamMemberTier, l as TEAM_MEMBER_TIER, n as QuerySortTeamMembers, o as LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, r as TeamMemberGroup, s as TEAM_MEMBER_GROUP, t as TeamMemberDocument } from "../../document-Bpgteig6.mjs";
|
|
4
|
+
import { t as TrendDocument } from "../../document-HWHxKIhw.mjs";
|
|
3
5
|
import * as v from "valibot";
|
|
4
6
|
//#region src/entities/team-member/query.ts
|
|
5
7
|
const QueryStrapiSearchTeamMembers = v.object({
|
|
@@ -14,4 +16,11 @@ const QueryStrapiSearchTeamMembers = v.object({
|
|
|
14
16
|
sort: QuerySortTeamMembers
|
|
15
17
|
});
|
|
16
18
|
//#endregion
|
|
17
|
-
|
|
19
|
+
//#region src/entities/team-member/relations.ts
|
|
20
|
+
const TeamMemberDocumentWithRelations = v.object({
|
|
21
|
+
...TeamMemberDocument.entries,
|
|
22
|
+
blog_posts: v.optional(v.nullable(v.array(v.lazy(() => BlogPostDocument)))),
|
|
23
|
+
trends: v.optional(v.nullable(v.array(v.lazy(() => TrendDocument))))
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE, QuerySortTeamMembers, QueryStrapiSearchTeamMembers, TEAM_MEMBER_GROUP, TEAM_MEMBER_SORT_KEYS, TEAM_MEMBER_TIER, TeamMemberDocument, TeamMemberDocumentWithRelations, TeamMemberGroup, TeamMemberTier };
|
|
@@ -1,27 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
|
-
const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
|
|
5
3
|
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
6
|
-
const
|
|
7
|
-
const require_document$1 = require("../../document-DsSaMVGb.cjs");
|
|
4
|
+
const require_document = require("../../document-D1jsgU3z.cjs");
|
|
8
5
|
let valibot = require("valibot");
|
|
9
6
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
7
|
//#region src/entities/trend/constants.ts
|
|
11
8
|
const LIMIT_TREND_PAGINATION_DEFAULT_SIZE = 7;
|
|
12
9
|
const LIMIT_TREND_PAGINATION_MAX_SIZE = 100;
|
|
13
10
|
//#endregion
|
|
14
|
-
//#region src/entities/trend/document.ts
|
|
15
|
-
const TrendDocument = valibot.object({
|
|
16
|
-
...require_document.BaseDocument.entries,
|
|
17
|
-
title: valibot.string(),
|
|
18
|
-
video_embed: valibot.optional(valibot.nullable(require_components_blocks_index.BlockVideoEmbed)),
|
|
19
|
-
caption: valibot.nullable(valibot.string()),
|
|
20
|
-
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
21
|
-
likes: valibot.number(),
|
|
22
|
-
creators: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.TeamMemberDocument))))
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
11
|
//#region src/entities/trend/mutation.ts
|
|
26
12
|
const UpdateTrendsLikes = valibot.object({
|
|
27
13
|
documentId: require_relations.SAssociateOneEntity,
|
|
@@ -30,5 +16,5 @@ const UpdateTrendsLikes = valibot.object({
|
|
|
30
16
|
//#endregion
|
|
31
17
|
exports.LIMIT_TREND_PAGINATION_DEFAULT_SIZE = LIMIT_TREND_PAGINATION_DEFAULT_SIZE;
|
|
32
18
|
exports.LIMIT_TREND_PAGINATION_MAX_SIZE = LIMIT_TREND_PAGINATION_MAX_SIZE;
|
|
33
|
-
exports.TrendDocument = TrendDocument;
|
|
19
|
+
exports.TrendDocument = require_document.TrendDocument;
|
|
34
20
|
exports.UpdateTrendsLikes = UpdateTrendsLikes;
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
|
-
import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
|
|
3
1
|
import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { t as TeamMemberDocument } from "../../document-Cu_HUDC5.mjs";
|
|
2
|
+
import { t as TrendDocument } from "../../document-HWHxKIhw.mjs";
|
|
6
3
|
import * as v from "valibot";
|
|
7
4
|
//#region src/entities/trend/constants.ts
|
|
8
5
|
const LIMIT_TREND_PAGINATION_DEFAULT_SIZE = 7;
|
|
9
6
|
const LIMIT_TREND_PAGINATION_MAX_SIZE = 100;
|
|
10
7
|
//#endregion
|
|
11
|
-
//#region src/entities/trend/document.ts
|
|
12
|
-
const TrendDocument = v.object({
|
|
13
|
-
...BaseDocument.entries,
|
|
14
|
-
title: v.string(),
|
|
15
|
-
video_embed: v.optional(v.nullable(BlockVideoEmbed)),
|
|
16
|
-
caption: v.nullable(v.string()),
|
|
17
|
-
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
18
|
-
likes: v.number(),
|
|
19
|
-
creators: v.optional(v.nullable(v.array(v.lazy(() => TeamMemberDocument))))
|
|
20
|
-
});
|
|
21
|
-
//#endregion
|
|
22
8
|
//#region src/entities/trend/mutation.ts
|
|
23
9
|
const UpdateTrendsLikes = v.object({
|
|
24
10
|
documentId: SAssociateOneEntity,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as SAuthConnectProviderRedirectSearch, c as SForgotUserPassword, d as SRequestConfirmEmail, f as SResetUserPassword, i as SAuthConnectProviderConfirmation, l as SLoginUser, n as UserAuthorizationSuccessResponse, o as SAuthRawAccessToken, p as SUserToken, s as SChangePassword, t as AuthorizedUserDocument, u as SRegisterUser } from "../../index-DfGGyf7_.cjs";
|
|
2
2
|
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as SAuthConnectProviderRedirectSearch, c as SForgotUserPassword, d as SRequestConfirmEmail, f as SResetUserPassword, i as SAuthConnectProviderConfirmation, l as SLoginUser, n as UserAuthorizationSuccessResponse, o as SAuthRawAccessToken, p as SUserToken, s as SChangePassword, t as AuthorizedUserDocument, u as SRegisterUser } from "../../index-Dj9J1FKD.mjs";
|
|
2
2
|
export { AuthorizedUserDocument, SAuthConnectProviderConfirmation, SAuthConnectProviderRedirectSearch, SAuthRawAccessToken, SChangePassword, SForgotUserPassword, SLoginUser, SRegisterUser, SRequestConfirmEmail, SResetUserPassword, SUserToken, UserAuthorizationSuccessResponse };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-
|
|
3
|
+
const require_document = require("../../document-DwpVkKFH.cjs");
|
|
4
|
+
const require_document$1 = require("../../document-B3W1HKLY.cjs");
|
|
4
5
|
let valibot = require("valibot");
|
|
5
6
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
6
|
-
//#region src/entities/up-permission/
|
|
7
|
-
const
|
|
8
|
-
...require_document.
|
|
9
|
-
|
|
7
|
+
//#region src/entities/up-permission/relations.ts
|
|
8
|
+
const PermissionDocumentWithRelations = valibot.object({
|
|
9
|
+
...require_document.PermissionDocument.entries,
|
|
10
|
+
role: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$1.RoleDocument)))
|
|
10
11
|
});
|
|
11
12
|
//#endregion
|
|
12
|
-
exports.PermissionDocument = PermissionDocument;
|
|
13
|
+
exports.PermissionDocument = require_document.PermissionDocument;
|
|
14
|
+
exports.PermissionDocumentWithRelations = PermissionDocumentWithRelations;
|
|
@@ -11,4 +11,25 @@ declare const PermissionDocument: v.ObjectSchema<{
|
|
|
11
11
|
}, undefined>;
|
|
12
12
|
type PermissionDocument = v.InferOutput<typeof PermissionDocument>;
|
|
13
13
|
//#endregion
|
|
14
|
-
|
|
14
|
+
//#region src/entities/up-permission/relations.d.ts
|
|
15
|
+
declare const PermissionDocumentWithRelations: v.ObjectSchema<{
|
|
16
|
+
readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
17
|
+
readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
18
|
+
readonly name: v.StringSchema<undefined>;
|
|
19
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly id: v.NumberSchema<undefined>;
|
|
21
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
22
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
23
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
24
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
25
|
+
}, undefined>>, undefined>, undefined>;
|
|
26
|
+
readonly action: v.StringSchema<undefined>;
|
|
27
|
+
readonly id: v.NumberSchema<undefined>;
|
|
28
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
29
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
30
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
31
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
type PermissionDocumentWithRelations = v.InferOutput<typeof PermissionDocumentWithRelations>;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { PermissionDocument, PermissionDocumentWithRelations };
|
|
@@ -11,4 +11,25 @@ declare const PermissionDocument: v.ObjectSchema<{
|
|
|
11
11
|
}, undefined>;
|
|
12
12
|
type PermissionDocument = v.InferOutput<typeof PermissionDocument>;
|
|
13
13
|
//#endregion
|
|
14
|
-
|
|
14
|
+
//#region src/entities/up-permission/relations.d.ts
|
|
15
|
+
declare const PermissionDocumentWithRelations: v.ObjectSchema<{
|
|
16
|
+
readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
17
|
+
readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
18
|
+
readonly name: v.StringSchema<undefined>;
|
|
19
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly id: v.NumberSchema<undefined>;
|
|
21
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
22
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
23
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
24
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
25
|
+
}, undefined>>, undefined>, undefined>;
|
|
26
|
+
readonly action: v.StringSchema<undefined>;
|
|
27
|
+
readonly id: v.NumberSchema<undefined>;
|
|
28
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
29
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
30
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
31
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
type PermissionDocumentWithRelations = v.InferOutput<typeof PermissionDocumentWithRelations>;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { PermissionDocument, PermissionDocumentWithRelations };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as PermissionDocument } from "../../document-CfUkGKW8.mjs";
|
|
2
|
+
import { t as RoleDocument } from "../../document-CFlCafnR.mjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
|
-
//#region src/entities/up-permission/
|
|
4
|
-
const
|
|
5
|
-
...
|
|
6
|
-
|
|
4
|
+
//#region src/entities/up-permission/relations.ts
|
|
5
|
+
const PermissionDocumentWithRelations = v.object({
|
|
6
|
+
...PermissionDocument.entries,
|
|
7
|
+
role: v.optional(v.nullable(v.lazy(() => RoleDocument)))
|
|
7
8
|
});
|
|
8
9
|
//#endregion
|
|
9
|
-
export { PermissionDocument };
|
|
10
|
+
export { PermissionDocument, PermissionDocumentWithRelations };
|
|
@@ -1,28 +1,18 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-
|
|
3
|
+
const require_document = require("../../document-DwpVkKFH.cjs");
|
|
4
|
+
const require_document$1 = require("../../document-B3W1HKLY.cjs");
|
|
5
|
+
const require_document$2 = require("../../document-oUROy-QQ.cjs");
|
|
4
6
|
let valibot = require("valibot");
|
|
5
7
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
6
|
-
//#region src/entities/up-role/
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"manager",
|
|
12
|
-
"client"
|
|
13
|
-
];
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region src/entities/up-role/fields.ts
|
|
16
|
-
const RoleType = valibot.picklist(ROLE_TYPES);
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/entities/up-role/document.ts
|
|
19
|
-
const RoleDocument = valibot.object({
|
|
20
|
-
...require_document.BaseDocument.entries,
|
|
21
|
-
type: RoleType,
|
|
22
|
-
name: valibot.string(),
|
|
23
|
-
description: valibot.nullable(valibot.string())
|
|
8
|
+
//#region src/entities/up-role/relations.ts
|
|
9
|
+
const RoleDocumentWithRelations = valibot.object({
|
|
10
|
+
...require_document$1.RoleDocument.entries,
|
|
11
|
+
permissions: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document.PermissionDocument)))),
|
|
12
|
+
users: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$2.UserDocument))))
|
|
24
13
|
});
|
|
25
14
|
//#endregion
|
|
26
|
-
exports.ROLE_TYPES = ROLE_TYPES;
|
|
27
|
-
exports.RoleDocument = RoleDocument;
|
|
28
|
-
exports.
|
|
15
|
+
exports.ROLE_TYPES = require_document$1.ROLE_TYPES;
|
|
16
|
+
exports.RoleDocument = require_document$1.RoleDocument;
|
|
17
|
+
exports.RoleDocumentWithRelations = RoleDocumentWithRelations;
|
|
18
|
+
exports.RoleType = require_document$1.RoleType;
|
|
@@ -1,7 +1,42 @@
|
|
|
1
1
|
import { t as RoleDocument } from "../../document-BezYxNmb.cjs";
|
|
2
|
-
import { t as RoleType } from "../../fields-
|
|
2
|
+
import { t as RoleType } from "../../fields-ByZAYnAi.cjs";
|
|
3
|
+
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/entities/up-role/constants.d.ts
|
|
5
6
|
declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
|
|
6
7
|
//#endregion
|
|
7
|
-
|
|
8
|
+
//#region src/entities/up-role/relations.d.ts
|
|
9
|
+
declare const RoleDocumentWithRelations: v.ObjectSchema<{
|
|
10
|
+
readonly permissions: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
11
|
+
readonly action: v.StringSchema<undefined>;
|
|
12
|
+
readonly id: v.NumberSchema<undefined>;
|
|
13
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
14
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
16
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
17
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
18
|
+
readonly users: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
19
|
+
readonly username: v.StringSchema<undefined>;
|
|
20
|
+
readonly email: v.StringSchema<undefined>;
|
|
21
|
+
readonly provider: v.StringSchema<undefined>;
|
|
22
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
23
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
24
|
+
readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly id: v.NumberSchema<undefined>;
|
|
26
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
27
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
29
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
30
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
31
|
+
readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
32
|
+
readonly name: v.StringSchema<undefined>;
|
|
33
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly id: v.NumberSchema<undefined>;
|
|
35
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
36
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
38
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
type RoleDocumentWithRelations = v.InferOutput<typeof RoleDocumentWithRelations>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ROLE_TYPES, RoleDocument, RoleDocumentWithRelations, RoleType };
|
|
@@ -1,7 +1,42 @@
|
|
|
1
|
-
import { t as RoleDocument } from "../../document-
|
|
2
|
-
import { t as RoleType } from "../../fields-
|
|
1
|
+
import { t as RoleDocument } from "../../document-CCcofYd9.mjs";
|
|
2
|
+
import { t as RoleType } from "../../fields-BuP0NSFS.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/entities/up-role/constants.d.ts
|
|
5
6
|
declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
|
|
6
7
|
//#endregion
|
|
7
|
-
|
|
8
|
+
//#region src/entities/up-role/relations.d.ts
|
|
9
|
+
declare const RoleDocumentWithRelations: v.ObjectSchema<{
|
|
10
|
+
readonly permissions: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
11
|
+
readonly action: v.StringSchema<undefined>;
|
|
12
|
+
readonly id: v.NumberSchema<undefined>;
|
|
13
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
14
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
16
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
17
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
18
|
+
readonly users: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
19
|
+
readonly username: v.StringSchema<undefined>;
|
|
20
|
+
readonly email: v.StringSchema<undefined>;
|
|
21
|
+
readonly provider: v.StringSchema<undefined>;
|
|
22
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
23
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
24
|
+
readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly id: v.NumberSchema<undefined>;
|
|
26
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
27
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
29
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
30
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
31
|
+
readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
32
|
+
readonly name: v.StringSchema<undefined>;
|
|
33
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly id: v.NumberSchema<undefined>;
|
|
35
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
36
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
38
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
type RoleDocumentWithRelations = v.InferOutput<typeof RoleDocumentWithRelations>;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { ROLE_TYPES, RoleDocument, RoleDocumentWithRelations, RoleType };
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as PermissionDocument } from "../../document-CfUkGKW8.mjs";
|
|
2
|
+
import { n as RoleType, r as ROLE_TYPES, t as RoleDocument } from "../../document-CFlCafnR.mjs";
|
|
3
|
+
import { t as UserDocument } from "../../document-BRxLaO7o.mjs";
|
|
2
4
|
import * as v from "valibot";
|
|
3
|
-
//#region src/entities/up-role/
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"manager",
|
|
9
|
-
"client"
|
|
10
|
-
];
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region src/entities/up-role/fields.ts
|
|
13
|
-
const RoleType = v.picklist(ROLE_TYPES);
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region src/entities/up-role/document.ts
|
|
16
|
-
const RoleDocument = v.object({
|
|
17
|
-
...BaseDocument.entries,
|
|
18
|
-
type: RoleType,
|
|
19
|
-
name: v.string(),
|
|
20
|
-
description: v.nullable(v.string())
|
|
5
|
+
//#region src/entities/up-role/relations.ts
|
|
6
|
+
const RoleDocumentWithRelations = v.object({
|
|
7
|
+
...RoleDocument.entries,
|
|
8
|
+
permissions: v.optional(v.nullable(v.array(v.lazy(() => PermissionDocument)))),
|
|
9
|
+
users: v.optional(v.nullable(v.array(v.lazy(() => UserDocument))))
|
|
21
10
|
});
|
|
22
11
|
//#endregion
|
|
23
|
-
export { ROLE_TYPES, RoleDocument, RoleType };
|
|
12
|
+
export { ROLE_TYPES, RoleDocument, RoleDocumentWithRelations, RoleType };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_document = require("../../document-BAro2Mrj.cjs");
|
|
4
3
|
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
5
4
|
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
5
|
+
const require_document = require("../../document-Bu5YWCAU.cjs");
|
|
6
|
+
const require_document$1 = require("../../document-B0Wfxtx_.cjs");
|
|
7
|
+
const require_document$2 = require("../../document-B3W1HKLY.cjs");
|
|
8
|
+
const require_document$3 = require("../../document-oUROy-QQ.cjs");
|
|
9
|
+
const require_document$4 = require("../../document-DnVLqNHr.cjs");
|
|
6
10
|
let valibot = require("valibot");
|
|
7
11
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
12
|
//#region src/entities/up-user/constants.ts
|
|
@@ -18,17 +22,6 @@ const USER_SORT_KEYS = [
|
|
|
18
22
|
"updatedAt"
|
|
19
23
|
];
|
|
20
24
|
//#endregion
|
|
21
|
-
//#region src/entities/up-user/document.ts
|
|
22
|
-
const UserDocument = valibot.object({
|
|
23
|
-
...require_document.BaseDocument.entries,
|
|
24
|
-
username: valibot.string(),
|
|
25
|
-
email: valibot.string(),
|
|
26
|
-
provider: valibot.string(),
|
|
27
|
-
confirmed: valibot.boolean(),
|
|
28
|
-
blocked: valibot.boolean(),
|
|
29
|
-
clerk_user_id: valibot.nullable(valibot.string())
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
25
|
//#region src/entities/up-user/fields.ts
|
|
33
26
|
const QuerySortUsers = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(USER_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(USER_SORT_KEYS.length)));
|
|
34
27
|
//#endregion
|
|
@@ -54,6 +47,15 @@ const QueryStrapiUsersByIdentifier = valibot.object({
|
|
|
54
47
|
size: require_validators.VSize(10)
|
|
55
48
|
});
|
|
56
49
|
//#endregion
|
|
50
|
+
//#region src/entities/up-user/relations.ts
|
|
51
|
+
const UserDocumentWithRelations = valibot.object({
|
|
52
|
+
...require_document$3.UserDocument.entries,
|
|
53
|
+
role: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$2.RoleDocument))),
|
|
54
|
+
account: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$4.UserAccountDocument))),
|
|
55
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document.ClientUserDocument)))),
|
|
56
|
+
utm_tracking_links: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$1.UtmTrackingLinkDocument))))
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
57
59
|
exports.CreateUserDocument = CreateUserDocument;
|
|
58
60
|
exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = LIMIT_USER_PAGINATION_DEFAULT_SIZE;
|
|
59
61
|
exports.LIMIT_USER_PAGINATION_MAX_SIZE = LIMIT_USER_PAGINATION_MAX_SIZE;
|
|
@@ -61,4 +63,5 @@ exports.QuerySortUsers = QuerySortUsers;
|
|
|
61
63
|
exports.QueryStrapiUsers = QueryStrapiUsers;
|
|
62
64
|
exports.QueryStrapiUsersByIdentifier = QueryStrapiUsersByIdentifier;
|
|
63
65
|
exports.USER_SORT_KEYS = USER_SORT_KEYS;
|
|
64
|
-
exports.UserDocument = UserDocument;
|
|
66
|
+
exports.UserDocument = require_document$3.UserDocument;
|
|
67
|
+
exports.UserDocumentWithRelations = UserDocumentWithRelations;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as UserDocument } from "../../index-DfGGyf7_.cjs";
|
|
2
|
+
import { p as ClientEntityScope } from "../../document-CLNQhWUt.cjs";
|
|
2
3
|
import * as v from "valibot";
|
|
3
4
|
|
|
4
5
|
//#region src/entities/up-user/constants.d.ts
|
|
@@ -7,7 +8,7 @@ declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
|
|
|
7
8
|
declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
|
|
8
9
|
//#endregion
|
|
9
10
|
//#region src/entities/up-user/fields.d.ts
|
|
10
|
-
declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
11
|
+
declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
|
|
11
12
|
type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
|
|
12
13
|
//#endregion
|
|
13
14
|
//#region src/entities/up-user/mutation.d.ts
|
|
@@ -25,7 +26,7 @@ type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
|
|
|
25
26
|
declare const QueryStrapiUsers: v.ObjectSchema<{
|
|
26
27
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
27
28
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
28
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
29
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
|
|
29
30
|
}, undefined>;
|
|
30
31
|
type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
|
|
31
32
|
declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
|
|
@@ -35,4 +36,71 @@ declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
|
|
|
35
36
|
}, undefined>;
|
|
36
37
|
type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
|
|
37
38
|
//#endregion
|
|
38
|
-
|
|
39
|
+
//#region src/entities/up-user/relations.d.ts
|
|
40
|
+
declare const UserDocumentWithRelations: v.ObjectSchema<{
|
|
41
|
+
readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
42
|
+
readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
43
|
+
readonly name: v.StringSchema<undefined>;
|
|
44
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
45
|
+
readonly id: v.NumberSchema<undefined>;
|
|
46
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
47
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
48
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
49
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
50
|
+
}, undefined>>, undefined>, undefined>;
|
|
51
|
+
readonly account: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
|
|
52
|
+
readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
53
|
+
readonly first_name: v.StringSchema<undefined>;
|
|
54
|
+
readonly last_name: v.StringSchema<undefined>;
|
|
55
|
+
readonly id: v.NumberSchema<undefined>;
|
|
56
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
57
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
58
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
59
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
60
|
+
}, undefined>>, undefined>, undefined>;
|
|
61
|
+
readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
62
|
+
readonly scopes: v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<ClientEntityScope[], undefined>]>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>, undefined>;
|
|
63
|
+
readonly id: v.NumberSchema<undefined>;
|
|
64
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
65
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
67
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
68
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
69
|
+
readonly utm_tracking_links: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
|
|
70
|
+
readonly url_destination: v.StringSchema<undefined>;
|
|
71
|
+
readonly utm_medium: v.StringSchema<undefined>;
|
|
72
|
+
readonly utm_source: v.StringSchema<undefined>;
|
|
73
|
+
readonly utm_campaign: v.StringSchema<undefined>;
|
|
74
|
+
readonly utm_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
readonly utm_creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
76
|
+
readonly utm_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
77
|
+
readonly campaign_phase: v.StringSchema<undefined>;
|
|
78
|
+
readonly campaign_product: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
79
|
+
readonly campaign_targeting: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
80
|
+
readonly campaign_key: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
81
|
+
readonly creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
+
readonly creative_format_variants: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
83
|
+
readonly url: v.StringSchema<undefined>;
|
|
84
|
+
readonly is_active: v.BooleanSchema<undefined>;
|
|
85
|
+
readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
+
readonly id: v.NumberSchema<undefined>;
|
|
87
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
88
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
89
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
90
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
91
|
+
}, undefined>>, undefined>, undefined>, undefined>;
|
|
92
|
+
readonly username: v.StringSchema<undefined>;
|
|
93
|
+
readonly email: v.StringSchema<undefined>;
|
|
94
|
+
readonly provider: v.StringSchema<undefined>;
|
|
95
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
96
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
97
|
+
readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly id: v.NumberSchema<undefined>;
|
|
99
|
+
readonly documentId: v.StringSchema<undefined>;
|
|
100
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
101
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
102
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
103
|
+
}, undefined>;
|
|
104
|
+
type UserDocumentWithRelations = v.InferOutput<typeof UserDocumentWithRelations>;
|
|
105
|
+
//#endregion
|
|
106
|
+
export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
|