@operato/scene-restful 10.0.0-beta.65 → 10.0.0

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 +24 -20
  2. package/package.json +4 -9
package/dist/restful.d.ts CHANGED
@@ -20,19 +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
+ _readyInvoked: boolean;
27
+ invokeReady(): void | Promise<void>;
26
28
  touch(): void;
27
- clearCache(...attrs: any[]): void;
28
- removeSelf(completely: any): void;
29
+ clearCache(...attrs: string[]): void;
30
+ removeSelf(completely?: boolean): void;
29
31
  resetAnimation(): void;
30
32
  dispose(): void;
31
33
  get nature(): import("@hatiolab/things-scene").ComponentNature;
32
34
  get disposed(): boolean;
33
35
  isLayer(): boolean;
34
36
  isGroup(): boolean;
35
- isContainer(): this is import("@hatiolab/things-scene").Container;
37
+ isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component.js").Container;
36
38
  isLine(): boolean;
37
39
  isRoot(): boolean;
38
40
  isRootModel(): boolean;
@@ -44,17 +46,17 @@ declare const Restful_base: (new (...args: any[]) => {
44
46
  isConnectable(): boolean;
45
47
  isIdentifiable(): boolean;
46
48
  isPositionable(): boolean;
47
- replaceRefids(replaceMap: any): void;
48
- get(property: any): any;
49
+ replaceRefids(replaceMap: Record<string, string>): void;
50
+ get(property: string): any;
49
51
  set(props: any, propval?: any): any;
50
- getState(property: any): any;
52
+ getState(property: string): any;
51
53
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
52
54
  get model(): any;
53
55
  get state(): import("@hatiolab/things-scene").State;
54
56
  get refid(): any;
55
57
  get hierarchy(): any;
56
- get volatile(): never[];
57
- _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;
58
60
  contains(x: number, y: number): boolean;
59
61
  move(offset: {
60
62
  x: number;
@@ -268,19 +270,21 @@ declare const Restful_base: (new (...args: any[]) => {
268
270
  fontSize: any;
269
271
  __cache__: any;
270
272
  created(): void;
271
- added(parent: any): void;
272
- 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;
273
275
  ready(): Promise<void>;
276
+ _readyInvoked: boolean;
277
+ invokeReady(): void | Promise<void>;
274
278
  touch(): void;
275
- clearCache(...attrs: any[]): void;
276
- removeSelf(completely: any): void;
279
+ clearCache(...attrs: string[]): void;
280
+ removeSelf(completely?: boolean): void;
277
281
  resetAnimation(): void;
278
282
  dispose(): void;
279
283
  get nature(): import("@hatiolab/things-scene").ComponentNature;
280
284
  get disposed(): boolean;
281
285
  isLayer(): boolean;
282
286
  isGroup(): boolean;
283
- isContainer(): this is import("@hatiolab/things-scene").Container;
287
+ isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component.js").Container;
284
288
  isLine(): boolean;
285
289
  isRoot(): boolean;
286
290
  isRootModel(): boolean;
@@ -292,17 +296,17 @@ declare const Restful_base: (new (...args: any[]) => {
292
296
  isConnectable(): boolean;
293
297
  isIdentifiable(): boolean;
294
298
  isPositionable(): boolean;
295
- replaceRefids(replaceMap: any): void;
296
- get(property: any): any;
299
+ replaceRefids(replaceMap: Record<string, string>): void;
300
+ get(property: string): any;
297
301
  set(props: any, propval?: any): any;
298
- getState(property: any): any;
302
+ getState(property: string): any;
299
303
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
300
304
  get model(): any;
301
305
  get state(): import("@hatiolab/things-scene").State;
302
306
  get refid(): any;
303
307
  get hierarchy(): any;
304
- get volatile(): never[];
305
- _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;
306
310
  move(offset: {
307
311
  x: number;
308
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.65",
5
+ "version": "10.0.0",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
@@ -18,22 +18,17 @@
18
18
  "directory": "packages/restful"
19
19
  },
20
20
  "scripts": {
21
- "serve": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"things-factory-dev\"",
22
- "serve:dev": "npm run serve",
23
21
  "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
24
22
  "build": "tsc",
25
23
  "prepublishOnly": "tsc",
26
24
  "lint": "eslint src/ && prettier \"src/**/*.ts\" --check",
27
- "format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write",
28
- "migration": "things-factory-migration"
25
+ "format": "eslint src/ --fix && prettier \"src/**/*.ts\" --write"
29
26
  },
30
27
  "dependencies": {
31
- "@hatiolab/things-scene": "^10.0.0-beta.1"
28
+ "@hatiolab/things-scene": "^10.0.0"
32
29
  },
33
30
  "devDependencies": {
34
31
  "@hatiolab/prettier-config": "^1.0.0",
35
- "@things-factory/builder": "^10.0.0-zeta.1",
36
- "@things-factory/operato-board": "^10.0.0-zeta.1",
37
32
  "@typescript-eslint/eslint-plugin": "^8.0.0",
38
33
  "@typescript-eslint/parser": "^8.0.0",
39
34
  "@web/dev-server": "^0.1.28",
@@ -58,5 +53,5 @@
58
53
  "prettier --write"
59
54
  ]
60
55
  },
61
- "gitHead": "99733bf39e2d279630d68844f19d9687272a4992"
56
+ "gitHead": "22356adaad4df093f25fa74316c1e0c6effbef8e"
62
57
  }