@barchart/portfolio-api-common 1.0.29 → 1.0.31

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.
@@ -301,8 +301,7 @@ module.exports = (() => {
301
301
  .withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
302
302
  .withField('date', DataType.DAY)
303
303
  .withField('rate', DataType.DECIMAL)
304
- .withField('open', DataType.DECIMAL, true)
305
- .withField('effective', DataType.DAY, true)
304
+ .withField('effective', DataType.DAY)
306
305
  .withField('fee', DataType.DECIMAL, true)
307
306
  .schema
308
307
  );
@@ -313,8 +312,7 @@ module.exports = (() => {
313
312
  .withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
314
313
  .withField('date', DataType.DAY)
315
314
  .withField('rate', DataType.DECIMAL)
316
- .withField('open', DataType.DECIMAL, true)
317
- .withField('effective', DataType.DAY, true)
315
+ .withField('effective', DataType.DAY)
318
316
  .withField('price', DataType.DECIMAL)
319
317
  .withField('fee', DataType.DECIMAL, true)
320
318
  .schema
@@ -326,8 +324,7 @@ module.exports = (() => {
326
324
  .withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
327
325
  .withField('date', DataType.DAY)
328
326
  .withField('rate', DataType.DECIMAL)
329
- .withField('open', DataType.DECIMAL, true)
330
- .withField('effective', DataType.DAY, true)
327
+ .withField('effective', DataType.DAY)
331
328
  .withField('price', DataType.DECIMAL)
332
329
  .withField('fee', DataType.DECIMAL, true)
333
330
  .schema
@@ -339,8 +336,7 @@ module.exports = (() => {
339
336
  .withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
340
337
  .withField('date', DataType.DAY)
341
338
  .withField('rate', DataType.DECIMAL)
342
- .withField('open', DataType.DECIMAL, true)
343
- .withField('effective', DataType.DAY, true)
339
+ .withField('effective', DataType.DAY)
344
340
  .withField('fee', DataType.DECIMAL, true)
345
341
  .schema
346
342
  );
@@ -351,8 +347,8 @@ module.exports = (() => {
351
347
  .withField('type', DataType.forEnum(TransactionType, 'TransactionType'))
352
348
  .withField('date', DataType.DAY)
353
349
  .withField('rate', DataType.DECIMAL)
354
- .withField('open', DataType.DECIMAL, true)
355
- .withField('effective', DataType.DAY, true)
350
+ .withField('effective', DataType.DAY)
351
+ .withField('price', DataType.DECIMAL)
356
352
  .withField('fee', DataType.DECIMAL, true)
357
353
  .schema
358
354
  );
@@ -364,7 +360,7 @@ module.exports = (() => {
364
360
  .withField('date', DataType.DAY)
365
361
  .withField('numerator', DataType.DECIMAL)
366
362
  .withField('denominator', DataType.DECIMAL)
367
- .withField('effective', DataType.DAY, true)
363
+ .withField('effective', DataType.DAY
368
364
  .withField('fee', DataType.DECIMAL, true)
369
365
  .schema
370
366
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",