Commit graph

9 commits

Author SHA1 Message Date
b828bbeba3 collection sync with orphan handling
- preview_sync endpoint shows what'll get deleted before you commit
- import services handle reconciliation (find missing items, delete them)
- grid items get flagged as orphaned when their collection source is gone
- party exposes has_orphaned_items
- blueprints include orphaned field
2025-12-23 22:42:58 -08:00
5da86c5405 fix collection filters to support comma-separated array params 2025-12-19 12:26:26 -08:00
693962ce3b fix proficiency filter for quirk and standard artifacts 2025-12-19 01:07:41 -08:00
ab19403904 add skill filtering and batch_destroy for collection artifacts 2025-12-19 00:39:52 -08:00
5666ee300c fix import_params to pass nested game data 2025-12-14 01:42:05 -08:00
658d3d9c49 add rarity filter to collection artifacts index 2025-12-03 21:26:46 -08:00
6cf85a5b3e add artifact import from game data
- Add ArtifactImportService to parse game JSON and create collection artifacts
- Maps game skill_id to our (group, modifier) format using verified mapping
- Handles skill quality -> strength lookup via ArtifactSkill.base_values
- Supports duplicate detection via game_id, with optional update_existing flag
- Quirk artifacts get proficiency from game data; skills stored as empty
- Add POST /collection/artifacts/import endpoint
- Add game_id column to collection_artifacts, collection_weapons,
  collection_summons for tracking game inventory instance IDs
2025-12-03 14:20:21 -08:00
8787aa34a3 include reroll_slot and grades in artifact responses 2025-12-03 13:27:35 -08:00
cc7ac1956b add artifact controllers and routes 2025-12-03 12:58:44 -08:00