Skip to content

Commit 28a315a

Browse files
committed
zod validation modified
1 parent 09cccb1 commit 28a315a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pradeep0123yadav/common",
3-
"version": "1.0.4",
3+
"version": "1.0.7",
44
"main": "dist/index.js",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1"

common/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const signinInput = z.object({
1414
export const createBlogInput = z.object({
1515
title:z.string(),
1616
content:z.string(),
17-
published:z.boolean()
17+
1818
})
1919

2020
export const updateBlogInput = z.object({

0 commit comments

Comments
 (0)