@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.
- package/dist/restful.d.ts +24 -20
- 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:
|
|
24
|
-
removed(parent:
|
|
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:
|
|
28
|
-
removeSelf(completely
|
|
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:
|
|
48
|
-
get(property:
|
|
49
|
+
replaceRefids(replaceMap: Record<string, string>): void;
|
|
50
|
+
get(property: string): any;
|
|
49
51
|
set(props: any, propval?: any): any;
|
|
50
|
-
getState(property:
|
|
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():
|
|
57
|
-
_applyProps(target:
|
|
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:
|
|
272
|
-
removed(parent:
|
|
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:
|
|
276
|
-
removeSelf(completely
|
|
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:
|
|
296
|
-
get(property:
|
|
299
|
+
replaceRefids(replaceMap: Record<string, string>): void;
|
|
300
|
+
get(property: string): any;
|
|
297
301
|
set(props: any, propval?: any): any;
|
|
298
|
-
getState(property:
|
|
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():
|
|
305
|
-
_applyProps(target:
|
|
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
|
|
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
|
|
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": "
|
|
56
|
+
"gitHead": "22356adaad4df093f25fa74316c1e0c6effbef8e"
|
|
62
57
|
}
|