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

7 lines
157 B
JavaScript

import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
export default Model.extend({
allocation: belongsTo(),
events: hasMany('task-event'),
});