@dcl/playground-assets 7.19.1-21654129874.commit-4307fca → 7.19.1-21669888843.commit-dab8cfb
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 +16 -0
- package/dist/beta.d.ts +16 -0
- package/dist/index.bundled.d.ts +16 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +16 -0
- package/etc/playground-assets.api.json +132 -0
- package/etc/playground-assets.api.md +6 -0
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.19.1-
|
|
4
|
+
"version": "7.19.1-21669888843.commit-dab8cfb",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
},
|
|
36
36
|
"types": "./index.d.ts",
|
|
37
37
|
"typings": "./index.d.ts",
|
|
38
|
-
"commit": "
|
|
38
|
+
"commit": "dab8cfbfc2be6492c9ce2c891ae45d58fa0b3980"
|
|
39
39
|
}
|
|
@@ -2332,6 +2332,16 @@ export declare const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => Eve
|
|
|
2332
2332
|
*/
|
|
2333
2333
|
export declare function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
2334
2334
|
|
|
2335
|
+
/**
|
|
2336
|
+
* Utilities for standardized globalThis access.
|
|
2337
|
+
* @public
|
|
2338
|
+
*/
|
|
2339
|
+
/**
|
|
2340
|
+
* Type-safe globalThis property access.
|
|
2341
|
+
* @public
|
|
2342
|
+
*/
|
|
2343
|
+
export declare function getGlobal<T>(key: string): T | undefined;
|
|
2344
|
+
|
|
2335
2345
|
/**
|
|
2336
2346
|
* Get the world position of an entity, taking into account the full parent hierarchy.
|
|
2337
2347
|
* This computes the world-space position by accumulating all parent transforms
|
|
@@ -8542,6 +8552,12 @@ export declare namespace ScrollPositionValue {
|
|
|
8542
8552
|
*/
|
|
8543
8553
|
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
8544
8554
|
|
|
8555
|
+
/**
|
|
8556
|
+
* Sets a globalThis property as a polyfill (only if undefined/null).
|
|
8557
|
+
* @public
|
|
8558
|
+
*/
|
|
8559
|
+
export declare function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
8560
|
+
|
|
8545
8561
|
/**
|
|
8546
8562
|
* @public
|
|
8547
8563
|
*/
|
|
@@ -22386,6 +22386,64 @@
|
|
|
22386
22386
|
],
|
|
22387
22387
|
"name": "getEntitiesWithParent"
|
|
22388
22388
|
},
|
|
22389
|
+
{
|
|
22390
|
+
"kind": "Function",
|
|
22391
|
+
"canonicalReference": "@dcl/playground-assets!getGlobal:function(1)",
|
|
22392
|
+
"docComment": "/**\n * Type-safe globalThis property access.\n *\n * @public\n */\n",
|
|
22393
|
+
"excerptTokens": [
|
|
22394
|
+
{
|
|
22395
|
+
"kind": "Content",
|
|
22396
|
+
"text": "export declare function getGlobal<T>(key: "
|
|
22397
|
+
},
|
|
22398
|
+
{
|
|
22399
|
+
"kind": "Content",
|
|
22400
|
+
"text": "string"
|
|
22401
|
+
},
|
|
22402
|
+
{
|
|
22403
|
+
"kind": "Content",
|
|
22404
|
+
"text": "): "
|
|
22405
|
+
},
|
|
22406
|
+
{
|
|
22407
|
+
"kind": "Content",
|
|
22408
|
+
"text": "T | undefined"
|
|
22409
|
+
},
|
|
22410
|
+
{
|
|
22411
|
+
"kind": "Content",
|
|
22412
|
+
"text": ";"
|
|
22413
|
+
}
|
|
22414
|
+
],
|
|
22415
|
+
"fileUrlPath": "../ecs/dist/runtime/globals.d.ts",
|
|
22416
|
+
"returnTypeTokenRange": {
|
|
22417
|
+
"startIndex": 3,
|
|
22418
|
+
"endIndex": 4
|
|
22419
|
+
},
|
|
22420
|
+
"releaseTag": "Public",
|
|
22421
|
+
"overloadIndex": 1,
|
|
22422
|
+
"parameters": [
|
|
22423
|
+
{
|
|
22424
|
+
"parameterName": "key",
|
|
22425
|
+
"parameterTypeTokenRange": {
|
|
22426
|
+
"startIndex": 1,
|
|
22427
|
+
"endIndex": 2
|
|
22428
|
+
},
|
|
22429
|
+
"isOptional": false
|
|
22430
|
+
}
|
|
22431
|
+
],
|
|
22432
|
+
"typeParameters": [
|
|
22433
|
+
{
|
|
22434
|
+
"typeParameterName": "T",
|
|
22435
|
+
"constraintTokenRange": {
|
|
22436
|
+
"startIndex": 0,
|
|
22437
|
+
"endIndex": 0
|
|
22438
|
+
},
|
|
22439
|
+
"defaultTypeTokenRange": {
|
|
22440
|
+
"startIndex": 0,
|
|
22441
|
+
"endIndex": 0
|
|
22442
|
+
}
|
|
22443
|
+
}
|
|
22444
|
+
],
|
|
22445
|
+
"name": "getGlobal"
|
|
22446
|
+
},
|
|
22389
22447
|
{
|
|
22390
22448
|
"kind": "Function",
|
|
22391
22449
|
"canonicalReference": "@dcl/playground-assets!getWorldPosition:function(1)",
|
|
@@ -81259,6 +81317,80 @@
|
|
|
81259
81317
|
"endIndex": 2
|
|
81260
81318
|
}
|
|
81261
81319
|
},
|
|
81320
|
+
{
|
|
81321
|
+
"kind": "Function",
|
|
81322
|
+
"canonicalReference": "@dcl/playground-assets!setGlobalPolyfill:function(1)",
|
|
81323
|
+
"docComment": "/**\n * Sets a globalThis property as a polyfill (only if undefined/null).\n *\n * @public\n */\n",
|
|
81324
|
+
"excerptTokens": [
|
|
81325
|
+
{
|
|
81326
|
+
"kind": "Content",
|
|
81327
|
+
"text": "export declare function setGlobalPolyfill<T>(key: "
|
|
81328
|
+
},
|
|
81329
|
+
{
|
|
81330
|
+
"kind": "Content",
|
|
81331
|
+
"text": "string"
|
|
81332
|
+
},
|
|
81333
|
+
{
|
|
81334
|
+
"kind": "Content",
|
|
81335
|
+
"text": ", value: "
|
|
81336
|
+
},
|
|
81337
|
+
{
|
|
81338
|
+
"kind": "Content",
|
|
81339
|
+
"text": "T"
|
|
81340
|
+
},
|
|
81341
|
+
{
|
|
81342
|
+
"kind": "Content",
|
|
81343
|
+
"text": "): "
|
|
81344
|
+
},
|
|
81345
|
+
{
|
|
81346
|
+
"kind": "Content",
|
|
81347
|
+
"text": "void"
|
|
81348
|
+
},
|
|
81349
|
+
{
|
|
81350
|
+
"kind": "Content",
|
|
81351
|
+
"text": ";"
|
|
81352
|
+
}
|
|
81353
|
+
],
|
|
81354
|
+
"fileUrlPath": "../ecs/dist/runtime/globals.d.ts",
|
|
81355
|
+
"returnTypeTokenRange": {
|
|
81356
|
+
"startIndex": 5,
|
|
81357
|
+
"endIndex": 6
|
|
81358
|
+
},
|
|
81359
|
+
"releaseTag": "Public",
|
|
81360
|
+
"overloadIndex": 1,
|
|
81361
|
+
"parameters": [
|
|
81362
|
+
{
|
|
81363
|
+
"parameterName": "key",
|
|
81364
|
+
"parameterTypeTokenRange": {
|
|
81365
|
+
"startIndex": 1,
|
|
81366
|
+
"endIndex": 2
|
|
81367
|
+
},
|
|
81368
|
+
"isOptional": false
|
|
81369
|
+
},
|
|
81370
|
+
{
|
|
81371
|
+
"parameterName": "value",
|
|
81372
|
+
"parameterTypeTokenRange": {
|
|
81373
|
+
"startIndex": 3,
|
|
81374
|
+
"endIndex": 4
|
|
81375
|
+
},
|
|
81376
|
+
"isOptional": false
|
|
81377
|
+
}
|
|
81378
|
+
],
|
|
81379
|
+
"typeParameters": [
|
|
81380
|
+
{
|
|
81381
|
+
"typeParameterName": "T",
|
|
81382
|
+
"constraintTokenRange": {
|
|
81383
|
+
"startIndex": 0,
|
|
81384
|
+
"endIndex": 0
|
|
81385
|
+
},
|
|
81386
|
+
"defaultTypeTokenRange": {
|
|
81387
|
+
"startIndex": 0,
|
|
81388
|
+
"endIndex": 0
|
|
81389
|
+
}
|
|
81390
|
+
}
|
|
81391
|
+
],
|
|
81392
|
+
"name": "setGlobalPolyfill"
|
|
81393
|
+
},
|
|
81262
81394
|
{
|
|
81263
81395
|
"kind": "Enum",
|
|
81264
81396
|
"canonicalReference": "@dcl/playground-assets!ShowScrollBar:enum",
|
|
@@ -1354,6 +1354,9 @@ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystem
|
|
|
1354
1354
|
// @public
|
|
1355
1355
|
export function getEntitiesWithParent(engine: Pick<IEngine, 'getEntitiesWith' | 'defineComponentFromSchema'>, parent: Entity): Entity[];
|
|
1356
1356
|
|
|
1357
|
+
// @public
|
|
1358
|
+
export function getGlobal<T>(key: string): T | undefined;
|
|
1359
|
+
|
|
1357
1360
|
// @public
|
|
1358
1361
|
export function getWorldPosition(engine: WorldTransformEngine, entity: Entity): Vector3Type;
|
|
1359
1362
|
|
|
@@ -4744,6 +4747,9 @@ export namespace ScrollPositionValue {
|
|
|
4744
4747
|
// @public
|
|
4745
4748
|
export type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
4746
4749
|
|
|
4750
|
+
// @public
|
|
4751
|
+
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4752
|
+
|
|
4747
4753
|
// @public (undocumented)
|
|
4748
4754
|
export const enum ShowScrollBar {
|
|
4749
4755
|
// (undocumented)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.19.1-
|
|
4
|
+
"version": "7.19.1-21669888843.commit-dab8cfb",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.19.1-
|
|
8
|
-
"@dcl/sdk": "7.19.1-
|
|
7
|
+
"@dcl/js-runtime": "7.19.1-21669888843.commit-dab8cfb",
|
|
8
|
+
"@dcl/sdk": "7.19.1-21669888843.commit-dab8cfb"
|
|
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": "dab8cfbfc2be6492c9ce2c891ae45d58fa0b3980"
|
|
36
36
|
}
|