@hatiolab/things-scene 3.2.9 → 3.2.11

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/db.sqlite CHANGED
Binary file
@@ -9,6 +9,11 @@
9
9
  "date": 1676467413463,
10
10
  "name": "logs/application-2023-02-15-22.log",
11
11
  "hash": "f4ec1e34fe3cd0522c1c621b5cd29af805ce6538ec34d5d8222720a8ffcc8391"
12
+ },
13
+ {
14
+ "date": 1676479258592,
15
+ "name": "logs/application-2023-02-16-01.log",
16
+ "hash": "4d8ca72e26fea083cde220ad0ae280f1809b2fe2c05d99587e43b3163b5bc49c"
12
17
  }
13
18
  ],
14
19
  "hashType": "sha256"
@@ -14,6 +14,11 @@
14
14
  "date": 1676467414548,
15
15
  "name": "logs/connections-2023-02-15-22.log",
16
16
  "hash": "96e65410918073f061127932afdd6c40dc12cb56070da822e489bef6b622805b"
17
+ },
18
+ {
19
+ "date": 1676479259718,
20
+ "name": "logs/connections-2023-02-16-01.log",
21
+ "hash": "f8f5b2ed852a01afba3c316224baaf5bf1723fce812086f0704d462c77ea2b47"
17
22
  }
18
23
  ],
19
24
  "hashType": "sha256"
@@ -0,0 +1,6 @@
1
+ 2023-02-16T01:40:59+09:00 info: File Storage is Ready.
2
+ 2023-02-16T01:40:59+09:00 error: oracledb module loading failed
3
+ 2023-02-16T01:41:00+09:00 info: Default DataSource established
4
+ 2023-02-16T01:41:00+09:00 info: Transaction DataSource established
5
+ 2023-02-16T01:41:01+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
6
+ 2023-02-16T01:41:01+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
@@ -0,0 +1,35 @@
1
+ 2023-02-16T01:41:01+09:00 info: Initializing ConnectionManager...
2
+ 2023-02-16T01:41:01+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2023-02-16T01:41:01+09:00 info: Connector 'echo-back' started to ready
4
+ 2023-02-16T01:41:01+09:00 info: Connector 'http-connector' started to ready
5
+ 2023-02-16T01:41:01+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2023-02-16T01:41:01+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2023-02-16T01:41:01+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2023-02-16T01:41:01+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2023-02-16T01:41:01+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2023-02-16T01:41:01+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2023-02-16T01:41:01+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2023-02-16T01:41:01+09:00 info: Connector 'socket-server' started to ready
13
+ 2023-02-16T01:41:01+09:00 info: echo-back-servers are ready
14
+ 2023-02-16T01:41:01+09:00 info: echo-back connections are ready
15
+ 2023-02-16T01:41:01+09:00 info: http-connector connections are ready
16
+ 2023-02-16T01:41:01+09:00 info: graphql-connector connections are ready
17
+ 2023-02-16T01:41:01+09:00 info: sqlite-connector connections are ready
18
+ 2023-02-16T01:41:01+09:00 info: postgresql-connector connections are ready
19
+ 2023-02-16T01:41:01+09:00 info: mqtt-connector connections are ready
20
+ 2023-02-16T01:41:01+09:00 info: mssql-connector connections are ready
21
+ 2023-02-16T01:41:01+09:00 info: oracle-connector connections are ready
22
+ 2023-02-16T01:41:01+09:00 info: mysql-connector connections are ready
23
+ 2023-02-16T01:41:01+09:00 info: socket servers are ready
24
+ 2023-02-16T01:41:01+09:00 info: All connector for 'echo-back-server' ready
25
+ 2023-02-16T01:41:01+09:00 info: All connector for 'echo-back' ready
26
+ 2023-02-16T01:41:01+09:00 info: All connector for 'http-connector' ready
27
+ 2023-02-16T01:41:01+09:00 info: All connector for 'graphql-connector' ready
28
+ 2023-02-16T01:41:01+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2023-02-16T01:41:01+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2023-02-16T01:41:01+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2023-02-16T01:41:01+09:00 info: All connector for 'mssql-connector' ready
32
+ 2023-02-16T01:41:01+09:00 info: All connector for 'oracle-connector' ready
33
+ 2023-02-16T01:41:01+09:00 info: All connector for 'mysql-connector' ready
34
+ 2023-02-16T01:41:01+09:00 info: All connector for 'socket-server' ready
35
+ 2023-02-16T01:41:01+09:00 info: ConnectionManager initialization done:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "3.2.9",
3
+ "version": "3.2.11",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/things-scene.d.ts CHANGED
@@ -292,6 +292,7 @@ declare module '@hatiolab/things-scene' {
292
292
  ): () => string | undefined
293
293
  static reposition(component: Component): void
294
294
  static registerDecorator(name: string, decorator: Decorator): void
295
+ static createCanvas(width: number, height: number): HTMLCanvasElement
295
296
 
296
297
  state: Properties
297
298
  bounds: BOUNDS
@@ -351,13 +352,12 @@ declare module '@hatiolab/things-scene' {
351
352
  reposition(): void
352
353
  clearCache(): void
353
354
 
354
- prepareIf(boolean)
355
- createCanvas(width: number, height: number)
355
+ prepareIf(condition: boolean): void
356
356
  mutatePath(
357
357
  beforeLogic: ((path: Array<DIMENSION>) => void) | null,
358
358
  afterLogic: ((path: Array<DIMENSION>) => void) | null,
359
359
  context?: any
360
- )
360
+ ): void
361
361
 
362
362
  transcoordP2S(x: number, y: number): POSITION
363
363
  transcoordC2S(x: number, y: number, top?: RootContainer): POSITION