-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f29dff7
commit 7c5494f
Showing
59 changed files
with
18,443 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { z } from "zod"; | ||
export declare const signupInput: z.ZodObject<{ | ||
email: z.ZodString; | ||
password: z.ZodString; | ||
name: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
email: string; | ||
password: string; | ||
name: string; | ||
}, { | ||
email: string; | ||
password: string; | ||
name: string; | ||
}>; | ||
export type SignupType = z.infer<typeof signupInput>; | ||
export declare const signinInput: z.ZodObject<{ | ||
email: z.ZodString; | ||
password: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
email: string; | ||
password: string; | ||
}, { | ||
email: string; | ||
password: string; | ||
}>; | ||
export type SigninType = z.infer<typeof signinInput>; | ||
export declare const createPost: z.ZodObject<{ | ||
title: z.ZodString; | ||
content: z.ZodString; | ||
}, "strip", z.ZodTypeAny, { | ||
title: string; | ||
content: string; | ||
}, { | ||
title: string; | ||
content: string; | ||
}>; | ||
export type CreatePost = z.infer<typeof createPost>; | ||
export declare const updatePost: z.ZodObject<{ | ||
title: z.ZodOptional<z.ZodString>; | ||
content: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
title?: string | undefined; | ||
content?: string | undefined; | ||
}, { | ||
title?: string | undefined; | ||
content?: string | undefined; | ||
}>; | ||
export type UpdatePost = z.infer<typeof updatePost>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.updatePost = exports.createPost = exports.signinInput = exports.signupInput = void 0; | ||
const zod_1 = require("zod"); | ||
exports.signupInput = zod_1.z.object({ | ||
email: zod_1.z.string().email(), | ||
password: zod_1.z.string().min(6), | ||
name: zod_1.z.string(), | ||
}); | ||
exports.signinInput = zod_1.z.object({ | ||
email: zod_1.z.string().email(), | ||
password: zod_1.z.string().min(6), | ||
}); | ||
exports.createPost = zod_1.z.object({ | ||
title: zod_1.z.string(), | ||
content: zod_1.z.string(), | ||
}); | ||
exports.updatePost = zod_1.z.object({ | ||
title: zod_1.z.string().optional(), | ||
content: zod_1.z.string().optional(), | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.