transitous rewrite: multiple languages support

This commit is contained in:
Kaaninchen
2026-08-17 21:04:47 +02:00
parent bbc2be89e9
commit a6e15f5cd6
11 changed files with 152 additions and 18 deletions
+56
View File
@@ -0,0 +1,56 @@
# generated by datamodel-codegen:
# filename: de.yaml
# timestamp: 2026-08-17T18:44:37+00:00
from __future__ import annotations
from dataclasses import dataclass
@dataclass
class LongName:
train_from: str
train_via: str
@dataclass
class Channel:
status: str
long_name: LongName
@dataclass
class Footer:
notice: str
@dataclass
class Info:
description: str
via: str
via_and: str
next_stop: str
@dataclass
class EndOfConnection:
message: str
@dataclass
class Announcement:
title: str
end_of_connection: EndOfConnection
@dataclass
class Embeds:
footer: Footer
info: Info
announcement: Announcement
@dataclass
class Model:
channel: Channel
embeds: Embeds