@dcl/playground-assets 7.2.1-5222626606.commit-efc0f49 → 7.2.1-5225991589.commit-830bc74
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 +32 -1
- package/dist/beta.d.ts +27 -1
- package/dist/index.bundled.d.ts +27 -1
- 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 +32 -1
- package/etc/playground-assets.api.json +306 -1
- package/etc/playground-assets.api.md +34 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.2.1-
|
|
4
|
+
"version": "7.2.1-5225991589.commit-830bc74",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
},
|
|
35
35
|
"types": "./index.d.ts",
|
|
36
36
|
"typings": "./index.d.ts",
|
|
37
|
-
"commit": "
|
|
37
|
+
"commit": "830bc74bd1fd3357c6e894bf624db4a1049be858"
|
|
38
38
|
}
|
|
@@ -1153,7 +1153,7 @@ export declare namespace ComponentData {
|
|
|
1153
1153
|
/**
|
|
1154
1154
|
* @public
|
|
1155
1155
|
*/
|
|
1156
|
-
export declare type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T> | GrowOnlyValueSetComponentDefinition<T>;
|
|
1156
|
+
export declare type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T> | GrowOnlyValueSetComponentDefinition<T> | ReadOnlyGrowOnlyValueSetComponentDefinition<T> | ReadOnlyLastWriteWinElementSetComponentDefinition<T>;
|
|
1157
1157
|
|
|
1158
1158
|
/** public */
|
|
1159
1159
|
export declare const componentDefinitionByName: {
|
|
@@ -1938,11 +1938,22 @@ export declare interface IEngine {
|
|
|
1938
1938
|
* ```
|
|
1939
1939
|
*/
|
|
1940
1940
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
1941
|
+
/**
|
|
1942
|
+
* @alpha
|
|
1943
|
+
* Search for the entity that matches de label string defined in the editor.
|
|
1944
|
+
* @param value - Name value string
|
|
1945
|
+
*/
|
|
1946
|
+
getEntityOrNullByName(label: string): Entity | null;
|
|
1941
1947
|
/**
|
|
1942
1948
|
* @public
|
|
1943
1949
|
* @param deltaTime - deltaTime in seconds
|
|
1944
1950
|
*/
|
|
1945
1951
|
update(deltaTime: number): Promise<void>;
|
|
1952
|
+
/**
|
|
1953
|
+
* @public
|
|
1954
|
+
* @param componentId - component number or name
|
|
1955
|
+
*/
|
|
1956
|
+
removeComponentDefinition(componentId: number | string): void;
|
|
1946
1957
|
/**
|
|
1947
1958
|
* @public
|
|
1948
1959
|
* Refer to the root of the scene, all Transforms without a parent are parenting with RootEntity.
|
|
@@ -3273,6 +3284,14 @@ export declare class MessageBus {
|
|
|
3273
3284
|
private flush;
|
|
3274
3285
|
}
|
|
3275
3286
|
|
|
3287
|
+
export declare const Name: NameComponent;
|
|
3288
|
+
|
|
3289
|
+
export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
|
3290
|
+
|
|
3291
|
+
export declare interface NameType {
|
|
3292
|
+
value: string;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3276
3295
|
/** NftFrameType is a predefined framing style for the image. */
|
|
3277
3296
|
/**
|
|
3278
3297
|
* @public
|
|
@@ -5610,6 +5629,16 @@ export declare type ReadonlyComponentSchema<T extends [ComponentDefinition<unkno
|
|
|
5610
5629
|
[K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
|
|
5611
5630
|
};
|
|
5612
5631
|
|
|
5632
|
+
/**
|
|
5633
|
+
* @public
|
|
5634
|
+
*/
|
|
5635
|
+
export declare type ReadOnlyGrowOnlyValueSetComponentDefinition<T> = Omit<GrowOnlyValueSetComponentDefinition<T>, 'addValue'>;
|
|
5636
|
+
|
|
5637
|
+
/**
|
|
5638
|
+
* @public
|
|
5639
|
+
*/
|
|
5640
|
+
export declare type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<LastWriteWinElementSetComponentDefinition<T>, 'create' | 'createOrReplace' | 'deleteFrom' | 'getMutable' | 'getMutableOrNull' | 'getOrCreateMutable'>;
|
|
5641
|
+
|
|
5613
5642
|
/**
|
|
5614
5643
|
* @public
|
|
5615
5644
|
*/
|
|
@@ -5941,6 +5970,8 @@ export declare type SystemItem = {
|
|
|
5941
5970
|
name?: string;
|
|
5942
5971
|
};
|
|
5943
5972
|
|
|
5973
|
+
export declare const SYSTEMS_REGULAR_PRIORITY = 100000;
|
|
5974
|
+
|
|
5944
5975
|
export declare type TargetEntityRaycastOptions = RaycastSystemOptions & TargetEntityRaycastSystemOptions;
|
|
5945
5976
|
|
|
5946
5977
|
export declare type TargetEntityRaycastSystemOptions = {
|
|
@@ -10827,6 +10827,24 @@
|
|
|
10827
10827
|
"text": "GrowOnlyValueSetComponentDefinition",
|
|
10828
10828
|
"canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface"
|
|
10829
10829
|
},
|
|
10830
|
+
{
|
|
10831
|
+
"kind": "Content",
|
|
10832
|
+
"text": "<T> | "
|
|
10833
|
+
},
|
|
10834
|
+
{
|
|
10835
|
+
"kind": "Reference",
|
|
10836
|
+
"text": "ReadOnlyGrowOnlyValueSetComponentDefinition",
|
|
10837
|
+
"canonicalReference": "@dcl/playground-assets!ReadOnlyGrowOnlyValueSetComponentDefinition:type"
|
|
10838
|
+
},
|
|
10839
|
+
{
|
|
10840
|
+
"kind": "Content",
|
|
10841
|
+
"text": "<T> | "
|
|
10842
|
+
},
|
|
10843
|
+
{
|
|
10844
|
+
"kind": "Reference",
|
|
10845
|
+
"text": "ReadOnlyLastWriteWinElementSetComponentDefinition",
|
|
10846
|
+
"canonicalReference": "@dcl/playground-assets!ReadOnlyLastWriteWinElementSetComponentDefinition:type"
|
|
10847
|
+
},
|
|
10830
10848
|
{
|
|
10831
10849
|
"kind": "Content",
|
|
10832
10850
|
"text": "<T>"
|
|
@@ -10854,7 +10872,7 @@
|
|
|
10854
10872
|
],
|
|
10855
10873
|
"typeTokenRange": {
|
|
10856
10874
|
"startIndex": 1,
|
|
10857
|
-
"endIndex":
|
|
10875
|
+
"endIndex": 9
|
|
10858
10876
|
}
|
|
10859
10877
|
},
|
|
10860
10878
|
{
|
|
@@ -17774,6 +17792,51 @@
|
|
|
17774
17792
|
],
|
|
17775
17793
|
"name": "registerComponentDefinition"
|
|
17776
17794
|
},
|
|
17795
|
+
{
|
|
17796
|
+
"kind": "MethodSignature",
|
|
17797
|
+
"canonicalReference": "@dcl/playground-assets!IEngine#removeComponentDefinition:member(1)",
|
|
17798
|
+
"docComment": "/**\n * @param componentId - component number or name\n *\n * @public\n */\n",
|
|
17799
|
+
"excerptTokens": [
|
|
17800
|
+
{
|
|
17801
|
+
"kind": "Content",
|
|
17802
|
+
"text": "removeComponentDefinition(componentId: "
|
|
17803
|
+
},
|
|
17804
|
+
{
|
|
17805
|
+
"kind": "Content",
|
|
17806
|
+
"text": "number | string"
|
|
17807
|
+
},
|
|
17808
|
+
{
|
|
17809
|
+
"kind": "Content",
|
|
17810
|
+
"text": "): "
|
|
17811
|
+
},
|
|
17812
|
+
{
|
|
17813
|
+
"kind": "Content",
|
|
17814
|
+
"text": "void"
|
|
17815
|
+
},
|
|
17816
|
+
{
|
|
17817
|
+
"kind": "Content",
|
|
17818
|
+
"text": ";"
|
|
17819
|
+
}
|
|
17820
|
+
],
|
|
17821
|
+
"isOptional": false,
|
|
17822
|
+
"returnTypeTokenRange": {
|
|
17823
|
+
"startIndex": 3,
|
|
17824
|
+
"endIndex": 4
|
|
17825
|
+
},
|
|
17826
|
+
"releaseTag": "Public",
|
|
17827
|
+
"overloadIndex": 1,
|
|
17828
|
+
"parameters": [
|
|
17829
|
+
{
|
|
17830
|
+
"parameterName": "componentId",
|
|
17831
|
+
"parameterTypeTokenRange": {
|
|
17832
|
+
"startIndex": 1,
|
|
17833
|
+
"endIndex": 2
|
|
17834
|
+
},
|
|
17835
|
+
"isOptional": false
|
|
17836
|
+
}
|
|
17837
|
+
],
|
|
17838
|
+
"name": "removeComponentDefinition"
|
|
17839
|
+
},
|
|
17777
17840
|
{
|
|
17778
17841
|
"kind": "MethodSignature",
|
|
17779
17842
|
"canonicalReference": "@dcl/playground-assets!IEngine#removeEntity:member(1)",
|
|
@@ -30017,6 +30080,115 @@
|
|
|
30017
30080
|
],
|
|
30018
30081
|
"implementsTokenRanges": []
|
|
30019
30082
|
},
|
|
30083
|
+
{
|
|
30084
|
+
"kind": "Variable",
|
|
30085
|
+
"canonicalReference": "@dcl/playground-assets!Name:var",
|
|
30086
|
+
"docComment": "",
|
|
30087
|
+
"excerptTokens": [
|
|
30088
|
+
{
|
|
30089
|
+
"kind": "Content",
|
|
30090
|
+
"text": "Name: "
|
|
30091
|
+
},
|
|
30092
|
+
{
|
|
30093
|
+
"kind": "Reference",
|
|
30094
|
+
"text": "NameComponent",
|
|
30095
|
+
"canonicalReference": "@dcl/playground-assets!NameComponent:type"
|
|
30096
|
+
}
|
|
30097
|
+
],
|
|
30098
|
+
"fileUrlPath": "../ecs/dist/index.d.ts",
|
|
30099
|
+
"isReadonly": true,
|
|
30100
|
+
"releaseTag": "Public",
|
|
30101
|
+
"name": "Name",
|
|
30102
|
+
"variableTypeTokenRange": {
|
|
30103
|
+
"startIndex": 1,
|
|
30104
|
+
"endIndex": 2
|
|
30105
|
+
}
|
|
30106
|
+
},
|
|
30107
|
+
{
|
|
30108
|
+
"kind": "TypeAlias",
|
|
30109
|
+
"canonicalReference": "@dcl/playground-assets!NameComponent:type",
|
|
30110
|
+
"docComment": "",
|
|
30111
|
+
"excerptTokens": [
|
|
30112
|
+
{
|
|
30113
|
+
"kind": "Content",
|
|
30114
|
+
"text": "export type NameComponent = "
|
|
30115
|
+
},
|
|
30116
|
+
{
|
|
30117
|
+
"kind": "Reference",
|
|
30118
|
+
"text": "LastWriteWinElementSetComponentDefinition",
|
|
30119
|
+
"canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
|
|
30120
|
+
},
|
|
30121
|
+
{
|
|
30122
|
+
"kind": "Content",
|
|
30123
|
+
"text": "<"
|
|
30124
|
+
},
|
|
30125
|
+
{
|
|
30126
|
+
"kind": "Reference",
|
|
30127
|
+
"text": "NameType",
|
|
30128
|
+
"canonicalReference": "@dcl/playground-assets!NameType:interface"
|
|
30129
|
+
},
|
|
30130
|
+
{
|
|
30131
|
+
"kind": "Content",
|
|
30132
|
+
"text": ">"
|
|
30133
|
+
},
|
|
30134
|
+
{
|
|
30135
|
+
"kind": "Content",
|
|
30136
|
+
"text": ";"
|
|
30137
|
+
}
|
|
30138
|
+
],
|
|
30139
|
+
"fileUrlPath": "../ecs/dist/components/manual/Name.d.ts",
|
|
30140
|
+
"releaseTag": "Public",
|
|
30141
|
+
"name": "NameComponent",
|
|
30142
|
+
"typeTokenRange": {
|
|
30143
|
+
"startIndex": 1,
|
|
30144
|
+
"endIndex": 5
|
|
30145
|
+
}
|
|
30146
|
+
},
|
|
30147
|
+
{
|
|
30148
|
+
"kind": "Interface",
|
|
30149
|
+
"canonicalReference": "@dcl/playground-assets!NameType:interface",
|
|
30150
|
+
"docComment": "",
|
|
30151
|
+
"excerptTokens": [
|
|
30152
|
+
{
|
|
30153
|
+
"kind": "Content",
|
|
30154
|
+
"text": "export interface NameType "
|
|
30155
|
+
}
|
|
30156
|
+
],
|
|
30157
|
+
"fileUrlPath": "../ecs/dist/components/manual/Name.d.ts",
|
|
30158
|
+
"releaseTag": "Public",
|
|
30159
|
+
"name": "NameType",
|
|
30160
|
+
"preserveMemberOrder": false,
|
|
30161
|
+
"members": [
|
|
30162
|
+
{
|
|
30163
|
+
"kind": "PropertySignature",
|
|
30164
|
+
"canonicalReference": "@dcl/playground-assets!NameType#value:member",
|
|
30165
|
+
"docComment": "",
|
|
30166
|
+
"excerptTokens": [
|
|
30167
|
+
{
|
|
30168
|
+
"kind": "Content",
|
|
30169
|
+
"text": "value: "
|
|
30170
|
+
},
|
|
30171
|
+
{
|
|
30172
|
+
"kind": "Content",
|
|
30173
|
+
"text": "string"
|
|
30174
|
+
},
|
|
30175
|
+
{
|
|
30176
|
+
"kind": "Content",
|
|
30177
|
+
"text": ";"
|
|
30178
|
+
}
|
|
30179
|
+
],
|
|
30180
|
+
"isReadonly": false,
|
|
30181
|
+
"isOptional": false,
|
|
30182
|
+
"releaseTag": "Public",
|
|
30183
|
+
"name": "value",
|
|
30184
|
+
"propertyTypeTokenRange": {
|
|
30185
|
+
"startIndex": 1,
|
|
30186
|
+
"endIndex": 2
|
|
30187
|
+
}
|
|
30188
|
+
}
|
|
30189
|
+
],
|
|
30190
|
+
"extendsTokenRanges": []
|
|
30191
|
+
},
|
|
30020
30192
|
{
|
|
30021
30193
|
"kind": "Enum",
|
|
30022
30194
|
"canonicalReference": "@dcl/playground-assets!NftFrameType:enum",
|
|
@@ -54411,6 +54583,112 @@
|
|
|
54411
54583
|
"endIndex": 12
|
|
54412
54584
|
}
|
|
54413
54585
|
},
|
|
54586
|
+
{
|
|
54587
|
+
"kind": "TypeAlias",
|
|
54588
|
+
"canonicalReference": "@dcl/playground-assets!ReadOnlyGrowOnlyValueSetComponentDefinition:type",
|
|
54589
|
+
"docComment": "/**\n * @public\n */\n",
|
|
54590
|
+
"excerptTokens": [
|
|
54591
|
+
{
|
|
54592
|
+
"kind": "Content",
|
|
54593
|
+
"text": "export type ReadOnlyGrowOnlyValueSetComponentDefinition<T> = "
|
|
54594
|
+
},
|
|
54595
|
+
{
|
|
54596
|
+
"kind": "Reference",
|
|
54597
|
+
"text": "Omit",
|
|
54598
|
+
"canonicalReference": "!Omit:type"
|
|
54599
|
+
},
|
|
54600
|
+
{
|
|
54601
|
+
"kind": "Content",
|
|
54602
|
+
"text": "<"
|
|
54603
|
+
},
|
|
54604
|
+
{
|
|
54605
|
+
"kind": "Reference",
|
|
54606
|
+
"text": "GrowOnlyValueSetComponentDefinition",
|
|
54607
|
+
"canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface"
|
|
54608
|
+
},
|
|
54609
|
+
{
|
|
54610
|
+
"kind": "Content",
|
|
54611
|
+
"text": "<T>, 'addValue'>"
|
|
54612
|
+
},
|
|
54613
|
+
{
|
|
54614
|
+
"kind": "Content",
|
|
54615
|
+
"text": ";"
|
|
54616
|
+
}
|
|
54617
|
+
],
|
|
54618
|
+
"fileUrlPath": "../ecs/dist/engine/component.d.ts",
|
|
54619
|
+
"releaseTag": "Public",
|
|
54620
|
+
"name": "ReadOnlyGrowOnlyValueSetComponentDefinition",
|
|
54621
|
+
"typeParameters": [
|
|
54622
|
+
{
|
|
54623
|
+
"typeParameterName": "T",
|
|
54624
|
+
"constraintTokenRange": {
|
|
54625
|
+
"startIndex": 0,
|
|
54626
|
+
"endIndex": 0
|
|
54627
|
+
},
|
|
54628
|
+
"defaultTypeTokenRange": {
|
|
54629
|
+
"startIndex": 0,
|
|
54630
|
+
"endIndex": 0
|
|
54631
|
+
}
|
|
54632
|
+
}
|
|
54633
|
+
],
|
|
54634
|
+
"typeTokenRange": {
|
|
54635
|
+
"startIndex": 1,
|
|
54636
|
+
"endIndex": 5
|
|
54637
|
+
}
|
|
54638
|
+
},
|
|
54639
|
+
{
|
|
54640
|
+
"kind": "TypeAlias",
|
|
54641
|
+
"canonicalReference": "@dcl/playground-assets!ReadOnlyLastWriteWinElementSetComponentDefinition:type",
|
|
54642
|
+
"docComment": "/**\n * @public\n */\n",
|
|
54643
|
+
"excerptTokens": [
|
|
54644
|
+
{
|
|
54645
|
+
"kind": "Content",
|
|
54646
|
+
"text": "export type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = "
|
|
54647
|
+
},
|
|
54648
|
+
{
|
|
54649
|
+
"kind": "Reference",
|
|
54650
|
+
"text": "Omit",
|
|
54651
|
+
"canonicalReference": "!Omit:type"
|
|
54652
|
+
},
|
|
54653
|
+
{
|
|
54654
|
+
"kind": "Content",
|
|
54655
|
+
"text": "<"
|
|
54656
|
+
},
|
|
54657
|
+
{
|
|
54658
|
+
"kind": "Reference",
|
|
54659
|
+
"text": "LastWriteWinElementSetComponentDefinition",
|
|
54660
|
+
"canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
|
|
54661
|
+
},
|
|
54662
|
+
{
|
|
54663
|
+
"kind": "Content",
|
|
54664
|
+
"text": "<T>, 'create' | 'createOrReplace' | 'deleteFrom' | 'getMutable' | 'getMutableOrNull' | 'getOrCreateMutable'>"
|
|
54665
|
+
},
|
|
54666
|
+
{
|
|
54667
|
+
"kind": "Content",
|
|
54668
|
+
"text": ";"
|
|
54669
|
+
}
|
|
54670
|
+
],
|
|
54671
|
+
"fileUrlPath": "../ecs/dist/engine/component.d.ts",
|
|
54672
|
+
"releaseTag": "Public",
|
|
54673
|
+
"name": "ReadOnlyLastWriteWinElementSetComponentDefinition",
|
|
54674
|
+
"typeParameters": [
|
|
54675
|
+
{
|
|
54676
|
+
"typeParameterName": "T",
|
|
54677
|
+
"constraintTokenRange": {
|
|
54678
|
+
"startIndex": 0,
|
|
54679
|
+
"endIndex": 0
|
|
54680
|
+
},
|
|
54681
|
+
"defaultTypeTokenRange": {
|
|
54682
|
+
"startIndex": 0,
|
|
54683
|
+
"endIndex": 0
|
|
54684
|
+
}
|
|
54685
|
+
}
|
|
54686
|
+
],
|
|
54687
|
+
"typeTokenRange": {
|
|
54688
|
+
"startIndex": 1,
|
|
54689
|
+
"endIndex": 5
|
|
54690
|
+
}
|
|
54691
|
+
},
|
|
54414
54692
|
{
|
|
54415
54693
|
"kind": "TypeAlias",
|
|
54416
54694
|
"canonicalReference": "@dcl/playground-assets!ReadonlyPrimitive:type",
|
|
@@ -57264,6 +57542,33 @@
|
|
|
57264
57542
|
"endIndex": 4
|
|
57265
57543
|
}
|
|
57266
57544
|
},
|
|
57545
|
+
{
|
|
57546
|
+
"kind": "Variable",
|
|
57547
|
+
"canonicalReference": "@dcl/playground-assets!SYSTEMS_REGULAR_PRIORITY:var",
|
|
57548
|
+
"docComment": "",
|
|
57549
|
+
"excerptTokens": [
|
|
57550
|
+
{
|
|
57551
|
+
"kind": "Content",
|
|
57552
|
+
"text": "SYSTEMS_REGULAR_PRIORITY = "
|
|
57553
|
+
},
|
|
57554
|
+
{
|
|
57555
|
+
"kind": "Content",
|
|
57556
|
+
"text": "100000"
|
|
57557
|
+
}
|
|
57558
|
+
],
|
|
57559
|
+
"fileUrlPath": "../ecs/dist/engine/systems.d.ts",
|
|
57560
|
+
"initializerTokenRange": {
|
|
57561
|
+
"startIndex": 1,
|
|
57562
|
+
"endIndex": 2
|
|
57563
|
+
},
|
|
57564
|
+
"isReadonly": true,
|
|
57565
|
+
"releaseTag": "Public",
|
|
57566
|
+
"name": "SYSTEMS_REGULAR_PRIORITY",
|
|
57567
|
+
"variableTypeTokenRange": {
|
|
57568
|
+
"startIndex": 0,
|
|
57569
|
+
"endIndex": 0
|
|
57570
|
+
}
|
|
57571
|
+
},
|
|
57267
57572
|
{
|
|
57268
57573
|
"kind": "TypeAlias",
|
|
57269
57574
|
"canonicalReference": "@dcl/playground-assets!TargetEntityRaycastOptions:type",
|
|
@@ -499,7 +499,7 @@ export namespace ComponentData {
|
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
// @public (undocumented)
|
|
502
|
-
export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T> | GrowOnlyValueSetComponentDefinition<T>;
|
|
502
|
+
export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T> | GrowOnlyValueSetComponentDefinition<T> | ReadOnlyGrowOnlyValueSetComponentDefinition<T> | ReadOnlyLastWriteWinElementSetComponentDefinition<T>;
|
|
503
503
|
|
|
504
504
|
// 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)
|
|
505
505
|
//
|
|
@@ -1015,9 +1015,13 @@ export interface IEngine {
|
|
|
1015
1015
|
getComponent<T>(componentId: number | string): ComponentDefinition<T>;
|
|
1016
1016
|
getComponentOrNull<T>(componentId: number | string): ComponentDefinition<T> | null;
|
|
1017
1017
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
1018
|
+
// @alpha
|
|
1019
|
+
getEntityOrNullByName(label: string): Entity | null;
|
|
1018
1020
|
getEntityState(entity: Entity): EntityState;
|
|
1019
1021
|
readonly PlayerEntity: Entity;
|
|
1020
1022
|
registerComponentDefinition<T>(componentName: string, componentDefinition: ComponentDefinition<T>): ComponentDefinition<T>;
|
|
1023
|
+
// (undocumented)
|
|
1024
|
+
removeComponentDefinition(componentId: number | string): void;
|
|
1021
1025
|
removeEntity(entity: Entity): void;
|
|
1022
1026
|
removeSystem(selector: string | SystemFn): boolean;
|
|
1023
1027
|
readonly RootEntity: Entity;
|
|
@@ -1640,6 +1644,24 @@ export class MessageBus {
|
|
|
1640
1644
|
on(message: string, callback: (value: any, sender: string) => void): Observer<IEvents['comms']>;
|
|
1641
1645
|
}
|
|
1642
1646
|
|
|
1647
|
+
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1648
|
+
//
|
|
1649
|
+
// @public (undocumented)
|
|
1650
|
+
export const Name: NameComponent;
|
|
1651
|
+
|
|
1652
|
+
// Warning: (ae-missing-release-tag) "NameComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1653
|
+
//
|
|
1654
|
+
// @public (undocumented)
|
|
1655
|
+
export type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
|
1656
|
+
|
|
1657
|
+
// Warning: (ae-missing-release-tag) "NameType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1658
|
+
//
|
|
1659
|
+
// @public (undocumented)
|
|
1660
|
+
export interface NameType {
|
|
1661
|
+
// (undocumented)
|
|
1662
|
+
value: string;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1643
1665
|
// @public (undocumented)
|
|
1644
1666
|
export const enum NftFrameType {
|
|
1645
1667
|
// (undocumented)
|
|
@@ -3153,6 +3175,12 @@ export type ReadonlyComponentSchema<T extends [ComponentDefinition<unknown>, ...
|
|
|
3153
3175
|
[K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
|
|
3154
3176
|
};
|
|
3155
3177
|
|
|
3178
|
+
// @public (undocumented)
|
|
3179
|
+
export type ReadOnlyGrowOnlyValueSetComponentDefinition<T> = Omit<GrowOnlyValueSetComponentDefinition<T>, 'addValue'>;
|
|
3180
|
+
|
|
3181
|
+
// @public (undocumented)
|
|
3182
|
+
export type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<LastWriteWinElementSetComponentDefinition<T>, 'create' | 'createOrReplace' | 'deleteFrom' | 'getMutable' | 'getMutableOrNull' | 'getOrCreateMutable'>;
|
|
3183
|
+
|
|
3156
3184
|
// @public (undocumented)
|
|
3157
3185
|
export type ReadonlyPrimitive = number | string | number[] | string[] | boolean | boolean[];
|
|
3158
3186
|
|
|
@@ -3294,6 +3322,11 @@ export type SystemItem = {
|
|
|
3294
3322
|
name?: string;
|
|
3295
3323
|
};
|
|
3296
3324
|
|
|
3325
|
+
// Warning: (ae-missing-release-tag) "SYSTEMS_REGULAR_PRIORITY" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
3326
|
+
//
|
|
3327
|
+
// @public (undocumented)
|
|
3328
|
+
export const SYSTEMS_REGULAR_PRIORITY = 100000;
|
|
3329
|
+
|
|
3297
3330
|
// Warning: (ae-missing-release-tag) "TargetEntityRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
3298
3331
|
//
|
|
3299
3332
|
// @public (undocumented)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.2.1-
|
|
4
|
+
"version": "7.2.1-5225991589.commit-830bc74",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.2.1-
|
|
8
|
-
"@dcl/sdk": "7.2.1-
|
|
7
|
+
"@dcl/js-runtime": "7.2.1-5225991589.commit-830bc74",
|
|
8
|
+
"@dcl/sdk": "7.2.1-5225991589.commit-830bc74"
|
|
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": "830bc74bd1fd3357c6e894bf624db4a1049be858"
|
|
36
36
|
}
|