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

Method getSchemaCount

ui/src/components/MappingEditor/MappingList.js:97–100  ·  view source on GitHub ↗
(schemaToAssign)

Source from the content-addressed store, hash-verified

95 }
96
97 getSchemaCount(schemaToAssign) {
98 return this.getValues().filter(({ schema }) => schema === schemaToAssign)
99 .length;
100 }
101
102 getMappingsCount() {
103 return this.mappingItems.size;

Callers 2

assignIdMethod · 0.95
addMappingMethod · 0.95

Calls 1

getValuesMethod · 0.95

Tested by

no test coverage detected