UNPKG

ghost

Version:

The professional publishing platform

20 lines (14 loc) 456 B
const {DonationPaymentEvent: DonationPaymentEventModel} = require('../../models'); class DonationServiceWrapper { repository; init() { if (this.repository) { return; } const {DonationBookshelfRepository} = require('./DonationBookshelfRepository'); this.repository = new DonationBookshelfRepository({ DonationPaymentEventModel }); } } module.exports = DonationServiceWrapper;