0.1.15 • Published 7 months ago

@m-oss/types v0.1.15

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@m-oss/types

Shared TypeScript types and validation schemas for DocPille frontend and backend.

Installation

npm install @m-oss/types

Usage

import { User, Doctor, Patient, loginSchema } from '@m-oss/types'

// Use types
const user: User = {
  id: '1',
  firstName: 'John',
  lastName: 'Doe',
  // ...
}

// Use validation schemas
const result = loginSchema.safeParse({
  email: 'john@example.com',
  password: 'password123',
})

Development

  1. Clone the repository
  2. Install dependencies: npm install
  3. Build: npm run build

Publishing

  1. Update version in package.json
  2. Run npm publish

License

MIT

0.1.15

7 months ago

0.1.14

7 months ago

0.1.13

7 months ago

0.1.12

7 months ago

0.1.11

7 months ago

0.1.10

7 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

7 months ago

0.1.4

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago