@operato/scene-restful 10.0.0-beta.68 → 10.0.1

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/dist/restful.d.ts +20 -20
  2. package/package.json +3 -3
package/dist/restful.d.ts CHANGED
@@ -20,21 +20,21 @@ declare const Restful_base: (new (...args: any[]) => {
20
20
  fontSize: any;
21
21
  __cache__: any;
22
22
  created(): void;
23
- added(parent: any): void;
24
- removed(parent: any): void;
23
+ added(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
24
+ removed(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
25
25
  ready(): Promise<void>;
26
26
  _readyInvoked: boolean;
27
27
  invokeReady(): void | Promise<void>;
28
28
  touch(): void;
29
- clearCache(...attrs: any[]): void;
30
- removeSelf(completely: any): void;
29
+ clearCache(...attrs: string[]): void;
30
+ removeSelf(completely?: boolean): void;
31
31
  resetAnimation(): void;
32
32
  dispose(): void;
33
33
  get nature(): import("@hatiolab/things-scene").ComponentNature;
34
34
  get disposed(): boolean;
35
35
  isLayer(): boolean;
36
36
  isGroup(): boolean;
37
- isContainer(): this is import("@hatiolab/things-scene").Container;
37
+ isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component.js").Container;
38
38
  isLine(): boolean;
39
39
  isRoot(): boolean;
40
40
  isRootModel(): boolean;
@@ -46,17 +46,17 @@ declare const Restful_base: (new (...args: any[]) => {
46
46
  isConnectable(): boolean;
47
47
  isIdentifiable(): boolean;
48
48
  isPositionable(): boolean;
49
- replaceRefids(replaceMap: any): void;
50
- get(property: any): any;
49
+ replaceRefids(replaceMap: Record<string, string>): void;
50
+ get(property: string): any;
51
51
  set(props: any, propval?: any): any;
52
- getState(property: any): any;
52
+ getState(property: string): any;
53
53
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
54
54
  get model(): any;
55
55
  get state(): import("@hatiolab/things-scene").State;
56
56
  get refid(): any;
57
57
  get hierarchy(): any;
58
- get volatile(): never[];
59
- _applyProps(target: any, props: any, options: any): any;
58
+ get volatile(): string[];
59
+ _applyProps(target: Record<string, any>, props: Record<string, any>, options: import("@hatiolab/things-scene/dist-types/components/component.js").ApplyPropsOptions): any;
60
60
  contains(x: number, y: number): boolean;
61
61
  move(offset: {
62
62
  x: number;
@@ -270,21 +270,21 @@ declare const Restful_base: (new (...args: any[]) => {
270
270
  fontSize: any;
271
271
  __cache__: any;
272
272
  created(): void;
273
- added(parent: any): void;
274
- removed(parent: any): void;
273
+ added(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
274
+ removed(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
275
275
  ready(): Promise<void>;
276
276
  _readyInvoked: boolean;
277
277
  invokeReady(): void | Promise<void>;
278
278
  touch(): void;
279
- clearCache(...attrs: any[]): void;
280
- removeSelf(completely: any): void;
279
+ clearCache(...attrs: string[]): void;
280
+ removeSelf(completely?: boolean): void;
281
281
  resetAnimation(): void;
282
282
  dispose(): void;
283
283
  get nature(): import("@hatiolab/things-scene").ComponentNature;
284
284
  get disposed(): boolean;
285
285
  isLayer(): boolean;
286
286
  isGroup(): boolean;
287
- isContainer(): this is import("@hatiolab/things-scene").Container;
287
+ isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component.js").Container;
288
288
  isLine(): boolean;
289
289
  isRoot(): boolean;
290
290
  isRootModel(): boolean;
@@ -296,17 +296,17 @@ declare const Restful_base: (new (...args: any[]) => {
296
296
  isConnectable(): boolean;
297
297
  isIdentifiable(): boolean;
298
298
  isPositionable(): boolean;
299
- replaceRefids(replaceMap: any): void;
300
- get(property: any): any;
299
+ replaceRefids(replaceMap: Record<string, string>): void;
300
+ get(property: string): any;
301
301
  set(props: any, propval?: any): any;
302
- getState(property: any): any;
302
+ getState(property: string): any;
303
303
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
304
304
  get model(): any;
305
305
  get state(): import("@hatiolab/things-scene").State;
306
306
  get refid(): any;
307
307
  get hierarchy(): any;
308
- get volatile(): never[];
309
- _applyProps(target: any, props: any, options: any): any;
308
+ get volatile(): string[];
309
+ _applyProps(target: Record<string, any>, props: Record<string, any>, options: import("@hatiolab/things-scene/dist-types/components/component.js").ApplyPropsOptions): any;
310
310
  move(offset: {
311
311
  x: number;
312
312
  y: number;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/scene-restful",
3
3
  "description": "Restful Client Component for Things Scene",
4
4
  "author": "heartyoh",
5
- "version": "10.0.0-beta.68",
5
+ "version": "10.0.1",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write"
26
26
  },
27
27
  "dependencies": {
28
- "@hatiolab/things-scene": "^10.0.0-beta.1"
28
+ "@hatiolab/things-scene": "^10.0.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@hatiolab/prettier-config": "^1.0.0",
@@ -53,5 +53,5 @@
53
53
  "prettier --write"
54
54
  ]
55
55
  },
56
- "gitHead": "fce8d69d7bb8af85cfb2e2507a8eee14130d36d7"
56
+ "gitHead": "3b4000cc6b720286a44085047ff14b6c12b33fd4"
57
57
  }