github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/models/job-plan.js (about) 1 import Model from '@ember-data/model'; 2 import { attr } from '@ember-data/model'; 3 import { fragmentArray } from 'ember-data-model-fragments/attributes'; 4 import { hasMany } from '@ember-data/model'; 5 6 export default class JobPlan extends Model { 7 @attr() diff; 8 @fragmentArray('placement-failure', { defaultValue: () => [] }) 9 failedTGAllocs; 10 @hasMany('allocation') preemptions; 11 }