@dhyasama/totem-models 11.143.0 → 11.145.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.
- package/lib/Financials.js +25 -7
- package/package.json +1 -1
package/lib/Financials.js
CHANGED
|
@@ -133,9 +133,15 @@ module.exports = function(mongoose, config) {
|
|
|
133
133
|
width: { type: Number },
|
|
134
134
|
height: { type: Number }
|
|
135
135
|
},
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
sheet: { type: String },
|
|
137
|
+
header: {
|
|
138
|
+
row: { type: Number },
|
|
139
|
+
column: { type: Number }
|
|
140
|
+
},
|
|
141
|
+
cell: {
|
|
142
|
+
row: { type: Number },
|
|
143
|
+
column: { type: Number }
|
|
144
|
+
}
|
|
139
145
|
}
|
|
140
146
|
}],
|
|
141
147
|
verified: { type: Boolean, default: false },
|
|
@@ -157,10 +163,22 @@ module.exports = function(mongoose, config) {
|
|
|
157
163
|
position: {
|
|
158
164
|
_id: false,
|
|
159
165
|
page: { type: Number },
|
|
160
|
-
bbox: {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
166
|
+
bbox: {
|
|
167
|
+
_id: false,
|
|
168
|
+
top: { type: Number },
|
|
169
|
+
left: { type: Number },
|
|
170
|
+
width: { type: Number },
|
|
171
|
+
height: { type: Number }
|
|
172
|
+
},
|
|
173
|
+
sheet: { type: String },
|
|
174
|
+
header: {
|
|
175
|
+
row: { type: Number },
|
|
176
|
+
column: { type: Number }
|
|
177
|
+
},
|
|
178
|
+
cell: {
|
|
179
|
+
row: { type: Number },
|
|
180
|
+
column: { type: Number }
|
|
181
|
+
}
|
|
164
182
|
}
|
|
165
183
|
}],
|
|
166
184
|
verified: { type: Boolean },
|