.ai, .psd support
This commit is contained in:
1 parent
f5d880caf5
commit
2967548ff3
11 files changed
+1136
-6
No files matched your search
@@ -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]),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user