jaikamat / clubhouse-pos-importer

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

Single receiving endpoint #231

Closed jaikamat closed 3 years ago

jaikamat commented 3 years ago

Summary

This PR creates an endpoint for fetching one receiving ID so that users can view rarities, tooltip images, and other card list metadata. The bulk of the work was confined to the interactor for this controller, where we had to use multiple joins via $lookup to resolve user and bulk card info on entity ID's.

On the client, we pass receivingId to the dialog component and fetch this information on mount. The query and return types were also written.

It quickly became a grab-bag PR that also includes: