.ai, .psd support

This commit is contained in:
ysj7705 committed 2026-07-27 11:30:58 +09:00
1 parent f5d880caf5
commit 2967548ff3
11 files changed
+1136 -6

No files matched your search

+3 -1
View File
@@ -6,7 +6,7 @@ export const APP_NAME = "sejong-office";
export const APP_DISPLAY_NAME = "Sejong Office";
export type DiagramKind = "excalidraw" | "mermaid" | "drawio";
export type ViewerKind = "cad" | "model3d";
export type ViewerKind = "cad" | "model3d" | "illustrator" | "photoshop";
export type ToolKind = "scanner";
const DIAGRAM_EXTENSION_KIND: Record<string, DiagramKind> = {
@@ -66,6 +66,8 @@ export const MODEL3D_EXTENSIONS = [
const VIEWER_EXTENSION_KIND: Record<string, ViewerKind> = {
dxf: "cad",
dwg: "cad",
ai: "illustrator",
psd: "photoshop",
...Object.fromEntries(
MODEL3D_EXTENSIONS.map((ext) => [ext, "model3d" as const]),
),