@trackunit/iris-app-api 1.20.10 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 2.0.1 (2026-05-28)
2
+
3
+ This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
4
+
5
+ # 2.0.0 (2026-05-28)
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - ⚠️ remove unused Issue State asset filter ([8395dbf52d0](https://github.com/Trackunit/manager/commit/8395dbf52d0))
10
+
11
+ ### ⚠️ Breaking Changes
12
+
13
+ - remove unused Issue State asset filter ([8395dbf52d0](https://github.com/Trackunit/manager/commit/8395dbf52d0))
14
+ `fleetHealthStates` is no longer in
15
+ `allAssetFilterKeys` from `@trackunit/iris-app-api`. External Iris apps
16
+ that listed it in their `SupportedFiltersConfig.include` array will get
17
+ a TypeScript error; the listing was always a no-op since the filter was
18
+ hidden and its value never consumed by the asset query, so removing it
19
+ from those configs is the correct migration.
20
+ Ticket: https://linear.app/trackunit/issue/CAN-204/issue-state-appears-in-danish-but-not-english
21
+
22
+ ### ❤️ Thank You
23
+
24
+ - Simon Laustsen
25
+
1
26
  ## 1.20.10 (2026-05-28)
2
27
 
3
28
  This was a version bump only for iris-app-api to align it with other projects, there were no code changes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-api",
3
- "version": "1.20.10",
3
+ "version": "2.0.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -19,12 +19,12 @@ export type WidgetSupportedFilterBars = "CUSTOMERS" | "ASSETS" | "SITES";
19
19
  export type WidgetSupportedFilters = WidgetSupportedFilterBars | "TIME_RANGE";
20
20
  export declare const widgetTypes: readonly ["KPI", "CHART", "LIST", "MAP", "OTHER"];
21
21
  export type WidgetType = (typeof widgetTypes)[number];
22
- export declare const allAssetFilterKeys: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStates", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes"];
23
- export declare const allAssetFilterKeysWithCustomer: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStates", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery"];
22
+ export declare const allAssetFilterKeys: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes"];
23
+ export declare const allAssetFilterKeysWithCustomer: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery"];
24
24
  export declare const customFieldFilterKey: "customFields";
25
25
  export type AssetFilterKeys = typeof allAssetFilterKeys;
26
26
  export type AssetFilterKeysWithCustomer = typeof allAssetFilterKeysWithCustomer;
27
- export declare const allAssetFilterKeysWithCustomFields: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStates", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery", "customFields"];
27
+ export declare const allAssetFilterKeysWithCustomFields: readonly ["search", "siteIds", "groups", "types", "assetType", "brands", "models", "criticality", "activity", "metadataCompleteness", "lastSeen", "followed", "siteType", "ownerAccountIds", "area", "partner", "productionYears", "serviceStatus", "pendingTelematicsDevices", "telematicsConnected", "activeFilter", "siteDepotOwnershipIds", "fleetHealthStatus", "fleetHealthCategories", "fleetHealthTypes", "deviceTypes", "customerIds", "rentalStatuses", "rentalContractOrderNumber", "rentalContractReferenceCode", "rentalContractReferenceCodeDescriptionQuery", "customFields"];
28
28
  export type AssetFilterKeysWithCustomFields = typeof allAssetFilterKeysWithCustomFields;
29
29
  export declare const allSiteFilterKeys: readonly ["search", "siteStatus", "siteType"];
30
30
  export type SiteFilterKeys = typeof allSiteFilterKeys;
@@ -45,7 +45,6 @@ exports.allAssetFilterKeys = [
45
45
  "telematicsConnected",
46
46
  "activeFilter",
47
47
  "siteDepotOwnershipIds",
48
- "fleetHealthStates",
49
48
  "fleetHealthStatus",
50
49
  "fleetHealthCategories",
51
50
  "fleetHealthTypes",