feat: implement cover#8
Conversation
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThis PR introduces a new Cover module with a fluent URL builder API for constructing Open Library cover image URLs. The module supports different key types (isbn, oclc, lccn, olid, id), sizes (S, M, L), and resources (author, book). The feature is integrated into the main OpenLibrary client with corresponding type exports and comprehensive test coverage. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Add the covers module for building image urls of authors and books
Closes #
Type of Change
What Changed
src/schemas/cover-schema.ts– Added cover schema for cover key type, size and resourcesrc/modules/cover.module.ts– Added cover module and url buildersrc/client.ts– Wired covers module to client__tests__populated with newly added featuresSummary by CodeRabbit
New Features
Tests