@joeygrable94/utm-src-pub-validators 0.0.104 → 0.0.105

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
@@ -83,6 +83,7 @@ declare const SQueryListGroupDocuments: v.ObjectSchema<{
83
83
  }, undefined>;
84
84
  type SQueryListGroupDocuments = v.InferOutput<typeof SQueryListGroupDocuments>;
85
85
  declare const SCreateGroupDocument: v.ObjectSchema<{
86
+ readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
86
87
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
87
88
  readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 16, "the value is too long, it must be 16 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
88
89
  readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
package/dist/index.d.ts CHANGED
@@ -83,6 +83,7 @@ declare const SQueryListGroupDocuments: v.ObjectSchema<{
83
83
  }, undefined>;
84
84
  type SQueryListGroupDocuments = v.InferOutput<typeof SQueryListGroupDocuments>;
85
85
  declare const SCreateGroupDocument: v.ObjectSchema<{
86
+ readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
86
87
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
87
88
  readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 16, "the value is too long, it must be 16 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
88
89
  readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
package/dist/index.js CHANGED
@@ -1118,6 +1118,7 @@ var SQueryListGroupDocuments = v12.object({
1118
1118
  sort: SQuerySortGroupDocuments
1119
1119
  });
1120
1120
  var SCreateGroupDocument = v12.object({
1121
+ creator: IsValidReferenceDocumentId,
1121
1122
  label: IsValidLabel,
1122
1123
  value: IsValidGroupValue,
1123
1124
  description: IsValidDescription,