@chevre/factory 4.172.0 → 4.173.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.
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IThing } from './thing';
|
|
2
2
|
import { UnitCode } from './unitCode';
|
|
3
3
|
export declare type QuantitativeValueType = 'QuantitativeValue';
|
|
4
|
+
export declare enum StringValue {
|
|
5
|
+
Infinity = "Infinity"
|
|
6
|
+
}
|
|
4
7
|
/**
|
|
5
8
|
* A point value or interval for product characteristics and other purposes.
|
|
6
9
|
* {@link https://schema.org/QuantitativeValue}
|
|
@@ -27,5 +30,5 @@ export interface IQuantitativeValue<T extends UnitCode> extends IThing {
|
|
|
27
30
|
/**
|
|
28
31
|
* The value of the quantitative value or property value node.
|
|
29
32
|
*/
|
|
30
|
-
value?: number;
|
|
33
|
+
value?: number | StringValue;
|
|
31
34
|
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StringValue = void 0;
|
|
4
|
+
var StringValue;
|
|
5
|
+
(function (StringValue) {
|
|
6
|
+
StringValue["Infinity"] = "Infinity";
|
|
7
|
+
})(StringValue = exports.StringValue || (exports.StringValue = {}));
|