@vibe-flats/booking-engine-common-server 1.0.31 → 1.0.33

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.
@@ -5,6 +5,7 @@ export interface AreaDocument extends mongoose.Document {
5
5
  externalName: string;
6
6
  publicId: string;
7
7
  city: CityDocument;
8
+ description: string;
8
9
  }
9
10
  export declare const AreaModel: (connection: mongoose.Connection) => mongoose.Model<AreaDocument, {}, {}, {}, mongoose.Document<unknown, {}, AreaDocument> & AreaDocument & Required<{
10
11
  _id: unknown;
@@ -41,6 +41,10 @@ const schema = new mongoose_1.default.Schema({
41
41
  city: {
42
42
  type: mongoose_1.Schema.Types.ObjectId,
43
43
  ref: 'City'
44
+ },
45
+ description: {
46
+ type: String,
47
+ required: false
44
48
  }
45
49
  });
46
50
  schema.index({ publicId: 1 });
@@ -4,6 +4,7 @@ export interface CityDocument extends mongoose.Document {
4
4
  externalName: string;
5
5
  publicId: string;
6
6
  slug: string;
7
+ description: string;
7
8
  }
8
9
  export declare const CityModel: (connection: mongoose.Connection) => mongoose.Model<CityDocument, {}, {}, {}, mongoose.Document<unknown, {}, CityDocument> & CityDocument & Required<{
9
10
  _id: unknown;
@@ -21,6 +21,10 @@ const schema = new mongoose_1.default.Schema({
21
21
  slug: {
22
22
  type: String,
23
23
  required: false
24
+ },
25
+ description: {
26
+ type: String,
27
+ required: false
24
28
  }
25
29
  });
26
30
  schema.index({ publicId: 1 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-flats/booking-engine-common-server",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",