@getcommunity/gc-validators 0.0.271-alpha.26 → 0.0.271-alpha.27
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/entities/blog-post/index.d.cts +1 -1
- package/dist/entities/blog-post/index.d.mts +1 -1
- package/dist/entities/category/index.d.cts +1 -1
- package/dist/entities/category/index.d.mts +1 -1
- package/dist/entities/client/index.d.cts +1 -1
- package/dist/entities/client/index.d.mts +1 -1
- package/dist/entities/client-content-pillar/index.d.cts +1 -1
- package/dist/entities/client-content-pillar/index.d.mts +1 -1
- package/dist/entities/client-media-platform/index.d.cts +1 -1
- package/dist/entities/client-media-platform/index.d.mts +1 -1
- package/dist/entities/client-project/index.d.cts +1 -1
- package/dist/entities/client-project/index.d.mts +1 -1
- package/dist/entities/client-report/index.d.cts +1 -1
- package/dist/entities/client-report/index.d.mts +1 -1
- package/dist/entities/client-styleguide/index.d.cts +1 -1
- package/dist/entities/client-styleguide/index.d.mts +1 -1
- package/dist/entities/client-user/index.d.cts +1 -1
- package/dist/entities/client-user/index.d.mts +1 -1
- package/dist/entities/comment/index.d.cts +1 -1
- package/dist/entities/comment/index.d.mts +1 -1
- package/dist/entities/content-pillar/index.d.cts +1 -1
- package/dist/entities/content-pillar/index.d.mts +1 -1
- package/dist/entities/formatter/index.d.cts +5 -5
- package/dist/entities/formatter/index.d.mts +5 -5
- package/dist/entities/gcflytour/index.d.cts +1 -1
- package/dist/entities/gcflytour/index.d.mts +1 -1
- package/dist/entities/gcflytour-snap/index.d.cts +1 -1
- package/dist/entities/gcflytour-snap/index.d.mts +1 -1
- package/dist/entities/media-content-type/index.d.cts +1 -1
- package/dist/entities/media-content-type/index.d.mts +1 -1
- package/dist/entities/media-creative-format/index.d.cts +1 -1
- package/dist/entities/media-creative-format/index.d.mts +1 -1
- package/dist/entities/media-medium/index.d.cts +1 -1
- package/dist/entities/media-medium/index.d.mts +1 -1
- package/dist/entities/media-platform/index.d.cts +1 -1
- package/dist/entities/media-platform/index.d.mts +1 -1
- package/dist/entities/monday-workspace/index.d.cts +1 -1
- package/dist/entities/monday-workspace/index.d.mts +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/team-member/index.d.cts +1 -1
- package/dist/entities/team-member/index.d.mts +1 -1
- package/dist/entities/trend/index.d.cts +1 -1
- package/dist/entities/trend/index.d.mts +1 -1
- package/dist/entities/up-auth/index.d.cts +1 -1
- package/dist/entities/up-auth/index.d.mts +1 -1
- package/dist/entities/up-permission/index.d.cts +1 -1
- package/dist/entities/up-permission/index.d.mts +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-user/index.d.cts +1 -1
- package/dist/entities/up-user/index.d.mts +1 -1
- package/dist/entities/user-account/index.d.cts +1 -1
- package/dist/entities/user-account/index.d.mts +1 -1
- package/dist/entities/utm-tracking-link/index.d.cts +1 -1
- package/dist/entities/utm-tracking-link/index.d.mts +1 -1
- 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-CTc84rze.d.cts → index-C1GoH-4v.d.cts} +9 -9
- package/dist/{index-Dm8G_OXX.d.cts → index-CBW5QmNu.d.cts} +3 -3
- package/dist/{index-DpOKOSqT.d.mts → index-ClQOYhKi.d.mts} +9 -9
- package/dist/{index-Bd8ZGWzA.d.mts → index-Cqmmzi2g.d.mts} +3 -3
- package/dist/{index-C9Hbvjc8.d.mts → index-DKFW5ay8.d.mts} +3 -3
- package/dist/{index-D5VpzV4T.d.cts → index-WN2TBKki.d.cts} +3 -3
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +19 -2
|
@@ -5,7 +5,7 @@ import { i as ComponentBrandStyleguideColor, n as ComponentBrandStyleguideFont }
|
|
|
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-DKFW5ay8.mjs";
|
|
9
9
|
import { t as ProductDocument } from "./document-DqE9ISOk.mjs";
|
|
10
10
|
import * as v from "valibot";
|
|
11
11
|
|
|
@@ -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.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">>;
|
|
551
551
|
}, undefined>;
|
|
552
552
|
type QueryStrapiSearchClients = v.InferOutput<typeof QueryStrapiSearchClients>;
|
|
553
553
|
//#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.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "clients.title" | "clients.teamwork_name" | "workspace_id">>;
|
|
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" | "creator" | "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">>;
|
|
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.GenericSchema<QuerySortOutput<"client" | "id" | "createdAt" | "updatedAt" | "url" | "is_active" | "creator" | "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">>;
|
|
1045
1045
|
}, undefined>;
|
|
1046
1046
|
type QueryStrapiSearchUtmTrackingLinks = v.InferOutput<typeof QueryStrapiSearchUtmTrackingLinks>;
|
|
1047
1047
|
//#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" | "
|
|
1298
|
+
declare const QuerySortMediaPlatforms: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "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" | "is_organic_social" | "is_paid_media" | "utm_key" | "clients.title" | "clients.teamwork_id" | "clients.teamwork_name" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.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" | "
|
|
1358
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_active" | "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" | "is_organic_social" | "is_paid_media" | "utm_key" | "clients.title" | "clients.teamwork_id" | "clients.teamwork_name" | "clients.is_organic_social" | "clients.is_paid_media" | "clients.createdAt" | "clients.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">>;
|
|
1359
1359
|
}, undefined>;
|
|
1360
1360
|
type QueryStrapiSearchMediaPlatforms = v.InferOutput<typeof QueryStrapiSearchMediaPlatforms>;
|
|
1361
1361
|
//#endregion
|
|
@@ -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.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
|
|
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.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
|
|
941
941
|
}, undefined>;
|
|
942
942
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
943
943
|
//#endregion
|
|
@@ -21,7 +21,7 @@ declare const CommentApprovalStatus: v.PicklistSchema<("PENDING" | "APPROVED" |
|
|
|
21
21
|
type CommentApprovalStatus = v.InferOutput<typeof CommentApprovalStatus>;
|
|
22
22
|
declare const ReportCommentReason: v.PicklistSchema<("BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER")[], undefined>;
|
|
23
23
|
type ReportCommentReason = v.InferOutput<typeof ReportCommentReason>;
|
|
24
|
-
declare const QuerySortStrapiComments: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "
|
|
24
|
+
declare const QuerySortStrapiComments: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "approvalStatus" | "blockedThread">>;
|
|
25
25
|
type QuerySortStrapiComments = v.InferOutput<typeof QuerySortStrapiComments>;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/entities/comment/document.d.ts
|
|
@@ -138,7 +138,7 @@ declare const QueryFilterStrapiComments: v.ObjectSchema<{
|
|
|
138
138
|
type QueryFilterStrapiComments = v.InferOutput<typeof QueryFilterStrapiComments>;
|
|
139
139
|
declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
|
|
140
140
|
readonly relation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
141
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "
|
|
141
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "approvalStatus" | "blockedThread">>;
|
|
142
142
|
readonly filters: v.OptionalSchema<v.ObjectSchema<{
|
|
143
143
|
readonly approvalStatus: v.OptionalSchema<v.ObjectSchema<{
|
|
144
144
|
readonly eq: v.PicklistSchema<("PENDING" | "APPROVED" | "REJECTED")[], undefined>;
|
|
@@ -194,7 +194,7 @@ declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
|
|
|
194
194
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
195
195
|
readonly pageSize: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>, undefined>;
|
|
196
196
|
}, undefined>, undefined>;
|
|
197
|
-
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "
|
|
197
|
+
readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "blocked" | "content" | "approvalStatus" | "blockedThread">>;
|
|
198
198
|
}, undefined>;
|
|
199
199
|
type QueryStrapiCommentsFlat = v.InferOutput<typeof QueryStrapiCommentsFlat>;
|
|
200
200
|
//#endregion
|
|
@@ -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.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
|
|
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.GenericSchema<QuerySortOutput<"published" | "id" | "createdAt" | "updatedAt" | "title" | "slug" | "is_featured" | "is_live" | "is_public">>;
|
|
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-C1GoH-4v.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-ClQOYhKi.mjs";
|
|
2
2
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-D7QXaSOY.cjs";
|
|
2
|
-
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-
|
|
2
|
+
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-C1GoH-4v.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/utilities/permissions.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as StrapiAttributeErrorResponse, T as StrapiErrorResponse } from "../index-Bjjp-2Sa.mjs";
|
|
2
|
-
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-
|
|
2
|
+
import { Ln as RoleType, Pn as AuthorizedUserDocument, d as Permissions, l as ClientUserDocumentStatus } from "../index-ClQOYhKi.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.27",
|
|
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",
|