@trackunit/filters-graphql-hook 1.9.44 → 1.9.48

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
@@ -77,7 +77,6 @@ values, outputTypeRecord) => {
77
77
  if (!convertedValue) {
78
78
  throw Error(`Unknown value: ${value} expect one of: ${JSON.stringify(Object.values(outputTypeRecord))}`);
79
79
  }
80
- // eslint-disable-next-line local-rules/no-typescript-assertion
81
80
  return convertedValue;
82
81
  });
83
82
  return result.filter(sharedUtils.truthy);
@@ -88,7 +87,6 @@ values, outputTypeRecord) => {
88
87
  if (!convertedValue) {
89
88
  throw Error(`Unknown value: ${values} expect one of: ${JSON.stringify(Object.values(outputTypeRecord))}`);
90
89
  }
91
- // eslint-disable-next-line local-rules/no-typescript-assertion
92
90
  return [convertedValue];
93
91
  }
94
92
  throw Error(`Unknown value: ${values} should be a string array`);
@@ -108,7 +106,6 @@ const fixType = (values, outputTypeRecord) => {
108
106
  if (!convertedValue) {
109
107
  throw Error(`Unknown value: ${values} expect one of: ${JSON.stringify(Object.values(outputTypeRecord))}`);
110
108
  }
111
- // eslint-disable-next-line local-rules/no-typescript-assertion
112
109
  return convertedValue;
113
110
  };
114
111
  /**
@@ -144,7 +141,7 @@ value) => {
144
141
  const isValueName = (value) => {
145
142
  return (typeof value === "object" &&
146
143
  value !== null &&
147
- // eslint-disable-next-line no-autofix/local-rules/prefer-custom-object-keys
144
+ // eslint-disable-next-line local-rules/prefer-custom-object-keys
148
145
  Object.keys(value).includes("name") &&
149
146
  Object.keys(value).includes("value"));
150
147
  };
package/index.esm.js CHANGED
@@ -75,7 +75,6 @@ values, outputTypeRecord) => {
75
75
  if (!convertedValue) {
76
76
  throw Error(`Unknown value: ${value} expect one of: ${JSON.stringify(Object.values(outputTypeRecord))}`);
77
77
  }
78
- // eslint-disable-next-line local-rules/no-typescript-assertion
79
78
  return convertedValue;
80
79
  });
81
80
  return result.filter(truthy);
@@ -86,7 +85,6 @@ values, outputTypeRecord) => {
86
85
  if (!convertedValue) {
87
86
  throw Error(`Unknown value: ${values} expect one of: ${JSON.stringify(Object.values(outputTypeRecord))}`);
88
87
  }
89
- // eslint-disable-next-line local-rules/no-typescript-assertion
90
88
  return [convertedValue];
91
89
  }
92
90
  throw Error(`Unknown value: ${values} should be a string array`);
@@ -106,7 +104,6 @@ const fixType = (values, outputTypeRecord) => {
106
104
  if (!convertedValue) {
107
105
  throw Error(`Unknown value: ${values} expect one of: ${JSON.stringify(Object.values(outputTypeRecord))}`);
108
106
  }
109
- // eslint-disable-next-line local-rules/no-typescript-assertion
110
107
  return convertedValue;
111
108
  };
112
109
  /**
@@ -142,7 +139,7 @@ value) => {
142
139
  const isValueName = (value) => {
143
140
  return (typeof value === "object" &&
144
141
  value !== null &&
145
- // eslint-disable-next-line no-autofix/local-rules/prefer-custom-object-keys
142
+ // eslint-disable-next-line local-rules/prefer-custom-object-keys
146
143
  Object.keys(value).includes("name") &&
147
144
  Object.keys(value).includes("value"));
148
145
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/filters-graphql-hook",
3
- "version": "1.9.44",
3
+ "version": "1.9.48",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -13,15 +13,15 @@
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.6.26",
17
- "@trackunit/filters-filter-bar": "1.7.44",
18
- "@trackunit/shared-utils": "1.8.26",
19
- "@trackunit/iris-app-api": "1.6.26",
20
- "@trackunit/react-core-contexts-test": "1.6.28",
21
- "@trackunit/i18n-library-translation": "1.6.29",
22
- "@trackunit/react-core-contexts-api": "1.7.27",
23
- "@trackunit/react-core-hooks": "1.6.28",
24
- "@trackunit/react-test-setup": "1.3.26"
16
+ "@trackunit/iris-app-build-utilities": "1.6.28",
17
+ "@trackunit/filters-filter-bar": "1.7.48",
18
+ "@trackunit/shared-utils": "1.8.28",
19
+ "@trackunit/iris-app-api": "1.6.28",
20
+ "@trackunit/react-core-contexts-test": "1.6.30",
21
+ "@trackunit/i18n-library-translation": "1.6.31",
22
+ "@trackunit/react-core-contexts-api": "1.7.29",
23
+ "@trackunit/react-core-hooks": "1.6.30",
24
+ "@trackunit/react-test-setup": "1.3.28"
25
25
  },
26
26
  "module": "./index.esm.js",
27
27
  "main": "./index.cjs.js",