Extract shared import logic into lib/card-import, discover missing sets via Scryfall/Pokémon TCG APIs, and expose GET /api/cron/sync-catalog protected by CRON_SECRET (max 3 sets/run, paced imports). Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| auth | ||
| cards | ||
| collections | ||
| community | ||
| cron | ||
| decks | ||
| invite | ||
| public | ||
| scan | ||
| user | ||
| users | ||
| auth-utils.js | ||
| collections.js | ||
| decks.js | ||
| favorites.js | ||
| health.js | ||
| user-cards.js | ||