pokemon-showdown/data/mods/gen7letsgo
Ivo Julca 29f778f233 Stricter typing for formats and rules
- Legacy effect type ``Ruleset`` removed
- New type ``RuleValueType`` for ``rule.hasValue``
- New interface ``RuleTableBuildContext`` for ``onValidateRule`` handlers
- New interface: ``RuleEventMethods`` extending ``EventMethods``
- ``data/rulesets.ts``: Different tag-discriminated types for
  ``effectType='Rule'`` vs ``effectType='ValidatorRule'``:
  ``RuleData`` vs ``ValidatorRuleData``.
- ``data/rulesets.ts``: Renamed ``FormatDataTable`` to ``RulesetTable``
- Distinguishes types for formats in ``config/formats.ts`` vs in ``Dex.data.Rulesets``:
  ``FormatData`` vs ``LoadedFormatData``.
- Union type for formats OR rulesets in ``Dex.data.Rulesets``: ``RulesetData``
- Implements ``DexFormats#find|some``, for searches excluding rules.
- Remove obsolete comment regarding former lack of support for format.onResidual
2026-04-16 12:02:45 -05:00
..
formats-data.ts LGPE: UU/RU tier changes (#11462) 2025-09-28 16:56:04 -06:00
learnsets.ts Refactor types for Lowercase<string> (#10377) 2024-07-01 15:57:14 -07:00
moves.ts Support inheritance of ability, item, and move conditions (#11754) 2026-03-19 03:44:48 -07:00
pokedex.ts Refactor types for Lowercase<string> (#10377) 2024-07-01 15:57:14 -07:00
rulesets.ts Stricter typing for formats and rules 2026-04-16 12:02:45 -05:00
scripts.ts Let's Go: Fix Legends Z-A Mega legality (#11566) 2025-11-08 21:04:53 -07:00