const TypeCreator = require('@oresoftware/tc');
const tc = new TypeCreator();
const v = tc.registerSymbols({
foo: {value: Symbol('zoom0'), kind:'Dummy1'}
bar:{value: Symbol('zoom1'), kind:'Dummy2'}
});
exports.entities = tc.createEntities({
});
// serves the JSON for the API docs generator on the client
exports.serve = tc.createAPIJSON().serve(); // returns middleware that will respond with the json
and note that register Symbols returns an object where foo points to foo.value and bar points to bar.value
and note that register Symbols returns an object where foo points to foo.value and bar points to bar.value