Ghost/ghost/admin/app/models/notification.js
Kevin Ansfield ee89b11a6a Refactor notifications service & components
issue #5409

- change persistent/passive notification status to alert/notification
- replace showSuccess/Info/Warn/Error with showNotification/showAlert
- fix and clean up notification/alert components
2015-07-28 12:26:11 +01:00

10 lines
228 B
JavaScript

import DS from 'ember-data';
var Notification = DS.Model.extend({
dismissible: DS.attr('boolean'),
status: DS.attr('string'),
type: DS.attr('string'),
message: DS.attr('string')
});
export default Notification;