mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
13 lines
379 B
JavaScript
13 lines
379 B
JavaScript
|
import Model, {attr, belongsTo} from '@ember-data/model';
|
||
|
|
||
|
export default Model.extend({
|
||
|
processedAtUTC: attr('moment-utc'),
|
||
|
deliveredAtUTC: attr('moment-utc'),
|
||
|
openedAtUTC: attr('moment-utc'),
|
||
|
failedAtUTC: attr('moment-utc'),
|
||
|
memberEmail: attr('string'),
|
||
|
memberName: attr('string'),
|
||
|
|
||
|
email: belongsTo('email', {embedded: 'always', async: false})
|
||
|
});
|