open-nomad/ui/app/models/task-event.js

17 lines
390 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
import Fragment from 'ember-data-model-fragments/fragment';
import attr from 'ember-data/attr';
import { fragmentOwner } from 'ember-data-model-fragments/attributes';
export default Fragment.extend({
state: fragmentOwner(),
type: attr('string'),
signal: attr('number'),
exitCode: attr('number'),
time: attr('date'),
timeNanos: attr('number'),
message: attr('string'),
});