@blackcode_sa/metaestetics-api 1.5.6 → 1.5.7
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.js +2 -6
- package/dist/backoffice/index.mjs +2 -6
- package/dist/index.d.mts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/types/index.ts +0 -3
package/dist/backoffice/index.js
CHANGED
|
@@ -207,6 +207,7 @@ var TreatmentBenefit = /* @__PURE__ */ ((TreatmentBenefit2) => {
|
|
|
207
207
|
})(TreatmentBenefit || {});
|
|
208
208
|
|
|
209
209
|
// src/types/documentation-templates/index.ts
|
|
210
|
+
var DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
210
211
|
var DocumentElementType = /* @__PURE__ */ ((DocumentElementType2) => {
|
|
211
212
|
DocumentElementType2["HEADING"] = "heading";
|
|
212
213
|
DocumentElementType2["PARAGRAPH"] = "paragraph";
|
|
@@ -1460,17 +1461,12 @@ var ProductService = class extends BaseService {
|
|
|
1460
1461
|
|
|
1461
1462
|
// src/services/documentation-templates/documentation-template.service.ts
|
|
1462
1463
|
var import_firestore7 = require("firebase/firestore");
|
|
1463
|
-
|
|
1464
|
-
// src/types/index.ts
|
|
1465
|
-
var DOCUMENTATION_TEMPLATES_COLLECTION2 = "documentation-templates";
|
|
1466
|
-
|
|
1467
|
-
// src/services/documentation-templates/documentation-template.service.ts
|
|
1468
1464
|
var DocumentationTemplateService = class extends BaseService {
|
|
1469
1465
|
constructor() {
|
|
1470
1466
|
super(...arguments);
|
|
1471
1467
|
this.collectionRef = (0, import_firestore7.collection)(
|
|
1472
1468
|
this.db,
|
|
1473
|
-
|
|
1469
|
+
DOCUMENTATION_TEMPLATES_COLLECTION
|
|
1474
1470
|
);
|
|
1475
1471
|
}
|
|
1476
1472
|
/**
|
|
@@ -115,6 +115,7 @@ var TreatmentBenefit = /* @__PURE__ */ ((TreatmentBenefit2) => {
|
|
|
115
115
|
})(TreatmentBenefit || {});
|
|
116
116
|
|
|
117
117
|
// src/types/documentation-templates/index.ts
|
|
118
|
+
var DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
118
119
|
var DocumentElementType = /* @__PURE__ */ ((DocumentElementType2) => {
|
|
119
120
|
DocumentElementType2["HEADING"] = "heading";
|
|
120
121
|
DocumentElementType2["PARAGRAPH"] = "paragraph";
|
|
@@ -1438,17 +1439,12 @@ import {
|
|
|
1438
1439
|
limit,
|
|
1439
1440
|
startAfter
|
|
1440
1441
|
} from "firebase/firestore";
|
|
1441
|
-
|
|
1442
|
-
// src/types/index.ts
|
|
1443
|
-
var DOCUMENTATION_TEMPLATES_COLLECTION2 = "documentation-templates";
|
|
1444
|
-
|
|
1445
|
-
// src/services/documentation-templates/documentation-template.service.ts
|
|
1446
1442
|
var DocumentationTemplateService = class extends BaseService {
|
|
1447
1443
|
constructor() {
|
|
1448
1444
|
super(...arguments);
|
|
1449
1445
|
this.collectionRef = collection7(
|
|
1450
1446
|
this.db,
|
|
1451
|
-
|
|
1447
|
+
DOCUMENTATION_TEMPLATES_COLLECTION
|
|
1452
1448
|
);
|
|
1453
1449
|
}
|
|
1454
1450
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -26,6 +26,14 @@ declare const getFirebaseAuth: () => Promise<Auth>;
|
|
|
26
26
|
declare const getFirebaseDB: () => Promise<Firestore>;
|
|
27
27
|
declare const getFirebaseApp: () => Promise<FirebaseApp>;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Types for the Medical Documentation Templating System
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Kolekcija u Firestore bazi gde se čuvaju dokumentacijske šablone
|
|
34
|
+
*/
|
|
35
|
+
declare const DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
36
|
+
declare const FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
29
37
|
/**
|
|
30
38
|
* Enum for element types in documentation templates
|
|
31
39
|
*/
|
|
@@ -3676,9 +3684,6 @@ interface CreateUserData {
|
|
|
3676
3684
|
}
|
|
3677
3685
|
type FirebaseUser = User$1;
|
|
3678
3686
|
|
|
3679
|
-
declare const DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
3680
|
-
declare const FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
3681
|
-
|
|
3682
3687
|
declare class PatientService extends BaseService {
|
|
3683
3688
|
constructor(db: Firestore, auth: Auth, app: FirebaseApp);
|
|
3684
3689
|
createPatientProfile(data: CreatePatientProfileData): Promise<PatientProfile>;
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,14 @@ declare const getFirebaseAuth: () => Promise<Auth>;
|
|
|
26
26
|
declare const getFirebaseDB: () => Promise<Firestore>;
|
|
27
27
|
declare const getFirebaseApp: () => Promise<FirebaseApp>;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Types for the Medical Documentation Templating System
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Kolekcija u Firestore bazi gde se čuvaju dokumentacijske šablone
|
|
34
|
+
*/
|
|
35
|
+
declare const DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
36
|
+
declare const FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
29
37
|
/**
|
|
30
38
|
* Enum for element types in documentation templates
|
|
31
39
|
*/
|
|
@@ -3676,9 +3684,6 @@ interface CreateUserData {
|
|
|
3676
3684
|
}
|
|
3677
3685
|
type FirebaseUser = User$1;
|
|
3678
3686
|
|
|
3679
|
-
declare const DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
3680
|
-
declare const FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
3681
|
-
|
|
3682
3687
|
declare class PatientService extends BaseService {
|
|
3683
3688
|
constructor(db: Firestore, auth: Auth, app: FirebaseApp);
|
|
3684
3689
|
createPatientProfile(data: CreatePatientProfileData): Promise<PatientProfile>;
|
package/dist/index.js
CHANGED
|
@@ -236,6 +236,8 @@ var import_auth5 = require("firebase/auth");
|
|
|
236
236
|
var import_firestore19 = require("firebase/firestore");
|
|
237
237
|
|
|
238
238
|
// src/types/documentation-templates/index.ts
|
|
239
|
+
var DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
240
|
+
var FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
239
241
|
var DocumentElementType = /* @__PURE__ */ ((DocumentElementType2) => {
|
|
240
242
|
DocumentElementType2["HEADING"] = "heading";
|
|
241
243
|
DocumentElementType2["PARAGRAPH"] = "paragraph";
|
|
@@ -315,8 +317,6 @@ var UserRole = /* @__PURE__ */ ((UserRole2) => {
|
|
|
315
317
|
return UserRole2;
|
|
316
318
|
})(UserRole || {});
|
|
317
319
|
var USERS_COLLECTION = "users";
|
|
318
|
-
var DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
319
|
-
var FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
320
320
|
|
|
321
321
|
// src/services/auth.service.ts
|
|
322
322
|
var import_zod15 = require("zod");
|
package/dist/index.mjs
CHANGED
|
@@ -63,6 +63,8 @@ import {
|
|
|
63
63
|
} from "firebase/firestore";
|
|
64
64
|
|
|
65
65
|
// src/types/documentation-templates/index.ts
|
|
66
|
+
var DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
67
|
+
var FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
66
68
|
var DocumentElementType = /* @__PURE__ */ ((DocumentElementType2) => {
|
|
67
69
|
DocumentElementType2["HEADING"] = "heading";
|
|
68
70
|
DocumentElementType2["PARAGRAPH"] = "paragraph";
|
|
@@ -142,8 +144,6 @@ var UserRole = /* @__PURE__ */ ((UserRole2) => {
|
|
|
142
144
|
return UserRole2;
|
|
143
145
|
})(UserRole || {});
|
|
144
146
|
var USERS_COLLECTION = "users";
|
|
145
|
-
var DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
146
|
-
var FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
147
147
|
|
|
148
148
|
// src/services/auth.service.ts
|
|
149
149
|
import { z as z15 } from "zod";
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -39,9 +39,6 @@ export type FirebaseUser = FirebaseAuthUser;
|
|
|
39
39
|
|
|
40
40
|
// Documentation Templates
|
|
41
41
|
export * from "./documentation-templates";
|
|
42
|
-
export const DOCUMENTATION_TEMPLATES_COLLECTION = "documentation-templates";
|
|
43
|
-
export const FILLED_DOCUMENTS_COLLECTION = "filled-documents";
|
|
44
42
|
|
|
45
43
|
// Calendar
|
|
46
44
|
export * from "./calendar";
|
|
47
|
-
export const CALENDAR_COLLECTION = "calendar";
|