@wonderlandengine/editor-api 1.2.3-dev.1 → 1.2.3-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data.d.ts +7 -0
- package/dist/data.js +8 -0
- package/dist/native.d.ts +1 -0
- package/dist/ui.d.ts +2 -0
- package/dist/ui.js +2 -0
- package/package.json +1 -1
package/dist/data.d.ts
CHANGED
@@ -20,9 +20,16 @@ export type SkinReference = string | null;
|
|
20
20
|
export type ImageReference = string | null;
|
21
21
|
/** Animation reference */
|
22
22
|
export type AnimationReference = string | null;
|
23
|
+
/** Project type */
|
24
|
+
export declare enum ProjectType {
|
25
|
+
Website = "website",
|
26
|
+
Game = "game"
|
27
|
+
}
|
23
28
|
/** Project settings */
|
24
29
|
export declare class ProjectSettings {
|
25
30
|
name: string;
|
31
|
+
description: string;
|
32
|
+
type: ProjectType;
|
26
33
|
customIndexHtml: boolean;
|
27
34
|
extraFilesFolder: string;
|
28
35
|
packageForStreaming: boolean;
|
package/dist/data.js
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
+
/** Project type */
|
2
|
+
export var ProjectType;
|
3
|
+
(function (ProjectType) {
|
4
|
+
ProjectType["Website"] = "website";
|
5
|
+
ProjectType["Game"] = "game";
|
6
|
+
})(ProjectType || (ProjectType = {}));
|
1
7
|
/** Project settings */
|
2
8
|
export class ProjectSettings {
|
3
9
|
name = '';
|
10
|
+
description = '';
|
11
|
+
type = ProjectType.Website;
|
4
12
|
customIndexHtml = false;
|
5
13
|
extraFilesFolder = 'static';
|
6
14
|
packageForStreaming = false;
|
package/dist/native.d.ts
CHANGED
package/dist/ui.d.ts
CHANGED
package/dist/ui.js
CHANGED
@@ -122,3 +122,5 @@ export const separator = ui.separator.bind(ui);
|
|
122
122
|
export const beginGroup = ui.beginGroup.bind(ui);
|
123
123
|
/** End a widget group. */
|
124
124
|
export const endGroup = ui.endGroup.bind(ui);
|
125
|
+
/** Spinner to indicate loading. */
|
126
|
+
export const spinner = ui.spinner.bind(ui);
|
package/package.json
CHANGED