@getcommunity/gc-validators 0.0.96 → 0.0.97

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/index.d.cts CHANGED
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
127
127
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
128
128
  readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
129
129
  readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
130
- readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
130
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
131
131
  readonly status: v.OptionalSchema<v.PicklistSchema<["draft", "published"], undefined>, undefined>;
132
132
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
133
133
  readonly key: v.PicklistSchema<["id", "title", "slug", "is_live", "is_featured", "is_public", "published", "createdAt", "updatedAt"], undefined>;
package/dist/index.d.ts CHANGED
@@ -127,7 +127,7 @@ declare const QueryStrapiSearchBlogPosts: v.ObjectSchema<{
127
127
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 20, undefined>]>, undefined>;
128
128
  readonly search: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
129
129
  readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
130
- readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
130
+ readonly tags: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.TransformAction<string[], string>]>, undefined>;
131
131
  readonly status: v.OptionalSchema<v.PicklistSchema<["draft", "published"], undefined>, undefined>;
132
132
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
133
133
  readonly key: v.PicklistSchema<["id", "title", "slug", "is_live", "is_featured", "is_public", "published", "createdAt", "updatedAt"], undefined>;
package/dist/index.js CHANGED
@@ -877,7 +877,7 @@ var QueryStrapiSearchBlogPosts = v6.object({
877
877
  ),
878
878
  search: IsValidOrUndefinedShortString,
879
879
  category: IsValidOrUndefinedShortString,
880
- tags: IsValidOrUndefinedShortString,
880
+ tags: IsValidOrUndefinedStringList,
881
881
  status: IsValidOrUndefinedBlogPostStatus,
882
882
  sort: QuerySortBlogPosts
883
883
  });