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

12 lines
244 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Model, hasMany } from 'ember-cli-mirage';
export default Model.extend({
taskStates: hasMany('task-state'),
taskResources: hasMany('task-resource'),
});