ce567b9816
closes https://github.com/TryGhost/Team/issues/2526 - Mention emails can now be toggled inside staff user' profiles, if they have the webmention flag enabled on their Ghost site. - Removed the flag dedicated to webmention email notifications and is now handled by the `webmention` flag. - Does not send email notification if `webmention` flag is not enabled. - Updated tests. --------- Co-authored-by: Fabien "egg" O'Carroll <fabien@allou.is>
25 lines
718 B
JavaScript
25 lines
718 B
JavaScript
import {Factory} from 'miragejs';
|
|
|
|
export default Factory.extend({
|
|
accessibility: null,
|
|
bio: null,
|
|
coverImage: null,
|
|
createdAt: '2015-09-02T13:41:50.000Z',
|
|
createdBy: null,
|
|
email(i) { return `user-${i}@example.com`; },
|
|
profileImage: '//www.gravatar.com/avatar/3ae045bc198a157401827c8455cd7c99?s=250&d=mm&r=x',
|
|
lastLogin: '2015-11-02T16:12:05.000Z',
|
|
location: null,
|
|
metaDescription: null,
|
|
metaTitle: null,
|
|
name(i) { return `User ${i}`; },
|
|
slug(i) { return `user-${i}`; },
|
|
status: 'active',
|
|
tour: null,
|
|
updatedAt: '2015-11-02T16:12:05.000Z',
|
|
updatedBy: '1',
|
|
website: 'http://example.com',
|
|
posts() { return []; },
|
|
roles() { return []; }
|
|
});
|