@joeygrable94/utm-src-pub-validators 0.0.36 → 0.0.37
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
|
@@ -542,7 +542,7 @@ declare const SReadUserDocumentToken: v.ObjectSchema<{
|
|
|
542
542
|
}, undefined>;
|
|
543
543
|
type SReadUserDocumentToken = v.InferOutput<typeof SReadUserDocumentToken>;
|
|
544
544
|
declare const SLoginUserDocument: v.ObjectSchema<{
|
|
545
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<"please provide
|
|
545
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
546
546
|
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
|
|
547
547
|
}, undefined>;
|
|
548
548
|
type SLoginUserDocument = v.InferOutput<typeof SLoginUserDocument>;
|
package/dist/index.d.ts
CHANGED
|
@@ -542,7 +542,7 @@ declare const SReadUserDocumentToken: v.ObjectSchema<{
|
|
|
542
542
|
}, undefined>;
|
|
543
543
|
type SReadUserDocumentToken = v.InferOutput<typeof SReadUserDocumentToken>;
|
|
544
544
|
declare const SLoginUserDocument: v.ObjectSchema<{
|
|
545
|
-
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<"please provide
|
|
545
|
+
readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
546
546
|
readonly password: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
|
|
547
547
|
}, undefined>;
|
|
548
548
|
type SLoginUserDocument = v.InferOutput<typeof SLoginUserDocument>;
|
package/dist/index.js
CHANGED
|
@@ -862,7 +862,7 @@ var SReadUserDocumentToken = v14.object({
|
|
|
862
862
|
token: v14.string()
|
|
863
863
|
});
|
|
864
864
|
var SLoginUserDocument = v14.object({
|
|
865
|
-
identifier:
|
|
865
|
+
identifier: IsValidEmail,
|
|
866
866
|
password: IsValidPassword
|
|
867
867
|
});
|
|
868
868
|
var SRegisterUserDocument = v14.object({
|