2018-05-25 18:48:49 +00:00
|
|
|
import { alias } from '@ember/object/computed';
|
2018-05-08 16:39:27 +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({
|
|
|
|
node: fragmentOwner(),
|
|
|
|
|
|
|
|
message: attr('string'),
|
|
|
|
subsystem: attr('string'),
|
|
|
|
details: attr(),
|
|
|
|
time: attr('date'),
|
2018-05-25 18:48:49 +00:00
|
|
|
|
|
|
|
driver: alias('details.driver'),
|
2018-05-08 16:39:27 +00:00
|
|
|
});
|