@barchart/portfolio-api-common 1.0.20 → 1.0.21

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.
@@ -81,7 +81,7 @@ module.exports = (() => {
81
81
  .withField('legacy.warnings', DataType.NUMBER, true)
82
82
  .withField('legacy.drops', DataType.NUMBER, true)
83
83
  .withField('system.version', DataType.NUMBER, true)
84
- .withField('data', DataType.OBJECT, true)
84
+ .withField('miscellany', DataType.AD_HOC, true)
85
85
  .schema
86
86
  );
87
87
 
@@ -93,7 +93,7 @@ module.exports = (() => {
93
93
  .withField('defaults.currency', DataType.forEnum(Currency, 'Currency'))
94
94
  .withField('defaults.reinvest', DataType.BOOLEAN, true)
95
95
  .withField('defaults.valuation', DataType.forEnum(ValuationType, 'ValuationType'))
96
- .withField('data', DataType.OBJECT, true)
96
+ .withField('miscellany', DataType.AD_HOC, true)
97
97
  .schema
98
98
  );
99
99
 
@@ -104,7 +104,7 @@ module.exports = (() => {
104
104
  .withField('defaults.currency', DataType.forEnum(Currency, 'Currency'))
105
105
  .withField('defaults.reinvest', DataType.BOOLEAN, true)
106
106
  .withField('defaults.valuation', DataType.forEnum(ValuationType, 'ValuationType'))
107
- .withField('data', DataType.OBJECT, true)
107
+ .withField('miscellany', DataType.AD_HOC, true)
108
108
  .schema
109
109
  );
110
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",