This commit is contained in:
Liang Ding 2022-06-03 11:17:59 +08:00
parent 7223dec015
commit 213862b5c4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -88,14 +88,15 @@ func Outline(rootID string) (ret []*Path, err error) {
for _, b := range children {
resetDepth(b, 0)
ret = append(ret, &Path{
ID: b.ID,
Box: b.Box,
Name: b.Content,
Type: b.Type,
SubType: b.SubType,
Blocks: b.Children,
Depth: 0,
Count: b.Count,
ID: b.ID,
Box: b.Box,
Name: b.Content,
NodeType: b.Type,
Type: "outline",
SubType: b.SubType,
Blocks: b.Children,
Depth: 0,
Count: b.Count,
})
}
}