Change shared files naming. Rework tree structure and item management rendering.

This commit is contained in:
Clément Pons
2026-01-20 18:14:07 +01:00
parent 1a71637ebb
commit 777443471c
66 changed files with 984 additions and 447 deletions

View File

@@ -1,8 +1,8 @@
import useDatabase from "~/composables/useDatabase";
import { extname, basename } from 'node:path';
import type { CanvasColor, CanvasContent } from "~/types/canvas";
import type { FileType, ProjectContent } from "#shared/content.util";
import { getID, parsePath } from "#shared/general.util";
import type { FileType, ProjectContent } from "#shared/content";
import { getID, parsePath } from "#shared/general";
import { projectContentTable, projectFilesTable } from "~/db/schema";
const typeMapping: Record<string, FileType> = {