feat(imports): job claims carry IMVU's rating #19

Merged
dhkatz merged 1 commits from feat/claim-rating into main 2026-11-08 14:37:33 +00:00
Owner

Job claims now carry IMVU's rating, for t5de-importer.

  • Why: IMVU's index.xml files have no ProductRating, so the importer has to add one, and it has to agree with the revision's rating on the hub (the higher of IMVU's and the files'). The proxy refuses product files whose ProductRating doesn't match.
  • What: POST /api/v1/importer/jobs/claim now answers {id, kind, imvuProduct, lastRevision, rating}. rating is from imvu_product_info (general or adult), or null when the hub couldn't see the product.
  • Docs: products.md and imports.md updated.

All 62 API tests pass (the import test checks the new field), and the type check passes.

🤖 Generated with Claude Code

Job claims now carry IMVU's rating, for `t5de-importer`. - **Why:** IMVU's `index.xml` files have no `ProductRating`, so the importer has to add one, and it has to agree with the revision's rating on the hub (the higher of IMVU's and the files'). The proxy refuses product files whose `ProductRating` doesn't match. - **What:** `POST /api/v1/importer/jobs/claim` now answers `{id, kind, imvuProduct, lastRevision, rating}`. `rating` is from `imvu_product_info` (`general` or `adult`), or null when the hub couldn't see the product. - **Docs:** `products.md` and `imports.md` updated. All 62 API tests pass (the import test checks the new field), and the type check passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dhkatz added 1 commit 2026-11-08 13:52:58 +00:00
feat(imports): job claims carry IMVU's rating
Pull request / title (pull_request) Successful in 2s
CI / test (pull_request) Successful in 1m31s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped
56f9e29573
The importer writes it into index.xml as ProductRating, so the files agree with the revision's rating.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
dhkatz merged commit 56d25f7507 into main 2026-11-08 14:37:33 +00:00
dhkatz deleted branch feat/claim-rating 2026-11-08 14:37:33 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t5de/t5de-hub#19