@getcommunity/gc-validators 0.0.65 → 0.0.66

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
@@ -369,6 +369,7 @@ type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBl
369
369
  declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
370
370
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
371
371
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
372
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
372
373
  readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>, undefined>;
373
374
  readonly media_platform_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>, undefined>;
374
375
  }, undefined>;
package/dist/index.d.ts CHANGED
@@ -369,6 +369,7 @@ type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBl
369
369
  declare const QueryStrapiSearchClientMediaPlatforms: v.ObjectSchema<{
370
370
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
371
371
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
372
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
372
373
  readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>, undefined>;
373
374
  readonly media_platform_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.TrimAction, v.MinLengthAction<string, 1, "the document id is too short, it must be at least 1 character">, v.MaxLengthAction<string, 255, "the document id is too long, it must be 255 characters or less">]>, undefined>;
374
375
  }, undefined>;
package/dist/index.js CHANGED
@@ -817,6 +817,7 @@ var QueryStrapiSearchClientMediaPlatforms = v3.object({
817
817
  ),
818
818
  LIMIT_PAGINATION_DEFAULT_SIZE
819
819
  ),
820
+ is_active: v3.optional(v3.boolean()),
820
821
  client_id: v3.optional(IsValidReferenceDocumentId),
821
822
  media_platform_id: v3.optional(IsValidReferenceDocumentId)
822
823
  });