31a4135fec
refs https://github.com/TryGhost/Team/issues/1717 - Updates last_commented_at and last_seen_at (only once a day) - Used the LastSeenAtUpdater, so we can combine updating last_commented_at and last_seen_at in one query + used same pattern - Updated comments service to await emails in order to make E2E tests more stable (as we don't have any method to await emails and test emails otherwise). This removed the email sending logic from the `onCreated` hook of the model.
12 lines
631 B
JavaScript
12 lines
631 B
JavaScript
module.exports = {
|
|
MemberEntryViewEvent: require('./lib/MemberEntryViewEvent'),
|
|
MemberSubscribeEvent: require('./lib/MemberSubscribeEvent'),
|
|
MemberUnsubscribeEvent: require('./lib/MemberUnsubscribeEvent'),
|
|
MemberSignupEvent: require('./lib/MemberSignupEvent'),
|
|
MemberPaidConverstionEvent: require('./lib/MemberPaidConversionEvent'),
|
|
MemberPaidCancellationEvent: require('./lib/MemberPaidCancellationEvent'),
|
|
MemberPageViewEvent: require('./lib/MemberPageViewEvent'),
|
|
SubscriptionCreatedEvent: require('./lib/SubscriptionCreatedEvent'),
|
|
MemberCommentEvent: require('./lib/MemberCommentEvent')
|
|
};
|