@getcommunity/gc-validators 0.0.280 → 0.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.cjs +1 -1
- package/dist/base/index.mjs +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.d.cts +2 -2
- package/dist/constants/index.d.mts +2 -2
- package/dist/constants/index.mjs +1 -1
- package/dist/{document-CzkTVfEl.mjs → document-BJyaFe7J.mjs} +19 -19
- package/dist/entities/blog-post/fields.cjs +1 -1
- package/dist/entities/blog-post/fields.mjs +1 -1
- package/dist/entities/client/document.cjs +1 -1
- package/dist/entities/client/document.mjs +1 -1
- package/dist/entities/client-content-pillar/document.cjs +1 -1
- package/dist/entities/client-content-pillar/document.mjs +1 -1
- package/dist/entities/client-media-platform/document.cjs +1 -1
- package/dist/entities/client-media-platform/document.mjs +1 -1
- package/dist/entities/client-project/document.cjs +1 -1
- package/dist/entities/client-project/document.mjs +1 -1
- package/dist/entities/client-report/document.cjs +1 -1
- package/dist/entities/client-report/document.mjs +1 -1
- package/dist/entities/client-styleguide/document.cjs +1 -1
- package/dist/entities/client-styleguide/document.mjs +1 -1
- package/dist/entities/client-user/document.cjs +1 -1
- package/dist/entities/client-user/document.mjs +1 -1
- package/dist/entities/comment/query.cjs +2 -2
- package/dist/entities/comment/query.mjs +2 -2
- package/dist/entities/content-pillar/document.cjs +1 -1
- package/dist/entities/content-pillar/document.mjs +1 -1
- package/dist/entities/gcflytour/document.cjs +1 -1
- package/dist/entities/gcflytour/document.mjs +1 -1
- package/dist/entities/gcflytour-snap/document.cjs +1 -1
- package/dist/entities/gcflytour-snap/document.mjs +1 -1
- package/dist/entities/media-content-type/document.cjs +1 -1
- package/dist/entities/media-content-type/document.mjs +1 -1
- package/dist/entities/media-creative-format/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.mjs +1 -1
- package/dist/entities/media-medium/document.cjs +1 -1
- package/dist/entities/media-medium/document.mjs +1 -1
- package/dist/entities/media-platform/document.cjs +1 -1
- package/dist/entities/media-platform/document.mjs +1 -1
- package/dist/entities/monday-workspace/document.cjs +1 -1
- package/dist/entities/monday-workspace/document.mjs +1 -1
- package/dist/entities/product-highlight/document.cjs +1 -1
- package/dist/entities/product-highlight/document.mjs +1 -1
- package/dist/entities/teamwork/query.cjs +5 -4
- package/dist/entities/teamwork/query.d.cts +1 -4
- package/dist/entities/teamwork/query.d.mts +1 -4
- package/dist/entities/teamwork/query.mjs +5 -4
- package/dist/entities/up-permission/document.cjs +1 -1
- package/dist/entities/up-permission/document.mjs +1 -1
- package/dist/entities/up-role/document.cjs +1 -1
- package/dist/entities/up-role/document.mjs +1 -1
- package/dist/entities/up-user/document.cjs +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- package/dist/entities/user-account/document.cjs +1 -1
- package/dist/entities/user-account/document.mjs +1 -1
- package/dist/entities/user-account/query.cjs +1 -1
- package/dist/entities/user-account/query.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.mjs +1 -1
- package/dist/{pagination-owwfYJS6.mjs → pagination-BdjrPJfW.mjs} +2 -2
- package/dist/{pagination-4pZafglS.cjs → pagination-C-gjFxDp.cjs} +2 -2
- package/dist/{query-1Ip28gvY.cjs → query-BbavucOn.cjs} +2 -2
- package/dist/{query-DQ5QAB2B.mjs → query-Dh0NI14m.mjs} +2 -2
- package/package.json +1 -1
- package/dist/entities/teamwork/fields.cjs +0 -13
- package/dist/entities/teamwork/fields.d.cts +0 -10
- package/dist/entities/teamwork/fields.d.mts +0 -10
- package/dist/entities/teamwork/fields.mjs +0 -10
- package/dist/{document-BVO49bjm.cjs → document-Didp4YL0.cjs} +18 -18
package/dist/base/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ const require_json = require("../json-BgewUW_1.cjs");
|
|
|
7
7
|
const require_theme = require("../theme-Ba9vW4PA.cjs");
|
|
8
8
|
const require_media_upload = require("../media-upload-B6aQYeRM.cjs");
|
|
9
9
|
const require_sort = require("../sort-CvgExm09.cjs");
|
|
10
|
-
const require_query = require("../query-
|
|
10
|
+
const require_query = require("../query-BbavucOn.cjs");
|
|
11
11
|
const require_strapi = require("../strapi-RlhF30B7.cjs");
|
|
12
12
|
const require_relationships = require("../relationships-Ai5zevNv.cjs");
|
|
13
13
|
let valibot = require("valibot");
|
package/dist/base/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { t as JsonSchema } from "../json-CTduX6Ak.mjs";
|
|
|
5
5
|
import { S as StrapiLinkTarget, _ as STRAPI_LINK_REFERRER_POLICY, a as STRAPI_ICON_POSITION, b as StrapiLinkReferrerPolicy, c as STRAPI_THEME_OPTIONS, d as StrapiGapSizes, f as StrapiIconName, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, l as StrapiBgColorOptions, m as StrapiLinkType, n as STRAPI_DIRECTION, o as STRAPI_LINK_TYPE, p as StrapiIconPosition, r as STRAPI_GAP_SIZES, s as STRAPI_TEXT_COLOR_OPTIONS, t as STRAPI_BG_COLOR_OPTIONS, u as StrapiDirection, v as STRAPI_LINK_REL, x as StrapiLinkRel, y as STRAPI_LINK_TARGET } from "../theme-BhQd4eMI.mjs";
|
|
6
6
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-DiRJksSU.mjs";
|
|
7
7
|
import { n as SORT_ORDER, r as SortOrder, t as QuerySortValues } from "../sort-i9OLHfrW.mjs";
|
|
8
|
-
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as QueryStrapiPaginated, t as QueryStrapiByDocumentId } from "../query-
|
|
8
|
+
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as QueryStrapiPaginated, t as QueryStrapiByDocumentId } from "../query-Dh0NI14m.mjs";
|
|
9
9
|
import { i as ValidStrapiSpecialEntity, n as ValidStrapiCollectionEntity, r as ValidStrapiSingleEntity, t as ContentStatus } from "../strapi-B2cNPAao.mjs";
|
|
10
10
|
import { a as AssociateManyEntitiesOptional, c as QueryManyEntities, i as AssociateManyEntities, l as SEntityPosition, n as AssociateEntityPositionDocumentRequest, o as AssociateOneEntity, r as AssociateEntityRelationshipRequest, s as AssociateOneEntityOptional, t as AssociateEntityPosition, u as SSetEntityRelationshipRequest } from "../relationships-yau3vYSK.mjs";
|
|
11
11
|
import * as v from "valibot";
|
package/dist/constants/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_pagination = require("../pagination-
|
|
2
|
+
const require_pagination = require("../pagination-C-gjFxDp.cjs");
|
|
3
3
|
const require_limits = require("../limits-CW6iJ7kB.cjs");
|
|
4
4
|
const require_regex = require("../regex-BEFTMiHO.cjs");
|
|
5
5
|
const require_strapi = require("../strapi-D8C1C0D7.cjs");
|
|
@@ -176,8 +176,8 @@ declare const LIMIT_MAX_UTM_ID = 2030;
|
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/constants/pagination.d.ts
|
|
178
178
|
declare const LIMIT_TABLE_PAGINATION_DEFAULT_SIZE = 10;
|
|
179
|
-
declare const LIMIT_PAGINATION_DEFAULT_SIZE =
|
|
180
|
-
declare const LIMIT_PAGINATION_MAX_SIZE =
|
|
179
|
+
declare const LIMIT_PAGINATION_DEFAULT_SIZE = 20;
|
|
180
|
+
declare const LIMIT_PAGINATION_MAX_SIZE = 100;
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region src/constants/regex.d.ts
|
|
183
183
|
declare const ERROR_MESSAGE_REGEX_UTM_VALUE = "can only contain letters, numbers, and the special characters: - _ .";
|
|
@@ -176,8 +176,8 @@ declare const LIMIT_MAX_UTM_ID = 2030;
|
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/constants/pagination.d.ts
|
|
178
178
|
declare const LIMIT_TABLE_PAGINATION_DEFAULT_SIZE = 10;
|
|
179
|
-
declare const LIMIT_PAGINATION_DEFAULT_SIZE =
|
|
180
|
-
declare const LIMIT_PAGINATION_MAX_SIZE =
|
|
179
|
+
declare const LIMIT_PAGINATION_DEFAULT_SIZE = 20;
|
|
180
|
+
declare const LIMIT_PAGINATION_MAX_SIZE = 100;
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region src/constants/regex.d.ts
|
|
183
183
|
declare const ERROR_MESSAGE_REGEX_UTM_VALUE = "can only contain letters, numbers, and the special characters: - _ .";
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as LIMIT_PAGINATION_MAX_SIZE, r as LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, t as LIMIT_PAGINATION_DEFAULT_SIZE } from "../pagination-
|
|
1
|
+
import { n as LIMIT_PAGINATION_MAX_SIZE, r as LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, t as LIMIT_PAGINATION_DEFAULT_SIZE } from "../pagination-BdjrPJfW.mjs";
|
|
2
2
|
import { A as LIMIT_VAL_100, C as LIMIT_MIN_UTM_ID, D as LIMIT_MIN_VALUE, E as LIMIT_MIN_UTM_TERM, M as LIMIT_VAL_255, N as LIMIT_VAL_32, O as LIMIT_SHORT_STRING_MAX_LENGTH, P as LIMIT_VAL_64, S as LIMIT_MIN_UTM_CREATIVE_FORMAT, T as LIMIT_MIN_UTM_SOURCE, _ as LIMIT_MIN_PASSWORD, a as LIMIT_MAX_PHONE, b as LIMIT_MIN_UTM_CAMPAIGN, c as LIMIT_MAX_UTM_CONTENT, d as LIMIT_MAX_UTM_MEDIUM, f as LIMIT_MAX_UTM_SOURCE, g as LIMIT_MIN_EMAIL, h as LIMIT_MIN_DESTINATION, i as LIMIT_MAX_PASSWORD, j as LIMIT_VAL_20, k as LIMIT_VAL_10, l as LIMIT_MAX_UTM_CREATIVE_FORMAT, m as LIMIT_MEDIUM_STRING_MAX_LENGTH, n as LIMIT_MAX_DESTINATION, o as LIMIT_MAX_USERNAME, p as LIMIT_MAX_UTM_TERM, r as LIMIT_MAX_EMAIL, s as LIMIT_MAX_UTM_CAMPAIGN, t as LIMIT_LONG_STRING_MAX_LENGTH, u as LIMIT_MAX_UTM_ID, v as LIMIT_MIN_PHONE, w as LIMIT_MIN_UTM_MEDIUM, x as LIMIT_MIN_UTM_CONTENT, y as LIMIT_MIN_USERNAME } from "../limits-CKGuEuKA.mjs";
|
|
3
3
|
import { a as REGEX_NANP_PHONE, i as REGEX_BRAND_COLOR_SLUG, n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG, r as ERROR_MESSAGE_REGEX_UTM_VALUE, s as REGEX_UTM_VALUE, t as ERROR_MESSAGE_REGEX_PHONE } from "../regex-pSdcbWzV.mjs";
|
|
4
4
|
import { a as STRAPI_SPECIAL_ENTITIES, i as STRAPI_SINGLE_ENTITY_ENDPOINTS, n as STRAPI_COLLECTION_ENTITY_ENDPOINTS, o as getStrapiEntityValues, r as STRAPI_ENTITY_UIDS, t as CONTENT_STATUS } from "../strapi-CE9bz7Kc.mjs";
|
|
@@ -11,24 +11,6 @@ import { RoleType } from "./entities/up-role/fields.mjs";
|
|
|
11
11
|
import { ClientUserScopes } from "./entities/client-user/fields.mjs";
|
|
12
12
|
import { ProductDocument } from "./entities/product/document.mjs";
|
|
13
13
|
import * as v from "valibot";
|
|
14
|
-
//#region src/entities/content-pillar/document.ts
|
|
15
|
-
const ContentPillarDocument = v.object({
|
|
16
|
-
...BaseDocument.entries,
|
|
17
|
-
title: v.string(),
|
|
18
|
-
slug: v.string(),
|
|
19
|
-
description: v.nullable(v.string()),
|
|
20
|
-
information: v.nullable(v.array(RichTextBlock)),
|
|
21
|
-
clients: VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
22
|
-
});
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
25
|
-
const ClientContentPillarDocument = v.object({
|
|
26
|
-
...BaseDocument.entries,
|
|
27
|
-
is_active: v.boolean(),
|
|
28
|
-
client: VDocumentRelationOne(() => ClientDocument),
|
|
29
|
-
content_pillar: VDocumentRelationOne(() => ContentPillarDocument)
|
|
30
|
-
});
|
|
31
|
-
//#endregion
|
|
32
14
|
//#region src/entities/media-creative-format/document.ts
|
|
33
15
|
const MediaCreativeFormatDocument = v.object({
|
|
34
16
|
...BaseDocument.entries,
|
|
@@ -299,4 +281,22 @@ const ClientDocument = v.object({
|
|
|
299
281
|
gcflytours: VDocumentRelationMany(() => GCFlyTourDocument)
|
|
300
282
|
});
|
|
301
283
|
//#endregion
|
|
302
|
-
|
|
284
|
+
//#region src/entities/content-pillar/document.ts
|
|
285
|
+
const ContentPillarDocument = v.object({
|
|
286
|
+
...BaseDocument.entries,
|
|
287
|
+
title: v.string(),
|
|
288
|
+
slug: v.string(),
|
|
289
|
+
description: v.nullable(v.string()),
|
|
290
|
+
information: v.nullable(v.array(RichTextBlock)),
|
|
291
|
+
clients: VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
292
|
+
});
|
|
293
|
+
//#endregion
|
|
294
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
295
|
+
const ClientContentPillarDocument = v.object({
|
|
296
|
+
...BaseDocument.entries,
|
|
297
|
+
is_active: v.boolean(),
|
|
298
|
+
client: VDocumentRelationOne(() => ClientDocument),
|
|
299
|
+
content_pillar: VDocumentRelationOne(() => ContentPillarDocument)
|
|
300
|
+
});
|
|
301
|
+
//#endregion
|
|
302
|
+
export { MediaCreativeFormatDocument as S, ClientProjectDocument as _, MondayWorkspaceDocument as a, MediaMediumDocument as b, ClientUserDocument as c, UtmTrackingLinkDocument as d, UserAccountDocument as f, ClientReportDocument as g, ClientStyleguideDocument as h, ProductHighlightDocument as i, ClientUserDocumentStatus as l, PermissionDocument as m, ContentPillarDocument as n, GCFlyTourDocument as o, RoleDocument as p, ClientDocument as r, GCFlyTourSnapDocument as s, ClientContentPillarDocument as t, UserDocument as u, ClientMediaPlatformDocument as v, MediaContentTypeDocument as x, MediaPlatformDocument as y };
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
3
|
const require_components_shared_index = require("../../components/shared/index.cjs");
|
|
4
4
|
const require_components_blocks_index = require("../../components/blocks/index.cjs");
|
|
5
|
-
const require_components_forms_index = require("../../components/forms/index.cjs");
|
|
6
5
|
const require_components_slideshow_index = require("../../components/slideshow/index.cjs");
|
|
6
|
+
const require_components_forms_index = require("../../components/forms/index.cjs");
|
|
7
7
|
const require_entities_blog_post_constants = require("./constants.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentSharedRichTextBlock } from "../../components/shared/index.mjs";
|
|
2
2
|
import { ComponentBlockButtonGroup, ComponentBlockContact, ComponentBlockFaq, ComponentBlockFullscreenContent, ComponentBlockGraphicImage, ComponentBlockPullQuote, ComponentBlockSectionTitle, ComponentBlockVideo } from "../../components/blocks/index.mjs";
|
|
3
|
-
import { ComponentFormSelect } from "../../components/forms/index.mjs";
|
|
4
3
|
import { ComponentSlideshow } from "../../components/slideshow/index.mjs";
|
|
4
|
+
import { ComponentFormSelect } from "../../components/forms/index.mjs";
|
|
5
5
|
import { BLOG_POST_LAYOUT } from "./constants.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/blog-post/fields.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as ClientDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ClientContentPillarDocument = require_document.ClientContentPillarDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as ClientContentPillarDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientContentPillarDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ClientMediaPlatformDocument = require_document.ClientMediaPlatformDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as ClientMediaPlatformDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientMediaPlatformDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ClientProjectDocument = require_document.ClientProjectDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as ClientProjectDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientProjectDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ClientReportDocument = require_document.ClientReportDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as ClientReportDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientReportDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ClientStyleguideDocument = require_document.ClientStyleguideDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as ClientStyleguideDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientStyleguideDocument };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ClientUserDocument = require_document.ClientUserDocument;
|
|
4
4
|
exports.ClientUserDocumentStatus = require_document.ClientUserDocumentStatus;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as ClientUserDocument, l as ClientUserDocumentStatus } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ClientUserDocument, ClientUserDocumentStatus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
|
|
3
|
+
require("../../pagination-C-gjFxDp.cjs");
|
|
4
4
|
require("../../limits-CW6iJ7kB.cjs");
|
|
5
5
|
const require_pagination$1 = require("../../pagination-DWZDPzR4.cjs");
|
|
6
6
|
const require_sort = require("../../sort-CvgExm09.cjs");
|
|
@@ -29,7 +29,7 @@ const QueryStrapiCommentsFlat = valibot.object({
|
|
|
29
29
|
filters: valibot.optional(QueryFilterStrapiComments),
|
|
30
30
|
pagination: valibot.optional(valibot.object({
|
|
31
31
|
page: require_pagination$1.VPage(),
|
|
32
|
-
pageSize: valibot.optional(require_pagination$1.VSize(
|
|
32
|
+
pageSize: valibot.optional(require_pagination$1.VSize(100))
|
|
33
33
|
})),
|
|
34
34
|
sort: valibot.optional(require_sort.QuerySortValues)
|
|
35
35
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../../pagination-BdjrPJfW.mjs";
|
|
2
2
|
import "../../limits-CKGuEuKA.mjs";
|
|
3
3
|
import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
|
|
4
4
|
import { t as QuerySortValues } from "../../sort-i9OLHfrW.mjs";
|
|
@@ -26,7 +26,7 @@ const QueryStrapiCommentsFlat = v.object({
|
|
|
26
26
|
filters: v.optional(QueryFilterStrapiComments),
|
|
27
27
|
pagination: v.optional(v.object({
|
|
28
28
|
page: VPage(),
|
|
29
|
-
pageSize: v.optional(VSize(
|
|
29
|
+
pageSize: v.optional(VSize(100))
|
|
30
30
|
})),
|
|
31
31
|
sort: v.optional(QuerySortValues)
|
|
32
32
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ContentPillarDocument = require_document.ContentPillarDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as ContentPillarDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ContentPillarDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as GCFlyTourDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { GCFlyTourDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.GCFlyTourSnapDocument = require_document.GCFlyTourSnapDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as GCFlyTourSnapDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { GCFlyTourSnapDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.MediaContentTypeDocument = require_document.MediaContentTypeDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as MediaContentTypeDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { MediaContentTypeDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.MediaCreativeFormatDocument = require_document.MediaCreativeFormatDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as MediaCreativeFormatDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { MediaCreativeFormatDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.MediaMediumDocument = require_document.MediaMediumDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as MediaMediumDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { MediaMediumDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.MediaPlatformDocument = require_document.MediaPlatformDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as MediaPlatformDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { MediaPlatformDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.MondayWorkspaceDocument = require_document.MondayWorkspaceDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as MondayWorkspaceDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { MondayWorkspaceDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.ProductHighlightDocument = require_document.ProductHighlightDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as ProductHighlightDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { ProductHighlightDocument };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
require("../../pagination-
|
|
3
|
+
require("../../pagination-C-gjFxDp.cjs");
|
|
4
4
|
const require_pagination$1 = require("../../pagination-DWZDPzR4.cjs");
|
|
5
|
+
const require_sort = require("../../sort-CvgExm09.cjs");
|
|
5
6
|
const require_string = require("../../string-Yn-6xiAZ.cjs");
|
|
7
|
+
require("../../base/index.cjs");
|
|
6
8
|
const require_number = require("../../number-Bt4nZKCU.cjs");
|
|
7
9
|
const require_entities_teamwork_constants = require("./constants.cjs");
|
|
8
|
-
const require_entities_teamwork_fields = require("./fields.cjs");
|
|
9
10
|
let valibot = require("valibot");
|
|
10
11
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
11
12
|
//#region src/entities/teamwork/query.ts
|
|
12
13
|
const QueryStrapiSearchTeamworkProjectHealth = valibot.object({
|
|
13
14
|
page: require_pagination$1.VPage(),
|
|
14
|
-
size: require_pagination$1.VSize(
|
|
15
|
+
size: require_pagination$1.VSize(20),
|
|
15
16
|
lastPeriodDays: require_number.VIntegerNullable(),
|
|
16
17
|
searchTerm: valibot.optional(require_string.VStringMax()),
|
|
17
18
|
excludeTagIds: valibot.optional(valibot.array(require_string.VStringMinMax())),
|
|
@@ -21,7 +22,7 @@ const QueryStrapiSearchTeamworkProjectHealth = valibot.object({
|
|
|
21
22
|
projectTagIds: valibot.optional(valibot.array(require_string.VStringMinMax())),
|
|
22
23
|
projectHealths: valibot.optional(require_string.VStringMax()),
|
|
23
24
|
projectStatuses: valibot.optional(valibot.picklist(require_entities_teamwork_constants.TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS.map((option) => option.value)), require_entities_teamwork_constants.TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS[0].value),
|
|
24
|
-
sort: valibot.optional(
|
|
25
|
+
sort: valibot.optional(require_sort.QuerySortValues)
|
|
25
26
|
});
|
|
26
27
|
//#endregion
|
|
27
28
|
exports.QueryStrapiSearchTeamworkProjectHealth = QueryStrapiSearchTeamworkProjectHealth;
|
|
@@ -13,10 +13,7 @@ declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
|
|
|
13
13
|
readonly projectTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
14
14
|
readonly projectHealths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
15
|
readonly projectStatuses: v.OptionalSchema<v.PicklistSchema<("active" | "current" | "late" | "upcoming" | "completed" | "archived")[], undefined>, "active">;
|
|
16
|
-
readonly sort: v.OptionalSchema<v.
|
|
17
|
-
readonly key: v.PicklistSchema<("name" | "health")[], undefined>;
|
|
18
|
-
readonly order: v.PicklistSchema<readonly ["asc", "desc"], undefined>;
|
|
19
|
-
}, undefined>, undefined>, undefined>;
|
|
16
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
20
17
|
}, undefined>;
|
|
21
18
|
type QueryStrapiSearchTeamworkProjectHealth = v.InferOutput<typeof QueryStrapiSearchTeamworkProjectHealth>;
|
|
22
19
|
//#endregion
|
|
@@ -13,10 +13,7 @@ declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
|
|
|
13
13
|
readonly projectTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
14
14
|
readonly projectHealths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
15
|
readonly projectStatuses: v.OptionalSchema<v.PicklistSchema<("active" | "current" | "late" | "upcoming" | "completed" | "archived")[], undefined>, "active">;
|
|
16
|
-
readonly sort: v.OptionalSchema<v.
|
|
17
|
-
readonly key: v.PicklistSchema<("name" | "health")[], undefined>;
|
|
18
|
-
readonly order: v.PicklistSchema<readonly ["asc", "desc"], undefined>;
|
|
19
|
-
}, undefined>, undefined>, undefined>;
|
|
16
|
+
readonly sort: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, undefined>, v.SchemaWithPipe<readonly [v.CustomSchema<`${string}:asc` | `${string}:desc`, undefined>, v.TransformAction<`${string}:asc` | `${string}:desc`, (`${string}:asc` | `${string}:desc`)[]>]>], undefined>, undefined>;
|
|
20
17
|
}, undefined>;
|
|
21
18
|
type QueryStrapiSearchTeamworkProjectHealth = v.InferOutput<typeof QueryStrapiSearchTeamworkProjectHealth>;
|
|
22
19
|
//#endregion
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import "../../pagination-
|
|
1
|
+
import "../../pagination-BdjrPJfW.mjs";
|
|
2
2
|
import { n as VSize, t as VPage } from "../../pagination-D5l_UjyM.mjs";
|
|
3
|
+
import { t as QuerySortValues } from "../../sort-i9OLHfrW.mjs";
|
|
3
4
|
import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
|
|
5
|
+
import "../../base/index.mjs";
|
|
4
6
|
import { t as VIntegerNullable } from "../../number-OMFRufFt.mjs";
|
|
5
7
|
import { TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS } from "./constants.mjs";
|
|
6
|
-
import { QuerySortTeamworkProjectHealth } from "./fields.mjs";
|
|
7
8
|
import * as v from "valibot";
|
|
8
9
|
//#region src/entities/teamwork/query.ts
|
|
9
10
|
const QueryStrapiSearchTeamworkProjectHealth = v.object({
|
|
10
11
|
page: VPage(),
|
|
11
|
-
size: VSize(
|
|
12
|
+
size: VSize(20),
|
|
12
13
|
lastPeriodDays: VIntegerNullable(),
|
|
13
14
|
searchTerm: v.optional(VStringMax()),
|
|
14
15
|
excludeTagIds: v.optional(v.array(VStringMinMax())),
|
|
@@ -18,7 +19,7 @@ const QueryStrapiSearchTeamworkProjectHealth = v.object({
|
|
|
18
19
|
projectTagIds: v.optional(v.array(VStringMinMax())),
|
|
19
20
|
projectHealths: v.optional(VStringMax()),
|
|
20
21
|
projectStatuses: v.optional(v.picklist(TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS.map((option) => option.value)), TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS[0].value),
|
|
21
|
-
sort: v.optional(
|
|
22
|
+
sort: v.optional(QuerySortValues)
|
|
22
23
|
});
|
|
23
24
|
//#endregion
|
|
24
25
|
export { QueryStrapiSearchTeamworkProjectHealth };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.PermissionDocument = require_document.PermissionDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as PermissionDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as RoleDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as UserDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.UserAccountDocument = require_document.UserAccountDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as UserAccountDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_query = require("../../query-
|
|
2
|
+
const require_query = require("../../query-BbavucOn.cjs");
|
|
3
3
|
//#region src/entities/user-account/query.ts
|
|
4
4
|
const SReadUserAccountById = require_query.QueryStrapiById;
|
|
5
5
|
const SReadUserAccountByDocumentId = require_query.QueryStrapiByDocumentId;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-Dh0NI14m.mjs";
|
|
2
2
|
//#region src/entities/user-account/query.ts
|
|
3
3
|
const SReadUserAccountById = QueryStrapiById;
|
|
4
4
|
const SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-Didp4YL0.cjs");
|
|
3
3
|
exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as UtmTrackingLinkDocument } from "../../document-BJyaFe7J.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/constants/pagination.ts
|
|
2
2
|
const LIMIT_TABLE_PAGINATION_DEFAULT_SIZE = 10;
|
|
3
|
-
const LIMIT_PAGINATION_DEFAULT_SIZE =
|
|
4
|
-
const LIMIT_PAGINATION_MAX_SIZE =
|
|
3
|
+
const LIMIT_PAGINATION_DEFAULT_SIZE = 20;
|
|
4
|
+
const LIMIT_PAGINATION_MAX_SIZE = 100;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { LIMIT_PAGINATION_MAX_SIZE as n, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE as r, LIMIT_PAGINATION_DEFAULT_SIZE as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region src/constants/pagination.ts
|
|
2
2
|
const LIMIT_TABLE_PAGINATION_DEFAULT_SIZE = 10;
|
|
3
|
-
const LIMIT_PAGINATION_DEFAULT_SIZE =
|
|
4
|
-
const LIMIT_PAGINATION_MAX_SIZE =
|
|
3
|
+
const LIMIT_PAGINATION_DEFAULT_SIZE = 20;
|
|
4
|
+
const LIMIT_PAGINATION_MAX_SIZE = 100;
|
|
5
5
|
//#endregion
|
|
6
6
|
Object.defineProperty(exports, "LIMIT_PAGINATION_DEFAULT_SIZE", {
|
|
7
7
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
|
-
|
|
2
|
+
require("./pagination-C-gjFxDp.cjs");
|
|
3
3
|
const require_pagination$1 = require("./pagination-DWZDPzR4.cjs");
|
|
4
4
|
const require_sort = require("./sort-CvgExm09.cjs");
|
|
5
5
|
const require_email = require("./email-ByTEdUjg.cjs");
|
|
@@ -11,7 +11,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
11
11
|
//#region src/base/pagination.ts
|
|
12
12
|
const QueryStrapiPaginated = valibot.object({
|
|
13
13
|
page: require_pagination$1.VPage(),
|
|
14
|
-
size: require_pagination$1.VSize(
|
|
14
|
+
size: require_pagination$1.VSize(100),
|
|
15
15
|
sort: valibot.optional(require_sort.QuerySortValues)
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./pagination-BdjrPJfW.mjs";
|
|
2
2
|
import { n as VSize, t as VPage } from "./pagination-D5l_UjyM.mjs";
|
|
3
3
|
import { t as QuerySortValues } from "./sort-i9OLHfrW.mjs";
|
|
4
4
|
import { t as VStringEmail } from "./email-Cnyi5Neo.mjs";
|
|
@@ -9,7 +9,7 @@ import * as v from "valibot";
|
|
|
9
9
|
//#region src/base/pagination.ts
|
|
10
10
|
const QueryStrapiPaginated = v.object({
|
|
11
11
|
page: VPage(),
|
|
12
|
-
size: VSize(
|
|
12
|
+
size: VSize(100),
|
|
13
13
|
sort: v.optional(QuerySortValues)
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getcommunity/gc-validators",
|
|
3
3
|
"description": "Schema Validator for GetCommunity web-stack types",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.282",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
-
const require_sort = require("../../sort-CvgExm09.cjs");
|
|
4
|
-
const require_entities_teamwork_constants = require("./constants.cjs");
|
|
5
|
-
let valibot = require("valibot");
|
|
6
|
-
valibot = require_chunk.__toESM(valibot, 1);
|
|
7
|
-
//#region src/entities/teamwork/fields.ts
|
|
8
|
-
const QuerySortTeamworkProjectHealth = valibot.optional(valibot.object({
|
|
9
|
-
key: valibot.picklist(require_entities_teamwork_constants.TEAMWORK_PROJECT_HEALTH_SELECT_SORT_OPTIONS.map((option) => option.value)),
|
|
10
|
-
order: valibot.picklist(require_sort.SORT_ORDER)
|
|
11
|
-
}));
|
|
12
|
-
//#endregion
|
|
13
|
-
exports.QuerySortTeamworkProjectHealth = QuerySortTeamworkProjectHealth;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/teamwork/fields.d.ts
|
|
4
|
-
declare const QuerySortTeamworkProjectHealth: v.OptionalSchema<v.ObjectSchema<{
|
|
5
|
-
readonly key: v.PicklistSchema<("name" | "health")[], undefined>;
|
|
6
|
-
readonly order: v.PicklistSchema<readonly ["asc", "desc"], undefined>;
|
|
7
|
-
}, undefined>, undefined>;
|
|
8
|
-
type QuerySortTeamworkProjectHealth = v.InferOutput<typeof QuerySortTeamworkProjectHealth>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { QuerySortTeamworkProjectHealth };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as v from "valibot";
|
|
2
|
-
|
|
3
|
-
//#region src/entities/teamwork/fields.d.ts
|
|
4
|
-
declare const QuerySortTeamworkProjectHealth: v.OptionalSchema<v.ObjectSchema<{
|
|
5
|
-
readonly key: v.PicklistSchema<("name" | "health")[], undefined>;
|
|
6
|
-
readonly order: v.PicklistSchema<readonly ["asc", "desc"], undefined>;
|
|
7
|
-
}, undefined>, undefined>;
|
|
8
|
-
type QuerySortTeamworkProjectHealth = v.InferOutput<typeof QuerySortTeamworkProjectHealth>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { QuerySortTeamworkProjectHealth };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { n as SORT_ORDER } from "../../sort-i9OLHfrW.mjs";
|
|
2
|
-
import { TEAMWORK_PROJECT_HEALTH_SELECT_SORT_OPTIONS } from "./constants.mjs";
|
|
3
|
-
import * as v from "valibot";
|
|
4
|
-
//#region src/entities/teamwork/fields.ts
|
|
5
|
-
const QuerySortTeamworkProjectHealth = v.optional(v.object({
|
|
6
|
-
key: v.picklist(TEAMWORK_PROJECT_HEALTH_SELECT_SORT_OPTIONS.map((option) => option.value)),
|
|
7
|
-
order: v.picklist(SORT_ORDER)
|
|
8
|
-
}));
|
|
9
|
-
//#endregion
|
|
10
|
-
export { QuerySortTeamworkProjectHealth };
|
|
@@ -13,24 +13,6 @@ const require_entities_client_user_fields = require("./entities/client-user/fiel
|
|
|
13
13
|
const require_entities_product_document = require("./entities/product/document.cjs");
|
|
14
14
|
let valibot = require("valibot");
|
|
15
15
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
16
|
-
//#region src/entities/content-pillar/document.ts
|
|
17
|
-
const ContentPillarDocument = valibot.object({
|
|
18
|
-
...require_document.BaseDocument.entries,
|
|
19
|
-
title: valibot.string(),
|
|
20
|
-
slug: valibot.string(),
|
|
21
|
-
description: valibot.nullable(valibot.string()),
|
|
22
|
-
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
23
|
-
clients: require_relation.VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
24
|
-
});
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
27
|
-
const ClientContentPillarDocument = valibot.object({
|
|
28
|
-
...require_document.BaseDocument.entries,
|
|
29
|
-
is_active: valibot.boolean(),
|
|
30
|
-
client: require_relation.VDocumentRelationOne(() => ClientDocument),
|
|
31
|
-
content_pillar: require_relation.VDocumentRelationOne(() => ContentPillarDocument)
|
|
32
|
-
});
|
|
33
|
-
//#endregion
|
|
34
16
|
//#region src/entities/media-creative-format/document.ts
|
|
35
17
|
const MediaCreativeFormatDocument = valibot.object({
|
|
36
18
|
...require_document.BaseDocument.entries,
|
|
@@ -301,6 +283,24 @@ const ClientDocument = valibot.object({
|
|
|
301
283
|
gcflytours: require_relation.VDocumentRelationMany(() => GCFlyTourDocument)
|
|
302
284
|
});
|
|
303
285
|
//#endregion
|
|
286
|
+
//#region src/entities/content-pillar/document.ts
|
|
287
|
+
const ContentPillarDocument = valibot.object({
|
|
288
|
+
...require_document.BaseDocument.entries,
|
|
289
|
+
title: valibot.string(),
|
|
290
|
+
slug: valibot.string(),
|
|
291
|
+
description: valibot.nullable(valibot.string()),
|
|
292
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
293
|
+
clients: require_relation.VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
294
|
+
});
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
297
|
+
const ClientContentPillarDocument = valibot.object({
|
|
298
|
+
...require_document.BaseDocument.entries,
|
|
299
|
+
is_active: valibot.boolean(),
|
|
300
|
+
client: require_relation.VDocumentRelationOne(() => ClientDocument),
|
|
301
|
+
content_pillar: require_relation.VDocumentRelationOne(() => ContentPillarDocument)
|
|
302
|
+
});
|
|
303
|
+
//#endregion
|
|
304
304
|
Object.defineProperty(exports, "ClientContentPillarDocument", {
|
|
305
305
|
enumerable: true,
|
|
306
306
|
get: function() {
|