MCPcopy Create free account
hub / github.com/alephdata/aleph / addProperty

Method addProperty

ui/src/components/MappingEditor/MappingList.js:212–216  ·  view source on GitHub ↗
(id, propName, value)

Source from the content-addressed store, hash-verified

210 }
211
212 addProperty(id, propName, value) {
213 const mapping = this.getMapping(id);
214 mapping.properties[propName] = value;
215 return this;
216 }
217
218 removeProperty(id, propName) {
219 const mapping = this.getMapping(id);

Callers 2

changeIdMethod · 0.95
onPropertyAddMethod · 0.80

Calls 1

getMappingMethod · 0.95

Tested by

no test coverage detected