@trackunit/filters-graphql-hook 1.11.124 → 1.11.126

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 CHANGED
@@ -221,6 +221,10 @@ const assetType = {
221
221
  TOOL: "TOOL",
222
222
  VEHICLE: "VEHICLE",
223
223
  };
224
+ const fleetDataHealthDeviceStatus = {
225
+ CRITICAL: "CRITICAL",
226
+ LOW: "LOW",
227
+ };
224
228
  const fleetDataHealthIssueCategory = {
225
229
  COVERAGE_ISSUES: "COVERAGE_ISSUES",
226
230
  DEVICE_BATTERY_ISSUES: "DEVICE_BATTERY_ISSUES",
@@ -393,6 +397,7 @@ const useActiveAssetFilters = (filters) => {
393
397
  fleetHealthTypes: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthTypes), fleetDataHealthIssueType),
394
398
  fleetHealthCategories: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthCategories), fleetDataHealthIssueCategory),
395
399
  fleetHealthStates: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthStates), fleetDataHealthIssueState),
400
+ fleetHealthDeviceStatuses: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthDeviceStatuses), fleetDataHealthDeviceStatus),
396
401
  sustainabilityExcluded: valueBooleanOrUndefined(filters.assetVisibility) === false
397
402
  ? null
398
403
  : valueBooleanOrUndefined(filters.assetVisibility),
package/index.esm.js CHANGED
@@ -219,6 +219,10 @@ const assetType = {
219
219
  TOOL: "TOOL",
220
220
  VEHICLE: "VEHICLE",
221
221
  };
222
+ const fleetDataHealthDeviceStatus = {
223
+ CRITICAL: "CRITICAL",
224
+ LOW: "LOW",
225
+ };
222
226
  const fleetDataHealthIssueCategory = {
223
227
  COVERAGE_ISSUES: "COVERAGE_ISSUES",
224
228
  DEVICE_BATTERY_ISSUES: "DEVICE_BATTERY_ISSUES",
@@ -391,6 +395,7 @@ const useActiveAssetFilters = (filters) => {
391
395
  fleetHealthTypes: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthTypes), fleetDataHealthIssueType),
392
396
  fleetHealthCategories: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthCategories), fleetDataHealthIssueCategory),
393
397
  fleetHealthStates: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthStates), fleetDataHealthIssueState),
398
+ fleetHealthDeviceStatuses: fixTypes(valueNameArrayOrUndefined(filters.fleetHealthDeviceStatuses), fleetDataHealthDeviceStatus),
394
399
  sustainabilityExcluded: valueBooleanOrUndefined(filters.assetVisibility) === false
395
400
  ? null
396
401
  : valueBooleanOrUndefined(filters.assetVisibility),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/filters-graphql-hook",
3
- "version": "1.11.124",
3
+ "version": "1.11.126",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -13,14 +13,14 @@
13
13
  "graphql": "^16.10.0",
14
14
  "@apollo/client": "3.13.8",
15
15
  "zod": "^3.23.8",
16
- "@trackunit/iris-app-build-utilities": "1.7.125",
17
- "@trackunit/filters-filter-bar": "1.8.181",
18
- "@trackunit/shared-utils": "1.9.118",
19
- "@trackunit/iris-app-api": "1.10.12",
20
- "@trackunit/react-core-contexts-test": "1.7.132",
21
- "@trackunit/i18n-library-translation": "1.7.140",
22
- "@trackunit/iris-app-runtime-core-api": "1.7.128",
23
- "@trackunit/react-core-hooks": "1.7.132"
16
+ "@trackunit/iris-app-build-utilities": "1.7.126",
17
+ "@trackunit/filters-filter-bar": "1.8.183",
18
+ "@trackunit/shared-utils": "1.9.119",
19
+ "@trackunit/iris-app-api": "1.10.13",
20
+ "@trackunit/react-core-contexts-test": "1.7.133",
21
+ "@trackunit/i18n-library-translation": "1.7.141",
22
+ "@trackunit/iris-app-runtime-core-api": "1.7.129",
23
+ "@trackunit/react-core-hooks": "1.7.133"
24
24
  },
25
25
  "module": "./index.esm.js",
26
26
  "main": "./index.cjs.js",
@@ -338,6 +338,7 @@ export declare const assetSortByProperty: {
338
338
  readonly CUMULATIVE_OPERATING_HOURS: "CUMULATIVE_OPERATING_HOURS";
339
339
  readonly CUSTOMER_NAME: "CUSTOMER_NAME";
340
340
  readonly CUSTOM_FIELD: "CUSTOM_FIELD";
341
+ readonly DEVICE_STATUS: "DEVICE_STATUS";
341
342
  readonly ENGINE_TOTAL_IDLE_HOURS: "ENGINE_TOTAL_IDLE_HOURS";
342
343
  readonly EXTERNAL_REFERENCE: "EXTERNAL_REFERENCE";
343
344
  readonly FUEL_LEVEL: "FUEL_LEVEL";
@@ -401,6 +402,11 @@ export declare const digitalKeyMode: {
401
402
  readonly UNSUPPORTED: "UNSUPPORTED";
402
403
  };
403
404
  export type DigitalKeyMode = (typeof digitalKeyMode)[keyof typeof digitalKeyMode];
405
+ export declare const fleetDataHealthDeviceStatus: {
406
+ readonly CRITICAL: "CRITICAL";
407
+ readonly LOW: "LOW";
408
+ };
409
+ export type FleetDataHealthDeviceStatus = (typeof fleetDataHealthDeviceStatus)[keyof typeof fleetDataHealthDeviceStatus];
404
410
  export declare const fleetDataHealthIssueCategory: {
405
411
  readonly COVERAGE_ISSUES: "COVERAGE_ISSUES";
406
412
  readonly DEVICE_BATTERY_ISSUES: "DEVICE_BATTERY_ISSUES";
@@ -528,6 +534,8 @@ export type AssetFiltersInput = {
528
534
  fleetHealthCategories?: InputMaybe<Array<FleetDataHealthIssueCategory>>;
529
535
  /** Filter by Fleet Health date range */
530
536
  fleetHealthDateRange?: InputMaybe<DateRange>;
537
+ /** Filter by Fleet Health status */
538
+ fleetHealthDeviceStatuses?: InputMaybe<Array<FleetDataHealthDeviceStatus>>;
531
539
  /** Filter by Fleet Health states */
532
540
  fleetHealthStates?: InputMaybe<Array<FleetDataHealthIssueState>>;
533
541
  /** Filter by Fleet Health Types */