@pgpm/measurements 0.16.0 → 0.18.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.
|
@@ -13,4 +13,12 @@ CREATE TABLE measurements.quantities (
|
|
|
13
13
|
description text
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
+
COMMENT ON TABLE measurements.quantities IS 'Unit of measure definitions: maps quantity names to their display labels, units, and descriptions';
|
|
17
|
+
COMMENT ON COLUMN measurements.quantities.id IS 'Auto-incrementing identifier for this quantity';
|
|
18
|
+
COMMENT ON COLUMN measurements.quantities.name IS 'Machine-readable name for this quantity (e.g. length, mass, temperature)';
|
|
19
|
+
COMMENT ON COLUMN measurements.quantities.label IS 'Human-readable display label';
|
|
20
|
+
COMMENT ON COLUMN measurements.quantities.unit IS 'Unit symbol or abbreviation (e.g. m, kg, °C)';
|
|
21
|
+
COMMENT ON COLUMN measurements.quantities.unit_desc IS 'Full unit name (e.g. meters, kilograms, degrees Celsius)';
|
|
22
|
+
COMMENT ON COLUMN measurements.quantities.description IS 'Detailed description of what this quantity measures';
|
|
23
|
+
|
|
16
24
|
COMMIT;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpm/measurements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Measurement utilities for performance tracking and analytics",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"test:watch": "jest --watch"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@pgpm/verify": "0.
|
|
24
|
+
"@pgpm/verify": "0.18.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"pgpm": "^
|
|
27
|
+
"pgpm": "^4.2.3"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/constructive-io/pgpm-modules/issues"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "8144027c7fab4956bcdebd736d04c0d4f57344bc"
|
|
38
38
|
}
|
|
@@ -10,6 +10,14 @@ CREATE TABLE measurements.quantities (
|
|
|
10
10
|
description text
|
|
11
11
|
);
|
|
12
12
|
|
|
13
|
+
COMMENT ON TABLE measurements.quantities IS 'Unit of measure definitions: maps quantity names to their display labels, units, and descriptions';
|
|
14
|
+
COMMENT ON COLUMN measurements.quantities.id IS 'Auto-incrementing identifier for this quantity';
|
|
15
|
+
COMMENT ON COLUMN measurements.quantities.name IS 'Machine-readable name for this quantity (e.g. length, mass, temperature)';
|
|
16
|
+
COMMENT ON COLUMN measurements.quantities.label IS 'Human-readable display label';
|
|
17
|
+
COMMENT ON COLUMN measurements.quantities.unit IS 'Unit symbol or abbreviation (e.g. m, kg, °C)';
|
|
18
|
+
COMMENT ON COLUMN measurements.quantities.unit_desc IS 'Full unit name (e.g. meters, kilograms, degrees Celsius)';
|
|
19
|
+
COMMENT ON COLUMN measurements.quantities.description IS 'Detailed description of what this quantity measures';
|
|
20
|
+
|
|
13
21
|
INSERT INTO measurements.quantities (
|
|
14
22
|
id,
|
|
15
23
|
name,
|
|
@@ -73,4 +81,4 @@ INSERT INTO measurements.quantities (
|
|
|
73
81
|
) VALUES
|
|
74
82
|
(45, 'Percent', 'Percent', '%', 'percentage', 'a number or ratio expressed as a fraction of 100'),
|
|
75
83
|
(46, 'PartsPerMillion', 'Parts per Million', 'ppm', 'parts per million', 'pseudo-units to describe small values of miscellaneous dimensionless quantities that are pure numbers representing a quantity-per-quantity measure in parts per million'),
|
|
76
|
-
(47, 'PartsPerBillion', 'Parts per Billion', 'ppb', 'parts per billion', 'pseudo-units to describe small values of miscellaneous dimensionless quantities that are pure numbers representing a quantity-per-quantity measure in parts per billion');
|
|
84
|
+
(47, 'PartsPerBillion', 'Parts per Billion', 'ppb', 'parts per billion', 'pseudo-units to describe small values of miscellaneous dimensionless quantities that are pure numbers representing a quantity-per-quantity measure in parts per billion');
|