module-package-comp 1.3.4 → 1.4.1

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.
@@ -78,9 +78,9 @@ export interface ComponentResult {
78
78
  }
79
79
  export interface Data {
80
80
  _id: string;
81
- patientDmi: string;
81
+ proprietor: string;
82
82
  from: string;
83
- componentId: Component;
83
+ component: Component;
84
84
  value: DataJSON;
85
85
  extra: DataJSON;
86
86
  createdAt: DateTime;
@@ -98,6 +98,7 @@ export type PrescriptionFilterType = {
98
98
  molecule: string | null;
99
99
  dose: Filter | null;
100
100
  validation: Filter | null;
101
+ info: boolean | null;
101
102
  };
102
103
  export type Filter = {
103
104
  op: ConditionEnum | "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "module-package-comp",
3
- "version": "1.3.4",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/util/type.ts CHANGED
@@ -92,9 +92,9 @@ export interface ComponentResult {
92
92
 
93
93
  export interface Data {
94
94
  _id: string;
95
- patientDmi: string;
95
+ proprietor: string;
96
96
  from: string;
97
- componentId: Component;
97
+ component: Component;
98
98
  value: DataJSON;
99
99
  extra: DataJSON;
100
100
  createdAt: DateTime;
@@ -114,6 +114,7 @@ export type PrescriptionFilterType = {
114
114
  molecule: string | null;
115
115
  dose: Filter | null;
116
116
  validation: Filter | null;
117
+ info: boolean | null;
117
118
  };
118
119
 
119
120
  export type Filter = {