2016-04-15 17:45:50 +03:00
|
|
|
export default function (server) {
|
2015-10-13 16:52:41 +03:00
|
|
|
// Seed your development database using your factories. This
|
|
|
|
// data will not be loaded in your tests.
|
|
|
|
|
|
|
|
// server.createList('contact', 10);
|
2016-04-15 17:45:50 +03:00
|
|
|
|
2016-09-24 18:48:06 +03:00
|
|
|
server.createList('tag', 100);
|
2018-10-18 02:18:29 +03:00
|
|
|
|
|
|
|
server.create('integration', {name: 'Demo'});
|
2019-01-24 22:34:32 +03:00
|
|
|
|
|
|
|
server.createList('member', 125);
|
2022-04-13 21:34:48 +03:00
|
|
|
|
|
|
|
// sites always have a default newsletter
|
|
|
|
server.create('newsletter', {
|
|
|
|
name: 'Site title',
|
|
|
|
slug: 'site-title',
|
|
|
|
description: 'Default newsletter created during setup',
|
|
|
|
|
2022-04-15 11:43:10 +03:00
|
|
|
senderName: null,
|
2022-04-13 21:34:48 +03:00
|
|
|
senderEmail: null,
|
|
|
|
senderReplyTo: 'newsletter',
|
|
|
|
|
|
|
|
status: 'active',
|
|
|
|
recipientFilter: null,
|
|
|
|
subscribeOnSignup: true,
|
|
|
|
sortOrder: 0,
|
|
|
|
|
|
|
|
headerImage: null,
|
|
|
|
showHeaderIcon: true,
|
|
|
|
showHeaderTitle: true,
|
|
|
|
titleFontCategory: 'sans_serif',
|
|
|
|
titleAlignment: 'center',
|
|
|
|
showFeatureImage: true,
|
|
|
|
bodyFontCategory: 'sans_serif',
|
|
|
|
footerContent: null,
|
|
|
|
showBadge: true
|
|
|
|
});
|
2015-10-13 16:52:41 +03:00
|
|
|
}
|