@getcommunity/gc-validators 0.0.271-alpha.11 → 0.0.271-alpha.12
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/{document-rndDoVSo.cjs → document-BSK8DiQL.cjs} +20 -20
- package/dist/document-C78SHfT3.d.cts +24 -0
- package/dist/{document-D060zybc.mjs → document-CDavjuJ-.mjs} +1 -1
- package/dist/{document-CrnqUGRk.cjs → document-Chjb61YZ.cjs} +26 -26
- package/dist/{document-Ccvtwgy_.cjs → document-CwIvc2p7.cjs} +1 -1
- package/dist/{document-Cx4Klv8A.mjs → document-DdTBFCRH.mjs} +27 -27
- package/dist/document-Dogxyxha.d.mts +24 -0
- package/dist/{document-CTozOkYP.mjs → document-xcPgddLA.mjs} +21 -21
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +2 -2
- package/dist/entities/blog-page/index.cjs +1 -1
- package/dist/entities/blog-page/index.d.cts +12 -251
- package/dist/entities/blog-page/index.d.mts +12 -251
- package/dist/entities/blog-page/index.mjs +1 -1
- package/dist/entities/blog-post/index.cjs +1 -1
- package/dist/entities/blog-post/index.d.cts +1 -1
- package/dist/entities/blog-post/index.d.mts +1 -1
- package/dist/entities/blog-post/index.mjs +1 -1
- package/dist/entities/careers-page/index.cjs +1 -1
- package/dist/entities/careers-page/index.d.cts +12 -251
- package/dist/entities/careers-page/index.d.mts +12 -251
- package/dist/entities/careers-page/index.mjs +1 -1
- package/dist/entities/category/index.cjs +1 -1
- package/dist/entities/category/index.d.cts +3 -3
- package/dist/entities/category/index.d.mts +3 -3
- package/dist/entities/category/index.mjs +1 -1
- package/dist/entities/client/index.cjs +1 -1
- package/dist/entities/client/index.d.cts +1 -1
- package/dist/entities/client/index.d.mts +1 -1
- package/dist/entities/client/index.mjs +1 -1
- package/dist/entities/client-content-pillar/index.cjs +1 -1
- package/dist/entities/client-content-pillar/index.d.cts +1 -1
- package/dist/entities/client-content-pillar/index.d.mts +1 -1
- package/dist/entities/client-content-pillar/index.mjs +1 -1
- package/dist/entities/client-media-platform/index.cjs +1 -1
- package/dist/entities/client-media-platform/index.d.cts +1 -1
- package/dist/entities/client-media-platform/index.d.mts +1 -1
- package/dist/entities/client-media-platform/index.mjs +1 -1
- package/dist/entities/client-project/index.cjs +1 -1
- package/dist/entities/client-project/index.d.cts +1 -1
- package/dist/entities/client-project/index.d.mts +1 -1
- package/dist/entities/client-project/index.mjs +1 -1
- package/dist/entities/client-report/index.cjs +1 -1
- package/dist/entities/client-report/index.d.cts +1 -1
- package/dist/entities/client-report/index.d.mts +1 -1
- package/dist/entities/client-report/index.mjs +1 -1
- package/dist/entities/client-styleguide/index.cjs +1 -1
- package/dist/entities/client-styleguide/index.d.cts +1 -1
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-styleguide/index.mjs +1 -1
- package/dist/entities/client-user/index.cjs +1 -1
- package/dist/entities/client-user/index.d.cts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/client-user/index.mjs +1 -1
- package/dist/entities/content-pillar/index.cjs +1 -1
- package/dist/entities/content-pillar/index.d.cts +1 -1
- package/dist/entities/content-pillar/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.mjs +1 -1
- package/dist/entities/faq-page/index.cjs +1 -1
- package/dist/entities/faq-page/index.d.cts +13 -329
- package/dist/entities/faq-page/index.d.mts +13 -329
- package/dist/entities/faq-page/index.mjs +1 -1
- package/dist/entities/formatter/index.d.cts +5 -5
- package/dist/entities/formatter/index.d.mts +5 -5
- package/dist/entities/gcflytour/index.cjs +1 -1
- package/dist/entities/gcflytour/index.d.cts +1 -1
- package/dist/entities/gcflytour/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.mjs +1 -1
- package/dist/entities/gcflytour-snap/index.cjs +1 -1
- package/dist/entities/gcflytour-snap/index.d.cts +1 -1
- package/dist/entities/gcflytour-snap/index.d.mts +1 -1
- package/dist/entities/gcflytour-snap/index.mjs +1 -1
- package/dist/entities/landing-page/index.cjs +1 -1
- package/dist/entities/landing-page/index.d.cts +24 -474
- package/dist/entities/landing-page/index.d.mts +24 -474
- package/dist/entities/landing-page/index.mjs +1 -1
- package/dist/entities/media-content-type/index.cjs +1 -1
- 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 +1 -1
- package/dist/entities/media-creative-format/index.cjs +1 -1
- 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 +1 -1
- package/dist/entities/media-medium/index.cjs +1 -1
- package/dist/entities/media-medium/index.d.cts +3 -3
- package/dist/entities/media-medium/index.d.mts +3 -3
- package/dist/entities/media-medium/index.mjs +1 -1
- package/dist/entities/media-platform/index.cjs +1 -1
- package/dist/entities/media-platform/index.d.cts +1 -1
- package/dist/entities/media-platform/index.d.mts +1 -1
- package/dist/entities/media-platform/index.mjs +1 -1
- package/dist/entities/monday-workspace/index.cjs +1 -1
- package/dist/entities/monday-workspace/index.d.cts +1 -1
- package/dist/entities/monday-workspace/index.d.mts +1 -1
- package/dist/entities/monday-workspace/index.mjs +1 -1
- package/dist/entities/policy-page/index.cjs +2 -2
- package/dist/entities/policy-page/index.d.cts +14 -321
- package/dist/entities/policy-page/index.d.mts +14 -321
- package/dist/entities/policy-page/index.mjs +2 -2
- package/dist/entities/product/index.cjs +1 -1
- package/dist/entities/product/index.d.cts +1 -1
- package/dist/entities/product/index.d.mts +1 -1
- package/dist/entities/product/index.mjs +1 -1
- package/dist/entities/product-highlight/index.cjs +1 -1
- package/dist/entities/product-highlight/index.d.cts +1 -1
- package/dist/entities/product-highlight/index.d.mts +1 -1
- package/dist/entities/product-highlight/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +1 -1
- package/dist/entities/tag/index.d.cts +2 -2
- package/dist/entities/tag/index.d.mts +2 -2
- package/dist/entities/tag/index.mjs +1 -1
- package/dist/entities/team-member/index.cjs +1 -1
- package/dist/entities/team-member/index.d.cts +1 -1
- package/dist/entities/team-member/index.d.mts +1 -1
- package/dist/entities/team-member/index.mjs +1 -1
- package/dist/entities/team-page/index.cjs +1 -1
- package/dist/entities/team-page/index.d.cts +12 -251
- package/dist/entities/team-page/index.d.mts +12 -251
- package/dist/entities/team-page/index.mjs +1 -1
- package/dist/entities/trend/index.cjs +1 -1
- package/dist/entities/trend/index.d.cts +1 -1
- package/dist/entities/trend/index.d.mts +1 -1
- package/dist/entities/trend/index.mjs +1 -1
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-permission/index.cjs +1 -1
- package/dist/entities/up-permission/index.d.cts +1 -1
- package/dist/entities/up-permission/index.d.mts +1 -1
- package/dist/entities/up-permission/index.mjs +1 -1
- package/dist/entities/up-role/index.cjs +1 -1
- package/dist/entities/up-role/index.d.cts +1 -1
- package/dist/entities/up-role/index.d.mts +1 -1
- package/dist/entities/up-role/index.mjs +1 -1
- package/dist/entities/up-user/index.cjs +1 -1
- package/dist/entities/up-user/index.d.cts +1 -1
- package/dist/entities/up-user/index.d.mts +1 -1
- package/dist/entities/up-user/index.mjs +1 -1
- 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 +1 -1
- package/dist/entities/user-account/index.d.cts +1 -1
- package/dist/entities/user-account/index.d.mts +1 -1
- package/dist/entities/user-account/index.mjs +1 -1
- package/dist/entities/utm-tracking-link/index.cjs +1 -1
- package/dist/entities/utm-tracking-link/index.d.cts +1 -1
- package/dist/entities/utm-tracking-link/index.d.mts +1 -1
- package/dist/entities/utm-tracking-link/index.mjs +1 -1
- package/dist/{index-C_UxUxQs.d.cts → index-95Plax-l.d.cts} +3 -3
- package/dist/{index--PSda81w.d.cts → index-B9UsHgee.d.cts} +27 -27
- package/dist/{index-C2eyUQu3.d.mts → index-CT61En1D.d.mts} +27 -27
- package/dist/{index-CGetOe65.d.mts → index-yOW6iDx3.d.mts} +3 -3
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/document-BVhB_t1g.d.mts +0 -321
- package/dist/document-DtDSYDbn.d.cts +0 -321
- /package/dist/{document-c3GNPelp.mjs → document-DVRGai2u.mjs} +0 -0
- /package/dist/{document-DaICHS9G.cjs → document-hd_9Z1Vd.cjs} +0 -0
|
@@ -8,10 +8,28 @@ const require_components_shared_index = require("./components/shared/index.cjs")
|
|
|
8
8
|
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
9
9
|
const require_components_brand_index = require("./components/brand/index.cjs");
|
|
10
10
|
const require_components_utm_index = require("./components/utm/index.cjs");
|
|
11
|
-
const require_document$1 = require("./document-
|
|
12
|
-
const require_document$2 = require("./document-
|
|
11
|
+
const require_document$1 = require("./document-hd_9Z1Vd.cjs");
|
|
12
|
+
const require_document$2 = require("./document-CwIvc2p7.cjs");
|
|
13
13
|
let valibot = require("valibot");
|
|
14
14
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
15
|
+
//#region src/entities/content-pillar/document.ts
|
|
16
|
+
const ContentPillarDocument = valibot.object({
|
|
17
|
+
...require_document.BaseDocument.entries,
|
|
18
|
+
title: valibot.string(),
|
|
19
|
+
slug: valibot.string(),
|
|
20
|
+
description: valibot.nullable(valibot.string()),
|
|
21
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
22
|
+
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientContentPillarDocument))))
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
26
|
+
const ClientContentPillarDocument = valibot.object({
|
|
27
|
+
...require_document.BaseDocument.entries,
|
|
28
|
+
is_active: valibot.boolean(),
|
|
29
|
+
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument))),
|
|
30
|
+
content_pillar: valibot.optional(valibot.nullable(valibot.lazy(() => ContentPillarDocument)))
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
15
33
|
//#region src/entities/media-creative-format/document.ts
|
|
16
34
|
const MediaCreativeFormatDocument = valibot.object({
|
|
17
35
|
...require_document.BaseDocument.entries,
|
|
@@ -438,24 +456,6 @@ const ClientDocument = valibot.object({
|
|
|
438
456
|
gcflytours: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => GCFlyTourDocument))))
|
|
439
457
|
});
|
|
440
458
|
//#endregion
|
|
441
|
-
//#region src/entities/content-pillar/document.ts
|
|
442
|
-
const ContentPillarDocument = valibot.object({
|
|
443
|
-
...require_document.BaseDocument.entries,
|
|
444
|
-
title: valibot.string(),
|
|
445
|
-
slug: valibot.string(),
|
|
446
|
-
description: valibot.nullable(valibot.string()),
|
|
447
|
-
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
448
|
-
clients: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => ClientContentPillarDocument))))
|
|
449
|
-
});
|
|
450
|
-
//#endregion
|
|
451
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
452
|
-
const ClientContentPillarDocument = valibot.object({
|
|
453
|
-
...require_document.BaseDocument.entries,
|
|
454
|
-
is_active: valibot.boolean(),
|
|
455
|
-
client: valibot.optional(valibot.nullable(valibot.lazy(() => ClientDocument))),
|
|
456
|
-
content_pillar: valibot.optional(valibot.nullable(valibot.lazy(() => ContentPillarDocument)))
|
|
457
|
-
});
|
|
458
|
-
//#endregion
|
|
459
459
|
Object.defineProperty(exports, "CLIENT_PROJECT_PHASES", {
|
|
460
460
|
enumerable: true,
|
|
461
461
|
get: function() {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as MediaUploadDocument } from "./media-upload-D-nP8FR1.cjs";
|
|
2
|
+
import { s as SeoMeta } from "./index-BbwsFaWE.cjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
|
|
5
|
+
//#region src/entities/product/document.d.ts
|
|
6
|
+
declare const ProductDocument: v.GenericSchema<{
|
|
7
|
+
id: number;
|
|
8
|
+
documentId: string;
|
|
9
|
+
publishedAt?: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
seo?: SeoMeta | null;
|
|
13
|
+
title: string;
|
|
14
|
+
slug: string;
|
|
15
|
+
introduction: string;
|
|
16
|
+
flyer_link: string | null;
|
|
17
|
+
featured_image?: MediaUploadDocument | null;
|
|
18
|
+
cta_text: string;
|
|
19
|
+
cta_form_caption: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}>;
|
|
22
|
+
type ProductDocument = v.InferOutput<typeof ProductDocument>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ProductDocument as t };
|
|
@@ -5,7 +5,7 @@ import * as v from "valibot";
|
|
|
5
5
|
//#region src/entities/product/document.ts
|
|
6
6
|
const ProductDocument = v.object({
|
|
7
7
|
...BaseDocument.entries,
|
|
8
|
-
seo: v.
|
|
8
|
+
seo: v.nullable(v.lazy(() => SeoMeta)),
|
|
9
9
|
title: v.string(),
|
|
10
10
|
slug: v.string(),
|
|
11
11
|
introduction: v.string(),
|
|
@@ -5,33 +5,9 @@ const require_components_shared_index = require("./components/shared/index.cjs")
|
|
|
5
5
|
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
6
6
|
const require_components_forms_index = require("./components/forms/index.cjs");
|
|
7
7
|
const require_components_slideshow_index = require("./components/slideshow/index.cjs");
|
|
8
|
-
const require_document$1 = require("./document-
|
|
8
|
+
const require_document$1 = require("./document-hd_9Z1Vd.cjs");
|
|
9
9
|
let valibot = require("valibot");
|
|
10
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
11
|
-
//#region src/entities/blog-post/constants.ts
|
|
12
|
-
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
13
|
-
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
14
|
-
const BLOG_POST_SORT_KEYS = [
|
|
15
|
-
"id",
|
|
16
|
-
"title",
|
|
17
|
-
"slug",
|
|
18
|
-
"is_live",
|
|
19
|
-
"is_featured",
|
|
20
|
-
"is_public",
|
|
21
|
-
"published",
|
|
22
|
-
"createdAt",
|
|
23
|
-
"updatedAt"
|
|
24
|
-
];
|
|
25
|
-
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/entities/category/document.ts
|
|
28
|
-
const CategoryDocument = valibot.object({
|
|
29
|
-
...require_document.BaseDocument.entries,
|
|
30
|
-
label: valibot.string(),
|
|
31
|
-
slug: valibot.string(),
|
|
32
|
-
blog_posts: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => BlogPostDocument))))
|
|
33
|
-
});
|
|
34
|
-
//#endregion
|
|
35
11
|
//#region src/entities/trend/document.ts
|
|
36
12
|
const TrendDocument = valibot.object({
|
|
37
13
|
...require_document.BaseDocument.entries,
|
|
@@ -90,6 +66,22 @@ const TeamMemberDocument = valibot.object({
|
|
|
90
66
|
trends: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => TrendDocument))))
|
|
91
67
|
});
|
|
92
68
|
//#endregion
|
|
69
|
+
//#region src/entities/blog-post/constants.ts
|
|
70
|
+
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
71
|
+
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
72
|
+
const BLOG_POST_SORT_KEYS = [
|
|
73
|
+
"id",
|
|
74
|
+
"title",
|
|
75
|
+
"slug",
|
|
76
|
+
"is_live",
|
|
77
|
+
"is_featured",
|
|
78
|
+
"is_public",
|
|
79
|
+
"published",
|
|
80
|
+
"createdAt",
|
|
81
|
+
"updatedAt"
|
|
82
|
+
];
|
|
83
|
+
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
84
|
+
//#endregion
|
|
93
85
|
//#region src/entities/blog-post/fields.ts
|
|
94
86
|
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)));
|
|
95
87
|
const BlogPostLayout = valibot.picklist(BLOG_POST_LAYOUT);
|
|
@@ -117,7 +109,7 @@ const BlogPostDocument = valibot.object({
|
|
|
117
109
|
is_live: valibot.boolean(),
|
|
118
110
|
is_featured: valibot.boolean(),
|
|
119
111
|
is_public: valibot.boolean(),
|
|
120
|
-
seo: valibot.optional(valibot.nullable(require_components_shared_index.SeoMeta)),
|
|
112
|
+
seo: valibot.optional(valibot.nullable(valibot.lazy(() => require_components_shared_index.SeoMeta))),
|
|
121
113
|
layout: valibot.nullable(BlogPostLayout),
|
|
122
114
|
featured_image: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
|
|
123
115
|
blocks: valibot.optional(valibot.array(valibot.lazy(() => BlogPostBlock))),
|
|
@@ -127,6 +119,14 @@ const BlogPostDocument = valibot.object({
|
|
|
127
119
|
related_posts: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => BlogPostDocument))))
|
|
128
120
|
});
|
|
129
121
|
//#endregion
|
|
122
|
+
//#region src/entities/category/document.ts
|
|
123
|
+
const CategoryDocument = valibot.object({
|
|
124
|
+
...require_document.BaseDocument.entries,
|
|
125
|
+
label: valibot.string(),
|
|
126
|
+
slug: valibot.string(),
|
|
127
|
+
blog_posts: valibot.optional(valibot.nullable(valibot.array(valibot.lazy(() => BlogPostDocument))))
|
|
128
|
+
});
|
|
129
|
+
//#endregion
|
|
130
130
|
Object.defineProperty(exports, "BLOG_POST_LAYOUT", {
|
|
131
131
|
enumerable: true,
|
|
132
132
|
get: function() {
|
|
@@ -7,7 +7,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
7
7
|
//#region src/entities/product/document.ts
|
|
8
8
|
const ProductDocument = valibot.object({
|
|
9
9
|
...require_document.BaseDocument.entries,
|
|
10
|
-
seo: valibot.
|
|
10
|
+
seo: valibot.nullable(valibot.lazy(() => require_components_shared_index.SeoMeta)),
|
|
11
11
|
title: valibot.string(),
|
|
12
12
|
slug: valibot.string(),
|
|
13
13
|
introduction: valibot.string(),
|
|
@@ -4,32 +4,8 @@ import { ComponentSharedRichTextBlock, RichTextBlock, SeoMeta } from "./componen
|
|
|
4
4
|
import { BlockContact, BlockVideoEmbed, ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "./components/blocks/index.mjs";
|
|
5
5
|
import { ComponentFormSelect } from "./components/forms/index.mjs";
|
|
6
6
|
import { ComponentSlideshow } from "./components/slideshow/index.mjs";
|
|
7
|
-
import { t as TagDocument } from "./document-
|
|
7
|
+
import { t as TagDocument } from "./document-DVRGai2u.mjs";
|
|
8
8
|
import * as v from "valibot";
|
|
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/category/document.ts
|
|
26
|
-
const CategoryDocument = v.object({
|
|
27
|
-
...BaseDocument.entries,
|
|
28
|
-
label: v.string(),
|
|
29
|
-
slug: v.string(),
|
|
30
|
-
blog_posts: v.optional(v.nullable(v.array(v.lazy(() => BlogPostDocument))))
|
|
31
|
-
});
|
|
32
|
-
//#endregion
|
|
33
9
|
//#region src/entities/trend/document.ts
|
|
34
10
|
const TrendDocument = v.object({
|
|
35
11
|
...BaseDocument.entries,
|
|
@@ -88,6 +64,22 @@ const TeamMemberDocument = v.object({
|
|
|
88
64
|
trends: v.optional(v.nullable(v.array(v.lazy(() => TrendDocument))))
|
|
89
65
|
});
|
|
90
66
|
//#endregion
|
|
67
|
+
//#region src/entities/blog-post/constants.ts
|
|
68
|
+
const LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE = 6;
|
|
69
|
+
const LIMIT_BLOG_POST_PAGINATION_MAX_SIZE = 20;
|
|
70
|
+
const BLOG_POST_SORT_KEYS = [
|
|
71
|
+
"id",
|
|
72
|
+
"title",
|
|
73
|
+
"slug",
|
|
74
|
+
"is_live",
|
|
75
|
+
"is_featured",
|
|
76
|
+
"is_public",
|
|
77
|
+
"published",
|
|
78
|
+
"createdAt",
|
|
79
|
+
"updatedAt"
|
|
80
|
+
];
|
|
81
|
+
const BLOG_POST_LAYOUT = ["main-aside", "center-column"];
|
|
82
|
+
//#endregion
|
|
91
83
|
//#region src/entities/blog-post/fields.ts
|
|
92
84
|
const QuerySortBlogPosts = v.optional(v.pipe(v.array(v.picklist(BLOG_POST_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(BLOG_POST_SORT_KEYS.length)));
|
|
93
85
|
const BlogPostLayout = v.picklist(BLOG_POST_LAYOUT);
|
|
@@ -115,7 +107,7 @@ const BlogPostDocument = v.object({
|
|
|
115
107
|
is_live: v.boolean(),
|
|
116
108
|
is_featured: v.boolean(),
|
|
117
109
|
is_public: v.boolean(),
|
|
118
|
-
seo: v.optional(v.nullable(SeoMeta)),
|
|
110
|
+
seo: v.optional(v.nullable(v.lazy(() => SeoMeta))),
|
|
119
111
|
layout: v.nullable(BlogPostLayout),
|
|
120
112
|
featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
|
|
121
113
|
blocks: v.optional(v.array(v.lazy(() => BlogPostBlock))),
|
|
@@ -125,4 +117,12 @@ const BlogPostDocument = v.object({
|
|
|
125
117
|
related_posts: v.optional(v.nullable(v.array(v.lazy(() => BlogPostDocument))))
|
|
126
118
|
});
|
|
127
119
|
//#endregion
|
|
128
|
-
|
|
120
|
+
//#region src/entities/category/document.ts
|
|
121
|
+
const CategoryDocument = v.object({
|
|
122
|
+
...BaseDocument.entries,
|
|
123
|
+
label: v.string(),
|
|
124
|
+
slug: v.string(),
|
|
125
|
+
blog_posts: v.optional(v.nullable(v.array(v.lazy(() => BlogPostDocument))))
|
|
126
|
+
});
|
|
127
|
+
//#endregion
|
|
128
|
+
export { TEAM_MEMBER_SORT_KEYS as _, QuerySortBlogPosts as a, LIMIT_BLOG_POST_PAGINATION_DEFAULT_SIZE as c, QuerySortTeamMembers as d, TeamMemberGroup as f, TEAM_MEMBER_GROUP as g, LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE as h, BlogPostLayout as i, LIMIT_BLOG_POST_PAGINATION_MAX_SIZE as l, LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE as m, BlogPostDocument as n, BLOG_POST_LAYOUT as o, TeamMemberTier as p, BlogPostBlock as r, BLOG_POST_SORT_KEYS as s, CategoryDocument as t, TeamMemberDocument as u, TEAM_MEMBER_TIER as v, TrendDocument as y };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { r as MediaUploadDocument } from "./media-upload-DKeA1eD-.mjs";
|
|
2
|
+
import { s as SeoMeta } from "./index-DJ-0EDJN.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
|
|
5
|
+
//#region src/entities/product/document.d.ts
|
|
6
|
+
declare const ProductDocument: v.GenericSchema<{
|
|
7
|
+
id: number;
|
|
8
|
+
documentId: string;
|
|
9
|
+
publishedAt?: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
seo?: SeoMeta | null;
|
|
13
|
+
title: string;
|
|
14
|
+
slug: string;
|
|
15
|
+
introduction: string;
|
|
16
|
+
flyer_link: string | null;
|
|
17
|
+
featured_image?: MediaUploadDocument | null;
|
|
18
|
+
cta_text: string;
|
|
19
|
+
cta_form_caption: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}>;
|
|
22
|
+
type ProductDocument = v.InferOutput<typeof ProductDocument>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ProductDocument as t };
|
|
@@ -7,9 +7,27 @@ import { RichTextBlock } from "./components/shared/index.mjs";
|
|
|
7
7
|
import { BlockBrandLogos, BlockFullscreenContent } from "./components/blocks/index.mjs";
|
|
8
8
|
import { ComponentBrandStyleguideColor, ComponentBrandStyleguideFont } from "./components/brand/index.mjs";
|
|
9
9
|
import { UtmClassificationKey } from "./components/utm/index.mjs";
|
|
10
|
-
import { t as TagDocument } from "./document-
|
|
11
|
-
import { t as ProductDocument } from "./document-
|
|
10
|
+
import { t as TagDocument } from "./document-DVRGai2u.mjs";
|
|
11
|
+
import { t as ProductDocument } from "./document-CDavjuJ-.mjs";
|
|
12
12
|
import * as v from "valibot";
|
|
13
|
+
//#region src/entities/content-pillar/document.ts
|
|
14
|
+
const ContentPillarDocument = v.object({
|
|
15
|
+
...BaseDocument.entries,
|
|
16
|
+
title: v.string(),
|
|
17
|
+
slug: v.string(),
|
|
18
|
+
description: v.nullable(v.string()),
|
|
19
|
+
information: v.nullable(v.array(RichTextBlock)),
|
|
20
|
+
clients: v.optional(v.nullable(v.array(v.lazy(() => ClientContentPillarDocument))))
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
24
|
+
const ClientContentPillarDocument = v.object({
|
|
25
|
+
...BaseDocument.entries,
|
|
26
|
+
is_active: v.boolean(),
|
|
27
|
+
client: v.optional(v.nullable(v.lazy(() => ClientDocument))),
|
|
28
|
+
content_pillar: v.optional(v.nullable(v.lazy(() => ContentPillarDocument)))
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
13
31
|
//#region src/entities/media-creative-format/document.ts
|
|
14
32
|
const MediaCreativeFormatDocument = v.object({
|
|
15
33
|
...BaseDocument.entries,
|
|
@@ -436,22 +454,4 @@ const ClientDocument = v.object({
|
|
|
436
454
|
gcflytours: v.optional(v.nullable(v.array(v.lazy(() => GCFlyTourDocument))))
|
|
437
455
|
});
|
|
438
456
|
//#endregion
|
|
439
|
-
|
|
440
|
-
const ContentPillarDocument = v.object({
|
|
441
|
-
...BaseDocument.entries,
|
|
442
|
-
title: v.string(),
|
|
443
|
-
slug: v.string(),
|
|
444
|
-
description: v.nullable(v.string()),
|
|
445
|
-
information: v.nullable(v.array(RichTextBlock)),
|
|
446
|
-
clients: v.optional(v.nullable(v.array(v.lazy(() => ClientContentPillarDocument))))
|
|
447
|
-
});
|
|
448
|
-
//#endregion
|
|
449
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
450
|
-
const ClientContentPillarDocument = v.object({
|
|
451
|
-
...BaseDocument.entries,
|
|
452
|
-
is_active: v.boolean(),
|
|
453
|
-
client: v.optional(v.nullable(v.lazy(() => ClientDocument))),
|
|
454
|
-
content_pillar: v.optional(v.nullable(v.lazy(() => ContentPillarDocument)))
|
|
455
|
-
});
|
|
456
|
-
//#endregion
|
|
457
|
-
export { ClientReportDocument as A, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE as B, RoleType as C, LIMIT_USER_PAGINATION_MAX_SIZE as D, LIMIT_USER_PAGINATION_DEFAULT_SIZE as E, CLIENT_PROJECT_PHASES as F, MediaCreativeFormatDocument as G, MediaPlatformDocument as H, CLIENT_PROJECT_PHASE_VALUES as I, CLIENT_PROJECT_SORT_KEYS as L, ClientProjectPhase as M, ClientProjectStatus as N, USER_SORT_KEYS as O, QuerySortClientProjects as P, CLIENT_PROJECT_STATUS as R, RoleDocument as S, PermissionDocument as T, MediaMediumDocument as U, ClientMediaPlatformDocument as V, MediaContentTypeDocument as W, CreateUserDocument as _, MondayWorkspaceDocument as a, UtmTrackingLinkDocument as b, ClientUserDocument as c, QuerySortClientUsers as d, CLIENT_USER_SORT_KEYS as f, QueryStrapiUsersByIdentifier as g, QueryStrapiUsers as h, ProductHighlightDocument as i, ClientProjectDocument as j, ClientStyleguideDocument as k, ClientUserDocumentStatus as l, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT as m, ContentPillarDocument as n, GCFlyTourDocument as o, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT as p, ClientDocument as r, GCFlyTourSnapDocument as s, ClientContentPillarDocument as t, ClientUserScopes as u, QuerySortUsers as v, ROLE_TYPES as w, UserAccountDocument as x, UserDocument as y, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE as z };
|
|
457
|
+
export { ClientProjectPhase as A, MediaPlatformDocument as B, PermissionDocument as C, ClientStyleguideDocument as D, USER_SORT_KEYS as E, CLIENT_PROJECT_SORT_KEYS as F, ContentPillarDocument as G, MediaContentTypeDocument as H, CLIENT_PROJECT_STATUS as I, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE as L, QuerySortClientProjects as M, CLIENT_PROJECT_PHASES as N, ClientReportDocument as O, CLIENT_PROJECT_PHASE_VALUES as P, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE as R, ROLE_TYPES as S, LIMIT_USER_PAGINATION_MAX_SIZE as T, MediaCreativeFormatDocument as U, MediaMediumDocument as V, ClientContentPillarDocument as W, UserDocument as _, GCFlyTourSnapDocument as a, RoleDocument as b, ClientUserScopes as c, LIMIT_CLIENT_USER_PAGINATION_DEFAULT_SIZE_LIMIT as d, LIMIT_CLIENT_USER_PAGINATION_MAX_SIZE_LIMIT as f, QuerySortUsers as g, CreateUserDocument as h, GCFlyTourDocument as i, ClientProjectStatus as j, ClientProjectDocument as k, QuerySortClientUsers as l, QueryStrapiUsersByIdentifier as m, ProductHighlightDocument as n, ClientUserDocument as o, QueryStrapiUsers as p, MondayWorkspaceDocument as r, ClientUserDocumentStatus as s, ClientDocument as t, CLIENT_USER_SORT_KEYS as u, UtmTrackingLinkDocument as v, LIMIT_USER_PAGINATION_DEFAULT_SIZE as w, RoleType as x, UserAccountDocument as y, ClientMediaPlatformDocument as z };
|
|
@@ -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" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label: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" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -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" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label: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" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "path:ASC" | "url:ASC" | "method:ASC" | "request_id:ASC" | "ipaddress:ASC" | "user_agent:ASC" | "route_path:ASC" | "route_handler:ASC" | "actor_type:ASC" | "actor_id:ASC" | "actor_email:ASC" | "entity_action:ASC" | "entity_content_type:ASC" | "entity_id:ASC" | "entity_label:ASC" | "path:DESC" | "url:DESC" | "method:DESC" | "request_id:DESC" | "ipaddress:DESC" | "user_agent:DESC" | "route_path:DESC" | "route_handler:DESC" | "actor_type:DESC" | "actor_id:DESC" | "actor_email:DESC" | "entity_action:DESC" | "entity_content_type:DESC" | "entity_id:DESC" | "entity_label:DESC")[], 18, undefined>]>, undefined>;
|
|
131
131
|
}, undefined>;
|
|
132
132
|
type QueryStrapiSearchAuditLogs = v.InferOutput<typeof QueryStrapiSearchAuditLogs>;
|
|
133
133
|
//#endregion
|
|
@@ -7,7 +7,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
7
7
|
//#region src/entities/blog-page/document.ts
|
|
8
8
|
const BlogPageDocument = valibot.object({
|
|
9
9
|
...require_document.BaseDocument.entries,
|
|
10
|
-
seo: valibot.nullable(require_components_shared_index.SeoMeta),
|
|
10
|
+
seo: valibot.nullable(valibot.lazy(() => require_components_shared_index.SeoMeta)),
|
|
11
11
|
title: valibot.string(),
|
|
12
12
|
subtitle: valibot.nullable(valibot.string()),
|
|
13
13
|
introduction: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock))
|