@trackunit/custom-field-api 0.1.119 → 0.1.121

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/custom-field-api",
3
- "version": "0.1.119",
3
+ "version": "0.1.121",
4
4
  "engines": {
5
5
  "node": ">=18.x"
6
6
  },
@@ -141,54 +141,71 @@ export declare const systemOfMeasurement: {
141
141
  readonly US_CUSTOMARY: "US_CUSTOMARY";
142
142
  };
143
143
  export type SystemOfMeasurement = (typeof systemOfMeasurement)[keyof typeof systemOfMeasurement];
144
- export declare const unitSi: {
145
- readonly amperehour: "amperehour";
146
- readonly bar: "bar";
147
- readonly centimetre: "centimetre";
148
- readonly cubic_metre: "cubic_metre";
149
- readonly gram: "gram";
150
- readonly hectare: "hectare";
151
- readonly hour: "hour";
152
- readonly kilogram: "kilogram";
153
- readonly kilogram_per_hour: "kilogram_per_hour";
154
- readonly kilogram_per_second: "kilogram_per_second";
155
- readonly kilometre: "kilometre";
156
- readonly kilometre_per_hour: "kilometre_per_hour";
157
- readonly kilopascal: "kilopascal";
158
- readonly kilowatt: "kilowatt";
159
- readonly kilowatthour: "kilowatthour";
160
- readonly litre: "litre";
161
- readonly metre: "metre";
162
- readonly metre_per_second: "metre_per_second";
163
- readonly metre_per_second_squared: "metre_per_second_squared";
164
- readonly millimetre: "millimetre";
165
- readonly newton: "newton";
166
- readonly pascal: "pascal";
167
- readonly square_kilometre: "square_kilometre";
168
- readonly square_metre: "square_metre";
169
- readonly ton: "ton";
170
- readonly volt: "volt";
171
- readonly watt: "watt";
144
+ export declare const unitOfMeasurement: {
145
+ readonly ACRE: "ACRE";
146
+ readonly AMPERE: "AMPERE";
147
+ readonly AMPERE_HOUR: "AMPERE_HOUR";
148
+ readonly ARE: "ARE";
149
+ readonly BAR: "BAR";
150
+ readonly CELSIUS: "CELSIUS";
151
+ readonly CENTIMETRE: "CENTIMETRE";
152
+ readonly CUBIC_FOOT: "CUBIC_FOOT";
153
+ readonly CUBIC_METRE: "CUBIC_METRE";
154
+ readonly DAY: "DAY";
155
+ readonly DEGREE_ANGLE: "DEGREE_ANGLE";
156
+ readonly FAHRENHEIT: "FAHRENHEIT";
157
+ readonly FOOT: "FOOT";
158
+ readonly GALLONS_PER_HOUR: "GALLONS_PER_HOUR";
159
+ readonly GALLON_LIQUID: "GALLON_LIQUID";
160
+ readonly GRAM: "GRAM";
161
+ readonly G_FORCE: "G_FORCE";
162
+ readonly HECTARE: "HECTARE";
163
+ readonly HERTZ: "HERTZ";
164
+ readonly HOUR: "HOUR";
165
+ readonly INCH: "INCH";
166
+ readonly INCHES_OF_WATER: "INCHES_OF_WATER";
167
+ readonly KILOGRAM: "KILOGRAM";
168
+ readonly KILOGRAM_PER_HOUR: "KILOGRAM_PER_HOUR";
169
+ readonly KILOGRAM_PER_SECOND: "KILOGRAM_PER_SECOND";
170
+ readonly KILOMETRE: "KILOMETRE";
171
+ readonly KILOMETRE_PER_HOUR: "KILOMETRE_PER_HOUR";
172
+ readonly KILOPASCAL: "KILOPASCAL";
173
+ readonly KILOWATT: "KILOWATT";
174
+ readonly KILOWATT_HOUR: "KILOWATT_HOUR";
175
+ readonly LITRE: "LITRE";
176
+ readonly LITRES_PER_HOUR: "LITRES_PER_HOUR";
177
+ readonly METRE: "METRE";
178
+ readonly METRE_PER_SECOND: "METRE_PER_SECOND";
179
+ readonly METRE_PER_SECOND_SQUARED: "METRE_PER_SECOND_SQUARED";
180
+ readonly METRIC_TON: "METRIC_TON";
181
+ readonly MILE: "MILE";
182
+ readonly MILE_PER_HOUR: "MILE_PER_HOUR";
183
+ readonly MILLIMETRE: "MILLIMETRE";
184
+ readonly MILLISECOND: "MILLISECOND";
185
+ readonly MINUTE: "MINUTE";
186
+ readonly MONTH: "MONTH";
187
+ readonly NEWTON: "NEWTON";
188
+ readonly OUNCE: "OUNCE";
189
+ readonly PASCAL: "PASCAL";
190
+ readonly PERCENT: "PERCENT";
191
+ readonly POUND: "POUND";
192
+ readonly POUND_PER_HOUR: "POUND_PER_HOUR";
193
+ readonly POUND_PER_SECOND: "POUND_PER_SECOND";
194
+ readonly POUND_PER_SQUARE_INCH: "POUND_PER_SQUARE_INCH";
195
+ readonly REVOLUTIONS_PER_MINUTE: "REVOLUTIONS_PER_MINUTE";
196
+ readonly SECOND: "SECOND";
197
+ readonly SQUARE_FOOT: "SQUARE_FOOT";
198
+ readonly SQUARE_KILOMETRE: "SQUARE_KILOMETRE";
199
+ readonly SQUARE_METRE: "SQUARE_METRE";
200
+ readonly US_TON: "US_TON";
201
+ readonly VOLT: "VOLT";
202
+ readonly VOLT_AMPERE: "VOLT_AMPERE";
203
+ readonly WATT: "WATT";
204
+ readonly WEEK: "WEEK";
205
+ readonly YARD: "YARD";
206
+ readonly YEAR: "YEAR";
172
207
  };
173
- export type UnitSi = (typeof unitSi)[keyof typeof unitSi];
174
- export declare const unitUs: {
175
- readonly acre: "acre";
176
- readonly cubic_foot: "cubic_foot";
177
- readonly foot: "foot";
178
- readonly gallon_liquid: "gallon_liquid";
179
- readonly inch: "inch";
180
- readonly mile: "mile";
181
- readonly mile_per_hour: "mile_per_hour";
182
- readonly ounce: "ounce";
183
- readonly pound: "pound";
184
- readonly pound_per_hour: "pound_per_hour";
185
- readonly pound_per_second: "pound_per_second";
186
- readonly pound_per_square_inch: "pound_per_square_inch";
187
- readonly square_foot: "square_foot";
188
- readonly ton_us: "ton_us";
189
- readonly yard: "yard";
190
- };
191
- export type UnitUs = (typeof unitUs)[keyof typeof unitUs];
208
+ export type UnitOfMeasurement = (typeof unitOfMeasurement)[keyof typeof unitOfMeasurement];
192
209
  export type CustomFieldOwnerInput = {
193
210
  /** The iris app ID of the custom field owner input. */
194
211
  irisAppId?: InputMaybe<Scalars["String"]["input"]>;
@@ -455,8 +472,8 @@ type CustomFieldValueAndDefinition_NumberFieldValueAndDefinition_Fragment = {
455
472
  isInteger: boolean | null;
456
473
  maximumNumber: number | null;
457
474
  minimumNumber: number | null;
458
- unitSi: UnitSi | null;
459
- unitUs: UnitUs | null;
475
+ unitSi: UnitOfMeasurement | null;
476
+ unitUs: UnitOfMeasurement | null;
460
477
  description: string | null;
461
478
  entityType: CustomFieldEntityType | null;
462
479
  id: string;
@@ -764,8 +781,8 @@ type CustomFieldDefinition_NumberFieldDefinition_Fragment = {
764
781
  isInteger: boolean | null;
765
782
  maximumNumber: number | null;
766
783
  minimumNumber: number | null;
767
- unitSi: UnitSi | null;
768
- unitUs: UnitUs | null;
784
+ unitSi: UnitOfMeasurement | null;
785
+ unitUs: UnitOfMeasurement | null;
769
786
  description: string | null;
770
787
  entityType: CustomFieldEntityType | null;
771
788
  id: string;