diff --git a/packages/data-source/src/data-sources/Base.ts b/packages/data-source/src/data-sources/Base.ts index 892ee6120..7a166be2c 100644 --- a/packages/data-source/src/data-sources/Base.ts +++ b/packages/data-source/src/data-sources/Base.ts @@ -122,6 +122,10 @@ export default class DataSource e this.emit('change', changeEvent); } + public setValue(path: string, data: any) { + return this.setData(data, path); + } + public onDataChange(path: string, callback: (newVal: any) => void) { this.#observedData.on(path, callback); }