@getcommunity/gc-validators 0.0.168 → 0.0.169

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
@@ -2645,6 +2645,7 @@ declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
2645
2645
  readonly eq: v.BooleanSchema<"this value must be a boolean">;
2646
2646
  }, undefined>, undefined>;
2647
2647
  }, undefined>, undefined>;
2648
+ readonly nested_levels: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
2648
2649
  }, undefined>;
2649
2650
  type QueryStrapiCommentsInHeirarchy = v.InferOutput<typeof QueryStrapiCommentsInHeirarchy>;
2650
2651
  declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
package/dist/index.d.ts CHANGED
@@ -2645,6 +2645,7 @@ declare const QueryStrapiCommentsInHeirarchy: v.ObjectSchema<{
2645
2645
  readonly eq: v.BooleanSchema<"this value must be a boolean">;
2646
2646
  }, undefined>, undefined>;
2647
2647
  }, undefined>, undefined>;
2648
+ readonly nested_levels: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
2648
2649
  }, undefined>;
2649
2650
  type QueryStrapiCommentsInHeirarchy = v.InferOutput<typeof QueryStrapiCommentsInHeirarchy>;
2650
2651
  declare const QueryStrapiCommentsFlat: v.ObjectSchema<{
package/dist/index.js CHANGED
@@ -2099,7 +2099,8 @@ var QueryStrapiFilterComments = v6.object({
2099
2099
  var QueryStrapiCommentsInHeirarchy = v6.object({
2100
2100
  relation: IsValidShortString,
2101
2101
  sort: v6.optional(v6.array(QueryStrapiSortComments)),
2102
- filters: v6.optional(QueryStrapiFilterComments)
2102
+ filters: v6.optional(QueryStrapiFilterComments),
2103
+ nested_levels: v6.optional(v6.pipe(v6.number(), v6.minValue(1)))
2103
2104
  });
2104
2105
  var QueryStrapiCommentsFlat = v6.object({
2105
2106
  relation: IsValidShortString,