@companyio/auth-contracts
v0.1.32
Published
Shared authentication, user, organization, and permission contracts
Readme
@companyio/auth-contracts
Shared Zod validation schemas and TypeScript types for authentication, users, sessions, organizations, and invitations.
Exports include SignInSchema, SignUpSchema, SessionSchema, UserSchema, OrganizationSchema, and their inferred types.
Use
import { SignInSchema } from '@companyio/auth-contracts';
const credentials = SignInSchema.parse({ email, password });Build
pnpm --filter @companyio/auth-contracts build