Ghost/ghost/members-importer/lib
Naz a7f5ee0ad5
Simplified members CSV importer constructor
refs https://github.com/TryGhost/Team/issues/2077

- Passing in the whole "getMembersApi" is just too much state to know about for the importer - it only uses a concept of default tier and members repository, the rest is distracting fluff making it hard to reason about what the importer **has to** know to function
- Passing in two functions breaking up the above state simplifies the constructor API.
- This is also a groundwork before substituting productsRepository for tiersRepository (refed issue objective)
2022-10-25 16:40:28 +08:00
..
email-template.js 🎨 Added number formatting to members import email 2022-09-16 11:13:12 +02:00
importer.js Simplified members CSV importer constructor 2022-10-25 16:40:28 +08:00