shared_schemas 1.0.0 → 1.0.2
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.
|
@@ -10,7 +10,7 @@ const register = zod_1.z.object({
|
|
|
10
10
|
name: zod_1.z.string(),
|
|
11
11
|
email: zod_1.z.string().trim().min(1, "Email is required").email({ message: "Invalid email format" }),
|
|
12
12
|
password: zod_1.z.string(),
|
|
13
|
-
|
|
13
|
+
phoneNumber: zod_1.z.string()
|
|
14
14
|
});
|
|
15
15
|
exports.authSchema = {
|
|
16
16
|
login,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.schemas.js","sourceRoot":"","sources":["../../src/schemas/auth.schemas.ts"],"names":[],"mappings":";;;AACA,6BAAsB;AAEtB,MAAM,KAAK,GAAG,OAAC,CAAC,MAAM,CAAC;IACnB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC,KAAK,CAAC,EAAC,OAAO,EAAE,sBAAsB,EAAC,CAAC;IAC7F,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;CAEtD,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAC/F,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,
|
|
1
|
+
{"version":3,"file":"auth.schemas.js","sourceRoot":"","sources":["../../src/schemas/auth.schemas.ts"],"names":[],"mappings":";;;AACA,6BAAsB;AAEtB,MAAM,KAAK,GAAG,OAAC,CAAC,MAAM,CAAC;IACnB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC,KAAK,CAAC,EAAC,OAAO,EAAE,sBAAsB,EAAC,CAAC;IAC7F,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,sBAAsB,CAAC;CAEtD,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAG,OAAC,CAAC,MAAM,CAAC;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAC/F,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC;AAEW,QAAA,UAAU,GAAG;IACvB,KAAK;IACL,QAAQ;CACX,CAAA"}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ const register = z.object({
|
|
|
11
11
|
name: z.string(),
|
|
12
12
|
email: z.string().trim().min(1, "Email is required").email({ message: "Invalid email format" }),
|
|
13
13
|
password: z.string(),
|
|
14
|
-
|
|
14
|
+
phoneNumber: z.string()
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
export const authSchema = {
|