@warp-works/warpjs-map-plugin
Version:
WarpJS map browser plugin
13 lines (11 loc) • 459 B
JavaScript
const collection = require('./collection');
const domain = require('./domain');
const entity = require('./entity');
module.exports = {
domain,
column: (memo, doc) => entity('columns', memo, doc),
subColumn: (memo, doc) => collection('aggregations', memo, doc),
row: (memo, doc) => entity('rows', memo, doc),
subRow: (memo, doc) => collection('aggregations', memo, doc),
mapMarker: (memo, doc) => collection('mapMarker', memo, doc)
};