2023-01-17 15:16:18 +03:00
|
|
|
import Model, {attr} from '@ember-data/model';
|
|
|
|
|
|
|
|
export default Model.extend({
|
|
|
|
source: attr('string'),
|
|
|
|
target: attr('string'),
|
|
|
|
timestamp: attr('date'),
|
2023-02-02 09:34:39 +03:00
|
|
|
resource: attr(),
|
2023-01-17 15:16:18 +03:00
|
|
|
sourceTitle: attr('string'),
|
2023-01-19 15:49:56 +03:00
|
|
|
sourceSiteTitle: attr('string'),
|
|
|
|
sourceAuthor: attr('string'),
|
|
|
|
sourceExcerpt: attr('string'),
|
2023-01-17 15:16:18 +03:00
|
|
|
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
|
|
|
|
});
|