14 lines
454 B
JavaScript
14 lines
454 B
JavaScript
|
import Model from 'ember-data/model';
|
||
|
import attr from 'ember-data/attr';
|
||
|
// import { fragmentArray } from 'ember-data-model-fragments/attributes';
|
||
|
|
||
|
export default Model.extend({
|
||
|
topologies: attr(),
|
||
|
provider: attr('string'),
|
||
|
version: attr('string'),
|
||
|
controllerRequired: attr('boolean'),
|
||
|
|
||
|
// controllers: fragmentArray('storage-controller', { defaultValue: () => [] }),
|
||
|
// nodes: fragmentArray('storage-node', { defaultValue: () => [] }),
|
||
|
});
|