zs-phone-common 1.0.0

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/.env ADDED
@@ -0,0 +1 @@
1
+ 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
@@ -0,0 +1,33 @@
1
+ import z from "zod/v4";
2
+ declare const EmailJobType: string[];
3
+ export declare const signupSchema: z.ZodObject<{
4
+ name: z.ZodString;
5
+ email: z.ZodEmail;
6
+ password: z.ZodString;
7
+ }, z.core.$strip>;
8
+ export declare const loginSchema: z.ZodObject<{
9
+ email: z.ZodString;
10
+ password: z.ZodString;
11
+ }, z.core.$strip>;
12
+ export declare const forgotPasswordSchema: z.ZodObject<{
13
+ email: z.ZodEmail;
14
+ }, z.core.$strip>;
15
+ export declare const resetPasswordSchema: z.ZodObject<{
16
+ password: z.ZodString;
17
+ confirmPassword: z.ZodString;
18
+ }, z.core.$strip>;
19
+ export declare const verifyOtpSchema: z.ZodObject<{
20
+ otp: z.ZodString;
21
+ }, z.core.$strip>;
22
+ export declare const resendOtpSchema: z.ZodObject<{
23
+ type: z.ZodEnum<{
24
+ [x: string]: string;
25
+ }>;
26
+ }, z.core.$strip>;
27
+ export type SignupSchema = z.infer<typeof signupSchema>;
28
+ export type LoginSchema = z.infer<typeof loginSchema>;
29
+ export type ForgotPasswordSchema = z.infer<typeof forgotPasswordSchema>;
30
+ export type VerifyOtpSchema = z.infer<typeof verifyOtpSchema>;
31
+ export type resetPasswordSchema = z.infer<typeof resetPasswordSchema>;
32
+ export type EmailJobType = typeof EmailJobType[number];
33
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./auth.types";
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "zs-phone-common",
3
+ "version": "1.0.0",
4
+ "main": "./dist/index.js",
5
+ "types": "./dist/index.d.ts",
6
+ "scripts": {
7
+ "build": "tsc",
8
+ "publish": "npm publish --access=public"
9
+ },
10
+ "description": "Shared types and zod schemas for Phone Ledger SAAS",
11
+ "license": "ISC",
12
+ "author": "Zaid Sunasra",
13
+ "dependencies": {
14
+ "zod": "^4.4.3"
15
+ },
16
+ "devDependencies": {
17
+ "typescript": "^7.0.2"
18
+ }
19
+ }