@trackunit/iris-app-runtime-core-api 0.3.145 → 0.3.146
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/index.cjs.js +113 -42
- package/index.esm.js +113 -43
- package/package.json +1 -1
- package/src/CustomFieldRuntime.d.ts +121 -44
package/index.cjs.js
CHANGED
@@ -14,51 +14,121 @@ const customFieldType = {
|
|
14
14
|
STRING: "STRING",
|
15
15
|
WEB_ADDRESS: "WEB_ADDRESS",
|
16
16
|
};
|
17
|
+
const UnitOfMeasurement = {
|
18
|
+
NEWTON: "NEWTON",
|
19
|
+
PASCAL: "PASCAL",
|
20
|
+
KILOPASCAL: "KILOPASCAL",
|
21
|
+
WATT: "WATT",
|
22
|
+
BAR: "BAR",
|
23
|
+
CENTIMETRE: "CENTIMETRE",
|
24
|
+
MILLIMETRE: "MILLIMETRE",
|
25
|
+
METRE: "METRE",
|
26
|
+
KILOMETRE: "KILOMETRE",
|
27
|
+
GRAM: "GRAM",
|
28
|
+
KILOGRAM: "KILOGRAM",
|
29
|
+
VOLT: "VOLT",
|
30
|
+
AMPERE_HOUR: "AMPERE_HOUR",
|
31
|
+
KILOWATT: "KILOWATT",
|
32
|
+
KILOWATT_HOUR: "KILOWATT_HOUR",
|
33
|
+
KILOGRAM_PER_HOUR: "KILOGRAM_PER_HOUR",
|
34
|
+
KILOGRAM_PER_SECOND: "KILOGRAM_PER_SECOND",
|
35
|
+
SQUARE_KILOMETRE: "SQUARE_KILOMETRE",
|
36
|
+
KILOMETRE_PER_HOUR: "KILOMETRE_PER_HOUR",
|
37
|
+
LITRE: "LITRE",
|
38
|
+
SQUARE_METRE: "SQUARE_METRE",
|
39
|
+
CUBIC_METRE: "CUBIC_METRE",
|
40
|
+
METRE_PER_SECOND: "METRE_PER_SECOND",
|
41
|
+
METRE_PER_SECOND_SQUARED: "METRE_PER_SECOND_SQUARED",
|
42
|
+
METRIC_TON: "METRIC_TON",
|
43
|
+
ARE: "ARE",
|
44
|
+
HECTARE: "HECTARE",
|
45
|
+
YEAR: "YEAR",
|
46
|
+
MONTH: "MONTH",
|
47
|
+
DAY: "DAY",
|
48
|
+
HOUR: "HOUR",
|
49
|
+
LITRES_PER_HOUR: "LITRES_PER_HOUR",
|
50
|
+
REVOLUTIONS_PER_MINUTE: "REVOLUTIONS_PER_MINUTE",
|
51
|
+
VOLT_AMPERE: "VOLT_AMPERE",
|
52
|
+
G_FORCE: "G_FORCE",
|
53
|
+
CELSIUS: "CELSIUS",
|
54
|
+
PERCENT: "PERCENT",
|
55
|
+
DEGREE_ANGLE: "DEGREE_ANGLE",
|
56
|
+
MILLISECOND: "MILLISECOND",
|
57
|
+
SECOND: "SECOND",
|
58
|
+
MINUTE: "MINUTE",
|
59
|
+
WEEK: "WEEK",
|
60
|
+
AMPERE: "AMPERE",
|
61
|
+
HERTZ: "HERTZ",
|
62
|
+
ACRE: "ACRE",
|
63
|
+
FOOT: "FOOT",
|
64
|
+
SQUARE_FOOT: "SQUARE_FOOT",
|
65
|
+
CUBIC_FOOT: "CUBIC_FOOT",
|
66
|
+
GALLON_LIQUID: "GALLON_LIQUID",
|
67
|
+
INCH: "INCH",
|
68
|
+
POUND: "POUND",
|
69
|
+
POUND_PER_HOUR: "POUND_PER_HOUR",
|
70
|
+
POUND_PER_SECOND: "POUND_PER_SECOND",
|
71
|
+
MILE: "MILE",
|
72
|
+
MILE_PER_HOUR: "MILE_PER_HOUR",
|
73
|
+
OUNCE: "OUNCE",
|
74
|
+
US_TON: "US_TON",
|
75
|
+
YARD: "YARD",
|
76
|
+
POUND_PER_SQUARE_INCH: "POUND_PER_SQUARE_INCH",
|
77
|
+
INCHES_OF_WATER: "INCHES_OF_WATER",
|
78
|
+
GALLONS_PER_HOUR: "GALLONS_PER_HOUR",
|
79
|
+
FAHRENHEIT: "FAHRENHEIT",
|
80
|
+
};
|
81
|
+
/**
|
82
|
+
* @deprecated Use UnitOfMeasurement instead
|
83
|
+
*/
|
17
84
|
const UnitUs = {
|
18
|
-
acre: "
|
19
|
-
foot: "
|
20
|
-
square_foot: "
|
21
|
-
cubic_foot: "
|
22
|
-
gallon_liquid: "
|
23
|
-
inch: "
|
24
|
-
pound: "
|
25
|
-
pound_per_hour: "
|
26
|
-
pound_per_second: "
|
27
|
-
mile: "
|
28
|
-
mile_per_hour: "
|
29
|
-
ounce: "
|
30
|
-
ton_us: "
|
31
|
-
yard: "
|
32
|
-
pound_per_square_inch: "
|
85
|
+
acre: "ACRE",
|
86
|
+
foot: "FOOT",
|
87
|
+
square_foot: "SQUARE_FOOT",
|
88
|
+
cubic_foot: "CUBIC_FOOT",
|
89
|
+
gallon_liquid: "GALLON_LIQUID",
|
90
|
+
inch: "INCH",
|
91
|
+
pound: "POUND",
|
92
|
+
pound_per_hour: "POUND_PER_HOUR",
|
93
|
+
pound_per_second: "POUND_PER_SECOND",
|
94
|
+
mile: "MILE",
|
95
|
+
mile_per_hour: "MILE_PER_HOUR",
|
96
|
+
ounce: "OUNCE",
|
97
|
+
ton_us: "US_TON",
|
98
|
+
yard: "YARD",
|
99
|
+
pound_per_square_inch: "POUND_PER_SQUARE_INCH",
|
33
100
|
};
|
101
|
+
/**
|
102
|
+
* @deprecated Use UnitOfMeasurement instead
|
103
|
+
*/
|
34
104
|
const UnitSi = {
|
35
|
-
newton: "
|
36
|
-
pascal: "
|
37
|
-
kilopascal: "
|
38
|
-
amperehour: "
|
39
|
-
volt: "
|
40
|
-
watt: "
|
41
|
-
bar: "
|
42
|
-
centimetre: "
|
43
|
-
millimetre: "
|
44
|
-
metre: "
|
45
|
-
kilometre: "
|
46
|
-
gram: "
|
47
|
-
kilogram: "
|
48
|
-
kilowatt: "
|
49
|
-
kilowatthour: "
|
50
|
-
kilogram_per_hour: "
|
51
|
-
kilogram_per_second: "
|
52
|
-
square_kilometre: "
|
53
|
-
kilometre_per_hour: "
|
54
|
-
litre: "
|
55
|
-
square_metre: "
|
56
|
-
cubic_metre: "
|
57
|
-
metre_per_second: "
|
58
|
-
metre_per_second_squared: "
|
59
|
-
ton: "
|
60
|
-
hectare: "
|
61
|
-
hour: "
|
105
|
+
newton: "NEWTON",
|
106
|
+
pascal: "PASCAL",
|
107
|
+
kilopascal: "KILOPASCAL",
|
108
|
+
amperehour: "AMPERE_HOUR",
|
109
|
+
volt: "VOLT",
|
110
|
+
watt: "WATT",
|
111
|
+
bar: "BAR",
|
112
|
+
centimetre: "CENTIMETRE",
|
113
|
+
millimetre: "MILLIMETRE",
|
114
|
+
metre: "METRE",
|
115
|
+
kilometre: "KILOMETRE",
|
116
|
+
gram: "GRAM",
|
117
|
+
kilogram: "KILOGRAM",
|
118
|
+
kilowatt: "KILOWATT",
|
119
|
+
kilowatthour: "KILOWATT_HOUR",
|
120
|
+
kilogram_per_hour: "KILOGRAM_PER_HOUR",
|
121
|
+
kilogram_per_second: "KILOGRAM_PER_SECOND",
|
122
|
+
square_kilometre: "SQUARE_KILOMETRE",
|
123
|
+
kilometre_per_hour: "KILOMETRE_PER_HOUR",
|
124
|
+
litre: "LITRE",
|
125
|
+
square_metre: "SQUARE_METRE",
|
126
|
+
cubic_metre: "CUBIC_METRE",
|
127
|
+
metre_per_second: "METRE_PER_SECOND",
|
128
|
+
metre_per_second_squared: "METRE_PER_SECOND_SQUARED",
|
129
|
+
ton: "TON",
|
130
|
+
hectare: "HECTARE",
|
131
|
+
hour: "HOUR",
|
62
132
|
};
|
63
133
|
|
64
134
|
exports.BodyType = void 0;
|
@@ -67,6 +137,7 @@ exports.BodyType = void 0;
|
|
67
137
|
BodyType[BodyType["FormData"] = 1] = "FormData";
|
68
138
|
})(exports.BodyType || (exports.BodyType = {}));
|
69
139
|
|
140
|
+
exports.UnitOfMeasurement = UnitOfMeasurement;
|
70
141
|
exports.UnitSi = UnitSi;
|
71
142
|
exports.UnitUs = UnitUs;
|
72
143
|
exports.customFieldType = customFieldType;
|
package/index.esm.js
CHANGED
@@ -10,51 +10,121 @@ const customFieldType = {
|
|
10
10
|
STRING: "STRING",
|
11
11
|
WEB_ADDRESS: "WEB_ADDRESS",
|
12
12
|
};
|
13
|
+
const UnitOfMeasurement = {
|
14
|
+
NEWTON: "NEWTON",
|
15
|
+
PASCAL: "PASCAL",
|
16
|
+
KILOPASCAL: "KILOPASCAL",
|
17
|
+
WATT: "WATT",
|
18
|
+
BAR: "BAR",
|
19
|
+
CENTIMETRE: "CENTIMETRE",
|
20
|
+
MILLIMETRE: "MILLIMETRE",
|
21
|
+
METRE: "METRE",
|
22
|
+
KILOMETRE: "KILOMETRE",
|
23
|
+
GRAM: "GRAM",
|
24
|
+
KILOGRAM: "KILOGRAM",
|
25
|
+
VOLT: "VOLT",
|
26
|
+
AMPERE_HOUR: "AMPERE_HOUR",
|
27
|
+
KILOWATT: "KILOWATT",
|
28
|
+
KILOWATT_HOUR: "KILOWATT_HOUR",
|
29
|
+
KILOGRAM_PER_HOUR: "KILOGRAM_PER_HOUR",
|
30
|
+
KILOGRAM_PER_SECOND: "KILOGRAM_PER_SECOND",
|
31
|
+
SQUARE_KILOMETRE: "SQUARE_KILOMETRE",
|
32
|
+
KILOMETRE_PER_HOUR: "KILOMETRE_PER_HOUR",
|
33
|
+
LITRE: "LITRE",
|
34
|
+
SQUARE_METRE: "SQUARE_METRE",
|
35
|
+
CUBIC_METRE: "CUBIC_METRE",
|
36
|
+
METRE_PER_SECOND: "METRE_PER_SECOND",
|
37
|
+
METRE_PER_SECOND_SQUARED: "METRE_PER_SECOND_SQUARED",
|
38
|
+
METRIC_TON: "METRIC_TON",
|
39
|
+
ARE: "ARE",
|
40
|
+
HECTARE: "HECTARE",
|
41
|
+
YEAR: "YEAR",
|
42
|
+
MONTH: "MONTH",
|
43
|
+
DAY: "DAY",
|
44
|
+
HOUR: "HOUR",
|
45
|
+
LITRES_PER_HOUR: "LITRES_PER_HOUR",
|
46
|
+
REVOLUTIONS_PER_MINUTE: "REVOLUTIONS_PER_MINUTE",
|
47
|
+
VOLT_AMPERE: "VOLT_AMPERE",
|
48
|
+
G_FORCE: "G_FORCE",
|
49
|
+
CELSIUS: "CELSIUS",
|
50
|
+
PERCENT: "PERCENT",
|
51
|
+
DEGREE_ANGLE: "DEGREE_ANGLE",
|
52
|
+
MILLISECOND: "MILLISECOND",
|
53
|
+
SECOND: "SECOND",
|
54
|
+
MINUTE: "MINUTE",
|
55
|
+
WEEK: "WEEK",
|
56
|
+
AMPERE: "AMPERE",
|
57
|
+
HERTZ: "HERTZ",
|
58
|
+
ACRE: "ACRE",
|
59
|
+
FOOT: "FOOT",
|
60
|
+
SQUARE_FOOT: "SQUARE_FOOT",
|
61
|
+
CUBIC_FOOT: "CUBIC_FOOT",
|
62
|
+
GALLON_LIQUID: "GALLON_LIQUID",
|
63
|
+
INCH: "INCH",
|
64
|
+
POUND: "POUND",
|
65
|
+
POUND_PER_HOUR: "POUND_PER_HOUR",
|
66
|
+
POUND_PER_SECOND: "POUND_PER_SECOND",
|
67
|
+
MILE: "MILE",
|
68
|
+
MILE_PER_HOUR: "MILE_PER_HOUR",
|
69
|
+
OUNCE: "OUNCE",
|
70
|
+
US_TON: "US_TON",
|
71
|
+
YARD: "YARD",
|
72
|
+
POUND_PER_SQUARE_INCH: "POUND_PER_SQUARE_INCH",
|
73
|
+
INCHES_OF_WATER: "INCHES_OF_WATER",
|
74
|
+
GALLONS_PER_HOUR: "GALLONS_PER_HOUR",
|
75
|
+
FAHRENHEIT: "FAHRENHEIT",
|
76
|
+
};
|
77
|
+
/**
|
78
|
+
* @deprecated Use UnitOfMeasurement instead
|
79
|
+
*/
|
13
80
|
const UnitUs = {
|
14
|
-
acre: "
|
15
|
-
foot: "
|
16
|
-
square_foot: "
|
17
|
-
cubic_foot: "
|
18
|
-
gallon_liquid: "
|
19
|
-
inch: "
|
20
|
-
pound: "
|
21
|
-
pound_per_hour: "
|
22
|
-
pound_per_second: "
|
23
|
-
mile: "
|
24
|
-
mile_per_hour: "
|
25
|
-
ounce: "
|
26
|
-
ton_us: "
|
27
|
-
yard: "
|
28
|
-
pound_per_square_inch: "
|
81
|
+
acre: "ACRE",
|
82
|
+
foot: "FOOT",
|
83
|
+
square_foot: "SQUARE_FOOT",
|
84
|
+
cubic_foot: "CUBIC_FOOT",
|
85
|
+
gallon_liquid: "GALLON_LIQUID",
|
86
|
+
inch: "INCH",
|
87
|
+
pound: "POUND",
|
88
|
+
pound_per_hour: "POUND_PER_HOUR",
|
89
|
+
pound_per_second: "POUND_PER_SECOND",
|
90
|
+
mile: "MILE",
|
91
|
+
mile_per_hour: "MILE_PER_HOUR",
|
92
|
+
ounce: "OUNCE",
|
93
|
+
ton_us: "US_TON",
|
94
|
+
yard: "YARD",
|
95
|
+
pound_per_square_inch: "POUND_PER_SQUARE_INCH",
|
29
96
|
};
|
97
|
+
/**
|
98
|
+
* @deprecated Use UnitOfMeasurement instead
|
99
|
+
*/
|
30
100
|
const UnitSi = {
|
31
|
-
newton: "
|
32
|
-
pascal: "
|
33
|
-
kilopascal: "
|
34
|
-
amperehour: "
|
35
|
-
volt: "
|
36
|
-
watt: "
|
37
|
-
bar: "
|
38
|
-
centimetre: "
|
39
|
-
millimetre: "
|
40
|
-
metre: "
|
41
|
-
kilometre: "
|
42
|
-
gram: "
|
43
|
-
kilogram: "
|
44
|
-
kilowatt: "
|
45
|
-
kilowatthour: "
|
46
|
-
kilogram_per_hour: "
|
47
|
-
kilogram_per_second: "
|
48
|
-
square_kilometre: "
|
49
|
-
kilometre_per_hour: "
|
50
|
-
litre: "
|
51
|
-
square_metre: "
|
52
|
-
cubic_metre: "
|
53
|
-
metre_per_second: "
|
54
|
-
metre_per_second_squared: "
|
55
|
-
ton: "
|
56
|
-
hectare: "
|
57
|
-
hour: "
|
101
|
+
newton: "NEWTON",
|
102
|
+
pascal: "PASCAL",
|
103
|
+
kilopascal: "KILOPASCAL",
|
104
|
+
amperehour: "AMPERE_HOUR",
|
105
|
+
volt: "VOLT",
|
106
|
+
watt: "WATT",
|
107
|
+
bar: "BAR",
|
108
|
+
centimetre: "CENTIMETRE",
|
109
|
+
millimetre: "MILLIMETRE",
|
110
|
+
metre: "METRE",
|
111
|
+
kilometre: "KILOMETRE",
|
112
|
+
gram: "GRAM",
|
113
|
+
kilogram: "KILOGRAM",
|
114
|
+
kilowatt: "KILOWATT",
|
115
|
+
kilowatthour: "KILOWATT_HOUR",
|
116
|
+
kilogram_per_hour: "KILOGRAM_PER_HOUR",
|
117
|
+
kilogram_per_second: "KILOGRAM_PER_SECOND",
|
118
|
+
square_kilometre: "SQUARE_KILOMETRE",
|
119
|
+
kilometre_per_hour: "KILOMETRE_PER_HOUR",
|
120
|
+
litre: "LITRE",
|
121
|
+
square_metre: "SQUARE_METRE",
|
122
|
+
cubic_metre: "CUBIC_METRE",
|
123
|
+
metre_per_second: "METRE_PER_SECOND",
|
124
|
+
metre_per_second_squared: "METRE_PER_SECOND_SQUARED",
|
125
|
+
ton: "TON",
|
126
|
+
hectare: "HECTARE",
|
127
|
+
hour: "HOUR",
|
58
128
|
};
|
59
129
|
|
60
130
|
var BodyType;
|
@@ -63,4 +133,4 @@ var BodyType;
|
|
63
133
|
BodyType[BodyType["FormData"] = 1] = "FormData";
|
64
134
|
})(BodyType || (BodyType = {}));
|
65
135
|
|
66
|
-
export { BodyType, UnitSi, UnitUs, customFieldType };
|
136
|
+
export { BodyType, UnitOfMeasurement, UnitSi, UnitUs, customFieldType };
|
package/package.json
CHANGED
@@ -67,59 +67,136 @@ export type DropDownFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
|
67
67
|
allValues?: string[] | null;
|
68
68
|
type: "DROPDOWN";
|
69
69
|
};
|
70
|
+
export declare const UnitOfMeasurement: {
|
71
|
+
readonly NEWTON: "NEWTON";
|
72
|
+
readonly PASCAL: "PASCAL";
|
73
|
+
readonly KILOPASCAL: "KILOPASCAL";
|
74
|
+
readonly WATT: "WATT";
|
75
|
+
readonly BAR: "BAR";
|
76
|
+
readonly CENTIMETRE: "CENTIMETRE";
|
77
|
+
readonly MILLIMETRE: "MILLIMETRE";
|
78
|
+
readonly METRE: "METRE";
|
79
|
+
readonly KILOMETRE: "KILOMETRE";
|
80
|
+
readonly GRAM: "GRAM";
|
81
|
+
readonly KILOGRAM: "KILOGRAM";
|
82
|
+
readonly VOLT: "VOLT";
|
83
|
+
readonly AMPERE_HOUR: "AMPERE_HOUR";
|
84
|
+
readonly KILOWATT: "KILOWATT";
|
85
|
+
readonly KILOWATT_HOUR: "KILOWATT_HOUR";
|
86
|
+
readonly KILOGRAM_PER_HOUR: "KILOGRAM_PER_HOUR";
|
87
|
+
readonly KILOGRAM_PER_SECOND: "KILOGRAM_PER_SECOND";
|
88
|
+
readonly SQUARE_KILOMETRE: "SQUARE_KILOMETRE";
|
89
|
+
readonly KILOMETRE_PER_HOUR: "KILOMETRE_PER_HOUR";
|
90
|
+
readonly LITRE: "LITRE";
|
91
|
+
readonly SQUARE_METRE: "SQUARE_METRE";
|
92
|
+
readonly CUBIC_METRE: "CUBIC_METRE";
|
93
|
+
readonly METRE_PER_SECOND: "METRE_PER_SECOND";
|
94
|
+
readonly METRE_PER_SECOND_SQUARED: "METRE_PER_SECOND_SQUARED";
|
95
|
+
readonly METRIC_TON: "METRIC_TON";
|
96
|
+
readonly ARE: "ARE";
|
97
|
+
readonly HECTARE: "HECTARE";
|
98
|
+
readonly YEAR: "YEAR";
|
99
|
+
readonly MONTH: "MONTH";
|
100
|
+
readonly DAY: "DAY";
|
101
|
+
readonly HOUR: "HOUR";
|
102
|
+
readonly LITRES_PER_HOUR: "LITRES_PER_HOUR";
|
103
|
+
readonly REVOLUTIONS_PER_MINUTE: "REVOLUTIONS_PER_MINUTE";
|
104
|
+
readonly VOLT_AMPERE: "VOLT_AMPERE";
|
105
|
+
readonly G_FORCE: "G_FORCE";
|
106
|
+
readonly CELSIUS: "CELSIUS";
|
107
|
+
readonly PERCENT: "PERCENT";
|
108
|
+
readonly DEGREE_ANGLE: "DEGREE_ANGLE";
|
109
|
+
readonly MILLISECOND: "MILLISECOND";
|
110
|
+
readonly SECOND: "SECOND";
|
111
|
+
readonly MINUTE: "MINUTE";
|
112
|
+
readonly WEEK: "WEEK";
|
113
|
+
readonly AMPERE: "AMPERE";
|
114
|
+
readonly HERTZ: "HERTZ";
|
115
|
+
readonly ACRE: "ACRE";
|
116
|
+
readonly FOOT: "FOOT";
|
117
|
+
readonly SQUARE_FOOT: "SQUARE_FOOT";
|
118
|
+
readonly CUBIC_FOOT: "CUBIC_FOOT";
|
119
|
+
readonly GALLON_LIQUID: "GALLON_LIQUID";
|
120
|
+
readonly INCH: "INCH";
|
121
|
+
readonly POUND: "POUND";
|
122
|
+
readonly POUND_PER_HOUR: "POUND_PER_HOUR";
|
123
|
+
readonly POUND_PER_SECOND: "POUND_PER_SECOND";
|
124
|
+
readonly MILE: "MILE";
|
125
|
+
readonly MILE_PER_HOUR: "MILE_PER_HOUR";
|
126
|
+
readonly OUNCE: "OUNCE";
|
127
|
+
readonly US_TON: "US_TON";
|
128
|
+
readonly YARD: "YARD";
|
129
|
+
readonly POUND_PER_SQUARE_INCH: "POUND_PER_SQUARE_INCH";
|
130
|
+
readonly INCHES_OF_WATER: "INCHES_OF_WATER";
|
131
|
+
readonly GALLONS_PER_HOUR: "GALLONS_PER_HOUR";
|
132
|
+
readonly FAHRENHEIT: "FAHRENHEIT";
|
133
|
+
};
|
134
|
+
export type UnitOfMeasurementType = (typeof UnitOfMeasurement)[keyof typeof UnitOfMeasurement];
|
135
|
+
/**
|
136
|
+
* @deprecated Use UnitOfMeasurement instead
|
137
|
+
*/
|
70
138
|
export declare const UnitUs: {
|
71
|
-
readonly acre: "
|
72
|
-
readonly foot: "
|
73
|
-
readonly square_foot: "
|
74
|
-
readonly cubic_foot: "
|
75
|
-
readonly gallon_liquid: "
|
76
|
-
readonly inch: "
|
77
|
-
readonly pound: "
|
78
|
-
readonly pound_per_hour: "
|
79
|
-
readonly pound_per_second: "
|
80
|
-
readonly mile: "
|
81
|
-
readonly mile_per_hour: "
|
82
|
-
readonly ounce: "
|
83
|
-
readonly ton_us: "
|
84
|
-
readonly yard: "
|
85
|
-
readonly pound_per_square_inch: "
|
139
|
+
readonly acre: "ACRE";
|
140
|
+
readonly foot: "FOOT";
|
141
|
+
readonly square_foot: "SQUARE_FOOT";
|
142
|
+
readonly cubic_foot: "CUBIC_FOOT";
|
143
|
+
readonly gallon_liquid: "GALLON_LIQUID";
|
144
|
+
readonly inch: "INCH";
|
145
|
+
readonly pound: "POUND";
|
146
|
+
readonly pound_per_hour: "POUND_PER_HOUR";
|
147
|
+
readonly pound_per_second: "POUND_PER_SECOND";
|
148
|
+
readonly mile: "MILE";
|
149
|
+
readonly mile_per_hour: "MILE_PER_HOUR";
|
150
|
+
readonly ounce: "OUNCE";
|
151
|
+
readonly ton_us: "US_TON";
|
152
|
+
readonly yard: "YARD";
|
153
|
+
readonly pound_per_square_inch: "POUND_PER_SQUARE_INCH";
|
86
154
|
};
|
155
|
+
/**
|
156
|
+
* @deprecated Use UnitOfMeasurementType instead
|
157
|
+
*/
|
87
158
|
export type UnitUsType = (typeof UnitUs)[keyof typeof UnitUs];
|
159
|
+
/**
|
160
|
+
* @deprecated Use UnitOfMeasurement instead
|
161
|
+
*/
|
88
162
|
export declare const UnitSi: {
|
89
|
-
readonly newton: "
|
90
|
-
readonly pascal: "
|
91
|
-
readonly kilopascal: "
|
92
|
-
readonly amperehour: "
|
93
|
-
readonly volt: "
|
94
|
-
readonly watt: "
|
95
|
-
readonly bar: "
|
96
|
-
readonly centimetre: "
|
97
|
-
readonly millimetre: "
|
98
|
-
readonly metre: "
|
99
|
-
readonly kilometre: "
|
100
|
-
readonly gram: "
|
101
|
-
readonly kilogram: "
|
102
|
-
readonly kilowatt: "
|
103
|
-
readonly kilowatthour: "
|
104
|
-
readonly kilogram_per_hour: "
|
105
|
-
readonly kilogram_per_second: "
|
106
|
-
readonly square_kilometre: "
|
107
|
-
readonly kilometre_per_hour: "
|
108
|
-
readonly litre: "
|
109
|
-
readonly square_metre: "
|
110
|
-
readonly cubic_metre: "
|
111
|
-
readonly metre_per_second: "
|
112
|
-
readonly metre_per_second_squared: "
|
113
|
-
readonly ton: "
|
114
|
-
readonly hectare: "
|
115
|
-
readonly hour: "
|
163
|
+
readonly newton: "NEWTON";
|
164
|
+
readonly pascal: "PASCAL";
|
165
|
+
readonly kilopascal: "KILOPASCAL";
|
166
|
+
readonly amperehour: "AMPERE_HOUR";
|
167
|
+
readonly volt: "VOLT";
|
168
|
+
readonly watt: "WATT";
|
169
|
+
readonly bar: "BAR";
|
170
|
+
readonly centimetre: "CENTIMETRE";
|
171
|
+
readonly millimetre: "MILLIMETRE";
|
172
|
+
readonly metre: "METRE";
|
173
|
+
readonly kilometre: "KILOMETRE";
|
174
|
+
readonly gram: "GRAM";
|
175
|
+
readonly kilogram: "KILOGRAM";
|
176
|
+
readonly kilowatt: "KILOWATT";
|
177
|
+
readonly kilowatthour: "KILOWATT_HOUR";
|
178
|
+
readonly kilogram_per_hour: "KILOGRAM_PER_HOUR";
|
179
|
+
readonly kilogram_per_second: "KILOGRAM_PER_SECOND";
|
180
|
+
readonly square_kilometre: "SQUARE_KILOMETRE";
|
181
|
+
readonly kilometre_per_hour: "KILOMETRE_PER_HOUR";
|
182
|
+
readonly litre: "LITRE";
|
183
|
+
readonly square_metre: "SQUARE_METRE";
|
184
|
+
readonly cubic_metre: "CUBIC_METRE";
|
185
|
+
readonly metre_per_second: "METRE_PER_SECOND";
|
186
|
+
readonly metre_per_second_squared: "METRE_PER_SECOND_SQUARED";
|
187
|
+
readonly ton: "TON";
|
188
|
+
readonly hectare: "HECTARE";
|
189
|
+
readonly hour: "HOUR";
|
116
190
|
};
|
191
|
+
/**
|
192
|
+
* @deprecated Use UnitOfMeasurementType instead
|
193
|
+
*/
|
117
194
|
export type UnitSiType = (typeof UnitSi)[keyof typeof UnitSi];
|
118
195
|
export type NumberFieldDefinition = AbstractCustomFieldDefinitionObject & {
|
119
196
|
minimumNumber?: number | null;
|
120
197
|
maximumNumber?: number | null;
|
121
|
-
unitSi?:
|
122
|
-
unitUs?:
|
198
|
+
unitSi?: UnitOfMeasurementType | null;
|
199
|
+
unitUs?: UnitOfMeasurementType | null;
|
123
200
|
isInteger?: boolean | null;
|
124
201
|
type: "NUMBER";
|
125
202
|
};
|