Ghost/ghost/data-generator/lib/importers
Sam Lord 4ff467794f Entirely rewrote data generator to simplify codebase
refs: https://github.com/TryGhost/DevOps/issues/11

This is a pretty huge commit, but the relevant points are:
* Each importer no longer needs to be passed a set of data, it just gets the data it needs
* Each importer specifies its dependencies, so that the order of import can be determined at runtime using a topological sort
* The main data generator function can just tell each importer to import the data it has

This makes working on the data generator much easier.

Some other benefits are:
* Batched importing, massively speeding up the whole process
* `--tables` to set the exact tables you want to import, and specify the quantity of each
2023-08-04 13:36:09 +01:00
..
BenefitsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
EmailBatchesImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
EmailRecipientsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
EmailsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
index.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
LabelsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersClickEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersCreatedEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersFeedbackImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersLabelsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersLoginEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersNewslettersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersPaidSubscriptionEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersProductsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersStatusEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersStripeCustomersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersStripeCustomersSubscriptionsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersSubscribeEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
MembersSubscriptionCreatedEventsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
NewslettersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
OffersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
PostsAuthorsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
PostsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
PostsProductsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
PostsTagsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
ProductsBenefitsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
ProductsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
RedirectsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
RolesUsersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
StripePricesImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
StripeProductsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
SubscriptionsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
TableImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
TagsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
UsersImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
WebMentionsImporter.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00