Closed florian-h05 closed 1 year ago
Fixes #231.
This adds two new properties to the Item class:
numericState
quantityState
The JS HistoricItem is extended with the quantityState as well.
HistoricItem
@digitaldan Please don't merge, type def and CHANGELOG updates are missing.
@digitaldan This is ready for merging now. I will leave the merging to you so you can answer to my answer above.
Fixes #231.
This adds two new properties to the Item class:
numericState
: the Item state as float or null if not a numberquantityState
: the Item state as JS Quantity or null if the state is not Quantity-compatibleThe JS
HistoricItem
is extended with thequantityState
as well.@digitaldan Please don't merge, type def and CHANGELOG updates are missing.