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

8 lines
194 B
JavaScript

import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
export default Model.extend({
taskGroup: belongsTo(),
recommendations: hasMany(),
services: hasMany('service-fragment'),
});