@hatiolab/things-scene 3.0.17 → 3.0.20

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/things-scene.d.ts CHANGED
@@ -143,6 +143,16 @@ declare module '@hatiolab/things-scene' {
143
143
  function warn(...args: any[]): void
144
144
  function debug(...args: any[]): void
145
145
 
146
+ class ReferenceMap {
147
+ constructor(
148
+ creator: (boardId: string, resolve: any, reject: any) => Promise<any>,
149
+ disposer: (id: string, ref: any) => Promise<void>
150
+ )
151
+ get(id: string, createIf?: boolean): Promise<any>
152
+ get ids(): string[]
153
+ add(id: string, target: any): Promise<any>
154
+ }
155
+
146
156
  class ScriptLoader {
147
157
  static load(scripts: string | Array<string>, styles?: string | Array<string>): Promise<void>
148
158
  }