@trackunit/filters-graphql-hook 2.15.0 → 2.15.2
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/filters-graphql-hook",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.2",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"@graphql-codegen/cli": "^5.0.3",
|
|
11
11
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
12
12
|
"zod": "^3.25.76",
|
|
13
|
-
"@trackunit/iris-app-build-utilities": "2.4.
|
|
14
|
-
"@trackunit/filters-filter-bar": "2.6.
|
|
15
|
-
"@trackunit/shared-utils": "1.16.
|
|
16
|
-
"@trackunit/iris-app-api": "2.4.
|
|
17
|
-
"@trackunit/react-core-contexts-test": "1.18.
|
|
18
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
19
|
-
"@trackunit/iris-app-runtime-core-api": "1.17.
|
|
20
|
-
"@trackunit/react-core-hooks": "1.21.
|
|
13
|
+
"@trackunit/iris-app-build-utilities": "2.4.50",
|
|
14
|
+
"@trackunit/filters-filter-bar": "2.6.63",
|
|
15
|
+
"@trackunit/shared-utils": "1.16.45",
|
|
16
|
+
"@trackunit/iris-app-api": "2.4.41",
|
|
17
|
+
"@trackunit/react-core-contexts-test": "1.18.54",
|
|
18
|
+
"@trackunit/i18n-library-translation": "2.4.54",
|
|
19
|
+
"@trackunit/iris-app-runtime-core-api": "1.17.54",
|
|
20
|
+
"@trackunit/react-core-hooks": "1.21.54"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"@apollo/client": "^3.13.8",
|
|
@@ -567,6 +567,13 @@ export declare const systemOfMeasurement: {
|
|
|
567
567
|
readonly US_CUSTOMARY: "US_CUSTOMARY";
|
|
568
568
|
};
|
|
569
569
|
export type SystemOfMeasurement = (typeof systemOfMeasurement)[keyof typeof systemOfMeasurement];
|
|
570
|
+
export declare const telematicsDeviceSerialNumberPrefixMatch: {
|
|
571
|
+
readonly ALL_MATCH: "ALL_MATCH";
|
|
572
|
+
readonly ANY_MATCH: "ANY_MATCH";
|
|
573
|
+
readonly NOT_ALL_MATCH: "NOT_ALL_MATCH";
|
|
574
|
+
readonly NO_MATCH: "NO_MATCH";
|
|
575
|
+
};
|
|
576
|
+
export type TelematicsDeviceSerialNumberPrefixMatch = (typeof telematicsDeviceSerialNumberPrefixMatch)[keyof typeof telematicsDeviceSerialNumberPrefixMatch];
|
|
570
577
|
export type AggregatedNumberRange = {
|
|
571
578
|
/** The period of the aggregated number range */
|
|
572
579
|
period: AggregationPeriod;
|
|
@@ -772,6 +779,14 @@ export type AssetFiltersInput = {
|
|
|
772
779
|
systemOfMeasurement?: InputMaybe<SystemOfMeasurement>;
|
|
773
780
|
/** Filter by if the asset is connected */
|
|
774
781
|
telematicsDeviceIsConnected?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
782
|
+
/**
|
|
783
|
+
* Filter assets by prefixes of their telematics device serial numbers.
|
|
784
|
+
* The match mode is evaluated across all telematics devices attached to an
|
|
785
|
+
* asset. A device without a serial number is treated as non-matching.
|
|
786
|
+
* Matching is case-insensitive. Omit this field to disable the filter;
|
|
787
|
+
* an empty or blank `values` list is rejected.
|
|
788
|
+
*/
|
|
789
|
+
telematicsDeviceSerialNumberPrefixes?: InputMaybe<TelematicsDeviceSerialNumberPrefixes>;
|
|
775
790
|
/** List of telematics device serial numbers */
|
|
776
791
|
telematicsDeviceSerialNumbers?: InputMaybe<Array<Scalars["String"]["input"]>>;
|
|
777
792
|
/** List of types (also known as subtypes) */
|
|
@@ -938,6 +953,18 @@ export type RentalActiveContractFilters = {
|
|
|
938
953
|
/** Filter by rental active contract item on rent dates date range */
|
|
939
954
|
onRentDatesDateRange?: InputMaybe<DateTimeRange>;
|
|
940
955
|
};
|
|
956
|
+
export type TelematicsDeviceSerialNumberPrefixes = {
|
|
957
|
+
/** How device matches are combined at asset level. */
|
|
958
|
+
deviceMatch: TelematicsDeviceSerialNumberPrefixMatch;
|
|
959
|
+
/**
|
|
960
|
+
* Prefixes to match. A device matches when its serial number starts with at
|
|
961
|
+
* least one value. Comparison is case-insensitive.
|
|
962
|
+
*
|
|
963
|
+
* Must contain at least one non-blank prefix. An empty list or a blank
|
|
964
|
+
* entry (`""`) is rejected.
|
|
965
|
+
*/
|
|
966
|
+
values: Array<Scalars["String"]["input"]>;
|
|
967
|
+
};
|
|
941
968
|
export type GetFilteredAssetsQueryVariables = Exact<{
|
|
942
969
|
filters: InputMaybe<AssetFiltersInput>;
|
|
943
970
|
sort: InputMaybe<AssetSortInput>;
|
package/migrations/entry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entry.js","sourceRoot":"","sources":["../../../../../libs/filters/graphql-hook/migrations/entry.ts"],"names":[],"mappings":"","sourcesContent":["export {};\n"]}
|