mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
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:
@@ -87,7 +87,7 @@ function appendObject(
|
||||
cache.modify({
|
||||
fields: {
|
||||
[keyName]: (value, { toReference }) => {
|
||||
return [...value, toReference(obj)];
|
||||
return [...(value as unknown[]), toReference(obj)];
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user