@dynamatix/cat-shared 0.0.30 → 0.0.32

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.
@@ -57,8 +57,8 @@ const formfieldSchema = new mongoose.Schema({
57
57
  default: null
58
58
  },
59
59
  options: [{
60
- key: mongoose.Schema.Types.Number | String,
61
- value: mongoose.Schema.Types.String | Number,
60
+ key: { type: [mongoose.Schema.Types.Number, mongoose.Schema.Types.String] },
61
+ value: { type: [mongoose.Schema.Types.String, mongoose.Schema.Types.Number] },
62
62
  }],
63
63
  section: {
64
64
  type: String,
@@ -175,4 +175,4 @@ const formConfigurationSchema = new mongoose.Schema({
175
175
 
176
176
  const FormConfigurationModel = mongoose.model('FormConfiguration', formConfigurationSchema);
177
177
 
178
- export default FormConfigurationModel;
178
+ export default FormConfigurationModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"