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:
|
||||
- id (`int`): The ID 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.
|
||||
- anchor (`str`): The position of the trace tree node.
|
||||
- parent (`int` | `None`): The preceding node id of trace.
|
||||
"""
|
||||
|
||||
id: int
|
||||
"""The ID 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"""
|
||||
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]
|
||||
name = "mihomo"
|
||||
version = "1.1.5"
|
||||
version = "1.1.6"
|
||||
authors = [
|
||||
{ name="KT", email="xns77477@gmail.com" },
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user