@stylish-cat/contracts
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -34,3 +34,3 @@ import { z } from "zod"; | ||
code: z.ZodString; | ||
resetPasswordToken: z.ZodEffects<z.ZodString, string, string>; | ||
resetPasswordToken: z.ZodString; | ||
password: z.ZodString; | ||
@@ -37,0 +37,0 @@ }, "strip", z.ZodTypeAny, { |
@@ -5,3 +5,2 @@ "use strict"; | ||
const zod_1 = require("zod"); | ||
const js_base64_1 = require("js-base64"); | ||
exports.ManualSignInSchema = zod_1.z.object({ | ||
@@ -56,8 +55,6 @@ email: zod_1.z | ||
.trim(), | ||
resetPasswordToken: zod_1.z | ||
.string({ | ||
resetPasswordToken: zod_1.z.string({ | ||
required_error: "Це поле обов'язкове", | ||
invalid_type_error: "Тут повинна бути строка", | ||
}) | ||
.refine(js_base64_1.Base64.isValid, "Це повинно бути base64"), | ||
}), | ||
password: zod_1.z | ||
@@ -64,0 +61,0 @@ .string({ |
{ | ||
"name": "@stylish-cat/contracts", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23480
390