@getcommunity/gc-validators 0.0.297 → 0.0.298
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.cts +1 -1
- package/dist/base/index.d.mts +1 -1
- package/dist/constants/index.d.cts +1 -1
- package/dist/constants/index.d.mts +1 -1
- package/dist/{document-CQXaMh3B.mjs → document-0ZHuVdfl.mjs} +19 -19
- 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-email/document.cjs +1 -1
- package/dist/entities/client-email/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/client-user/query.d.cts +1 -1
- package/dist/entities/client-user/query.d.mts +1 -1
- 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 +12 -5
- package/dist/entities/teamwork/query.d.cts +19 -4
- package/dist/entities/teamwork/query.d.mts +19 -4
- package/dist/entities/teamwork/query.mjs +12 -6
- 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-role/query.d.cts +1 -1
- package/dist/entities/up-role/query.d.mts +1 -1
- package/dist/entities/up-user/document.cjs +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- package/dist/entities/up-user/query.d.cts +1 -1
- package/dist/entities/up-user/query.d.mts +1 -1
- package/dist/entities/user-account/document.cjs +1 -1
- package/dist/entities/user-account/document.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/entities/utm-tracking-link/query.d.cts +1 -1
- package/dist/entities/utm-tracking-link/query.d.mts +1 -1
- package/dist/{index-BT0CIpnR.d.cts → index-DBli9PoO.d.cts} +6 -6
- package/dist/{index-DJ3LAbaV.d.mts → index-uUT1PDGW.d.mts} +6 -6
- package/dist/{query-BzQGVclk.d.mts → query-CQ3fObBw.d.mts} +1 -1
- package/dist/{query-Ct48gLvP.d.mts → query-CXVygEjm.d.mts} +4 -4
- package/dist/{query-DF-6m1Rt.d.cts → query-CrFuk4nK.d.cts} +4 -4
- package/dist/{query-ChpRaNq7.d.cts → query-DO72Vh4Y.d.cts} +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-DMIwyuT8.cjs → document-y3W3rg2J.cjs} +18 -18
package/dist/base/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as BaseDocument, et as FONT_HEADER_SIZE, f as StrapiIconName, ft as BaseComponent, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, it as WEBSAFE_FONT_SANS, j as StrapiListResponse, k as StrapiErrorResponse, l as StrapiBgColorOptions, lt as WebSafeFontSans, m as StrapiLinkType, n as STRAPI_DIRECTION, nt as WEBSAFE_FONT_DISPLAY, o as STRAPI_LINK_TYPE, ot as WebSafeFont, p as StrapiIconPosition, pt as BaseComponentId, q as STRAPI_LINK_REFERRER_POLICY, r as STRAPI_GAP_SIZES, rt as WEBSAFE_FONT_MONO, s as STRAPI_TEXT_COLOR_OPTIONS, st as WebSafeFontDisplay, t as STRAPI_BG_COLOR_OPTIONS, tt as FontHeaderSize, u as StrapiDirection, ut as WebSafeFontSerif, v as ValidStrapiCollectionEntity, w as SortString, x as QuerySortValues, y as ValidStrapiSingleEntity, z as AssociateManyEntities } from "../index-
|
|
1
|
+
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as BaseDocument, et as FONT_HEADER_SIZE, f as StrapiIconName, ft as BaseComponent, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, it as WEBSAFE_FONT_SANS, j as StrapiListResponse, k as StrapiErrorResponse, l as StrapiBgColorOptions, lt as WebSafeFontSans, m as StrapiLinkType, n as STRAPI_DIRECTION, nt as WEBSAFE_FONT_DISPLAY, o as STRAPI_LINK_TYPE, ot as WebSafeFont, p as StrapiIconPosition, pt as BaseComponentId, q as STRAPI_LINK_REFERRER_POLICY, r as STRAPI_GAP_SIZES, rt as WEBSAFE_FONT_MONO, s as STRAPI_TEXT_COLOR_OPTIONS, st as WebSafeFontDisplay, t as STRAPI_BG_COLOR_OPTIONS, tt as FontHeaderSize, u as StrapiDirection, ut as WebSafeFontSerif, v as ValidStrapiCollectionEntity, w as SortString, x as QuerySortValues, y as ValidStrapiSingleEntity, z as AssociateManyEntities } from "../index-DBli9PoO.cjs";
|
|
2
2
|
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as FilterStrapiBase, t as QueryStrapiByDocumentId } from "../query-BDHkFnFz.cjs";
|
|
3
3
|
import { n as JsonSchema, t as JsonData } from "../json-Ygk2txLN.cjs";
|
|
4
4
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-B8nH0XyP.cjs";
|
package/dist/base/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as BaseDocument, et as FONT_HEADER_SIZE, f as StrapiIconName, ft as BaseComponent, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, it as WEBSAFE_FONT_SANS, j as StrapiListResponse, k as StrapiErrorResponse, l as StrapiBgColorOptions, lt as WebSafeFontSans, m as StrapiLinkType, n as STRAPI_DIRECTION, nt as WEBSAFE_FONT_DISPLAY, o as STRAPI_LINK_TYPE, ot as WebSafeFont, p as StrapiIconPosition, pt as BaseComponentId, q as STRAPI_LINK_REFERRER_POLICY, r as STRAPI_GAP_SIZES, rt as WEBSAFE_FONT_MONO, s as STRAPI_TEXT_COLOR_OPTIONS, st as WebSafeFontDisplay, t as STRAPI_BG_COLOR_OPTIONS, tt as FontHeaderSize, u as StrapiDirection, ut as WebSafeFontSerif, v as ValidStrapiCollectionEntity, w as SortString, x as QuerySortValues, y as ValidStrapiSingleEntity, z as AssociateManyEntities } from "../index-
|
|
1
|
+
import { $ as FormSelectInputOption, A as StrapiErrorResult, B as AssociateManyEntitiesOptional, C as SortOrder, D as StrapiAttributeErrorResponse, E as StrapiAttributeErrorKey, F as StrapiSingleResponse, G as SSetEntityRelationshipRequest, H as AssociateOneEntityOptional, I as AssociateEntityPosition, J as STRAPI_LINK_REL, K as QueryStrapiPaginated, L as AssociateEntityPositionDocumentRequest, M as StrapiPagination, N as StrapiResponseMeta, O as StrapiErrorDetail, P as StrapiResponseMetaWithPagination, Q as StrapiLinkTarget, R as AssociateEntityRelationshipRequest, S as SORT_ORDER, T as StrapiAttributeErrorDetail, U as QueryManyEntities, V as AssociateOneEntity, W as SEntityPosition, X as StrapiLinkReferrerPolicy, Y as STRAPI_LINK_TARGET, Z as StrapiLinkRel, _ as ContentStatus, a as STRAPI_ICON_POSITION, at as WEBSAFE_FONT_SERIF, b as ValidStrapiSpecialEntity, c as STRAPI_THEME_OPTIONS, ct as WebSafeFontMono, d as StrapiGapSizes, dt as BaseDocument, et as FONT_HEADER_SIZE, f as StrapiIconName, ft as BaseComponent, g as StrapiThemeOptions, h as StrapiTextColorOptions, i as STRAPI_ICON_NAME, it as WEBSAFE_FONT_SANS, j as StrapiListResponse, k as StrapiErrorResponse, l as StrapiBgColorOptions, lt as WebSafeFontSans, m as StrapiLinkType, n as STRAPI_DIRECTION, nt as WEBSAFE_FONT_DISPLAY, o as STRAPI_LINK_TYPE, ot as WebSafeFont, p as StrapiIconPosition, pt as BaseComponentId, q as STRAPI_LINK_REFERRER_POLICY, r as STRAPI_GAP_SIZES, rt as WEBSAFE_FONT_MONO, s as STRAPI_TEXT_COLOR_OPTIONS, st as WebSafeFontDisplay, t as STRAPI_BG_COLOR_OPTIONS, tt as FontHeaderSize, u as StrapiDirection, ut as WebSafeFontSerif, v as ValidStrapiCollectionEntity, w as SortString, x as QuerySortValues, y as ValidStrapiSingleEntity, z as AssociateManyEntities } from "../index-uUT1PDGW.mjs";
|
|
2
2
|
import { a as QueryStrapiByPhone, i as QueryStrapiByName, n as QueryStrapiByEmail, o as QueryStrapiBySlug, r as QueryStrapiById, s as FilterStrapiBase, t as QueryStrapiByDocumentId } from "../query-FgWCZ38f.mjs";
|
|
3
3
|
import { n as JsonSchema, t as JsonData } from "../json-Ygk2txLN.mjs";
|
|
4
4
|
import { n as MediaFormats, r as MediaUploadDocument, t as MediaFormat } from "../media-upload-B8nH0XyP.mjs";
|
|
@@ -708,7 +708,7 @@ declare const STRAPI_ENTITY_UIDS: {
|
|
|
708
708
|
};
|
|
709
709
|
};
|
|
710
710
|
type StrapiEntity = (typeof STRAPI_ENTITY_UIDS)[keyof typeof STRAPI_ENTITY_UIDS];
|
|
711
|
-
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("
|
|
711
|
+
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[];
|
|
712
712
|
declare const STRAPI_SINGLE_ENTITY_ENDPOINTS: ("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[];
|
|
713
713
|
//#endregion
|
|
714
714
|
export { CONTENT_STATUS, ERROR_MESSAGE_COMMA_SEPPARATED_URLS, ERROR_MESSAGE_INVALID_URL, ERROR_MESSAGE_ONE_PROJECT_STATUS, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, ERROR_MESSAGE_ROBOT, ERROR_MESSAGE_URL_NO_QUERY_PARAMS, ERROR_MESSAGE_URL_PREFIX, ERROR_MESSAGE_UTM_URL, GC_DESIRED_CONTENT_OPTIONS, GC_SERVICE_OPTIONS, GC_VIDEO_SERVICE_OPTIONS, HTML_MIME_TYPES, IMAGE_MIME_TYPES, JOB_ROLE_GROUP, JSON_MIME_TYPES, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESTINATION, LIMIT_MAX_EMAIL, LIMIT_MAX_PASSWORD, LIMIT_MAX_PHONE, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_EMAIL, LIMIT_MIN_PASSWORD, LIMIT_MIN_PHONE, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, LIMIT_VAL_10, LIMIT_VAL_100, LIMIT_VAL_20, LIMIT_VAL_255, LIMIT_VAL_32, LIMIT_VAL_64, MJML_MIME_TYPES, MimeType, NUMBER_OF_EMPLOYEE_OPTIONS, RATING_RANGE_5, REGEX_BRAND_COLOR_SLUG, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, STRAPI_COLLECTION_ENTITY_ENDPOINTS, STRAPI_ENTITY_UIDS, STRAPI_SINGLE_ENTITY_ENDPOINTS, STRAPI_SPECIAL_ENTITIES, StrapiEntity, TXT_MIME_TYPES, XML_MIME_TYPES, getStrapiEntityValues };
|
|
@@ -708,7 +708,7 @@ declare const STRAPI_ENTITY_UIDS: {
|
|
|
708
708
|
};
|
|
709
709
|
};
|
|
710
710
|
type StrapiEntity = (typeof STRAPI_ENTITY_UIDS)[keyof typeof STRAPI_ENTITY_UIDS];
|
|
711
|
-
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("
|
|
711
|
+
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[];
|
|
712
712
|
declare const STRAPI_SINGLE_ENTITY_ENDPOINTS: ("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[];
|
|
713
713
|
//#endregion
|
|
714
714
|
export { CONTENT_STATUS, ERROR_MESSAGE_COMMA_SEPPARATED_URLS, ERROR_MESSAGE_INVALID_URL, ERROR_MESSAGE_ONE_PROJECT_STATUS, ERROR_MESSAGE_REGEX_PHONE, ERROR_MESSAGE_REGEX_URL_SLUG, ERROR_MESSAGE_REGEX_UTM_VALUE, ERROR_MESSAGE_ROBOT, ERROR_MESSAGE_URL_NO_QUERY_PARAMS, ERROR_MESSAGE_URL_PREFIX, ERROR_MESSAGE_UTM_URL, GC_DESIRED_CONTENT_OPTIONS, GC_SERVICE_OPTIONS, GC_VIDEO_SERVICE_OPTIONS, HTML_MIME_TYPES, IMAGE_MIME_TYPES, JOB_ROLE_GROUP, JSON_MIME_TYPES, LIMIT_LONG_STRING_MAX_LENGTH, LIMIT_MAX_DESTINATION, LIMIT_MAX_EMAIL, LIMIT_MAX_PASSWORD, LIMIT_MAX_PHONE, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MEDIUM_STRING_MAX_LENGTH, LIMIT_MIN_DESTINATION, LIMIT_MIN_EMAIL, LIMIT_MIN_PASSWORD, LIMIT_MIN_PHONE, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, LIMIT_PAGINATION_DEFAULT_SIZE, LIMIT_PAGINATION_MAX_SIZE, LIMIT_SHORT_STRING_MAX_LENGTH, LIMIT_TABLE_PAGINATION_DEFAULT_SIZE, LIMIT_VAL_10, LIMIT_VAL_100, LIMIT_VAL_20, LIMIT_VAL_255, LIMIT_VAL_32, LIMIT_VAL_64, MJML_MIME_TYPES, MimeType, NUMBER_OF_EMPLOYEE_OPTIONS, RATING_RANGE_5, REGEX_BRAND_COLOR_SLUG, REGEX_NANP_PHONE, REGEX_URL_SLUG, REGEX_UTM_VALUE, STRAPI_COLLECTION_ENTITY_ENDPOINTS, STRAPI_ENTITY_UIDS, STRAPI_SINGLE_ENTITY_ENDPOINTS, STRAPI_SPECIAL_ENTITIES, StrapiEntity, TXT_MIME_TYPES, XML_MIME_TYPES, getStrapiEntityValues };
|
|
@@ -12,6 +12,24 @@ import { RoleType } from "./entities/up-role/fields.mjs";
|
|
|
12
12
|
import { ClientUserScopes } from "./entities/client-user/fields.mjs";
|
|
13
13
|
import { ProductDocument } from "./entities/product/document.mjs";
|
|
14
14
|
import * as v from "valibot";
|
|
15
|
+
//#region src/entities/content-pillar/document.ts
|
|
16
|
+
const ContentPillarDocument = v.object({
|
|
17
|
+
...BaseDocument.entries,
|
|
18
|
+
title: v.string(),
|
|
19
|
+
slug: v.string(),
|
|
20
|
+
description: v.nullable(v.string()),
|
|
21
|
+
information: v.nullable(v.array(RichTextBlock)),
|
|
22
|
+
clients: VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
26
|
+
const ClientContentPillarDocument = v.object({
|
|
27
|
+
...BaseDocument.entries,
|
|
28
|
+
is_active: v.boolean(),
|
|
29
|
+
client: VDocumentRelationOne(() => ClientDocument),
|
|
30
|
+
content_pillar: VDocumentRelationOne(() => ContentPillarDocument)
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
15
33
|
//#region src/entities/client-project/document.ts
|
|
16
34
|
const ClientProjectDocument = v.object({
|
|
17
35
|
...BaseDocument.entries,
|
|
@@ -299,22 +317,4 @@ const ClientDocument = v.object({
|
|
|
299
317
|
client_emails: VDocumentRelationMany(() => ClientEmailDocument)
|
|
300
318
|
});
|
|
301
319
|
//#endregion
|
|
302
|
-
|
|
303
|
-
const ContentPillarDocument = v.object({
|
|
304
|
-
...BaseDocument.entries,
|
|
305
|
-
title: v.string(),
|
|
306
|
-
slug: v.string(),
|
|
307
|
-
description: v.nullable(v.string()),
|
|
308
|
-
information: v.nullable(v.array(RichTextBlock)),
|
|
309
|
-
clients: VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
310
|
-
});
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
313
|
-
const ClientContentPillarDocument = v.object({
|
|
314
|
-
...BaseDocument.entries,
|
|
315
|
-
is_active: v.boolean(),
|
|
316
|
-
client: VDocumentRelationOne(() => ClientDocument),
|
|
317
|
-
content_pillar: VDocumentRelationOne(() => ContentPillarDocument)
|
|
318
|
-
});
|
|
319
|
-
//#endregion
|
|
320
|
-
export { ClientProjectDocument as C, ClientEmailDocument as S, ClientMediaPlatformDocument as _, MondayWorkspaceDocument as a, MediaContentTypeDocument 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, MediaPlatformDocument as v, MediaCreativeFormatDocument as x, MediaMediumDocument as y };
|
|
320
|
+
export { ContentPillarDocument as C, ClientContentPillarDocument as S, MediaMediumDocument as _, GCFlyTourSnapDocument as a, ClientEmailDocument as b, UserDocument as c, RoleDocument as d, PermissionDocument as f, MediaPlatformDocument as g, ClientMediaPlatformDocument as h, GCFlyTourDocument as i, UtmTrackingLinkDocument as l, ClientReportDocument as m, ProductHighlightDocument as n, ClientUserDocument as o, ClientStyleguideDocument as p, MondayWorkspaceDocument as r, ClientUserDocumentStatus as s, ClientDocument as t, UserAccountDocument as u, MediaContentTypeDocument as v, ClientProjectDocument as x, MediaCreativeFormatDocument as y };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as ClientDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientContentPillarDocument = require_document.ClientContentPillarDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as ClientContentPillarDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientEmailDocument = require_document.ClientEmailDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ClientEmailDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { ClientEmailDocument };
|
|
@@ -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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientMediaPlatformDocument = require_document.ClientMediaPlatformDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as ClientMediaPlatformDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientProjectDocument = require_document.ClientProjectDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as ClientProjectDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientReportDocument = require_document.ClientReportDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as ClientReportDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientStyleguideDocument = require_document.ClientStyleguideDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as ClientStyleguideDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ClientUserDocument = require_document.ClientUserDocument;
|
|
4
4
|
exports.ClientUserDocumentStatus = require_document.ClientUserDocumentStatus;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as ClientUserDocument, s as ClientUserDocumentStatus } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { ClientUserDocument, ClientUserDocumentStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-
|
|
1
|
+
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-DO72Vh4Y.cjs";
|
|
2
2
|
export { FilterStrapiClientUsers, QueryStrapiSearchClientUsers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-
|
|
1
|
+
import { n as QueryStrapiSearchClientUsers, t as FilterStrapiClientUsers } from "../../query-CQ3fObBw.mjs";
|
|
2
2
|
export { FilterStrapiClientUsers, QueryStrapiSearchClientUsers };
|
|
@@ -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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ContentPillarDocument = require_document.ContentPillarDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ContentPillarDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { ContentPillarDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as GCFlyTourDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.GCFlyTourSnapDocument = require_document.GCFlyTourSnapDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as GCFlyTourSnapDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.MediaContentTypeDocument = require_document.MediaContentTypeDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as MediaContentTypeDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.MediaCreativeFormatDocument = require_document.MediaCreativeFormatDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as MediaCreativeFormatDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.MediaMediumDocument = require_document.MediaMediumDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as MediaMediumDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.MediaPlatformDocument = require_document.MediaPlatformDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as MediaPlatformDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.MondayWorkspaceDocument = require_document.MondayWorkspaceDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as MondayWorkspaceDocument } from "../../document-0ZHuVdfl.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-y3W3rg2J.cjs");
|
|
3
3
|
exports.ProductHighlightDocument = require_document.ProductHighlightDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as ProductHighlightDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { ProductHighlightDocument };
|
|
@@ -7,10 +7,11 @@ const require_number = require("../../number-DbwYKIg2.cjs");
|
|
|
7
7
|
const require_entities_teamwork_constants = require("./constants.cjs");
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
10
|
+
//#region src/entities/teamwork/field.ts
|
|
11
|
+
const TeamworkProjectStatus = valibot.picklist(require_entities_teamwork_constants.TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS.map((option) => option.value));
|
|
12
|
+
//#endregion
|
|
10
13
|
//#region src/entities/teamwork/query.ts
|
|
11
|
-
const
|
|
12
|
-
page: require_pagination.VPage(),
|
|
13
|
-
size: require_pagination.VSize(1e3),
|
|
14
|
+
const FilterStrapiTeamworkProjectHealth = valibot.object({
|
|
14
15
|
lastPeriodDays: require_number.VIntegerNullable(),
|
|
15
16
|
searchTerm: valibot.optional(require_string.VStringMax()),
|
|
16
17
|
excludeTagIds: valibot.optional(valibot.array(require_string.VStringMinMax())),
|
|
@@ -19,8 +20,14 @@ const QueryStrapiSearchTeamworkProjectHealth = valibot.object({
|
|
|
19
20
|
projectCompanyIds: valibot.optional(valibot.array(require_string.VStringMinMax())),
|
|
20
21
|
projectTagIds: valibot.optional(valibot.array(require_string.VStringMinMax())),
|
|
21
22
|
projectHealths: valibot.optional(require_string.VStringMax()),
|
|
22
|
-
projectStatuses: valibot.optional(
|
|
23
|
-
|
|
23
|
+
projectStatuses: valibot.optional(TeamworkProjectStatus, require_entities_teamwork_constants.TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS[0].value)
|
|
24
|
+
});
|
|
25
|
+
const QueryStrapiSearchTeamworkProjectHealth = valibot.object({
|
|
26
|
+
page: require_pagination.VPage(),
|
|
27
|
+
size: require_pagination.VSize(1e3),
|
|
28
|
+
sort: valibot.optional(require_sort.QuerySortValues),
|
|
29
|
+
f: valibot.optional(FilterStrapiTeamworkProjectHealth, { projectStatuses: require_entities_teamwork_constants.TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS[0].value })
|
|
24
30
|
});
|
|
25
31
|
//#endregion
|
|
32
|
+
exports.FilterStrapiTeamworkProjectHealth = FilterStrapiTeamworkProjectHealth;
|
|
26
33
|
exports.QueryStrapiSearchTeamworkProjectHealth = QueryStrapiSearchTeamworkProjectHealth;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/teamwork/query.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
4
|
+
declare const FilterStrapiTeamworkProjectHealth: v.ObjectSchema<{
|
|
7
5
|
readonly lastPeriodDays: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
8
6
|
readonly searchTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
7
|
readonly excludeTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
@@ -13,8 +11,25 @@ declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
|
|
|
13
11
|
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
12
|
readonly projectHealths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
13
|
readonly projectStatuses: v.OptionalSchema<v.PicklistSchema<("active" | "current" | "late" | "upcoming" | "completed" | "archived")[], undefined>, "active">;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
|
|
16
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
17
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
16
18
|
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>;
|
|
19
|
+
readonly f: v.OptionalSchema<v.ObjectSchema<{
|
|
20
|
+
readonly lastPeriodDays: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
21
|
+
readonly searchTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
|
+
readonly excludeTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
23
|
+
readonly includeArchivedProjects: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
24
|
+
readonly projectCategoryIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
25
|
+
readonly projectCompanyIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
26
|
+
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>;
|
|
27
|
+
readonly projectHealths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
|
+
readonly projectStatuses: v.OptionalSchema<v.PicklistSchema<("active" | "current" | "late" | "upcoming" | "completed" | "archived")[], undefined>, "active">;
|
|
29
|
+
}, undefined>, {
|
|
30
|
+
readonly projectStatuses: "active";
|
|
31
|
+
}>;
|
|
17
32
|
}, undefined>;
|
|
18
33
|
type QueryStrapiSearchTeamworkProjectHealth = v.InferOutput<typeof QueryStrapiSearchTeamworkProjectHealth>;
|
|
19
34
|
//#endregion
|
|
20
|
-
export { QueryStrapiSearchTeamworkProjectHealth };
|
|
35
|
+
export { FilterStrapiTeamworkProjectHealth, QueryStrapiSearchTeamworkProjectHealth };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/teamwork/query.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6
|
-
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
4
|
+
declare const FilterStrapiTeamworkProjectHealth: v.ObjectSchema<{
|
|
7
5
|
readonly lastPeriodDays: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
8
6
|
readonly searchTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
7
|
readonly excludeTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
@@ -13,8 +11,25 @@ declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
|
|
|
13
11
|
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
12
|
readonly projectHealths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
13
|
readonly projectStatuses: v.OptionalSchema<v.PicklistSchema<("active" | "current" | "late" | "upcoming" | "completed" | "archived")[], undefined>, "active">;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
|
|
16
|
+
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
17
|
+
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
16
18
|
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>;
|
|
19
|
+
readonly f: v.OptionalSchema<v.ObjectSchema<{
|
|
20
|
+
readonly lastPeriodDays: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
21
|
+
readonly searchTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
22
|
+
readonly excludeTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
23
|
+
readonly includeArchivedProjects: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
24
|
+
readonly projectCategoryIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
25
|
+
readonly projectCompanyIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
26
|
+
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>;
|
|
27
|
+
readonly projectHealths: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
28
|
+
readonly projectStatuses: v.OptionalSchema<v.PicklistSchema<("active" | "current" | "late" | "upcoming" | "completed" | "archived")[], undefined>, "active">;
|
|
29
|
+
}, undefined>, {
|
|
30
|
+
readonly projectStatuses: "active";
|
|
31
|
+
}>;
|
|
17
32
|
}, undefined>;
|
|
18
33
|
type QueryStrapiSearchTeamworkProjectHealth = v.InferOutput<typeof QueryStrapiSearchTeamworkProjectHealth>;
|
|
19
34
|
//#endregion
|
|
20
|
-
export { QueryStrapiSearchTeamworkProjectHealth };
|
|
35
|
+
export { FilterStrapiTeamworkProjectHealth, QueryStrapiSearchTeamworkProjectHealth };
|
|
@@ -4,10 +4,11 @@ import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
|
4
4
|
import { t as VIntegerNullable } from "../../number-Klusc2Oc.mjs";
|
|
5
5
|
import { TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS } from "./constants.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
|
+
//#region src/entities/teamwork/field.ts
|
|
8
|
+
const TeamworkProjectStatus = v.picklist(TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS.map((option) => option.value));
|
|
9
|
+
//#endregion
|
|
7
10
|
//#region src/entities/teamwork/query.ts
|
|
8
|
-
const
|
|
9
|
-
page: VPage(),
|
|
10
|
-
size: VSize(1e3),
|
|
11
|
+
const FilterStrapiTeamworkProjectHealth = v.object({
|
|
11
12
|
lastPeriodDays: VIntegerNullable(),
|
|
12
13
|
searchTerm: v.optional(VStringMax()),
|
|
13
14
|
excludeTagIds: v.optional(v.array(VStringMinMax())),
|
|
@@ -16,8 +17,13 @@ const QueryStrapiSearchTeamworkProjectHealth = v.object({
|
|
|
16
17
|
projectCompanyIds: v.optional(v.array(VStringMinMax())),
|
|
17
18
|
projectTagIds: v.optional(v.array(VStringMinMax())),
|
|
18
19
|
projectHealths: v.optional(VStringMax()),
|
|
19
|
-
projectStatuses: v.optional(
|
|
20
|
-
|
|
20
|
+
projectStatuses: v.optional(TeamworkProjectStatus, TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS[0].value)
|
|
21
|
+
});
|
|
22
|
+
const QueryStrapiSearchTeamworkProjectHealth = v.object({
|
|
23
|
+
page: VPage(),
|
|
24
|
+
size: VSize(1e3),
|
|
25
|
+
sort: v.optional(QuerySortValues),
|
|
26
|
+
f: v.optional(FilterStrapiTeamworkProjectHealth, { projectStatuses: TEAMWORK_PROJECT_HEALTH_PROJECT_STATUS_OPTIONS[0].value })
|
|
21
27
|
});
|
|
22
28
|
//#endregion
|
|
23
|
-
export { QueryStrapiSearchTeamworkProjectHealth };
|
|
29
|
+
export { FilterStrapiTeamworkProjectHealth, 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-y3W3rg2J.cjs");
|
|
3
3
|
exports.PermissionDocument = require_document.PermissionDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as PermissionDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as RoleDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-
|
|
1
|
+
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-CrFuk4nK.cjs";
|
|
2
2
|
export { FilterRoleType, FilterStrapiRoles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-
|
|
1
|
+
import { n as FilterStrapiRoles, t as FilterRoleType } from "../../query-CXVygEjm.mjs";
|
|
2
2
|
export { FilterRoleType, FilterStrapiRoles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as UserDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-
|
|
1
|
+
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-DO72Vh4Y.cjs";
|
|
2
2
|
export { FilterStrapiUsers, QueryStrapiSearchUsers, QueryStrapiSearchUsersByIdentifier };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-
|
|
1
|
+
import { a as QueryStrapiSearchUsersByIdentifier, i as QueryStrapiSearchUsers, r as FilterStrapiUsers } from "../../query-CQ3fObBw.mjs";
|
|
2
2
|
export { FilterStrapiUsers, QueryStrapiSearchUsers, QueryStrapiSearchUsersByIdentifier };
|
|
@@ -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-y3W3rg2J.cjs");
|
|
3
3
|
exports.UserAccountDocument = require_document.UserAccountDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as UserAccountDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -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-y3W3rg2J.cjs");
|
|
3
3
|
exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as UtmTrackingLinkDocument } from "../../document-0ZHuVdfl.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as BooleanFilter, f as IdFilter, ot as StrapiLogicalFilter, st as StrapiLogicalFilterBaseSchema, t as LongStringFilter, u as DocumentIdFilter, v as DateTimeFilter } from "../../index-bg-zPAlD.cjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "../../query-Dlx0YFAr.cjs";
|
|
3
|
-
import { r as FilterStrapiUsers } from "../../query-
|
|
3
|
+
import { r as FilterStrapiUsers } from "../../query-DO72Vh4Y.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
6
6
|
//#region src/entities/utm-tracking-link/query.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as BooleanFilter, f as IdFilter, ot as StrapiLogicalFilter, st as StrapiLogicalFilterBaseSchema, t as LongStringFilter, u as DocumentIdFilter, v as DateTimeFilter } from "../../index-bg-zPAlD.mjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "../../query-CDwMPstD.mjs";
|
|
3
|
-
import { r as FilterStrapiUsers } from "../../query-
|
|
3
|
+
import { r as FilterStrapiUsers } from "../../query-CQ3fObBw.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
6
6
|
//#region src/entities/utm-tracking-link/query.d.ts
|
|
@@ -83,13 +83,13 @@ type AssociateManyEntitiesOptional = v.InferOutput<typeof AssociateManyEntitiesO
|
|
|
83
83
|
declare const QueryManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>;
|
|
84
84
|
type QueryManyEntities = v.InferOutput<typeof QueryManyEntities>;
|
|
85
85
|
declare const AssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
86
|
-
readonly collection: v.PicklistSchema<("
|
|
86
|
+
readonly collection: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
87
87
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
88
88
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
89
89
|
readonly connect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
90
90
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
91
91
|
}, undefined>, v.CheckAction<{
|
|
92
|
-
collection: "
|
|
92
|
+
collection: "clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
93
93
|
documentId: string;
|
|
94
94
|
relationKey: string;
|
|
95
95
|
connect?: string[] | undefined;
|
|
@@ -119,7 +119,7 @@ declare const AssociateEntityPosition: v.ObjectSchema<{
|
|
|
119
119
|
}, undefined>;
|
|
120
120
|
type AssociateEntityPosition = v.InferOutput<typeof AssociateEntityPosition>;
|
|
121
121
|
declare const AssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
122
|
-
readonly collection: v.PicklistSchema<("
|
|
122
|
+
readonly collection: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
123
123
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
124
124
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
125
125
|
readonly connect: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -136,7 +136,7 @@ declare const AssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
136
136
|
}, undefined>, undefined>, undefined>;
|
|
137
137
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
138
138
|
}, undefined>, v.CheckAction<{
|
|
139
|
-
collection: "
|
|
139
|
+
collection: "clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
140
140
|
documentId: string;
|
|
141
141
|
relationKey: string;
|
|
142
142
|
connect?: {
|
|
@@ -153,7 +153,7 @@ declare const AssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
153
153
|
}, "You must provide a relationship to update: connect or disconnect.">]>;
|
|
154
154
|
type AssociateEntityPositionDocumentRequest = v.InferOutput<typeof AssociateEntityPositionDocumentRequest>;
|
|
155
155
|
declare const SSetEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
156
|
-
readonly collection: v.PicklistSchema<("
|
|
156
|
+
readonly collection: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
157
157
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
158
158
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
159
159
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
|
|
@@ -228,7 +228,7 @@ type QuerySortValues = v.InferOutput<typeof QuerySortValues>;
|
|
|
228
228
|
//#region src/base/strapi.d.ts
|
|
229
229
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
230
230
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
231
|
-
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("
|
|
231
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
232
232
|
type ValidStrapiCollectionEntity = v.InferOutput<typeof ValidStrapiCollectionEntity>;
|
|
233
233
|
declare const ValidStrapiSingleEntity: v.PicklistSchema<("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[], undefined>;
|
|
234
234
|
type ValidStrapiSingleEntity = v.InferOutput<typeof ValidStrapiSingleEntity>;
|
|
@@ -83,13 +83,13 @@ type AssociateManyEntitiesOptional = v.InferOutput<typeof AssociateManyEntitiesO
|
|
|
83
83
|
declare const QueryManyEntities: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>]>;
|
|
84
84
|
type QueryManyEntities = v.InferOutput<typeof QueryManyEntities>;
|
|
85
85
|
declare const AssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
86
|
-
readonly collection: v.PicklistSchema<("
|
|
86
|
+
readonly collection: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
87
87
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
88
88
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
89
89
|
readonly connect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
90
90
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
91
91
|
}, undefined>, v.CheckAction<{
|
|
92
|
-
collection: "
|
|
92
|
+
collection: "clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
93
93
|
documentId: string;
|
|
94
94
|
relationKey: string;
|
|
95
95
|
connect?: string[] | undefined;
|
|
@@ -119,7 +119,7 @@ declare const AssociateEntityPosition: v.ObjectSchema<{
|
|
|
119
119
|
}, undefined>;
|
|
120
120
|
type AssociateEntityPosition = v.InferOutput<typeof AssociateEntityPosition>;
|
|
121
121
|
declare const AssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
122
|
-
readonly collection: v.PicklistSchema<("
|
|
122
|
+
readonly collection: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
123
123
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
124
124
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
125
125
|
readonly connect: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -136,7 +136,7 @@ declare const AssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
136
136
|
}, undefined>, undefined>, undefined>;
|
|
137
137
|
readonly disconnect: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
138
138
|
}, undefined>, v.CheckAction<{
|
|
139
|
-
collection: "
|
|
139
|
+
collection: "clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links";
|
|
140
140
|
documentId: string;
|
|
141
141
|
relationKey: string;
|
|
142
142
|
connect?: {
|
|
@@ -153,7 +153,7 @@ declare const AssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
153
153
|
}, "You must provide a relationship to update: connect or disconnect.">]>;
|
|
154
154
|
type AssociateEntityPositionDocumentRequest = v.InferOutput<typeof AssociateEntityPositionDocumentRequest>;
|
|
155
155
|
declare const SSetEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
156
|
-
readonly collection: v.PicklistSchema<("
|
|
156
|
+
readonly collection: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
157
157
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
158
158
|
readonly relationKey: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
159
159
|
readonly set: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
|
|
@@ -228,7 +228,7 @@ type QuerySortValues = v.InferOutput<typeof QuerySortValues>;
|
|
|
228
228
|
//#region src/base/strapi.d.ts
|
|
229
229
|
declare const ContentStatus: v.PicklistSchema<readonly ["draft", "published"], undefined>;
|
|
230
230
|
type ContentStatus = v.InferOutput<typeof ContentStatus>;
|
|
231
|
-
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("
|
|
231
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("clients" | "tags" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "client-emails" | "client-media-platforms" | "client-projects" | "client-reports" | "client-styleguides" | "comments" | "comment-reports" | "content-pillars" | "gc-fly-tours" | "gc-fly-tour-snaps" | "leads" | "media-content-types" | "media-creative-formats" | "media-mediums" | "media-platforms" | "monday-workspaces" | "newsletter-signups" | "products" | "product-highlights" | "resumes" | "team-members" | "trends" | "roles" | "user-accounts" | "url-redirections" | "utm-tracking-links")[], undefined>;
|
|
232
232
|
type ValidStrapiCollectionEntity = v.InferOutput<typeof ValidStrapiCollectionEntity>;
|
|
233
233
|
declare const ValidStrapiSingleEntity: v.PicklistSchema<("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[], undefined>;
|
|
234
234
|
type ValidStrapiSingleEntity = v.InferOutput<typeof ValidStrapiSingleEntity>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as BooleanFilter, d as EmailFilter, f as IdFilter, n as StringFilter, ot as StrapiLogicalFilter, st as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-bg-zPAlD.mjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "./query-CDwMPstD.mjs";
|
|
3
3
|
import { t as FilterScopes } from "./fields-CW6Yk8yM.mjs";
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-CXVygEjm.mjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|
|
@@ -5,16 +5,16 @@ import * as v from "valibot";
|
|
|
5
5
|
declare const FilterRoleType: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
6
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
11
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
12
|
} & {
|
|
13
13
|
readonly $not: StrapiFilterObjectSchema<{
|
|
14
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
19
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
20
|
}>;
|
|
@@ -5,16 +5,16 @@ import * as v from "valibot";
|
|
|
5
5
|
declare const FilterRoleType: FilterWithMetadata<StrapiFilterObjectSchema<{
|
|
6
6
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
7
7
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
8
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
9
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
8
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
9
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
10
10
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
11
11
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
12
12
|
} & {
|
|
13
13
|
readonly $not: StrapiFilterObjectSchema<{
|
|
14
14
|
readonly $notNull: v.LiteralSchema<true, undefined>;
|
|
15
15
|
readonly $null: v.LiteralSchema<true, undefined>;
|
|
16
|
-
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
17
|
-
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "
|
|
16
|
+
readonly $in: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
17
|
+
readonly $notIn: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>, undefined>, v.MinLengthAction<("client" | "manager" | "employee" | "authenticated" | "public")[], 1, undefined>]>;
|
|
18
18
|
readonly $eq: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
19
19
|
readonly $ne: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
|
|
20
20
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as BooleanFilter, d as EmailFilter, f as IdFilter, n as StringFilter, ot as StrapiLogicalFilter, st as StrapiLogicalFilterBaseSchema, u as DocumentIdFilter, v as DateTimeFilter } from "./index-bg-zPAlD.cjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "./query-Dlx0YFAr.cjs";
|
|
3
3
|
import { t as FilterScopes } from "./fields-C6QDTmb0.cjs";
|
|
4
|
-
import { n as FilterStrapiRoles } from "./query-
|
|
4
|
+
import { n as FilterStrapiRoles } from "./query-CrFuk4nK.cjs";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/entities/up-user/query.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-
|
|
1
|
+
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-DBli9PoO.cjs";
|
|
2
2
|
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-BsK9rrGj.cjs";
|
|
3
3
|
import { t as RoleType } from "../fields-DNmK-PPG.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-
|
|
1
|
+
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-uUT1PDGW.mjs";
|
|
2
2
|
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-BPkKpMtc.mjs";
|
|
3
3
|
import { t as RoleType } from "../fields-DNmK-PPG.mjs";
|
|
4
4
|
import * as v from "valibot";
|
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.298",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -14,6 +14,24 @@ const require_entities_client_user_fields = require("./entities/client-user/fiel
|
|
|
14
14
|
const require_entities_product_document = require("./entities/product/document.cjs");
|
|
15
15
|
let valibot = require("valibot");
|
|
16
16
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
17
|
+
//#region src/entities/content-pillar/document.ts
|
|
18
|
+
const ContentPillarDocument = valibot.object({
|
|
19
|
+
...require_document.BaseDocument.entries,
|
|
20
|
+
title: valibot.string(),
|
|
21
|
+
slug: valibot.string(),
|
|
22
|
+
description: valibot.nullable(valibot.string()),
|
|
23
|
+
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
24
|
+
clients: require_relation.VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/entities/client-content-pillar/document.ts
|
|
28
|
+
const ClientContentPillarDocument = valibot.object({
|
|
29
|
+
...require_document.BaseDocument.entries,
|
|
30
|
+
is_active: valibot.boolean(),
|
|
31
|
+
client: require_relation.VDocumentRelationOne(() => ClientDocument),
|
|
32
|
+
content_pillar: require_relation.VDocumentRelationOne(() => ContentPillarDocument)
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
17
35
|
//#region src/entities/client-project/document.ts
|
|
18
36
|
const ClientProjectDocument = valibot.object({
|
|
19
37
|
...require_document.BaseDocument.entries,
|
|
@@ -301,24 +319,6 @@ const ClientDocument = valibot.object({
|
|
|
301
319
|
client_emails: require_relation.VDocumentRelationMany(() => ClientEmailDocument)
|
|
302
320
|
});
|
|
303
321
|
//#endregion
|
|
304
|
-
//#region src/entities/content-pillar/document.ts
|
|
305
|
-
const ContentPillarDocument = valibot.object({
|
|
306
|
-
...require_document.BaseDocument.entries,
|
|
307
|
-
title: valibot.string(),
|
|
308
|
-
slug: valibot.string(),
|
|
309
|
-
description: valibot.nullable(valibot.string()),
|
|
310
|
-
information: valibot.nullable(valibot.array(require_components_shared_index.RichTextBlock)),
|
|
311
|
-
clients: require_relation.VDocumentRelationMany(() => ClientContentPillarDocument)
|
|
312
|
-
});
|
|
313
|
-
//#endregion
|
|
314
|
-
//#region src/entities/client-content-pillar/document.ts
|
|
315
|
-
const ClientContentPillarDocument = valibot.object({
|
|
316
|
-
...require_document.BaseDocument.entries,
|
|
317
|
-
is_active: valibot.boolean(),
|
|
318
|
-
client: require_relation.VDocumentRelationOne(() => ClientDocument),
|
|
319
|
-
content_pillar: require_relation.VDocumentRelationOne(() => ContentPillarDocument)
|
|
320
|
-
});
|
|
321
|
-
//#endregion
|
|
322
322
|
Object.defineProperty(exports, "ClientContentPillarDocument", {
|
|
323
323
|
enumerable: true,
|
|
324
324
|
get: function() {
|