@dcl/playground-assets 7.1.2-4415683908.commit-0a210fd → 7.1.2-4426178080.commit-9504360
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 +80 -2
- package/dist/beta.d.ts +80 -2
- package/dist/index.bundled.d.ts +80 -2
- package/dist/index.js +272 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +80 -2
- package/etc/playground-assets.api.json +1126 -2
- package/etc/playground-assets.api.md +64 -2
- package/package.json +3 -3
|
@@ -436,6 +436,41 @@ export type Color4Type = {
|
|
|
436
436
|
// @public (undocumented)
|
|
437
437
|
export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T> | GrowOnlyValueSetComponentDefinition<T>;
|
|
438
438
|
|
|
439
|
+
// Warning: (ae-missing-release-tag) "componentDefinitionByName" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
440
|
+
//
|
|
441
|
+
// @public
|
|
442
|
+
export const componentDefinitionByName: {
|
|
443
|
+
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
444
|
+
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
445
|
+
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
446
|
+
"core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
|
|
447
|
+
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
448
|
+
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
449
|
+
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
450
|
+
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
451
|
+
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
452
|
+
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
453
|
+
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
454
|
+
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
455
|
+
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
456
|
+
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
457
|
+
"core::PointerEvents": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerEvents>>;
|
|
458
|
+
"core::PointerEventsResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>>;
|
|
459
|
+
"core::PointerLock": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPointerLock>>;
|
|
460
|
+
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
461
|
+
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
462
|
+
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
463
|
+
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
464
|
+
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
465
|
+
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
466
|
+
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
467
|
+
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
468
|
+
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
469
|
+
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
470
|
+
"core::VideoPlayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVideoPlayer>>;
|
|
471
|
+
"core::VisibilityComponent": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>>;
|
|
472
|
+
};
|
|
473
|
+
|
|
439
474
|
// @public
|
|
440
475
|
export const enum ComponentType {
|
|
441
476
|
// (undocumented)
|
|
@@ -444,6 +479,24 @@ export const enum ComponentType {
|
|
|
444
479
|
LastWriteWinElementSet = 0
|
|
445
480
|
}
|
|
446
481
|
|
|
482
|
+
// @public @deprecated (undocumented)
|
|
483
|
+
export type Composite = {
|
|
484
|
+
id: string;
|
|
485
|
+
components: {
|
|
486
|
+
name: string;
|
|
487
|
+
schema?: JsonSchemaExtended;
|
|
488
|
+
data: Map<Entity, unknown>;
|
|
489
|
+
}[];
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
// @public @deprecated (undocumented)
|
|
493
|
+
export function compositeFromJson(jsonComposite: any): Composite;
|
|
494
|
+
|
|
495
|
+
// @public @deprecated (undocumented)
|
|
496
|
+
export type CompositeProvider = {
|
|
497
|
+
getCompositeOrNull: (id: string) => Composite | null;
|
|
498
|
+
};
|
|
499
|
+
|
|
447
500
|
// @public
|
|
448
501
|
export type ConflictResolutionMessage = PutComponentMessageBody | DeleteComponentMessageBody;
|
|
449
502
|
|
|
@@ -755,8 +808,8 @@ export interface IEngine {
|
|
|
755
808
|
defineComponent<T extends Spec>(componentName: string, spec: T, constructorDefault?: Partial<MapResult<T>>): MapComponentDefinition<MapResult<T>>;
|
|
756
809
|
defineComponentFromSchema<T>(componentName: string, spec: ISchema<T>): LastWriteWinElementSetComponentDefinition<T>;
|
|
757
810
|
defineValueSetComponentFromSchema<T>(componentName: string, spec: ISchema<T>, options: ValueSetOptions<T>): GrowOnlyValueSetComponentDefinition<T>;
|
|
758
|
-
getComponent<T>(componentId: number): ComponentDefinition<T>;
|
|
759
|
-
getComponentOrNull<T>(componentId: number): ComponentDefinition<T> | null;
|
|
811
|
+
getComponent<T>(componentId: number | string): ComponentDefinition<T>;
|
|
812
|
+
getComponentOrNull<T>(componentId: number | string): ComponentDefinition<T> | null;
|
|
760
813
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
761
814
|
getEntityState(entity: Entity): EntityState;
|
|
762
815
|
readonly PlayerEntity: Entity;
|
|
@@ -1045,6 +1098,13 @@ export type InputEventResult = {
|
|
|
1045
1098
|
// @public
|
|
1046
1099
|
export const inputSystem: IInputSystem;
|
|
1047
1100
|
|
|
1101
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
1102
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
1103
|
+
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
1104
|
+
//
|
|
1105
|
+
// @public @deprecated
|
|
1106
|
+
export function instanceComposite(engine: IEngine, compositeData: Composite, getNextAvailableEntity: () => Entity | null, compositeProvider: CompositeProvider, rootEntity?: Entity, alreadyRequestedId?: Set<string>): Entity;
|
|
1107
|
+
|
|
1048
1108
|
// @public (undocumented)
|
|
1049
1109
|
export interface ISchema<T = any> {
|
|
1050
1110
|
// (undocumented)
|
|
@@ -2478,6 +2538,8 @@ export namespace Schemas {
|
|
|
2478
2538
|
Map: <T extends Spec>(spec: T, defaultValue?: Partial<MapResult<T>> | undefined) => ISchema<MapResult<T>>;
|
|
2479
2539
|
const // (undocumented)
|
|
2480
2540
|
Optional: <T>(spec: ISchema<T>) => ISchema<T | undefined>;
|
|
2541
|
+
const // Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
2542
|
+
fromJson: (json: JsonSchemaExtended) => ISchema<unknown>;
|
|
2481
2543
|
}
|
|
2482
2544
|
|
|
2483
2545
|
// @public (undocumented)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
|
-
"version": "7.1.2-
|
|
3
|
+
"version": "7.1.2-4426178080.commit-9504360",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"author": "Decentraland",
|
|
18
18
|
"license": "Apache-2.0",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dcl/sdk": "7.1.2-
|
|
20
|
+
"@dcl/sdk": "7.1.2-4426178080.commit-9504360"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"dist",
|
|
28
28
|
"etc"
|
|
29
29
|
],
|
|
30
|
-
"commit": "
|
|
30
|
+
"commit": "950436017ab8c641b3200d13e39e696f901efe26"
|
|
31
31
|
}
|