open-nomad/ui/mirage/models/task-state.js

7 lines
157 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
export default Model.extend({
allocation: belongsTo(),
events: hasMany('task-event'),
});