Progressing on the draggable tree for the project configuration

This commit is contained in:
2024-11-18 00:10:23 +01:00
parent d708e9ceb6
commit a9363e8c06
11 changed files with 444 additions and 50 deletions

View File

@@ -2,7 +2,7 @@ import useDatabase from '~/composables/useDatabase';
import { explorerContentTable } from '~/db/schema';
import type { NavigationItem } from '~/schemas/navigation';
export type NavigationTreeItem = NavigationItem & { children?: NavigationItem[] };
export type NavigationTreeItem = NavigationItem & { children?: NavigationTreeItem[] };
export default defineEventHandler(async (e) => {
const { user } = await getUserSession(e);