Desynth page and improved item info api. Added string substitution to utils.

This commit is contained in:
Aodhan
2025-07-10 03:20:33 +01:00
parent b9b47c96f6
commit ef9b64adfe
38 changed files with 5703 additions and 4489 deletions

View File

@@ -15,10 +15,21 @@ class Inventory(Base):
character_name = Column(String)
storage_type = Column(String)
item_name = Column(String)
item_id = Column(Integer, nullable=True)
quantity = Column(Integer)
last_updated = Column(DateTime, default=datetime.utcnow)
class ItemIcon(Base):
__tablename__ = "item_icons"
id = Column(Integer, primary_key=True)
category = Column(String, nullable=False)
image_data = Column(String, nullable=False)
image_format = Column(String, nullable=True)
image_encoding = Column(String, nullable=True)
class Spell(Base):
"""Spell table with job level columns (selected jobs only)."""