MCPcopy Create free account
hub / github.com/microsoft/SandDance / savePref

Function savePref

docs/app/js/sanddance-app.js:19401–19408  ·  view source on GitHub ↗
(prefs, chart, role, column, partialInsight)

Source from the content-addressed store, hash-verified

19399 return partialInsight;
19400}
19401function savePref(prefs, chart, role, column, partialInsight) {
19402 const SpecTypePrefs = prefs[chart] || {};
19403 prefs[chart] = SpecTypePrefs;
19404 const rolePrefs = SpecTypePrefs[role] || {};
19405 SpecTypePrefs[role] = rolePrefs;
19406 rolePrefs[column] = (0, _sanddanceReact.SandDance).VegaDeckGl.util.deepMerge({}, rolePrefs[column], partialInsight);
19407 return rolePrefs[column];
19408}
19409
19410},{"@msrvida/sanddance-react":"4uo3s","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"4C7Xs":[function(require,module,exports) {
19411var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

saveSignalValuePrefFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected