open-nomad/ui/mirage/models/evaluation.js
Phil Renaud 182bead357
[ui, mirage] Evaluation mocks (#12471)
* Linear and Branching mock evaluations

* De-comment

* test-trigger

* Making evaluation trees dynamic

* Reinstated job relationship on eval mock

* Dasherize job prefix back to normal

* Handle bug where UUIDKey is not present on job

* Appending node to eval

* Job ID as a passed property

* Remove unused import

* Branching evals set up as generatable
2022-04-27 12:11:24 -04:00

6 lines
141 B
JavaScript

import { Model, hasMany, belongsTo } from 'ember-cli-mirage';
export default Model.extend({
relatedEvals: hasMany('evaluation-stub'),
});