@tilokdutta2909/medium-common 1.0.0 → 1.0.1

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import z from "zod";
2
- export declare const signiupnput: z.ZodObject<{
2
+ export declare const signupInput: z.ZodObject<{
3
3
  email: z.ZodString;
4
4
  password: z.ZodString;
5
5
  name: z.ZodOptional<z.ZodString>;
@@ -17,8 +17,8 @@ export declare const updateblogInput: z.ZodObject<{
17
17
  content: z.ZodString;
18
18
  id: z.ZodString;
19
19
  }, z.core.$strip>;
20
+ export type SignupInput = z.infer<typeof signupInput>;
20
21
  export type SigninInput = z.infer<typeof signinInput>;
21
- export type SignupInput = z.infer<typeof signinInput>;
22
22
  export type CreateblogInput = z.infer<typeof createblogInput>;
23
- export type UpdateblogInput = z.infer<typeof createblogInput>;
23
+ export type UpdateblogInput = z.infer<typeof updateblogInput>;
24
24
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateblogInput = exports.createblogInput = exports.signinInput = exports.signiupnput = void 0;
3
+ exports.updateblogInput = exports.createblogInput = exports.signinInput = exports.signupInput = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.signiupnput = zod_1.default.object({
5
+ exports.signupInput = zod_1.default.object({
6
6
  email: zod_1.default.string().email(),
7
7
  password: zod_1.default.string().min(6),
8
8
  name: zod_1.default.string().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilokdutta2909/medium-common",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {