mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
76640d9b7e
refs https://github.com/TryGhost/Team/issues/2572 - Passes post resource data to emails. - Updated email templates accordingly. - Added snapshot e2e tests.
17 lines
536 B
JavaScript
17 lines
536 B
JavaScript
import Model, {attr} from '@ember-data/model';
|
|
|
|
export default Model.extend({
|
|
source: attr('string'),
|
|
target: attr('string'),
|
|
timestamp: attr('date'),
|
|
resource: attr(),
|
|
sourceTitle: attr('string'),
|
|
sourceSiteTitle: attr('string'),
|
|
sourceAuthor: attr('string'),
|
|
sourceExcerpt: attr('string'),
|
|
sourceFavicon: attr('string'),
|
|
sourceFeaturedImage: attr('string'),
|
|
payload: attr(),
|
|
mentions: attr() // @todo this is a temporary field until we have the api / db model structure figured out
|
|
});
|