@dhyasama/totem-models 12.30.0 → 12.31.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 CHANGED
@@ -155,7 +155,9 @@ module.exports = function(mongoose, config) {
155
155
  _id: false,
156
156
  timestamp: { type: Date, required: true, default: Date.now },
157
157
  user: { type: String, trim: true, required: true },
158
- action: { type: String, enum: ['updated', 'deleted', 'verified'], required: true },
158
+ // 'confirmed' = a re-extraction found the identical value: freshness signal only,
159
+ // never a change — it does not touch value or verified state.
160
+ action: { type: String, enum: ['updated', 'deleted', 'verified', 'confirmed'], required: true },
159
161
  }],
160
162
  previous: {
161
163
  _id: false,
@@ -195,7 +197,7 @@ module.exports = function(mongoose, config) {
195
197
  _id: false,
196
198
  timestamp: { type: Date },
197
199
  user: { type: String, trim: true },
198
- action: { type: String, enum: ['updated', 'deleted', 'verified'] },
200
+ action: { type: String, enum: ['updated', 'deleted', 'verified', 'confirmed'] },
199
201
  }]
200
202
  }
201
203
  }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "12.30.0",
3
+ "version": "12.31.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",