@getcommunity/gc-validators 0.0.271-alpha.26 → 0.0.271-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.cjs +2 -2
- package/dist/base/index.d.cts +1 -1
- package/dist/base/index.d.mts +1 -1
- package/dist/base/index.mjs +2 -2
- package/dist/{document-BWso8VC7.mjs → document-CCIFcvUz.mjs} +2 -2
- package/dist/{document-DwkycUz9.cjs → document-CxCEXgLG.cjs} +2 -2
- package/dist/{document-BCbxKqGE.mjs → document-DESBxiaO.mjs} +1 -1
- package/dist/{document-AqtoEbX8.cjs → document-vI8pMwjv.cjs} +1 -1
- package/dist/entities/audit-log/index.cjs +2 -2
- package/dist/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +2 -2
- package/dist/entities/audit-log/index.mjs +2 -2
- package/dist/entities/blog-post/index.cjs +3 -3
- package/dist/entities/blog-post/index.d.cts +1 -1
- package/dist/entities/blog-post/index.d.mts +1 -1
- package/dist/entities/blog-post/index.mjs +3 -3
- package/dist/entities/category/index.cjs +3 -3
- package/dist/entities/category/index.d.cts +3 -3
- package/dist/entities/category/index.d.mts +3 -3
- package/dist/entities/category/index.mjs +3 -3
- package/dist/entities/client/index.cjs +3 -3
- package/dist/entities/client/index.d.cts +1 -1
- package/dist/entities/client/index.d.mts +1 -1
- package/dist/entities/client/index.mjs +3 -3
- package/dist/entities/client-content-pillar/index.cjs +3 -3
- package/dist/entities/client-content-pillar/index.d.cts +1 -1
- package/dist/entities/client-content-pillar/index.d.mts +1 -1
- package/dist/entities/client-content-pillar/index.mjs +3 -3
- package/dist/entities/client-media-platform/index.cjs +3 -3
- package/dist/entities/client-media-platform/index.d.cts +1 -1
- package/dist/entities/client-media-platform/index.d.mts +1 -1
- package/dist/entities/client-media-platform/index.mjs +3 -3
- package/dist/entities/client-project/index.cjs +2 -2
- package/dist/entities/client-project/index.d.cts +1 -1
- package/dist/entities/client-project/index.d.mts +1 -1
- package/dist/entities/client-project/index.mjs +2 -2
- package/dist/entities/client-report/index.cjs +3 -3
- package/dist/entities/client-report/index.d.cts +1 -1
- package/dist/entities/client-report/index.d.mts +1 -1
- package/dist/entities/client-report/index.mjs +3 -3
- package/dist/entities/client-styleguide/index.cjs +3 -3
- package/dist/entities/client-styleguide/index.d.cts +1 -1
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-styleguide/index.mjs +3 -3
- package/dist/entities/client-user/index.cjs +1 -1
- package/dist/entities/client-user/index.d.cts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/client-user/index.mjs +1 -1
- package/dist/entities/comment/index.cjs +3 -3
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/comment/index.mjs +3 -3
- package/dist/entities/content-pillar/index.cjs +3 -3
- package/dist/entities/content-pillar/index.d.cts +1 -1
- package/dist/entities/content-pillar/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.mjs +3 -3
- package/dist/entities/formatter/index.d.cts +5 -5
- package/dist/entities/formatter/index.d.mts +5 -5
- package/dist/entities/gcflytour/index.cjs +3 -3
- package/dist/entities/gcflytour/index.d.cts +1 -1
- package/dist/entities/gcflytour/index.d.mts +1 -1
- package/dist/entities/gcflytour/index.mjs +3 -3
- package/dist/entities/gcflytour-snap/index.cjs +3 -3
- package/dist/entities/gcflytour-snap/index.d.cts +1 -1
- package/dist/entities/gcflytour-snap/index.d.mts +1 -1
- package/dist/entities/gcflytour-snap/index.mjs +3 -3
- package/dist/entities/media-content-type/index.cjs +3 -3
- package/dist/entities/media-content-type/index.d.cts +3 -3
- package/dist/entities/media-content-type/index.d.mts +3 -3
- package/dist/entities/media-content-type/index.mjs +3 -3
- package/dist/entities/media-creative-format/index.cjs +3 -3
- package/dist/entities/media-creative-format/index.d.cts +3 -3
- package/dist/entities/media-creative-format/index.d.mts +3 -3
- package/dist/entities/media-creative-format/index.mjs +3 -3
- package/dist/entities/media-medium/index.cjs +3 -3
- package/dist/entities/media-medium/index.d.cts +3 -3
- package/dist/entities/media-medium/index.d.mts +3 -3
- package/dist/entities/media-medium/index.mjs +3 -3
- package/dist/entities/media-platform/index.cjs +3 -3
- package/dist/entities/media-platform/index.d.cts +1 -1
- package/dist/entities/media-platform/index.d.mts +1 -1
- package/dist/entities/media-platform/index.mjs +3 -3
- package/dist/entities/monday-workspace/index.cjs +3 -3
- package/dist/entities/monday-workspace/index.d.cts +1 -1
- package/dist/entities/monday-workspace/index.d.mts +1 -1
- package/dist/entities/monday-workspace/index.mjs +3 -3
- package/dist/entities/product-highlight/index.cjs +1 -1
- package/dist/entities/product-highlight/index.d.cts +1 -1
- package/dist/entities/product-highlight/index.d.mts +1 -1
- package/dist/entities/product-highlight/index.mjs +1 -1
- package/dist/entities/tag/index.cjs +2 -2
- package/dist/entities/tag/index.d.cts +2 -2
- package/dist/entities/tag/index.d.mts +2 -2
- package/dist/entities/tag/index.mjs +2 -2
- package/dist/entities/team-member/index.cjs +3 -3
- package/dist/entities/team-member/index.d.cts +1 -1
- package/dist/entities/team-member/index.d.mts +1 -1
- package/dist/entities/team-member/index.mjs +3 -3
- package/dist/entities/teamwork/index.cjs +1 -1
- package/dist/entities/teamwork/index.d.cts +2 -2
- package/dist/entities/teamwork/index.d.mts +2 -2
- package/dist/entities/teamwork/index.mjs +1 -1
- package/dist/entities/trend/index.cjs +1 -1
- package/dist/entities/trend/index.d.cts +1 -1
- package/dist/entities/trend/index.d.mts +1 -1
- package/dist/entities/trend/index.mjs +1 -1
- package/dist/entities/up-auth/index.cjs +1 -1
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-auth/index.mjs +1 -1
- package/dist/entities/up-permission/index.cjs +1 -1
- package/dist/entities/up-permission/index.d.cts +1 -1
- package/dist/entities/up-permission/index.d.mts +1 -1
- package/dist/entities/up-permission/index.mjs +1 -1
- package/dist/entities/up-role/index.cjs +1 -1
- package/dist/entities/up-role/index.d.cts +1 -1
- package/dist/entities/up-role/index.d.mts +1 -1
- package/dist/entities/up-role/index.mjs +1 -1
- package/dist/entities/up-user/index.cjs +1 -1
- package/dist/entities/up-user/index.d.cts +1 -1
- package/dist/entities/up-user/index.d.mts +1 -1
- package/dist/entities/up-user/index.mjs +1 -1
- package/dist/entities/url-redirect/index.cjs +2 -2
- package/dist/entities/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +2 -2
- package/dist/entities/url-redirect/index.mjs +2 -2
- package/dist/entities/user-account/index.cjs +2 -2
- package/dist/entities/user-account/index.d.cts +2 -2
- package/dist/entities/user-account/index.d.mts +2 -2
- package/dist/entities/user-account/index.mjs +2 -2
- package/dist/entities/utm-tracking-link/index.cjs +3 -3
- package/dist/entities/utm-tracking-link/index.d.cts +1 -1
- package/dist/entities/utm-tracking-link/index.d.mts +1 -1
- package/dist/entities/utm-tracking-link/index.mjs +3 -3
- package/dist/generators/index.cjs +231 -0
- package/dist/generators/index.d.cts +19 -0
- package/dist/generators/index.d.mts +19 -0
- package/dist/generators/index.mjs +226 -0
- package/dist/{index-C9Hbvjc8.d.mts → index-9S5fRfl_.d.mts} +3 -3
- package/dist/{index-Dm8G_OXX.d.cts → index-BQ-q8Rqt.d.cts} +3 -3
- package/dist/{index-D7QXaSOY.d.cts → index-BhOJmpYi.d.cts} +5 -5
- package/dist/{index-CTc84rze.d.cts → index-CKbtwmVl.d.cts} +19 -19
- package/dist/{index-DpOKOSqT.d.mts → index-Ceb7nLSG.d.mts} +19 -19
- package/dist/{index-Bjjp-2Sa.d.mts → index-CxuLg4Y8.d.mts} +5 -5
- package/dist/{index-Bd8ZGWzA.d.mts → index-DSCV3ifg.d.mts} +4 -4
- package/dist/{index-D5VpzV4T.d.cts → index-KxCfd05r.d.cts} +4 -4
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/{query-BR5Ze6T2.mjs → query-BuKHwaMn.mjs} +2 -2
- package/dist/{query-qQ_HLlxx.cjs → query-LyGctccO.cjs} +2 -2
- package/dist/{sort-D3WwshqQ.mjs → sort-BJrzr4Xl.mjs} +1 -1
- package/dist/{sort-CI87SH1y.cjs → sort-DIln8tn5.cjs} +1 -1
- package/dist/utilities/index.d.cts +2 -2
- package/dist/utilities/index.d.mts +2 -2
- package/package.json +19 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Z as QuerySortOutput } from "./index-
|
|
1
|
+
import { Z as QuerySortOutput } from "./index-CxuLg4Y8.mjs";
|
|
2
2
|
import { r as MediaUploadDocument } from "./media-upload-DBG7YyU4.mjs";
|
|
3
3
|
import { D as BlockBrandLogos, p as BlockFullscreenContent } from "./index-Dvu63a8_.mjs";
|
|
4
4
|
import { i as ComponentBrandStyleguideColor, n as ComponentBrandStyleguideFont } from "./index-BT8Pa9XY.mjs";
|
|
5
5
|
import { l as RichTextBlock } from "./index-BSYaAtme.mjs";
|
|
6
6
|
import { n as UtmClassificationKey } from "./index-BSEaV9wd.mjs";
|
|
7
7
|
import { t as TagDocument } from "./document-DxjJgk8X.mjs";
|
|
8
|
-
import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-
|
|
8
|
+
import { c as CommentAuthor, d as CommentThread, f as CommentApprovalStatus, l as CommentDocument } from "./index-9S5fRfl_.mjs";
|
|
9
9
|
import { t as ProductDocument } from "./document-DqE9ISOk.mjs";
|
|
10
10
|
import * as v from "valibot";
|
|
11
11
|
|
|
@@ -299,7 +299,7 @@ type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
|
|
|
299
299
|
declare const QueryStrapiUsers: v.ObjectSchema<{
|
|
300
300
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
301
301
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
302
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "username" | "email" | "confirmed" | "blocked"
|
|
302
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "username" | "email" | "confirmed" | "blocked">>, undefined>;
|
|
303
303
|
}, undefined>;
|
|
304
304
|
type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
|
|
305
305
|
declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
|
|
@@ -477,7 +477,7 @@ declare const CLIENT_SORT_KEYS: readonly ["id", "title", "teamwork_id", "teamwor
|
|
|
477
477
|
declare const CLIENT_CLASSIFICATIONS: readonly ["organic", "paid"];
|
|
478
478
|
//#endregion
|
|
479
479
|
//#region src/entities/client/fields.d.ts
|
|
480
|
-
declare const QuerySortClients: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "
|
|
480
|
+
declare const QuerySortClients: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_organic_social" | "is_paid_media" | "is_hidden" | "teamwork_id" | "teamwork_name" | "utm_sheet_id" | "is_featured" | "allow_create_utm_link">>;
|
|
481
481
|
type QuerySortClients = v.InferOutput<typeof QuerySortClients>;
|
|
482
482
|
declare const ClientClassification: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>;
|
|
483
483
|
//#endregion
|
|
@@ -547,7 +547,7 @@ declare const QueryStrapiSearchClients: v.ObjectSchema<{
|
|
|
547
547
|
readonly is_paid_media: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
548
548
|
readonly is_organic_social: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
549
549
|
readonly classification: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>, v.MaxLengthAction<("organic" | "paid")[], 2, undefined>]>, undefined>;
|
|
550
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "
|
|
550
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_organic_social" | "is_paid_media" | "is_hidden" | "teamwork_id" | "teamwork_name" | "utm_sheet_id" | "is_featured" | "allow_create_utm_link">>, undefined>;
|
|
551
551
|
}, undefined>;
|
|
552
552
|
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
553
553
|
//#endregion
|
|
@@ -708,7 +708,7 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
|
|
|
708
708
|
readonly social_organic_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
709
709
|
readonly paid_media_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
710
710
|
readonly go_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
|
|
711
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date" | "num_of_models" | "num_of_units_remain"
|
|
711
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden" | "project_phase" | "project_url" | "project_type" | "project_pricing" | "project_address" | "phone_number" | "buyer_profile" | "social_organic_start_date" | "paid_media_start_date" | "go_date" | "num_of_models" | "num_of_units_remain">>, undefined>;
|
|
712
712
|
}, undefined>;
|
|
713
713
|
type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
|
|
714
714
|
//#endregion
|
|
@@ -767,7 +767,7 @@ declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
|
|
|
767
767
|
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
768
768
|
readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
769
769
|
readonly clients: 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>]>, undefined>;
|
|
770
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "is_external"
|
|
770
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "is_active" | "is_hidden" | "is_external">>, undefined>;
|
|
771
771
|
}, undefined>;
|
|
772
772
|
type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
|
|
773
773
|
//#endregion
|
|
@@ -790,7 +790,7 @@ declare const MondayWorkspaceDocument: v.GenericSchema<{
|
|
|
790
790
|
type MondayWorkspaceDocument = v.InferOutput<typeof MondayWorkspaceDocument>;
|
|
791
791
|
//#endregion
|
|
792
792
|
//#region src/entities/monday-workspace/fields.d.ts
|
|
793
|
-
declare const QuerySortMondayWorkspaces: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "
|
|
793
|
+
declare const QuerySortMondayWorkspaces: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "clients.title" | "clients.teamwork_name" | "workspace_id">>;
|
|
794
794
|
type QuerySortMondayWorkspaces = v.InferOutput<typeof QuerySortMondayWorkspaces>;
|
|
795
795
|
//#endregion
|
|
796
796
|
//#region src/entities/monday-workspace/mutation.d.ts
|
|
@@ -823,7 +823,7 @@ declare const QueryStrapiSearchMondayWorkspaces: v.ObjectSchema<{
|
|
|
823
823
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
824
824
|
readonly workspace_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
825
825
|
readonly clients: 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>]>, undefined>;
|
|
826
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "
|
|
826
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "clients.title" | "clients.teamwork_name" | "workspace_id">>, undefined>;
|
|
827
827
|
}, undefined>;
|
|
828
828
|
type QueryStrapiSearchMondayWorkspaces = v.InferOutput<typeof QueryStrapiSearchMondayWorkspaces>;
|
|
829
829
|
//#endregion
|
|
@@ -833,7 +833,7 @@ declare const LIMIT_UTM_TRACKING_LINK_PAGINATION_MAX_SIZE = 100;
|
|
|
833
833
|
declare const UTM_TRACKING_LINK_SORT_KEYS: readonly ["id", "creator", "client", "url_destination", "utm_medium", "utm_source", "utm_campaign", "utm_content", "utm_creative_format", "utm_id", "campaign_phase", "campaign_product", "campaign_targeting", "campaign_key", "creative_format", "creative_format_variants", "url", "is_active", "createdAt", "updatedAt"];
|
|
834
834
|
//#endregion
|
|
835
835
|
//#region src/entities/utm-tracking-link/fields.d.ts
|
|
836
|
-
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "
|
|
836
|
+
declare const QuerySortUtmTrackingLinks: v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id" | "campaign_phase" | "campaign_product" | "campaign_targeting" | "campaign_key" | "creative_format" | "creative_format_variants" | "creator">>;
|
|
837
837
|
type QuerySortUtmTrackingLinks = v.InferOutput<typeof QuerySortUtmTrackingLinks>;
|
|
838
838
|
declare const ValidUtmSource: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
839
839
|
type ValidUtmSource = v.InferOutput<typeof ValidUtmSource>;
|
|
@@ -1041,7 +1041,7 @@ declare const QueryStrapiSearchUtmTrackingLinks: v.ObjectSchema<{
|
|
|
1041
1041
|
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>, undefined>;
|
|
1042
1042
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1043
1043
|
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
1044
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "
|
|
1044
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "url_destination" | "utm_medium" | "utm_source" | "utm_campaign" | "utm_content" | "utm_creative_format" | "utm_id" | "campaign_phase" | "campaign_product" | "campaign_targeting" | "campaign_key" | "creative_format" | "creative_format_variants" | "creator">>, undefined>;
|
|
1045
1045
|
}, undefined>;
|
|
1046
1046
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
1047
1047
|
//#endregion
|
|
@@ -1085,7 +1085,7 @@ declare const QueryStrapiSearchClientStyleguide: v.ObjectSchema<{
|
|
|
1085
1085
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1086
1086
|
readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1087
1087
|
readonly clients: 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>]>, undefined>;
|
|
1088
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title"
|
|
1088
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title">>, undefined>;
|
|
1089
1089
|
}, undefined>;
|
|
1090
1090
|
type QueryStrapiSearchClientStyleguide = v.InferOutput<typeof QueryStrapiSearchClientStyleguide>;
|
|
1091
1091
|
//#endregion
|
|
@@ -1134,7 +1134,7 @@ declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
|
|
|
1134
1134
|
readonly clients: 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>]>, undefined>;
|
|
1135
1135
|
readonly media_platform_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1136
1136
|
readonly media_platforms: 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>]>, undefined>;
|
|
1137
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platform.title" | "media_platform.slug" | "media_platform.createdAt" | "media_platform.updatedAt"
|
|
1137
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "is_organic_social" | "is_paid_media" | "media_platform.title" | "media_platform.slug" | "media_platform.createdAt" | "media_platform.updatedAt">>, undefined>;
|
|
1138
1138
|
}, undefined>;
|
|
1139
1139
|
type QueryStrapiSearchClientMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchClientMediaPlatforms>;
|
|
1140
1140
|
//#endregion
|
|
@@ -1224,7 +1224,7 @@ declare const QueryStrapiSearchGCFlyTours: v.ObjectSchema<{
|
|
|
1224
1224
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1225
1225
|
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1226
1226
|
readonly clients: 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>]>, undefined>;
|
|
1227
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden"
|
|
1227
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden">>, undefined>;
|
|
1228
1228
|
}, undefined>;
|
|
1229
1229
|
type QueryStrapiSearchGCFlyTours = v.InferOutput<typeof QueryStrapiSearchGCFlyTours>;
|
|
1230
1230
|
//#endregion
|
|
@@ -1285,7 +1285,7 @@ declare const QueryStrapiSearchContentPillars: v.ObjectSchema<{
|
|
|
1285
1285
|
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1286
1286
|
readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1287
1287
|
readonly clients: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
1288
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug"
|
|
1288
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug">>, undefined>;
|
|
1289
1289
|
}, undefined>;
|
|
1290
1290
|
type QueryStrapiSearchContentPillars = v.InferOutput<typeof QueryStrapiSearchContentPillars>;
|
|
1291
1291
|
//#endregion
|
|
@@ -1295,7 +1295,7 @@ declare const LIMIT_MEDIA_PLATFORM_PAGINATION_MAX_SIZE = 1000;
|
|
|
1295
1295
|
declare const MEDIA_PLATFORM_SORT_KEYS: readonly ["id", "title", "slug", "utm_key", "is_active", "is_organic_social", "is_paid_media", "createdAt", "updatedAt", "clients.title", "clients.teamwork_id", "clients.teamwork_name", "clients.is_organic_social", "clients.is_paid_media", "clients.createdAt", "clients.updatedAt", "media_content_types.title", "media_content_types.slug", "media_content_types.is_active", "media_content_types.is_organic_social", "media_content_types.is_paid_media", "media_content_types.createdAt", "media_content_types.updatedAt", "media_mediums.title", "media_mediums.slug", "media_mediums.is_active", "media_mediums.is_organic_social", "media_mediums.is_paid_media", "media_mediums.createdAt", "media_mediums.updatedAt"];
|
|
1296
1296
|
//#endregion
|
|
1297
1297
|
//#region src/entities/media-platform/fields.d.ts
|
|
1298
|
-
declare const QuerySortMediaPlatforms: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "
|
|
1298
|
+
declare const QuerySortMediaPlatforms: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "is_organic_social" | "is_paid_media" | "utm_key" | "clients.teamwork_id" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.updatedAt" | "media_content_types.title" | "media_content_types.slug" | "media_content_types.is_active" | "media_content_types.is_organic_social" | "media_content_types.is_paid_media" | "media_content_types.createdAt" | "media_content_types.updatedAt" | "media_mediums.title" | "media_mediums.slug" | "media_mediums.is_active" | "media_mediums.is_organic_social" | "media_mediums.is_paid_media" | "media_mediums.createdAt" | "media_mediums.updatedAt">>;
|
|
1299
1299
|
type QuerySortMediaPlatforms = v.InferOutput<typeof QuerySortMediaPlatforms>;
|
|
1300
1300
|
//#endregion
|
|
1301
1301
|
//#region src/entities/media-platform/mutation.d.ts
|
|
@@ -1355,7 +1355,7 @@ declare const QueryStrapiSearchMediaPlatforms: v.ObjectSchema<{
|
|
|
1355
1355
|
readonly clients: 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>]>, undefined>;
|
|
1356
1356
|
readonly media_content_types: 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>]>, undefined>;
|
|
1357
1357
|
readonly media_mediums: 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>]>, undefined>;
|
|
1358
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "
|
|
1358
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "clients.title" | "clients.teamwork_name" | "is_organic_social" | "is_paid_media" | "utm_key" | "clients.teamwork_id" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.updatedAt" | "media_content_types.title" | "media_content_types.slug" | "media_content_types.is_active" | "media_content_types.is_organic_social" | "media_content_types.is_paid_media" | "media_content_types.createdAt" | "media_content_types.updatedAt" | "media_mediums.title" | "media_mediums.slug" | "media_mediums.is_active" | "media_mediums.is_organic_social" | "media_mediums.is_paid_media" | "media_mediums.createdAt" | "media_mediums.updatedAt">>, undefined>;
|
|
1359
1359
|
}, undefined>;
|
|
1360
1360
|
type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
|
|
1361
1361
|
//#endregion
|
|
@@ -1410,7 +1410,7 @@ declare const QueryStrapiSearchGCFlyTourSnaps: v.ObjectSchema<{
|
|
|
1410
1410
|
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1411
1411
|
readonly gcflytour: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
1412
1412
|
readonly gcflytours: 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>]>, undefined>;
|
|
1413
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden"
|
|
1413
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "is_hidden">>, undefined>;
|
|
1414
1414
|
}, undefined>;
|
|
1415
1415
|
type QueryStrapiSearchGCFlyTourSnaps = v.InferOutput<typeof QueryStrapiSearchGCFlyTourSnaps>;
|
|
1416
1416
|
//#endregion
|
|
@@ -4754,7 +4754,7 @@ declare const QueryStrapiSearchClientContentPillars: v.ObjectSchema<{
|
|
|
4754
4754
|
readonly clients: 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>]>, undefined>;
|
|
4755
4755
|
readonly content_pillar_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4756
4756
|
readonly content_pillars: 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>]>, undefined>;
|
|
4757
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "content_pillar.title" | "content_pillar.slug"
|
|
4757
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "content_pillar.title" | "content_pillar.slug">>, undefined>;
|
|
4758
4758
|
}, undefined>;
|
|
4759
4759
|
type QueryStrapiSearchClientContentPillars = v.InferOutput<typeof QueryStrapiSearchClientContentPillars>;
|
|
4760
4760
|
//#endregion
|
|
@@ -74,7 +74,7 @@ type QuerySortEntities = v.InferOutput<typeof QuerySortEntities>;
|
|
|
74
74
|
declare const QueryStrapiPaginated: v.ObjectSchema<{
|
|
75
75
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
76
76
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
77
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
77
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
78
78
|
}, undefined>;
|
|
79
79
|
type QueryStrapiPaginated = v.InferOutput<typeof QueryStrapiPaginated>;
|
|
80
80
|
//#endregion
|
|
@@ -90,28 +90,28 @@ type QueryStrapiByDocumentId = v.InferOutput<typeof QueryStrapiByDocumentId>;
|
|
|
90
90
|
declare const QueryStrapiBySlug: v.ObjectSchema<{
|
|
91
91
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
92
92
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
93
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
93
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
94
94
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
95
95
|
}, undefined>;
|
|
96
96
|
type QueryStrapiBySlug = v.InferOutput<typeof QueryStrapiBySlug>;
|
|
97
97
|
declare const QueryStrapiByEmail: v.ObjectSchema<{
|
|
98
98
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
99
99
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
100
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
100
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
101
101
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
|
|
102
102
|
}, undefined>;
|
|
103
103
|
type QueryStrapiByEmail = v.InferOutput<typeof QueryStrapiByEmail>;
|
|
104
104
|
declare const QueryStrapiByPhone: v.ObjectSchema<{
|
|
105
105
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
106
106
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
107
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
107
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
108
108
|
readonly phone: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>;
|
|
109
109
|
}, undefined>;
|
|
110
110
|
type QueryStrapiByPhone = v.InferOutput<typeof QueryStrapiByPhone>;
|
|
111
111
|
declare const QueryStrapiByName: v.ObjectSchema<{
|
|
112
112
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
113
113
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
114
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt"
|
|
114
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt">>, undefined>;
|
|
115
115
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
116
116
|
}, undefined>;
|
|
117
117
|
type QueryStrapiByName = v.InferOutput<typeof QueryStrapiByName>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as QuerySortOutput } from "./index-
|
|
1
|
+
import { Z as QuerySortOutput } from "./index-CxuLg4Y8.mjs";
|
|
2
2
|
import { r as MediaUploadDocument } from "./media-upload-DBG7YyU4.mjs";
|
|
3
3
|
import { b as BlockContact } from "./index-Dvu63a8_.mjs";
|
|
4
4
|
import { l as RichTextBlock, s as SeoMeta } from "./index-BSYaAtme.mjs";
|
|
@@ -258,7 +258,7 @@ declare const TeamMemberDocument: v.GenericSchema<{
|
|
|
258
258
|
type TeamMemberDocument = v.InferOutput<typeof TeamMemberDocument>;
|
|
259
259
|
//#endregion
|
|
260
260
|
//#region src/entities/blog-post/fields.d.ts
|
|
261
|
-
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "
|
|
261
|
+
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
|
|
262
262
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
263
263
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
264
264
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -931,13 +931,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
931
931
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
932
932
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
933
933
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
934
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "
|
|
934
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
|
|
935
935
|
}, undefined>;
|
|
936
936
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
937
937
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
938
938
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
939
939
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
|
|
940
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "
|
|
940
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
|
|
941
941
|
}, undefined>;
|
|
942
942
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
943
943
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as QuerySortOutput } from "./index-
|
|
1
|
+
import { Z as QuerySortOutput } from "./index-BhOJmpYi.cjs";
|
|
2
2
|
import { r as MediaUploadDocument } from "./media-upload-D-nP8FR1.cjs";
|
|
3
3
|
import { b as BlockContact } from "./index-DG_Lwaa7.cjs";
|
|
4
4
|
import { l as RichTextBlock, s as SeoMeta } from "./index-COpLbpQC.cjs";
|
|
@@ -258,7 +258,7 @@ declare const TeamMemberDocument: v.GenericSchema<{
|
|
|
258
258
|
type TeamMemberDocument = v.InferOutput<typeof TeamMemberDocument>;
|
|
259
259
|
//#endregion
|
|
260
260
|
//#region src/entities/blog-post/fields.d.ts
|
|
261
|
-
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "
|
|
261
|
+
declare const QuerySortBlogPosts: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
|
|
262
262
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
263
263
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
264
264
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -931,13 +931,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
931
931
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
932
932
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
933
933
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
934
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "
|
|
934
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
|
|
935
935
|
}, undefined>;
|
|
936
936
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
937
937
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
938
938
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
939
939
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
|
|
940
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "
|
|
940
|
+
readonly sort: v.OptionalSchema<v.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>, undefined>;
|
|
941
941
|
}, undefined>;
|
|
942
942
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
943
943
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-
|
|
1
|
+
import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-CKbtwmVl.cjs";
|
|
2
2
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-
|
|
1
|
+
import { An as ClientEntityScope, Dn as CLIENT_ENTITY_SCOPES, En as CLIENT_ENTITY_PERMISSIONS, On as ClientEntityActions, Tn as CLIENT_ENTITY_KEYS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, kn as ClientEntityKey, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions } from "../index-Ceb7nLSG.mjs";
|
|
2
2
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as LIMIT_PAGINATION_MAX_SIZE } from "./pagination-owwfYJS6.mjs";
|
|
2
2
|
import { n as VSize, t as VPage } from "./pagination-D5l_UjyM.mjs";
|
|
3
|
-
import { n as QuerySortEntities } from "./sort-
|
|
3
|
+
import { n as QuerySortEntities } from "./sort-BJrzr4Xl.mjs";
|
|
4
4
|
import { t as VStringEmail } from "./email-Cnyi5Neo.mjs";
|
|
5
5
|
import { t as VStringPhone } from "./phone-C9TNVDm_.mjs";
|
|
6
6
|
import { s as VStringShort } from "./string-BHHnD2Qu.mjs";
|
|
@@ -10,7 +10,7 @@ import * as v from "valibot";
|
|
|
10
10
|
const QueryStrapiPaginated = v.object({
|
|
11
11
|
page: VPage(),
|
|
12
12
|
size: VSize(LIMIT_PAGINATION_MAX_SIZE),
|
|
13
|
-
sort: QuerySortEntities
|
|
13
|
+
sort: v.optional(QuerySortEntities)
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/base/query.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-CKQMccvm.cjs");
|
|
2
2
|
const require_pagination = require("./pagination-4pZafglS.cjs");
|
|
3
3
|
const require_pagination$1 = require("./pagination-DWZDPzR4.cjs");
|
|
4
|
-
const require_sort = require("./sort-
|
|
4
|
+
const require_sort = require("./sort-DIln8tn5.cjs");
|
|
5
5
|
const require_email = require("./email-ByTEdUjg.cjs");
|
|
6
6
|
const require_phone = require("./phone-D_ZLG1Qv.cjs");
|
|
7
7
|
const require_string = require("./string-Yn-6xiAZ.cjs");
|
|
@@ -12,7 +12,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
12
12
|
const QueryStrapiPaginated = valibot.object({
|
|
13
13
|
page: require_pagination$1.VPage(),
|
|
14
14
|
size: require_pagination$1.VSize(require_pagination.LIMIT_PAGINATION_MAX_SIZE),
|
|
15
|
-
sort: require_sort.QuerySortEntities
|
|
15
|
+
sort: valibot.optional(require_sort.QuerySortEntities)
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/base/query.ts
|
|
@@ -2,7 +2,7 @@ import * as v from "valibot";
|
|
|
2
2
|
//#region src/base/sort.ts
|
|
3
3
|
const createQuerySort = (sortKeys) => {
|
|
4
4
|
const sortOptions = sortKeys.flatMap((key) => [`${key}:ASC`, `${key}:DESC`]);
|
|
5
|
-
return v.
|
|
5
|
+
return v.pipe(v.array(v.picklist(sortOptions)), v.maxLength(sortKeys.length));
|
|
6
6
|
};
|
|
7
7
|
const ENTITY_SORT_KEYS = [
|
|
8
8
|
"id",
|
|
@@ -4,7 +4,7 @@ valibot = require_chunk.__toESM(valibot, 1);
|
|
|
4
4
|
//#region src/base/sort.ts
|
|
5
5
|
const createQuerySort = (sortKeys) => {
|
|
6
6
|
const sortOptions = sortKeys.flatMap((key) => [`${key}:ASC`, `${key}:DESC`]);
|
|
7
|
-
return valibot.
|
|
7
|
+
return valibot.pipe(valibot.array(valibot.picklist(sortOptions)), valibot.maxLength(sortKeys.length));
|
|
8
8
|
};
|
|
9
9
|
const ENTITY_SORT_KEYS = [
|
|
10
10
|
"id",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-
|
|
2
|
-
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-
|
|
1
|
+
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-BhOJmpYi.cjs";
|
|
2
|
+
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-CKbtwmVl.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/utilities/permissions.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-
|
|
2
|
-
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-
|
|
1
|
+
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-CxuLg4Y8.mjs";
|
|
2
|
+
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-Ceb7nLSG.mjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/utilities/permissions.d.ts
|
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.271-alpha.
|
|
4
|
+
"version": "0.0.271-alpha.28",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -46,6 +46,16 @@
|
|
|
46
46
|
"default": "./dist/entities/*/index.cjs"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
+
"./generators": {
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/generators/index.d.mts",
|
|
52
|
+
"default": "./dist/generators/index.mjs"
|
|
53
|
+
},
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./dist/generators/index.d.cts",
|
|
56
|
+
"default": "./dist/generators/index.cjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
49
59
|
"./permissions": {
|
|
50
60
|
"import": {
|
|
51
61
|
"types": "./dist/permissions/index.d.mts",
|
|
@@ -91,11 +101,17 @@
|
|
|
91
101
|
"entities/*": [
|
|
92
102
|
"./dist/entities/*/index.d.mts"
|
|
93
103
|
],
|
|
104
|
+
"generators": [
|
|
105
|
+
"./dist/generators/index.d.mts"
|
|
106
|
+
],
|
|
94
107
|
"permissions": [
|
|
95
108
|
"./dist/permissions/index.d.mts"
|
|
96
109
|
],
|
|
97
110
|
"utilities": [
|
|
98
111
|
"./dist/utilities/index.d.mts"
|
|
112
|
+
],
|
|
113
|
+
"validators": [
|
|
114
|
+
"./dist/validators/index.d.mts"
|
|
99
115
|
]
|
|
100
116
|
}
|
|
101
117
|
},
|
|
@@ -103,7 +119,8 @@
|
|
|
103
119
|
"dist"
|
|
104
120
|
],
|
|
105
121
|
"peerDependencies": {
|
|
106
|
-
"valibot": "^1.4.0"
|
|
122
|
+
"valibot": "^1.4.0",
|
|
123
|
+
"randexp": "^0.5.3"
|
|
107
124
|
},
|
|
108
125
|
"keywords": [],
|
|
109
126
|
"license": "ISC",
|