@dcl/playground-assets 7.0.6-4138167187.commit-c9d306a → 7.0.6-4153633895.commit-4aad233
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 +110 -1
- package/dist/beta.d.ts +110 -1
- package/dist/index.bundled.d.ts +110 -1
- package/dist/index.js +344 -585
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +110 -1
- package/etc/playground-assets.api.json +990 -67
- package/etc/playground-assets.api.md +66 -2
- package/package.json +3 -3
|
@@ -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#
|
|
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": "
|
|
9796
|
+
"text": "updateFromCrdt(body: "
|
|
9693
9797
|
},
|
|
9694
9798
|
{
|
|
9695
9799
|
"kind": "Reference",
|
|
9696
|
-
"text": "
|
|
9697
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
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": "
|
|
9809
|
+
"text": "[null | "
|
|
9702
9810
|
},
|
|
9703
9811
|
{
|
|
9704
9812
|
"kind": "Reference",
|
|
9705
|
-
"text": "
|
|
9706
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
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": "
|
|
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":
|
|
9724
|
-
"endIndex":
|
|
9836
|
+
"startIndex": 3,
|
|
9837
|
+
"endIndex": 8
|
|
9725
9838
|
},
|
|
9726
9839
|
"releaseTag": "Public",
|
|
9727
9840
|
"overloadIndex": 1,
|
|
9728
9841
|
"parameters": [
|
|
9729
9842
|
{
|
|
9730
|
-
"parameterName": "
|
|
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": "
|
|
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",
|
|
@@ -10134,49 +10355,403 @@
|
|
|
10134
10355
|
},
|
|
10135
10356
|
{
|
|
10136
10357
|
"kind": "Function",
|
|
10137
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
10138
|
-
"docComment": "
|
|
10358
|
+
"canonicalReference": "@dcl/playground-assets!createGetCrdtMessages:function(1)",
|
|
10359
|
+
"docComment": "",
|
|
10139
10360
|
"excerptTokens": [
|
|
10140
10361
|
{
|
|
10141
10362
|
"kind": "Content",
|
|
10142
|
-
"text": "export declare function
|
|
10363
|
+
"text": "export declare function createGetCrdtMessages(componentId: "
|
|
10364
|
+
},
|
|
10365
|
+
{
|
|
10366
|
+
"kind": "Content",
|
|
10367
|
+
"text": "number"
|
|
10368
|
+
},
|
|
10369
|
+
{
|
|
10370
|
+
"kind": "Content",
|
|
10371
|
+
"text": ", timestamps: "
|
|
10143
10372
|
},
|
|
10144
10373
|
{
|
|
10145
10374
|
"kind": "Reference",
|
|
10146
|
-
"text": "
|
|
10147
|
-
"canonicalReference": "
|
|
10375
|
+
"text": "Map",
|
|
10376
|
+
"canonicalReference": "!Map:interface"
|
|
10148
10377
|
},
|
|
10149
10378
|
{
|
|
10150
10379
|
"kind": "Content",
|
|
10151
|
-
"text": "
|
|
10380
|
+
"text": "<"
|
|
10381
|
+
},
|
|
10382
|
+
{
|
|
10383
|
+
"kind": "Reference",
|
|
10384
|
+
"text": "Entity",
|
|
10385
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
10152
10386
|
},
|
|
10153
10387
|
{
|
|
10154
10388
|
"kind": "Content",
|
|
10155
|
-
"text": "
|
|
10389
|
+
"text": ", number>"
|
|
10156
10390
|
},
|
|
10157
10391
|
{
|
|
10158
10392
|
"kind": "Content",
|
|
10159
|
-
"text": "
|
|
10160
|
-
}
|
|
10161
|
-
],
|
|
10162
|
-
"fileUrlPath": "../ecs/dist/systems/cyclicParentingChecker.d.ts",
|
|
10163
|
-
"returnTypeTokenRange": {
|
|
10164
|
-
"startIndex": 3,
|
|
10165
|
-
"endIndex": 4
|
|
10166
|
-
},
|
|
10167
|
-
"releaseTag": "Public",
|
|
10168
|
-
"overloadIndex": 1,
|
|
10169
|
-
"parameters": [
|
|
10393
|
+
"text": ", dirtyIterator: "
|
|
10394
|
+
},
|
|
10170
10395
|
{
|
|
10171
|
-
"
|
|
10172
|
-
"
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
"
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
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
|
+
},
|
|
10710
|
+
{
|
|
10711
|
+
"kind": "Function",
|
|
10712
|
+
"canonicalReference": "@dcl/playground-assets!cyclicParentingChecker:function(1)",
|
|
10713
|
+
"docComment": "/**\n * Transform parenting: cyclic dependency checker It checks only in modified Transforms\n *\n * Add this system with:\n * ```ts\n * engine.addSystem(cyclicParentingChecker(engine))\n * ```\n *\n * ` And then it will check every tick the parenting.\n *\n * @params engine\n *\n * @returns a system\n *\n * @public\n */\n",
|
|
10714
|
+
"excerptTokens": [
|
|
10715
|
+
{
|
|
10716
|
+
"kind": "Content",
|
|
10717
|
+
"text": "export declare function cyclicParentingChecker(engine: "
|
|
10718
|
+
},
|
|
10719
|
+
{
|
|
10720
|
+
"kind": "Reference",
|
|
10721
|
+
"text": "IEngine",
|
|
10722
|
+
"canonicalReference": "@dcl/playground-assets!IEngine:interface"
|
|
10723
|
+
},
|
|
10724
|
+
{
|
|
10725
|
+
"kind": "Content",
|
|
10726
|
+
"text": "): "
|
|
10727
|
+
},
|
|
10728
|
+
{
|
|
10729
|
+
"kind": "Content",
|
|
10730
|
+
"text": "() => void"
|
|
10731
|
+
},
|
|
10732
|
+
{
|
|
10733
|
+
"kind": "Content",
|
|
10734
|
+
"text": ";"
|
|
10735
|
+
}
|
|
10736
|
+
],
|
|
10737
|
+
"fileUrlPath": "../ecs/dist/systems/cyclicParentingChecker.d.ts",
|
|
10738
|
+
"returnTypeTokenRange": {
|
|
10739
|
+
"startIndex": 3,
|
|
10740
|
+
"endIndex": 4
|
|
10741
|
+
},
|
|
10742
|
+
"releaseTag": "Public",
|
|
10743
|
+
"overloadIndex": 1,
|
|
10744
|
+
"parameters": [
|
|
10745
|
+
{
|
|
10746
|
+
"parameterName": "engine",
|
|
10747
|
+
"parameterTypeTokenRange": {
|
|
10748
|
+
"startIndex": 1,
|
|
10749
|
+
"endIndex": 2
|
|
10750
|
+
},
|
|
10751
|
+
"isOptional": false
|
|
10752
|
+
}
|
|
10753
|
+
],
|
|
10754
|
+
"name": "cyclicParentingChecker"
|
|
10180
10755
|
},
|
|
10181
10756
|
{
|
|
10182
10757
|
"kind": "TypeAlias",
|
|
@@ -10470,34 +11045,106 @@
|
|
|
10470
11045
|
},
|
|
10471
11046
|
{
|
|
10472
11047
|
"kind": "TypeAlias",
|
|
10473
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
10474
|
-
"docComment": "/**\n * @
|
|
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
|
+
},
|
|
11082
|
+
{
|
|
11083
|
+
"kind": "TypeAlias",
|
|
11084
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type",
|
|
11085
|
+
"docComment": "/**\n * @param entity - Uint32 number of the entity\n *\n * @param componentId - Uint32 number of id\n *\n * @param timestamp - Uint32 Lamport timestamp\n *\n * @public\n */\n",
|
|
11086
|
+
"excerptTokens": [
|
|
11087
|
+
{
|
|
11088
|
+
"kind": "Content",
|
|
11089
|
+
"text": "export type DeleteComponentMessageBody = "
|
|
11090
|
+
},
|
|
11091
|
+
{
|
|
11092
|
+
"kind": "Content",
|
|
11093
|
+
"text": "{\n type: "
|
|
11094
|
+
},
|
|
11095
|
+
{
|
|
11096
|
+
"kind": "Reference",
|
|
11097
|
+
"text": "CrdtMessageType.DELETE_COMPONENT",
|
|
11098
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member"
|
|
11099
|
+
},
|
|
11100
|
+
{
|
|
11101
|
+
"kind": "Content",
|
|
11102
|
+
"text": ";\n entityId: "
|
|
11103
|
+
},
|
|
11104
|
+
{
|
|
11105
|
+
"kind": "Reference",
|
|
11106
|
+
"text": "Entity",
|
|
11107
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
11108
|
+
},
|
|
11109
|
+
{
|
|
11110
|
+
"kind": "Content",
|
|
11111
|
+
"text": ";\n componentId: number;\n timestamp: number;\n}"
|
|
11112
|
+
},
|
|
11113
|
+
{
|
|
11114
|
+
"kind": "Content",
|
|
11115
|
+
"text": ";"
|
|
11116
|
+
}
|
|
11117
|
+
],
|
|
11118
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
11119
|
+
"releaseTag": "Public",
|
|
11120
|
+
"name": "DeleteComponentMessageBody",
|
|
11121
|
+
"typeTokenRange": {
|
|
11122
|
+
"startIndex": 1,
|
|
11123
|
+
"endIndex": 6
|
|
11124
|
+
}
|
|
11125
|
+
},
|
|
11126
|
+
{
|
|
11127
|
+
"kind": "TypeAlias",
|
|
11128
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type",
|
|
11129
|
+
"docComment": "/**\n * @public\n */\n",
|
|
10475
11130
|
"excerptTokens": [
|
|
10476
11131
|
{
|
|
10477
11132
|
"kind": "Content",
|
|
10478
|
-
"text": "export type
|
|
10479
|
-
},
|
|
10480
|
-
{
|
|
10481
|
-
"kind": "Content",
|
|
10482
|
-
"text": "{\n type: "
|
|
11133
|
+
"text": "export type DeleteEntityMessage = "
|
|
10483
11134
|
},
|
|
10484
11135
|
{
|
|
10485
11136
|
"kind": "Reference",
|
|
10486
|
-
"text": "
|
|
10487
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
11137
|
+
"text": "CrdtMessageHeader",
|
|
11138
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
10488
11139
|
},
|
|
10489
11140
|
{
|
|
10490
11141
|
"kind": "Content",
|
|
10491
|
-
"text": "
|
|
11142
|
+
"text": " & "
|
|
10492
11143
|
},
|
|
10493
11144
|
{
|
|
10494
11145
|
"kind": "Reference",
|
|
10495
|
-
"text": "
|
|
10496
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
10497
|
-
},
|
|
10498
|
-
{
|
|
10499
|
-
"kind": "Content",
|
|
10500
|
-
"text": ";\n componentId: number;\n timestamp: number;\n}"
|
|
11146
|
+
"text": "DeleteEntityMessageBody",
|
|
11147
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type"
|
|
10501
11148
|
},
|
|
10502
11149
|
{
|
|
10503
11150
|
"kind": "Content",
|
|
@@ -10506,10 +11153,10 @@
|
|
|
10506
11153
|
],
|
|
10507
11154
|
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
10508
11155
|
"releaseTag": "Public",
|
|
10509
|
-
"name": "
|
|
11156
|
+
"name": "DeleteEntityMessage",
|
|
10510
11157
|
"typeTokenRange": {
|
|
10511
11158
|
"startIndex": 1,
|
|
10512
|
-
"endIndex":
|
|
11159
|
+
"endIndex": 4
|
|
10513
11160
|
}
|
|
10514
11161
|
},
|
|
10515
11162
|
{
|
|
@@ -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)",
|
|
@@ -34985,6 +35708,206 @@
|
|
|
34985
35708
|
"endIndex": 2
|
|
34986
35709
|
}
|
|
34987
35710
|
},
|
|
35711
|
+
{
|
|
35712
|
+
"kind": "Enum",
|
|
35713
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum",
|
|
35714
|
+
"docComment": "",
|
|
35715
|
+
"excerptTokens": [
|
|
35716
|
+
{
|
|
35717
|
+
"kind": "Content",
|
|
35718
|
+
"text": "export declare enum ProcessMessageResultType "
|
|
35719
|
+
}
|
|
35720
|
+
],
|
|
35721
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
35722
|
+
"releaseTag": "Public",
|
|
35723
|
+
"name": "ProcessMessageResultType",
|
|
35724
|
+
"preserveMemberOrder": false,
|
|
35725
|
+
"members": [
|
|
35726
|
+
{
|
|
35727
|
+
"kind": "EnumMember",
|
|
35728
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.EntityDeleted:member",
|
|
35729
|
+
"docComment": "/**\n * Entity should be deleted. @state CHANGE. @reason the state is storing old entities\n */\n",
|
|
35730
|
+
"excerptTokens": [
|
|
35731
|
+
{
|
|
35732
|
+
"kind": "Content",
|
|
35733
|
+
"text": "EntityDeleted = "
|
|
35734
|
+
},
|
|
35735
|
+
{
|
|
35736
|
+
"kind": "Content",
|
|
35737
|
+
"text": "7"
|
|
35738
|
+
}
|
|
35739
|
+
],
|
|
35740
|
+
"initializerTokenRange": {
|
|
35741
|
+
"startIndex": 1,
|
|
35742
|
+
"endIndex": 2
|
|
35743
|
+
},
|
|
35744
|
+
"releaseTag": "Public",
|
|
35745
|
+
"name": "EntityDeleted"
|
|
35746
|
+
},
|
|
35747
|
+
{
|
|
35748
|
+
"kind": "EnumMember",
|
|
35749
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.EntityWasDeleted:member",
|
|
35750
|
+
"docComment": "/**\n * Entity was previously deleted. @state it does NOT CHANGE. @reason The message is considered old.\n */\n",
|
|
35751
|
+
"excerptTokens": [
|
|
35752
|
+
{
|
|
35753
|
+
"kind": "Content",
|
|
35754
|
+
"text": "EntityWasDeleted = "
|
|
35755
|
+
},
|
|
35756
|
+
{
|
|
35757
|
+
"kind": "Content",
|
|
35758
|
+
"text": "6"
|
|
35759
|
+
}
|
|
35760
|
+
],
|
|
35761
|
+
"initializerTokenRange": {
|
|
35762
|
+
"startIndex": 1,
|
|
35763
|
+
"endIndex": 2
|
|
35764
|
+
},
|
|
35765
|
+
"releaseTag": "Public",
|
|
35766
|
+
"name": "EntityWasDeleted"
|
|
35767
|
+
},
|
|
35768
|
+
{
|
|
35769
|
+
"kind": "EnumMember",
|
|
35770
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.NoChanges:member",
|
|
35771
|
+
"docComment": "/**\n * Weird message, same timestamp and data. @state it does NOT CHANGE. @reason consistent state between peers.\n */\n",
|
|
35772
|
+
"excerptTokens": [
|
|
35773
|
+
{
|
|
35774
|
+
"kind": "Content",
|
|
35775
|
+
"text": "NoChanges = "
|
|
35776
|
+
},
|
|
35777
|
+
{
|
|
35778
|
+
"kind": "Content",
|
|
35779
|
+
"text": "3"
|
|
35780
|
+
}
|
|
35781
|
+
],
|
|
35782
|
+
"initializerTokenRange": {
|
|
35783
|
+
"startIndex": 1,
|
|
35784
|
+
"endIndex": 2
|
|
35785
|
+
},
|
|
35786
|
+
"releaseTag": "Public",
|
|
35787
|
+
"name": "NoChanges"
|
|
35788
|
+
},
|
|
35789
|
+
{
|
|
35790
|
+
"kind": "EnumMember",
|
|
35791
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateOutdatedData:member",
|
|
35792
|
+
"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",
|
|
35793
|
+
"excerptTokens": [
|
|
35794
|
+
{
|
|
35795
|
+
"kind": "Content",
|
|
35796
|
+
"text": "StateOutdatedData = "
|
|
35797
|
+
},
|
|
35798
|
+
{
|
|
35799
|
+
"kind": "Content",
|
|
35800
|
+
"text": "4"
|
|
35801
|
+
}
|
|
35802
|
+
],
|
|
35803
|
+
"initializerTokenRange": {
|
|
35804
|
+
"startIndex": 1,
|
|
35805
|
+
"endIndex": 2
|
|
35806
|
+
},
|
|
35807
|
+
"releaseTag": "Public",
|
|
35808
|
+
"name": "StateOutdatedData"
|
|
35809
|
+
},
|
|
35810
|
+
{
|
|
35811
|
+
"kind": "EnumMember",
|
|
35812
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateOutdatedTimestamp:member",
|
|
35813
|
+
"docComment": "/**\n * Typical message when it is considered old. @state it does NOT CHANGE. @reason incoming message has a timestamp lower.\n */\n",
|
|
35814
|
+
"excerptTokens": [
|
|
35815
|
+
{
|
|
35816
|
+
"kind": "Content",
|
|
35817
|
+
"text": "StateOutdatedTimestamp = "
|
|
35818
|
+
},
|
|
35819
|
+
{
|
|
35820
|
+
"kind": "Content",
|
|
35821
|
+
"text": "2"
|
|
35822
|
+
}
|
|
35823
|
+
],
|
|
35824
|
+
"initializerTokenRange": {
|
|
35825
|
+
"startIndex": 1,
|
|
35826
|
+
"endIndex": 2
|
|
35827
|
+
},
|
|
35828
|
+
"releaseTag": "Public",
|
|
35829
|
+
"name": "StateOutdatedTimestamp"
|
|
35830
|
+
},
|
|
35831
|
+
{
|
|
35832
|
+
"kind": "EnumMember",
|
|
35833
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateUpdatedData:member",
|
|
35834
|
+
"docComment": "/**\n * Less but typical message, same timestamp, resolution by data. @state CHANGE. @reason incoming message has a GREATER data.\n */\n",
|
|
35835
|
+
"excerptTokens": [
|
|
35836
|
+
{
|
|
35837
|
+
"kind": "Content",
|
|
35838
|
+
"text": "StateUpdatedData = "
|
|
35839
|
+
},
|
|
35840
|
+
{
|
|
35841
|
+
"kind": "Content",
|
|
35842
|
+
"text": "5"
|
|
35843
|
+
}
|
|
35844
|
+
],
|
|
35845
|
+
"initializerTokenRange": {
|
|
35846
|
+
"startIndex": 1,
|
|
35847
|
+
"endIndex": 2
|
|
35848
|
+
},
|
|
35849
|
+
"releaseTag": "Public",
|
|
35850
|
+
"name": "StateUpdatedData"
|
|
35851
|
+
},
|
|
35852
|
+
{
|
|
35853
|
+
"kind": "EnumMember",
|
|
35854
|
+
"canonicalReference": "@dcl/playground-assets!ProcessMessageResultType.StateUpdatedTimestamp:member",
|
|
35855
|
+
"docComment": "/**\n * Typical message and new state set. @state CHANGE @reason Incoming message has a timestamp greater\n */\n",
|
|
35856
|
+
"excerptTokens": [
|
|
35857
|
+
{
|
|
35858
|
+
"kind": "Content",
|
|
35859
|
+
"text": "StateUpdatedTimestamp = "
|
|
35860
|
+
},
|
|
35861
|
+
{
|
|
35862
|
+
"kind": "Content",
|
|
35863
|
+
"text": "1"
|
|
35864
|
+
}
|
|
35865
|
+
],
|
|
35866
|
+
"initializerTokenRange": {
|
|
35867
|
+
"startIndex": 1,
|
|
35868
|
+
"endIndex": 2
|
|
35869
|
+
},
|
|
35870
|
+
"releaseTag": "Public",
|
|
35871
|
+
"name": "StateUpdatedTimestamp"
|
|
35872
|
+
}
|
|
35873
|
+
]
|
|
35874
|
+
},
|
|
35875
|
+
{
|
|
35876
|
+
"kind": "TypeAlias",
|
|
35877
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessage:type",
|
|
35878
|
+
"docComment": "/**\n * @public\n */\n",
|
|
35879
|
+
"excerptTokens": [
|
|
35880
|
+
{
|
|
35881
|
+
"kind": "Content",
|
|
35882
|
+
"text": "export type PutComponentMessage = "
|
|
35883
|
+
},
|
|
35884
|
+
{
|
|
35885
|
+
"kind": "Reference",
|
|
35886
|
+
"text": "CrdtMessageHeader",
|
|
35887
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
35888
|
+
},
|
|
35889
|
+
{
|
|
35890
|
+
"kind": "Content",
|
|
35891
|
+
"text": " & "
|
|
35892
|
+
},
|
|
35893
|
+
{
|
|
35894
|
+
"kind": "Reference",
|
|
35895
|
+
"text": "PutComponentMessageBody",
|
|
35896
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
|
|
35897
|
+
},
|
|
35898
|
+
{
|
|
35899
|
+
"kind": "Content",
|
|
35900
|
+
"text": ";"
|
|
35901
|
+
}
|
|
35902
|
+
],
|
|
35903
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
35904
|
+
"releaseTag": "Public",
|
|
35905
|
+
"name": "PutComponentMessage",
|
|
35906
|
+
"typeTokenRange": {
|
|
35907
|
+
"startIndex": 1,
|
|
35908
|
+
"endIndex": 4
|
|
35909
|
+
}
|
|
35910
|
+
},
|
|
34988
35911
|
{
|
|
34989
35912
|
"kind": "TypeAlias",
|
|
34990
35913
|
"canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type",
|