Retires Support/donation/tiers page in favor of simple configurable link
This commit is contained in:
+2
-29
@@ -51,35 +51,6 @@ class EventResponse(BaseModel):
|
||||
model_config = {"from_attributes": True}
|
||||
|
||||
|
||||
# ── DonationTier ─────────────────────────────────────────
|
||||
|
||||
class TierCreate(BaseModel):
|
||||
name: str
|
||||
amount: float
|
||||
icon: str
|
||||
benefits: list[str]
|
||||
display_order: int
|
||||
|
||||
|
||||
class TierUpdate(BaseModel):
|
||||
name: Optional[str] = None
|
||||
amount: Optional[float] = None
|
||||
icon: Optional[str] = None
|
||||
benefits: Optional[list[str]] = None
|
||||
display_order: Optional[int] = None
|
||||
|
||||
|
||||
class TierResponse(BaseModel):
|
||||
id: int
|
||||
name: str
|
||||
amount: float
|
||||
icon: str
|
||||
benefits: list[str]
|
||||
display_order: int
|
||||
|
||||
model_config = {"from_attributes": True}
|
||||
|
||||
|
||||
# ── StationConfig ─────────────────────────────────────────
|
||||
|
||||
class StationConfigResponse(BaseModel):
|
||||
@@ -101,6 +72,7 @@ class StationConfigResponse(BaseModel):
|
||||
phone: str
|
||||
email: str
|
||||
website: str
|
||||
donation_url: str
|
||||
|
||||
model_config = {"from_attributes": True}
|
||||
|
||||
@@ -122,6 +94,7 @@ class StationConfigUpdate(BaseModel):
|
||||
phone: Optional[str] = None
|
||||
email: Optional[str] = None
|
||||
website: Optional[str] = None
|
||||
donation_url: Optional[str] = None
|
||||
|
||||
|
||||
# ── HistoryEntry ──────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user