@galacean/engine-loader 2.0.0-alpha.15 → 2.0.0-alpha.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-loader",
3
- "version": "2.0.0-alpha.15",
3
+ "version": "2.0.0-alpha.16",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -19,9 +19,9 @@
19
19
  "libs/**/*"
20
20
  ],
21
21
  "dependencies": {
22
- "@galacean/engine-math": "2.0.0-alpha.15",
23
- "@galacean/engine-core": "2.0.0-alpha.15",
24
- "@galacean/engine-rhi-webgl": "2.0.0-alpha.15"
22
+ "@galacean/engine-core": "2.0.0-alpha.16",
23
+ "@galacean/engine-math": "2.0.0-alpha.16",
24
+ "@galacean/engine-rhi-webgl": "2.0.0-alpha.16"
25
25
  },
26
26
  "scripts": {
27
27
  "b:types": "tsc"
@@ -11,6 +11,7 @@ export declare class ReflectionParser {
11
11
  parseSignal(signalRef: ISignalRef): Promise<Signal>;
12
12
  parseBasicType(value: IBasicType, originValue?: any): Promise<any>;
13
13
  private _getEntityByConfig;
14
+ private _resolveEntityByPath;
14
15
  private static _isClass;
15
16
  private static _isClassType;
16
17
  private static _isAssetRef;
@@ -89,11 +89,12 @@ export type IAssetRef = {
89
89
  url: string;
90
90
  };
91
91
  export type IEntityRef = {
92
- entityId: string;
92
+ entityPath: number[];
93
93
  };
94
94
  export type IComponentRef = {
95
- ownerId: string;
96
- componentId: string;
95
+ entityPath: number[];
96
+ componentType: string;
97
+ componentIndex: number;
97
98
  };
98
99
  export type ISignalRef = {
99
100
  listeners: Array<{