@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 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
@@ -19,6 +19,7 @@ interface NativeUiAPI {
19
19
  dummy(width: number, height: number): void;
20
20
  sameLine(offset: number): void;
21
21
  separator(): void;
22
+ spinner(): void;
22
23
  beginGroup(): void;
23
24
  endGroup(): void;
24
25
  }
package/dist/ui.d.ts CHANGED
@@ -98,3 +98,5 @@ export declare const separator: () => void;
98
98
  export declare const beginGroup: () => void;
99
99
  /** End a widget group. */
100
100
  export declare const endGroup: () => void;
101
+ /** Spinner to indicate loading. */
102
+ export declare const spinner: () => void;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderlandengine/editor-api",
3
- "version": "1.2.3-dev.1",
3
+ "version": "1.2.3-dev.2",
4
4
  "description": "Wonderland Engine's Editor API for plugins - very experimental.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",