@trackunit/custom-field-api 1.14.14 → 1.15.0
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 +4 -4
- package/index.esm.js +4 -4
- package/package.json +6 -6
package/index.cjs.js
CHANGED
|
@@ -2014,7 +2014,7 @@ const allCustomFieldHasValue = (field) => {
|
|
|
2014
2014
|
return !!field.stringValue;
|
|
2015
2015
|
}
|
|
2016
2016
|
case "NumberFieldValueAndDefinition": {
|
|
2017
|
-
return
|
|
2017
|
+
return typeof field.numberValue === "number";
|
|
2018
2018
|
}
|
|
2019
2019
|
case "BooleanFieldValueAndDefinition": {
|
|
2020
2020
|
return !(field.booleanValue === null);
|
|
@@ -2032,7 +2032,7 @@ const allCustomFieldHasValue = (field) => {
|
|
|
2032
2032
|
return false;
|
|
2033
2033
|
}
|
|
2034
2034
|
case "MonetaryFieldValueAndDefinition": {
|
|
2035
|
-
return
|
|
2035
|
+
return typeof field.monetaryValue === "number";
|
|
2036
2036
|
}
|
|
2037
2037
|
case "FileFieldValueAndDefinition": {
|
|
2038
2038
|
return false;
|
|
@@ -2175,7 +2175,7 @@ const customFieldHasValue = (field) => {
|
|
|
2175
2175
|
return !!field.stringValue;
|
|
2176
2176
|
}
|
|
2177
2177
|
case "NumberFieldValueAndDefinition": {
|
|
2178
|
-
return
|
|
2178
|
+
return typeof field.numberValue === "number";
|
|
2179
2179
|
}
|
|
2180
2180
|
case "BooleanFieldValueAndDefinition": {
|
|
2181
2181
|
return !(field.booleanValue === null);
|
|
@@ -2193,7 +2193,7 @@ const customFieldHasValue = (field) => {
|
|
|
2193
2193
|
return false;
|
|
2194
2194
|
}
|
|
2195
2195
|
case "MonetaryFieldValueAndDefinition": {
|
|
2196
|
-
return
|
|
2196
|
+
return typeof field.monetaryValue === "number";
|
|
2197
2197
|
}
|
|
2198
2198
|
case "FileFieldValueAndDefinition": {
|
|
2199
2199
|
return false;
|
package/index.esm.js
CHANGED
|
@@ -2012,7 +2012,7 @@ const allCustomFieldHasValue = (field) => {
|
|
|
2012
2012
|
return !!field.stringValue;
|
|
2013
2013
|
}
|
|
2014
2014
|
case "NumberFieldValueAndDefinition": {
|
|
2015
|
-
return
|
|
2015
|
+
return typeof field.numberValue === "number";
|
|
2016
2016
|
}
|
|
2017
2017
|
case "BooleanFieldValueAndDefinition": {
|
|
2018
2018
|
return !(field.booleanValue === null);
|
|
@@ -2030,7 +2030,7 @@ const allCustomFieldHasValue = (field) => {
|
|
|
2030
2030
|
return false;
|
|
2031
2031
|
}
|
|
2032
2032
|
case "MonetaryFieldValueAndDefinition": {
|
|
2033
|
-
return
|
|
2033
|
+
return typeof field.monetaryValue === "number";
|
|
2034
2034
|
}
|
|
2035
2035
|
case "FileFieldValueAndDefinition": {
|
|
2036
2036
|
return false;
|
|
@@ -2173,7 +2173,7 @@ const customFieldHasValue = (field) => {
|
|
|
2173
2173
|
return !!field.stringValue;
|
|
2174
2174
|
}
|
|
2175
2175
|
case "NumberFieldValueAndDefinition": {
|
|
2176
|
-
return
|
|
2176
|
+
return typeof field.numberValue === "number";
|
|
2177
2177
|
}
|
|
2178
2178
|
case "BooleanFieldValueAndDefinition": {
|
|
2179
2179
|
return !(field.booleanValue === null);
|
|
@@ -2191,7 +2191,7 @@ const customFieldHasValue = (field) => {
|
|
|
2191
2191
|
return false;
|
|
2192
2192
|
}
|
|
2193
2193
|
case "MonetaryFieldValueAndDefinition": {
|
|
2194
|
-
return
|
|
2194
|
+
return typeof field.monetaryValue === "number";
|
|
2195
2195
|
}
|
|
2196
2196
|
case "FileFieldValueAndDefinition": {
|
|
2197
2197
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/custom-field-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=24.x"
|
|
6
6
|
},
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"graphql": "^16.10.0",
|
|
13
13
|
"@apollo/client": "3.13.8",
|
|
14
14
|
"react": "19.0.0",
|
|
15
|
-
"@trackunit/iris-app-build-utilities": "1.
|
|
16
|
-
"@trackunit/iris-app-api": "1.
|
|
15
|
+
"@trackunit/iris-app-build-utilities": "1.13.0",
|
|
16
|
+
"@trackunit/iris-app-api": "1.15.0",
|
|
17
17
|
"@trackunit/react-core-contexts-test": "1.12.54",
|
|
18
18
|
"@trackunit/shared-utils": "1.13.68",
|
|
19
|
-
"@trackunit/react-core-hooks": "1.12.
|
|
20
|
-
"@trackunit/iris-app-runtime-core": "1.13.
|
|
19
|
+
"@trackunit/react-core-hooks": "1.12.57",
|
|
20
|
+
"@trackunit/iris-app-runtime-core": "1.13.54",
|
|
21
21
|
"@trackunit/iris-app-runtime-core-api": "1.12.51",
|
|
22
|
-
"@trackunit/react-graphql-hooks": "1.
|
|
22
|
+
"@trackunit/react-graphql-hooks": "1.16.0"
|
|
23
23
|
},
|
|
24
24
|
"module": "./index.esm.js",
|
|
25
25
|
"main": "./index.cjs.js",
|