@positivegrid/pg-mongoose-schema 26.1.0 → 26.1.1

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.
Files changed (2) hide show
  1. package/models/preset.js +4 -1
  2. package/package.json +1 -1
package/models/preset.js CHANGED
@@ -237,7 +237,10 @@ module.exports = function (mongoose) {
237
237
  rating_count: { type: Number, default: 0 },
238
238
  image_url: { type: String },
239
239
  thumb_url: { type: String },
240
- signal_chain_type: { type: Number },
240
+ signal_chain_type: {
241
+ type: String,
242
+ enum: ['in1', 'in2']
243
+ },
241
244
  created_on: { type: Date, default: Date.now },
242
245
  updated_on: { type: Date, default: Date.now }
243
246
  }, { collection: 'jamup_preset', toJSON: { virtuals: true }, toObject: { virtuals: true } })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@positivegrid/pg-mongoose-schema",
3
- "version": "26.1.0",
3
+ "version": "26.1.1",
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",