open-nomad/ui/mirage/models/task.js
2023-04-10 15:36:59 +00:00

13 lines
272 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
export default Model.extend({
taskGroup: belongsTo(),
recommendations: hasMany(),
services: hasMany('service-fragment'),
});