@claudebernard/types
v0.33.0
Published
A TypeScript library for centralizing common types, interfaces, classes, and enums, particularly for API response types.
Readme
@claudebernard/types
This simple library aims to centralize the common objects used by the Claude Bernard applications, thus avoiding their redefinition in multiple places.
List of exported objects
Classes
(request-state.class)
- RequestState
(search-response-body.class)
- SearchRequestBody
Constants
(posology.const)
- intakeMoments
(product.const)
- productTypeMap
- productTypeToDisplayMap
Enums
(patient.enum)
- PatientGender
Interfaces
(carousel.interface)
- CarouselItem
(cb-patient.interface)
- CBPatient
- PatientPathology
- PatientAllergy
- PatientMedicalTeam
(contract.interface)
- Contract
- ContractDocument
(glossary.interface)
- Glossary
(news.interface)
- News
(page.interface)
- Page
(posology-list.interface)
- Posologies
- Posology
(prescription.interface)
- PrescriptionAlert
- PrescriptionAlertResponse
- PrescriptionAlerts
- PrescriptionAlertsVisibility
- SamAlert
- StoppAlert
- TherapeuticClass
(product.interface)
- Product
- ProductAtcClass
- ProductClass
- ProductCodes
- ProductComponent
- ProductComponents
- ProductCrushability
- ProductDocument
- ProductEan13
- ProductExtendedFlags
- ProductExtendedProperties
- ProductFlags
- ProductGenericGroup
- PriceHistory
- ProductIntakeUnit
- ProductKeyword
- ProductKeywordDetail
- ProductLabels
- ProductLaboratory
- ProductLpp
- ProductMonographChapters
- ProductPrescriptible
- ProductPrices
- ProductProperties
- ProductRestrictedPrescription
- ProductRouteAdministration
- ProductSam
- ProductSearchProperties
- ProductSegmentationAttributes
- ProductSpecialPrescription
- SafeSearch
- SimpleProduct
- SubLabo
(search-filters.interface)
- SearchFilter
- SearchFilterValues
(search-response-body)
- SearchResponse
(tree.interface)
- TreeClass
Usage
import { RequestState, CBPatient, Contract } from "@claudebernard/types";
