@kipicore/dbcore 1.1.100 → 1.1.101

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.
@@ -13,4 +13,5 @@ export interface IAppointmentHistoryModelAttributes extends IDefaultAttributes,
13
13
  rejectedBy: string;
14
14
  reScheduledBy: string;
15
15
  appointmentId: string;
16
+ appointmentNumber: string;
16
17
  }
@@ -12,4 +12,5 @@ export interface IAppointmentModelAttributes extends IDefaultAttributes, Documen
12
12
  scheduledBy: string;
13
13
  rejectedBy: string;
14
14
  reScheduledBy: string;
15
+ appointmentNumber: string;
15
16
  }
@@ -38,6 +38,10 @@ const appointmentHistorySchema = new mongoose_1.Schema({
38
38
  date: {
39
39
  type: Date
40
40
  },
41
+ appointmentNumber: {
42
+ type: String,
43
+ required: false
44
+ },
41
45
  appointmentStatus: {
42
46
  type: String,
43
47
  },
@@ -38,6 +38,10 @@ const appointmentSchema = new mongoose_1.Schema({
38
38
  date: {
39
39
  type: Date
40
40
  },
41
+ appointmentNumber: {
42
+ type: String, // auto increment will handle from server side.
43
+ required: false
44
+ },
41
45
  appointmentStatus: {
42
46
  type: String,
43
47
  required: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.100",
3
+ "version": "1.1.101",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",