@dcl/playground-assets 7.0.6-4177592674.commit-39cdc99 → 7.0.6-4180146485.commit-9a7dde9

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.
@@ -13,7 +13,7 @@ export type AlignType = 'auto' | 'flex-start' | 'center' | 'flex-end' | 'stretch
13
13
  export const Animator: AnimatorComponentDefinitionExtended;
14
14
 
15
15
  // @public (undocumented)
16
- export interface AnimatorComponentDefinitionExtended extends ComponentDefinition<PBAnimator> {
16
+ export interface AnimatorComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAnimator> {
17
17
  getClip(entity: Entity, name: string): PBAnimationState;
18
18
  getClipOrNull(entity: Entity, name: string): PBAnimationState | null;
19
19
  playSingleAnimation(entity: Entity, name: string, resetCursor?: boolean): boolean;
@@ -21,10 +21,24 @@ export interface AnimatorComponentDefinitionExtended extends ComponentDefinition
21
21
  }
22
22
 
23
23
  // @public (undocumented)
24
- export const AudioSource: ComponentDefinition<PBAudioSource>;
24
+ export type AppendValueMessage = CrdtMessageHeader & AppendValueMessageBody;
25
+
26
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
27
+ //
28
+ // @public
29
+ export type AppendValueMessageBody = {
30
+ type: CrdtMessageType.APPEND_VALUE;
31
+ entityId: Entity;
32
+ componentId: number;
33
+ timestamp: number;
34
+ data: Uint8Array;
35
+ };
36
+
37
+ // @public (undocumented)
38
+ export const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
25
39
 
26
40
  // @public (undocumented)
27
- export const AudioStream: ComponentDefinition<PBAudioStream>;
41
+ export const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
28
42
 
29
43
  // @public (undocumented)
30
44
  export const enum AvatarAnchorPointType {
@@ -39,10 +53,10 @@ export const enum AvatarAnchorPointType {
39
53
  }
40
54
 
41
55
  // @public (undocumented)
42
- export const AvatarAttach: ComponentDefinition<PBAvatarAttach>;
56
+ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAttach>;
43
57
 
44
58
  // @public (undocumented)
45
- export const AvatarModifierArea: ComponentDefinition<PBAvatarModifierArea>;
59
+ export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
46
60
 
47
61
  // @public (undocumented)
48
62
  export const enum AvatarModifierType {
@@ -53,7 +67,7 @@ export const enum AvatarModifierType {
53
67
  }
54
68
 
55
69
  // @public (undocumented)
56
- export const AvatarShape: ComponentDefinition<PBAvatarShape>;
70
+ export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
57
71
 
58
72
  // @public (undocumented)
59
73
  export interface AvatarTexture {
@@ -71,7 +85,24 @@ export const enum BackgroundTextureMode {
71
85
  }
72
86
 
73
87
  // @public (undocumented)
74
- export const Billboard: ComponentDefinition<PBBillboard>;
88
+ export interface BaseComponent<T> {
89
+ // (undocumented)
90
+ readonly componentId: number;
91
+ // (undocumented)
92
+ readonly componentName: string;
93
+ // (undocumented)
94
+ readonly componentType: ComponentType;
95
+ entityDeleted(entity: Entity, markAsDirty: boolean): void;
96
+ get(entity: Entity): any;
97
+ getCrdtUpdates(): Iterable<CrdtMessageBody>;
98
+ has(entity: Entity): boolean;
99
+ // (undocumented)
100
+ readonly schema: ISchema<T>;
101
+ updateFromCrdt(body: CrdtMessageBody): [null | ConflictResolutionMessage, T | undefined];
102
+ }
103
+
104
+ // @public (undocumented)
105
+ export const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
75
106
 
76
107
  // @public (undocumented)
77
108
  export const enum BillboardMode {
@@ -215,10 +246,10 @@ export interface ByteBuffer {
215
246
  export type Callback = () => void;
216
247
 
217
248
  // @public (undocumented)
218
- export const CameraMode: ComponentDefinition<PBCameraMode>;
249
+ export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
219
250
 
220
251
  // @public (undocumented)
221
- export const CameraModeArea: ComponentDefinition<PBCameraModeArea>;
252
+ export const CameraModeArea: LastWriteWinElementSetComponentDefinition<PBCameraModeArea>;
222
253
 
223
254
  // @public (undocumented)
224
255
  export const enum CameraType {
@@ -393,43 +424,27 @@ export type Color4Type = {
393
424
  };
394
425
 
395
426
  // @public (undocumented)
396
- export interface ComponentDefinition<T> {
427
+ export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T> | GrowOnlyValueSetComponentDefinition<T>;
428
+
429
+ // @public
430
+ export const enum ComponentType {
397
431
  // (undocumented)
398
- readonly componentId: number;
432
+ GrowOnlyValueSet = 1,
399
433
  // (undocumented)
400
- readonly componentName: string;
401
- create(entity: Entity, val?: T): T;
402
- createOrReplace(entity: Entity, val?: T): T;
403
- default(): DeepReadonly<T>;
404
- deleteFrom(entity: Entity): T | null;
405
- entityDeleted(entity: Entity, markAsDirty: boolean): void;
406
- get(entity: Entity): DeepReadonly<T>;
407
- getCrdtUpdates(): Iterable<CrdtMessageBody>;
408
- getMutable(entity: Entity): T;
409
- getMutableOrNull(entity: Entity): T | null;
410
- getOrNull(entity: Entity): DeepReadonly<T> | null;
411
- has(entity: Entity): boolean;
412
- updateFromCrdt(body: CrdtMessageBody): [null | PutComponentMessageBody | DeleteComponentMessageBody, T | null];
434
+ LastWriteWinElementSet = 0
413
435
  }
414
436
 
415
- // Warning: (ae-missing-release-tag) "ComponentGetter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
416
- //
417
- // @public (undocumented)
418
- export type ComponentGetter<T extends ComponentDefinition<any>> = (engine: Pick<IEngine, 'defineComponentFromSchema'>) => T;
419
-
420
- // @public (undocumented)
421
- export type ComponentSchema<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]> = {
422
- [K in keyof T]: T[K] extends ComponentDefinition<any> ? ReturnType<T[K]['getMutable']> : never;
423
- };
437
+ // @public
438
+ export type ConflictResolutionMessage = PutComponentMessageBody | DeleteComponentMessageBody;
424
439
 
425
440
  // @public (undocumented)
426
441
  export const CRDT_MESSAGE_HEADER_LENGTH = 8;
427
442
 
428
443
  // @public (undocumented)
429
- export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | DeleteEntityMessage;
444
+ export type CrdtMessage = PutComponentMessage | DeleteComponentMessage | DeleteEntityMessage | AppendValueMessage;
430
445
 
431
446
  // @public (undocumented)
432
- export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody;
447
+ export type CrdtMessageBody = PutComponentMessageBody | DeleteComponentMessageBody | DeleteEntityMessageBody | AppendValueMessageBody;
433
448
 
434
449
  // @public
435
450
  export type CrdtMessageHeader = {
@@ -439,12 +454,14 @@ export type CrdtMessageHeader = {
439
454
 
440
455
  // @public (undocumented)
441
456
  export enum CrdtMessageType {
457
+ // (undocumented)
458
+ APPEND_VALUE = 4,
442
459
  // (undocumented)
443
460
  DELETE_COMPONENT = 2,
444
461
  // (undocumented)
445
462
  DELETE_ENTITY = 3,
446
463
  // (undocumented)
447
- MAX_MESSAGE_TYPE = 4,
464
+ MAX_MESSAGE_TYPE = 5,
448
465
  // (undocumented)
449
466
  PUT_COMPONENT = 1,
450
467
  // (undocumented)
@@ -459,16 +476,6 @@ export function createEthereumProvider(): {
459
476
  sendAsync(message: RPCSendableMessage, callback: (error: Error | null, result?: any) => void): void;
460
477
  };
461
478
 
462
- // Warning: (ae-missing-release-tag) "createGetCrdtMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
463
- //
464
- // @public (undocumented)
465
- export function createGetCrdtMessages(componentId: number, timestamps: Map<Entity, number>, dirtyIterator: Set<Entity>, schema: Pick<ISchema<any>, 'serialize'>, data: Map<Entity, unknown>): () => Generator<PutComponentMessageBody | DeleteComponentMessageBody, void, unknown>;
466
-
467
- // Warning: (ae-missing-release-tag) "createUpdateFromCrdt" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
468
- //
469
- // @public (undocumented)
470
- export function createUpdateFromCrdt(componentId: number, timestamps: Map<Entity, number>, schema: Pick<ISchema<any>, 'serialize' | 'deserialize'>, data: Map<Entity, unknown>): (msg: CrdtMessageBody) => [null | PutComponentMessageBody | DeleteComponentMessageBody, any];
471
-
472
479
  // Warning: (tsdoc-code-fence-closing-syntax) Unexpected characters after closing delimiter for code fence
473
480
  // Warning: (tsdoc-code-span-missing-delimiter) The code span is missing its closing backtick
474
481
  // Warning: (tsdoc-undefined-tag) The TSDoc tag "@params" is not defined in this configuration
@@ -477,10 +484,10 @@ export function createUpdateFromCrdt(componentId: number, timestamps: Map<Entity
477
484
  export function cyclicParentingChecker(engine: IEngine): () => void;
478
485
 
479
486
  // @public (undocumented)
480
- export type DeepReadonly<T> = T extends ReadonlyPrimitive ? T : T extends Map<infer K, infer V> ? DeepReadonlyMap<K, V> : T extends Set<infer M> ? DeepReadonlySet<M> : DeepReadonlyObject<T>;
487
+ export type DeepReadonly<T> = T extends ReadonlyPrimitive ? T : T extends Array<infer K> ? ReadonlyArray<DeepReadonly<K>> : T extends Map<infer K, infer V> ? DeepReadonlyMap<K, V> : T extends Set<infer M> ? DeepReadonlySet<M> : DeepReadonlyObject<T>;
481
488
 
482
489
  // @public (undocumented)
483
- export type DeepReadonlyMap<K, V> = ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>>;
490
+ export type DeepReadonlyMap<K, V> = ReadonlyMap<K, DeepReadonly<V>>;
484
491
 
485
492
  // @public (undocumented)
486
493
  export type DeepReadonlyObject<T> = {
@@ -615,7 +622,7 @@ export enum EntityState {
615
622
  export const Epsilon = 0.000001;
616
623
 
617
624
  // @public (undocumented)
618
- export type EventSystemCallback = (event: PBPointerEventsResult_PointerCommand) => void;
625
+ export type EventSystemCallback = (event: PBPointerEventsResult) => void;
619
626
 
620
627
  // @public (undocumented)
621
628
  export type EventSystemOptions = {
@@ -682,7 +689,20 @@ export type GlobalInputEventResult = InputEventResult & {
682
689
  };
683
690
 
684
691
  // @public (undocumented)
685
- export const GltfContainer: ComponentDefinition<PBGltfContainer>;
692
+ export const GltfContainer: LastWriteWinElementSetComponentDefinition<PBGltfContainer>;
693
+
694
+ // @public (undocumented)
695
+ export interface GrowOnlyValueSetComponentDefinition<T> extends BaseComponent<T> {
696
+ addValue(entity: Entity, val: DeepReadonly<T>): DeepReadonlySet<T>;
697
+ // (undocumented)
698
+ readonly componentType: ComponentType.GrowOnlyValueSet;
699
+ get(entity: Entity): DeepReadonlySet<T>;
700
+ }
701
+
702
+ // Warning: (ae-missing-release-tag) "GSetComponentGetter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
703
+ //
704
+ // @public (undocumented)
705
+ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
686
706
 
687
707
  // @public (undocumented)
688
708
  export interface IEngine {
@@ -693,7 +713,8 @@ export interface IEngine {
693
713
  readonly CameraEntity: Entity;
694
714
  componentsIter(): Iterable<ComponentDefinition<unknown>>;
695
715
  defineComponent<T extends Spec>(componentName: string, spec: T, constructorDefault?: Partial<MapResult<T>>): MapComponentDefinition<MapResult<T>>;
696
- defineComponentFromSchema<T>(componentName: string, spec: ISchema<T>): ComponentDefinition<T>;
716
+ defineComponentFromSchema<T>(componentName: string, spec: ISchema<T>): LastWriteWinElementSetComponentDefinition<T>;
717
+ defineValueSetComponentFromSchema<T>(componentName: string, spec: ISchema<T>, options: ValueSetOptions<T>): GrowOnlyValueSetComponentDefinition<T>;
697
718
  getComponent<T>(componentId: number): ComponentDefinition<T>;
698
719
  getComponentOrNull<T>(componentId: number): ComponentDefinition<T> | null;
699
720
  getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
@@ -894,9 +915,9 @@ export interface IEvents {
894
915
 
895
916
  // @public (undocumented)
896
917
  export type IInputSystem = {
897
- isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => boolean;
918
+ isTriggered: (inputAction: InputAction, pointerEventType: PointerEventType, entity: Entity) => boolean;
898
919
  isPressed: (inputAction: InputAction) => boolean;
899
- getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity?: Entity) => PBPointerEventsResult_PointerCommand | null;
920
+ getInputCommand: (inputAction: InputAction, pointerEventType: PointerEventType, entity: Entity) => PBPointerEventsResult | null;
900
921
  };
901
922
 
902
923
  // @public
@@ -904,11 +925,6 @@ export type IncludeUndefined<T> = {
904
925
  [P in keyof T]: undefined extends T[P] ? P : never;
905
926
  }[keyof T];
906
927
 
907
- // Warning: (ae-missing-release-tag) "incrementTimestamp" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
908
- //
909
- // @public (undocumented)
910
- export function incrementTimestamp(entity: Entity, timestamps: Map<Entity, number>): number;
911
-
912
928
  // Warning: (tsdoc-html-tag-missing-string) The HTML element has an invalid attribute: Expecting an HTML string starting with a single-quote or double-quote character
913
929
  // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
914
930
  // Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
@@ -988,9 +1004,9 @@ export interface ISchema<T = any> {
988
1004
  // (undocumented)
989
1005
  deserialize(reader: ByteBuffer): T;
990
1006
  // (undocumented)
991
- extend?: (base?: T) => T;
1007
+ extend?: (base: Partial<DeepReadonly<T>> | undefined) => T;
992
1008
  // (undocumented)
993
- serialize(value: T, builder: ByteBuffer): void;
1009
+ serialize(value: DeepReadonly<T>, builder: ByteBuffer): void;
994
1010
  }
995
1011
 
996
1012
  // Warning: (tsdoc-undefined-tag) The TSDoc tag "@hidden" is not defined in this configuration
@@ -1026,14 +1042,32 @@ export type Key = number | string;
1026
1042
  // @public
1027
1043
  export function Label(props: EntityPropTypes & UiLabelProps): ReactEcs.JSX.Element;
1028
1044
 
1045
+ // @public (undocumented)
1046
+ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseComponent<T> {
1047
+ // (undocumented)
1048
+ readonly componentType: ComponentType.LastWriteWinElementSet;
1049
+ create(entity: Entity, val?: T): T;
1050
+ createOrReplace(entity: Entity, val?: T): T;
1051
+ deleteFrom(entity: Entity): T | null;
1052
+ get(entity: Entity): DeepReadonly<T>;
1053
+ getMutable(entity: Entity): T;
1054
+ getMutableOrNull(entity: Entity): T | null;
1055
+ getOrNull(entity: Entity): DeepReadonly<T> | null;
1056
+ }
1057
+
1029
1058
  // @public
1030
1059
  export type Listeners = {
1031
1060
  onMouseDown?: Callback;
1032
1061
  onMouseUp?: Callback;
1033
1062
  };
1034
1063
 
1064
+ // Warning: (ae-missing-release-tag) "LwwComponentGetter" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1065
+ //
1066
+ // @public (undocumented)
1067
+ export type LwwComponentGetter<T extends LastWriteWinElementSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineComponentFromSchema'>) => T;
1068
+
1035
1069
  // @public
1036
- export interface MapComponentDefinition<T> extends ComponentDefinition<T> {
1070
+ export interface MapComponentDefinition<T> extends LastWriteWinElementSetComponentDefinition<T> {
1037
1071
  create(entity: Entity, val?: Partial<T>): T;
1038
1072
  createOrReplace(entity: Entity, val?: Partial<T>): T;
1039
1073
  }
@@ -1049,7 +1083,7 @@ export type MapResult<T extends Spec> = ToOptional<{
1049
1083
  export const Material: MaterialComponentDefinitionExtended;
1050
1084
 
1051
1085
  // @public (undocumented)
1052
- export interface MaterialComponentDefinitionExtended extends ComponentDefinition<PBMaterial> {
1086
+ export interface MaterialComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMaterial> {
1053
1087
  setBasicMaterial: (entity: Entity, material: PBMaterial_UnlitMaterial) => void;
1054
1088
  setPbrMaterial: (entity: Entity, material: PBMaterial_PbrMaterial) => void;
1055
1089
  Texture: TextureHelper;
@@ -1212,7 +1246,7 @@ export namespace Matrix {
1212
1246
  export const MeshCollider: MeshColliderComponentDefinitionExtended;
1213
1247
 
1214
1248
  // @public (undocumented)
1215
- export interface MeshColliderComponentDefinitionExtended extends ComponentDefinition<PBMeshCollider> {
1249
+ export interface MeshColliderComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshCollider> {
1216
1250
  setBox(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1217
1251
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
1218
1252
  setPlane(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
@@ -1225,7 +1259,7 @@ export interface MeshColliderComponentDefinitionExtended extends ComponentDefini
1225
1259
  export const MeshRenderer: MeshRendererComponentDefinitionExtended;
1226
1260
 
1227
1261
  // @public (undocumented)
1228
- export interface MeshRendererComponentDefinitionExtended extends ComponentDefinition<PBMeshRenderer> {
1262
+ export interface MeshRendererComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBMeshRenderer> {
1229
1263
  setBox(entity: Entity, uvs?: number[]): void;
1230
1264
  setCylinder(entity: Entity, radiusBottom?: number, radiusTop?: number): void;
1231
1265
  setPlane(entity: Entity, uvs?: number[]): void;
@@ -1294,7 +1328,7 @@ export const enum NftFrameType {
1294
1328
  }
1295
1329
 
1296
1330
  // @public (undocumented)
1297
- export const NftShape: ComponentDefinition<PBNftShape>;
1331
+ export const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
1298
1332
 
1299
1333
  // Warning: (ae-missing-release-tag) "Observable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1300
1334
  //
@@ -1362,7 +1396,7 @@ export class ObserverEventState {
1362
1396
  }
1363
1397
 
1364
1398
  // @public (undocumented)
1365
- export type OnChangeFunction = (entity: Entity, operation: CrdtMessageType, component?: ComponentDefinition<any>) => void;
1399
+ export type OnChangeFunction = (entity: Entity, operation: CrdtMessageType, component?: ComponentDefinition<any>, componentValue?: any) => void;
1366
1400
 
1367
1401
  // Warning: (ae-missing-release-tag) "onCommsMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1368
1402
  //
@@ -1757,11 +1791,6 @@ export interface PBPointerEvents_Info {
1757
1791
 
1758
1792
  // @public (undocumented)
1759
1793
  export interface PBPointerEventsResult {
1760
- commands: PBPointerEventsResult_PointerCommand[];
1761
- }
1762
-
1763
- // @public (undocumented)
1764
- export interface PBPointerEventsResult_PointerCommand {
1765
1794
  analog?: number | undefined;
1766
1795
  button: InputAction;
1767
1796
  // (undocumented)
@@ -2054,10 +2083,10 @@ export namespace Plane {
2054
2083
  }
2055
2084
 
2056
2085
  // @public (undocumented)
2057
- export const PointerEvents: ComponentDefinition<PBPointerEvents>;
2086
+ export const PointerEvents: LastWriteWinElementSetComponentDefinition<PBPointerEvents>;
2058
2087
 
2059
2088
  // @public (undocumented)
2060
- export const PointerEventsResult: ComponentDefinition<PBPointerEventsResult>;
2089
+ export const PointerEventsResult: GrowOnlyValueSetComponentDefinition<PBPointerEventsResult>;
2061
2090
 
2062
2091
  // @public (undocumented)
2063
2092
  export interface PointerEventsSystem {
@@ -2083,7 +2112,7 @@ export const enum PointerEventType {
2083
2112
  }
2084
2113
 
2085
2114
  // @public (undocumented)
2086
- export const PointerLock: ComponentDefinition<PBPointerLock>;
2115
+ export const PointerLock: LastWriteWinElementSetComponentDefinition<PBPointerLock>;
2087
2116
 
2088
2117
  // @public
2089
2118
  export interface Position {
@@ -2210,7 +2239,7 @@ export type QuaternionType = {
2210
2239
  export const RAD2DEG: number;
2211
2240
 
2212
2241
  // @public (undocumented)
2213
- export const Raycast: ComponentDefinition<PBRaycast>;
2242
+ export const Raycast: LastWriteWinElementSetComponentDefinition<PBRaycast>;
2214
2243
 
2215
2244
  // @public (undocumented)
2216
2245
  export interface RaycastHit {
@@ -2248,7 +2277,7 @@ export type RaycastResponsePayload<T> = {
2248
2277
  };
2249
2278
 
2250
2279
  // @public (undocumented)
2251
- export const RaycastResult: ComponentDefinition<PBRaycastResult>;
2280
+ export const RaycastResult: LastWriteWinElementSetComponentDefinition<PBRaycastResult>;
2252
2281
 
2253
2282
  // @public (undocumented)
2254
2283
  export interface ReactBasedUiSystem {
@@ -2422,7 +2451,7 @@ export const enum TextAlignMode {
2422
2451
  export type TextAlignType = 'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'middle-center' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
2423
2452
 
2424
2453
  // @public (undocumented)
2425
- export const TextShape: ComponentDefinition<PBTextShape>;
2454
+ export const TextShape: LastWriteWinElementSetComponentDefinition<PBTextShape>;
2426
2455
 
2427
2456
  // @public (undocumented)
2428
2457
  export interface Texture {
@@ -2503,7 +2532,7 @@ export type ToOptional<T> = OnlyOptionalUndefinedTypes<T> & OnlyNonUndefinedType
2503
2532
  export const Transform: TransformComponentExtended;
2504
2533
 
2505
2534
  // @public (undocumented)
2506
- export type TransformComponent = ComponentDefinition<TransformType>;
2535
+ export type TransformComponent = LastWriteWinElementSetComponentDefinition<TransformType>;
2507
2536
 
2508
2537
  // @public (undocumented)
2509
2538
  export interface TransformComponentExtended extends TransformComponent {
@@ -2558,7 +2587,7 @@ export interface UiAvatarTexture {
2558
2587
  }
2559
2588
 
2560
2589
  // @public (undocumented)
2561
- export const UiBackground: ComponentDefinition<PBUiBackground>;
2590
+ export const UiBackground: LastWriteWinElementSetComponentDefinition<PBUiBackground>;
2562
2591
 
2563
2592
  // @public
2564
2593
  export interface UiBackgroundProps {
@@ -2580,7 +2609,7 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
2580
2609
  export type UiComponent = () => ReactEcs.JSX.Element;
2581
2610
 
2582
2611
  // @public (undocumented)
2583
- export const UiDropdown: ComponentDefinition<PBUiDropdown>;
2612
+ export const UiDropdown: LastWriteWinElementSetComponentDefinition<PBUiDropdown>;
2584
2613
 
2585
2614
  // @public
2586
2615
  export interface UiDropdownProps extends EntityPropTypes, Omit<Partial<PBUiDropdown>, 'textAlign' | 'font'> {
@@ -2593,7 +2622,7 @@ export interface UiDropdownProps extends EntityPropTypes, Omit<Partial<PBUiDropd
2593
2622
  }
2594
2623
 
2595
2624
  // @public (undocumented)
2596
- export const UiDropdownResult: ComponentDefinition<PBUiDropdownResult>;
2625
+ export const UiDropdownResult: LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>;
2597
2626
 
2598
2627
  // Warning: (tsdoc-undefined-tag) The TSDoc tag "@category" is not defined in this configuration
2599
2628
  //
@@ -2606,7 +2635,7 @@ export function UiEntity(props: EntityPropTypes & {
2606
2635
  export type UiFontType = 'sans-serif' | 'serif' | 'monospace';
2607
2636
 
2608
2637
  // @public (undocumented)
2609
- export const UiInput: ComponentDefinition<PBUiInput>;
2638
+ export const UiInput: LastWriteWinElementSetComponentDefinition<PBUiInput>;
2610
2639
 
2611
2640
  // @public (undocumented)
2612
2641
  export interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign'> {
@@ -2618,7 +2647,7 @@ export interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign'> {
2618
2647
  }
2619
2648
 
2620
2649
  // @public (undocumented)
2621
- export const UiInputResult: ComponentDefinition<PBUiInputResult>;
2650
+ export const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
2622
2651
 
2623
2652
  // @public
2624
2653
  export interface UiLabelProps {
@@ -2633,7 +2662,7 @@ export interface UiLabelProps {
2633
2662
  export type uint32 = number;
2634
2663
 
2635
2664
  // @public (undocumented)
2636
- export const UiText: ComponentDefinition<PBUiText>;
2665
+ export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
2637
2666
 
2638
2667
  // @public
2639
2668
  export type UiTexture = {
@@ -2643,7 +2672,7 @@ export type UiTexture = {
2643
2672
  };
2644
2673
 
2645
2674
  // @public (undocumented)
2646
- export const UiTransform: ComponentDefinition<PBUiTransform>;
2675
+ export const UiTransform: LastWriteWinElementSetComponentDefinition<PBUiTransform>;
2647
2676
 
2648
2677
  // @public
2649
2678
  export interface UiTransformProps {
@@ -2674,6 +2703,12 @@ export interface UiTransformProps {
2674
2703
  // @public (undocumented)
2675
2704
  export type Unpacked<T> = T extends (infer U)[] ? U : T;
2676
2705
 
2706
+ // @public (undocumented)
2707
+ export type ValueSetOptions<T> = {
2708
+ timestampFunction: (value: DeepReadonly<T>) => number;
2709
+ maxElements: number;
2710
+ };
2711
+
2677
2712
  // @public
2678
2713
  export type Vector3 = Vector3.ReadonlyVector3;
2679
2714
 
@@ -2778,7 +2813,7 @@ export type Vector3Type = {
2778
2813
  };
2779
2814
 
2780
2815
  // @public (undocumented)
2781
- export const VideoPlayer: ComponentDefinition<PBVideoPlayer>;
2816
+ export const VideoPlayer: LastWriteWinElementSetComponentDefinition<PBVideoPlayer>;
2782
2817
 
2783
2818
  // @public (undocumented)
2784
2819
  export interface VideoTexture {
@@ -2789,7 +2824,7 @@ export interface VideoTexture {
2789
2824
  }
2790
2825
 
2791
2826
  // @public (undocumented)
2792
- export const VisibilityComponent: ComponentDefinition<PBVisibilityComponent>;
2827
+ export const VisibilityComponent: LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>;
2793
2828
 
2794
2829
  // @public (undocumented)
2795
2830
  export const enum YGAlign {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-4177592674.commit-39cdc99",
3
+ "version": "7.0.6-4180146485.commit-9a7dde9",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "author": "Decentraland",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcl/sdk": "7.0.6-4177592674.commit-39cdc99"
20
+ "@dcl/sdk": "7.0.6-4180146485.commit-9a7dde9"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "39cdc99ea857c63f707ec9188836116d838fa10e"
27
+ "commit": "9a7dde903f381c1778ec3c7519e4f312ab9b2ee3"
28
28
  }