@dcl/playground-assets 7.0.6-4138167187.commit-c9d306a → 7.0.6-4177592674.commit-39cdc99

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.
@@ -9442,6 +9442,68 @@
9442
9442
  ],
9443
9443
  "name": "deleteFrom"
9444
9444
  },
9445
+ {
9446
+ "kind": "MethodSignature",
9447
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition#entityDeleted:member(1)",
9448
+ "docComment": "/**\n * Marks the entity as deleted and signals it cannot be used ever again. It must clear the component internal state, produces a synchronization message to remove the component from the entity.\n *\n * @param entity - Entity to delete the component from\n *\n * @public\n */\n",
9449
+ "excerptTokens": [
9450
+ {
9451
+ "kind": "Content",
9452
+ "text": "entityDeleted(entity: "
9453
+ },
9454
+ {
9455
+ "kind": "Reference",
9456
+ "text": "Entity",
9457
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
9458
+ },
9459
+ {
9460
+ "kind": "Content",
9461
+ "text": ", markAsDirty: "
9462
+ },
9463
+ {
9464
+ "kind": "Content",
9465
+ "text": "boolean"
9466
+ },
9467
+ {
9468
+ "kind": "Content",
9469
+ "text": "): "
9470
+ },
9471
+ {
9472
+ "kind": "Content",
9473
+ "text": "void"
9474
+ },
9475
+ {
9476
+ "kind": "Content",
9477
+ "text": ";"
9478
+ }
9479
+ ],
9480
+ "isOptional": false,
9481
+ "returnTypeTokenRange": {
9482
+ "startIndex": 5,
9483
+ "endIndex": 6
9484
+ },
9485
+ "releaseTag": "Public",
9486
+ "overloadIndex": 1,
9487
+ "parameters": [
9488
+ {
9489
+ "parameterName": "entity",
9490
+ "parameterTypeTokenRange": {
9491
+ "startIndex": 1,
9492
+ "endIndex": 2
9493
+ },
9494
+ "isOptional": false
9495
+ },
9496
+ {
9497
+ "parameterName": "markAsDirty",
9498
+ "parameterTypeTokenRange": {
9499
+ "startIndex": 3,
9500
+ "endIndex": 4
9501
+ },
9502
+ "isOptional": false
9503
+ }
9504
+ ],
9505
+ "name": "entityDeleted"
9506
+ },
9445
9507
  {
9446
9508
  "kind": "MethodSignature",
9447
9509
  "canonicalReference": "@dcl/playground-assets!ComponentDefinition#get:member(1)",
@@ -9493,6 +9555,48 @@
9493
9555
  ],
9494
9556
  "name": "get"
9495
9557
  },
9558
+ {
9559
+ "kind": "MethodSignature",
9560
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition#getCrdtUpdates:member(1)",
9561
+ "docComment": "/**\n * This function returns an iterable with all the CRDT updates that need to be broadcasted to other actors in the system. After returning, this function clears the internal dirty state. Updates are produced only once.\n *\n * @public\n */\n",
9562
+ "excerptTokens": [
9563
+ {
9564
+ "kind": "Content",
9565
+ "text": "getCrdtUpdates(): "
9566
+ },
9567
+ {
9568
+ "kind": "Reference",
9569
+ "text": "Iterable",
9570
+ "canonicalReference": "!Iterable:interface"
9571
+ },
9572
+ {
9573
+ "kind": "Content",
9574
+ "text": "<"
9575
+ },
9576
+ {
9577
+ "kind": "Reference",
9578
+ "text": "CrdtMessageBody",
9579
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
9580
+ },
9581
+ {
9582
+ "kind": "Content",
9583
+ "text": ">"
9584
+ },
9585
+ {
9586
+ "kind": "Content",
9587
+ "text": ";"
9588
+ }
9589
+ ],
9590
+ "isOptional": false,
9591
+ "returnTypeTokenRange": {
9592
+ "startIndex": 1,
9593
+ "endIndex": 5
9594
+ },
9595
+ "releaseTag": "Public",
9596
+ "overloadIndex": 1,
9597
+ "parameters": [],
9598
+ "name": "getCrdtUpdates"
9599
+ },
9496
9600
  {
9497
9601
  "kind": "MethodSignature",
9498
9602
  "canonicalReference": "@dcl/playground-assets!ComponentDefinition#getMutable:member(1)",
@@ -9684,34 +9788,43 @@
9684
9788
  },
9685
9789
  {
9686
9790
  "kind": "MethodSignature",
9687
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#writeToByteBuffer:member(1)",
9688
- "docComment": "",
9791
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition#updateFromCrdt:member(1)",
9792
+ "docComment": "/**\n * This function receives a CRDT update and returns a touple with a \"conflict resoluton\" message, in case of the sender being updated or null in case of noop/accepted change. The second element of the touple is the modified/changed/deleted value.\n *\n * @public\n */\n",
9689
9793
  "excerptTokens": [
9690
9794
  {
9691
9795
  "kind": "Content",
9692
- "text": "writeToByteBuffer(entity: "
9796
+ "text": "updateFromCrdt(body: "
9693
9797
  },
9694
9798
  {
9695
9799
  "kind": "Reference",
9696
- "text": "Entity",
9697
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9800
+ "text": "CrdtMessageBody",
9801
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
9802
+ },
9803
+ {
9804
+ "kind": "Content",
9805
+ "text": "): "
9698
9806
  },
9699
9807
  {
9700
9808
  "kind": "Content",
9701
- "text": ", buffer: "
9809
+ "text": "[null | "
9702
9810
  },
9703
9811
  {
9704
9812
  "kind": "Reference",
9705
- "text": "ByteBuffer",
9706
- "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
9813
+ "text": "PutComponentMessageBody",
9814
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
9707
9815
  },
9708
9816
  {
9709
9817
  "kind": "Content",
9710
- "text": "): "
9818
+ "text": " | "
9819
+ },
9820
+ {
9821
+ "kind": "Reference",
9822
+ "text": "DeleteComponentMessageBody",
9823
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
9711
9824
  },
9712
9825
  {
9713
9826
  "kind": "Content",
9714
- "text": "void"
9827
+ "text": ", T | null]"
9715
9828
  },
9716
9829
  {
9717
9830
  "kind": "Content",
@@ -9720,30 +9833,22 @@
9720
9833
  ],
9721
9834
  "isOptional": false,
9722
9835
  "returnTypeTokenRange": {
9723
- "startIndex": 5,
9724
- "endIndex": 6
9836
+ "startIndex": 3,
9837
+ "endIndex": 8
9725
9838
  },
9726
9839
  "releaseTag": "Public",
9727
9840
  "overloadIndex": 1,
9728
9841
  "parameters": [
9729
9842
  {
9730
- "parameterName": "entity",
9843
+ "parameterName": "body",
9731
9844
  "parameterTypeTokenRange": {
9732
9845
  "startIndex": 1,
9733
9846
  "endIndex": 2
9734
9847
  },
9735
9848
  "isOptional": false
9736
- },
9737
- {
9738
- "parameterName": "buffer",
9739
- "parameterTypeTokenRange": {
9740
- "startIndex": 3,
9741
- "endIndex": 4
9742
- },
9743
- "isOptional": false
9744
9849
  }
9745
9850
  ],
9746
- "name": "writeToByteBuffer"
9851
+ "name": "updateFromCrdt"
9747
9852
  }
9748
9853
  ],
9749
9854
  "extendsTokenRanges": []
@@ -9901,6 +10006,78 @@
9901
10006
  "endIndex": 12
9902
10007
  }
9903
10008
  },
10009
+ {
10010
+ "kind": "Variable",
10011
+ "canonicalReference": "@dcl/playground-assets!CRDT_MESSAGE_HEADER_LENGTH:var",
10012
+ "docComment": "/**\n * @public\n */\n",
10013
+ "excerptTokens": [
10014
+ {
10015
+ "kind": "Content",
10016
+ "text": "CRDT_MESSAGE_HEADER_LENGTH = "
10017
+ },
10018
+ {
10019
+ "kind": "Content",
10020
+ "text": "8"
10021
+ }
10022
+ ],
10023
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
10024
+ "initializerTokenRange": {
10025
+ "startIndex": 1,
10026
+ "endIndex": 2
10027
+ },
10028
+ "isReadonly": true,
10029
+ "releaseTag": "Public",
10030
+ "name": "CRDT_MESSAGE_HEADER_LENGTH",
10031
+ "variableTypeTokenRange": {
10032
+ "startIndex": 0,
10033
+ "endIndex": 0
10034
+ }
10035
+ },
10036
+ {
10037
+ "kind": "TypeAlias",
10038
+ "canonicalReference": "@dcl/playground-assets!CrdtMessage:type",
10039
+ "docComment": "/**\n * @public\n */\n",
10040
+ "excerptTokens": [
10041
+ {
10042
+ "kind": "Content",
10043
+ "text": "export type CrdtMessage = "
10044
+ },
10045
+ {
10046
+ "kind": "Reference",
10047
+ "text": "PutComponentMessage",
10048
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessage:type"
10049
+ },
10050
+ {
10051
+ "kind": "Content",
10052
+ "text": " | "
10053
+ },
10054
+ {
10055
+ "kind": "Reference",
10056
+ "text": "DeleteComponentMessage",
10057
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type"
10058
+ },
10059
+ {
10060
+ "kind": "Content",
10061
+ "text": " | "
10062
+ },
10063
+ {
10064
+ "kind": "Reference",
10065
+ "text": "DeleteEntityMessage",
10066
+ "canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type"
10067
+ },
10068
+ {
10069
+ "kind": "Content",
10070
+ "text": ";"
10071
+ }
10072
+ ],
10073
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
10074
+ "releaseTag": "Public",
10075
+ "name": "CrdtMessage",
10076
+ "typeTokenRange": {
10077
+ "startIndex": 1,
10078
+ "endIndex": 6
10079
+ }
10080
+ },
9904
10081
  {
9905
10082
  "kind": "TypeAlias",
9906
10083
  "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type",
@@ -9946,6 +10123,50 @@
9946
10123
  "endIndex": 6
9947
10124
  }
9948
10125
  },
10126
+ {
10127
+ "kind": "TypeAlias",
10128
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type",
10129
+ "docComment": "/**\n * Min length = 8 bytes All message length including\n *\n * @param length - uint32 the length of all message (including the header)\n *\n * @param type - define the function which handles the data\n *\n * @public\n */\n",
10130
+ "excerptTokens": [
10131
+ {
10132
+ "kind": "Content",
10133
+ "text": "export type CrdtMessageHeader = "
10134
+ },
10135
+ {
10136
+ "kind": "Content",
10137
+ "text": "{\n length: "
10138
+ },
10139
+ {
10140
+ "kind": "Reference",
10141
+ "text": "uint32",
10142
+ "canonicalReference": "@dcl/playground-assets!uint32:type"
10143
+ },
10144
+ {
10145
+ "kind": "Content",
10146
+ "text": ";\n type: "
10147
+ },
10148
+ {
10149
+ "kind": "Reference",
10150
+ "text": "uint32",
10151
+ "canonicalReference": "@dcl/playground-assets!uint32:type"
10152
+ },
10153
+ {
10154
+ "kind": "Content",
10155
+ "text": ";\n}"
10156
+ },
10157
+ {
10158
+ "kind": "Content",
10159
+ "text": ";"
10160
+ }
10161
+ ],
10162
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
10163
+ "releaseTag": "Public",
10164
+ "name": "CrdtMessageHeader",
10165
+ "typeTokenRange": {
10166
+ "startIndex": 1,
10167
+ "endIndex": 6
10168
+ }
10169
+ },
9949
10170
  {
9950
10171
  "kind": "Enum",
9951
10172
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType:enum",
@@ -10132,6 +10353,360 @@
10132
10353
  "parameters": [],
10133
10354
  "name": "createEthereumProvider"
10134
10355
  },
10356
+ {
10357
+ "kind": "Function",
10358
+ "canonicalReference": "@dcl/playground-assets!createGetCrdtMessages:function(1)",
10359
+ "docComment": "",
10360
+ "excerptTokens": [
10361
+ {
10362
+ "kind": "Content",
10363
+ "text": "export declare function createGetCrdtMessages(componentId: "
10364
+ },
10365
+ {
10366
+ "kind": "Content",
10367
+ "text": "number"
10368
+ },
10369
+ {
10370
+ "kind": "Content",
10371
+ "text": ", timestamps: "
10372
+ },
10373
+ {
10374
+ "kind": "Reference",
10375
+ "text": "Map",
10376
+ "canonicalReference": "!Map:interface"
10377
+ },
10378
+ {
10379
+ "kind": "Content",
10380
+ "text": "<"
10381
+ },
10382
+ {
10383
+ "kind": "Reference",
10384
+ "text": "Entity",
10385
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
10386
+ },
10387
+ {
10388
+ "kind": "Content",
10389
+ "text": ", number>"
10390
+ },
10391
+ {
10392
+ "kind": "Content",
10393
+ "text": ", dirtyIterator: "
10394
+ },
10395
+ {
10396
+ "kind": "Reference",
10397
+ "text": "Set",
10398
+ "canonicalReference": "!Set:interface"
10399
+ },
10400
+ {
10401
+ "kind": "Content",
10402
+ "text": "<"
10403
+ },
10404
+ {
10405
+ "kind": "Reference",
10406
+ "text": "Entity",
10407
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
10408
+ },
10409
+ {
10410
+ "kind": "Content",
10411
+ "text": ">"
10412
+ },
10413
+ {
10414
+ "kind": "Content",
10415
+ "text": ", schema: "
10416
+ },
10417
+ {
10418
+ "kind": "Reference",
10419
+ "text": "Pick",
10420
+ "canonicalReference": "!Pick:type"
10421
+ },
10422
+ {
10423
+ "kind": "Content",
10424
+ "text": "<"
10425
+ },
10426
+ {
10427
+ "kind": "Reference",
10428
+ "text": "ISchema",
10429
+ "canonicalReference": "@dcl/playground-assets!ISchema:interface"
10430
+ },
10431
+ {
10432
+ "kind": "Content",
10433
+ "text": "<any>, 'serialize'>"
10434
+ },
10435
+ {
10436
+ "kind": "Content",
10437
+ "text": ", data: "
10438
+ },
10439
+ {
10440
+ "kind": "Reference",
10441
+ "text": "Map",
10442
+ "canonicalReference": "!Map:interface"
10443
+ },
10444
+ {
10445
+ "kind": "Content",
10446
+ "text": "<"
10447
+ },
10448
+ {
10449
+ "kind": "Reference",
10450
+ "text": "Entity",
10451
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
10452
+ },
10453
+ {
10454
+ "kind": "Content",
10455
+ "text": ", unknown>"
10456
+ },
10457
+ {
10458
+ "kind": "Content",
10459
+ "text": "): "
10460
+ },
10461
+ {
10462
+ "kind": "Content",
10463
+ "text": "() => "
10464
+ },
10465
+ {
10466
+ "kind": "Reference",
10467
+ "text": "Generator",
10468
+ "canonicalReference": "!Generator:interface"
10469
+ },
10470
+ {
10471
+ "kind": "Content",
10472
+ "text": "<"
10473
+ },
10474
+ {
10475
+ "kind": "Reference",
10476
+ "text": "PutComponentMessageBody",
10477
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
10478
+ },
10479
+ {
10480
+ "kind": "Content",
10481
+ "text": " | "
10482
+ },
10483
+ {
10484
+ "kind": "Reference",
10485
+ "text": "DeleteComponentMessageBody",
10486
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
10487
+ },
10488
+ {
10489
+ "kind": "Content",
10490
+ "text": ", void, unknown>"
10491
+ },
10492
+ {
10493
+ "kind": "Content",
10494
+ "text": ";"
10495
+ }
10496
+ ],
10497
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
10498
+ "returnTypeTokenRange": {
10499
+ "startIndex": 23,
10500
+ "endIndex": 30
10501
+ },
10502
+ "releaseTag": "Public",
10503
+ "overloadIndex": 1,
10504
+ "parameters": [
10505
+ {
10506
+ "parameterName": "componentId",
10507
+ "parameterTypeTokenRange": {
10508
+ "startIndex": 1,
10509
+ "endIndex": 2
10510
+ },
10511
+ "isOptional": false
10512
+ },
10513
+ {
10514
+ "parameterName": "timestamps",
10515
+ "parameterTypeTokenRange": {
10516
+ "startIndex": 3,
10517
+ "endIndex": 7
10518
+ },
10519
+ "isOptional": false
10520
+ },
10521
+ {
10522
+ "parameterName": "dirtyIterator",
10523
+ "parameterTypeTokenRange": {
10524
+ "startIndex": 8,
10525
+ "endIndex": 12
10526
+ },
10527
+ "isOptional": false
10528
+ },
10529
+ {
10530
+ "parameterName": "schema",
10531
+ "parameterTypeTokenRange": {
10532
+ "startIndex": 13,
10533
+ "endIndex": 17
10534
+ },
10535
+ "isOptional": false
10536
+ },
10537
+ {
10538
+ "parameterName": "data",
10539
+ "parameterTypeTokenRange": {
10540
+ "startIndex": 18,
10541
+ "endIndex": 22
10542
+ },
10543
+ "isOptional": false
10544
+ }
10545
+ ],
10546
+ "name": "createGetCrdtMessages"
10547
+ },
10548
+ {
10549
+ "kind": "Function",
10550
+ "canonicalReference": "@dcl/playground-assets!createUpdateFromCrdt:function(1)",
10551
+ "docComment": "",
10552
+ "excerptTokens": [
10553
+ {
10554
+ "kind": "Content",
10555
+ "text": "export declare function createUpdateFromCrdt(componentId: "
10556
+ },
10557
+ {
10558
+ "kind": "Content",
10559
+ "text": "number"
10560
+ },
10561
+ {
10562
+ "kind": "Content",
10563
+ "text": ", timestamps: "
10564
+ },
10565
+ {
10566
+ "kind": "Reference",
10567
+ "text": "Map",
10568
+ "canonicalReference": "!Map:interface"
10569
+ },
10570
+ {
10571
+ "kind": "Content",
10572
+ "text": "<"
10573
+ },
10574
+ {
10575
+ "kind": "Reference",
10576
+ "text": "Entity",
10577
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
10578
+ },
10579
+ {
10580
+ "kind": "Content",
10581
+ "text": ", number>"
10582
+ },
10583
+ {
10584
+ "kind": "Content",
10585
+ "text": ", schema: "
10586
+ },
10587
+ {
10588
+ "kind": "Reference",
10589
+ "text": "Pick",
10590
+ "canonicalReference": "!Pick:type"
10591
+ },
10592
+ {
10593
+ "kind": "Content",
10594
+ "text": "<"
10595
+ },
10596
+ {
10597
+ "kind": "Reference",
10598
+ "text": "ISchema",
10599
+ "canonicalReference": "@dcl/playground-assets!ISchema:interface"
10600
+ },
10601
+ {
10602
+ "kind": "Content",
10603
+ "text": "<any>, 'serialize' | 'deserialize'>"
10604
+ },
10605
+ {
10606
+ "kind": "Content",
10607
+ "text": ", data: "
10608
+ },
10609
+ {
10610
+ "kind": "Reference",
10611
+ "text": "Map",
10612
+ "canonicalReference": "!Map:interface"
10613
+ },
10614
+ {
10615
+ "kind": "Content",
10616
+ "text": "<"
10617
+ },
10618
+ {
10619
+ "kind": "Reference",
10620
+ "text": "Entity",
10621
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
10622
+ },
10623
+ {
10624
+ "kind": "Content",
10625
+ "text": ", unknown>"
10626
+ },
10627
+ {
10628
+ "kind": "Content",
10629
+ "text": "): "
10630
+ },
10631
+ {
10632
+ "kind": "Content",
10633
+ "text": "(msg: "
10634
+ },
10635
+ {
10636
+ "kind": "Reference",
10637
+ "text": "CrdtMessageBody",
10638
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
10639
+ },
10640
+ {
10641
+ "kind": "Content",
10642
+ "text": ") => [null | "
10643
+ },
10644
+ {
10645
+ "kind": "Reference",
10646
+ "text": "PutComponentMessageBody",
10647
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
10648
+ },
10649
+ {
10650
+ "kind": "Content",
10651
+ "text": " | "
10652
+ },
10653
+ {
10654
+ "kind": "Reference",
10655
+ "text": "DeleteComponentMessageBody",
10656
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
10657
+ },
10658
+ {
10659
+ "kind": "Content",
10660
+ "text": ", any]"
10661
+ },
10662
+ {
10663
+ "kind": "Content",
10664
+ "text": ";"
10665
+ }
10666
+ ],
10667
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
10668
+ "returnTypeTokenRange": {
10669
+ "startIndex": 18,
10670
+ "endIndex": 25
10671
+ },
10672
+ "releaseTag": "Public",
10673
+ "overloadIndex": 1,
10674
+ "parameters": [
10675
+ {
10676
+ "parameterName": "componentId",
10677
+ "parameterTypeTokenRange": {
10678
+ "startIndex": 1,
10679
+ "endIndex": 2
10680
+ },
10681
+ "isOptional": false
10682
+ },
10683
+ {
10684
+ "parameterName": "timestamps",
10685
+ "parameterTypeTokenRange": {
10686
+ "startIndex": 3,
10687
+ "endIndex": 7
10688
+ },
10689
+ "isOptional": false
10690
+ },
10691
+ {
10692
+ "parameterName": "schema",
10693
+ "parameterTypeTokenRange": {
10694
+ "startIndex": 8,
10695
+ "endIndex": 12
10696
+ },
10697
+ "isOptional": false
10698
+ },
10699
+ {
10700
+ "parameterName": "data",
10701
+ "parameterTypeTokenRange": {
10702
+ "startIndex": 13,
10703
+ "endIndex": 17
10704
+ },
10705
+ "isOptional": false
10706
+ }
10707
+ ],
10708
+ "name": "createUpdateFromCrdt"
10709
+ },
10135
10710
  {
10136
10711
  "kind": "Function",
10137
10712
  "canonicalReference": "@dcl/playground-assets!cyclicParentingChecker:function(1)",
@@ -10468,6 +11043,42 @@
10468
11043
  "endIndex": 2
10469
11044
  }
10470
11045
  },
11046
+ {
11047
+ "kind": "TypeAlias",
11048
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type",
11049
+ "docComment": "/**\n * @public\n */\n",
11050
+ "excerptTokens": [
11051
+ {
11052
+ "kind": "Content",
11053
+ "text": "export type DeleteComponentMessage = "
11054
+ },
11055
+ {
11056
+ "kind": "Reference",
11057
+ "text": "CrdtMessageHeader",
11058
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
11059
+ },
11060
+ {
11061
+ "kind": "Content",
11062
+ "text": " & "
11063
+ },
11064
+ {
11065
+ "kind": "Reference",
11066
+ "text": "DeleteComponentMessageBody",
11067
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
11068
+ },
11069
+ {
11070
+ "kind": "Content",
11071
+ "text": ";"
11072
+ }
11073
+ ],
11074
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
11075
+ "releaseTag": "Public",
11076
+ "name": "DeleteComponentMessage",
11077
+ "typeTokenRange": {
11078
+ "startIndex": 1,
11079
+ "endIndex": 4
11080
+ }
11081
+ },
10471
11082
  {
10472
11083
  "kind": "TypeAlias",
10473
11084
  "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type",
@@ -10512,6 +11123,42 @@
10512
11123
  "endIndex": 6
10513
11124
  }
10514
11125
  },
11126
+ {
11127
+ "kind": "TypeAlias",
11128
+ "canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type",
11129
+ "docComment": "/**\n * @public\n */\n",
11130
+ "excerptTokens": [
11131
+ {
11132
+ "kind": "Content",
11133
+ "text": "export type DeleteEntityMessage = "
11134
+ },
11135
+ {
11136
+ "kind": "Reference",
11137
+ "text": "CrdtMessageHeader",
11138
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
11139
+ },
11140
+ {
11141
+ "kind": "Content",
11142
+ "text": " & "
11143
+ },
11144
+ {
11145
+ "kind": "Reference",
11146
+ "text": "DeleteEntityMessageBody",
11147
+ "canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type"
11148
+ },
11149
+ {
11150
+ "kind": "Content",
11151
+ "text": ";"
11152
+ }
11153
+ ],
11154
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
11155
+ "releaseTag": "Public",
11156
+ "name": "DeleteEntityMessage",
11157
+ "typeTokenRange": {
11158
+ "startIndex": 1,
11159
+ "endIndex": 4
11160
+ }
11161
+ },
10515
11162
  {
10516
11163
  "kind": "TypeAlias",
10517
11164
  "canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type",
@@ -14233,6 +14880,82 @@
14233
14880
  "endIndex": 2
14234
14881
  }
14235
14882
  },
14883
+ {
14884
+ "kind": "Function",
14885
+ "canonicalReference": "@dcl/playground-assets!incrementTimestamp:function(1)",
14886
+ "docComment": "",
14887
+ "excerptTokens": [
14888
+ {
14889
+ "kind": "Content",
14890
+ "text": "export declare function incrementTimestamp(entity: "
14891
+ },
14892
+ {
14893
+ "kind": "Reference",
14894
+ "text": "Entity",
14895
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
14896
+ },
14897
+ {
14898
+ "kind": "Content",
14899
+ "text": ", timestamps: "
14900
+ },
14901
+ {
14902
+ "kind": "Reference",
14903
+ "text": "Map",
14904
+ "canonicalReference": "!Map:interface"
14905
+ },
14906
+ {
14907
+ "kind": "Content",
14908
+ "text": "<"
14909
+ },
14910
+ {
14911
+ "kind": "Reference",
14912
+ "text": "Entity",
14913
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
14914
+ },
14915
+ {
14916
+ "kind": "Content",
14917
+ "text": ", number>"
14918
+ },
14919
+ {
14920
+ "kind": "Content",
14921
+ "text": "): "
14922
+ },
14923
+ {
14924
+ "kind": "Content",
14925
+ "text": "number"
14926
+ },
14927
+ {
14928
+ "kind": "Content",
14929
+ "text": ";"
14930
+ }
14931
+ ],
14932
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
14933
+ "returnTypeTokenRange": {
14934
+ "startIndex": 8,
14935
+ "endIndex": 9
14936
+ },
14937
+ "releaseTag": "Public",
14938
+ "overloadIndex": 1,
14939
+ "parameters": [
14940
+ {
14941
+ "parameterName": "entity",
14942
+ "parameterTypeTokenRange": {
14943
+ "startIndex": 1,
14944
+ "endIndex": 2
14945
+ },
14946
+ "isOptional": false
14947
+ },
14948
+ {
14949
+ "parameterName": "timestamps",
14950
+ "parameterTypeTokenRange": {
14951
+ "startIndex": 3,
14952
+ "endIndex": 7
14953
+ },
14954
+ "isOptional": false
14955
+ }
14956
+ ],
14957
+ "name": "incrementTimestamp"
14958
+ },
14236
14959
  {
14237
14960
  "kind": "Function",
14238
14961
  "canonicalReference": "@dcl/playground-assets!Input:function(1)",
@@ -34933,6 +35656,118 @@
34933
35656
  ],
34934
35657
  "extendsTokenRanges": []
34935
35658
  },
35659
+ {
35660
+ "kind": "TypeAlias",
35661
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type",
35662
+ "docComment": "/**\n * The values are in clockwise order, beginning at the top: top, right, bottom, then left\n *\n * When one value is specified, it applies the same margin to all four sides.\n *\n * When two values are specified, the first margin applies to the top and bottom, the second to the left and right.\n *\n * When three values are specified, the first margin applies to the top, the second to the left and right, the third to the bottom.\n *\n * When four values are specified, the margins apply to the top, right, bottom, and left in that order (clockwise).\n *\n * @public\n */\n",
35663
+ "excerptTokens": [
35664
+ {
35665
+ "kind": "Content",
35666
+ "text": "export type PositionShorthand = "
35667
+ },
35668
+ {
35669
+ "kind": "Reference",
35670
+ "text": "PositionUnit",
35671
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35672
+ },
35673
+ {
35674
+ "kind": "Content",
35675
+ "text": " | `${"
35676
+ },
35677
+ {
35678
+ "kind": "Reference",
35679
+ "text": "PositionUnit",
35680
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35681
+ },
35682
+ {
35683
+ "kind": "Content",
35684
+ "text": "} ${"
35685
+ },
35686
+ {
35687
+ "kind": "Reference",
35688
+ "text": "PositionUnit",
35689
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35690
+ },
35691
+ {
35692
+ "kind": "Content",
35693
+ "text": "}` | `${"
35694
+ },
35695
+ {
35696
+ "kind": "Reference",
35697
+ "text": "PositionUnit",
35698
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35699
+ },
35700
+ {
35701
+ "kind": "Content",
35702
+ "text": "} ${"
35703
+ },
35704
+ {
35705
+ "kind": "Reference",
35706
+ "text": "PositionUnit",
35707
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35708
+ },
35709
+ {
35710
+ "kind": "Content",
35711
+ "text": "} ${"
35712
+ },
35713
+ {
35714
+ "kind": "Reference",
35715
+ "text": "PositionUnit",
35716
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35717
+ },
35718
+ {
35719
+ "kind": "Content",
35720
+ "text": "}` | `${"
35721
+ },
35722
+ {
35723
+ "kind": "Reference",
35724
+ "text": "PositionUnit",
35725
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35726
+ },
35727
+ {
35728
+ "kind": "Content",
35729
+ "text": "} ${"
35730
+ },
35731
+ {
35732
+ "kind": "Reference",
35733
+ "text": "PositionUnit",
35734
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35735
+ },
35736
+ {
35737
+ "kind": "Content",
35738
+ "text": "} ${"
35739
+ },
35740
+ {
35741
+ "kind": "Reference",
35742
+ "text": "PositionUnit",
35743
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35744
+ },
35745
+ {
35746
+ "kind": "Content",
35747
+ "text": "} ${"
35748
+ },
35749
+ {
35750
+ "kind": "Reference",
35751
+ "text": "PositionUnit",
35752
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35753
+ },
35754
+ {
35755
+ "kind": "Content",
35756
+ "text": "}`"
35757
+ },
35758
+ {
35759
+ "kind": "Content",
35760
+ "text": ";"
35761
+ }
35762
+ ],
35763
+ "fileUrlPath": "../react-ecs/dist/components/uiTransform/types.d.ts",
35764
+ "releaseTag": "Public",
35765
+ "name": "PositionShorthand",
35766
+ "typeTokenRange": {
35767
+ "startIndex": 1,
35768
+ "endIndex": 21
35769
+ }
35770
+ },
34936
35771
  {
34937
35772
  "kind": "TypeAlias",
34938
35773
  "canonicalReference": "@dcl/playground-assets!PositionType:type",
@@ -34962,7 +35797,7 @@
34962
35797
  {
34963
35798
  "kind": "TypeAlias",
34964
35799
  "canonicalReference": "@dcl/playground-assets!PositionUnit:type",
34965
- "docComment": "/**\n * Position unit for the user. i.e. width=\"100\", width=\"100%\", width=\"100px\"\n *\n * @public\n */\n",
35800
+ "docComment": "/**\n * unit value specified. i.e. 1 || '100%' || '1px'\n *\n * @public\n */\n",
34966
35801
  "excerptTokens": [
34967
35802
  {
34968
35803
  "kind": "Content",
@@ -34970,7 +35805,7 @@
34970
35805
  },
34971
35806
  {
34972
35807
  "kind": "Content",
34973
- "text": "`${number}px` | `${number}%` | number"
35808
+ "text": "`${number}px` | `${number}%` | number | `${number}`"
34974
35809
  },
34975
35810
  {
34976
35811
  "kind": "Content",
@@ -34985,6 +35820,206 @@
34985
35820
  "endIndex": 2
34986
35821
  }
34987
35822
  },
35823
+ {
35824
+ "kind": "Enum",
35825
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum",
35826
+ "docComment": "",
35827
+ "excerptTokens": [
35828
+ {
35829
+ "kind": "Content",
35830
+ "text": "export declare enum ProcessMessageResultType "
35831
+ }
35832
+ ],
35833
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
35834
+ "releaseTag": "Public",
35835
+ "name": "ProcessMessageResultType",
35836
+ "preserveMemberOrder": false,
35837
+ "members": [
35838
+ {
35839
+ "kind": "EnumMember",
35840
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.EntityDeleted:member",
35841
+ "docComment": "/**\n * Entity should be deleted. @state CHANGE. @reason the state is storing old entities\n */\n",
35842
+ "excerptTokens": [
35843
+ {
35844
+ "kind": "Content",
35845
+ "text": "EntityDeleted = "
35846
+ },
35847
+ {
35848
+ "kind": "Content",
35849
+ "text": "7"
35850
+ }
35851
+ ],
35852
+ "initializerTokenRange": {
35853
+ "startIndex": 1,
35854
+ "endIndex": 2
35855
+ },
35856
+ "releaseTag": "Public",
35857
+ "name": "EntityDeleted"
35858
+ },
35859
+ {
35860
+ "kind": "EnumMember",
35861
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.EntityWasDeleted:member",
35862
+ "docComment": "/**\n * Entity was previously deleted. @state it does NOT CHANGE. @reason The message is considered old.\n */\n",
35863
+ "excerptTokens": [
35864
+ {
35865
+ "kind": "Content",
35866
+ "text": "EntityWasDeleted = "
35867
+ },
35868
+ {
35869
+ "kind": "Content",
35870
+ "text": "6"
35871
+ }
35872
+ ],
35873
+ "initializerTokenRange": {
35874
+ "startIndex": 1,
35875
+ "endIndex": 2
35876
+ },
35877
+ "releaseTag": "Public",
35878
+ "name": "EntityWasDeleted"
35879
+ },
35880
+ {
35881
+ "kind": "EnumMember",
35882
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.NoChanges:member",
35883
+ "docComment": "/**\n * Weird message, same timestamp and data. @state it does NOT CHANGE. @reason consistent state between peers.\n */\n",
35884
+ "excerptTokens": [
35885
+ {
35886
+ "kind": "Content",
35887
+ "text": "NoChanges = "
35888
+ },
35889
+ {
35890
+ "kind": "Content",
35891
+ "text": "3"
35892
+ }
35893
+ ],
35894
+ "initializerTokenRange": {
35895
+ "startIndex": 1,
35896
+ "endIndex": 2
35897
+ },
35898
+ "releaseTag": "Public",
35899
+ "name": "NoChanges"
35900
+ },
35901
+ {
35902
+ "kind": "EnumMember",
35903
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateOutdatedData:member",
35904
+ "docComment": "/**\n * Less but typical message, same timestamp, resolution by data. @state it does NOT CHANGE. @reason incoming message has a LOWER data.\n */\n",
35905
+ "excerptTokens": [
35906
+ {
35907
+ "kind": "Content",
35908
+ "text": "StateOutdatedData = "
35909
+ },
35910
+ {
35911
+ "kind": "Content",
35912
+ "text": "4"
35913
+ }
35914
+ ],
35915
+ "initializerTokenRange": {
35916
+ "startIndex": 1,
35917
+ "endIndex": 2
35918
+ },
35919
+ "releaseTag": "Public",
35920
+ "name": "StateOutdatedData"
35921
+ },
35922
+ {
35923
+ "kind": "EnumMember",
35924
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateOutdatedTimestamp:member",
35925
+ "docComment": "/**\n * Typical message when it is considered old. @state it does NOT CHANGE. @reason incoming message has a timestamp lower.\n */\n",
35926
+ "excerptTokens": [
35927
+ {
35928
+ "kind": "Content",
35929
+ "text": "StateOutdatedTimestamp = "
35930
+ },
35931
+ {
35932
+ "kind": "Content",
35933
+ "text": "2"
35934
+ }
35935
+ ],
35936
+ "initializerTokenRange": {
35937
+ "startIndex": 1,
35938
+ "endIndex": 2
35939
+ },
35940
+ "releaseTag": "Public",
35941
+ "name": "StateOutdatedTimestamp"
35942
+ },
35943
+ {
35944
+ "kind": "EnumMember",
35945
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateUpdatedData:member",
35946
+ "docComment": "/**\n * Less but typical message, same timestamp, resolution by data. @state CHANGE. @reason incoming message has a GREATER data.\n */\n",
35947
+ "excerptTokens": [
35948
+ {
35949
+ "kind": "Content",
35950
+ "text": "StateUpdatedData = "
35951
+ },
35952
+ {
35953
+ "kind": "Content",
35954
+ "text": "5"
35955
+ }
35956
+ ],
35957
+ "initializerTokenRange": {
35958
+ "startIndex": 1,
35959
+ "endIndex": 2
35960
+ },
35961
+ "releaseTag": "Public",
35962
+ "name": "StateUpdatedData"
35963
+ },
35964
+ {
35965
+ "kind": "EnumMember",
35966
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateUpdatedTimestamp:member",
35967
+ "docComment": "/**\n * Typical message and new state set. @state CHANGE @reason Incoming message has a timestamp greater\n */\n",
35968
+ "excerptTokens": [
35969
+ {
35970
+ "kind": "Content",
35971
+ "text": "StateUpdatedTimestamp = "
35972
+ },
35973
+ {
35974
+ "kind": "Content",
35975
+ "text": "1"
35976
+ }
35977
+ ],
35978
+ "initializerTokenRange": {
35979
+ "startIndex": 1,
35980
+ "endIndex": 2
35981
+ },
35982
+ "releaseTag": "Public",
35983
+ "name": "StateUpdatedTimestamp"
35984
+ }
35985
+ ]
35986
+ },
35987
+ {
35988
+ "kind": "TypeAlias",
35989
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessage:type",
35990
+ "docComment": "/**\n * @public\n */\n",
35991
+ "excerptTokens": [
35992
+ {
35993
+ "kind": "Content",
35994
+ "text": "export type PutComponentMessage = "
35995
+ },
35996
+ {
35997
+ "kind": "Reference",
35998
+ "text": "CrdtMessageHeader",
35999
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
36000
+ },
36001
+ {
36002
+ "kind": "Content",
36003
+ "text": " & "
36004
+ },
36005
+ {
36006
+ "kind": "Reference",
36007
+ "text": "PutComponentMessageBody",
36008
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
36009
+ },
36010
+ {
36011
+ "kind": "Content",
36012
+ "text": ";"
36013
+ }
36014
+ ],
36015
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
36016
+ "releaseTag": "Public",
36017
+ "name": "PutComponentMessage",
36018
+ "typeTokenRange": {
36019
+ "startIndex": 1,
36020
+ "endIndex": 4
36021
+ }
36022
+ },
34988
36023
  {
34989
36024
  "kind": "TypeAlias",
34990
36025
  "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type",
@@ -42203,6 +43238,19 @@
42203
43238
  "text": "EntityPropTypes",
42204
43239
  "canonicalReference": "@dcl/playground-assets!EntityPropTypes:interface"
42205
43240
  },
43241
+ {
43242
+ "kind": "Content",
43243
+ "text": " & {\n uiText?: "
43244
+ },
43245
+ {
43246
+ "kind": "Reference",
43247
+ "text": "UiLabelProps",
43248
+ "canonicalReference": "@dcl/playground-assets!UiLabelProps:interface"
43249
+ },
43250
+ {
43251
+ "kind": "Content",
43252
+ "text": ";\n}"
43253
+ },
42206
43254
  {
42207
43255
  "kind": "Content",
42208
43256
  "text": "): "
@@ -42219,8 +43267,8 @@
42219
43267
  ],
42220
43268
  "fileUrlPath": "../react-ecs/dist/components/index.d.ts",
42221
43269
  "returnTypeTokenRange": {
42222
- "startIndex": 3,
42223
- "endIndex": 4
43270
+ "startIndex": 6,
43271
+ "endIndex": 7
42224
43272
  },
42225
43273
  "releaseTag": "Public",
42226
43274
  "overloadIndex": 1,
@@ -42229,7 +43277,7 @@
42229
43277
  "parameterName": "props",
42230
43278
  "parameterTypeTokenRange": {
42231
43279
  "startIndex": 1,
42232
- "endIndex": 2
43280
+ "endIndex": 5
42233
43281
  },
42234
43282
  "isOptional": false
42235
43283
  }
@@ -43166,7 +44214,12 @@
43166
44214
  },
43167
44215
  {
43168
44216
  "kind": "Content",
43169
- "text": ">"
44217
+ "text": "> | "
44218
+ },
44219
+ {
44220
+ "kind": "Reference",
44221
+ "text": "PositionShorthand",
44222
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type"
43170
44223
  },
43171
44224
  {
43172
44225
  "kind": "Content",
@@ -43179,7 +44232,7 @@
43179
44232
  "name": "margin",
43180
44233
  "propertyTypeTokenRange": {
43181
44234
  "startIndex": 1,
43182
- "endIndex": 5
44235
+ "endIndex": 6
43183
44236
  }
43184
44237
  },
43185
44238
  {
@@ -43347,7 +44400,12 @@
43347
44400
  },
43348
44401
  {
43349
44402
  "kind": "Content",
43350
- "text": ">"
44403
+ "text": "> | "
44404
+ },
44405
+ {
44406
+ "kind": "Reference",
44407
+ "text": "PositionShorthand",
44408
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type"
43351
44409
  },
43352
44410
  {
43353
44411
  "kind": "Content",
@@ -43360,7 +44418,7 @@
43360
44418
  "name": "padding",
43361
44419
  "propertyTypeTokenRange": {
43362
44420
  "startIndex": 1,
43363
- "endIndex": 5
44421
+ "endIndex": 6
43364
44422
  }
43365
44423
  },
43366
44424
  {
@@ -43388,7 +44446,12 @@
43388
44446
  },
43389
44447
  {
43390
44448
  "kind": "Content",
43391
- "text": ">"
44449
+ "text": "> | "
44450
+ },
44451
+ {
44452
+ "kind": "Reference",
44453
+ "text": "PositionShorthand",
44454
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type"
43392
44455
  },
43393
44456
  {
43394
44457
  "kind": "Content",
@@ -43401,7 +44464,7 @@
43401
44464
  "name": "position",
43402
44465
  "propertyTypeTokenRange": {
43403
44466
  "startIndex": 1,
43404
- "endIndex": 5
44467
+ "endIndex": 6
43405
44468
  }
43406
44469
  },
43407
44470
  {