@kipicore/dbcore 1.1.447 → 1.1.448

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.
@@ -35,4 +35,5 @@ export interface IOfferAndDiscountModelAttributes extends IDefaultAttributes, Do
35
35
  needApproval: boolean;
36
36
  userId: string;
37
37
  status: OFFER_COMMAND_STATUS;
38
+ parentOfferId?: string;
38
39
  }
@@ -124,6 +124,9 @@ const OfferAndDiscountSchema = new mongoose_1.Schema({
124
124
  usedCount: {
125
125
  type: Number,
126
126
  },
127
+ parentOfferId: {
128
+ type: String,
129
+ },
127
130
  whoCanOfferApply: { type: [String], default: [] },
128
131
  paymentMode: { type: [String], default: [] },
129
132
  conditions: [ConditionSchema],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.447",
3
+ "version": "1.1.448",
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",