Hi there, i try to generate an EmberData Model from inside my own Blueprint. The examples i found so far seem outdated, since Blueprints moved out of ember-cli into corresponding Addons.
What i tried:
// Blueprint index.js
const Blueprints = require('ember-cli/lib/models/blueprint');
...
let modelBlueprint = Blueprints.lookup('model'); // unknown blueprint
let modelBlueprint = Blueprints.lookup('model', {paths:'ember-data/blueprints/model'}); // unknown blueprint
Ember Version 3.28
How can i access Blueprints outside the scope of ember-cli?