@chevre/domain 21.9.0-alpha.4 → 21.9.0-alpha.5

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.
@@ -61,6 +61,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
61
61
  description?: any;
62
62
  itemOffered?: any;
63
63
  dateSynced?: Date | undefined;
64
+ relatedOffer?: any;
64
65
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
65
66
  typeOf: string;
66
67
  additionalProperty: any[];
@@ -72,6 +73,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
72
73
  description?: any;
73
74
  itemOffered?: any;
74
75
  dateSynced?: Date | undefined;
76
+ relatedOffer?: any;
75
77
  }>> & Omit<import("mongoose").FlatRecord<{
76
78
  typeOf: string;
77
79
  additionalProperty: any[];
@@ -83,6 +85,7 @@ declare const schema: Schema<any, import("mongoose").Model<any, any, any, any, a
83
85
  description?: any;
84
86
  itemOffered?: any;
85
87
  dateSynced?: Date | undefined;
88
+ relatedOffer?: any;
86
89
  }> & {
87
90
  _id: import("mongoose").Types.ObjectId;
88
91
  }, never>>;
@@ -10,7 +10,6 @@ exports.modelName = modelName;
10
10
  */
11
11
  const schema = new mongoose_1.Schema({
12
12
  project: mongoose_1.SchemaTypes.Mixed,
13
- // _id: String,
14
13
  identifier: {
15
14
  type: String,
16
15
  required: true
@@ -25,7 +24,8 @@ const schema = new mongoose_1.Schema({
25
24
  itemListElement: [mongoose_1.SchemaTypes.Mixed],
26
25
  itemOffered: mongoose_1.SchemaTypes.Mixed,
27
26
  additionalProperty: [mongoose_1.SchemaTypes.Mixed],
28
- dateSynced: Date
27
+ dateSynced: Date,
28
+ relatedOffer: mongoose_1.SchemaTypes.Mixed
29
29
  }, {
30
30
  collection: 'offerCatalogItems',
31
31
  id: true,
@@ -142,6 +142,7 @@ class MongoRepository {
142
142
  identifier: '$identifier',
143
143
  itemOffered: '$itemOffered',
144
144
  additionalProperty: '$additionalProperty',
145
+ relatedOffer: '$relatedOffer',
145
146
  numberOfItems: {
146
147
  $cond: {
147
148
  if: { $isArray: '$itemListElement' },
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "dependencies": {
12
- "@chevre/factory": "4.329.0",
12
+ "@chevre/factory": "4.330.0-alpha.0",
13
13
  "@cinerino/sdk": "3.167.0-alpha.9",
14
14
  "@motionpicture/coa-service": "9.2.0",
15
15
  "@motionpicture/gmo-service": "5.2.0",
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.9.0-alpha.4"
120
+ "version": "21.9.0-alpha.5"
121
121
  }