inferred-types 0.50.6 → 0.50.8

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.
Files changed (109) hide show
  1. package/dist/constants/ISO3166.d.ts +462 -748
  2. package/dist/constants/ISO3166.d.ts.map +1 -1
  3. package/dist/constants/ISO3166.js +142 -1
  4. package/dist/constants/Markers.d.ts +82 -0
  5. package/dist/constants/Markers.d.ts.map +1 -0
  6. package/dist/constants/Markers.js +22 -0
  7. package/dist/constants/Metrics.d.ts +374 -0
  8. package/dist/constants/Metrics.d.ts.map +1 -0
  9. package/dist/constants/Metrics.js +151 -0
  10. package/dist/constants/index.d.ts +2 -0
  11. package/dist/constants/index.d.ts.map +1 -1
  12. package/dist/constants/index.js +2 -0
  13. package/dist/constants/tsconfig.tsbuildinfo +1 -1
  14. package/dist/index.cjs +569 -253
  15. package/dist/index.js +515 -253
  16. package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
  17. package/dist/runtime/tsconfig.tsbuildinfo +1 -1
  18. package/dist/runtime/type-conversion/index.d.ts +1 -0
  19. package/dist/runtime/type-conversion/index.d.ts.map +1 -1
  20. package/dist/runtime/type-conversion/index.js +1 -0
  21. package/dist/runtime/type-conversion/lookupCountryName.d.ts +15 -0
  22. package/dist/runtime/type-conversion/lookupCountryName.d.ts.map +1 -0
  23. package/dist/runtime/type-conversion/lookupCountryName.js +40 -0
  24. package/dist/runtime/type-guards/countries/isIso3166Alpha2.d.ts +12 -2
  25. package/dist/runtime/type-guards/countries/isIso3166Alpha2.d.ts.map +1 -1
  26. package/dist/runtime/type-guards/countries/isIso3166Alpha2.js +17 -1
  27. package/dist/runtime/type-guards/index.d.ts +1 -0
  28. package/dist/runtime/type-guards/index.d.ts.map +1 -1
  29. package/dist/runtime/type-guards/index.js +1 -0
  30. package/dist/runtime/type-guards/isNumericString.d.ts +9 -3
  31. package/dist/runtime/type-guards/isNumericString.d.ts.map +1 -1
  32. package/dist/runtime/type-guards/isNumericString.js +12 -5
  33. package/dist/runtime/type-guards/metrics/index.d.ts +3 -0
  34. package/dist/runtime/type-guards/metrics/index.d.ts.map +1 -0
  35. package/dist/runtime/type-guards/metrics/index.js +2 -0
  36. package/dist/runtime/type-guards/metrics/isMetric.d.ts +23 -0
  37. package/dist/runtime/type-guards/metrics/isMetric.d.ts.map +1 -0
  38. package/dist/runtime/type-guards/metrics/isMetric.js +71 -0
  39. package/dist/runtime/type-guards/metrics/isUom.d.ts +23 -0
  40. package/dist/runtime/type-guards/metrics/isUom.d.ts.map +1 -0
  41. package/dist/runtime/type-guards/metrics/isUom.js +71 -0
  42. package/dist/runtime/type-guards/network-tg.d.ts +1 -1
  43. package/dist/types/boolean-logic/operators/IsNumberLike.d.ts +10 -0
  44. package/dist/types/boolean-logic/operators/IsNumberLike.d.ts.map +1 -0
  45. package/dist/types/boolean-logic/operators/IsNumberLike.js +1 -0
  46. package/dist/types/boolean-logic/operators/index.d.ts +1 -0
  47. package/dist/types/boolean-logic/operators/index.d.ts.map +1 -1
  48. package/dist/types/boolean-logic/operators/index.js +1 -0
  49. package/dist/types/string-literals/character-sets/Country.d.ts +49 -3
  50. package/dist/types/string-literals/character-sets/Country.d.ts.map +1 -1
  51. package/dist/types/string-literals/index.d.ts +1 -0
  52. package/dist/types/string-literals/index.d.ts.map +1 -1
  53. package/dist/types/string-literals/index.js +1 -0
  54. package/dist/types/string-literals/metrics/acceleration.d.ts +26 -0
  55. package/dist/types/string-literals/metrics/acceleration.d.ts.map +1 -0
  56. package/dist/types/string-literals/metrics/acceleration.js +1 -0
  57. package/dist/types/string-literals/metrics/area.d.ts +26 -0
  58. package/dist/types/string-literals/metrics/area.d.ts.map +1 -0
  59. package/dist/types/string-literals/metrics/area.js +1 -0
  60. package/dist/types/string-literals/metrics/current.d.ts +26 -0
  61. package/dist/types/string-literals/metrics/current.d.ts.map +1 -0
  62. package/dist/types/string-literals/metrics/current.js +1 -0
  63. package/dist/types/string-literals/metrics/distance.d.ts +26 -0
  64. package/dist/types/string-literals/metrics/distance.d.ts.map +1 -0
  65. package/dist/types/string-literals/metrics/distance.js +1 -0
  66. package/dist/types/string-literals/metrics/energy.d.ts +26 -0
  67. package/dist/types/string-literals/metrics/energy.d.ts.map +1 -0
  68. package/dist/types/string-literals/metrics/energy.js +1 -0
  69. package/dist/types/string-literals/metrics/frequency.d.ts +26 -0
  70. package/dist/types/string-literals/metrics/frequency.d.ts.map +1 -0
  71. package/dist/types/string-literals/metrics/frequency.js +1 -0
  72. package/dist/types/string-literals/metrics/global.d.ts +30 -0
  73. package/dist/types/string-literals/metrics/global.d.ts.map +1 -0
  74. package/dist/types/string-literals/metrics/global.js +1 -0
  75. package/dist/types/string-literals/metrics/index.d.ts +18 -0
  76. package/dist/types/string-literals/metrics/index.d.ts.map +1 -0
  77. package/dist/types/string-literals/metrics/index.js +17 -0
  78. package/dist/types/string-literals/metrics/luminosity.d.ts +26 -0
  79. package/dist/types/string-literals/metrics/luminosity.d.ts.map +1 -0
  80. package/dist/types/string-literals/metrics/luminosity.js +1 -0
  81. package/dist/types/string-literals/metrics/mass.d.ts +26 -0
  82. package/dist/types/string-literals/metrics/mass.d.ts.map +1 -0
  83. package/dist/types/string-literals/metrics/mass.js +1 -0
  84. package/dist/types/string-literals/metrics/power.d.ts +26 -0
  85. package/dist/types/string-literals/metrics/power.d.ts.map +1 -0
  86. package/dist/types/string-literals/metrics/power.js +1 -0
  87. package/dist/types/string-literals/metrics/pressure.d.ts +26 -0
  88. package/dist/types/string-literals/metrics/pressure.d.ts.map +1 -0
  89. package/dist/types/string-literals/metrics/pressure.js +1 -0
  90. package/dist/types/string-literals/metrics/resistance.d.ts +26 -0
  91. package/dist/types/string-literals/metrics/resistance.d.ts.map +1 -0
  92. package/dist/types/string-literals/metrics/resistance.js +1 -0
  93. package/dist/types/string-literals/metrics/speed.d.ts +24 -0
  94. package/dist/types/string-literals/metrics/speed.d.ts.map +1 -0
  95. package/dist/types/string-literals/metrics/speed.js +1 -0
  96. package/dist/types/string-literals/metrics/temperature.d.ts +26 -0
  97. package/dist/types/string-literals/metrics/temperature.d.ts.map +1 -0
  98. package/dist/types/string-literals/metrics/temperature.js +1 -0
  99. package/dist/types/string-literals/metrics/time.d.ts +26 -0
  100. package/dist/types/string-literals/metrics/time.d.ts.map +1 -0
  101. package/dist/types/string-literals/metrics/time.js +1 -0
  102. package/dist/types/string-literals/metrics/voltage.d.ts +26 -0
  103. package/dist/types/string-literals/metrics/voltage.d.ts.map +1 -0
  104. package/dist/types/string-literals/metrics/voltage.js +1 -0
  105. package/dist/types/string-literals/metrics/volume.d.ts +26 -0
  106. package/dist/types/string-literals/metrics/volume.d.ts.map +1 -0
  107. package/dist/types/string-literals/metrics/volume.js +1 -0
  108. package/dist/types/tsconfig.tsbuildinfo +1 -1
  109. package/package.json +1 -1
@@ -0,0 +1,374 @@
1
+ export declare const DISTANCE_METRICS_LOOKUP: readonly [{
2
+ readonly abbrev: "km";
3
+ readonly name: "kilometer";
4
+ }, {
5
+ readonly abbrev: "mi";
6
+ readonly name: "mile";
7
+ }, {
8
+ readonly abbrev: "mm";
9
+ readonly name: "millimeter";
10
+ }, {
11
+ readonly abbrev: "cm";
12
+ readonly name: "centimeter";
13
+ }, {
14
+ readonly abbrev: "yd";
15
+ readonly name: "yard";
16
+ }, {
17
+ readonly abbrev: "ft";
18
+ readonly name: "foot";
19
+ }, {
20
+ readonly abbrev: "in";
21
+ readonly name: "inch";
22
+ }, {
23
+ readonly abbrev: "m";
24
+ readonly name: "meter";
25
+ }, {
26
+ readonly abbrev: "nm";
27
+ readonly name: "nautical mile";
28
+ }, {
29
+ readonly abbrev: "nmi";
30
+ readonly name: "nanometer";
31
+ }, {
32
+ readonly abbrev: "µm";
33
+ readonly name: "micrometer";
34
+ }, {
35
+ readonly abbrev: "dm";
36
+ readonly name: "decimeter";
37
+ }, {
38
+ readonly abbrev: "AU";
39
+ readonly name: "astronomical unit";
40
+ }, {
41
+ readonly abbrev: "ly";
42
+ readonly name: "light year";
43
+ }, {
44
+ readonly abbrev: "pc";
45
+ readonly name: "parsec";
46
+ }];
47
+ export declare const MASS_METRICS_LOOKUP: readonly [{
48
+ readonly abbrev: "g";
49
+ readonly name: "gram";
50
+ }, {
51
+ readonly abbrev: "kg";
52
+ readonly name: "kilogram";
53
+ }, {
54
+ readonly abbrev: "mg";
55
+ readonly name: "milligram";
56
+ }, {
57
+ readonly abbrev: "µg";
58
+ readonly name: "microgram";
59
+ }, {
60
+ readonly abbrev: "t";
61
+ readonly name: "tonne";
62
+ }, {
63
+ readonly abbrev: "lb";
64
+ readonly name: "pound";
65
+ }, {
66
+ readonly abbrev: "oz";
67
+ readonly name: "ounce";
68
+ }, {
69
+ readonly abbrev: "st";
70
+ readonly name: "stone";
71
+ }, {
72
+ readonly abbrev: "ct";
73
+ readonly name: "carat";
74
+ }, {
75
+ readonly abbrev: "Mt";
76
+ readonly name: "megatonne";
77
+ }, {
78
+ readonly abbrev: "gt";
79
+ readonly name: "gigatonne";
80
+ }, {
81
+ readonly abbrev: "slug";
82
+ readonly name: "slug";
83
+ }, {
84
+ readonly abbrev: "dr";
85
+ readonly name: "dram";
86
+ }, {
87
+ readonly abbrev: "gr";
88
+ readonly name: "grain";
89
+ }, {
90
+ readonly abbrev: "q";
91
+ readonly name: "quintal";
92
+ }];
93
+ export declare const SPEED_METRICS_LOOKUP: readonly [{
94
+ readonly abbrev: "m/s";
95
+ readonly name: "meters per second";
96
+ }, {
97
+ readonly abbrev: "km/h";
98
+ readonly name: "kilometers per hour";
99
+ }, {
100
+ readonly abbrev: "mph";
101
+ readonly name: "miles per hour";
102
+ }, {
103
+ readonly abbrev: "kn";
104
+ readonly name: "knot";
105
+ }, {
106
+ readonly abbrev: "ft/s";
107
+ readonly name: "feet per second";
108
+ }, {
109
+ readonly abbrev: "c";
110
+ readonly name: "speed of light";
111
+ }, {
112
+ readonly abbrev: "mach";
113
+ readonly name: "mach";
114
+ }, {
115
+ readonly abbrev: "cm/s";
116
+ readonly name: "centimeters per second";
117
+ }, {
118
+ readonly abbrev: "in/s";
119
+ readonly name: "inches per second";
120
+ }, {
121
+ readonly abbrev: "ly/y";
122
+ readonly name: "light years per year";
123
+ }];
124
+ export declare const ACCELERATION_METRICS_LOOKUP: readonly [{
125
+ readonly abbrev: "m/s²";
126
+ readonly name: "meters per second squared";
127
+ }, {
128
+ readonly abbrev: "ft/s²";
129
+ readonly name: "feet per second squared";
130
+ }, {
131
+ readonly abbrev: "g";
132
+ readonly name: "g-force";
133
+ }, {
134
+ readonly abbrev: "Gal";
135
+ readonly name: "galileo";
136
+ }, {
137
+ readonly abbrev: "cm/s²";
138
+ readonly name: "centimeters per second squared";
139
+ }, {
140
+ readonly abbrev: "km/h²";
141
+ readonly name: "kilometers per hour squared";
142
+ }, {
143
+ readonly abbrev: "in/s²";
144
+ readonly name: "inches per second squared";
145
+ }, {
146
+ readonly abbrev: "mi/h²";
147
+ readonly name: "miles per hour squared";
148
+ }, {
149
+ readonly abbrev: "kn/s²";
150
+ readonly name: "knots per second squared";
151
+ }];
152
+ export declare const VOLUME_METRICS_LOOKUP: readonly [{
153
+ readonly abbrev: "L";
154
+ readonly name: "liter";
155
+ }, {
156
+ readonly abbrev: "dL";
157
+ readonly name: "deciliter";
158
+ }, {
159
+ readonly abbrev: "mL";
160
+ readonly name: "milliliter";
161
+ }, {
162
+ readonly abbrev: "µL";
163
+ readonly name: "microliter";
164
+ }, {
165
+ readonly abbrev: "cm³";
166
+ readonly name: "cubic centimeter";
167
+ }, {
168
+ readonly abbrev: "m³";
169
+ readonly name: "cubic meter";
170
+ }, {
171
+ readonly abbrev: "ft³";
172
+ readonly name: "cubic foot";
173
+ }, {
174
+ readonly abbrev: "in³";
175
+ readonly name: "cubic inch";
176
+ }, {
177
+ readonly abbrev: "gallon";
178
+ readonly name: "gallon";
179
+ }, {
180
+ readonly abbrev: "qt";
181
+ readonly name: "quart";
182
+ }, {
183
+ readonly abbrev: "pt";
184
+ readonly name: "pint";
185
+ }, {
186
+ readonly abbrev: "fl oz";
187
+ readonly name: "fluid ounce";
188
+ }, {
189
+ readonly abbrev: "barrel";
190
+ readonly name: "barrel";
191
+ }, {
192
+ readonly abbrev: "tbsp";
193
+ readonly name: "tablespoon";
194
+ }, {
195
+ readonly abbrev: "tsp";
196
+ readonly name: "teaspoon";
197
+ }];
198
+ export declare const TEMPERATURE_METRICS_LOOKUP: readonly [{
199
+ readonly abbrev: "°C";
200
+ readonly name: "celsius";
201
+ }, {
202
+ readonly abbrev: "°F";
203
+ readonly name: "fahrenheit";
204
+ }, {
205
+ readonly abbrev: "K";
206
+ readonly name: "kelvin";
207
+ }];
208
+ export declare const PRESSURE_METRICS_LOOKUP: readonly [{
209
+ readonly abbrev: "Pa";
210
+ readonly name: "pascal";
211
+ }, {
212
+ readonly abbrev: "bar";
213
+ readonly name: "bar";
214
+ }, {
215
+ readonly abbrev: "atm";
216
+ readonly name: "atmosphere";
217
+ }, {
218
+ readonly abbrev: "mmHg";
219
+ readonly name: "millimeters of mercury";
220
+ }, {
221
+ readonly abbrev: "psi";
222
+ readonly name: "pounds per square inch";
223
+ }];
224
+ export declare const ENERGY_METRICS_LOOKUP: readonly [{
225
+ readonly abbrev: "J";
226
+ readonly name: "joule";
227
+ }, {
228
+ readonly abbrev: "cal";
229
+ readonly name: "calorie";
230
+ }, {
231
+ readonly abbrev: "kcal";
232
+ readonly name: "kilocalorie";
233
+ }, {
234
+ readonly abbrev: "kWh";
235
+ readonly name: "kilowatt-hour";
236
+ }, {
237
+ readonly abbrev: "BTU";
238
+ readonly name: "british thermal unit";
239
+ }, {
240
+ readonly abbrev: "eV";
241
+ readonly name: "electronvolt";
242
+ }];
243
+ export declare const TIME_METRICS_LOOKUP: readonly [{
244
+ readonly abbrev: "s";
245
+ readonly name: "second";
246
+ }, {
247
+ readonly abbrev: "m";
248
+ readonly name: "minute";
249
+ }, {
250
+ readonly abbrev: "h";
251
+ readonly name: "hour";
252
+ }, {
253
+ readonly abbrev: "day";
254
+ readonly name: "day";
255
+ }, {
256
+ readonly abbrev: "week";
257
+ readonly name: "week";
258
+ }, {
259
+ readonly abbrev: "mo";
260
+ readonly name: "month";
261
+ }, {
262
+ readonly abbrev: "ms";
263
+ readonly name: "millisecond";
264
+ }, {
265
+ readonly abbrev: "µs";
266
+ readonly name: "microsecond";
267
+ }, {
268
+ readonly abbrev: "ns";
269
+ readonly name: "nanosecond";
270
+ }];
271
+ export declare const POWER_METRICS_LOOKUP: readonly [{
272
+ readonly abbrev: "W";
273
+ readonly name: "Watt";
274
+ }, {
275
+ readonly abbrev: "kW";
276
+ readonly name: "kilowatt";
277
+ }, {
278
+ readonly abbrev: "MW";
279
+ readonly name: "megawatt";
280
+ }, {
281
+ readonly abbrev: "hp";
282
+ readonly name: "horsepower";
283
+ }, {
284
+ readonly abbrev: "GW";
285
+ readonly name: "gigawatt";
286
+ }];
287
+ export declare const FREQUENCY_METRICS_LOOKUP: readonly [{
288
+ readonly abbrev: "Hz";
289
+ readonly name: "hertz";
290
+ }, {
291
+ readonly abbrev: "kHz";
292
+ readonly name: "kilohertz";
293
+ }, {
294
+ readonly abbrev: "MHz";
295
+ readonly name: "megahertz";
296
+ }, {
297
+ readonly abbrev: "GHz";
298
+ readonly name: "gigahertz";
299
+ }, {
300
+ readonly abbrev: "THz";
301
+ readonly name: "terahertz";
302
+ }];
303
+ export declare const VOLTAGE_METRICS_LOOKUP: readonly [{
304
+ readonly abbrev: "V";
305
+ readonly name: "volt";
306
+ }, {
307
+ readonly abbrev: "kV";
308
+ readonly name: "kilovolt";
309
+ }, {
310
+ readonly abbrev: "mV";
311
+ readonly name: "millivolt";
312
+ }, {
313
+ readonly abbrev: "µV";
314
+ readonly name: "microvolt";
315
+ }];
316
+ export declare const CURRENT_METRICS_LOOKUP: readonly [{
317
+ readonly abbrev: "A";
318
+ readonly name: "ampere";
319
+ }, {
320
+ readonly abbrev: "mA";
321
+ readonly name: "milliampere";
322
+ }, {
323
+ readonly abbrev: "µA";
324
+ readonly name: "microampere";
325
+ }, {
326
+ readonly abbrev: "kA";
327
+ readonly name: "kiloampere";
328
+ }];
329
+ export declare const RESISTANCE_METRICS_LOOKUP: readonly [{
330
+ readonly abbrev: "Ω";
331
+ readonly name: "ohm";
332
+ }, {
333
+ readonly abbrev: "kΩ";
334
+ readonly name: "kiloohm";
335
+ }, {
336
+ readonly abbrev: "MΩ";
337
+ readonly name: "megaohm";
338
+ }];
339
+ export declare const LUMINOSITY_METRICS_LOOKUP: readonly [{
340
+ readonly abbrev: "cd";
341
+ readonly name: "candela";
342
+ }, {
343
+ readonly abbrev: "lm";
344
+ readonly name: "lumen";
345
+ }, {
346
+ readonly abbrev: "lx";
347
+ readonly name: "lux";
348
+ }];
349
+ export declare const AREA_METRICS_LOOKUP: readonly [{
350
+ readonly abbrev: "m²";
351
+ readonly name: "square meter";
352
+ }, {
353
+ readonly abbrev: "cm²";
354
+ readonly name: "square centimeter";
355
+ }, {
356
+ readonly abbrev: "mm²";
357
+ readonly name: "square millimeter";
358
+ }, {
359
+ readonly abbrev: "km²";
360
+ readonly name: "square kilometer";
361
+ }, {
362
+ readonly abbrev: "ft²";
363
+ readonly name: "square foot";
364
+ }, {
365
+ readonly abbrev: "in²";
366
+ readonly name: "square inch";
367
+ }, {
368
+ readonly abbrev: "acre";
369
+ readonly name: "acre";
370
+ }, {
371
+ readonly abbrev: "ha";
372
+ readonly name: "hectare";
373
+ }];
374
+ //# sourceMappingURL=Metrics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Metrics.d.ts","sourceRoot":"","sources":["../../src/constants/Metrics.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB1B,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtB,CAAC;AAGX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWvB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAC;AAGX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBxB,CAAC;AAGX,eAAO,MAAM,0BAA0B;;;;;;;;;EAI7B,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAM1B,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAOxB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAMvB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAM3B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAKzB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAKzB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;EAI5B,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;EAI5B,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAC"}
@@ -0,0 +1,151 @@
1
+ export const DISTANCE_METRICS_LOOKUP = [
2
+ { abbrev: "km", name: "kilometer" },
3
+ { abbrev: "mi", name: "mile" },
4
+ { abbrev: "mm", name: "millimeter" },
5
+ { abbrev: "cm", name: "centimeter" },
6
+ { abbrev: "yd", name: "yard" },
7
+ { abbrev: "ft", name: "foot" },
8
+ { abbrev: "in", name: "inch" },
9
+ { abbrev: "m", name: "meter" },
10
+ { abbrev: "nm", name: "nautical mile" },
11
+ { abbrev: "nmi", name: "nanometer" },
12
+ { abbrev: "µm", name: "micrometer" },
13
+ { abbrev: "dm", name: "decimeter" },
14
+ { abbrev: "AU", name: "astronomical unit" },
15
+ { abbrev: "ly", name: "light year" },
16
+ { abbrev: "pc", name: "parsec" },
17
+ ];
18
+ export const MASS_METRICS_LOOKUP = [
19
+ { abbrev: "g", name: "gram" },
20
+ { abbrev: "kg", name: "kilogram" },
21
+ { abbrev: "mg", name: "milligram" },
22
+ { abbrev: "µg", name: "microgram" },
23
+ { abbrev: "t", name: "tonne" },
24
+ { abbrev: "lb", name: "pound" },
25
+ { abbrev: "oz", name: "ounce" },
26
+ { abbrev: "st", name: "stone" },
27
+ { abbrev: "ct", name: "carat" },
28
+ { abbrev: "Mt", name: "megatonne" },
29
+ { abbrev: "gt", name: "gigatonne" },
30
+ { abbrev: "slug", name: "slug" },
31
+ { abbrev: "dr", name: "dram" },
32
+ { abbrev: "gr", name: "grain" },
33
+ { abbrev: "q", name: "quintal" },
34
+ ];
35
+ export const SPEED_METRICS_LOOKUP = [
36
+ { abbrev: "m/s", name: "meters per second" },
37
+ { abbrev: "km/h", name: "kilometers per hour" },
38
+ { abbrev: "mph", name: "miles per hour" },
39
+ { abbrev: "kn", name: "knot" },
40
+ { abbrev: "ft/s", name: "feet per second" },
41
+ { abbrev: "c", name: "speed of light" },
42
+ { abbrev: "mach", name: "mach" },
43
+ { abbrev: "cm/s", name: "centimeters per second" },
44
+ { abbrev: "in/s", name: "inches per second" },
45
+ { abbrev: "ly/y", name: "light years per year" },
46
+ ];
47
+ export const ACCELERATION_METRICS_LOOKUP = [
48
+ { abbrev: "m/s²", name: "meters per second squared" },
49
+ { abbrev: "ft/s²", name: "feet per second squared" },
50
+ { abbrev: "g", name: "g-force" },
51
+ { abbrev: "Gal", name: "galileo" },
52
+ { abbrev: "cm/s²", name: "centimeters per second squared" },
53
+ { abbrev: "km/h²", name: "kilometers per hour squared" },
54
+ { abbrev: "in/s²", name: "inches per second squared" },
55
+ { abbrev: "mi/h²", name: "miles per hour squared" },
56
+ { abbrev: "kn/s²", name: "knots per second squared" },
57
+ ];
58
+ export const VOLUME_METRICS_LOOKUP = [
59
+ { abbrev: "L", name: "liter" },
60
+ { abbrev: "dL", name: "deciliter" },
61
+ { abbrev: "mL", name: "milliliter" },
62
+ { abbrev: "µL", name: "microliter" },
63
+ { abbrev: "cm³", name: "cubic centimeter" },
64
+ { abbrev: "m³", name: "cubic meter" },
65
+ { abbrev: "ft³", name: "cubic foot" },
66
+ { abbrev: "in³", name: "cubic inch" },
67
+ { abbrev: "gallon", name: "gallon" },
68
+ { abbrev: "qt", name: "quart" },
69
+ { abbrev: "pt", name: "pint" },
70
+ { abbrev: "fl oz", name: "fluid ounce" },
71
+ { abbrev: "barrel", name: "barrel" },
72
+ { abbrev: "tbsp", name: "tablespoon" },
73
+ { abbrev: "tsp", name: "teaspoon" },
74
+ ];
75
+ export const TEMPERATURE_METRICS_LOOKUP = [
76
+ { abbrev: "°C", name: "celsius" },
77
+ { abbrev: "°F", name: "fahrenheit" },
78
+ { abbrev: "K", name: "kelvin" },
79
+ ];
80
+ export const PRESSURE_METRICS_LOOKUP = [
81
+ { abbrev: "Pa", name: "pascal" },
82
+ { abbrev: "bar", name: "bar" },
83
+ { abbrev: "atm", name: "atmosphere" },
84
+ { abbrev: "mmHg", name: "millimeters of mercury" },
85
+ { abbrev: "psi", name: "pounds per square inch" },
86
+ ];
87
+ export const ENERGY_METRICS_LOOKUP = [
88
+ { abbrev: "J", name: "joule" },
89
+ { abbrev: "cal", name: "calorie" },
90
+ { abbrev: "kcal", name: "kilocalorie" },
91
+ { abbrev: "kWh", name: "kilowatt-hour" },
92
+ { abbrev: "BTU", name: "british thermal unit" },
93
+ { abbrev: "eV", name: "electronvolt" },
94
+ ];
95
+ export const TIME_METRICS_LOOKUP = [
96
+ { abbrev: "s", name: "second" },
97
+ { abbrev: "m", name: "minute" },
98
+ { abbrev: "h", name: "hour" },
99
+ { abbrev: "day", name: "day" },
100
+ { abbrev: "week", name: "week" },
101
+ { abbrev: "mo", name: "month" },
102
+ { abbrev: "ms", name: "millisecond" },
103
+ { abbrev: "µs", name: "microsecond" },
104
+ { abbrev: "ns", name: "nanosecond" },
105
+ ];
106
+ export const POWER_METRICS_LOOKUP = [
107
+ { abbrev: "W", name: "Watt" },
108
+ { abbrev: "kW", name: "kilowatt" },
109
+ { abbrev: "MW", name: "megawatt" },
110
+ { abbrev: "hp", name: "horsepower" },
111
+ { abbrev: "GW", name: "gigawatt" },
112
+ ];
113
+ export const FREQUENCY_METRICS_LOOKUP = [
114
+ { abbrev: "Hz", name: "hertz" },
115
+ { abbrev: "kHz", name: "kilohertz" },
116
+ { abbrev: "MHz", name: "megahertz" },
117
+ { abbrev: "GHz", name: "gigahertz" },
118
+ { abbrev: "THz", name: "terahertz" },
119
+ ];
120
+ export const VOLTAGE_METRICS_LOOKUP = [
121
+ { abbrev: "V", name: "volt" },
122
+ { abbrev: "kV", name: "kilovolt" },
123
+ { abbrev: "mV", name: "millivolt" },
124
+ { abbrev: "µV", name: "microvolt" },
125
+ ];
126
+ export const CURRENT_METRICS_LOOKUP = [
127
+ { abbrev: "A", name: "ampere" },
128
+ { abbrev: "mA", name: "milliampere" },
129
+ { abbrev: "µA", name: "microampere" },
130
+ { abbrev: "kA", name: "kiloampere" },
131
+ ];
132
+ export const RESISTANCE_METRICS_LOOKUP = [
133
+ { abbrev: "Ω", name: "ohm" },
134
+ { abbrev: "kΩ", name: "kiloohm" },
135
+ { abbrev: "MΩ", name: "megaohm" },
136
+ ];
137
+ export const LUMINOSITY_METRICS_LOOKUP = [
138
+ { abbrev: "cd", name: "candela" },
139
+ { abbrev: "lm", name: "lumen" },
140
+ { abbrev: "lx", name: "lux" },
141
+ ];
142
+ export const AREA_METRICS_LOOKUP = [
143
+ { abbrev: "m²", name: "square meter" },
144
+ { abbrev: "cm²", name: "square centimeter" },
145
+ { abbrev: "mm²", name: "square millimeter" },
146
+ { abbrev: "km²", name: "square kilometer" },
147
+ { abbrev: "ft²", name: "square foot" },
148
+ { abbrev: "in²", name: "square inch" },
149
+ { abbrev: "acre", name: "acre" },
150
+ { abbrev: "ha", name: "hectare" },
151
+ ];
@@ -34,4 +34,6 @@ export * from "./ProxmoxConstants";
34
34
  export * from "./Tailwind";
35
35
  export * from "./Retail";
36
36
  export * from "./ISO3166";
37
+ export * from "./Metrics";
38
+ export * from "./Markers";
37
39
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
@@ -34,3 +34,5 @@ export * from "./ProxmoxConstants";
34
34
  export * from "./Tailwind";
35
35
  export * from "./Retail";
36
36
  export * from "./ISO3166";
37
+ export * from "./Metrics";
38
+ export * from "./Markers";