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

7 lines
169 B
JavaScript

import { Model, hasMany } from 'ember-cli-mirage';
export default Model.extend({
task_states: hasMany('task-state'),
task_resources: hasMany('task-resources'),
});