@dcl/playground-assets 7.1.4-4495128859.commit-9f954df → 7.1.4-4512634654.commit-0e8d9c4

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.
@@ -513,12 +513,24 @@ export const enum ComponentType {
513
513
  LastWriteWinElementSet = 0
514
514
  }
515
515
 
516
- // @public (undocumented)
517
- export interface Composite {
516
+ // @public @deprecated (undocumented)
517
+ export type Composite = CompositeDefinition;
518
+
519
+ // @public @deprecated (undocumented)
520
+ export namespace Composite {
518
521
  // (undocumented)
519
- components: CompositeComponent[];
522
+ export function fromBinary(buffer: Uint8Array): Composite.Type;
520
523
  // (undocumented)
521
- id: string;
524
+ export function fromJson(object: any): Composite.Type;
525
+ export function instance(engine: IEngine, compositeData: Composite.Type, compositeProvider: CompositeProvider, options?: InstanceCompositeOptions): void;
526
+ // (undocumented)
527
+ export type Provider = CompositeProvider;
528
+ // (undocumented)
529
+ export function toBinary(composite: Composite.Type): Uint8Array;
530
+ // (undocumented)
531
+ export function toJson(composite: Composite.Type): any;
532
+ // (undocumented)
533
+ export type Type = CompositeDefinition;
522
534
  }
523
535
 
524
536
  // @public (undocumented)
@@ -539,30 +551,27 @@ export interface CompositeComponent_DataEntry {
539
551
  value: ComponentData | undefined;
540
552
  }
541
553
 
542
- // Warning: (ae-missing-release-tag) "compositeFromBinary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
543
- //
544
554
  // @public (undocumented)
545
- export function compositeFromBinary(buffer: Uint8Array): Composite;
555
+ export interface CompositeDefinition {
556
+ // (undocumented)
557
+ components: CompositeComponent[];
558
+ // (undocumented)
559
+ id: string;
560
+ }
546
561
 
547
- // Warning: (ae-missing-release-tag) "compositeFromJson" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
548
- //
549
562
  // @public (undocumented)
550
- export function compositeFromJson(object: any): Composite;
551
-
552
- // @public @deprecated (undocumented)
553
563
  export type CompositeProvider = {
554
- getCompositeOrNull: (id: string) => Composite | null;
564
+ getCompositeOrNull(id: string): CompositeDefinition | null;
555
565
  };
556
566
 
557
- // Warning: (ae-missing-release-tag) "compositeToBinary" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
558
- //
559
- // @public (undocumented)
560
- export function compositeToBinary(composite: Composite): Uint8Array;
561
-
562
- // Warning: (ae-missing-release-tag) "compositeToJson" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
563
- //
564
- // @public (undocumented)
565
- export function compositeToJson(composite: Composite): any;
567
+ // @public @deprecated (undocumented)
568
+ export type CompositeRootType = {
569
+ id: string;
570
+ entities: {
571
+ src: Entity;
572
+ dest: Entity;
573
+ }[];
574
+ };
566
575
 
567
576
  // @public
568
577
  export type ConflictResolutionMessage = PutComponentMessageBody | DeleteComponentMessageBody;
@@ -762,8 +771,6 @@ export type EntityContainer = {
762
771
  updateUsedEntity(entity: Entity): boolean;
763
772
  };
764
773
 
765
- // Warning: (ae-missing-release-tag) "EntityMappingMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
766
- //
767
774
  // @public (undocumented)
768
775
  export enum EntityMappingMode {
769
776
  // (undocumented)
@@ -831,6 +838,9 @@ export const enum Font {
831
838
  F_SERIF = 1
832
839
  }
833
840
 
841
+ // @public @deprecated (undocumented)
842
+ export function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
843
+
834
844
  // Warning: (ae-missing-release-tag) "GizmoDragEndEvent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
835
845
  //
836
846
  // @public (undocumented)
@@ -1177,15 +1187,6 @@ export type InputEventResult = {
1177
1187
  // @public
1178
1188
  export const inputSystem: IInputSystem;
1179
1189
 
1180
- // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
1181
- // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
1182
- // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
1183
- //
1184
- // @public @deprecated
1185
- export function instanceComposite(engine: IEngine, compositeData: Composite, compositeProvider: CompositeProvider, options?: InstanceCompositeOptions): Entity;
1186
-
1187
- // Warning: (ae-missing-release-tag) "InstanceCompositeOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1188
- //
1189
1190
  // @public (undocumented)
1190
1191
  export type InstanceCompositeOptions = {
1191
1192
  entityMapping?: {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.1.4-4495128859.commit-9f954df",
4
+ "version": "7.1.4-4512634654.commit-0e8d9c4",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/sdk": "7.1.4-4495128859.commit-9f954df"
7
+ "@dcl/sdk": "7.1.4-4512634654.commit-0e8d9c4"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@microsoft/api-extractor": "^7.33.8"
@@ -27,5 +27,5 @@
27
27
  },
28
28
  "types": "./dist/index.d.ts",
29
29
  "typings": "./dist/index.d.ts",
30
- "commit": "9f954df0bf811ad6c2f4af1e1ae86426ab05e950"
30
+ "commit": "0e8d9c481e3aa08d0f725b39013572c7446b8e30"
31
31
  }