aircitytype 1.0.12 → 1.0.14

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -20,7 +20,7 @@ interface InfoTree {
20
20
  color: string | [number, number, number, number],
21
21
  fn?: () => void
22
22
  ): void;
23
- get(fn: (e: any) => void): void;
23
+ get(fn: (e: { infotree: InfoTreeItem[] }) => void): Promise<{ infotree: InfoTreeItem[] }>;
24
24
  hide(ids: string[] | string, fn?: () => void): void;
25
25
  hideByGroupId(groupId: string, fn?: () => void): void;
26
26
  highlightByGroupId(groupId: string, fn: () => void): void;
@@ -273,12 +273,12 @@ interface Settings {
273
273
  }
274
274
 
275
275
  declare interface InfoTreeItem {
276
- iD: "ProjectTree_Root";
277
- index: 0;
278
- parentIndex: -1;
276
+ iD: string;
277
+ index: number;
278
+ parentIndex: number;
279
279
  name: string;
280
280
  visiblity: true;
281
- type: string;
281
+ type: "EPT_Scene" | "EPT_Folder" | "EPT_EffectPoint";
282
282
  }
283
283
 
284
284
  interface AirCityLog {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aircitytype",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {