@operato/scene-firebase 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/firebase.d.ts +24 -20
  2. package/package.json +4 -9
@@ -23,19 +23,21 @@ declare const Firebase_base: (new (...args: any[]) => {
23
23
  fontSize: any;
24
24
  __cache__: any;
25
25
  created(): void;
26
- added(parent: any): void;
27
- removed(parent: any): void;
26
+ added(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
27
+ removed(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
28
28
  ready(): Promise<void>;
29
+ _readyInvoked: boolean;
30
+ invokeReady(): void | Promise<void>;
29
31
  touch(): void;
30
- clearCache(...attrs: any[]): void;
31
- removeSelf(completely: any): void;
32
+ clearCache(...attrs: string[]): void;
33
+ removeSelf(completely?: boolean): void;
32
34
  resetAnimation(): void;
33
35
  dispose(): void;
34
36
  get nature(): import("@hatiolab/things-scene").ComponentNature;
35
37
  get disposed(): boolean;
36
38
  isLayer(): boolean;
37
39
  isGroup(): boolean;
38
- isContainer(): this is import("@hatiolab/things-scene").Container;
40
+ isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component.js").Container;
39
41
  isLine(): boolean;
40
42
  isRoot(): boolean;
41
43
  isRootModel(): boolean;
@@ -47,17 +49,17 @@ declare const Firebase_base: (new (...args: any[]) => {
47
49
  isConnectable(): boolean;
48
50
  isIdentifiable(): boolean;
49
51
  isPositionable(): boolean;
50
- replaceRefids(replaceMap: any): void;
51
- get(property: any): any;
52
+ replaceRefids(replaceMap: Record<string, string>): void;
53
+ get(property: string): any;
52
54
  set(props: any, propval?: any): any;
53
- getState(property: any): any;
55
+ getState(property: string): any;
54
56
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
55
57
  get model(): any;
56
58
  get state(): import("@hatiolab/things-scene").State;
57
59
  get refid(): any;
58
60
  get hierarchy(): any;
59
- get volatile(): never[];
60
- _applyProps(target: any, props: any, options: any): any;
61
+ get volatile(): string[];
62
+ _applyProps(target: Record<string, any>, props: Record<string, any>, options: import("@hatiolab/things-scene/dist-types/components/component.js").ApplyPropsOptions): any;
61
63
  contains(x: number, y: number): boolean;
62
64
  move(offset: {
63
65
  x: number;
@@ -271,19 +273,21 @@ declare const Firebase_base: (new (...args: any[]) => {
271
273
  fontSize: any;
272
274
  __cache__: any;
273
275
  created(): void;
274
- added(parent: any): void;
275
- removed(parent: any): void;
276
+ added(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
277
+ removed(parent: import("@hatiolab/things-scene/dist-types/types/component.js").Container): void;
276
278
  ready(): Promise<void>;
279
+ _readyInvoked: boolean;
280
+ invokeReady(): void | Promise<void>;
277
281
  touch(): void;
278
- clearCache(...attrs: any[]): void;
279
- removeSelf(completely: any): void;
282
+ clearCache(...attrs: string[]): void;
283
+ removeSelf(completely?: boolean): void;
280
284
  resetAnimation(): void;
281
285
  dispose(): void;
282
286
  get nature(): import("@hatiolab/things-scene").ComponentNature;
283
287
  get disposed(): boolean;
284
288
  isLayer(): boolean;
285
289
  isGroup(): boolean;
286
- isContainer(): this is import("@hatiolab/things-scene").Container;
290
+ isContainer(): this is import("@hatiolab/things-scene/dist-types/types/component.js").Container;
287
291
  isLine(): boolean;
288
292
  isRoot(): boolean;
289
293
  isRootModel(): boolean;
@@ -295,17 +299,17 @@ declare const Firebase_base: (new (...args: any[]) => {
295
299
  isConnectable(): boolean;
296
300
  isIdentifiable(): boolean;
297
301
  isPositionable(): boolean;
298
- replaceRefids(replaceMap: any): void;
299
- get(property: any): any;
302
+ replaceRefids(replaceMap: Record<string, string>): void;
303
+ get(property: string): any;
300
304
  set(props: any, propval?: any): any;
301
- getState(property: any): any;
305
+ getState(property: string): any;
302
306
  setState(props: Partial<import("@hatiolab/things-scene").State> | string, propval?: any): any;
303
307
  get model(): any;
304
308
  get state(): import("@hatiolab/things-scene").State;
305
309
  get refid(): any;
306
310
  get hierarchy(): any;
307
- get volatile(): never[];
308
- _applyProps(target: any, props: any, options: any): any;
311
+ get volatile(): string[];
312
+ _applyProps(target: Record<string, any>, props: Record<string, any>, options: import("@hatiolab/things-scene/dist-types/components/component.js").ApplyPropsOptions): any;
309
313
  move(offset: {
310
314
  x: number;
311
315
  y: number;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/scene-firebase",
3
3
  "description": "Firebase datasource 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,23 +18,18 @@
18
18
  "directory": "packages/firebase"
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
  "firebase": "^9.14.0"
33
30
  },
34
31
  "devDependencies": {
35
32
  "@hatiolab/prettier-config": "^1.0.0",
36
- "@things-factory/builder": "^10.0.0-zeta.1",
37
- "@things-factory/operato-board": "^10.0.0-zeta.1",
38
33
  "@typescript-eslint/eslint-plugin": "^8.0.0",
39
34
  "@typescript-eslint/parser": "^8.0.0",
40
35
  "@web/dev-server": "^0.1.28",
@@ -59,5 +54,5 @@
59
54
  "prettier --write"
60
55
  ]
61
56
  },
62
- "gitHead": "99733bf39e2d279630d68844f19d9687272a4992"
57
+ "gitHead": "22356adaad4df093f25fa74316c1e0c6effbef8e"
63
58
  }