@dynamatix/cat-shared 0.0.158 → 0.0.162

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.
@@ -87,6 +87,11 @@ const formfieldSchema = new mongoose.Schema({
87
87
  type: String,
88
88
  default: null
89
89
  },
90
+ contentProjectionPosition: {
91
+ type: String,
92
+ enum: ['before', 'after'],
93
+ default: null
94
+ },
90
95
  lookupDefaultValue: {
91
96
  lookupGroupName: { type: String },
92
97
  lookupName: { type: String }
@@ -103,6 +108,14 @@ const formfieldSchema = new mongoose.Schema({
103
108
  type: mongoose.Schema.Types.Mixed,
104
109
  default: null
105
110
  },
111
+ isCalculatedField: {
112
+ type: Boolean,
113
+ default: false
114
+ },
115
+ calculatedExpression: {
116
+ type: String,
117
+ default: null
118
+ },
106
119
  options: [optionSchema],
107
120
  section: {
108
121
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/cat-shared",
3
- "version": "0.0.158",
3
+ "version": "0.0.162",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",