merge: import helix-web history into helix-web/

git-subtree-dir: helix-web
git-subtree-mainline: 21f14f8c05
git-subtree-split: 83f3120fdc
This commit is contained in:
siujamo committed 2026-09-01 10:05:58 +08:00
commit c732624580
82 files changed
+6483

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import webClient from "@/client/web-client"
import type { TreeNode } from "@/types/tree"
import type { MenuItem } from "@/types/entity"
export async function fetchMenuTree() {
const { data } = await webClient.get<TreeNode<MenuItem>[]>("/menus")
return data
}