hensei-api/app/models
Justin Edmund 3cdd925162
Fix filters and add processors (#181)
* Update test csvs

* Fix count filters and refactor apply_filters

* Update party_querying_concern.rb

* +tests/-debug logs

* Make party association optional in Job

* Updates for weapon series

- Change to new series numbers
- Add static method for querying whether the weapon's element is changeable
- Add a new method to return a text slug for the weapon's series

* Add and update test data

- Updates canonical.rb for loading multiple types of data with multiple types of associations
- Adds test data for Guidebooks, Job Accessories, Job Skills, and Jobs
- Updates test data for Weapons and Summons

* Migrations

- Adds series of migrations for changing the weapon's series to the values used by Cygames
- Shuffled around some foreign keys

* Implement BaseProcessor

Processors are in charge of processing deck data straight from Granblue.

* Implement CharacterProcessor

Process character data from deck

* Implement WeaponProcessor

Process weapon data from deck

* Implement JobProcessor

Process job, job skill, and job accessory data from deck

* Implement SummonProcessor

Process summon data from deck

* Update SummonProcessor to work like the others

* ImportController should use processors

* Process element for changeable weapons
2025-02-17 23:51:50 -08:00
..
concerns Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
app_update.rb
application_record.rb
awakening.rb Jedmund/fix image embeds 4 (#177) 2025-02-09 22:50:18 -08:00
character.rb Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
data_version.rb Create pipeline for importing data via PRs (#148) 2025-01-13 05:33:04 -08:00
favorite.rb
gacha.rb
grid_character.rb Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
grid_summon.rb Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
grid_weapon.rb Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
guidebook.rb
job.rb Fix filters and add processors (#181) 2025-02-17 23:51:50 -08:00
job_accessory.rb
job_skill.rb
party.rb Add first round of tests (#178) 2025-02-12 02:42:30 -08:00
raid.rb
raid_group.rb
summon.rb Don't index on nicknames for now (#139) 2023-12-26 14:03:29 -08:00
user.rb
weapon.rb Fix filters and add processors (#181) 2025-02-17 23:51:50 -08:00
weapon_awakening.rb Jedmund/fix image embeds 4 (#177) 2025-02-09 22:50:18 -08:00
weapon_key.rb