UNPKG

@schedule-tribe/doctor

Version:

This package provides TypeScript type definitions for handling Patient in Domain-Driven Design contexts

15 lines (14 loc) 389 B
import CRM from "@schedule-tribe/crm"; import Name from "@schedule-tribe/name"; import { Entity, Result, UID } from "rich-domain"; type Props = { id?: UID; name: Name; crm: CRM; }; export declare class Doctor extends Entity<Props> { constructor(props: Props); static init(props: Props): Doctor; static create(props: Props): Result<Doctor>; } export default Doctor;