Implements the genlocke creation feature end-to-end: Genlocke and GenlockeLeg models with migration, POST /genlockes endpoint that creates the genlocke with all legs and auto-starts the first run, and a 4-step wizard UI (Name, Select Games with preset templates, Rules, Confirm) at /genlockes/new. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
779 B
Python
29 lines
779 B
Python
from app.models.boss_battle import BossBattle
|
|
from app.models.boss_pokemon import BossPokemon
|
|
from app.models.boss_result import BossResult
|
|
from app.models.encounter import Encounter
|
|
from app.models.evolution import Evolution
|
|
from app.models.game import Game
|
|
from app.models.genlocke import Genlocke, GenlockeLeg
|
|
from app.models.nuzlocke_run import NuzlockeRun
|
|
from app.models.pokemon import Pokemon
|
|
from app.models.route import Route
|
|
from app.models.route_encounter import RouteEncounter
|
|
from app.models.version_group import VersionGroup
|
|
|
|
__all__ = [
|
|
"BossBattle",
|
|
"BossPokemon",
|
|
"BossResult",
|
|
"Encounter",
|
|
"Evolution",
|
|
"Game",
|
|
"Genlocke",
|
|
"GenlockeLeg",
|
|
"NuzlockeRun",
|
|
"Pokemon",
|
|
"Route",
|
|
"RouteEncounter",
|
|
"VersionGroup",
|
|
]
|