@dcl/playground-assets 7.8.11-15636633913.commit-697c1d3 → 7.8.11-15641625466.commit-c8238a2
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 +117 -0
- package/dist/beta.d.ts +117 -0
- package/dist/index.bundled.d.ts +117 -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 +117 -0
- package/etc/playground-assets.api.json +1633 -371
- package/etc/playground-assets.api.md +84 -0
- package/package.json +4 -4
|
@@ -639,6 +639,7 @@ export const componentDefinitionByName: {
|
|
|
639
639
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
640
640
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
641
641
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
642
|
+
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
642
643
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
643
644
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
644
645
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -1573,6 +1574,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
|
|
|
1573
1574
|
getOrNull(entity: Entity): DeepReadonly<T> | null;
|
|
1574
1575
|
}
|
|
1575
1576
|
|
|
1577
|
+
// Warning: (ae-missing-release-tag) "LightSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1578
|
+
//
|
|
1579
|
+
// @public (undocumented)
|
|
1580
|
+
export const LightSource: LightSourceComponentDefinitionExtended;
|
|
1581
|
+
|
|
1582
|
+
// @public (undocumented)
|
|
1583
|
+
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
|
1584
|
+
Type: LightSourceHelper;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
// @public (undocumented)
|
|
1588
|
+
export interface LightSourceHelper {
|
|
1589
|
+
// (undocumented)
|
|
1590
|
+
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
|
1591
|
+
// (undocumented)
|
|
1592
|
+
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1576
1595
|
// @public
|
|
1577
1596
|
export type Listeners = {
|
|
1578
1597
|
onMouseDown?: Callback;
|
|
@@ -2421,6 +2440,66 @@ export namespace PBInputModifier_StandardInput {
|
|
|
2421
2440
|
export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
|
2422
2441
|
}
|
|
2423
2442
|
|
|
2443
|
+
// @public (undocumented)
|
|
2444
|
+
export interface PBLightSource {
|
|
2445
|
+
active?: boolean | undefined;
|
|
2446
|
+
brightness?: number | undefined;
|
|
2447
|
+
color?: PBColor3 | undefined;
|
|
2448
|
+
range?: number | undefined;
|
|
2449
|
+
// (undocumented)
|
|
2450
|
+
type?: {
|
|
2451
|
+
$case: "point";
|
|
2452
|
+
point: PBLightSource_Point;
|
|
2453
|
+
} | {
|
|
2454
|
+
$case: "spot";
|
|
2455
|
+
spot: PBLightSource_Spot;
|
|
2456
|
+
} | undefined;
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
// @public (undocumented)
|
|
2460
|
+
export namespace PBLightSource {
|
|
2461
|
+
// (undocumented)
|
|
2462
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
|
|
2463
|
+
// (undocumented)
|
|
2464
|
+
export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
// @public (undocumented)
|
|
2468
|
+
export interface PBLightSource_Point {
|
|
2469
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
// @public (undocumented)
|
|
2473
|
+
export namespace PBLightSource_Point {
|
|
2474
|
+
// (undocumented)
|
|
2475
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
|
|
2476
|
+
// (undocumented)
|
|
2477
|
+
export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
// @public (undocumented)
|
|
2481
|
+
export const enum PBLightSource_ShadowType {
|
|
2482
|
+
ST_HARD = 2,
|
|
2483
|
+
ST_NONE = 0,
|
|
2484
|
+
ST_SOFT = 1
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
// @public (undocumented)
|
|
2488
|
+
export interface PBLightSource_Spot {
|
|
2489
|
+
innerAngle?: number | undefined;
|
|
2490
|
+
outerAngle?: number | undefined;
|
|
2491
|
+
shadow?: PBLightSource_ShadowType | undefined;
|
|
2492
|
+
shadowMaskTexture?: TextureUnion | undefined;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
// @public (undocumented)
|
|
2496
|
+
export namespace PBLightSource_Spot {
|
|
2497
|
+
// (undocumented)
|
|
2498
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
|
|
2499
|
+
// (undocumented)
|
|
2500
|
+
export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2424
2503
|
// @public (undocumented)
|
|
2425
2504
|
export interface PBMainCamera {
|
|
2426
2505
|
virtualCameraEntity?: number | undefined;
|
|
@@ -3181,6 +3260,7 @@ export interface PBUiTransform {
|
|
|
3181
3260
|
// (undocumented)
|
|
3182
3261
|
minWidth: number;
|
|
3183
3262
|
minWidthUnit: YGUnit;
|
|
3263
|
+
opacity?: number | undefined;
|
|
3184
3264
|
overflow: YGOverflow;
|
|
3185
3265
|
// (undocumented)
|
|
3186
3266
|
paddingBottom: number;
|
|
@@ -3215,6 +3295,7 @@ export interface PBUiTransform {
|
|
|
3215
3295
|
// (undocumented)
|
|
3216
3296
|
width: number;
|
|
3217
3297
|
widthUnit: YGUnit;
|
|
3298
|
+
zIndex?: number | undefined;
|
|
3218
3299
|
}
|
|
3219
3300
|
|
|
3220
3301
|
// @public (undocumented)
|
|
@@ -3301,6 +3382,7 @@ export namespace PBVideoPlayer {
|
|
|
3301
3382
|
export interface PBVirtualCamera {
|
|
3302
3383
|
// (undocumented)
|
|
3303
3384
|
defaultTransition?: CameraTransition | undefined;
|
|
3385
|
+
fov?: number | undefined;
|
|
3304
3386
|
// (undocumented)
|
|
3305
3387
|
lookAtEntity?: number | undefined;
|
|
3306
3388
|
}
|
|
@@ -4365,12 +4447,14 @@ export interface UiTransformProps {
|
|
|
4365
4447
|
maxWidth?: PositionUnit;
|
|
4366
4448
|
minHeight?: PositionUnit;
|
|
4367
4449
|
minWidth?: PositionUnit;
|
|
4450
|
+
opacity?: number;
|
|
4368
4451
|
overflow?: OverflowType;
|
|
4369
4452
|
padding?: Partial<Position> | PositionShorthand;
|
|
4370
4453
|
pointerFilter?: PointerFilterType;
|
|
4371
4454
|
position?: Partial<Position> | PositionShorthand;
|
|
4372
4455
|
positionType?: PositionType;
|
|
4373
4456
|
width?: PositionUnit | 'auto';
|
|
4457
|
+
zIndex?: number;
|
|
4374
4458
|
}
|
|
4375
4459
|
|
|
4376
4460
|
// @public (undocumented)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.8.11-
|
|
4
|
+
"version": "7.8.11-15641625466.commit-c8238a2",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.8.11-
|
|
8
|
-
"@dcl/sdk": "7.8.11-
|
|
7
|
+
"@dcl/js-runtime": "7.8.11-15641625466.commit-c8238a2",
|
|
8
|
+
"@dcl/sdk": "7.8.11-15641625466.commit-c8238a2"
|
|
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": "c8238a20b2bbdc178aee029e1b841641f17e1522"
|
|
36
36
|
}
|