@getcommunity/gc-validators 0.0.140 → 0.0.141

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
@@ -2144,6 +2144,7 @@ declare const SCreateGCFlyTourDocument: v.ObjectSchema<{
2144
2144
  readonly utm_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_key is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the utm_key is too long, it must be 255 characters or less">, v.RegexAction<string, "utm_key can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2145
2145
  readonly is_active: v.BooleanSchema<"this value must be a boolean">;
2146
2146
  readonly is_hidden: v.BooleanSchema<"this value must be a boolean">;
2147
+ readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, "please provide at least one document id">]>, undefined>;
2147
2148
  }, undefined>;
2148
2149
  type SCreateGCFlyTourDocument = v.InferOutput<typeof SCreateGCFlyTourDocument>;
2149
2150
  declare const SUpdateGCFlyTourDocument: v.ObjectSchema<{
package/dist/index.d.ts CHANGED
@@ -2144,6 +2144,7 @@ declare const SCreateGCFlyTourDocument: v.ObjectSchema<{
2144
2144
  readonly utm_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_key is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the utm_key is too long, it must be 255 characters or less">, v.RegexAction<string, "utm_key can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
2145
2145
  readonly is_active: v.BooleanSchema<"this value must be a boolean">;
2146
2146
  readonly is_hidden: v.BooleanSchema<"this value must be a boolean">;
2147
+ readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<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>, v.MinLengthAction<string[], 1, "please provide at least one document id">]>, undefined>;
2147
2148
  }, undefined>;
2148
2149
  type SCreateGCFlyTourDocument = v.InferOutput<typeof SCreateGCFlyTourDocument>;
2149
2150
  declare const SUpdateGCFlyTourDocument: v.ObjectSchema<{
package/dist/index.js CHANGED
@@ -2004,7 +2004,8 @@ var SCreateGCFlyTourDocument = v6.object({
2004
2004
  slug: IsValidSlug,
2005
2005
  utm_key: IsValidOrUndefinedUrlUtmKey,
2006
2006
  is_active: IsValidIsBoolean,
2007
- is_hidden: IsValidIsBoolean
2007
+ is_hidden: IsValidIsBoolean,
2008
+ clients: IsValidOrUndefinedReferenceDocumentIdList
2008
2009
  });
2009
2010
  var SUpdateGCFlyTourDocument = v6.object({
2010
2011
  title: IsValidOrUndefinedShortString,