@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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as BaseDocument } from "./document-Bqoi1MdT.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
//#region src/entities/media-medium/document.ts
|
|
4
|
+
const MediaMediumDocument = v.object({
|
|
5
|
+
...BaseDocument.entries,
|
|
6
|
+
title: v.string(),
|
|
7
|
+
slug: v.string(),
|
|
8
|
+
is_active: v.boolean(),
|
|
9
|
+
is_organic_social: v.boolean(),
|
|
10
|
+
is_paid_media: v.boolean(),
|
|
11
|
+
description: v.nullable(v.string())
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { MediaMediumDocument as t };
|
|
@@ -35,7 +35,7 @@ declare const AuditLogDocument: v.ObjectSchema<{
|
|
|
35
35
|
type AuditLogDocument = v.InferOutput<typeof AuditLogDocument>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/entities/audit-log/fields.d.ts
|
|
38
|
-
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
38
|
+
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
39
39
|
type QuerySortAuditLogs = v.InferOutput<typeof QuerySortAuditLogs>;
|
|
40
40
|
declare const AuditLogMethod: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
41
41
|
type AuditLogMethod = v.InferOutput<typeof AuditLogMethod>;
|
|
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
|
127
127
|
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
128
128
|
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
129
129
|
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
130
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
130
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as JsonData } from "../../json-
|
|
1
|
+
import { t as JsonData } from "../../json-BbJGr6x_.mjs";
|
|
2
2
|
import * as v from "valibot";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/audit-log/constants.d.ts
|
|
@@ -35,7 +35,7 @@ declare const AuditLogDocument: v.ObjectSchema<{
|
|
|
35
35
|
type AuditLogDocument = v.InferOutput<typeof AuditLogDocument>;
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/entities/audit-log/fields.d.ts
|
|
38
|
-
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
38
|
+
declare const QuerySortAuditLogs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
39
39
|
type QuerySortAuditLogs = v.InferOutput<typeof QuerySortAuditLogs>;
|
|
40
40
|
declare const AuditLogMethod: v.PicklistSchema<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "UNKNOWN"], undefined>;
|
|
41
41
|
type AuditLogMethod = v.InferOutput<typeof AuditLogMethod>;
|
|
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchAuditLogs: v.ObjectSchema<{
|
|
|
127
127
|
readonly entity_content_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
128
128
|
readonly entity_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
129
129
|
readonly entity_label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
130
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "
|
|
130
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_id:ASC" | "entity_label:ASC" | "method:ASC" | "actor_type:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "path:DESC" | "url:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_id:DESC" | "entity_label:DESC" | "method:DESC" | "actor_type:DESC" | "entity_action:DESC" | "entity_content_type:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -1,64 +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_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
6
4
|
const require_strapi = require("../../strapi-C7POOPEf.cjs");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
5
|
+
const require_document = require("../../document-B-BesdbN.cjs");
|
|
6
|
+
const require_document$1 = require("../../document-mxwQ5HxZ.cjs");
|
|
7
|
+
const require_document$2 = require("../../document-D067FSuD.cjs");
|
|
8
|
+
const require_document$3 = require("../../document-DgG9DIT2.cjs");
|
|
11
9
|
let valibot = require("valibot");
|
|
12
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
13
|
-
//#region src/entities/blog-post/constants.ts
|
|
14
|
-
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
15
|
-
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
16
|
-
const BLOG_POST_SORT_KEYS = [
|
|
17
|
-
"id",
|
|
18
|
-
"title",
|
|
19
|
-
"slug",
|
|
20
|
-
"is_live",
|
|
21
|
-
"is_featured",
|
|
22
|
-
"is_public",
|
|
23
|
-
"published",
|
|
24
|
-
"createdAt",
|
|
25
|
-
"updatedAt"
|
|
26
|
-
];
|
|
27
|
-
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region src/entities/blog-post/fields.ts
|
|
30
|
-
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)));
|
|
31
|
-
const BlogPostLayout = valibot.picklist(BLOG_POST_LAYOUT);
|
|
32
|
-
const BlogPostBlock = valibot.union([
|
|
33
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockSectionTitle),
|
|
34
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockGraphicImage),
|
|
35
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockPullQuote),
|
|
36
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockVideo),
|
|
37
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockFaq),
|
|
38
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockContact),
|
|
39
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockButtonGroup),
|
|
40
|
-
valibot.lazy(() => require_components_blocks_index.ComponentBlockFullscreenContent),
|
|
41
|
-
valibot.lazy(() => require_components_forms_index.ComponentFormSelect),
|
|
42
|
-
valibot.lazy(() => require_components_slideshow_index.ComponentSlideshow),
|
|
43
|
-
valibot.lazy(() => require_components_shared_index.ComponentSharedRichTextBlock)
|
|
44
|
-
]);
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/entities/blog-post/document.ts
|
|
47
|
-
const BlogPostDocument = valibot.object({
|
|
48
|
-
...require_document.BaseDocument.entries,
|
|
49
|
-
title: valibot.string(),
|
|
50
|
-
slug: valibot.string(),
|
|
51
|
-
excerpt: valibot.string(),
|
|
52
|
-
published: valibot.string(),
|
|
53
|
-
is_live: valibot.boolean(),
|
|
54
|
-
is_featured: valibot.boolean(),
|
|
55
|
-
is_public: valibot.boolean(),
|
|
56
|
-
seo: valibot.optional(valibot.nullable(require_components_shared_index.SeoMeta)),
|
|
57
|
-
layout: valibot.nullable(BlogPostLayout),
|
|
58
|
-
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
59
|
-
blocks: valibot.optional(valibot.array(valibot.lazy(() => BlogPostBlock)))
|
|
60
|
-
});
|
|
61
|
-
//#endregion
|
|
62
11
|
//#region src/entities/blog-post/query.ts
|
|
63
12
|
const QueryStrapiSearchBlogPosts = valibot.object({
|
|
64
13
|
page: require_validators.VPage(),
|
|
@@ -67,21 +16,31 @@ const QueryStrapiSearchBlogPosts = valibot.object({
|
|
|
67
16
|
category: valibot.optional(require_validators.VStringShort(0)),
|
|
68
17
|
tags: valibot.optional(valibot.array(require_validators.VStringShort())),
|
|
69
18
|
status: valibot.optional(require_strapi.ContentStatus),
|
|
70
|
-
sort: QuerySortBlogPosts
|
|
19
|
+
sort: require_document.QuerySortBlogPosts
|
|
71
20
|
});
|
|
72
21
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
73
22
|
slug: require_validators.VStringShort(),
|
|
74
23
|
status: valibot.optional(require_strapi.ContentStatus, "published"),
|
|
75
|
-
sort: QuerySortBlogPosts
|
|
24
|
+
sort: require_document.QuerySortBlogPosts
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/entities/blog-post/relations.ts
|
|
28
|
+
const BlogPostDocumentWithRelations = valibot.object({
|
|
29
|
+
...require_document.BlogPostDocument.entries,
|
|
30
|
+
category: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$1.CategoryDocument))),
|
|
31
|
+
tags: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$2.TagDocument)))),
|
|
32
|
+
authors: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document$3.TeamMemberDocument)))),
|
|
33
|
+
related_posts: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => require_document.BlogPostDocument))))
|
|
76
34
|
});
|
|
77
35
|
//#endregion
|
|
78
|
-
exports.BLOG_POST_LAYOUT = BLOG_POST_LAYOUT;
|
|
79
|
-
exports.BLOG_POST_SORT_KEYS = BLOG_POST_SORT_KEYS;
|
|
80
|
-
exports.BlogPostBlock = BlogPostBlock;
|
|
81
|
-
exports.BlogPostDocument = BlogPostDocument;
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
36
|
+
exports.BLOG_POST_LAYOUT = require_document.BLOG_POST_LAYOUT;
|
|
37
|
+
exports.BLOG_POST_SORT_KEYS = require_document.BLOG_POST_SORT_KEYS;
|
|
38
|
+
exports.BlogPostBlock = require_document.BlogPostBlock;
|
|
39
|
+
exports.BlogPostDocument = require_document.BlogPostDocument;
|
|
40
|
+
exports.BlogPostDocumentWithRelations = BlogPostDocumentWithRelations;
|
|
41
|
+
exports.BlogPostLayout = require_document.BlogPostLayout;
|
|
42
|
+
exports.LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = require_document.LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE;
|
|
43
|
+
exports.LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = require_document.LIMIT_BLOG_POST_PAGINATION_MAX_SIZE;
|
|
44
|
+
exports.QuerySortBlogPosts = require_document.QuerySortBlogPosts;
|
|
86
45
|
exports.QueryStrapiSearchBlogPosts = QueryStrapiSearchBlogPosts;
|
|
87
46
|
exports.QueryStrapiSearchBlogPostsBySlug = QueryStrapiSearchBlogPostsBySlug;
|