mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-07-29 20:51:47 +00:00
Return full path and sort structures by full pathes in list tools
This commit is contained in:
parent
f14418d889
commit
e323ed9803
12 changed files with 106 additions and 34 deletions
|
|
@ -42,6 +42,9 @@ readonly class StructuralElementOverview
|
|||
/** @var string The name of the element */
|
||||
#[Groups(['mcp_structural_overview:read'])]
|
||||
public string $name,
|
||||
/** @var string The full path of the element (including the names of all its parent elements, e.g. "Parent → Child") */
|
||||
#[Groups(['mcp_structural_overview:read'])]
|
||||
public string $full_path,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue