hensei-api/app/services
Justin Edmund 7bda9a1432
Improve collection sync with scoped filtering and orphan handling (#201)
* 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

* scope artifact sync by element and proficiency

- accept filter param in preview_sync and import
- only check/delete items matching active filter
- prevents accidental deletion of filtered-out items

* scope weapon sync by element and proficiency

- accept filter param in preview_sync and import
- element checks collection_weapon first, falls back to weapon
- proficiency joins through weapon table

* scope summon sync by element

- accept filter param in preview_sync and import
- element joins through summon table
2025-12-31 22:20:10 -08:00
..
preview_service Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
processors Add weapon stat modifiers for AX skills and befoulments (#202) 2025-12-31 22:20:00 -08:00
artifact_grader.rb update artifact skill tier ratings based on community data 2025-12-03 13:51:20 -08:00
artifact_image_download_service.rb add artifact image download service and job 2025-12-03 13:37:10 -08:00
artifact_import_service.rb Improve collection sync with scoped filtering and orphan handling (#201) 2025-12-31 22:20:10 -08:00
aws_service.rb fix blueprints: use correct association names instead of 'object' 2025-11-29 17:41:29 -08:00
character_image_download_service.rb add character creation + image download API 2025-12-01 00:48:40 -08:00
character_image_validator.rb character validator: skip CRL in dev 2025-12-01 02:41:21 -08:00
character_import_service.rb support extension stats format in character import 2025-12-18 23:15:48 -08:00
dataminer.rb Add a data miner for downloading data from GBF (#196) 2025-03-06 19:12:44 -08:00
party_query_builder.rb Fix filters and add processors (#181) 2025-02-17 23:51:50 -08:00
summon_image_download_service.rb summons: add validate, create, download endpoints 2025-12-01 02:41:16 -08:00
summon_image_validator.rb summons: add validate, create, download endpoints 2025-12-01 02:41:16 -08:00
summon_import_service.rb Improve collection sync with scoped filtering and orphan handling (#201) 2025-12-31 22:20:10 -08:00
weapon_image_download_service.rb add element variant downloading for null element weapons 2025-12-16 21:15:39 -08:00
weapon_image_validator.rb weapons: add validate, create, download endpoints 2025-12-01 03:04:15 -08:00
weapon_import_service.rb Improve collection sync with scoped filtering and orphan handling (#201) 2025-12-31 22:20:10 -08:00