-
Notifications
You must be signed in to change notification settings - Fork 288
Expand file tree
/
Copy pathtypings.ts
More file actions
47 lines (39 loc) · 1.04 KB
/
typings.ts
File metadata and controls
47 lines (39 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { IGizmoSnapPreferences } from "../tools/gizmo-snap-preferences";
export interface IEditorProject {
/**
* The version of the editor that saved this project.
*/
version: string;
/**
* The path to the last opened scene.
*/
lastOpenedScene: string | null;
/**
* The plugins of the project.
*/
plugins: IEditorProjectPlugin[];
/**
* If the compressed textures are enabled using PVRTexTool.
*/
compressedTexturesEnabled: boolean;
/**
* If the compressed textures are enabled in the preview.
*/
compressedTexturesEnabledInPreview: boolean;
/**
* The package manager being used by the project.
*/
packageManager?: EditorProjectPackageManager;
/**
* Gizmo snap preferences (translate / rotate / scale).
*/
gizmoSnap?: IGizmoSnapPreferences;
}
export interface IEditorProjectPlugin {
/**
* The name or path of the plugin.
*/
nameOrPath: string;
}
export type EditorProjectPackageManager = "npm" | "yarn" | "pnpm" | "bun";
export type EditorProjectTemplate = "nextjs" | "solidjs" | "vanillajs" | "electron";