@dcl/playground-assets 7.3.0 → 7.3.1-5488940429.commit-5385d4d
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/alpha.d.ts +7 -2
- package/dist/beta.d.ts +7 -2
- package/dist/index.bundled.d.ts +7 -2
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +3 -3
- package/dist/playground-assets.d.ts +7 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/etc/playground-assets.api.json +85 -13
- package/etc/playground-assets.api.md +3 -2
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -1739,7 +1739,7 @@ export declare const enum Font {
|
|
|
1739
1739
|
* }
|
|
1740
1740
|
* ```
|
|
1741
1741
|
*/
|
|
1742
|
-
export declare function getComponentEntityTree<T>(engine: IEngine, entity: Entity, component: ComponentDefinition<T & {
|
|
1742
|
+
export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith'>, entity: Entity, component: ComponentDefinition<T & {
|
|
1743
1743
|
parent?: Entity;
|
|
1744
1744
|
}>): Generator<Entity>;
|
|
1745
1745
|
|
|
@@ -1827,6 +1827,11 @@ export declare interface IEngine {
|
|
|
1827
1827
|
* @param entity - entity
|
|
1828
1828
|
*/
|
|
1829
1829
|
removeEntity(entity: Entity): void;
|
|
1830
|
+
/**
|
|
1831
|
+
* Remove all components of each entity in the tree made with Transform parenting
|
|
1832
|
+
* @param entity - the root entity of the tree
|
|
1833
|
+
*/
|
|
1834
|
+
removeEntityWithChildren(entity: Entity): void;
|
|
1830
1835
|
/**
|
|
1831
1836
|
*
|
|
1832
1837
|
* @public
|
|
@@ -5692,7 +5697,7 @@ export declare namespace Rect {
|
|
|
5692
5697
|
* @param firstEntity - the root entity of the tree
|
|
5693
5698
|
* @public
|
|
5694
5699
|
*/
|
|
5695
|
-
export declare function removeEntityWithChildren(engine: IEngine, entity: Entity): void;
|
|
5700
|
+
export declare function removeEntityWithChildren(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema' | 'removeEntity'>, entity: Entity): void;
|
|
5696
5701
|
|
|
5697
5702
|
export declare type RPCSendableMessage = {
|
|
5698
5703
|
jsonrpc: '2.0';
|
package/dist/beta.d.ts
CHANGED
|
@@ -1739,7 +1739,7 @@ export declare const enum Font {
|
|
|
1739
1739
|
* }
|
|
1740
1740
|
* ```
|
|
1741
1741
|
*/
|
|
1742
|
-
export declare function getComponentEntityTree<T>(engine: IEngine, entity: Entity, component: ComponentDefinition<T & {
|
|
1742
|
+
export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith'>, entity: Entity, component: ComponentDefinition<T & {
|
|
1743
1743
|
parent?: Entity;
|
|
1744
1744
|
}>): Generator<Entity>;
|
|
1745
1745
|
|
|
@@ -1827,6 +1827,11 @@ export declare interface IEngine {
|
|
|
1827
1827
|
* @param entity - entity
|
|
1828
1828
|
*/
|
|
1829
1829
|
removeEntity(entity: Entity): void;
|
|
1830
|
+
/**
|
|
1831
|
+
* Remove all components of each entity in the tree made with Transform parenting
|
|
1832
|
+
* @param entity - the root entity of the tree
|
|
1833
|
+
*/
|
|
1834
|
+
removeEntityWithChildren(entity: Entity): void;
|
|
1830
1835
|
/**
|
|
1831
1836
|
*
|
|
1832
1837
|
* @public
|
|
@@ -5683,7 +5688,7 @@ export declare namespace Rect {
|
|
|
5683
5688
|
* @param firstEntity - the root entity of the tree
|
|
5684
5689
|
* @public
|
|
5685
5690
|
*/
|
|
5686
|
-
export declare function removeEntityWithChildren(engine: IEngine, entity: Entity): void;
|
|
5691
|
+
export declare function removeEntityWithChildren(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema' | 'removeEntity'>, entity: Entity): void;
|
|
5687
5692
|
|
|
5688
5693
|
export declare type RPCSendableMessage = {
|
|
5689
5694
|
jsonrpc: '2.0';
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -1739,7 +1739,7 @@ export declare const enum Font {
|
|
|
1739
1739
|
* }
|
|
1740
1740
|
* ```
|
|
1741
1741
|
*/
|
|
1742
|
-
export declare function getComponentEntityTree<T>(engine: IEngine, entity: Entity, component: ComponentDefinition<T & {
|
|
1742
|
+
export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith'>, entity: Entity, component: ComponentDefinition<T & {
|
|
1743
1743
|
parent?: Entity;
|
|
1744
1744
|
}>): Generator<Entity>;
|
|
1745
1745
|
|
|
@@ -1827,6 +1827,11 @@ export declare interface IEngine {
|
|
|
1827
1827
|
* @param entity - entity
|
|
1828
1828
|
*/
|
|
1829
1829
|
removeEntity(entity: Entity): void;
|
|
1830
|
+
/**
|
|
1831
|
+
* Remove all components of each entity in the tree made with Transform parenting
|
|
1832
|
+
* @param entity - the root entity of the tree
|
|
1833
|
+
*/
|
|
1834
|
+
removeEntityWithChildren(entity: Entity): void;
|
|
1830
1835
|
/**
|
|
1831
1836
|
*
|
|
1832
1837
|
* @public
|
|
@@ -5683,7 +5688,7 @@ export declare namespace Rect {
|
|
|
5683
5688
|
* @param firstEntity - the root entity of the tree
|
|
5684
5689
|
* @public
|
|
5685
5690
|
*/
|
|
5686
|
-
export declare function removeEntityWithChildren(engine: IEngine, entity: Entity): void;
|
|
5691
|
+
export declare function removeEntityWithChildren(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema' | 'removeEntity'>, entity: Entity): void;
|
|
5687
5692
|
|
|
5688
5693
|
export declare type RPCSendableMessage = {
|
|
5689
5694
|
jsonrpc: '2.0';
|