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

17 lines
411 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/model';
2017-09-19 14:47:10 +00:00
import { fragmentOwner } from 'ember-data-model-fragments/attributes';
export default class TaskEvent extends Fragment {
@fragmentOwner() state;
2017-09-19 14:47:10 +00:00
@attr('string') type;
@attr('number') signal;
@attr('number') exitCode;
2017-09-19 14:47:10 +00:00
@attr('date') time;
@attr('number') timeNanos;
2017-09-19 14:47:10 +00:00
@attr('string') message;
}