@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
package/dist/alpha.d.ts
CHANGED
|
@@ -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 = {
|
package/dist/beta.d.ts
CHANGED
|
@@ -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,17 @@ export declare interface IEngine {
|
|
|
1938
1938
|
* ```
|
|
1939
1939
|
*/
|
|
1940
1940
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
1941
|
+
/* Excluded from this release type: getEntityOrNullByName */
|
|
1941
1942
|
/**
|
|
1942
1943
|
* @public
|
|
1943
1944
|
* @param deltaTime - deltaTime in seconds
|
|
1944
1945
|
*/
|
|
1945
1946
|
update(deltaTime: number): Promise<void>;
|
|
1947
|
+
/**
|
|
1948
|
+
* @public
|
|
1949
|
+
* @param componentId - component number or name
|
|
1950
|
+
*/
|
|
1951
|
+
removeComponentDefinition(componentId: number | string): void;
|
|
1946
1952
|
/**
|
|
1947
1953
|
* @public
|
|
1948
1954
|
* Refer to the root of the scene, all Transforms without a parent are parenting with RootEntity.
|
|
@@ -3269,6 +3275,14 @@ export declare class MessageBus {
|
|
|
3269
3275
|
private flush;
|
|
3270
3276
|
}
|
|
3271
3277
|
|
|
3278
|
+
export declare const Name: NameComponent;
|
|
3279
|
+
|
|
3280
|
+
export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
|
3281
|
+
|
|
3282
|
+
export declare interface NameType {
|
|
3283
|
+
value: string;
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3272
3286
|
/** NftFrameType is a predefined framing style for the image. */
|
|
3273
3287
|
/**
|
|
3274
3288
|
* @public
|
|
@@ -5606,6 +5620,16 @@ export declare type ReadonlyComponentSchema<T extends [ComponentDefinition<unkno
|
|
|
5606
5620
|
[K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
|
|
5607
5621
|
};
|
|
5608
5622
|
|
|
5623
|
+
/**
|
|
5624
|
+
* @public
|
|
5625
|
+
*/
|
|
5626
|
+
export declare type ReadOnlyGrowOnlyValueSetComponentDefinition<T> = Omit<GrowOnlyValueSetComponentDefinition<T>, 'addValue'>;
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* @public
|
|
5630
|
+
*/
|
|
5631
|
+
export declare type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<LastWriteWinElementSetComponentDefinition<T>, 'create' | 'createOrReplace' | 'deleteFrom' | 'getMutable' | 'getMutableOrNull' | 'getOrCreateMutable'>;
|
|
5632
|
+
|
|
5609
5633
|
/**
|
|
5610
5634
|
* @public
|
|
5611
5635
|
*/
|
|
@@ -5937,6 +5961,8 @@ export declare type SystemItem = {
|
|
|
5937
5961
|
name?: string;
|
|
5938
5962
|
};
|
|
5939
5963
|
|
|
5964
|
+
export declare const SYSTEMS_REGULAR_PRIORITY = 100000;
|
|
5965
|
+
|
|
5940
5966
|
export declare type TargetEntityRaycastOptions = RaycastSystemOptions & TargetEntityRaycastSystemOptions;
|
|
5941
5967
|
|
|
5942
5968
|
export declare type TargetEntityRaycastSystemOptions = {
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -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,17 @@ export declare interface IEngine {
|
|
|
1938
1938
|
* ```
|
|
1939
1939
|
*/
|
|
1940
1940
|
getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
|
|
1941
|
+
/* Excluded from this release type: getEntityOrNullByName */
|
|
1941
1942
|
/**
|
|
1942
1943
|
* @public
|
|
1943
1944
|
* @param deltaTime - deltaTime in seconds
|
|
1944
1945
|
*/
|
|
1945
1946
|
update(deltaTime: number): Promise<void>;
|
|
1947
|
+
/**
|
|
1948
|
+
* @public
|
|
1949
|
+
* @param componentId - component number or name
|
|
1950
|
+
*/
|
|
1951
|
+
removeComponentDefinition(componentId: number | string): void;
|
|
1946
1952
|
/**
|
|
1947
1953
|
* @public
|
|
1948
1954
|
* Refer to the root of the scene, all Transforms without a parent are parenting with RootEntity.
|
|
@@ -3269,6 +3275,14 @@ export declare class MessageBus {
|
|
|
3269
3275
|
private flush;
|
|
3270
3276
|
}
|
|
3271
3277
|
|
|
3278
|
+
export declare const Name: NameComponent;
|
|
3279
|
+
|
|
3280
|
+
export declare type NameComponent = LastWriteWinElementSetComponentDefinition<NameType>;
|
|
3281
|
+
|
|
3282
|
+
export declare interface NameType {
|
|
3283
|
+
value: string;
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3272
3286
|
/** NftFrameType is a predefined framing style for the image. */
|
|
3273
3287
|
/**
|
|
3274
3288
|
* @public
|
|
@@ -5606,6 +5620,16 @@ export declare type ReadonlyComponentSchema<T extends [ComponentDefinition<unkno
|
|
|
5606
5620
|
[K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
|
|
5607
5621
|
};
|
|
5608
5622
|
|
|
5623
|
+
/**
|
|
5624
|
+
* @public
|
|
5625
|
+
*/
|
|
5626
|
+
export declare type ReadOnlyGrowOnlyValueSetComponentDefinition<T> = Omit<GrowOnlyValueSetComponentDefinition<T>, 'addValue'>;
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* @public
|
|
5630
|
+
*/
|
|
5631
|
+
export declare type ReadOnlyLastWriteWinElementSetComponentDefinition<T> = Omit<LastWriteWinElementSetComponentDefinition<T>, 'create' | 'createOrReplace' | 'deleteFrom' | 'getMutable' | 'getMutableOrNull' | 'getOrCreateMutable'>;
|
|
5632
|
+
|
|
5609
5633
|
/**
|
|
5610
5634
|
* @public
|
|
5611
5635
|
*/
|
|
@@ -5937,6 +5961,8 @@ export declare type SystemItem = {
|
|
|
5937
5961
|
name?: string;
|
|
5938
5962
|
};
|
|
5939
5963
|
|
|
5964
|
+
export declare const SYSTEMS_REGULAR_PRIORITY = 100000;
|
|
5965
|
+
|
|
5940
5966
|
export declare type TargetEntityRaycastOptions = RaycastSystemOptions & TargetEntityRaycastSystemOptions;
|
|
5941
5967
|
|
|
5942
5968
|
export declare type TargetEntityRaycastSystemOptions = {
|