@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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.3.
|
|
4
|
+
"version": "7.3.1-5488940429.commit-5385d4d",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
8
8
|
"@dcl/ecs-math": "2.0.2",
|
|
9
|
-
"@dcl/explorer": "1.0.
|
|
9
|
+
"@dcl/explorer": "1.0.129220-20230706153549.commit-3588bae",
|
|
10
10
|
"@dcl/js-runtime": "file:../js-runtime",
|
|
11
11
|
"@dcl/react-ecs": "file:../react-ecs",
|
|
12
12
|
"@dcl/sdk-commands": "file:../sdk-commands"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
},
|
|
35
35
|
"types": "./index.d.ts",
|
|
36
36
|
"typings": "./index.d.ts",
|
|
37
|
-
"commit": "
|
|
37
|
+
"commit": "5385d4df188c5ed28c5b03bc31e7c497b5e04342"
|
|
38
38
|
}
|
|
@@ -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/tsdoc-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.36.
|
|
4
|
+
"toolVersion": "7.36.1",
|
|
5
5
|
"schemaVersion": 1011,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -16175,11 +16175,24 @@
|
|
|
16175
16175
|
"kind": "Content",
|
|
16176
16176
|
"text": "export declare function getComponentEntityTree<T>(engine: "
|
|
16177
16177
|
},
|
|
16178
|
+
{
|
|
16179
|
+
"kind": "Reference",
|
|
16180
|
+
"text": "Pick",
|
|
16181
|
+
"canonicalReference": "!Pick:type"
|
|
16182
|
+
},
|
|
16183
|
+
{
|
|
16184
|
+
"kind": "Content",
|
|
16185
|
+
"text": "<"
|
|
16186
|
+
},
|
|
16178
16187
|
{
|
|
16179
16188
|
"kind": "Reference",
|
|
16180
16189
|
"text": "IEngine",
|
|
16181
16190
|
"canonicalReference": "@dcl/playground-assets!IEngine:interface"
|
|
16182
16191
|
},
|
|
16192
|
+
{
|
|
16193
|
+
"kind": "Content",
|
|
16194
|
+
"text": ", 'getEntitiesWith'>"
|
|
16195
|
+
},
|
|
16183
16196
|
{
|
|
16184
16197
|
"kind": "Content",
|
|
16185
16198
|
"text": ", entity: "
|
|
@@ -16240,8 +16253,8 @@
|
|
|
16240
16253
|
],
|
|
16241
16254
|
"fileUrlPath": "../ecs/dist/runtime/helpers/tree.d.ts",
|
|
16242
16255
|
"returnTypeTokenRange": {
|
|
16243
|
-
"startIndex":
|
|
16244
|
-
"endIndex":
|
|
16256
|
+
"startIndex": 13,
|
|
16257
|
+
"endIndex": 17
|
|
16245
16258
|
},
|
|
16246
16259
|
"releaseTag": "Public",
|
|
16247
16260
|
"overloadIndex": 1,
|
|
@@ -16250,23 +16263,23 @@
|
|
|
16250
16263
|
"parameterName": "engine",
|
|
16251
16264
|
"parameterTypeTokenRange": {
|
|
16252
16265
|
"startIndex": 1,
|
|
16253
|
-
"endIndex":
|
|
16266
|
+
"endIndex": 5
|
|
16254
16267
|
},
|
|
16255
16268
|
"isOptional": false
|
|
16256
16269
|
},
|
|
16257
16270
|
{
|
|
16258
16271
|
"parameterName": "entity",
|
|
16259
16272
|
"parameterTypeTokenRange": {
|
|
16260
|
-
"startIndex":
|
|
16261
|
-
"endIndex":
|
|
16273
|
+
"startIndex": 6,
|
|
16274
|
+
"endIndex": 7
|
|
16262
16275
|
},
|
|
16263
16276
|
"isOptional": false
|
|
16264
16277
|
},
|
|
16265
16278
|
{
|
|
16266
16279
|
"parameterName": "component",
|
|
16267
16280
|
"parameterTypeTokenRange": {
|
|
16268
|
-
"startIndex":
|
|
16269
|
-
"endIndex":
|
|
16281
|
+
"startIndex": 8,
|
|
16282
|
+
"endIndex": 12
|
|
16270
16283
|
},
|
|
16271
16284
|
"isOptional": false
|
|
16272
16285
|
}
|
|
@@ -17959,6 +17972,52 @@
|
|
|
17959
17972
|
],
|
|
17960
17973
|
"name": "removeEntity"
|
|
17961
17974
|
},
|
|
17975
|
+
{
|
|
17976
|
+
"kind": "MethodSignature",
|
|
17977
|
+
"canonicalReference": "@dcl/playground-assets!IEngine#removeEntityWithChildren:member(1)",
|
|
17978
|
+
"docComment": "/**\n * Remove all components of each entity in the tree made with Transform parenting\n *\n * @param entity - the root entity of the tree\n */\n",
|
|
17979
|
+
"excerptTokens": [
|
|
17980
|
+
{
|
|
17981
|
+
"kind": "Content",
|
|
17982
|
+
"text": "removeEntityWithChildren(entity: "
|
|
17983
|
+
},
|
|
17984
|
+
{
|
|
17985
|
+
"kind": "Reference",
|
|
17986
|
+
"text": "Entity",
|
|
17987
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
17988
|
+
},
|
|
17989
|
+
{
|
|
17990
|
+
"kind": "Content",
|
|
17991
|
+
"text": "): "
|
|
17992
|
+
},
|
|
17993
|
+
{
|
|
17994
|
+
"kind": "Content",
|
|
17995
|
+
"text": "void"
|
|
17996
|
+
},
|
|
17997
|
+
{
|
|
17998
|
+
"kind": "Content",
|
|
17999
|
+
"text": ";"
|
|
18000
|
+
}
|
|
18001
|
+
],
|
|
18002
|
+
"isOptional": false,
|
|
18003
|
+
"returnTypeTokenRange": {
|
|
18004
|
+
"startIndex": 3,
|
|
18005
|
+
"endIndex": 4
|
|
18006
|
+
},
|
|
18007
|
+
"releaseTag": "Public",
|
|
18008
|
+
"overloadIndex": 1,
|
|
18009
|
+
"parameters": [
|
|
18010
|
+
{
|
|
18011
|
+
"parameterName": "entity",
|
|
18012
|
+
"parameterTypeTokenRange": {
|
|
18013
|
+
"startIndex": 1,
|
|
18014
|
+
"endIndex": 2
|
|
18015
|
+
},
|
|
18016
|
+
"isOptional": false
|
|
18017
|
+
}
|
|
18018
|
+
],
|
|
18019
|
+
"name": "removeEntityWithChildren"
|
|
18020
|
+
},
|
|
17962
18021
|
{
|
|
17963
18022
|
"kind": "MethodSignature",
|
|
17964
18023
|
"canonicalReference": "@dcl/playground-assets!IEngine#removeSystem:member(1)",
|
|
@@ -55180,11 +55239,24 @@
|
|
|
55180
55239
|
"kind": "Content",
|
|
55181
55240
|
"text": "export declare function removeEntityWithChildren(engine: "
|
|
55182
55241
|
},
|
|
55242
|
+
{
|
|
55243
|
+
"kind": "Reference",
|
|
55244
|
+
"text": "Pick",
|
|
55245
|
+
"canonicalReference": "!Pick:type"
|
|
55246
|
+
},
|
|
55247
|
+
{
|
|
55248
|
+
"kind": "Content",
|
|
55249
|
+
"text": "<"
|
|
55250
|
+
},
|
|
55183
55251
|
{
|
|
55184
55252
|
"kind": "Reference",
|
|
55185
55253
|
"text": "IEngine",
|
|
55186
55254
|
"canonicalReference": "@dcl/playground-assets!IEngine:interface"
|
|
55187
55255
|
},
|
|
55256
|
+
{
|
|
55257
|
+
"kind": "Content",
|
|
55258
|
+
"text": ", 'getEntitiesWith' | 'defineComponentFromSchema' | 'removeEntity'>"
|
|
55259
|
+
},
|
|
55188
55260
|
{
|
|
55189
55261
|
"kind": "Content",
|
|
55190
55262
|
"text": ", entity: "
|
|
@@ -55209,8 +55281,8 @@
|
|
|
55209
55281
|
],
|
|
55210
55282
|
"fileUrlPath": "../ecs/dist/runtime/helpers/tree.d.ts",
|
|
55211
55283
|
"returnTypeTokenRange": {
|
|
55212
|
-
"startIndex":
|
|
55213
|
-
"endIndex":
|
|
55284
|
+
"startIndex": 8,
|
|
55285
|
+
"endIndex": 9
|
|
55214
55286
|
},
|
|
55215
55287
|
"releaseTag": "Public",
|
|
55216
55288
|
"overloadIndex": 1,
|
|
@@ -55219,15 +55291,15 @@
|
|
|
55219
55291
|
"parameterName": "engine",
|
|
55220
55292
|
"parameterTypeTokenRange": {
|
|
55221
55293
|
"startIndex": 1,
|
|
55222
|
-
"endIndex":
|
|
55294
|
+
"endIndex": 5
|
|
55223
55295
|
},
|
|
55224
55296
|
"isOptional": false
|
|
55225
55297
|
},
|
|
55226
55298
|
{
|
|
55227
55299
|
"parameterName": "entity",
|
|
55228
55300
|
"parameterTypeTokenRange": {
|
|
55229
|
-
"startIndex":
|
|
55230
|
-
"endIndex":
|
|
55301
|
+
"startIndex": 6,
|
|
55302
|
+
"endIndex": 7
|
|
55231
55303
|
},
|
|
55232
55304
|
"isOptional": false
|
|
55233
55305
|
}
|
|
@@ -935,7 +935,7 @@ export const enum Font {
|
|
|
935
935
|
}
|
|
936
936
|
|
|
937
937
|
// @public
|
|
938
|
-
export function getComponentEntityTree<T>(engine: IEngine, entity: Entity, component: ComponentDefinition<T & {
|
|
938
|
+
export function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith'>, entity: Entity, component: ComponentDefinition<T & {
|
|
939
939
|
parent?: Entity;
|
|
940
940
|
}>): Generator<Entity>;
|
|
941
941
|
|
|
@@ -1036,6 +1036,7 @@ export interface IEngine {
|
|
|
1036
1036
|
// (undocumented)
|
|
1037
1037
|
removeComponentDefinition(componentId: number | string): void;
|
|
1038
1038
|
removeEntity(entity: Entity): void;
|
|
1039
|
+
removeEntityWithChildren(entity: Entity): void;
|
|
1039
1040
|
removeSystem(selector: string | SystemFn): boolean;
|
|
1040
1041
|
readonly RootEntity: Entity;
|
|
1041
1042
|
seal(): void;
|
|
@@ -3229,7 +3230,7 @@ export namespace Rect {
|
|
|
3229
3230
|
}
|
|
3230
3231
|
|
|
3231
3232
|
// @public
|
|
3232
|
-
export function removeEntityWithChildren(engine: IEngine, entity: Entity): void;
|
|
3233
|
+
export function removeEntityWithChildren(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema' | 'removeEntity'>, entity: Entity): void;
|
|
3233
3234
|
|
|
3234
3235
|
// Warning: (ae-missing-release-tag) "RPCSendableMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
3235
3236
|
//
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.3.
|
|
4
|
+
"version": "7.3.1-5488940429.commit-5385d4d",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.3.
|
|
8
|
-
"@dcl/sdk": "7.3.
|
|
7
|
+
"@dcl/js-runtime": "7.3.1-5488940429.commit-5385d4d",
|
|
8
|
+
"@dcl/sdk": "7.3.1-5488940429.commit-5385d4d"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"types": "./dist/index.d.ts",
|
|
34
34
|
"typings": "./dist/index.d.ts",
|
|
35
|
-
"commit": "
|
|
35
|
+
"commit": "5385d4df188c5ed28c5b03bc31e7c497b5e04342"
|
|
36
36
|
}
|