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

13 lines
256 B
JavaScript

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