@dhyasama/totem-models 11.141.0 → 11.142.0

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/lib/Financials.js +18 -0
  2. package/package.json +1 -1
package/lib/Financials.js CHANGED
@@ -135,6 +135,24 @@ module.exports = function(mongoose, config) {
135
135
  row: { type: Number },
136
136
  col: { type: Number },
137
137
  sheet: { type: String }
138
+ },
139
+ calculation: {
140
+ _id: false,
141
+ description: { type: String, trim: true },
142
+ positions: [{
143
+ _id: false,
144
+ page: { type: Number },
145
+ bbox: {
146
+ _id: false,
147
+ top: { type: Number },
148
+ left: { type: Number },
149
+ width: { type: Number },
150
+ height: { type: Number }
151
+ },
152
+ row: { type: Number },
153
+ col: { type: Number },
154
+ sheet: { type: String }
155
+ }]
138
156
  }
139
157
  },
140
158
  verified: { type: Boolean, default: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.141.0",
3
+ "version": "11.142.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",