@hatiolab/things-scene 9.0.0-beta.4 → 9.0.0-beta.6
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 +0 -0
- package/package.json +2 -1
- package/schema.graphql +5 -0
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +7 -0
- package/things-scene.mjs +13 -14
package/things-scene.d.ts
CHANGED
|
@@ -494,6 +494,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
494
494
|
removeComponent(target: Component, ghost?: boolean): void
|
|
495
495
|
insertComponentAt(target: Component, idx: number, ghost?: boolean): void
|
|
496
496
|
findById(id: string): Component | undefined
|
|
497
|
+
findAllById(id: string): Component[]
|
|
497
498
|
getAt(at: number): Component | undefined
|
|
498
499
|
|
|
499
500
|
reflow(): void
|
|
@@ -686,6 +687,12 @@ declare module '@hatiolab/things-scene' {
|
|
|
686
687
|
*/
|
|
687
688
|
findById(id: string): Component
|
|
688
689
|
|
|
690
|
+
/*
|
|
691
|
+
* id를 갖는 모든 컴포넌트를 찾는다.
|
|
692
|
+
* @params id {string}
|
|
693
|
+
*/
|
|
694
|
+
findAllById(id: string): Component[]
|
|
695
|
+
|
|
689
696
|
/*
|
|
690
697
|
* scene이 그리는 모델 오브젝트를 JSON 텍스트로 리턴한다.
|
|
691
698
|
*/
|