@getcommunity/gc-validators 0.0.271-alpha.15 → 0.0.271-alpha.17
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/entities/audit-log/index.d.cts +2 -2
- package/dist/entities/audit-log/index.d.mts +2 -2
- 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 +3 -3
- package/dist/entities/category/index.d.mts +3 -3
- 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 +3 -3
- package/dist/entities/media-content-type/index.d.mts +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-medium/index.d.cts +3 -3
- package/dist/entities/media-medium/index.d.mts +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/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/tag/index.d.cts +2 -2
- package/dist/entities/tag/index.d.mts +2 -2
- package/dist/entities/team-member/index.cjs +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/team-member/index.mjs +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/url-redirect/index.d.cts +2 -2
- package/dist/entities/url-redirect/index.d.mts +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/utm-tracking-link/index.d.cts +1 -1
- package/dist/entities/utm-tracking-link/index.d.mts +1 -1
- package/dist/{index-DuCwTAex.d.cts → index-40o0REzH.d.cts} +30 -28
- package/dist/{index-CtltL37K.d.mts → index-C2WpfSrb.d.mts} +30 -28
- package/dist/{index-BETc3XfA.d.mts → index-CJ2_Z1gW.d.mts} +2 -2
- package/dist/{index-D_jPhuxF.d.mts → index-CyHaqCMQ.d.mts} +7 -7
- package/dist/{index-DgiSYV38.d.mts → index-D3KnOYr7.d.mts} +3 -3
- package/dist/{index-CimYKy57.d.cts → index-DCGgkkKc.d.cts} +7 -7
- package/dist/{index-p1xQ5a3q.d.cts → index-D_YPjLxv.d.cts} +3 -3
- package/dist/{index-pIkVPCOu.d.cts → index-efk0FfOP.d.cts} +2 -2
- package/dist/permissions/index.d.cts +2 -2
- package/dist/permissions/index.d.mts +2 -2
- package/dist/utilities/index.d.cts +2 -2
- package/dist/utilities/index.d.mts +2 -2
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
|
27
27
|
declare const LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE = 10;
|
|
28
28
|
declare const LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE = 20;
|
|
29
29
|
declare const TEAM_MEMBER_SORT_KEYS: readonly ["id", "name", "order", "tier", "group", "is_employed", "createdAt", "updatedAt"];
|
|
30
|
-
declare const TEAM_MEMBER_SORT: ("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
30
|
+
declare const TEAM_MEMBER_SORT: ("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "name:ASC" | "order:ASC" | "tier:ASC" | "group:ASC" | "is_employed:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "name:DESC" | "order:DESC" | "tier:DESC" | "group:DESC" | "is_employed:DESC")[];
|
|
31
31
|
declare const TEAM_MEMBER_TIER: readonly ["owner", "manager", "employee"];
|
|
32
32
|
declare const TEAM_MEMBER_GROUP: readonly ["account", "media", "creative"];
|
|
33
33
|
//#endregion
|
|
@@ -43,7 +43,7 @@ type QuerySortTeamMembers = TeamMemberSort[] | undefined;
|
|
|
43
43
|
declare const QuerySortTeamMembers: v.GenericSchema<QuerySortTeamMembers>;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/entities/team-member/query.d.ts
|
|
46
|
-
|
|
46
|
+
declare const QueryStrapiSearchTeamMembers: v.GenericSchema<{
|
|
47
47
|
only_managers: boolean;
|
|
48
48
|
page?: number;
|
|
49
49
|
size?: number;
|
|
@@ -54,8 +54,8 @@ type QueryStrapiSearchTeamMembers = {
|
|
|
54
54
|
group?: TeamMemberGroup;
|
|
55
55
|
is_employed?: boolean;
|
|
56
56
|
sort?: QuerySortTeamMembers;
|
|
57
|
-
}
|
|
58
|
-
|
|
57
|
+
}>;
|
|
58
|
+
type QueryStrapiSearchTeamMembers = v.InferOutput<typeof QueryStrapiSearchTeamMembers>;
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/entities/trend/document.d.ts
|
|
61
61
|
declare const TrendDocument: v.ObjectSchema<{
|
|
@@ -259,7 +259,7 @@ declare const TeamMemberDocument: v.GenericSchema<{
|
|
|
259
259
|
type TeamMemberDocument = v.InferOutput<typeof TeamMemberDocument>;
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/entities/blog-post/fields.d.ts
|
|
262
|
-
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
262
|
+
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
263
263
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
264
264
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
265
265
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -932,13 +932,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
932
932
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
933
933
|
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>;
|
|
934
934
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
935
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
935
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
936
936
|
}, undefined>;
|
|
937
937
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
938
938
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
939
939
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
940
940
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
|
|
941
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
941
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
942
942
|
}, undefined>;
|
|
943
943
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
944
944
|
//#endregion
|
|
@@ -20,7 +20,7 @@ declare const CommentApprovalStatus: v.PicklistSchema<("PENDING" | "APPROVED" |
|
|
|
20
20
|
type CommentApprovalStatus = v.InferOutput<typeof CommentApprovalStatus>;
|
|
21
21
|
declare const ReportCommentReason: v.PicklistSchema<("BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER")[], undefined>;
|
|
22
22
|
type ReportCommentReason = v.InferOutput<typeof ReportCommentReason>;
|
|
23
|
-
declare const QuerySortStrapiComments: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "
|
|
23
|
+
declare const QuerySortStrapiComments: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], 7, undefined>]>, undefined>;
|
|
24
24
|
type QuerySortStrapiComments = v.InferOutput<typeof QuerySortStrapiComments>;
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/entities/comment/document.d.ts
|
|
@@ -137,7 +137,7 @@ declare const QueryFilterStrapiComments: v.ObjectSchema<{
|
|
|
137
137
|
type QueryFilterStrapiComments = v.InferOutput<typeof QueryFilterStrapiComments>;
|
|
138
138
|
declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
|
|
139
139
|
readonly relation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
140
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "
|
|
140
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], 7, undefined>]>, undefined>;
|
|
141
141
|
readonly filters: v.OptionalSchema<v.ObjectSchema<{
|
|
142
142
|
readonly approvalStatus: v.OptionalSchema<v.ObjectSchema<{
|
|
143
143
|
readonly eq: v.PicklistSchema<("PENDING" | "APPROVED" | "REJECTED")[], undefined>;
|
|
@@ -193,7 +193,7 @@ declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
|
|
|
193
193
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
194
194
|
readonly pageSize: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>, undefined>;
|
|
195
195
|
}, undefined>, undefined>;
|
|
196
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "
|
|
196
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], 7, undefined>]>, undefined>;
|
|
197
197
|
}, undefined>;
|
|
198
198
|
type QueryStrapiCommentsFlat = v.InferOutput<typeof QueryStrapiCommentsFlat>;
|
|
199
199
|
//#endregion
|
|
@@ -27,7 +27,7 @@ type CategoryDocument = v.InferOutput<typeof CategoryDocument>;
|
|
|
27
27
|
declare const LIMIT_TEAM_MEMBER_PAGINATION_DEFAULT_SIZE = 10;
|
|
28
28
|
declare const LIMIT_TEAM_MEMBER_PAGINATION_MAX_SIZE = 20;
|
|
29
29
|
declare const TEAM_MEMBER_SORT_KEYS: readonly ["id", "name", "order", "tier", "group", "is_employed", "createdAt", "updatedAt"];
|
|
30
|
-
declare const TEAM_MEMBER_SORT: ("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
30
|
+
declare const TEAM_MEMBER_SORT: ("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "name:ASC" | "order:ASC" | "tier:ASC" | "group:ASC" | "is_employed:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "name:DESC" | "order:DESC" | "tier:DESC" | "group:DESC" | "is_employed:DESC")[];
|
|
31
31
|
declare const TEAM_MEMBER_TIER: readonly ["owner", "manager", "employee"];
|
|
32
32
|
declare const TEAM_MEMBER_GROUP: readonly ["account", "media", "creative"];
|
|
33
33
|
//#endregion
|
|
@@ -43,7 +43,7 @@ type QuerySortTeamMembers = TeamMemberSort[] | undefined;
|
|
|
43
43
|
declare const QuerySortTeamMembers: v.GenericSchema<QuerySortTeamMembers>;
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/entities/team-member/query.d.ts
|
|
46
|
-
|
|
46
|
+
declare const QueryStrapiSearchTeamMembers: v.GenericSchema<{
|
|
47
47
|
only_managers: boolean;
|
|
48
48
|
page?: number;
|
|
49
49
|
size?: number;
|
|
@@ -54,8 +54,8 @@ type QueryStrapiSearchTeamMembers = {
|
|
|
54
54
|
group?: TeamMemberGroup;
|
|
55
55
|
is_employed?: boolean;
|
|
56
56
|
sort?: QuerySortTeamMembers;
|
|
57
|
-
}
|
|
58
|
-
|
|
57
|
+
}>;
|
|
58
|
+
type QueryStrapiSearchTeamMembers = v.InferOutput<typeof QueryStrapiSearchTeamMembers>;
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/entities/trend/document.d.ts
|
|
61
61
|
declare const TrendDocument: v.ObjectSchema<{
|
|
@@ -259,7 +259,7 @@ declare const TeamMemberDocument: v.GenericSchema<{
|
|
|
259
259
|
type TeamMemberDocument = v.InferOutput<typeof TeamMemberDocument>;
|
|
260
260
|
//#endregion
|
|
261
261
|
//#region src/entities/blog-post/fields.d.ts
|
|
262
|
-
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
262
|
+
declare const QuerySortBlogPosts: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
263
263
|
type QuerySortBlogPosts = v.InferOutput<typeof QuerySortBlogPosts>;
|
|
264
264
|
declare const BlogPostLayout: v.PicklistSchema<readonly ["main-aside", "center-column"], undefined>;
|
|
265
265
|
type BlogPostLayout = v.InferOutput<typeof BlogPostLayout>;
|
|
@@ -932,13 +932,13 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
|
|
|
932
932
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
933
933
|
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>;
|
|
934
934
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, undefined>;
|
|
935
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
935
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
936
936
|
}, undefined>;
|
|
937
937
|
type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPosts>;
|
|
938
938
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
939
939
|
readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
940
940
|
readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["draft", "published"], undefined>, "published">;
|
|
941
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "
|
|
941
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "published:ASC" | "is_live:ASC" | "is_featured:ASC" | "is_public:ASC" | "published:DESC" | "is_live:DESC" | "is_featured:DESC" | "is_public:DESC")[], 9, undefined>]>, undefined>;
|
|
942
942
|
}, undefined>;
|
|
943
943
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
944
944
|
//#endregion
|
|
@@ -20,7 +20,7 @@ declare const CommentApprovalStatus: v.PicklistSchema<("PENDING" | "APPROVED" |
|
|
|
20
20
|
type CommentApprovalStatus = v.InferOutput<typeof CommentApprovalStatus>;
|
|
21
21
|
declare const ReportCommentReason: v.PicklistSchema<("BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER")[], undefined>;
|
|
22
22
|
type ReportCommentReason = v.InferOutput<typeof ReportCommentReason>;
|
|
23
|
-
declare const QuerySortStrapiComments: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "
|
|
23
|
+
declare const QuerySortStrapiComments: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], 7, undefined>]>, undefined>;
|
|
24
24
|
type QuerySortStrapiComments = v.InferOutput<typeof QuerySortStrapiComments>;
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/entities/comment/document.d.ts
|
|
@@ -137,7 +137,7 @@ declare const QueryFilterStrapiComments: v.ObjectSchema<{
|
|
|
137
137
|
type QueryFilterStrapiComments = v.InferOutput<typeof QueryFilterStrapiComments>;
|
|
138
138
|
declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
|
|
139
139
|
readonly relation: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
140
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "
|
|
140
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], 7, undefined>]>, undefined>;
|
|
141
141
|
readonly filters: v.OptionalSchema<v.ObjectSchema<{
|
|
142
142
|
readonly approvalStatus: v.OptionalSchema<v.ObjectSchema<{
|
|
143
143
|
readonly eq: v.PicklistSchema<("PENDING" | "APPROVED" | "REJECTED")[], undefined>;
|
|
@@ -193,7 +193,7 @@ declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
|
|
|
193
193
|
readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
194
194
|
readonly pageSize: v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>, undefined>;
|
|
195
195
|
}, undefined>, undefined>;
|
|
196
|
-
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "
|
|
196
|
+
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "content:ASC" | "approvalStatus:ASC" | "blockedThread:ASC" | "content:DESC" | "approvalStatus:DESC" | "blockedThread:DESC")[], 7, undefined>]>, undefined>;
|
|
197
197
|
}, undefined>;
|
|
198
198
|
type QueryStrapiCommentsFlat = v.InferOutput<typeof QueryStrapiCommentsFlat>;
|
|
199
199
|
//#endregion
|
|
@@ -121,7 +121,7 @@ declare const SAssociateEntityRelationshipRequest: v.SchemaWithPipe<readonly [v.
|
|
|
121
121
|
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>;
|
|
122
122
|
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>;
|
|
123
123
|
}, undefined>, v.CheckAction<{
|
|
124
|
-
collection: "
|
|
124
|
+
collection: "audit-logs" | "blog-posts" | "categories" | "clients" | "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" | "tags" | "team-members" | "trends" | "url-redirections" | "users" | "user-accounts" | "utm-tracking-links";
|
|
125
125
|
documentId: string;
|
|
126
126
|
relationKey: string;
|
|
127
127
|
connect?: string[] | undefined;
|
|
@@ -168,7 +168,7 @@ declare const SAssociateEntityPositionDocumentRequest: v.SchemaWithPipe<readonly
|
|
|
168
168
|
}, undefined>, undefined>, undefined>;
|
|
169
169
|
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>;
|
|
170
170
|
}, undefined>, v.CheckAction<{
|
|
171
|
-
collection: "
|
|
171
|
+
collection: "audit-logs" | "blog-posts" | "categories" | "clients" | "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" | "tags" | "team-members" | "trends" | "url-redirections" | "users" | "user-accounts" | "utm-tracking-links";
|
|
172
172
|
documentId: string;
|
|
173
173
|
relationKey: string;
|
|
174
174
|
connect?: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
1
|
+
import { Cn as ClientEntityKey, Sn as ClientEntityActions, bn as CLIENT_ENTITY_PERMISSIONS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions, wn as ClientEntityScope, xn as CLIENT_ENTITY_SCOPES, yn as CLIENT_ENTITY_KEYS } from "../index-40o0REzH.cjs";
|
|
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 {
|
|
2
|
-
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
1
|
+
import { Cn as ClientEntityKey, Sn as ClientEntityActions, bn as CLIENT_ENTITY_PERMISSIONS, d as Permissions, f as PermissionsAction, h as ROLE_PERMISSIONS, m as RolesWithPermissions, p as PermissionsEntity, u as LCRUDActions, wn as ClientEntityScope, xn as CLIENT_ENTITY_SCOPES, yn as CLIENT_ENTITY_KEYS } from "../index-C2WpfSrb.mjs";
|
|
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
|
-
import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-efk0FfOP.cjs";
|
|
2
|
+
import { On as AuthorizedUserDocument, d as Permissions, jn as RoleType, l as ClientUserDocumentStatus } from "../index-40o0REzH.cjs";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region src/utilities/permissions.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-
|
|
2
|
-
import {
|
|
1
|
+
import { J as StrapiErrorResponse, K as StrapiAttributeErrorResponse } from "../index-CJ2_Z1gW.mjs";
|
|
2
|
+
import { On as AuthorizedUserDocument, d as Permissions, jn as RoleType, l as ClientUserDocumentStatus } from "../index-C2WpfSrb.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.17",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|