@dcl/playground-assets 7.0.6-4153633895.commit-4aad233 → 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.
@@ -233,8 +233,8 @@
233
233
  },
234
234
  {
235
235
  "kind": "Reference",
236
- "text": "ComponentDefinition",
237
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
236
+ "text": "LastWriteWinElementSetComponentDefinition",
237
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
238
238
  },
239
239
  {
240
240
  "kind": "Content",
@@ -537,6 +537,95 @@
537
537
  }
538
538
  ]
539
539
  },
540
+ {
541
+ "kind": "TypeAlias",
542
+ "canonicalReference": "@dcl/playground-assets!AppendValueMessage:type",
543
+ "docComment": "/**\n * @public\n */\n",
544
+ "excerptTokens": [
545
+ {
546
+ "kind": "Content",
547
+ "text": "export type AppendValueMessage = "
548
+ },
549
+ {
550
+ "kind": "Reference",
551
+ "text": "CrdtMessageHeader",
552
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
553
+ },
554
+ {
555
+ "kind": "Content",
556
+ "text": " & "
557
+ },
558
+ {
559
+ "kind": "Reference",
560
+ "text": "AppendValueMessageBody",
561
+ "canonicalReference": "@dcl/playground-assets!AppendValueMessageBody:type"
562
+ },
563
+ {
564
+ "kind": "Content",
565
+ "text": ";"
566
+ }
567
+ ],
568
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
569
+ "releaseTag": "Public",
570
+ "name": "AppendValueMessage",
571
+ "typeTokenRange": {
572
+ "startIndex": 1,
573
+ "endIndex": 4
574
+ }
575
+ },
576
+ {
577
+ "kind": "TypeAlias",
578
+ "canonicalReference": "@dcl/playground-assets!AppendValueMessageBody:type",
579
+ "docComment": "/**\n * Min. length = header (8 bytes) + 16 bytes = 24 bytes\n *\n * @param entity - Uint32 number of the entity\n *\n * @param componentId - Uint32 number of id\n *\n * @param timestamp - Uint32 timestamp\n *\n * @param data - Uint8[] data of component => length(4 bytes) + block of bytes[0..length-1]\n *\n * @public\n */\n",
580
+ "excerptTokens": [
581
+ {
582
+ "kind": "Content",
583
+ "text": "export type AppendValueMessageBody = "
584
+ },
585
+ {
586
+ "kind": "Content",
587
+ "text": "{\n type: "
588
+ },
589
+ {
590
+ "kind": "Reference",
591
+ "text": "CrdtMessageType.APPEND_VALUE",
592
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.APPEND_VALUE:member"
593
+ },
594
+ {
595
+ "kind": "Content",
596
+ "text": ";\n entityId: "
597
+ },
598
+ {
599
+ "kind": "Reference",
600
+ "text": "Entity",
601
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
602
+ },
603
+ {
604
+ "kind": "Content",
605
+ "text": ";\n componentId: number;\n timestamp: number;\n data: "
606
+ },
607
+ {
608
+ "kind": "Reference",
609
+ "text": "Uint8Array",
610
+ "canonicalReference": "!Uint8Array:interface"
611
+ },
612
+ {
613
+ "kind": "Content",
614
+ "text": ";\n}"
615
+ },
616
+ {
617
+ "kind": "Content",
618
+ "text": ";"
619
+ }
620
+ ],
621
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
622
+ "releaseTag": "Public",
623
+ "name": "AppendValueMessageBody",
624
+ "typeTokenRange": {
625
+ "startIndex": 1,
626
+ "endIndex": 8
627
+ }
628
+ },
540
629
  {
541
630
  "kind": "Variable",
542
631
  "canonicalReference": "@dcl/playground-assets!AudioSource:var",
@@ -548,8 +637,8 @@
548
637
  },
549
638
  {
550
639
  "kind": "Reference",
551
- "text": "ComponentDefinition",
552
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
640
+ "text": "LastWriteWinElementSetComponentDefinition",
641
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
553
642
  },
554
643
  {
555
644
  "kind": "Content",
@@ -585,8 +674,8 @@
585
674
  },
586
675
  {
587
676
  "kind": "Reference",
588
- "text": "ComponentDefinition",
589
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
677
+ "text": "LastWriteWinElementSetComponentDefinition",
678
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
590
679
  },
591
680
  {
592
681
  "kind": "Content",
@@ -723,8 +812,8 @@
723
812
  },
724
813
  {
725
814
  "kind": "Reference",
726
- "text": "ComponentDefinition",
727
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
815
+ "text": "LastWriteWinElementSetComponentDefinition",
816
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
728
817
  },
729
818
  {
730
819
  "kind": "Content",
@@ -760,8 +849,8 @@
760
849
  },
761
850
  {
762
851
  "kind": "Reference",
763
- "text": "ComponentDefinition",
764
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
852
+ "text": "LastWriteWinElementSetComponentDefinition",
853
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
765
854
  },
766
855
  {
767
856
  "kind": "Content",
@@ -856,8 +945,8 @@
856
945
  },
857
946
  {
858
947
  "kind": "Reference",
859
- "text": "ComponentDefinition",
860
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
948
+ "text": "LastWriteWinElementSetComponentDefinition",
949
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
861
950
  },
862
951
  {
863
952
  "kind": "Content",
@@ -1071,6 +1160,402 @@
1071
1160
  }
1072
1161
  ]
1073
1162
  },
1163
+ {
1164
+ "kind": "Interface",
1165
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface",
1166
+ "docComment": "/**\n * @public\n */\n",
1167
+ "excerptTokens": [
1168
+ {
1169
+ "kind": "Content",
1170
+ "text": "export interface BaseComponent<T> "
1171
+ }
1172
+ ],
1173
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
1174
+ "releaseTag": "Public",
1175
+ "typeParameters": [
1176
+ {
1177
+ "typeParameterName": "T",
1178
+ "constraintTokenRange": {
1179
+ "startIndex": 0,
1180
+ "endIndex": 0
1181
+ },
1182
+ "defaultTypeTokenRange": {
1183
+ "startIndex": 0,
1184
+ "endIndex": 0
1185
+ }
1186
+ }
1187
+ ],
1188
+ "name": "BaseComponent",
1189
+ "preserveMemberOrder": false,
1190
+ "members": [
1191
+ {
1192
+ "kind": "PropertySignature",
1193
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#componentId:member",
1194
+ "docComment": "",
1195
+ "excerptTokens": [
1196
+ {
1197
+ "kind": "Content",
1198
+ "text": "readonly componentId: "
1199
+ },
1200
+ {
1201
+ "kind": "Content",
1202
+ "text": "number"
1203
+ },
1204
+ {
1205
+ "kind": "Content",
1206
+ "text": ";"
1207
+ }
1208
+ ],
1209
+ "isReadonly": true,
1210
+ "isOptional": false,
1211
+ "releaseTag": "Public",
1212
+ "name": "componentId",
1213
+ "propertyTypeTokenRange": {
1214
+ "startIndex": 1,
1215
+ "endIndex": 2
1216
+ }
1217
+ },
1218
+ {
1219
+ "kind": "PropertySignature",
1220
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#componentName:member",
1221
+ "docComment": "",
1222
+ "excerptTokens": [
1223
+ {
1224
+ "kind": "Content",
1225
+ "text": "readonly componentName: "
1226
+ },
1227
+ {
1228
+ "kind": "Content",
1229
+ "text": "string"
1230
+ },
1231
+ {
1232
+ "kind": "Content",
1233
+ "text": ";"
1234
+ }
1235
+ ],
1236
+ "isReadonly": true,
1237
+ "isOptional": false,
1238
+ "releaseTag": "Public",
1239
+ "name": "componentName",
1240
+ "propertyTypeTokenRange": {
1241
+ "startIndex": 1,
1242
+ "endIndex": 2
1243
+ }
1244
+ },
1245
+ {
1246
+ "kind": "PropertySignature",
1247
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#componentType:member",
1248
+ "docComment": "",
1249
+ "excerptTokens": [
1250
+ {
1251
+ "kind": "Content",
1252
+ "text": "readonly componentType: "
1253
+ },
1254
+ {
1255
+ "kind": "Reference",
1256
+ "text": "ComponentType",
1257
+ "canonicalReference": "@dcl/playground-assets!ComponentType:enum"
1258
+ },
1259
+ {
1260
+ "kind": "Content",
1261
+ "text": ";"
1262
+ }
1263
+ ],
1264
+ "isReadonly": true,
1265
+ "isOptional": false,
1266
+ "releaseTag": "Public",
1267
+ "name": "componentType",
1268
+ "propertyTypeTokenRange": {
1269
+ "startIndex": 1,
1270
+ "endIndex": 2
1271
+ }
1272
+ },
1273
+ {
1274
+ "kind": "MethodSignature",
1275
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#entityDeleted:member(1)",
1276
+ "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 ID that was deleted.\n *\n * @public\n */\n",
1277
+ "excerptTokens": [
1278
+ {
1279
+ "kind": "Content",
1280
+ "text": "entityDeleted(entity: "
1281
+ },
1282
+ {
1283
+ "kind": "Reference",
1284
+ "text": "Entity",
1285
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
1286
+ },
1287
+ {
1288
+ "kind": "Content",
1289
+ "text": ", markAsDirty: "
1290
+ },
1291
+ {
1292
+ "kind": "Content",
1293
+ "text": "boolean"
1294
+ },
1295
+ {
1296
+ "kind": "Content",
1297
+ "text": "): "
1298
+ },
1299
+ {
1300
+ "kind": "Content",
1301
+ "text": "void"
1302
+ },
1303
+ {
1304
+ "kind": "Content",
1305
+ "text": ";"
1306
+ }
1307
+ ],
1308
+ "isOptional": false,
1309
+ "returnTypeTokenRange": {
1310
+ "startIndex": 5,
1311
+ "endIndex": 6
1312
+ },
1313
+ "releaseTag": "Public",
1314
+ "overloadIndex": 1,
1315
+ "parameters": [
1316
+ {
1317
+ "parameterName": "entity",
1318
+ "parameterTypeTokenRange": {
1319
+ "startIndex": 1,
1320
+ "endIndex": 2
1321
+ },
1322
+ "isOptional": false
1323
+ },
1324
+ {
1325
+ "parameterName": "markAsDirty",
1326
+ "parameterTypeTokenRange": {
1327
+ "startIndex": 3,
1328
+ "endIndex": 4
1329
+ },
1330
+ "isOptional": false
1331
+ }
1332
+ ],
1333
+ "name": "entityDeleted"
1334
+ },
1335
+ {
1336
+ "kind": "MethodSignature",
1337
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#get:member(1)",
1338
+ "docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), throws an error if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to get the component\n *\n * @returns \n */\n",
1339
+ "excerptTokens": [
1340
+ {
1341
+ "kind": "Content",
1342
+ "text": "get(entity: "
1343
+ },
1344
+ {
1345
+ "kind": "Reference",
1346
+ "text": "Entity",
1347
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
1348
+ },
1349
+ {
1350
+ "kind": "Content",
1351
+ "text": "): "
1352
+ },
1353
+ {
1354
+ "kind": "Content",
1355
+ "text": "any"
1356
+ },
1357
+ {
1358
+ "kind": "Content",
1359
+ "text": ";"
1360
+ }
1361
+ ],
1362
+ "isOptional": false,
1363
+ "returnTypeTokenRange": {
1364
+ "startIndex": 3,
1365
+ "endIndex": 4
1366
+ },
1367
+ "releaseTag": "Public",
1368
+ "overloadIndex": 1,
1369
+ "parameters": [
1370
+ {
1371
+ "parameterName": "entity",
1372
+ "parameterTypeTokenRange": {
1373
+ "startIndex": 1,
1374
+ "endIndex": 2
1375
+ },
1376
+ "isOptional": false
1377
+ }
1378
+ ],
1379
+ "name": "get"
1380
+ },
1381
+ {
1382
+ "kind": "MethodSignature",
1383
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
1384
+ "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",
1385
+ "excerptTokens": [
1386
+ {
1387
+ "kind": "Content",
1388
+ "text": "getCrdtUpdates(): "
1389
+ },
1390
+ {
1391
+ "kind": "Reference",
1392
+ "text": "Iterable",
1393
+ "canonicalReference": "!Iterable:interface"
1394
+ },
1395
+ {
1396
+ "kind": "Content",
1397
+ "text": "<"
1398
+ },
1399
+ {
1400
+ "kind": "Reference",
1401
+ "text": "CrdtMessageBody",
1402
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
1403
+ },
1404
+ {
1405
+ "kind": "Content",
1406
+ "text": ">"
1407
+ },
1408
+ {
1409
+ "kind": "Content",
1410
+ "text": ";"
1411
+ }
1412
+ ],
1413
+ "isOptional": false,
1414
+ "returnTypeTokenRange": {
1415
+ "startIndex": 1,
1416
+ "endIndex": 5
1417
+ },
1418
+ "releaseTag": "Public",
1419
+ "overloadIndex": 1,
1420
+ "parameters": [],
1421
+ "name": "getCrdtUpdates"
1422
+ },
1423
+ {
1424
+ "kind": "MethodSignature",
1425
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#has:member(1)",
1426
+ "docComment": "/**\n * Get if the entity has this component\n *\n * @param entity - entity to test\n */\n",
1427
+ "excerptTokens": [
1428
+ {
1429
+ "kind": "Content",
1430
+ "text": "has(entity: "
1431
+ },
1432
+ {
1433
+ "kind": "Reference",
1434
+ "text": "Entity",
1435
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
1436
+ },
1437
+ {
1438
+ "kind": "Content",
1439
+ "text": "): "
1440
+ },
1441
+ {
1442
+ "kind": "Content",
1443
+ "text": "boolean"
1444
+ },
1445
+ {
1446
+ "kind": "Content",
1447
+ "text": ";"
1448
+ }
1449
+ ],
1450
+ "isOptional": false,
1451
+ "returnTypeTokenRange": {
1452
+ "startIndex": 3,
1453
+ "endIndex": 4
1454
+ },
1455
+ "releaseTag": "Public",
1456
+ "overloadIndex": 1,
1457
+ "parameters": [
1458
+ {
1459
+ "parameterName": "entity",
1460
+ "parameterTypeTokenRange": {
1461
+ "startIndex": 1,
1462
+ "endIndex": 2
1463
+ },
1464
+ "isOptional": false
1465
+ }
1466
+ ],
1467
+ "name": "has"
1468
+ },
1469
+ {
1470
+ "kind": "PropertySignature",
1471
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#schema:member",
1472
+ "docComment": "",
1473
+ "excerptTokens": [
1474
+ {
1475
+ "kind": "Content",
1476
+ "text": "readonly schema: "
1477
+ },
1478
+ {
1479
+ "kind": "Reference",
1480
+ "text": "ISchema",
1481
+ "canonicalReference": "@dcl/playground-assets!ISchema:interface"
1482
+ },
1483
+ {
1484
+ "kind": "Content",
1485
+ "text": "<T>"
1486
+ },
1487
+ {
1488
+ "kind": "Content",
1489
+ "text": ";"
1490
+ }
1491
+ ],
1492
+ "isReadonly": true,
1493
+ "isOptional": false,
1494
+ "releaseTag": "Public",
1495
+ "name": "schema",
1496
+ "propertyTypeTokenRange": {
1497
+ "startIndex": 1,
1498
+ "endIndex": 3
1499
+ }
1500
+ },
1501
+ {
1502
+ "kind": "MethodSignature",
1503
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#updateFromCrdt:member(1)",
1504
+ "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",
1505
+ "excerptTokens": [
1506
+ {
1507
+ "kind": "Content",
1508
+ "text": "updateFromCrdt(body: "
1509
+ },
1510
+ {
1511
+ "kind": "Reference",
1512
+ "text": "CrdtMessageBody",
1513
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
1514
+ },
1515
+ {
1516
+ "kind": "Content",
1517
+ "text": "): "
1518
+ },
1519
+ {
1520
+ "kind": "Content",
1521
+ "text": "[null | "
1522
+ },
1523
+ {
1524
+ "kind": "Reference",
1525
+ "text": "ConflictResolutionMessage",
1526
+ "canonicalReference": "@dcl/playground-assets!ConflictResolutionMessage:type"
1527
+ },
1528
+ {
1529
+ "kind": "Content",
1530
+ "text": ", T | undefined]"
1531
+ },
1532
+ {
1533
+ "kind": "Content",
1534
+ "text": ";"
1535
+ }
1536
+ ],
1537
+ "isOptional": false,
1538
+ "returnTypeTokenRange": {
1539
+ "startIndex": 3,
1540
+ "endIndex": 6
1541
+ },
1542
+ "releaseTag": "Public",
1543
+ "overloadIndex": 1,
1544
+ "parameters": [
1545
+ {
1546
+ "parameterName": "body",
1547
+ "parameterTypeTokenRange": {
1548
+ "startIndex": 1,
1549
+ "endIndex": 2
1550
+ },
1551
+ "isOptional": false
1552
+ }
1553
+ ],
1554
+ "name": "updateFromCrdt"
1555
+ }
1556
+ ],
1557
+ "extendsTokenRanges": []
1558
+ },
1074
1559
  {
1075
1560
  "kind": "Variable",
1076
1561
  "canonicalReference": "@dcl/playground-assets!Billboard:var",
@@ -1082,8 +1567,8 @@
1082
1567
  },
1083
1568
  {
1084
1569
  "kind": "Reference",
1085
- "text": "ComponentDefinition",
1086
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
1570
+ "text": "LastWriteWinElementSetComponentDefinition",
1571
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
1087
1572
  },
1088
1573
  {
1089
1574
  "kind": "Content",
@@ -3745,8 +4230,8 @@
3745
4230
  },
3746
4231
  {
3747
4232
  "kind": "Reference",
3748
- "text": "ComponentDefinition",
3749
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
4233
+ "text": "LastWriteWinElementSetComponentDefinition",
4234
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
3750
4235
  },
3751
4236
  {
3752
4237
  "kind": "Content",
@@ -3782,8 +4267,8 @@
3782
4267
  },
3783
4268
  {
3784
4269
  "kind": "Reference",
3785
- "text": "ComponentDefinition",
3786
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
4270
+ "text": "LastWriteWinElementSetComponentDefinition",
4271
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
3787
4272
  },
3788
4273
  {
3789
4274
  "kind": "Content",
@@ -9158,17 +9643,40 @@
9158
9643
  }
9159
9644
  },
9160
9645
  {
9161
- "kind": "Interface",
9162
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface",
9646
+ "kind": "TypeAlias",
9647
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type",
9163
9648
  "docComment": "/**\n * @public\n */\n",
9164
9649
  "excerptTokens": [
9165
9650
  {
9166
9651
  "kind": "Content",
9167
- "text": "export interface ComponentDefinition<T> "
9652
+ "text": "export type ComponentDefinition<T> = "
9653
+ },
9654
+ {
9655
+ "kind": "Reference",
9656
+ "text": "LastWriteWinElementSetComponentDefinition",
9657
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
9658
+ },
9659
+ {
9660
+ "kind": "Content",
9661
+ "text": "<T> | "
9662
+ },
9663
+ {
9664
+ "kind": "Reference",
9665
+ "text": "GrowOnlyValueSetComponentDefinition",
9666
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface"
9667
+ },
9668
+ {
9669
+ "kind": "Content",
9670
+ "text": "<T>"
9671
+ },
9672
+ {
9673
+ "kind": "Content",
9674
+ "text": ";"
9168
9675
  }
9169
9676
  ],
9170
9677
  "fileUrlPath": "../ecs/dist/engine/component.d.ts",
9171
9678
  "releaseTag": "Public",
9679
+ "name": "ComponentDefinition",
9172
9680
  "typeParameters": [
9173
9681
  {
9174
9682
  "typeParameterName": "T",
@@ -9182,1098 +9690,413 @@
9182
9690
  }
9183
9691
  }
9184
9692
  ],
9185
- "name": "ComponentDefinition",
9693
+ "typeTokenRange": {
9694
+ "startIndex": 1,
9695
+ "endIndex": 5
9696
+ }
9697
+ },
9698
+ {
9699
+ "kind": "Enum",
9700
+ "canonicalReference": "@dcl/playground-assets!ComponentType:enum",
9701
+ "docComment": "/**\n * Component types are used to pick the wire protocol and the conflict resolution algorithm\n *\n * @public\n */\n",
9702
+ "excerptTokens": [
9703
+ {
9704
+ "kind": "Content",
9705
+ "text": "export declare const enum ComponentType "
9706
+ }
9707
+ ],
9708
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
9709
+ "releaseTag": "Public",
9710
+ "name": "ComponentType",
9186
9711
  "preserveMemberOrder": false,
9187
9712
  "members": [
9188
9713
  {
9189
- "kind": "PropertySignature",
9190
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#componentId:member",
9714
+ "kind": "EnumMember",
9715
+ "canonicalReference": "@dcl/playground-assets!ComponentType.GrowOnlyValueSet:member",
9191
9716
  "docComment": "",
9192
9717
  "excerptTokens": [
9193
9718
  {
9194
9719
  "kind": "Content",
9195
- "text": "readonly componentId: "
9196
- },
9197
- {
9198
- "kind": "Content",
9199
- "text": "number"
9720
+ "text": "GrowOnlyValueSet = "
9200
9721
  },
9201
9722
  {
9202
9723
  "kind": "Content",
9203
- "text": ";"
9724
+ "text": "1"
9204
9725
  }
9205
9726
  ],
9206
- "isReadonly": true,
9207
- "isOptional": false,
9208
- "releaseTag": "Public",
9209
- "name": "componentId",
9210
- "propertyTypeTokenRange": {
9727
+ "initializerTokenRange": {
9211
9728
  "startIndex": 1,
9212
9729
  "endIndex": 2
9213
- }
9730
+ },
9731
+ "releaseTag": "Public",
9732
+ "name": "GrowOnlyValueSet"
9214
9733
  },
9215
9734
  {
9216
- "kind": "PropertySignature",
9217
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#componentName:member",
9735
+ "kind": "EnumMember",
9736
+ "canonicalReference": "@dcl/playground-assets!ComponentType.LastWriteWinElementSet:member",
9218
9737
  "docComment": "",
9219
9738
  "excerptTokens": [
9220
9739
  {
9221
9740
  "kind": "Content",
9222
- "text": "readonly componentName: "
9223
- },
9224
- {
9225
- "kind": "Content",
9226
- "text": "string"
9741
+ "text": "LastWriteWinElementSet = "
9227
9742
  },
9228
9743
  {
9229
9744
  "kind": "Content",
9230
- "text": ";"
9745
+ "text": "0"
9231
9746
  }
9232
9747
  ],
9233
- "isReadonly": true,
9234
- "isOptional": false,
9235
- "releaseTag": "Public",
9236
- "name": "componentName",
9237
- "propertyTypeTokenRange": {
9748
+ "initializerTokenRange": {
9238
9749
  "startIndex": 1,
9239
9750
  "endIndex": 2
9240
- }
9751
+ },
9752
+ "releaseTag": "Public",
9753
+ "name": "LastWriteWinElementSet"
9754
+ }
9755
+ ]
9756
+ },
9757
+ {
9758
+ "kind": "TypeAlias",
9759
+ "canonicalReference": "@dcl/playground-assets!ConflictResolutionMessage:type",
9760
+ "docComment": "/**\n * A conflict resolution message is the response to an outdated or invalid state in the CRDT.\n *\n * @public\n */\n",
9761
+ "excerptTokens": [
9762
+ {
9763
+ "kind": "Content",
9764
+ "text": "export type ConflictResolutionMessage = "
9241
9765
  },
9242
9766
  {
9243
- "kind": "MethodSignature",
9244
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#create:member(1)",
9245
- "docComment": "/**\n * Add the current component to an entity, throw an error if the component already exists (use `createOrReplace` instead). - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity that will be used to create the component\n *\n * @param val - The initial value\n */\n",
9767
+ "kind": "Reference",
9768
+ "text": "PutComponentMessageBody",
9769
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
9770
+ },
9771
+ {
9772
+ "kind": "Content",
9773
+ "text": " | "
9774
+ },
9775
+ {
9776
+ "kind": "Reference",
9777
+ "text": "DeleteComponentMessageBody",
9778
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
9779
+ },
9780
+ {
9781
+ "kind": "Content",
9782
+ "text": ";"
9783
+ }
9784
+ ],
9785
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
9786
+ "releaseTag": "Public",
9787
+ "name": "ConflictResolutionMessage",
9788
+ "typeTokenRange": {
9789
+ "startIndex": 1,
9790
+ "endIndex": 4
9791
+ }
9792
+ },
9793
+ {
9794
+ "kind": "Variable",
9795
+ "canonicalReference": "@dcl/playground-assets!CRDT_MESSAGE_HEADER_LENGTH:var",
9796
+ "docComment": "/**\n * @public\n */\n",
9797
+ "excerptTokens": [
9798
+ {
9799
+ "kind": "Content",
9800
+ "text": "CRDT_MESSAGE_HEADER_LENGTH = "
9801
+ },
9802
+ {
9803
+ "kind": "Content",
9804
+ "text": "8"
9805
+ }
9806
+ ],
9807
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
9808
+ "initializerTokenRange": {
9809
+ "startIndex": 1,
9810
+ "endIndex": 2
9811
+ },
9812
+ "isReadonly": true,
9813
+ "releaseTag": "Public",
9814
+ "name": "CRDT_MESSAGE_HEADER_LENGTH",
9815
+ "variableTypeTokenRange": {
9816
+ "startIndex": 0,
9817
+ "endIndex": 0
9818
+ }
9819
+ },
9820
+ {
9821
+ "kind": "TypeAlias",
9822
+ "canonicalReference": "@dcl/playground-assets!CrdtMessage:type",
9823
+ "docComment": "/**\n * @public\n */\n",
9824
+ "excerptTokens": [
9825
+ {
9826
+ "kind": "Content",
9827
+ "text": "export type CrdtMessage = "
9828
+ },
9829
+ {
9830
+ "kind": "Reference",
9831
+ "text": "PutComponentMessage",
9832
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessage:type"
9833
+ },
9834
+ {
9835
+ "kind": "Content",
9836
+ "text": " | "
9837
+ },
9838
+ {
9839
+ "kind": "Reference",
9840
+ "text": "DeleteComponentMessage",
9841
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type"
9842
+ },
9843
+ {
9844
+ "kind": "Content",
9845
+ "text": " | "
9846
+ },
9847
+ {
9848
+ "kind": "Reference",
9849
+ "text": "DeleteEntityMessage",
9850
+ "canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type"
9851
+ },
9852
+ {
9853
+ "kind": "Content",
9854
+ "text": " | "
9855
+ },
9856
+ {
9857
+ "kind": "Reference",
9858
+ "text": "AppendValueMessage",
9859
+ "canonicalReference": "@dcl/playground-assets!AppendValueMessage:type"
9860
+ },
9861
+ {
9862
+ "kind": "Content",
9863
+ "text": ";"
9864
+ }
9865
+ ],
9866
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
9867
+ "releaseTag": "Public",
9868
+ "name": "CrdtMessage",
9869
+ "typeTokenRange": {
9870
+ "startIndex": 1,
9871
+ "endIndex": 8
9872
+ }
9873
+ },
9874
+ {
9875
+ "kind": "TypeAlias",
9876
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type",
9877
+ "docComment": "/**\n * @public\n */\n",
9878
+ "excerptTokens": [
9879
+ {
9880
+ "kind": "Content",
9881
+ "text": "export type CrdtMessageBody = "
9882
+ },
9883
+ {
9884
+ "kind": "Reference",
9885
+ "text": "PutComponentMessageBody",
9886
+ "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
9887
+ },
9888
+ {
9889
+ "kind": "Content",
9890
+ "text": " | "
9891
+ },
9892
+ {
9893
+ "kind": "Reference",
9894
+ "text": "DeleteComponentMessageBody",
9895
+ "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
9896
+ },
9897
+ {
9898
+ "kind": "Content",
9899
+ "text": " | "
9900
+ },
9901
+ {
9902
+ "kind": "Reference",
9903
+ "text": "DeleteEntityMessageBody",
9904
+ "canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type"
9905
+ },
9906
+ {
9907
+ "kind": "Content",
9908
+ "text": " | "
9909
+ },
9910
+ {
9911
+ "kind": "Reference",
9912
+ "text": "AppendValueMessageBody",
9913
+ "canonicalReference": "@dcl/playground-assets!AppendValueMessageBody:type"
9914
+ },
9915
+ {
9916
+ "kind": "Content",
9917
+ "text": ";"
9918
+ }
9919
+ ],
9920
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
9921
+ "releaseTag": "Public",
9922
+ "name": "CrdtMessageBody",
9923
+ "typeTokenRange": {
9924
+ "startIndex": 1,
9925
+ "endIndex": 8
9926
+ }
9927
+ },
9928
+ {
9929
+ "kind": "TypeAlias",
9930
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type",
9931
+ "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",
9932
+ "excerptTokens": [
9933
+ {
9934
+ "kind": "Content",
9935
+ "text": "export type CrdtMessageHeader = "
9936
+ },
9937
+ {
9938
+ "kind": "Content",
9939
+ "text": "{\n length: "
9940
+ },
9941
+ {
9942
+ "kind": "Reference",
9943
+ "text": "uint32",
9944
+ "canonicalReference": "@dcl/playground-assets!uint32:type"
9945
+ },
9946
+ {
9947
+ "kind": "Content",
9948
+ "text": ";\n type: "
9949
+ },
9950
+ {
9951
+ "kind": "Reference",
9952
+ "text": "uint32",
9953
+ "canonicalReference": "@dcl/playground-assets!uint32:type"
9954
+ },
9955
+ {
9956
+ "kind": "Content",
9957
+ "text": ";\n}"
9958
+ },
9959
+ {
9960
+ "kind": "Content",
9961
+ "text": ";"
9962
+ }
9963
+ ],
9964
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
9965
+ "releaseTag": "Public",
9966
+ "name": "CrdtMessageHeader",
9967
+ "typeTokenRange": {
9968
+ "startIndex": 1,
9969
+ "endIndex": 6
9970
+ }
9971
+ },
9972
+ {
9973
+ "kind": "Enum",
9974
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType:enum",
9975
+ "docComment": "/**\n * @public\n */\n",
9976
+ "excerptTokens": [
9977
+ {
9978
+ "kind": "Content",
9979
+ "text": "export declare enum CrdtMessageType "
9980
+ }
9981
+ ],
9982
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
9983
+ "releaseTag": "Public",
9984
+ "name": "CrdtMessageType",
9985
+ "preserveMemberOrder": false,
9986
+ "members": [
9987
+ {
9988
+ "kind": "EnumMember",
9989
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.APPEND_VALUE:member",
9990
+ "docComment": "",
9246
9991
  "excerptTokens": [
9247
9992
  {
9248
9993
  "kind": "Content",
9249
- "text": "create(entity: "
9250
- },
9251
- {
9252
- "kind": "Reference",
9253
- "text": "Entity",
9254
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9255
- },
9256
- {
9257
- "kind": "Content",
9258
- "text": ", val?: "
9259
- },
9260
- {
9261
- "kind": "Content",
9262
- "text": "T"
9263
- },
9264
- {
9265
- "kind": "Content",
9266
- "text": "): "
9267
- },
9268
- {
9269
- "kind": "Content",
9270
- "text": "T"
9994
+ "text": "APPEND_VALUE = "
9271
9995
  },
9272
9996
  {
9273
9997
  "kind": "Content",
9274
- "text": ";"
9998
+ "text": "4"
9275
9999
  }
9276
10000
  ],
9277
- "isOptional": false,
9278
- "returnTypeTokenRange": {
9279
- "startIndex": 5,
9280
- "endIndex": 6
10001
+ "initializerTokenRange": {
10002
+ "startIndex": 1,
10003
+ "endIndex": 2
9281
10004
  },
9282
10005
  "releaseTag": "Public",
9283
- "overloadIndex": 1,
9284
- "parameters": [
9285
- {
9286
- "parameterName": "entity",
9287
- "parameterTypeTokenRange": {
9288
- "startIndex": 1,
9289
- "endIndex": 2
9290
- },
9291
- "isOptional": false
9292
- },
9293
- {
9294
- "parameterName": "val",
9295
- "parameterTypeTokenRange": {
9296
- "startIndex": 3,
9297
- "endIndex": 4
9298
- },
9299
- "isOptional": true
9300
- }
9301
- ],
9302
- "name": "create"
10006
+ "name": "APPEND_VALUE"
9303
10007
  },
9304
10008
  {
9305
- "kind": "MethodSignature",
9306
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#createOrReplace:member(1)",
9307
- "docComment": "/**\n * Add the current component to an entity or replace the content if the entity already has the component - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity that will be used to create or replace the component\n *\n * @param val - The initial or new value\n */\n",
10009
+ "kind": "EnumMember",
10010
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
10011
+ "docComment": "",
9308
10012
  "excerptTokens": [
9309
10013
  {
9310
10014
  "kind": "Content",
9311
- "text": "createOrReplace(entity: "
9312
- },
9313
- {
9314
- "kind": "Reference",
9315
- "text": "Entity",
9316
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9317
- },
9318
- {
9319
- "kind": "Content",
9320
- "text": ", val?: "
9321
- },
9322
- {
9323
- "kind": "Content",
9324
- "text": "T"
9325
- },
9326
- {
9327
- "kind": "Content",
9328
- "text": "): "
9329
- },
9330
- {
9331
- "kind": "Content",
9332
- "text": "T"
10015
+ "text": "DELETE_COMPONENT = "
9333
10016
  },
9334
10017
  {
9335
10018
  "kind": "Content",
9336
- "text": ";"
10019
+ "text": "2"
9337
10020
  }
9338
10021
  ],
9339
- "isOptional": false,
9340
- "returnTypeTokenRange": {
9341
- "startIndex": 5,
9342
- "endIndex": 6
10022
+ "initializerTokenRange": {
10023
+ "startIndex": 1,
10024
+ "endIndex": 2
9343
10025
  },
9344
10026
  "releaseTag": "Public",
9345
- "overloadIndex": 1,
9346
- "parameters": [
9347
- {
9348
- "parameterName": "entity",
9349
- "parameterTypeTokenRange": {
9350
- "startIndex": 1,
9351
- "endIndex": 2
9352
- },
9353
- "isOptional": false
9354
- },
9355
- {
9356
- "parameterName": "val",
9357
- "parameterTypeTokenRange": {
9358
- "startIndex": 3,
9359
- "endIndex": 4
9360
- },
9361
- "isOptional": true
9362
- }
9363
- ],
9364
- "name": "createOrReplace"
10027
+ "name": "DELETE_COMPONENT"
9365
10028
  },
9366
10029
  {
9367
- "kind": "MethodSignature",
9368
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#default:member(1)",
9369
- "docComment": "/**\n * Return the default value of the current component\n */\n",
10030
+ "kind": "EnumMember",
10031
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_ENTITY:member",
10032
+ "docComment": "",
9370
10033
  "excerptTokens": [
9371
10034
  {
9372
10035
  "kind": "Content",
9373
- "text": "default(): "
9374
- },
9375
- {
9376
- "kind": "Reference",
9377
- "text": "DeepReadonly",
9378
- "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
9379
- },
9380
- {
9381
- "kind": "Content",
9382
- "text": "<T>"
10036
+ "text": "DELETE_ENTITY = "
9383
10037
  },
9384
10038
  {
9385
10039
  "kind": "Content",
9386
- "text": ";"
10040
+ "text": "3"
9387
10041
  }
9388
10042
  ],
9389
- "isOptional": false,
9390
- "returnTypeTokenRange": {
10043
+ "initializerTokenRange": {
9391
10044
  "startIndex": 1,
9392
- "endIndex": 3
10045
+ "endIndex": 2
9393
10046
  },
9394
10047
  "releaseTag": "Public",
9395
- "overloadIndex": 1,
9396
- "parameters": [],
9397
- "name": "default"
10048
+ "name": "DELETE_ENTITY"
9398
10049
  },
9399
10050
  {
9400
- "kind": "MethodSignature",
9401
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#deleteFrom:member(1)",
9402
- "docComment": "/**\n * Delete the current component to an entity, return null if the entity doesn't have the current component. - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity to delete the component from\n *\n * @public\n */\n",
10051
+ "kind": "EnumMember",
10052
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.MAX_MESSAGE_TYPE:member",
10053
+ "docComment": "",
9403
10054
  "excerptTokens": [
9404
10055
  {
9405
10056
  "kind": "Content",
9406
- "text": "deleteFrom(entity: "
9407
- },
9408
- {
9409
- "kind": "Reference",
9410
- "text": "Entity",
9411
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9412
- },
9413
- {
9414
- "kind": "Content",
9415
- "text": "): "
9416
- },
9417
- {
9418
- "kind": "Content",
9419
- "text": "T | null"
10057
+ "text": "MAX_MESSAGE_TYPE = "
9420
10058
  },
9421
10059
  {
9422
10060
  "kind": "Content",
9423
- "text": ";"
10061
+ "text": "5"
9424
10062
  }
9425
10063
  ],
9426
- "isOptional": false,
9427
- "returnTypeTokenRange": {
9428
- "startIndex": 3,
9429
- "endIndex": 4
10064
+ "initializerTokenRange": {
10065
+ "startIndex": 1,
10066
+ "endIndex": 2
9430
10067
  },
9431
10068
  "releaseTag": "Public",
9432
- "overloadIndex": 1,
9433
- "parameters": [
9434
- {
9435
- "parameterName": "entity",
9436
- "parameterTypeTokenRange": {
9437
- "startIndex": 1,
9438
- "endIndex": 2
9439
- },
9440
- "isOptional": false
9441
- }
9442
- ],
9443
- "name": "deleteFrom"
10069
+ "name": "MAX_MESSAGE_TYPE"
9444
10070
  },
9445
10071
  {
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",
10072
+ "kind": "EnumMember",
10073
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.PUT_COMPONENT:member",
10074
+ "docComment": "",
9449
10075
  "excerptTokens": [
9450
10076
  {
9451
10077
  "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: "
10078
+ "text": "PUT_COMPONENT = "
9462
10079
  },
9463
10080
  {
9464
10081
  "kind": "Content",
9465
- "text": "boolean"
9466
- },
10082
+ "text": "1"
10083
+ }
10084
+ ],
10085
+ "initializerTokenRange": {
10086
+ "startIndex": 1,
10087
+ "endIndex": 2
10088
+ },
10089
+ "releaseTag": "Public",
10090
+ "name": "PUT_COMPONENT"
10091
+ },
10092
+ {
10093
+ "kind": "EnumMember",
10094
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.RESERVED:member",
10095
+ "docComment": "",
10096
+ "excerptTokens": [
9467
10097
  {
9468
10098
  "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
- },
9507
- {
9508
- "kind": "MethodSignature",
9509
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#get:member(1)",
9510
- "docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), throw an error if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to get the component\n *\n * @returns \n */\n",
9511
- "excerptTokens": [
9512
- {
9513
- "kind": "Content",
9514
- "text": "get(entity: "
9515
- },
9516
- {
9517
- "kind": "Reference",
9518
- "text": "Entity",
9519
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9520
- },
9521
- {
9522
- "kind": "Content",
9523
- "text": "): "
9524
- },
9525
- {
9526
- "kind": "Reference",
9527
- "text": "DeepReadonly",
9528
- "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
9529
- },
9530
- {
9531
- "kind": "Content",
9532
- "text": "<T>"
9533
- },
9534
- {
9535
- "kind": "Content",
9536
- "text": ";"
9537
- }
9538
- ],
9539
- "isOptional": false,
9540
- "returnTypeTokenRange": {
9541
- "startIndex": 3,
9542
- "endIndex": 5
9543
- },
9544
- "releaseTag": "Public",
9545
- "overloadIndex": 1,
9546
- "parameters": [
9547
- {
9548
- "parameterName": "entity",
9549
- "parameterTypeTokenRange": {
9550
- "startIndex": 1,
9551
- "endIndex": 2
9552
- },
9553
- "isOptional": false
9554
- }
9555
- ],
9556
- "name": "get"
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
- },
9600
- {
9601
- "kind": "MethodSignature",
9602
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#getMutable:member(1)",
9603
- "docComment": "/**\n * Get the mutable component of the entity, throw an error if the entity doesn't have the component. - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity to get the component from\n */\n",
9604
- "excerptTokens": [
9605
- {
9606
- "kind": "Content",
9607
- "text": "getMutable(entity: "
9608
- },
9609
- {
9610
- "kind": "Reference",
9611
- "text": "Entity",
9612
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9613
- },
9614
- {
9615
- "kind": "Content",
9616
- "text": "): "
9617
- },
9618
- {
9619
- "kind": "Content",
9620
- "text": "T"
9621
- },
9622
- {
9623
- "kind": "Content",
9624
- "text": ";"
9625
- }
9626
- ],
9627
- "isOptional": false,
9628
- "returnTypeTokenRange": {
9629
- "startIndex": 3,
9630
- "endIndex": 4
9631
- },
9632
- "releaseTag": "Public",
9633
- "overloadIndex": 1,
9634
- "parameters": [
9635
- {
9636
- "parameterName": "entity",
9637
- "parameterTypeTokenRange": {
9638
- "startIndex": 1,
9639
- "endIndex": 2
9640
- },
9641
- "isOptional": false
9642
- }
9643
- ],
9644
- "name": "getMutable"
9645
- },
9646
- {
9647
- "kind": "MethodSignature",
9648
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#getMutableOrNull:member(1)",
9649
- "docComment": "/**\n * Get the mutable component of the entity, return null if the entity doesn't have the component. - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity to get the component from\n */\n",
9650
- "excerptTokens": [
9651
- {
9652
- "kind": "Content",
9653
- "text": "getMutableOrNull(entity: "
9654
- },
9655
- {
9656
- "kind": "Reference",
9657
- "text": "Entity",
9658
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9659
- },
9660
- {
9661
- "kind": "Content",
9662
- "text": "): "
9663
- },
9664
- {
9665
- "kind": "Content",
9666
- "text": "T | null"
9667
- },
9668
- {
9669
- "kind": "Content",
9670
- "text": ";"
9671
- }
9672
- ],
9673
- "isOptional": false,
9674
- "returnTypeTokenRange": {
9675
- "startIndex": 3,
9676
- "endIndex": 4
9677
- },
9678
- "releaseTag": "Public",
9679
- "overloadIndex": 1,
9680
- "parameters": [
9681
- {
9682
- "parameterName": "entity",
9683
- "parameterTypeTokenRange": {
9684
- "startIndex": 1,
9685
- "endIndex": 2
9686
- },
9687
- "isOptional": false
9688
- }
9689
- ],
9690
- "name": "getMutableOrNull"
9691
- },
9692
- {
9693
- "kind": "MethodSignature",
9694
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#getOrNull:member(1)",
9695
- "docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), or null if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to try to get the component\n */\n",
9696
- "excerptTokens": [
9697
- {
9698
- "kind": "Content",
9699
- "text": "getOrNull(entity: "
9700
- },
9701
- {
9702
- "kind": "Reference",
9703
- "text": "Entity",
9704
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9705
- },
9706
- {
9707
- "kind": "Content",
9708
- "text": "): "
9709
- },
9710
- {
9711
- "kind": "Reference",
9712
- "text": "DeepReadonly",
9713
- "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
9714
- },
9715
- {
9716
- "kind": "Content",
9717
- "text": "<T> | null"
9718
- },
9719
- {
9720
- "kind": "Content",
9721
- "text": ";"
9722
- }
9723
- ],
9724
- "isOptional": false,
9725
- "returnTypeTokenRange": {
9726
- "startIndex": 3,
9727
- "endIndex": 5
9728
- },
9729
- "releaseTag": "Public",
9730
- "overloadIndex": 1,
9731
- "parameters": [
9732
- {
9733
- "parameterName": "entity",
9734
- "parameterTypeTokenRange": {
9735
- "startIndex": 1,
9736
- "endIndex": 2
9737
- },
9738
- "isOptional": false
9739
- }
9740
- ],
9741
- "name": "getOrNull"
9742
- },
9743
- {
9744
- "kind": "MethodSignature",
9745
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition#has:member(1)",
9746
- "docComment": "/**\n * Get if the entity has this component\n *\n * @param entity - entity to test\n */\n",
9747
- "excerptTokens": [
9748
- {
9749
- "kind": "Content",
9750
- "text": "has(entity: "
9751
- },
9752
- {
9753
- "kind": "Reference",
9754
- "text": "Entity",
9755
- "canonicalReference": "@dcl/playground-assets!Entity:type"
9756
- },
9757
- {
9758
- "kind": "Content",
9759
- "text": "): "
9760
- },
9761
- {
9762
- "kind": "Content",
9763
- "text": "boolean"
9764
- },
9765
- {
9766
- "kind": "Content",
9767
- "text": ";"
9768
- }
9769
- ],
9770
- "isOptional": false,
9771
- "returnTypeTokenRange": {
9772
- "startIndex": 3,
9773
- "endIndex": 4
9774
- },
9775
- "releaseTag": "Public",
9776
- "overloadIndex": 1,
9777
- "parameters": [
9778
- {
9779
- "parameterName": "entity",
9780
- "parameterTypeTokenRange": {
9781
- "startIndex": 1,
9782
- "endIndex": 2
9783
- },
9784
- "isOptional": false
9785
- }
9786
- ],
9787
- "name": "has"
9788
- },
9789
- {
9790
- "kind": "MethodSignature",
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",
9793
- "excerptTokens": [
9794
- {
9795
- "kind": "Content",
9796
- "text": "updateFromCrdt(body: "
9797
- },
9798
- {
9799
- "kind": "Reference",
9800
- "text": "CrdtMessageBody",
9801
- "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
9802
- },
9803
- {
9804
- "kind": "Content",
9805
- "text": "): "
9806
- },
9807
- {
9808
- "kind": "Content",
9809
- "text": "[null | "
9810
- },
9811
- {
9812
- "kind": "Reference",
9813
- "text": "PutComponentMessageBody",
9814
- "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
9815
- },
9816
- {
9817
- "kind": "Content",
9818
- "text": " | "
9819
- },
9820
- {
9821
- "kind": "Reference",
9822
- "text": "DeleteComponentMessageBody",
9823
- "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
9824
- },
9825
- {
9826
- "kind": "Content",
9827
- "text": ", T | null]"
9828
- },
9829
- {
9830
- "kind": "Content",
9831
- "text": ";"
9832
- }
9833
- ],
9834
- "isOptional": false,
9835
- "returnTypeTokenRange": {
9836
- "startIndex": 3,
9837
- "endIndex": 8
9838
- },
9839
- "releaseTag": "Public",
9840
- "overloadIndex": 1,
9841
- "parameters": [
9842
- {
9843
- "parameterName": "body",
9844
- "parameterTypeTokenRange": {
9845
- "startIndex": 1,
9846
- "endIndex": 2
9847
- },
9848
- "isOptional": false
9849
- }
9850
- ],
9851
- "name": "updateFromCrdt"
9852
- }
9853
- ],
9854
- "extendsTokenRanges": []
9855
- },
9856
- {
9857
- "kind": "TypeAlias",
9858
- "canonicalReference": "@dcl/playground-assets!ComponentGetter:type",
9859
- "docComment": "",
9860
- "excerptTokens": [
9861
- {
9862
- "kind": "Content",
9863
- "text": "export type ComponentGetter<T extends "
9864
- },
9865
- {
9866
- "kind": "Reference",
9867
- "text": "ComponentDefinition",
9868
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
9869
- },
9870
- {
9871
- "kind": "Content",
9872
- "text": "<any>"
9873
- },
9874
- {
9875
- "kind": "Content",
9876
- "text": "> = "
9877
- },
9878
- {
9879
- "kind": "Content",
9880
- "text": "(engine: "
9881
- },
9882
- {
9883
- "kind": "Reference",
9884
- "text": "Pick",
9885
- "canonicalReference": "!Pick:type"
9886
- },
9887
- {
9888
- "kind": "Content",
9889
- "text": "<"
9890
- },
9891
- {
9892
- "kind": "Reference",
9893
- "text": "IEngine",
9894
- "canonicalReference": "@dcl/playground-assets!IEngine:interface"
9895
- },
9896
- {
9897
- "kind": "Content",
9898
- "text": ", 'defineComponentFromSchema'>) => T"
9899
- },
9900
- {
9901
- "kind": "Content",
9902
- "text": ";"
9903
- }
9904
- ],
9905
- "fileUrlPath": "../ecs/dist/components/generated/index.gen.d.ts",
9906
- "releaseTag": "Public",
9907
- "name": "ComponentGetter",
9908
- "typeParameters": [
9909
- {
9910
- "typeParameterName": "T",
9911
- "constraintTokenRange": {
9912
- "startIndex": 1,
9913
- "endIndex": 3
9914
- },
9915
- "defaultTypeTokenRange": {
9916
- "startIndex": 0,
9917
- "endIndex": 0
9918
- }
9919
- }
9920
- ],
9921
- "typeTokenRange": {
9922
- "startIndex": 4,
9923
- "endIndex": 9
9924
- }
9925
- },
9926
- {
9927
- "kind": "TypeAlias",
9928
- "canonicalReference": "@dcl/playground-assets!ComponentSchema:type",
9929
- "docComment": "/**\n * @public\n */\n",
9930
- "excerptTokens": [
9931
- {
9932
- "kind": "Content",
9933
- "text": "export type ComponentSchema<T extends "
9934
- },
9935
- {
9936
- "kind": "Content",
9937
- "text": "["
9938
- },
9939
- {
9940
- "kind": "Reference",
9941
- "text": "ComponentDefinition",
9942
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
9943
- },
9944
- {
9945
- "kind": "Content",
9946
- "text": "<any>, ..."
9947
- },
9948
- {
9949
- "kind": "Reference",
9950
- "text": "ComponentDefinition",
9951
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
9952
- },
9953
- {
9954
- "kind": "Content",
9955
- "text": "<any>[]]"
9956
- },
9957
- {
9958
- "kind": "Content",
9959
- "text": "> = "
9960
- },
9961
- {
9962
- "kind": "Content",
9963
- "text": "{\n [K in keyof T]: T[K] extends "
9964
- },
9965
- {
9966
- "kind": "Reference",
9967
- "text": "ComponentDefinition",
9968
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
9969
- },
9970
- {
9971
- "kind": "Content",
9972
- "text": "<any> ? "
9973
- },
9974
- {
9975
- "kind": "Reference",
9976
- "text": "ReturnType",
9977
- "canonicalReference": "!ReturnType:type"
9978
- },
9979
- {
9980
- "kind": "Content",
9981
- "text": "<T[K]['getMutable']> : never;\n}"
9982
- },
9983
- {
9984
- "kind": "Content",
9985
- "text": ";"
9986
- }
9987
- ],
9988
- "fileUrlPath": "../ecs/dist/engine/types.d.ts",
9989
- "releaseTag": "Public",
9990
- "name": "ComponentSchema",
9991
- "typeParameters": [
9992
- {
9993
- "typeParameterName": "T",
9994
- "constraintTokenRange": {
9995
- "startIndex": 1,
9996
- "endIndex": 6
9997
- },
9998
- "defaultTypeTokenRange": {
9999
- "startIndex": 0,
10000
- "endIndex": 0
10001
- }
10002
- }
10003
- ],
10004
- "typeTokenRange": {
10005
- "startIndex": 7,
10006
- "endIndex": 12
10007
- }
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
- },
10081
- {
10082
- "kind": "TypeAlias",
10083
- "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type",
10084
- "docComment": "/**\n * @public\n */\n",
10085
- "excerptTokens": [
10086
- {
10087
- "kind": "Content",
10088
- "text": "export type CrdtMessageBody = "
10089
- },
10090
- {
10091
- "kind": "Reference",
10092
- "text": "PutComponentMessageBody",
10093
- "canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
10094
- },
10095
- {
10096
- "kind": "Content",
10097
- "text": " | "
10098
- },
10099
- {
10100
- "kind": "Reference",
10101
- "text": "DeleteComponentMessageBody",
10102
- "canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
10103
- },
10104
- {
10105
- "kind": "Content",
10106
- "text": " | "
10107
- },
10108
- {
10109
- "kind": "Reference",
10110
- "text": "DeleteEntityMessageBody",
10111
- "canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type"
10112
- },
10113
- {
10114
- "kind": "Content",
10115
- "text": ";"
10116
- }
10117
- ],
10118
- "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
10119
- "releaseTag": "Public",
10120
- "name": "CrdtMessageBody",
10121
- "typeTokenRange": {
10122
- "startIndex": 1,
10123
- "endIndex": 6
10124
- }
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
- },
10170
- {
10171
- "kind": "Enum",
10172
- "canonicalReference": "@dcl/playground-assets!CrdtMessageType:enum",
10173
- "docComment": "/**\n * @public\n */\n",
10174
- "excerptTokens": [
10175
- {
10176
- "kind": "Content",
10177
- "text": "export declare enum CrdtMessageType "
10178
- }
10179
- ],
10180
- "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
10181
- "releaseTag": "Public",
10182
- "name": "CrdtMessageType",
10183
- "preserveMemberOrder": false,
10184
- "members": [
10185
- {
10186
- "kind": "EnumMember",
10187
- "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
10188
- "docComment": "",
10189
- "excerptTokens": [
10190
- {
10191
- "kind": "Content",
10192
- "text": "DELETE_COMPONENT = "
10193
- },
10194
- {
10195
- "kind": "Content",
10196
- "text": "2"
10197
- }
10198
- ],
10199
- "initializerTokenRange": {
10200
- "startIndex": 1,
10201
- "endIndex": 2
10202
- },
10203
- "releaseTag": "Public",
10204
- "name": "DELETE_COMPONENT"
10205
- },
10206
- {
10207
- "kind": "EnumMember",
10208
- "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_ENTITY:member",
10209
- "docComment": "",
10210
- "excerptTokens": [
10211
- {
10212
- "kind": "Content",
10213
- "text": "DELETE_ENTITY = "
10214
- },
10215
- {
10216
- "kind": "Content",
10217
- "text": "3"
10218
- }
10219
- ],
10220
- "initializerTokenRange": {
10221
- "startIndex": 1,
10222
- "endIndex": 2
10223
- },
10224
- "releaseTag": "Public",
10225
- "name": "DELETE_ENTITY"
10226
- },
10227
- {
10228
- "kind": "EnumMember",
10229
- "canonicalReference": "@dcl/playground-assets!CrdtMessageType.MAX_MESSAGE_TYPE:member",
10230
- "docComment": "",
10231
- "excerptTokens": [
10232
- {
10233
- "kind": "Content",
10234
- "text": "MAX_MESSAGE_TYPE = "
10235
- },
10236
- {
10237
- "kind": "Content",
10238
- "text": "4"
10239
- }
10240
- ],
10241
- "initializerTokenRange": {
10242
- "startIndex": 1,
10243
- "endIndex": 2
10244
- },
10245
- "releaseTag": "Public",
10246
- "name": "MAX_MESSAGE_TYPE"
10247
- },
10248
- {
10249
- "kind": "EnumMember",
10250
- "canonicalReference": "@dcl/playground-assets!CrdtMessageType.PUT_COMPONENT:member",
10251
- "docComment": "",
10252
- "excerptTokens": [
10253
- {
10254
- "kind": "Content",
10255
- "text": "PUT_COMPONENT = "
10256
- },
10257
- {
10258
- "kind": "Content",
10259
- "text": "1"
10260
- }
10261
- ],
10262
- "initializerTokenRange": {
10263
- "startIndex": 1,
10264
- "endIndex": 2
10265
- },
10266
- "releaseTag": "Public",
10267
- "name": "PUT_COMPONENT"
10268
- },
10269
- {
10270
- "kind": "EnumMember",
10271
- "canonicalReference": "@dcl/playground-assets!CrdtMessageType.RESERVED:member",
10272
- "docComment": "",
10273
- "excerptTokens": [
10274
- {
10275
- "kind": "Content",
10276
- "text": "RESERVED = "
10099
+ "text": "RESERVED = "
10277
10100
  },
10278
10101
  {
10279
10102
  "kind": "Content",
@@ -10353,360 +10176,6 @@
10353
10176
  "parameters": [],
10354
10177
  "name": "createEthereumProvider"
10355
10178
  },
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
- },
10710
10179
  {
10711
10180
  "kind": "Function",
10712
10181
  "canonicalReference": "@dcl/playground-assets!cyclicParentingChecker:function(1)",
@@ -10775,6 +10244,33 @@
10775
10244
  "kind": "Content",
10776
10245
  "text": " ? T : T extends "
10777
10246
  },
10247
+ {
10248
+ "kind": "Reference",
10249
+ "text": "Array",
10250
+ "canonicalReference": "!Array:interface"
10251
+ },
10252
+ {
10253
+ "kind": "Content",
10254
+ "text": "<infer K> ? "
10255
+ },
10256
+ {
10257
+ "kind": "Reference",
10258
+ "text": "ReadonlyArray",
10259
+ "canonicalReference": "!ReadonlyArray:interface"
10260
+ },
10261
+ {
10262
+ "kind": "Content",
10263
+ "text": "<"
10264
+ },
10265
+ {
10266
+ "kind": "Reference",
10267
+ "text": "DeepReadonly",
10268
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
10269
+ },
10270
+ {
10271
+ "kind": "Content",
10272
+ "text": "<K>> : T extends "
10273
+ },
10778
10274
  {
10779
10275
  "kind": "Reference",
10780
10276
  "text": "Map",
@@ -10843,7 +10339,7 @@
10843
10339
  ],
10844
10340
  "typeTokenRange": {
10845
10341
  "startIndex": 1,
10846
- "endIndex": 14
10342
+ "endIndex": 20
10847
10343
  }
10848
10344
  },
10849
10345
  {
@@ -10862,16 +10358,7 @@
10862
10358
  },
10863
10359
  {
10864
10360
  "kind": "Content",
10865
- "text": "<"
10866
- },
10867
- {
10868
- "kind": "Reference",
10869
- "text": "DeepReadonly",
10870
- "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
10871
- },
10872
- {
10873
- "kind": "Content",
10874
- "text": "<K>, "
10361
+ "text": "<K, "
10875
10362
  },
10876
10363
  {
10877
10364
  "kind": "Reference",
@@ -10916,7 +10403,7 @@
10916
10403
  ],
10917
10404
  "typeTokenRange": {
10918
10405
  "startIndex": 1,
10919
- "endIndex": 7
10406
+ "endIndex": 5
10920
10407
  }
10921
10408
  },
10922
10409
  {
@@ -11948,8 +11435,8 @@
11948
11435
  },
11949
11436
  {
11950
11437
  "kind": "Reference",
11951
- "text": "PBPointerEventsResult_PointerCommand",
11952
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand:interface"
11438
+ "text": "PBPointerEventsResult",
11439
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult:interface"
11953
11440
  },
11954
11441
  {
11955
11442
  "kind": "Content",
@@ -12362,8 +11849,8 @@
12362
11849
  },
12363
11850
  {
12364
11851
  "kind": "Reference",
12365
- "text": "ComponentDefinition",
12366
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
11852
+ "text": "LastWriteWinElementSetComponentDefinition",
11853
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
12367
11854
  },
12368
11855
  {
12369
11856
  "kind": "Content",
@@ -12388,6 +11875,276 @@
12388
11875
  "endIndex": 5
12389
11876
  }
12390
11877
  },
11878
+ {
11879
+ "kind": "Interface",
11880
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface",
11881
+ "docComment": "/**\n * @public\n */\n",
11882
+ "excerptTokens": [
11883
+ {
11884
+ "kind": "Content",
11885
+ "text": "export interface GrowOnlyValueSetComponentDefinition<T> extends "
11886
+ },
11887
+ {
11888
+ "kind": "Reference",
11889
+ "text": "BaseComponent",
11890
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
11891
+ },
11892
+ {
11893
+ "kind": "Content",
11894
+ "text": "<T>"
11895
+ },
11896
+ {
11897
+ "kind": "Content",
11898
+ "text": " "
11899
+ }
11900
+ ],
11901
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
11902
+ "releaseTag": "Public",
11903
+ "typeParameters": [
11904
+ {
11905
+ "typeParameterName": "T",
11906
+ "constraintTokenRange": {
11907
+ "startIndex": 0,
11908
+ "endIndex": 0
11909
+ },
11910
+ "defaultTypeTokenRange": {
11911
+ "startIndex": 0,
11912
+ "endIndex": 0
11913
+ }
11914
+ }
11915
+ ],
11916
+ "name": "GrowOnlyValueSetComponentDefinition",
11917
+ "preserveMemberOrder": false,
11918
+ "members": [
11919
+ {
11920
+ "kind": "MethodSignature",
11921
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition#addValue:member(1)",
11922
+ "docComment": "/**\n * Appends an element to the set.\n *\n * @param entity - Entity that will host the value\n *\n * @param val - The final value. The Set will freeze the value, it won't be editable from the script.\n */\n",
11923
+ "excerptTokens": [
11924
+ {
11925
+ "kind": "Content",
11926
+ "text": "addValue(entity: "
11927
+ },
11928
+ {
11929
+ "kind": "Reference",
11930
+ "text": "Entity",
11931
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
11932
+ },
11933
+ {
11934
+ "kind": "Content",
11935
+ "text": ", val: "
11936
+ },
11937
+ {
11938
+ "kind": "Reference",
11939
+ "text": "DeepReadonly",
11940
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
11941
+ },
11942
+ {
11943
+ "kind": "Content",
11944
+ "text": "<T>"
11945
+ },
11946
+ {
11947
+ "kind": "Content",
11948
+ "text": "): "
11949
+ },
11950
+ {
11951
+ "kind": "Reference",
11952
+ "text": "DeepReadonlySet",
11953
+ "canonicalReference": "@dcl/playground-assets!DeepReadonlySet:type"
11954
+ },
11955
+ {
11956
+ "kind": "Content",
11957
+ "text": "<T>"
11958
+ },
11959
+ {
11960
+ "kind": "Content",
11961
+ "text": ";"
11962
+ }
11963
+ ],
11964
+ "isOptional": false,
11965
+ "returnTypeTokenRange": {
11966
+ "startIndex": 6,
11967
+ "endIndex": 8
11968
+ },
11969
+ "releaseTag": "Public",
11970
+ "overloadIndex": 1,
11971
+ "parameters": [
11972
+ {
11973
+ "parameterName": "entity",
11974
+ "parameterTypeTokenRange": {
11975
+ "startIndex": 1,
11976
+ "endIndex": 2
11977
+ },
11978
+ "isOptional": false
11979
+ },
11980
+ {
11981
+ "parameterName": "val",
11982
+ "parameterTypeTokenRange": {
11983
+ "startIndex": 3,
11984
+ "endIndex": 5
11985
+ },
11986
+ "isOptional": false
11987
+ }
11988
+ ],
11989
+ "name": "addValue"
11990
+ },
11991
+ {
11992
+ "kind": "PropertySignature",
11993
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition#componentType:member",
11994
+ "docComment": "",
11995
+ "excerptTokens": [
11996
+ {
11997
+ "kind": "Content",
11998
+ "text": "readonly componentType: "
11999
+ },
12000
+ {
12001
+ "kind": "Reference",
12002
+ "text": "ComponentType.GrowOnlyValueSet",
12003
+ "canonicalReference": "@dcl/playground-assets!ComponentType.GrowOnlyValueSet:member"
12004
+ },
12005
+ {
12006
+ "kind": "Content",
12007
+ "text": ";"
12008
+ }
12009
+ ],
12010
+ "isReadonly": true,
12011
+ "isOptional": false,
12012
+ "releaseTag": "Public",
12013
+ "name": "componentType",
12014
+ "propertyTypeTokenRange": {
12015
+ "startIndex": 1,
12016
+ "endIndex": 2
12017
+ }
12018
+ },
12019
+ {
12020
+ "kind": "MethodSignature",
12021
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition#get:member(1)",
12022
+ "docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), throws an error if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to get the component\n *\n * @returns \n */\n",
12023
+ "excerptTokens": [
12024
+ {
12025
+ "kind": "Content",
12026
+ "text": "get(entity: "
12027
+ },
12028
+ {
12029
+ "kind": "Reference",
12030
+ "text": "Entity",
12031
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
12032
+ },
12033
+ {
12034
+ "kind": "Content",
12035
+ "text": "): "
12036
+ },
12037
+ {
12038
+ "kind": "Reference",
12039
+ "text": "DeepReadonlySet",
12040
+ "canonicalReference": "@dcl/playground-assets!DeepReadonlySet:type"
12041
+ },
12042
+ {
12043
+ "kind": "Content",
12044
+ "text": "<T>"
12045
+ },
12046
+ {
12047
+ "kind": "Content",
12048
+ "text": ";"
12049
+ }
12050
+ ],
12051
+ "isOptional": false,
12052
+ "returnTypeTokenRange": {
12053
+ "startIndex": 3,
12054
+ "endIndex": 5
12055
+ },
12056
+ "releaseTag": "Public",
12057
+ "overloadIndex": 1,
12058
+ "parameters": [
12059
+ {
12060
+ "parameterName": "entity",
12061
+ "parameterTypeTokenRange": {
12062
+ "startIndex": 1,
12063
+ "endIndex": 2
12064
+ },
12065
+ "isOptional": false
12066
+ }
12067
+ ],
12068
+ "name": "get"
12069
+ }
12070
+ ],
12071
+ "extendsTokenRanges": [
12072
+ {
12073
+ "startIndex": 1,
12074
+ "endIndex": 3
12075
+ }
12076
+ ]
12077
+ },
12078
+ {
12079
+ "kind": "TypeAlias",
12080
+ "canonicalReference": "@dcl/playground-assets!GSetComponentGetter:type",
12081
+ "docComment": "",
12082
+ "excerptTokens": [
12083
+ {
12084
+ "kind": "Content",
12085
+ "text": "export type GSetComponentGetter<T extends "
12086
+ },
12087
+ {
12088
+ "kind": "Reference",
12089
+ "text": "GrowOnlyValueSetComponentDefinition",
12090
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface"
12091
+ },
12092
+ {
12093
+ "kind": "Content",
12094
+ "text": "<any>"
12095
+ },
12096
+ {
12097
+ "kind": "Content",
12098
+ "text": "> = "
12099
+ },
12100
+ {
12101
+ "kind": "Content",
12102
+ "text": "(engine: "
12103
+ },
12104
+ {
12105
+ "kind": "Reference",
12106
+ "text": "Pick",
12107
+ "canonicalReference": "!Pick:type"
12108
+ },
12109
+ {
12110
+ "kind": "Content",
12111
+ "text": "<"
12112
+ },
12113
+ {
12114
+ "kind": "Reference",
12115
+ "text": "IEngine",
12116
+ "canonicalReference": "@dcl/playground-assets!IEngine:interface"
12117
+ },
12118
+ {
12119
+ "kind": "Content",
12120
+ "text": ", 'defineValueSetComponentFromSchema'>) => T"
12121
+ },
12122
+ {
12123
+ "kind": "Content",
12124
+ "text": ";"
12125
+ }
12126
+ ],
12127
+ "fileUrlPath": "../ecs/dist/components/generated/index.gen.d.ts",
12128
+ "releaseTag": "Public",
12129
+ "name": "GSetComponentGetter",
12130
+ "typeParameters": [
12131
+ {
12132
+ "typeParameterName": "T",
12133
+ "constraintTokenRange": {
12134
+ "startIndex": 1,
12135
+ "endIndex": 3
12136
+ },
12137
+ "defaultTypeTokenRange": {
12138
+ "startIndex": 0,
12139
+ "endIndex": 0
12140
+ }
12141
+ }
12142
+ ],
12143
+ "typeTokenRange": {
12144
+ "startIndex": 4,
12145
+ "endIndex": 9
12146
+ }
12147
+ },
12391
12148
  {
12392
12149
  "kind": "Interface",
12393
12150
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -12576,7 +12333,7 @@
12576
12333
  {
12577
12334
  "kind": "Reference",
12578
12335
  "text": "ComponentDefinition",
12579
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
12336
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
12580
12337
  },
12581
12338
  {
12582
12339
  "kind": "Content",
@@ -12756,8 +12513,8 @@
12756
12513
  },
12757
12514
  {
12758
12515
  "kind": "Reference",
12759
- "text": "ComponentDefinition",
12760
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
12516
+ "text": "LastWriteWinElementSetComponentDefinition",
12517
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
12761
12518
  },
12762
12519
  {
12763
12520
  "kind": "Content",
@@ -12808,6 +12565,111 @@
12808
12565
  ],
12809
12566
  "name": "defineComponentFromSchema"
12810
12567
  },
12568
+ {
12569
+ "kind": "MethodSignature",
12570
+ "canonicalReference": "@dcl/playground-assets!IEngine#defineValueSetComponentFromSchema:member(1)",
12571
+ "docComment": "/**\n * Defines a value set component.\n *\n * @param componentName - unique name to identify the component, a hash is calculated for it, it will fail if the hash has collisions.\n *\n * @param spec - An object with schema fields\n *\n * @returns The component definition\n *\n * @example\n * ```ts\n * const StateComponentId = 10023\n * const StateComponent = engine.defineValueSetComponentFromSchema(\"my-lib::VisibleComponent\", Schemas.Int)\n * ```\n *\n * @public\n */\n",
12572
+ "excerptTokens": [
12573
+ {
12574
+ "kind": "Content",
12575
+ "text": "defineValueSetComponentFromSchema<T>(componentName: "
12576
+ },
12577
+ {
12578
+ "kind": "Content",
12579
+ "text": "string"
12580
+ },
12581
+ {
12582
+ "kind": "Content",
12583
+ "text": ", spec: "
12584
+ },
12585
+ {
12586
+ "kind": "Reference",
12587
+ "text": "ISchema",
12588
+ "canonicalReference": "@dcl/playground-assets!ISchema:interface"
12589
+ },
12590
+ {
12591
+ "kind": "Content",
12592
+ "text": "<T>"
12593
+ },
12594
+ {
12595
+ "kind": "Content",
12596
+ "text": ", options: "
12597
+ },
12598
+ {
12599
+ "kind": "Reference",
12600
+ "text": "ValueSetOptions",
12601
+ "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type"
12602
+ },
12603
+ {
12604
+ "kind": "Content",
12605
+ "text": "<T>"
12606
+ },
12607
+ {
12608
+ "kind": "Content",
12609
+ "text": "): "
12610
+ },
12611
+ {
12612
+ "kind": "Reference",
12613
+ "text": "GrowOnlyValueSetComponentDefinition",
12614
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface"
12615
+ },
12616
+ {
12617
+ "kind": "Content",
12618
+ "text": "<T>"
12619
+ },
12620
+ {
12621
+ "kind": "Content",
12622
+ "text": ";"
12623
+ }
12624
+ ],
12625
+ "isOptional": false,
12626
+ "returnTypeTokenRange": {
12627
+ "startIndex": 9,
12628
+ "endIndex": 11
12629
+ },
12630
+ "releaseTag": "Public",
12631
+ "overloadIndex": 1,
12632
+ "parameters": [
12633
+ {
12634
+ "parameterName": "componentName",
12635
+ "parameterTypeTokenRange": {
12636
+ "startIndex": 1,
12637
+ "endIndex": 2
12638
+ },
12639
+ "isOptional": false
12640
+ },
12641
+ {
12642
+ "parameterName": "spec",
12643
+ "parameterTypeTokenRange": {
12644
+ "startIndex": 3,
12645
+ "endIndex": 5
12646
+ },
12647
+ "isOptional": false
12648
+ },
12649
+ {
12650
+ "parameterName": "options",
12651
+ "parameterTypeTokenRange": {
12652
+ "startIndex": 6,
12653
+ "endIndex": 8
12654
+ },
12655
+ "isOptional": false
12656
+ }
12657
+ ],
12658
+ "typeParameters": [
12659
+ {
12660
+ "typeParameterName": "T",
12661
+ "constraintTokenRange": {
12662
+ "startIndex": 0,
12663
+ "endIndex": 0
12664
+ },
12665
+ "defaultTypeTokenRange": {
12666
+ "startIndex": 0,
12667
+ "endIndex": 0
12668
+ }
12669
+ }
12670
+ ],
12671
+ "name": "defineValueSetComponentFromSchema"
12672
+ },
12811
12673
  {
12812
12674
  "kind": "MethodSignature",
12813
12675
  "canonicalReference": "@dcl/playground-assets!IEngine#getComponent:member(1)",
@@ -12828,7 +12690,7 @@
12828
12690
  {
12829
12691
  "kind": "Reference",
12830
12692
  "text": "ComponentDefinition",
12831
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
12693
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
12832
12694
  },
12833
12695
  {
12834
12696
  "kind": "Content",
@@ -12891,7 +12753,7 @@
12891
12753
  {
12892
12754
  "kind": "Reference",
12893
12755
  "text": "ComponentDefinition",
12894
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
12756
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
12895
12757
  },
12896
12758
  {
12897
12759
  "kind": "Content",
@@ -12950,7 +12812,7 @@
12950
12812
  {
12951
12813
  "kind": "Reference",
12952
12814
  "text": "ComponentDefinition",
12953
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
12815
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
12954
12816
  },
12955
12817
  {
12956
12818
  "kind": "Content",
@@ -12959,7 +12821,7 @@
12959
12821
  {
12960
12822
  "kind": "Reference",
12961
12823
  "text": "ComponentDefinition",
12962
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
12824
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
12963
12825
  },
12964
12826
  {
12965
12827
  "kind": "Content",
@@ -13136,7 +12998,7 @@
13136
12998
  {
13137
12999
  "kind": "Reference",
13138
13000
  "text": "ComponentDefinition",
13139
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
13001
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
13140
13002
  },
13141
13003
  {
13142
13004
  "kind": "Content",
@@ -13149,7 +13011,7 @@
13149
13011
  {
13150
13012
  "kind": "Reference",
13151
13013
  "text": "ComponentDefinition",
13152
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
13014
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
13153
13015
  },
13154
13016
  {
13155
13017
  "kind": "Content",
@@ -14772,7 +14634,7 @@
14772
14634
  },
14773
14635
  {
14774
14636
  "kind": "Content",
14775
- "text": ", entity?: "
14637
+ "text": ", entity: "
14776
14638
  },
14777
14639
  {
14778
14640
  "kind": "Reference",
@@ -14808,7 +14670,7 @@
14808
14670
  },
14809
14671
  {
14810
14672
  "kind": "Content",
14811
- "text": ", entity?: "
14673
+ "text": ", entity: "
14812
14674
  },
14813
14675
  {
14814
14676
  "kind": "Reference",
@@ -14821,8 +14683,8 @@
14821
14683
  },
14822
14684
  {
14823
14685
  "kind": "Reference",
14824
- "text": "PBPointerEventsResult_PointerCommand",
14825
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand:interface"
14686
+ "text": "PBPointerEventsResult",
14687
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult:interface"
14826
14688
  },
14827
14689
  {
14828
14690
  "kind": "Content",
@@ -14830,131 +14692,55 @@
14830
14692
  },
14831
14693
  {
14832
14694
  "kind": "Content",
14833
- "text": ";"
14834
- }
14835
- ],
14836
- "fileUrlPath": "../ecs/dist/engine/input.d.ts",
14837
- "releaseTag": "Public",
14838
- "name": "IInputSystem",
14839
- "typeTokenRange": {
14840
- "startIndex": 1,
14841
- "endIndex": 18
14842
- }
14843
- },
14844
- {
14845
- "kind": "TypeAlias",
14846
- "canonicalReference": "@dcl/playground-assets!IncludeUndefined:type",
14847
- "docComment": "/**\n * Include property keys from T where the property is assignable to U\n *\n * @public\n */\n",
14848
- "excerptTokens": [
14849
- {
14850
- "kind": "Content",
14851
- "text": "export type IncludeUndefined<T> = "
14852
- },
14853
- {
14854
- "kind": "Content",
14855
- "text": "{\n [P in keyof T]: undefined extends T[P] ? P : never;\n}[keyof T]"
14856
- },
14857
- {
14858
- "kind": "Content",
14859
- "text": ";"
14860
- }
14861
- ],
14862
- "fileUrlPath": "../ecs/dist/schemas/typing.d.ts",
14863
- "releaseTag": "Public",
14864
- "name": "IncludeUndefined",
14865
- "typeParameters": [
14866
- {
14867
- "typeParameterName": "T",
14868
- "constraintTokenRange": {
14869
- "startIndex": 0,
14870
- "endIndex": 0
14871
- },
14872
- "defaultTypeTokenRange": {
14873
- "startIndex": 0,
14874
- "endIndex": 0
14875
- }
14876
- }
14877
- ],
14878
- "typeTokenRange": {
14879
- "startIndex": 1,
14880
- "endIndex": 2
14881
- }
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
- },
14695
+ "text": ";"
14696
+ }
14697
+ ],
14698
+ "fileUrlPath": "../ecs/dist/engine/input.d.ts",
14699
+ "releaseTag": "Public",
14700
+ "name": "IInputSystem",
14701
+ "typeTokenRange": {
14702
+ "startIndex": 1,
14703
+ "endIndex": 18
14704
+ }
14705
+ },
14706
+ {
14707
+ "kind": "TypeAlias",
14708
+ "canonicalReference": "@dcl/playground-assets!IncludeUndefined:type",
14709
+ "docComment": "/**\n * Include property keys from T where the property is assignable to U\n *\n * @public\n */\n",
14710
+ "excerptTokens": [
14919
14711
  {
14920
14712
  "kind": "Content",
14921
- "text": "): "
14713
+ "text": "export type IncludeUndefined<T> = "
14922
14714
  },
14923
14715
  {
14924
14716
  "kind": "Content",
14925
- "text": "number"
14717
+ "text": "{\n [P in keyof T]: undefined extends T[P] ? P : never;\n}[keyof T]"
14926
14718
  },
14927
14719
  {
14928
14720
  "kind": "Content",
14929
14721
  "text": ";"
14930
14722
  }
14931
14723
  ],
14932
- "fileUrlPath": "../ecs/dist/engine/component.d.ts",
14933
- "returnTypeTokenRange": {
14934
- "startIndex": 8,
14935
- "endIndex": 9
14936
- },
14724
+ "fileUrlPath": "../ecs/dist/schemas/typing.d.ts",
14937
14725
  "releaseTag": "Public",
14938
- "overloadIndex": 1,
14939
- "parameters": [
14940
- {
14941
- "parameterName": "entity",
14942
- "parameterTypeTokenRange": {
14943
- "startIndex": 1,
14944
- "endIndex": 2
14945
- },
14946
- "isOptional": false
14947
- },
14726
+ "name": "IncludeUndefined",
14727
+ "typeParameters": [
14948
14728
  {
14949
- "parameterName": "timestamps",
14950
- "parameterTypeTokenRange": {
14951
- "startIndex": 3,
14952
- "endIndex": 7
14729
+ "typeParameterName": "T",
14730
+ "constraintTokenRange": {
14731
+ "startIndex": 0,
14732
+ "endIndex": 0
14953
14733
  },
14954
- "isOptional": false
14734
+ "defaultTypeTokenRange": {
14735
+ "startIndex": 0,
14736
+ "endIndex": 0
14737
+ }
14955
14738
  }
14956
14739
  ],
14957
- "name": "incrementTimestamp"
14740
+ "typeTokenRange": {
14741
+ "startIndex": 1,
14742
+ "endIndex": 2
14743
+ }
14958
14744
  },
14959
14745
  {
14960
14746
  "kind": "Function",
@@ -15552,7 +15338,25 @@
15552
15338
  },
15553
15339
  {
15554
15340
  "kind": "Content",
15555
- "text": "(base?: T) => T"
15341
+ "text": "(base: "
15342
+ },
15343
+ {
15344
+ "kind": "Reference",
15345
+ "text": "Partial",
15346
+ "canonicalReference": "!Partial:type"
15347
+ },
15348
+ {
15349
+ "kind": "Content",
15350
+ "text": "<"
15351
+ },
15352
+ {
15353
+ "kind": "Reference",
15354
+ "text": "DeepReadonly",
15355
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
15356
+ },
15357
+ {
15358
+ "kind": "Content",
15359
+ "text": "<T>> | undefined) => T"
15556
15360
  },
15557
15361
  {
15558
15362
  "kind": "Content",
@@ -15565,7 +15369,7 @@
15565
15369
  "name": "extend",
15566
15370
  "propertyTypeTokenRange": {
15567
15371
  "startIndex": 1,
15568
- "endIndex": 2
15372
+ "endIndex": 6
15569
15373
  }
15570
15374
  },
15571
15375
  {
@@ -15577,9 +15381,14 @@
15577
15381
  "kind": "Content",
15578
15382
  "text": "serialize(value: "
15579
15383
  },
15384
+ {
15385
+ "kind": "Reference",
15386
+ "text": "DeepReadonly",
15387
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
15388
+ },
15580
15389
  {
15581
15390
  "kind": "Content",
15582
- "text": "T"
15391
+ "text": "<T>"
15583
15392
  },
15584
15393
  {
15585
15394
  "kind": "Content",
@@ -15605,8 +15414,8 @@
15605
15414
  ],
15606
15415
  "isOptional": false,
15607
15416
  "returnTypeTokenRange": {
15608
- "startIndex": 5,
15609
- "endIndex": 6
15417
+ "startIndex": 6,
15418
+ "endIndex": 7
15610
15419
  },
15611
15420
  "releaseTag": "Public",
15612
15421
  "overloadIndex": 1,
@@ -15615,15 +15424,15 @@
15615
15424
  "parameterName": "value",
15616
15425
  "parameterTypeTokenRange": {
15617
15426
  "startIndex": 1,
15618
- "endIndex": 2
15427
+ "endIndex": 3
15619
15428
  },
15620
15429
  "isOptional": false
15621
15430
  },
15622
15431
  {
15623
15432
  "parameterName": "builder",
15624
15433
  "parameterTypeTokenRange": {
15625
- "startIndex": 3,
15626
- "endIndex": 4
15434
+ "startIndex": 4,
15435
+ "endIndex": 5
15627
15436
  },
15628
15437
  "isOptional": false
15629
15438
  }
@@ -15825,6 +15634,447 @@
15825
15634
  ],
15826
15635
  "name": "Label"
15827
15636
  },
15637
+ {
15638
+ "kind": "Interface",
15639
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface",
15640
+ "docComment": "/**\n * @public\n */\n",
15641
+ "excerptTokens": [
15642
+ {
15643
+ "kind": "Content",
15644
+ "text": "export interface LastWriteWinElementSetComponentDefinition<T> extends "
15645
+ },
15646
+ {
15647
+ "kind": "Reference",
15648
+ "text": "BaseComponent",
15649
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
15650
+ },
15651
+ {
15652
+ "kind": "Content",
15653
+ "text": "<T>"
15654
+ },
15655
+ {
15656
+ "kind": "Content",
15657
+ "text": " "
15658
+ }
15659
+ ],
15660
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
15661
+ "releaseTag": "Public",
15662
+ "typeParameters": [
15663
+ {
15664
+ "typeParameterName": "T",
15665
+ "constraintTokenRange": {
15666
+ "startIndex": 0,
15667
+ "endIndex": 0
15668
+ },
15669
+ "defaultTypeTokenRange": {
15670
+ "startIndex": 0,
15671
+ "endIndex": 0
15672
+ }
15673
+ }
15674
+ ],
15675
+ "name": "LastWriteWinElementSetComponentDefinition",
15676
+ "preserveMemberOrder": false,
15677
+ "members": [
15678
+ {
15679
+ "kind": "PropertySignature",
15680
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#componentType:member",
15681
+ "docComment": "",
15682
+ "excerptTokens": [
15683
+ {
15684
+ "kind": "Content",
15685
+ "text": "readonly componentType: "
15686
+ },
15687
+ {
15688
+ "kind": "Reference",
15689
+ "text": "ComponentType.LastWriteWinElementSet",
15690
+ "canonicalReference": "@dcl/playground-assets!ComponentType.LastWriteWinElementSet:member"
15691
+ },
15692
+ {
15693
+ "kind": "Content",
15694
+ "text": ";"
15695
+ }
15696
+ ],
15697
+ "isReadonly": true,
15698
+ "isOptional": false,
15699
+ "releaseTag": "Public",
15700
+ "name": "componentType",
15701
+ "propertyTypeTokenRange": {
15702
+ "startIndex": 1,
15703
+ "endIndex": 2
15704
+ }
15705
+ },
15706
+ {
15707
+ "kind": "MethodSignature",
15708
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#create:member(1)",
15709
+ "docComment": "/**\n * Add the current component to an entity, throw an error if the component already exists (use `createOrReplace` instead). - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity that will be used to create the component\n *\n * @param val - The initial value\n */\n",
15710
+ "excerptTokens": [
15711
+ {
15712
+ "kind": "Content",
15713
+ "text": "create(entity: "
15714
+ },
15715
+ {
15716
+ "kind": "Reference",
15717
+ "text": "Entity",
15718
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
15719
+ },
15720
+ {
15721
+ "kind": "Content",
15722
+ "text": ", val?: "
15723
+ },
15724
+ {
15725
+ "kind": "Content",
15726
+ "text": "T"
15727
+ },
15728
+ {
15729
+ "kind": "Content",
15730
+ "text": "): "
15731
+ },
15732
+ {
15733
+ "kind": "Content",
15734
+ "text": "T"
15735
+ },
15736
+ {
15737
+ "kind": "Content",
15738
+ "text": ";"
15739
+ }
15740
+ ],
15741
+ "isOptional": false,
15742
+ "returnTypeTokenRange": {
15743
+ "startIndex": 5,
15744
+ "endIndex": 6
15745
+ },
15746
+ "releaseTag": "Public",
15747
+ "overloadIndex": 1,
15748
+ "parameters": [
15749
+ {
15750
+ "parameterName": "entity",
15751
+ "parameterTypeTokenRange": {
15752
+ "startIndex": 1,
15753
+ "endIndex": 2
15754
+ },
15755
+ "isOptional": false
15756
+ },
15757
+ {
15758
+ "parameterName": "val",
15759
+ "parameterTypeTokenRange": {
15760
+ "startIndex": 3,
15761
+ "endIndex": 4
15762
+ },
15763
+ "isOptional": true
15764
+ }
15765
+ ],
15766
+ "name": "create"
15767
+ },
15768
+ {
15769
+ "kind": "MethodSignature",
15770
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#createOrReplace:member(1)",
15771
+ "docComment": "/**\n * Add the current component to an entity or replace the content if the entity already has the component - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity that will be used to create or replace the component\n *\n * @param val - The initial or new value\n */\n",
15772
+ "excerptTokens": [
15773
+ {
15774
+ "kind": "Content",
15775
+ "text": "createOrReplace(entity: "
15776
+ },
15777
+ {
15778
+ "kind": "Reference",
15779
+ "text": "Entity",
15780
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
15781
+ },
15782
+ {
15783
+ "kind": "Content",
15784
+ "text": ", val?: "
15785
+ },
15786
+ {
15787
+ "kind": "Content",
15788
+ "text": "T"
15789
+ },
15790
+ {
15791
+ "kind": "Content",
15792
+ "text": "): "
15793
+ },
15794
+ {
15795
+ "kind": "Content",
15796
+ "text": "T"
15797
+ },
15798
+ {
15799
+ "kind": "Content",
15800
+ "text": ";"
15801
+ }
15802
+ ],
15803
+ "isOptional": false,
15804
+ "returnTypeTokenRange": {
15805
+ "startIndex": 5,
15806
+ "endIndex": 6
15807
+ },
15808
+ "releaseTag": "Public",
15809
+ "overloadIndex": 1,
15810
+ "parameters": [
15811
+ {
15812
+ "parameterName": "entity",
15813
+ "parameterTypeTokenRange": {
15814
+ "startIndex": 1,
15815
+ "endIndex": 2
15816
+ },
15817
+ "isOptional": false
15818
+ },
15819
+ {
15820
+ "parameterName": "val",
15821
+ "parameterTypeTokenRange": {
15822
+ "startIndex": 3,
15823
+ "endIndex": 4
15824
+ },
15825
+ "isOptional": true
15826
+ }
15827
+ ],
15828
+ "name": "createOrReplace"
15829
+ },
15830
+ {
15831
+ "kind": "MethodSignature",
15832
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#deleteFrom:member(1)",
15833
+ "docComment": "/**\n * Delete the current component to an entity, return null if the entity doesn't have the current component. - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity to delete the component from\n *\n * @public\n */\n",
15834
+ "excerptTokens": [
15835
+ {
15836
+ "kind": "Content",
15837
+ "text": "deleteFrom(entity: "
15838
+ },
15839
+ {
15840
+ "kind": "Reference",
15841
+ "text": "Entity",
15842
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
15843
+ },
15844
+ {
15845
+ "kind": "Content",
15846
+ "text": "): "
15847
+ },
15848
+ {
15849
+ "kind": "Content",
15850
+ "text": "T | null"
15851
+ },
15852
+ {
15853
+ "kind": "Content",
15854
+ "text": ";"
15855
+ }
15856
+ ],
15857
+ "isOptional": false,
15858
+ "returnTypeTokenRange": {
15859
+ "startIndex": 3,
15860
+ "endIndex": 4
15861
+ },
15862
+ "releaseTag": "Public",
15863
+ "overloadIndex": 1,
15864
+ "parameters": [
15865
+ {
15866
+ "parameterName": "entity",
15867
+ "parameterTypeTokenRange": {
15868
+ "startIndex": 1,
15869
+ "endIndex": 2
15870
+ },
15871
+ "isOptional": false
15872
+ }
15873
+ ],
15874
+ "name": "deleteFrom"
15875
+ },
15876
+ {
15877
+ "kind": "MethodSignature",
15878
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#get:member(1)",
15879
+ "docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), throws an error if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to get the component\n *\n * @returns \n */\n",
15880
+ "excerptTokens": [
15881
+ {
15882
+ "kind": "Content",
15883
+ "text": "get(entity: "
15884
+ },
15885
+ {
15886
+ "kind": "Reference",
15887
+ "text": "Entity",
15888
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
15889
+ },
15890
+ {
15891
+ "kind": "Content",
15892
+ "text": "): "
15893
+ },
15894
+ {
15895
+ "kind": "Reference",
15896
+ "text": "DeepReadonly",
15897
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
15898
+ },
15899
+ {
15900
+ "kind": "Content",
15901
+ "text": "<T>"
15902
+ },
15903
+ {
15904
+ "kind": "Content",
15905
+ "text": ";"
15906
+ }
15907
+ ],
15908
+ "isOptional": false,
15909
+ "returnTypeTokenRange": {
15910
+ "startIndex": 3,
15911
+ "endIndex": 5
15912
+ },
15913
+ "releaseTag": "Public",
15914
+ "overloadIndex": 1,
15915
+ "parameters": [
15916
+ {
15917
+ "parameterName": "entity",
15918
+ "parameterTypeTokenRange": {
15919
+ "startIndex": 1,
15920
+ "endIndex": 2
15921
+ },
15922
+ "isOptional": false
15923
+ }
15924
+ ],
15925
+ "name": "get"
15926
+ },
15927
+ {
15928
+ "kind": "MethodSignature",
15929
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#getMutable:member(1)",
15930
+ "docComment": "/**\n * Get the mutable component of the entity, throw an error if the entity doesn't have the component. - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity to get the component from\n */\n",
15931
+ "excerptTokens": [
15932
+ {
15933
+ "kind": "Content",
15934
+ "text": "getMutable(entity: "
15935
+ },
15936
+ {
15937
+ "kind": "Reference",
15938
+ "text": "Entity",
15939
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
15940
+ },
15941
+ {
15942
+ "kind": "Content",
15943
+ "text": "): "
15944
+ },
15945
+ {
15946
+ "kind": "Content",
15947
+ "text": "T"
15948
+ },
15949
+ {
15950
+ "kind": "Content",
15951
+ "text": ";"
15952
+ }
15953
+ ],
15954
+ "isOptional": false,
15955
+ "returnTypeTokenRange": {
15956
+ "startIndex": 3,
15957
+ "endIndex": 4
15958
+ },
15959
+ "releaseTag": "Public",
15960
+ "overloadIndex": 1,
15961
+ "parameters": [
15962
+ {
15963
+ "parameterName": "entity",
15964
+ "parameterTypeTokenRange": {
15965
+ "startIndex": 1,
15966
+ "endIndex": 2
15967
+ },
15968
+ "isOptional": false
15969
+ }
15970
+ ],
15971
+ "name": "getMutable"
15972
+ },
15973
+ {
15974
+ "kind": "MethodSignature",
15975
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#getMutableOrNull:member(1)",
15976
+ "docComment": "/**\n * Get the mutable component of the entity, return null if the entity doesn't have the component. - Internal comment: This method adds the &lt;entity,component&gt; to the list to be reviewed next frame\n *\n * @param entity - Entity to get the component from\n */\n",
15977
+ "excerptTokens": [
15978
+ {
15979
+ "kind": "Content",
15980
+ "text": "getMutableOrNull(entity: "
15981
+ },
15982
+ {
15983
+ "kind": "Reference",
15984
+ "text": "Entity",
15985
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
15986
+ },
15987
+ {
15988
+ "kind": "Content",
15989
+ "text": "): "
15990
+ },
15991
+ {
15992
+ "kind": "Content",
15993
+ "text": "T | null"
15994
+ },
15995
+ {
15996
+ "kind": "Content",
15997
+ "text": ";"
15998
+ }
15999
+ ],
16000
+ "isOptional": false,
16001
+ "returnTypeTokenRange": {
16002
+ "startIndex": 3,
16003
+ "endIndex": 4
16004
+ },
16005
+ "releaseTag": "Public",
16006
+ "overloadIndex": 1,
16007
+ "parameters": [
16008
+ {
16009
+ "parameterName": "entity",
16010
+ "parameterTypeTokenRange": {
16011
+ "startIndex": 1,
16012
+ "endIndex": 2
16013
+ },
16014
+ "isOptional": false
16015
+ }
16016
+ ],
16017
+ "name": "getMutableOrNull"
16018
+ },
16019
+ {
16020
+ "kind": "MethodSignature",
16021
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition#getOrNull:member(1)",
16022
+ "docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), or null if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to try to get the component\n */\n",
16023
+ "excerptTokens": [
16024
+ {
16025
+ "kind": "Content",
16026
+ "text": "getOrNull(entity: "
16027
+ },
16028
+ {
16029
+ "kind": "Reference",
16030
+ "text": "Entity",
16031
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
16032
+ },
16033
+ {
16034
+ "kind": "Content",
16035
+ "text": "): "
16036
+ },
16037
+ {
16038
+ "kind": "Reference",
16039
+ "text": "DeepReadonly",
16040
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
16041
+ },
16042
+ {
16043
+ "kind": "Content",
16044
+ "text": "<T> | null"
16045
+ },
16046
+ {
16047
+ "kind": "Content",
16048
+ "text": ";"
16049
+ }
16050
+ ],
16051
+ "isOptional": false,
16052
+ "returnTypeTokenRange": {
16053
+ "startIndex": 3,
16054
+ "endIndex": 5
16055
+ },
16056
+ "releaseTag": "Public",
16057
+ "overloadIndex": 1,
16058
+ "parameters": [
16059
+ {
16060
+ "parameterName": "entity",
16061
+ "parameterTypeTokenRange": {
16062
+ "startIndex": 1,
16063
+ "endIndex": 2
16064
+ },
16065
+ "isOptional": false
16066
+ }
16067
+ ],
16068
+ "name": "getOrNull"
16069
+ }
16070
+ ],
16071
+ "extendsTokenRanges": [
16072
+ {
16073
+ "startIndex": 1,
16074
+ "endIndex": 3
16075
+ }
16076
+ ]
16077
+ },
15828
16078
  {
15829
16079
  "kind": "TypeAlias",
15830
16080
  "canonicalReference": "@dcl/playground-assets!Listeners:type",
@@ -15869,6 +16119,76 @@
15869
16119
  "endIndex": 6
15870
16120
  }
15871
16121
  },
16122
+ {
16123
+ "kind": "TypeAlias",
16124
+ "canonicalReference": "@dcl/playground-assets!LwwComponentGetter:type",
16125
+ "docComment": "",
16126
+ "excerptTokens": [
16127
+ {
16128
+ "kind": "Content",
16129
+ "text": "export type LwwComponentGetter<T extends "
16130
+ },
16131
+ {
16132
+ "kind": "Reference",
16133
+ "text": "LastWriteWinElementSetComponentDefinition",
16134
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
16135
+ },
16136
+ {
16137
+ "kind": "Content",
16138
+ "text": "<any>"
16139
+ },
16140
+ {
16141
+ "kind": "Content",
16142
+ "text": "> = "
16143
+ },
16144
+ {
16145
+ "kind": "Content",
16146
+ "text": "(engine: "
16147
+ },
16148
+ {
16149
+ "kind": "Reference",
16150
+ "text": "Pick",
16151
+ "canonicalReference": "!Pick:type"
16152
+ },
16153
+ {
16154
+ "kind": "Content",
16155
+ "text": "<"
16156
+ },
16157
+ {
16158
+ "kind": "Reference",
16159
+ "text": "IEngine",
16160
+ "canonicalReference": "@dcl/playground-assets!IEngine:interface"
16161
+ },
16162
+ {
16163
+ "kind": "Content",
16164
+ "text": ", 'defineComponentFromSchema'>) => T"
16165
+ },
16166
+ {
16167
+ "kind": "Content",
16168
+ "text": ";"
16169
+ }
16170
+ ],
16171
+ "fileUrlPath": "../ecs/dist/components/generated/index.gen.d.ts",
16172
+ "releaseTag": "Public",
16173
+ "name": "LwwComponentGetter",
16174
+ "typeParameters": [
16175
+ {
16176
+ "typeParameterName": "T",
16177
+ "constraintTokenRange": {
16178
+ "startIndex": 1,
16179
+ "endIndex": 3
16180
+ },
16181
+ "defaultTypeTokenRange": {
16182
+ "startIndex": 0,
16183
+ "endIndex": 0
16184
+ }
16185
+ }
16186
+ ],
16187
+ "typeTokenRange": {
16188
+ "startIndex": 4,
16189
+ "endIndex": 9
16190
+ }
16191
+ },
15872
16192
  {
15873
16193
  "kind": "Interface",
15874
16194
  "canonicalReference": "@dcl/playground-assets!MapComponentDefinition:interface",
@@ -15880,8 +16200,8 @@
15880
16200
  },
15881
16201
  {
15882
16202
  "kind": "Reference",
15883
- "text": "ComponentDefinition",
15884
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
16203
+ "text": "LastWriteWinElementSetComponentDefinition",
16204
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
15885
16205
  },
15886
16206
  {
15887
16207
  "kind": "Content",
@@ -16176,8 +16496,8 @@
16176
16496
  },
16177
16497
  {
16178
16498
  "kind": "Reference",
16179
- "text": "ComponentDefinition",
16180
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
16499
+ "text": "LastWriteWinElementSetComponentDefinition",
16500
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
16181
16501
  },
16182
16502
  {
16183
16503
  "kind": "Content",
@@ -23577,8 +23897,8 @@
23577
23897
  },
23578
23898
  {
23579
23899
  "kind": "Reference",
23580
- "text": "ComponentDefinition",
23581
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
23900
+ "text": "LastWriteWinElementSetComponentDefinition",
23901
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
23582
23902
  },
23583
23903
  {
23584
23904
  "kind": "Content",
@@ -23982,8 +24302,8 @@
23982
24302
  },
23983
24303
  {
23984
24304
  "kind": "Reference",
23985
- "text": "ComponentDefinition",
23986
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
24305
+ "text": "LastWriteWinElementSetComponentDefinition",
24306
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
23987
24307
  },
23988
24308
  {
23989
24309
  "kind": "Content",
@@ -24953,8 +25273,8 @@
24953
25273
  },
24954
25274
  {
24955
25275
  "kind": "Reference",
24956
- "text": "ComponentDefinition",
24957
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
25276
+ "text": "LastWriteWinElementSetComponentDefinition",
25277
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
24958
25278
  },
24959
25279
  {
24960
25280
  "kind": "Content",
@@ -26425,11 +26745,11 @@
26425
26745
  {
26426
26746
  "kind": "Reference",
26427
26747
  "text": "ComponentDefinition",
26428
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
26748
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
26429
26749
  },
26430
26750
  {
26431
26751
  "kind": "Content",
26432
- "text": "<any>) => void"
26752
+ "text": "<any>, componentValue?: any) => void"
26433
26753
  },
26434
26754
  {
26435
26755
  "kind": "Content",
@@ -30013,22 +30333,22 @@
30013
30333
  },
30014
30334
  {
30015
30335
  "kind": "Interface",
30016
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand:interface",
30336
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult:interface",
30017
30337
  "docComment": "/**\n * @public\n */\n",
30018
30338
  "excerptTokens": [
30019
30339
  {
30020
30340
  "kind": "Content",
30021
- "text": "export interface PBPointerEventsResult_PointerCommand "
30341
+ "text": "export interface PBPointerEventsResult "
30022
30342
  }
30023
30343
  ],
30024
30344
  "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/pointer_events_result.gen.d.ts",
30025
30345
  "releaseTag": "Public",
30026
- "name": "PBPointerEventsResult_PointerCommand",
30346
+ "name": "PBPointerEventsResult",
30027
30347
  "preserveMemberOrder": false,
30028
30348
  "members": [
30029
30349
  {
30030
30350
  "kind": "PropertySignature",
30031
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand#analog:member",
30351
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult#analog:member",
30032
30352
  "docComment": "/**\n * if the input is analog then we store it here\n */\n",
30033
30353
  "excerptTokens": [
30034
30354
  {
@@ -30055,7 +30375,7 @@
30055
30375
  },
30056
30376
  {
30057
30377
  "kind": "PropertySignature",
30058
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand#button:member",
30378
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult#button:member",
30059
30379
  "docComment": "/**\n * identifier of the input\n */\n",
30060
30380
  "excerptTokens": [
30061
30381
  {
@@ -30083,7 +30403,7 @@
30083
30403
  },
30084
30404
  {
30085
30405
  "kind": "PropertySignature",
30086
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand#hit:member",
30406
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult#hit:member",
30087
30407
  "docComment": "",
30088
30408
  "excerptTokens": [
30089
30409
  {
@@ -30115,7 +30435,7 @@
30115
30435
  },
30116
30436
  {
30117
30437
  "kind": "PropertySignature",
30118
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand#state:member",
30438
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult#state:member",
30119
30439
  "docComment": "",
30120
30440
  "excerptTokens": [
30121
30441
  {
@@ -30143,7 +30463,7 @@
30143
30463
  },
30144
30464
  {
30145
30465
  "kind": "PropertySignature",
30146
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand#timestamp:member",
30466
+ "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult#timestamp:member",
30147
30467
  "docComment": "/**\n * could be a Lamport timestamp\n */\n",
30148
30468
  "excerptTokens": [
30149
30469
  {
@@ -30171,56 +30491,6 @@
30171
30491
  ],
30172
30492
  "extendsTokenRanges": []
30173
30493
  },
30174
- {
30175
- "kind": "Interface",
30176
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult:interface",
30177
- "docComment": "/**\n * @public\n */\n",
30178
- "excerptTokens": [
30179
- {
30180
- "kind": "Content",
30181
- "text": "export interface PBPointerEventsResult "
30182
- }
30183
- ],
30184
- "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/pointer_events_result.gen.d.ts",
30185
- "releaseTag": "Public",
30186
- "name": "PBPointerEventsResult",
30187
- "preserveMemberOrder": false,
30188
- "members": [
30189
- {
30190
- "kind": "PropertySignature",
30191
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult#commands:member",
30192
- "docComment": "/**\n * a list of the last N pointer commands (from the engine)\n */\n",
30193
- "excerptTokens": [
30194
- {
30195
- "kind": "Content",
30196
- "text": "commands: "
30197
- },
30198
- {
30199
- "kind": "Reference",
30200
- "text": "PBPointerEventsResult_PointerCommand",
30201
- "canonicalReference": "@dcl/playground-assets!PBPointerEventsResult_PointerCommand:interface"
30202
- },
30203
- {
30204
- "kind": "Content",
30205
- "text": "[]"
30206
- },
30207
- {
30208
- "kind": "Content",
30209
- "text": ";"
30210
- }
30211
- ],
30212
- "isReadonly": false,
30213
- "isOptional": false,
30214
- "releaseTag": "Public",
30215
- "name": "commands",
30216
- "propertyTypeTokenRange": {
30217
- "startIndex": 1,
30218
- "endIndex": 3
30219
- }
30220
- }
30221
- ],
30222
- "extendsTokenRanges": []
30223
- },
30224
30494
  {
30225
30495
  "kind": "Interface",
30226
30496
  "canonicalReference": "@dcl/playground-assets!PBPointerLock:interface",
@@ -35005,8 +35275,8 @@
35005
35275
  },
35006
35276
  {
35007
35277
  "kind": "Reference",
35008
- "text": "ComponentDefinition",
35009
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
35278
+ "text": "LastWriteWinElementSetComponentDefinition",
35279
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
35010
35280
  },
35011
35281
  {
35012
35282
  "kind": "Content",
@@ -35042,8 +35312,8 @@
35042
35312
  },
35043
35313
  {
35044
35314
  "kind": "Reference",
35045
- "text": "ComponentDefinition",
35046
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
35315
+ "text": "GrowOnlyValueSetComponentDefinition",
35316
+ "canonicalReference": "@dcl/playground-assets!GrowOnlyValueSetComponentDefinition:interface"
35047
35317
  },
35048
35318
  {
35049
35319
  "kind": "Content",
@@ -35500,8 +35770,8 @@
35500
35770
  },
35501
35771
  {
35502
35772
  "kind": "Reference",
35503
- "text": "ComponentDefinition",
35504
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
35773
+ "text": "LastWriteWinElementSetComponentDefinition",
35774
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
35505
35775
  },
35506
35776
  {
35507
35777
  "kind": "Content",
@@ -35656,6 +35926,118 @@
35656
35926
  ],
35657
35927
  "extendsTokenRanges": []
35658
35928
  },
35929
+ {
35930
+ "kind": "TypeAlias",
35931
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type",
35932
+ "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",
35933
+ "excerptTokens": [
35934
+ {
35935
+ "kind": "Content",
35936
+ "text": "export type PositionShorthand = "
35937
+ },
35938
+ {
35939
+ "kind": "Reference",
35940
+ "text": "PositionUnit",
35941
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35942
+ },
35943
+ {
35944
+ "kind": "Content",
35945
+ "text": " | `${"
35946
+ },
35947
+ {
35948
+ "kind": "Reference",
35949
+ "text": "PositionUnit",
35950
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35951
+ },
35952
+ {
35953
+ "kind": "Content",
35954
+ "text": "} ${"
35955
+ },
35956
+ {
35957
+ "kind": "Reference",
35958
+ "text": "PositionUnit",
35959
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35960
+ },
35961
+ {
35962
+ "kind": "Content",
35963
+ "text": "}` | `${"
35964
+ },
35965
+ {
35966
+ "kind": "Reference",
35967
+ "text": "PositionUnit",
35968
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35969
+ },
35970
+ {
35971
+ "kind": "Content",
35972
+ "text": "} ${"
35973
+ },
35974
+ {
35975
+ "kind": "Reference",
35976
+ "text": "PositionUnit",
35977
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35978
+ },
35979
+ {
35980
+ "kind": "Content",
35981
+ "text": "} ${"
35982
+ },
35983
+ {
35984
+ "kind": "Reference",
35985
+ "text": "PositionUnit",
35986
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35987
+ },
35988
+ {
35989
+ "kind": "Content",
35990
+ "text": "}` | `${"
35991
+ },
35992
+ {
35993
+ "kind": "Reference",
35994
+ "text": "PositionUnit",
35995
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
35996
+ },
35997
+ {
35998
+ "kind": "Content",
35999
+ "text": "} ${"
36000
+ },
36001
+ {
36002
+ "kind": "Reference",
36003
+ "text": "PositionUnit",
36004
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
36005
+ },
36006
+ {
36007
+ "kind": "Content",
36008
+ "text": "} ${"
36009
+ },
36010
+ {
36011
+ "kind": "Reference",
36012
+ "text": "PositionUnit",
36013
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
36014
+ },
36015
+ {
36016
+ "kind": "Content",
36017
+ "text": "} ${"
36018
+ },
36019
+ {
36020
+ "kind": "Reference",
36021
+ "text": "PositionUnit",
36022
+ "canonicalReference": "@dcl/playground-assets!PositionUnit:type"
36023
+ },
36024
+ {
36025
+ "kind": "Content",
36026
+ "text": "}`"
36027
+ },
36028
+ {
36029
+ "kind": "Content",
36030
+ "text": ";"
36031
+ }
36032
+ ],
36033
+ "fileUrlPath": "../react-ecs/dist/components/uiTransform/types.d.ts",
36034
+ "releaseTag": "Public",
36035
+ "name": "PositionShorthand",
36036
+ "typeTokenRange": {
36037
+ "startIndex": 1,
36038
+ "endIndex": 21
36039
+ }
36040
+ },
35659
36041
  {
35660
36042
  "kind": "TypeAlias",
35661
36043
  "canonicalReference": "@dcl/playground-assets!PositionType:type",
@@ -35685,7 +36067,7 @@
35685
36067
  {
35686
36068
  "kind": "TypeAlias",
35687
36069
  "canonicalReference": "@dcl/playground-assets!PositionUnit:type",
35688
- "docComment": "/**\n * Position unit for the user. i.e. width=\"100\", width=\"100%\", width=\"100px\"\n *\n * @public\n */\n",
36070
+ "docComment": "/**\n * unit value specified. i.e. 1 || '100%' || '1px'\n *\n * @public\n */\n",
35689
36071
  "excerptTokens": [
35690
36072
  {
35691
36073
  "kind": "Content",
@@ -35693,7 +36075,7 @@
35693
36075
  },
35694
36076
  {
35695
36077
  "kind": "Content",
35696
- "text": "`${number}px` | `${number}%` | number"
36078
+ "text": "`${number}px` | `${number}%` | number | `${number}`"
35697
36079
  },
35698
36080
  {
35699
36081
  "kind": "Content",
@@ -37924,8 +38306,8 @@
37924
38306
  },
37925
38307
  {
37926
38308
  "kind": "Reference",
37927
- "text": "ComponentDefinition",
37928
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
38309
+ "text": "LastWriteWinElementSetComponentDefinition",
38310
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
37929
38311
  },
37930
38312
  {
37931
38313
  "kind": "Content",
@@ -38286,8 +38668,8 @@
38286
38668
  },
38287
38669
  {
38288
38670
  "kind": "Reference",
38289
- "text": "ComponentDefinition",
38290
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
38671
+ "text": "LastWriteWinElementSetComponentDefinition",
38672
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
38291
38673
  },
38292
38674
  {
38293
38675
  "kind": "Content",
@@ -38566,7 +38948,7 @@
38566
38948
  {
38567
38949
  "kind": "Reference",
38568
38950
  "text": "ComponentDefinition",
38569
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
38951
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
38570
38952
  },
38571
38953
  {
38572
38954
  "kind": "Content",
@@ -38575,7 +38957,7 @@
38575
38957
  {
38576
38958
  "kind": "Reference",
38577
38959
  "text": "ComponentDefinition",
38578
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
38960
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
38579
38961
  },
38580
38962
  {
38581
38963
  "kind": "Content",
@@ -38592,7 +38974,7 @@
38592
38974
  {
38593
38975
  "kind": "Reference",
38594
38976
  "text": "ComponentDefinition",
38595
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
38977
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
38596
38978
  },
38597
38979
  {
38598
38980
  "kind": "Content",
@@ -41316,8 +41698,8 @@
41316
41698
  },
41317
41699
  {
41318
41700
  "kind": "Reference",
41319
- "text": "ComponentDefinition",
41320
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
41701
+ "text": "LastWriteWinElementSetComponentDefinition",
41702
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
41321
41703
  },
41322
41704
  {
41323
41705
  "kind": "Content",
@@ -42061,8 +42443,8 @@
42061
42443
  },
42062
42444
  {
42063
42445
  "kind": "Reference",
42064
- "text": "ComponentDefinition",
42065
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
42446
+ "text": "LastWriteWinElementSetComponentDefinition",
42447
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
42066
42448
  },
42067
42449
  {
42068
42450
  "kind": "Content",
@@ -42082,7 +42464,7 @@
42082
42464
  "text": ";"
42083
42465
  }
42084
42466
  ],
42085
- "fileUrlPath": "../ecs/dist/components/legacy/Transform.d.ts",
42467
+ "fileUrlPath": "../ecs/dist/components/manual/Transform.d.ts",
42086
42468
  "releaseTag": "Public",
42087
42469
  "name": "TransformComponent",
42088
42470
  "typeTokenRange": {
@@ -42109,7 +42491,7 @@
42109
42491
  "text": " "
42110
42492
  }
42111
42493
  ],
42112
- "fileUrlPath": "../ecs/dist/components/legacy/Transform.d.ts",
42494
+ "fileUrlPath": "../ecs/dist/components/manual/Transform.d.ts",
42113
42495
  "releaseTag": "Public",
42114
42496
  "name": "TransformComponentExtended",
42115
42497
  "preserveMemberOrder": false,
@@ -42277,7 +42659,7 @@
42277
42659
  "text": ";"
42278
42660
  }
42279
42661
  ],
42280
- "fileUrlPath": "../ecs/dist/components/legacy/Transform.d.ts",
42662
+ "fileUrlPath": "../ecs/dist/components/manual/Transform.d.ts",
42281
42663
  "releaseTag": "Public",
42282
42664
  "name": "TransformType",
42283
42665
  "typeTokenRange": {
@@ -42317,7 +42699,7 @@
42317
42699
  "text": ";"
42318
42700
  }
42319
42701
  ],
42320
- "fileUrlPath": "../ecs/dist/components/legacy/Transform.d.ts",
42702
+ "fileUrlPath": "../ecs/dist/components/manual/Transform.d.ts",
42321
42703
  "releaseTag": "Public",
42322
42704
  "name": "TransformTypeWithOptionals",
42323
42705
  "typeTokenRange": {
@@ -42548,8 +42930,8 @@
42548
42930
  },
42549
42931
  {
42550
42932
  "kind": "Reference",
42551
- "text": "ComponentDefinition",
42552
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
42933
+ "text": "LastWriteWinElementSetComponentDefinition",
42934
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
42553
42935
  },
42554
42936
  {
42555
42937
  "kind": "Content",
@@ -42881,8 +43263,8 @@
42881
43263
  },
42882
43264
  {
42883
43265
  "kind": "Reference",
42884
- "text": "ComponentDefinition",
42885
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
43266
+ "text": "LastWriteWinElementSetComponentDefinition",
43267
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
42886
43268
  },
42887
43269
  {
42888
43270
  "kind": "Content",
@@ -43086,8 +43468,8 @@
43086
43468
  },
43087
43469
  {
43088
43470
  "kind": "Reference",
43089
- "text": "ComponentDefinition",
43090
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
43471
+ "text": "LastWriteWinElementSetComponentDefinition",
43472
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
43091
43473
  },
43092
43474
  {
43093
43475
  "kind": "Content",
@@ -43126,6 +43508,19 @@
43126
43508
  "text": "EntityPropTypes",
43127
43509
  "canonicalReference": "@dcl/playground-assets!EntityPropTypes:interface"
43128
43510
  },
43511
+ {
43512
+ "kind": "Content",
43513
+ "text": " & {\n uiText?: "
43514
+ },
43515
+ {
43516
+ "kind": "Reference",
43517
+ "text": "UiLabelProps",
43518
+ "canonicalReference": "@dcl/playground-assets!UiLabelProps:interface"
43519
+ },
43520
+ {
43521
+ "kind": "Content",
43522
+ "text": ";\n}"
43523
+ },
43129
43524
  {
43130
43525
  "kind": "Content",
43131
43526
  "text": "): "
@@ -43142,8 +43537,8 @@
43142
43537
  ],
43143
43538
  "fileUrlPath": "../react-ecs/dist/components/index.d.ts",
43144
43539
  "returnTypeTokenRange": {
43145
- "startIndex": 3,
43146
- "endIndex": 4
43540
+ "startIndex": 6,
43541
+ "endIndex": 7
43147
43542
  },
43148
43543
  "releaseTag": "Public",
43149
43544
  "overloadIndex": 1,
@@ -43152,7 +43547,7 @@
43152
43547
  "parameterName": "props",
43153
43548
  "parameterTypeTokenRange": {
43154
43549
  "startIndex": 1,
43155
- "endIndex": 2
43550
+ "endIndex": 5
43156
43551
  },
43157
43552
  "isOptional": false
43158
43553
  }
@@ -43196,8 +43591,8 @@
43196
43591
  },
43197
43592
  {
43198
43593
  "kind": "Reference",
43199
- "text": "ComponentDefinition",
43200
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
43594
+ "text": "LastWriteWinElementSetComponentDefinition",
43595
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
43201
43596
  },
43202
43597
  {
43203
43598
  "kind": "Content",
@@ -43379,8 +43774,8 @@
43379
43774
  },
43380
43775
  {
43381
43776
  "kind": "Reference",
43382
- "text": "ComponentDefinition",
43383
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
43777
+ "text": "LastWriteWinElementSetComponentDefinition",
43778
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
43384
43779
  },
43385
43780
  {
43386
43781
  "kind": "Content",
@@ -43610,8 +44005,8 @@
43610
44005
  },
43611
44006
  {
43612
44007
  "kind": "Reference",
43613
- "text": "ComponentDefinition",
43614
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
44008
+ "text": "LastWriteWinElementSetComponentDefinition",
44009
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
43615
44010
  },
43616
44011
  {
43617
44012
  "kind": "Content",
@@ -43691,8 +44086,8 @@
43691
44086
  },
43692
44087
  {
43693
44088
  "kind": "Reference",
43694
- "text": "ComponentDefinition",
43695
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
44089
+ "text": "LastWriteWinElementSetComponentDefinition",
44090
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
43696
44091
  },
43697
44092
  {
43698
44093
  "kind": "Content",
@@ -44089,7 +44484,12 @@
44089
44484
  },
44090
44485
  {
44091
44486
  "kind": "Content",
44092
- "text": ">"
44487
+ "text": "> | "
44488
+ },
44489
+ {
44490
+ "kind": "Reference",
44491
+ "text": "PositionShorthand",
44492
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type"
44093
44493
  },
44094
44494
  {
44095
44495
  "kind": "Content",
@@ -44102,7 +44502,7 @@
44102
44502
  "name": "margin",
44103
44503
  "propertyTypeTokenRange": {
44104
44504
  "startIndex": 1,
44105
- "endIndex": 5
44505
+ "endIndex": 6
44106
44506
  }
44107
44507
  },
44108
44508
  {
@@ -44270,7 +44670,12 @@
44270
44670
  },
44271
44671
  {
44272
44672
  "kind": "Content",
44273
- "text": ">"
44673
+ "text": "> | "
44674
+ },
44675
+ {
44676
+ "kind": "Reference",
44677
+ "text": "PositionShorthand",
44678
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type"
44274
44679
  },
44275
44680
  {
44276
44681
  "kind": "Content",
@@ -44283,7 +44688,7 @@
44283
44688
  "name": "padding",
44284
44689
  "propertyTypeTokenRange": {
44285
44690
  "startIndex": 1,
44286
- "endIndex": 5
44691
+ "endIndex": 6
44287
44692
  }
44288
44693
  },
44289
44694
  {
@@ -44311,7 +44716,12 @@
44311
44716
  },
44312
44717
  {
44313
44718
  "kind": "Content",
44314
- "text": ">"
44719
+ "text": "> | "
44720
+ },
44721
+ {
44722
+ "kind": "Reference",
44723
+ "text": "PositionShorthand",
44724
+ "canonicalReference": "@dcl/playground-assets!PositionShorthand:type"
44315
44725
  },
44316
44726
  {
44317
44727
  "kind": "Content",
@@ -44324,7 +44734,7 @@
44324
44734
  "name": "position",
44325
44735
  "propertyTypeTokenRange": {
44326
44736
  "startIndex": 1,
44327
- "endIndex": 5
44737
+ "endIndex": 6
44328
44738
  }
44329
44739
  },
44330
44740
  {
@@ -44425,6 +44835,54 @@
44425
44835
  "endIndex": 2
44426
44836
  }
44427
44837
  },
44838
+ {
44839
+ "kind": "TypeAlias",
44840
+ "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",
44841
+ "docComment": "/**\n * @public\n */\n",
44842
+ "excerptTokens": [
44843
+ {
44844
+ "kind": "Content",
44845
+ "text": "export type ValueSetOptions<T> = "
44846
+ },
44847
+ {
44848
+ "kind": "Content",
44849
+ "text": "{\n timestampFunction: (value: "
44850
+ },
44851
+ {
44852
+ "kind": "Reference",
44853
+ "text": "DeepReadonly",
44854
+ "canonicalReference": "@dcl/playground-assets!DeepReadonly:type"
44855
+ },
44856
+ {
44857
+ "kind": "Content",
44858
+ "text": "<T>) => number;\n maxElements: number;\n}"
44859
+ },
44860
+ {
44861
+ "kind": "Content",
44862
+ "text": ";"
44863
+ }
44864
+ ],
44865
+ "fileUrlPath": "../ecs/dist/engine/grow-only-value-set-component-definition.d.ts",
44866
+ "releaseTag": "Public",
44867
+ "name": "ValueSetOptions",
44868
+ "typeParameters": [
44869
+ {
44870
+ "typeParameterName": "T",
44871
+ "constraintTokenRange": {
44872
+ "startIndex": 0,
44873
+ "endIndex": 0
44874
+ },
44875
+ "defaultTypeTokenRange": {
44876
+ "startIndex": 0,
44877
+ "endIndex": 0
44878
+ }
44879
+ }
44880
+ ],
44881
+ "typeTokenRange": {
44882
+ "startIndex": 1,
44883
+ "endIndex": 4
44884
+ }
44885
+ },
44428
44886
  {
44429
44887
  "kind": "Namespace",
44430
44888
  "canonicalReference": "@dcl/playground-assets!Vector3:namespace",
@@ -49708,8 +50166,8 @@
49708
50166
  },
49709
50167
  {
49710
50168
  "kind": "Reference",
49711
- "text": "ComponentDefinition",
49712
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
50169
+ "text": "LastWriteWinElementSetComponentDefinition",
50170
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
49713
50171
  },
49714
50172
  {
49715
50173
  "kind": "Content",
@@ -49854,8 +50312,8 @@
49854
50312
  },
49855
50313
  {
49856
50314
  "kind": "Reference",
49857
- "text": "ComponentDefinition",
49858
- "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
50315
+ "text": "LastWriteWinElementSetComponentDefinition",
50316
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
49859
50317
  },
49860
50318
  {
49861
50319
  "kind": "Content",