@vibe-flats/booking-engine-common-server 1.0.38 → 1.0.40

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.
@@ -69,6 +69,7 @@ export interface UnitDocument extends mongoose.Document {
69
69
  from: Date;
70
70
  to: Date;
71
71
  };
72
+ availableFrom?: Date;
72
73
  }
73
74
  export declare const UnitModel: (connection: mongoose.Connection) => mongoose.Model<UnitDocument, {}, {}, {}, mongoose.Document<unknown, {}, UnitDocument> & UnitDocument & Required<{
74
75
  _id: unknown;
@@ -111,7 +111,8 @@ const schema = new mongoose_1.default.Schema({
111
111
  }),
112
112
  required: false,
113
113
  _id: false
114
- }
114
+ },
115
+ availableFrom: { type: Date, required: false }
115
116
  }, {
116
117
  timestamps: true,
117
118
  versionKey: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-flats/booking-engine-common-server",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",