Improve client-side graphql scalar types (#4511)

* Add types to graphql scalars
* Upgrade dependencies
* Override UI config type
* Remove all IUIConfig casts
* Add tableColumns to IUIConfig
* Add BoolMap type, set strictScalars
* Add PluginConfigMap
* Replace any with unknown
* Add SavedObjectFilter and SavedUIOptions
* Remove unused items from CriterionType
This commit is contained in:
DingDongSoLong4
2024-02-07 00:49:32 +02:00
committed by GitHub
parent 9ac6505241
commit 2d73912f15
121 changed files with 887 additions and 1062 deletions

View File

@@ -87,7 +87,7 @@ function appendObject(
cache.modify({
fields: {
[keyName]: (value, { toReference }) => {
return [...value, toReference(obj)];
return [...(value as unknown[]), toReference(obj)];
},
},
});