@blackcode_sa/metaestetics-api 1.8.3 → 1.8.5
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/dist/backoffice/index.d.mts +33 -1
- package/dist/backoffice/index.d.ts +33 -1
- package/dist/backoffice/index.js +40 -0
- package/dist/backoffice/index.mjs +30 -0
- package/dist/index.d.mts +2515 -1
- package/dist/index.d.ts +2515 -1
- package/dist/index.js +1409 -128
- package/dist/index.mjs +1399 -128
- package/package.json +1 -1
- package/src/backoffice/types/README.md +12 -0
- package/src/backoffice/types/index.ts +8 -33
- package/src/backoffice/types/static/README.md +18 -0
- package/src/backoffice/types/static/index.ts +6 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Backoffice Types
|
|
2
|
+
|
|
3
|
+
This directory contains all the type definitions for the backoffice application.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
The types are organized into two main categories:
|
|
8
|
+
|
|
9
|
+
- **Root-level types**: These are the primary types used across the application, such as `Brand`, `Category`, `Product`, etc.
|
|
10
|
+
- **`static/`**: This subdirectory contains static types that are not expected to change often. See the `README.md` in that directory for more details.
|
|
11
|
+
|
|
12
|
+
All types are exported from the `index.ts` file in this directory for easy importing.
|
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
TimeFrame,
|
|
10
|
-
} from "./requirement.types";
|
|
11
|
-
export { Subcategory } from "./subcategory.types";
|
|
12
|
-
export { Technology, TechnologyRequirements } from "./technology.types";
|
|
13
|
-
export { BlockingCondition } from "./static/blocking-condition.types";
|
|
14
|
-
export {
|
|
15
|
-
CertificationRequirement,
|
|
16
|
-
CertificationLevel,
|
|
17
|
-
CertificationSpecialty,
|
|
18
|
-
} from "./static/certification.types";
|
|
19
|
-
export { Contraindication } from "./static/contraindication.types";
|
|
20
|
-
export { ProcedureFamily } from "./static/procedure-family.types";
|
|
21
|
-
export { TreatmentBenefit } from "./static/treatment-benefit.types";
|
|
22
|
-
|
|
23
|
-
// Documentation Templates
|
|
24
|
-
export {
|
|
25
|
-
DocumentTemplate,
|
|
26
|
-
CreateDocumentTemplateData,
|
|
27
|
-
UpdateDocumentTemplateData,
|
|
28
|
-
DocumentElement,
|
|
29
|
-
DocumentElementType,
|
|
30
|
-
HeadingLevel,
|
|
31
|
-
ListType,
|
|
32
|
-
DynamicVariable,
|
|
33
|
-
} from "./documentation-templates.types";
|
|
1
|
+
export * from "./brand.types";
|
|
2
|
+
export * from "./category.types";
|
|
3
|
+
export * from "./documentation-templates.types";
|
|
4
|
+
export * from "./product.types";
|
|
5
|
+
export * from "./requirement.types";
|
|
6
|
+
export * from "./subcategory.types";
|
|
7
|
+
export * from "./technology.types";
|
|
8
|
+
export * from "./static";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Static Types
|
|
2
|
+
|
|
3
|
+
This directory contains all static type definitions used throughout the backoffice application. These types are considered "static" because they represent data that is generally fixed and does not change frequently.
|
|
4
|
+
|
|
5
|
+
## Available Types
|
|
6
|
+
|
|
7
|
+
The following static types are available for import:
|
|
8
|
+
|
|
9
|
+
- `BlockingCondition`: Defines conditions that may prevent a procedure.
|
|
10
|
+
- `Certification`: Represents professional certifications.
|
|
11
|
+
- `Contraindication`: Specifies conditions or factors that serve as a reason to withhold a certain medical treatment.
|
|
12
|
+
- `Pricing`: Defines the structure for pricing information.
|
|
13
|
+
- `ProcedureFamily`: Groups related medical procedures.
|
|
14
|
+
- `TreatmentBenefit`: Describes the benefits of a treatment.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
All types in this directory are exported from the main `index.ts` file. You can import them directly from this module.
|
package/src/index.ts
CHANGED