@dynamatix/cat-shared 0.0.19 → 0.0.20

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.
@@ -60,6 +60,9 @@ const formfieldSchema = new mongoose.Schema({
60
60
  type: String,
61
61
  default: null
62
62
  },
63
+ uiHint: {
64
+ type: String
65
+ },
63
66
  list:{
64
67
  type: {
65
68
  name: {
@@ -153,6 +156,6 @@ const formConfigurationSchema = new mongoose.Schema({
153
156
  }
154
157
  }, { timestamps: true });
155
158
 
156
- const FormConfiguration = mongoose.model('FormConfiguration', formConfigurationSchema);
159
+ const FormConfigurationModel = mongoose.model('FormConfiguration', formConfigurationSchema);
157
160
 
158
- module.exports = FormConfiguration;
161
+ export default FormConfigurationModel;
package/models/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default as AuditConfigModel } from './audit-config.model.js';
2
2
  export { default as AuditModel } from './audit.model.js';
3
- export { default as ValueReferenceMapModel } from './value-reference-map.model.js';
3
+ export { default as ValueReferenceMapModel } from './value-reference-map.model.js';
4
+ export { default as FormConfigurationModel } from './forms/form-configuration.model.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"