open-nomad/ui/mirage/models/allocation.js

7 lines
166 B
JavaScript

import { Model, hasMany } from 'ember-cli-mirage';
export default Model.extend({
taskStates: hasMany('task-state'),
taskResources: hasMany('task-resource'),
});