@ayushdev/medium-common 1.0.3 → 1.0.4
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.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
declare const signupInput: z.ZodObject<{
|
3
|
-
|
3
|
+
email: z.ZodString;
|
4
4
|
password: z.ZodString;
|
5
5
|
name: z.ZodOptional<z.ZodString>;
|
6
6
|
}, z.core.$strip>;
|
7
7
|
export type SignupInput = z.infer<typeof signupInput>;
|
8
8
|
export declare const signinInput: z.ZodObject<{
|
9
|
-
|
9
|
+
email: z.ZodString;
|
10
10
|
password: z.ZodString;
|
11
11
|
}, z.core.$strip>;
|
12
12
|
export type SigninInput = z.infer<typeof signinInput>;
|
package/dist/index.js
CHANGED
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.updateBlogInput = exports.creatBlogInput = exports.signinInput = void 0;
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
8
8
|
const signupInput = zod_1.default.object({
|
9
|
-
|
9
|
+
email: zod_1.default.string().email(),
|
10
10
|
password: zod_1.default.string().min(6),
|
11
11
|
name: zod_1.default.string().optional()
|
12
12
|
});
|
13
13
|
exports.signinInput = zod_1.default.object({
|
14
|
-
|
14
|
+
email: zod_1.default.string().email(),
|
15
15
|
password: zod_1.default.string().min(6),
|
16
16
|
});
|
17
17
|
exports.creatBlogInput = zod_1.default.object({
|