mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
feat: Add fields to character trace tree info:
- anchor: position of trace tree point. - max_level: max level of trace tree point. - parent: preceding point of trace tree point.
This commit is contained in:
parent
fb7ab6f5e7
commit
6c6b02cff3
|
@ -92,12 +92,21 @@ class TraceTreeNode(BaseModel):
|
||||||
Attributes:
|
Attributes:
|
||||||
- id (`int`): The ID of the trace.
|
- id (`int`): The ID of the trace.
|
||||||
- level (`int`): The level of the trace.
|
- level (`int`): The level of the trace.
|
||||||
|
- max_level (`int`): The max level of the trace.
|
||||||
- icon (`str`): The icon of the trace.
|
- icon (`str`): The icon of the trace.
|
||||||
|
- anchor (`str`): The position of the trace tree node.
|
||||||
|
- parent (`int` | `None`): The preceding node id of trace.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
id: int
|
id: int
|
||||||
"""The ID of the trace"""
|
"""The ID of the trace"""
|
||||||
level: int
|
level: int
|
||||||
"""The level of the trace"""
|
"""The level of the trace"""
|
||||||
|
max_level: int
|
||||||
|
"""The max level of the trace"""
|
||||||
icon: str
|
icon: str
|
||||||
"""The icon of the trace"""
|
"""The icon of the trace"""
|
||||||
|
anchor: str
|
||||||
|
"""The position of the trace tree node"""
|
||||||
|
parent: int | None = None
|
||||||
|
"""The preceding node id of trace"""
|
||||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mihomo"
|
name = "mihomo"
|
||||||
version = "1.1.5"
|
version = "1.1.6"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="KT", email="xns77477@gmail.com" },
|
{ name="KT", email="xns77477@gmail.com" },
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user