@getcommunity/gc-validators 0.0.170 → 0.0.172
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2690,7 +2690,7 @@ declare const SCreateCommentDocument: v.ObjectSchema<{
|
|
|
2690
2690
|
readonly id: v.NumberSchema<"please provide a valid id">;
|
|
2691
2691
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "Please provide a valid string.">, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2692
2692
|
}, undefined>;
|
|
2693
|
-
readonly threadOf: v.OptionalSchema<v.
|
|
2693
|
+
readonly threadOf: v.OptionalSchema<v.NumberSchema<"please provide a valid id">, undefined>;
|
|
2694
2694
|
}, undefined>;
|
|
2695
2695
|
type SCreateCommentDocument = v.InferOutput<typeof SCreateCommentDocument>;
|
|
2696
2696
|
declare const SUpdateCommentDocument: v.ObjectSchema<{
|
package/dist/index.d.ts
CHANGED
|
@@ -2690,7 +2690,7 @@ declare const SCreateCommentDocument: v.ObjectSchema<{
|
|
|
2690
2690
|
readonly id: v.NumberSchema<"please provide a valid id">;
|
|
2691
2691
|
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "Please provide a valid string.">, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
|
|
2692
2692
|
}, undefined>;
|
|
2693
|
-
readonly threadOf: v.OptionalSchema<v.
|
|
2693
|
+
readonly threadOf: v.OptionalSchema<v.NumberSchema<"please provide a valid id">, undefined>;
|
|
2694
2694
|
}, undefined>;
|
|
2695
2695
|
type SCreateCommentDocument = v.InferOutput<typeof SCreateCommentDocument>;
|
|
2696
2696
|
declare const SUpdateCommentDocument: v.ObjectSchema<{
|
package/dist/index.js
CHANGED
|
@@ -2122,7 +2122,7 @@ var SCreateCommentDocument = v6.object({
|
|
|
2122
2122
|
id: IsValidReferenceId,
|
|
2123
2123
|
name: IsValidShortString
|
|
2124
2124
|
}),
|
|
2125
|
-
threadOf:
|
|
2125
|
+
threadOf: IsValidOrUndefinedReferenceId
|
|
2126
2126
|
});
|
|
2127
2127
|
var SUpdateCommentDocument = v6.object({
|
|
2128
2128
|
relation: IsValidShortString,
|