@positivegrid/pg-mongoose-schema 28.0.0-beta.5 → 28.0.0-beta.7

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.
package/dist/index.cjs CHANGED
@@ -4815,10 +4815,12 @@ function buildUser(mongoose) {
4815
4815
  type: String,
4816
4816
  required: true
4817
4817
  },
4818
+ description: { type: String },
4818
4819
  skus: {
4819
4820
  type: [String],
4820
4821
  default: []
4821
4822
  },
4823
+ collection_handle: { type: String },
4822
4824
  discount_percent: {
4823
4825
  type: Number,
4824
4826
  required: true
package/dist/index.d.mts CHANGED
@@ -188,7 +188,9 @@ interface IUserRewardHistory {
188
188
  }
189
189
  interface IRewardPointsRedeemList {
190
190
  name: string;
191
+ description?: string;
191
192
  skus: string[];
193
+ collection_handle?: string;
192
194
  discount_percent: number;
193
195
  points_required: number;
194
196
  created_on: Date;
package/dist/index.mjs CHANGED
@@ -4787,10 +4787,12 @@ function buildUser(mongoose) {
4787
4787
  type: String,
4788
4788
  required: true
4789
4789
  },
4790
+ description: { type: String },
4790
4791
  skus: {
4791
4792
  type: [String],
4792
4793
  default: []
4793
4794
  },
4795
+ collection_handle: { type: String },
4794
4796
  discount_percent: {
4795
4797
  type: Number,
4796
4798
  required: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@positivegrid/pg-mongoose-schema",
3
- "version": "28.0.0-beta.5",
3
+ "version": "28.0.0-beta.7",
4
4
  "description": "Positive Grid mongoose schema",
5
5
  "author": "Ferrari Lee <shiyung@positivegrid.com>",
6
6
  "homepage": "https://git.positivegrid.com:8443/backend/pg-mongoose-schema",