@getcommunity/gc-validators 0.0.288-alpha.3 → 0.0.288-alpha.5
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/entities/blog-post/query.cjs +3 -0
- package/dist/entities/blog-post/query.d.cts +3 -0
- package/dist/entities/blog-post/query.d.mts +3 -0
- package/dist/entities/blog-post/query.mjs +4 -1
- package/dist/entities/gcflytour/query.cjs +1 -1
- package/dist/entities/gcflytour/query.mjs +1 -1
- package/dist/entities/gcflytour-snap/query.cjs +1 -1
- package/dist/entities/gcflytour-snap/query.mjs +1 -1
- package/dist/{index-QwaC0W5H.d.mts → index-BKBU3KSE.d.mts} +6 -6
- package/dist/{index-CPxt9kfS.d.cts → index-C4ndicLs.d.cts} +6 -6
- package/dist/{query-k67TaoJs.mjs → query-BFgNXzID.mjs} +12 -12
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/{query-B-6-qAuN.cjs → query-v1y5ioJw.cjs} +11 -11
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-C4ndicLs.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-BOv5YhYc.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-BKBU3KSE.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-BQkvCQDy.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";
|
|
@@ -687,7 +687,7 @@ declare const STRAPI_ENTITY_UIDS: {
|
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
689
|
type StrapiEntity = (typeof STRAPI_ENTITY_UIDS)[keyof typeof STRAPI_ENTITY_UIDS];
|
|
690
|
-
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
690
|
+
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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")[];
|
|
691
691
|
declare const STRAPI_SINGLE_ENTITY_ENDPOINTS: ("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[];
|
|
692
692
|
//#endregion
|
|
693
693
|
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, JOB_ROLE_GROUP, 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, 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, getStrapiEntityValues };
|
|
@@ -687,7 +687,7 @@ declare const STRAPI_ENTITY_UIDS: {
|
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
689
|
type StrapiEntity = (typeof STRAPI_ENTITY_UIDS)[keyof typeof STRAPI_ENTITY_UIDS];
|
|
690
|
-
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
690
|
+
declare const STRAPI_COLLECTION_ENTITY_ENDPOINTS: ("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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")[];
|
|
691
691
|
declare const STRAPI_SINGLE_ENTITY_ENDPOINTS: ("faq" | "blog-page" | "careers-page" | "landing-page" | "privacy-policy" | "sms-policy" | "team-page" | "utm-meta")[];
|
|
692
692
|
//#endregion
|
|
693
693
|
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, JOB_ROLE_GROUP, 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, 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, getStrapiEntityValues };
|
|
@@ -38,6 +38,9 @@ const QueryStrapiSearchBlogPosts = valibot.object({
|
|
|
38
38
|
size: require_pagination.VSize(),
|
|
39
39
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
40
40
|
status: valibot.optional(require_relationships.ContentStatus),
|
|
41
|
+
search: valibot.optional(require_string$1.VStringMax()),
|
|
42
|
+
category: valibot.optional(require_string$1.VStringMax()),
|
|
43
|
+
tags: valibot.optional(valibot.pipe(valibot.array(require_string$1.VStringMax()))),
|
|
41
44
|
f: valibot.optional(FilterStrapiBlogPosts)
|
|
42
45
|
});
|
|
43
46
|
const QueryStrapiSearchBlogPostsBySlug = valibot.object({
|
|
@@ -47,6 +47,9 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
47
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
48
|
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>;
|
|
49
49
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
50
|
+
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
+
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
50
53
|
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBlogPosts>, undefined>;
|
|
51
54
|
}, undefined>;
|
|
52
55
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
@@ -47,6 +47,9 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
47
47
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
48
48
|
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>;
|
|
49
49
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
50
|
+
readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
52
|
+
readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>]>, undefined>;
|
|
50
53
|
readonly f: v.OptionalSchema<v.GenericSchema<FilterStrapiBlogPosts>, undefined>;
|
|
51
54
|
}, undefined>;
|
|
52
55
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
@@ -3,7 +3,7 @@ import { n as LongStringFilter, r as StringFilter } from "../../string-CHEFvHQa.
|
|
|
3
3
|
import { t as BooleanFilter } from "../../boolean-cJxcC8gC.mjs";
|
|
4
4
|
import { a as SlugFilter, m as DateTimeFilter, r as IdFilter, t as DocumentIdFilter } from "../../identifier-CXlBnKdk.mjs";
|
|
5
5
|
import { d as ContentStatus } from "../../relationships-BFmesnzw.mjs";
|
|
6
|
-
import { s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
6
|
+
import { i as VStringMax, s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
7
7
|
import { n as createPicklistFilter } from "../../picklist-DayZlSoN.mjs";
|
|
8
8
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
9
9
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
@@ -35,6 +35,9 @@ const QueryStrapiSearchBlogPosts = v.object({
|
|
|
35
35
|
size: VSize(),
|
|
36
36
|
sort: v.optional(QuerySortValues),
|
|
37
37
|
status: v.optional(ContentStatus),
|
|
38
|
+
search: v.optional(VStringMax()),
|
|
39
|
+
category: v.optional(VStringMax()),
|
|
40
|
+
tags: v.optional(v.pipe(v.array(VStringMax()))),
|
|
38
41
|
f: v.optional(FilterStrapiBlogPosts)
|
|
39
42
|
});
|
|
40
43
|
const QueryStrapiSearchBlogPostsBySlug = v.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_query = require("../../query-
|
|
2
|
+
const require_query = require("../../query-v1y5ioJw.cjs");
|
|
3
3
|
exports.FilterStrapiGCFlyTours = require_query.FilterStrapiGCFlyTours;
|
|
4
4
|
exports.QueryStrapiSearchGCFlyTours = require_query.QueryStrapiSearchGCFlyTours;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as QueryStrapiSearchGCFlyTours, r as FilterStrapiGCFlyTours } from "../../query-BFgNXzID.mjs";
|
|
2
2
|
export { FilterStrapiGCFlyTours, QueryStrapiSearchGCFlyTours };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_query = require("../../query-
|
|
2
|
+
const require_query = require("../../query-v1y5ioJw.cjs");
|
|
3
3
|
exports.FilterStrapiGCFlyTourSnaps = require_query.FilterStrapiGCFlyTourSnaps;
|
|
4
4
|
exports.QueryStrapiSearchGCFlyTourSnaps = require_query.QueryStrapiSearchGCFlyTourSnaps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as QueryStrapiSearchGCFlyTourSnaps, t as FilterStrapiGCFlyTourSnaps } from "../../query-BFgNXzID.mjs";
|
|
2
2
|
export { FilterStrapiGCFlyTourSnaps, QueryStrapiSearchGCFlyTourSnaps };
|
|
@@ -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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
86
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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: "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
92
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
122
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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: "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
139
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
156
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
231
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
86
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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: "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
92
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
122
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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: "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
139
|
+
collection: "tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
156
|
+
readonly collection: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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<("clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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" | "
|
|
231
|
+
declare const ValidStrapiCollectionEntity: v.PicklistSchema<("tags" | "clients" | "users" | "audit-logs" | "blog-posts" | "categories" | "client-users" | "client-content-pillars" | "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>;
|
|
@@ -6,8 +6,8 @@ import { n as VSize, t as VPage } from "./pagination-CK-mJT5q.mjs";
|
|
|
6
6
|
import { t as QuerySortValues } from "./sort-FYsWXlaD.mjs";
|
|
7
7
|
import { FilterStrapiClients } from "./entities/client/query.mjs";
|
|
8
8
|
import * as v from "valibot";
|
|
9
|
-
//#region src/entities/gcflytour
|
|
10
|
-
const
|
|
9
|
+
//#region src/entities/gcflytour/query.ts
|
|
10
|
+
const FilterStrapiGCFlyTours = createStrapiFilterSchema({
|
|
11
11
|
id: IdFilter,
|
|
12
12
|
documentId: DocumentIdFilter,
|
|
13
13
|
createdAt: DateTimeFilter,
|
|
@@ -17,17 +17,18 @@ const FilterStrapiGCFlyTourSnaps = createStrapiFilterSchema({
|
|
|
17
17
|
slug: SlugFilter,
|
|
18
18
|
is_active: BooleanFilter,
|
|
19
19
|
is_hidden: BooleanFilter,
|
|
20
|
-
|
|
20
|
+
gcflytour_snaps: v.optional(v.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
21
|
+
clients: v.optional(v.lazy(() => FilterStrapiClients))
|
|
21
22
|
});
|
|
22
|
-
const
|
|
23
|
+
const QueryStrapiSearchGCFlyTours = v.object({
|
|
23
24
|
page: VPage(),
|
|
24
25
|
size: VSize(),
|
|
25
26
|
sort: v.optional(QuerySortValues),
|
|
26
|
-
f: v.optional(
|
|
27
|
+
f: v.optional(FilterStrapiGCFlyTours)
|
|
27
28
|
});
|
|
28
29
|
//#endregion
|
|
29
|
-
//#region src/entities/gcflytour/query.ts
|
|
30
|
-
const
|
|
30
|
+
//#region src/entities/gcflytour-snap/query.ts
|
|
31
|
+
const FilterStrapiGCFlyTourSnaps = createStrapiFilterSchema({
|
|
31
32
|
id: IdFilter,
|
|
32
33
|
documentId: DocumentIdFilter,
|
|
33
34
|
createdAt: DateTimeFilter,
|
|
@@ -37,14 +38,13 @@ const FilterStrapiGCFlyTours = createStrapiFilterSchema({
|
|
|
37
38
|
slug: SlugFilter,
|
|
38
39
|
is_active: BooleanFilter,
|
|
39
40
|
is_hidden: BooleanFilter,
|
|
40
|
-
|
|
41
|
-
clients: v.optional(v.lazy(() => FilterStrapiClients))
|
|
41
|
+
gcflytour: v.optional(v.lazy(() => FilterStrapiGCFlyTours))
|
|
42
42
|
});
|
|
43
|
-
const
|
|
43
|
+
const QueryStrapiSearchGCFlyTourSnaps = v.object({
|
|
44
44
|
page: VPage(),
|
|
45
45
|
size: VSize(),
|
|
46
46
|
sort: v.optional(QuerySortValues),
|
|
47
|
-
f: v.optional(
|
|
47
|
+
f: v.optional(FilterStrapiGCFlyTourSnaps)
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
|
-
export {
|
|
50
|
+
export { QueryStrapiSearchGCFlyTours as i, QueryStrapiSearchGCFlyTourSnaps as n, FilterStrapiGCFlyTours as r, FilterStrapiGCFlyTourSnaps as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-
|
|
1
|
+
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-C4ndicLs.cjs";
|
|
2
2
|
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-CPHhI3jF.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-BKBU3KSE.mjs";
|
|
2
2
|
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-DHJf5HxE.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.288-alpha.
|
|
4
|
+
"version": "0.0.288-alpha.5",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -8,8 +8,8 @@ const require_sort = require("./sort-CYllFl6q.cjs");
|
|
|
8
8
|
const require_entities_client_query = require("./entities/client/query.cjs");
|
|
9
9
|
let valibot = require("valibot");
|
|
10
10
|
valibot = require_chunk.__toESM(valibot, 1);
|
|
11
|
-
//#region src/entities/gcflytour
|
|
12
|
-
const
|
|
11
|
+
//#region src/entities/gcflytour/query.ts
|
|
12
|
+
const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchema({
|
|
13
13
|
id: require_identifier.IdFilter,
|
|
14
14
|
documentId: require_identifier.DocumentIdFilter,
|
|
15
15
|
createdAt: require_identifier.DateTimeFilter,
|
|
@@ -19,17 +19,18 @@ const FilterStrapiGCFlyTourSnaps = require_logical_operators.createStrapiFilterS
|
|
|
19
19
|
slug: require_identifier.SlugFilter,
|
|
20
20
|
is_active: require_boolean.BooleanFilter,
|
|
21
21
|
is_hidden: require_boolean.BooleanFilter,
|
|
22
|
-
|
|
22
|
+
gcflytour_snaps: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTourSnaps)),
|
|
23
|
+
clients: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients))
|
|
23
24
|
});
|
|
24
|
-
const
|
|
25
|
+
const QueryStrapiSearchGCFlyTours = valibot.object({
|
|
25
26
|
page: require_pagination.VPage(),
|
|
26
27
|
size: require_pagination.VSize(),
|
|
27
28
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
28
|
-
f: valibot.optional(
|
|
29
|
+
f: valibot.optional(FilterStrapiGCFlyTours)
|
|
29
30
|
});
|
|
30
31
|
//#endregion
|
|
31
|
-
//#region src/entities/gcflytour/query.ts
|
|
32
|
-
const
|
|
32
|
+
//#region src/entities/gcflytour-snap/query.ts
|
|
33
|
+
const FilterStrapiGCFlyTourSnaps = require_logical_operators.createStrapiFilterSchema({
|
|
33
34
|
id: require_identifier.IdFilter,
|
|
34
35
|
documentId: require_identifier.DocumentIdFilter,
|
|
35
36
|
createdAt: require_identifier.DateTimeFilter,
|
|
@@ -39,14 +40,13 @@ const FilterStrapiGCFlyTours = require_logical_operators.createStrapiFilterSchem
|
|
|
39
40
|
slug: require_identifier.SlugFilter,
|
|
40
41
|
is_active: require_boolean.BooleanFilter,
|
|
41
42
|
is_hidden: require_boolean.BooleanFilter,
|
|
42
|
-
|
|
43
|
-
clients: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients))
|
|
43
|
+
gcflytour: valibot.optional(valibot.lazy(() => FilterStrapiGCFlyTours))
|
|
44
44
|
});
|
|
45
|
-
const
|
|
45
|
+
const QueryStrapiSearchGCFlyTourSnaps = valibot.object({
|
|
46
46
|
page: require_pagination.VPage(),
|
|
47
47
|
size: require_pagination.VSize(),
|
|
48
48
|
sort: valibot.optional(require_sort.QuerySortValues),
|
|
49
|
-
f: valibot.optional(
|
|
49
|
+
f: valibot.optional(FilterStrapiGCFlyTourSnaps)
|
|
50
50
|
});
|
|
51
51
|
//#endregion
|
|
52
52
|
Object.defineProperty(exports, "FilterStrapiGCFlyTourSnaps", {
|