UNPKG

ember-m3

Version:

Alternative to @ember-data/model in which attributes and relationships are derived from API Payloads

22 lines (18 loc) 496 B
/* eslint-env node */ module.exports = { description: 'Generates an empty m3 schema', normalizeEntityName: function() { // this prevents an error when the entityName is // not specified (since that doesn't actually matter // to us) }, // locals: function(options) { // // Return custom template variables here. // return { // foo: options.entity.options.foo // }; // } // afterInstall: function(options) { // // Perform extra work here. // } };