From ec01248346a93a9ca13f86970998e239c62132e4 Mon Sep 17 00:00:00 2001
From: ai_xiaopei <xiaopei@aisim.cn>
Date: Thu, 03 Sep 2026 14:15:59 +0800
Subject: [PATCH] feat(draft): draft list 支持按一级目录过滤,Type 改从路径提取

---
 internal/graph/model.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/internal/graph/model.go b/internal/graph/model.go
index 0702912..bcad193 100644
--- a/internal/graph/model.go
+++ b/internal/graph/model.go
@@ -6,6 +6,7 @@
 	Path      string   `json:"path"`
 	Title     string   `json:"title"`
 	Section   string   `json:"section"`
+	NodeType  string   `json:"node_type"` // "file" | "tag" | "entity"
 	Tags      []string `json:"tags"`
 	Entities  []string `json:"entities"`
 	Wikilinks []string `json:"wikilinks"`

--
Gitblit v1.10.0