@dcl/playground-assets 7.8.1-14112508710.commit-8fa2c9e → 7.8.1

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.
@@ -639,7 +639,6 @@ 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>>;
643
642
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
644
643
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
645
644
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -1572,24 +1571,6 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
1572
1571
  getOrNull(entity: Entity): DeepReadonly<T> | null;
1573
1572
  }
1574
1573
 
1575
- // 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)
1576
- //
1577
- // @public (undocumented)
1578
- export const LightSource: LightSourceComponentDefinitionExtended;
1579
-
1580
- // @public (undocumented)
1581
- export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
1582
- Type: LightSourceHelper;
1583
- }
1584
-
1585
- // @public (undocumented)
1586
- export interface LightSourceHelper {
1587
- // (undocumented)
1588
- Point: (point: PBLightSource_Point) => PBLightSource['type'];
1589
- // (undocumented)
1590
- Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
1591
- }
1592
-
1593
1574
  // @public
1594
1575
  export type Listeners = {
1595
1576
  onMouseDown?: Callback;
@@ -2438,66 +2419,6 @@ export namespace PBInputModifier_StandardInput {
2438
2419
  export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
2439
2420
  }
2440
2421
 
2441
- // @public (undocumented)
2442
- export interface PBLightSource {
2443
- active?: boolean | undefined;
2444
- brightness?: number | undefined;
2445
- color?: PBColor3 | undefined;
2446
- range?: number | undefined;
2447
- // (undocumented)
2448
- type?: {
2449
- $case: "point";
2450
- point: PBLightSource_Point;
2451
- } | {
2452
- $case: "spot";
2453
- spot: PBLightSource_Spot;
2454
- } | undefined;
2455
- }
2456
-
2457
- // @public (undocumented)
2458
- export namespace PBLightSource {
2459
- // (undocumented)
2460
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
2461
- // (undocumented)
2462
- export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
2463
- }
2464
-
2465
- // @public (undocumented)
2466
- export interface PBLightSource_Point {
2467
- shadow?: PBLightSource_ShadowType | undefined;
2468
- }
2469
-
2470
- // @public (undocumented)
2471
- export namespace PBLightSource_Point {
2472
- // (undocumented)
2473
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
2474
- // (undocumented)
2475
- export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
2476
- }
2477
-
2478
- // @public (undocumented)
2479
- export const enum PBLightSource_ShadowType {
2480
- ST_HARD = 2,
2481
- ST_NONE = 0,
2482
- ST_SOFT = 1
2483
- }
2484
-
2485
- // @public (undocumented)
2486
- export interface PBLightSource_Spot {
2487
- innerAngle?: number | undefined;
2488
- outerAngle?: number | undefined;
2489
- shadow?: PBLightSource_ShadowType | undefined;
2490
- shadowMaskTexture?: TextureUnion | undefined;
2491
- }
2492
-
2493
- // @public (undocumented)
2494
- export namespace PBLightSource_Spot {
2495
- // (undocumented)
2496
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
2497
- // (undocumented)
2498
- export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
2499
- }
2500
-
2501
2422
  // @public (undocumented)
2502
2423
  export interface PBMainCamera {
2503
2424
  virtualCameraEntity?: number | undefined;
@@ -3369,7 +3290,6 @@ export namespace PBVideoPlayer {
3369
3290
  export interface PBVirtualCamera {
3370
3291
  // (undocumented)
3371
3292
  defaultTransition?: CameraTransition | undefined;
3372
- fov?: number | undefined;
3373
3293
  // (undocumented)
3374
3294
  lookAtEntity?: number | undefined;
3375
3295
  }
@@ -3739,6 +3659,16 @@ export interface ReactBasedUiSystem {
3739
3659
 
3740
3660
  // @public (undocumented)
3741
3661
  export namespace ReactEcs {
3662
+ // (undocumented)
3663
+ export type DependencyList = ReadonlyArray<any>;
3664
+ const // (undocumented)
3665
+ createElement: any;
3666
+ // (undocumented)
3667
+ export type Dispatch<T> = (action: SetStateAction<T>) => void;
3668
+ // (undocumented)
3669
+ export type EffectCallback = () => void | (() => void | undefined);
3670
+ // (undocumented)
3671
+ export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
3742
3672
  // (undocumented)
3743
3673
  export namespace JSX {
3744
3674
  export interface Component {
@@ -3751,8 +3681,15 @@ export namespace ReactEcs {
3751
3681
  // (undocumented)
3752
3682
  export type ReactNode = Element | ReactElement | string | number | boolean | null | undefined | ReactNode[];
3753
3683
  }
3684
+ // (undocumented)
3685
+ export type SetStateAction<T> = T | ((prevState: T) => T);
3686
+ // (undocumented)
3687
+ export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
3754
3688
  const // (undocumented)
3755
- createElement: any;
3689
+ useEffect: EffectHook;
3690
+ const // (undocumented)
3691
+ useState: StateHook;
3692
+ {};
3756
3693
  }
3757
3694
 
3758
3695
  // Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.8.1-14112508710.commit-8fa2c9e",
4
+ "version": "7.8.1",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.8.1-14112508710.commit-8fa2c9e",
8
- "@dcl/sdk": "7.8.1-14112508710.commit-8fa2c9e"
7
+ "@dcl/js-runtime": "7.8.1",
8
+ "@dcl/sdk": "7.8.1"
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": "8fa2c9ef443b105ba30e66043af3800f66d93aed"
35
+ "commit": "d9545647374e1d0470a13b7f0486aa08cb38cfcc"
36
36
  }