abhi-medium-blog 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +23 -0
  2. package/package.json +7 -2
@@ -0,0 +1,23 @@
1
+ import z from "zod";
2
+ export declare const signupInput: z.ZodObject<{
3
+ username: z.ZodString;
4
+ password: z.ZodString;
5
+ name: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export declare const signinInput: z.ZodObject<{
8
+ username: z.ZodString;
9
+ password: z.ZodString;
10
+ }, z.core.$strip>;
11
+ export declare const createBlogInput: z.ZodObject<{
12
+ title: z.ZodString;
13
+ content: z.ZodString;
14
+ }, z.core.$strip>;
15
+ export declare const editBlogInput: z.ZodObject<{
16
+ title: z.ZodString;
17
+ content: z.ZodString;
18
+ id: z.ZodNumber;
19
+ }, z.core.$strip>;
20
+ export type SignupInput = z.infer<typeof signupInput>;
21
+ export type SigninInput = z.infer<typeof signupInput>;
22
+ export type createBlogInput = z.infer<typeof createBlogInput>;
23
+ export type editBlogInput = z.infer<typeof editBlogInput>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abhi-medium-blog",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Medium-style blog backend built with Hono, Prisma, and Cloudflare Workers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,12 @@
22
22
  "type": "git",
23
23
  "url": "git+https://github.com/abhisek7154/The-Forgotten-Archive.git"
24
24
  },
25
- "keywords": ["cloudflare", "prisma", "hono", "blog"],
25
+ "keywords": [
26
+ "cloudflare",
27
+ "prisma",
28
+ "hono",
29
+ "blog"
30
+ ],
26
31
  "author": "Abhisek sahoo",
27
32
  "license": "ISC",
28
33
  "bugs": {