jaikamat / clubhouse-pos-importer

Monorepo for an LGS's inventory management system
1 stars 0 forks source link

Support Etched cards and use `finishes` array #311

Closed jaikamat closed 3 years ago

jaikamat commented 3 years ago

Summary

This is a large PR that condenses together two main application changes:

  1. Support for Etched foiling types
  2. Support for the new Scryfall finishes array, over the former foil and nonfoil booleans

These commits touch both ends of the application, and extend parts of the application that were only until recently binary: that is, we thought cards could only be one of [foil, nonfoil].

Now, users may add etched foils to the inventory, receive, and sell them.

Reporting and live pricing has not been extended and is slated for a future release.

Considerations

The contents of this PR SHOULD NOT be deployed until the database has been properly migrated, and the backend has been deployed. It is not backwards-compatible with the bulk_card data structure we have normally used