@dcl/playground-assets 7.21.0 → 7.21.1-22918726402.commit-ee210ee

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.
@@ -1531,6 +1531,299 @@
1531
1531
  }
1532
1532
  ]
1533
1533
  },
1534
+ {
1535
+ "kind": "TypeAlias",
1536
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type",
1537
+ "docComment": "/**\n * @public\n */\n",
1538
+ "excerptTokens": [
1539
+ {
1540
+ "kind": "Content",
1541
+ "text": "export type AuthoritativePutComponentMessage = "
1542
+ },
1543
+ {
1544
+ "kind": "Reference",
1545
+ "text": "CrdtMessageHeader",
1546
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
1547
+ },
1548
+ {
1549
+ "kind": "Content",
1550
+ "text": " & "
1551
+ },
1552
+ {
1553
+ "kind": "Reference",
1554
+ "text": "AuthoritativePutComponentMessageBody",
1555
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
1556
+ },
1557
+ {
1558
+ "kind": "Content",
1559
+ "text": ";"
1560
+ }
1561
+ ],
1562
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
1563
+ "releaseTag": "Public",
1564
+ "name": "AuthoritativePutComponentMessage",
1565
+ "typeTokenRange": {
1566
+ "startIndex": 1,
1567
+ "endIndex": 4
1568
+ }
1569
+ },
1570
+ {
1571
+ "kind": "TypeAlias",
1572
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type",
1573
+ "docComment": "/**\n * Server authoritative message - identical to PutComponentMessageBody but with forced processing 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 Lamport timestamp (server's authoritative timestamp)\n *\n * @param data - Uint8[] data of component => length(4 bytes) + block of bytes[0..length-1]\n *\n * @public\n */\n",
1574
+ "excerptTokens": [
1575
+ {
1576
+ "kind": "Content",
1577
+ "text": "export type AuthoritativePutComponentMessageBody = "
1578
+ },
1579
+ {
1580
+ "kind": "Content",
1581
+ "text": "{\n type: "
1582
+ },
1583
+ {
1584
+ "kind": "Reference",
1585
+ "text": "CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT",
1586
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member"
1587
+ },
1588
+ {
1589
+ "kind": "Content",
1590
+ "text": ";\n entityId: "
1591
+ },
1592
+ {
1593
+ "kind": "Reference",
1594
+ "text": "Entity",
1595
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
1596
+ },
1597
+ {
1598
+ "kind": "Content",
1599
+ "text": ";\n componentId: number;\n timestamp: number;\n data: "
1600
+ },
1601
+ {
1602
+ "kind": "Reference",
1603
+ "text": "Uint8Array",
1604
+ "canonicalReference": "!Uint8Array:interface"
1605
+ },
1606
+ {
1607
+ "kind": "Content",
1608
+ "text": ";\n}"
1609
+ },
1610
+ {
1611
+ "kind": "Content",
1612
+ "text": ";"
1613
+ }
1614
+ ],
1615
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
1616
+ "releaseTag": "Public",
1617
+ "name": "AuthoritativePutComponentMessageBody",
1618
+ "typeTokenRange": {
1619
+ "startIndex": 1,
1620
+ "endIndex": 8
1621
+ }
1622
+ },
1623
+ {
1624
+ "kind": "Namespace",
1625
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation:namespace",
1626
+ "docComment": "/**\n * @public\n */\n",
1627
+ "excerptTokens": [
1628
+ {
1629
+ "kind": "Content",
1630
+ "text": "export declare namespace AuthoritativePutComponentOperation "
1631
+ }
1632
+ ],
1633
+ "fileUrlPath": "../ecs/dist/serialization/crdt/authoritativePutComponent.d.ts",
1634
+ "releaseTag": "Public",
1635
+ "name": "AuthoritativePutComponentOperation",
1636
+ "preserveMemberOrder": false,
1637
+ "members": [
1638
+ {
1639
+ "kind": "Variable",
1640
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.MESSAGE_HEADER_LENGTH:var",
1641
+ "docComment": "",
1642
+ "excerptTokens": [
1643
+ {
1644
+ "kind": "Content",
1645
+ "text": "MESSAGE_HEADER_LENGTH = "
1646
+ },
1647
+ {
1648
+ "kind": "Content",
1649
+ "text": "16"
1650
+ }
1651
+ ],
1652
+ "initializerTokenRange": {
1653
+ "startIndex": 1,
1654
+ "endIndex": 2
1655
+ },
1656
+ "isReadonly": true,
1657
+ "releaseTag": "Public",
1658
+ "name": "MESSAGE_HEADER_LENGTH",
1659
+ "variableTypeTokenRange": {
1660
+ "startIndex": 0,
1661
+ "endIndex": 0
1662
+ }
1663
+ },
1664
+ {
1665
+ "kind": "Function",
1666
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.read:function(1)",
1667
+ "docComment": "",
1668
+ "excerptTokens": [
1669
+ {
1670
+ "kind": "Content",
1671
+ "text": "function read(buf: "
1672
+ },
1673
+ {
1674
+ "kind": "Reference",
1675
+ "text": "ByteBuffer",
1676
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
1677
+ },
1678
+ {
1679
+ "kind": "Content",
1680
+ "text": "): "
1681
+ },
1682
+ {
1683
+ "kind": "Reference",
1684
+ "text": "AuthoritativePutComponentMessage",
1685
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
1686
+ },
1687
+ {
1688
+ "kind": "Content",
1689
+ "text": " | null"
1690
+ },
1691
+ {
1692
+ "kind": "Content",
1693
+ "text": ";"
1694
+ }
1695
+ ],
1696
+ "returnTypeTokenRange": {
1697
+ "startIndex": 3,
1698
+ "endIndex": 5
1699
+ },
1700
+ "releaseTag": "Public",
1701
+ "overloadIndex": 1,
1702
+ "parameters": [
1703
+ {
1704
+ "parameterName": "buf",
1705
+ "parameterTypeTokenRange": {
1706
+ "startIndex": 1,
1707
+ "endIndex": 2
1708
+ },
1709
+ "isOptional": false
1710
+ }
1711
+ ],
1712
+ "name": "read"
1713
+ },
1714
+ {
1715
+ "kind": "Function",
1716
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.write:function(1)",
1717
+ "docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer already allocated\n */\n",
1718
+ "excerptTokens": [
1719
+ {
1720
+ "kind": "Content",
1721
+ "text": "function write(entity: "
1722
+ },
1723
+ {
1724
+ "kind": "Reference",
1725
+ "text": "Entity",
1726
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
1727
+ },
1728
+ {
1729
+ "kind": "Content",
1730
+ "text": ", timestamp: "
1731
+ },
1732
+ {
1733
+ "kind": "Content",
1734
+ "text": "number"
1735
+ },
1736
+ {
1737
+ "kind": "Content",
1738
+ "text": ", componentId: "
1739
+ },
1740
+ {
1741
+ "kind": "Content",
1742
+ "text": "number"
1743
+ },
1744
+ {
1745
+ "kind": "Content",
1746
+ "text": ", data: "
1747
+ },
1748
+ {
1749
+ "kind": "Reference",
1750
+ "text": "Uint8Array",
1751
+ "canonicalReference": "!Uint8Array:interface"
1752
+ },
1753
+ {
1754
+ "kind": "Content",
1755
+ "text": ", buf: "
1756
+ },
1757
+ {
1758
+ "kind": "Reference",
1759
+ "text": "ByteBuffer",
1760
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
1761
+ },
1762
+ {
1763
+ "kind": "Content",
1764
+ "text": "): "
1765
+ },
1766
+ {
1767
+ "kind": "Content",
1768
+ "text": "void"
1769
+ },
1770
+ {
1771
+ "kind": "Content",
1772
+ "text": ";"
1773
+ }
1774
+ ],
1775
+ "returnTypeTokenRange": {
1776
+ "startIndex": 11,
1777
+ "endIndex": 12
1778
+ },
1779
+ "releaseTag": "Public",
1780
+ "overloadIndex": 1,
1781
+ "parameters": [
1782
+ {
1783
+ "parameterName": "entity",
1784
+ "parameterTypeTokenRange": {
1785
+ "startIndex": 1,
1786
+ "endIndex": 2
1787
+ },
1788
+ "isOptional": false
1789
+ },
1790
+ {
1791
+ "parameterName": "timestamp",
1792
+ "parameterTypeTokenRange": {
1793
+ "startIndex": 3,
1794
+ "endIndex": 4
1795
+ },
1796
+ "isOptional": false
1797
+ },
1798
+ {
1799
+ "parameterName": "componentId",
1800
+ "parameterTypeTokenRange": {
1801
+ "startIndex": 5,
1802
+ "endIndex": 6
1803
+ },
1804
+ "isOptional": false
1805
+ },
1806
+ {
1807
+ "parameterName": "data",
1808
+ "parameterTypeTokenRange": {
1809
+ "startIndex": 7,
1810
+ "endIndex": 8
1811
+ },
1812
+ "isOptional": false
1813
+ },
1814
+ {
1815
+ "parameterName": "buf",
1816
+ "parameterTypeTokenRange": {
1817
+ "startIndex": 9,
1818
+ "endIndex": 10
1819
+ },
1820
+ "isOptional": false
1821
+ }
1822
+ ],
1823
+ "name": "write"
1824
+ }
1825
+ ]
1826
+ },
1534
1827
  {
1535
1828
  "kind": "Enum",
1536
1829
  "canonicalReference": "@dcl/playground-assets!AvatarAnchorPointType:enum",
@@ -3004,6 +3297,61 @@
3004
3297
  ],
3005
3298
  "name": "get"
3006
3299
  },
3300
+ {
3301
+ "kind": "MethodSignature",
3302
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtState:member(1)",
3303
+ "docComment": "/**\n * Get the CRDT state for an entity (serialized data and timestamp)\n *\n * @param entity - Entity to get the CRDT state for\n *\n * @returns Object with serialized data and timestamp, or null if entity doesn't have the component\n *\n * @public\n */\n",
3304
+ "excerptTokens": [
3305
+ {
3306
+ "kind": "Content",
3307
+ "text": "getCrdtState(entity: "
3308
+ },
3309
+ {
3310
+ "kind": "Reference",
3311
+ "text": "Entity",
3312
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
3313
+ },
3314
+ {
3315
+ "kind": "Content",
3316
+ "text": "): "
3317
+ },
3318
+ {
3319
+ "kind": "Content",
3320
+ "text": "{\n data: "
3321
+ },
3322
+ {
3323
+ "kind": "Reference",
3324
+ "text": "Uint8Array",
3325
+ "canonicalReference": "!Uint8Array:interface"
3326
+ },
3327
+ {
3328
+ "kind": "Content",
3329
+ "text": ";\n timestamp: number;\n } | null"
3330
+ },
3331
+ {
3332
+ "kind": "Content",
3333
+ "text": ";"
3334
+ }
3335
+ ],
3336
+ "isOptional": false,
3337
+ "returnTypeTokenRange": {
3338
+ "startIndex": 3,
3339
+ "endIndex": 6
3340
+ },
3341
+ "releaseTag": "Public",
3342
+ "overloadIndex": 1,
3343
+ "parameters": [
3344
+ {
3345
+ "parameterName": "entity",
3346
+ "parameterTypeTokenRange": {
3347
+ "startIndex": 1,
3348
+ "endIndex": 2
3349
+ },
3350
+ "isOptional": false
3351
+ }
3352
+ ],
3353
+ "name": "getCrdtState"
3354
+ },
3007
3355
  {
3008
3356
  "kind": "MethodSignature",
3009
3357
  "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
@@ -3240,6 +3588,123 @@
3240
3588
  }
3241
3589
  ],
3242
3590
  "name": "updateFromCrdt"
3591
+ },
3592
+ {
3593
+ "kind": "MethodSignature",
3594
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(1)",
3595
+ "docComment": "/**\n * @public\n */\n",
3596
+ "excerptTokens": [
3597
+ {
3598
+ "kind": "Content",
3599
+ "text": "validateBeforeChange(entity: "
3600
+ },
3601
+ {
3602
+ "kind": "Reference",
3603
+ "text": "Entity",
3604
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
3605
+ },
3606
+ {
3607
+ "kind": "Content",
3608
+ "text": ", cb: "
3609
+ },
3610
+ {
3611
+ "kind": "Reference",
3612
+ "text": "ValidateCallback",
3613
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
3614
+ },
3615
+ {
3616
+ "kind": "Content",
3617
+ "text": "<T>"
3618
+ },
3619
+ {
3620
+ "kind": "Content",
3621
+ "text": "): "
3622
+ },
3623
+ {
3624
+ "kind": "Content",
3625
+ "text": "void"
3626
+ },
3627
+ {
3628
+ "kind": "Content",
3629
+ "text": ";"
3630
+ }
3631
+ ],
3632
+ "isOptional": false,
3633
+ "returnTypeTokenRange": {
3634
+ "startIndex": 6,
3635
+ "endIndex": 7
3636
+ },
3637
+ "releaseTag": "Public",
3638
+ "overloadIndex": 1,
3639
+ "parameters": [
3640
+ {
3641
+ "parameterName": "entity",
3642
+ "parameterTypeTokenRange": {
3643
+ "startIndex": 1,
3644
+ "endIndex": 2
3645
+ },
3646
+ "isOptional": false
3647
+ },
3648
+ {
3649
+ "parameterName": "cb",
3650
+ "parameterTypeTokenRange": {
3651
+ "startIndex": 3,
3652
+ "endIndex": 5
3653
+ },
3654
+ "isOptional": false
3655
+ }
3656
+ ],
3657
+ "name": "validateBeforeChange"
3658
+ },
3659
+ {
3660
+ "kind": "MethodSignature",
3661
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(2)",
3662
+ "docComment": "",
3663
+ "excerptTokens": [
3664
+ {
3665
+ "kind": "Content",
3666
+ "text": "validateBeforeChange(cb: "
3667
+ },
3668
+ {
3669
+ "kind": "Reference",
3670
+ "text": "ValidateCallback",
3671
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
3672
+ },
3673
+ {
3674
+ "kind": "Content",
3675
+ "text": "<T>"
3676
+ },
3677
+ {
3678
+ "kind": "Content",
3679
+ "text": "): "
3680
+ },
3681
+ {
3682
+ "kind": "Content",
3683
+ "text": "void"
3684
+ },
3685
+ {
3686
+ "kind": "Content",
3687
+ "text": ";"
3688
+ }
3689
+ ],
3690
+ "isOptional": false,
3691
+ "returnTypeTokenRange": {
3692
+ "startIndex": 4,
3693
+ "endIndex": 5
3694
+ },
3695
+ "releaseTag": "Public",
3696
+ "overloadIndex": 2,
3697
+ "parameters": [
3698
+ {
3699
+ "parameterName": "cb",
3700
+ "parameterTypeTokenRange": {
3701
+ "startIndex": 1,
3702
+ "endIndex": 3
3703
+ },
3704
+ "isOptional": false
3705
+ }
3706
+ ],
3707
+ "name": "validateBeforeChange"
3243
3708
  }
3244
3709
  ],
3245
3710
  "extendsTokenRanges": []
@@ -15817,6 +16282,15 @@
15817
16282
  "kind": "Content",
15818
16283
  "text": " | "
15819
16284
  },
16285
+ {
16286
+ "kind": "Reference",
16287
+ "text": "AuthoritativePutComponentMessage",
16288
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
16289
+ },
16290
+ {
16291
+ "kind": "Content",
16292
+ "text": " | "
16293
+ },
15820
16294
  {
15821
16295
  "kind": "Reference",
15822
16296
  "text": "DeleteComponentMessage",
@@ -15877,7 +16351,7 @@
15877
16351
  "name": "CrdtMessage",
15878
16352
  "typeTokenRange": {
15879
16353
  "startIndex": 1,
15880
- "endIndex": 14
16354
+ "endIndex": 16
15881
16355
  }
15882
16356
  },
15883
16357
  {
@@ -15898,6 +16372,15 @@
15898
16372
  "kind": "Content",
15899
16373
  "text": " | "
15900
16374
  },
16375
+ {
16376
+ "kind": "Reference",
16377
+ "text": "AuthoritativePutComponentMessageBody",
16378
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
16379
+ },
16380
+ {
16381
+ "kind": "Content",
16382
+ "text": " | "
16383
+ },
15901
16384
  {
15902
16385
  "kind": "Reference",
15903
16386
  "text": "DeleteComponentMessageBody",
@@ -15940,7 +16423,7 @@
15940
16423
  "name": "CrdtMessageBody",
15941
16424
  "typeTokenRange": {
15942
16425
  "startIndex": 1,
15943
- "endIndex": 10
16426
+ "endIndex": 12
15944
16427
  }
15945
16428
  },
15946
16429
  {
@@ -16230,6 +16713,27 @@
16230
16713
  "releaseTag": "Public",
16231
16714
  "name": "APPEND_VALUE"
16232
16715
  },
16716
+ {
16717
+ "kind": "EnumMember",
16718
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
16719
+ "docComment": "",
16720
+ "excerptTokens": [
16721
+ {
16722
+ "kind": "Content",
16723
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
16724
+ },
16725
+ {
16726
+ "kind": "Content",
16727
+ "text": "8"
16728
+ }
16729
+ ],
16730
+ "initializerTokenRange": {
16731
+ "startIndex": 1,
16732
+ "endIndex": 2
16733
+ },
16734
+ "releaseTag": "Public",
16735
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
16736
+ },
16233
16737
  {
16234
16738
  "kind": "EnumMember",
16235
16739
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -16325,7 +16829,7 @@
16325
16829
  },
16326
16830
  {
16327
16831
  "kind": "Content",
16328
- "text": "8"
16832
+ "text": "9"
16329
16833
  }
16330
16834
  ],
16331
16835
  "initializerTokenRange": {
@@ -16445,6 +16949,30 @@
16445
16949
  "endIndex": 6
16446
16950
  }
16447
16951
  },
16952
+ {
16953
+ "kind": "Variable",
16954
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
16955
+ "docComment": "",
16956
+ "excerptTokens": [
16957
+ {
16958
+ "kind": "Content",
16959
+ "text": "CreatedBy: "
16960
+ },
16961
+ {
16962
+ "kind": "Reference",
16963
+ "text": "ICreatedBy",
16964
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
16965
+ }
16966
+ ],
16967
+ "fileUrlPath": "../ecs/dist/index.d.ts",
16968
+ "isReadonly": true,
16969
+ "releaseTag": "Public",
16970
+ "name": "CreatedBy",
16971
+ "variableTypeTokenRange": {
16972
+ "startIndex": 1,
16973
+ "endIndex": 2
16974
+ }
16975
+ },
16448
16976
  {
16449
16977
  "kind": "Function",
16450
16978
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -21668,6 +22196,91 @@
21668
22196
  "endIndex": 9
21669
22197
  }
21670
22198
  },
22199
+ {
22200
+ "kind": "TypeAlias",
22201
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
22202
+ "docComment": "",
22203
+ "excerptTokens": [
22204
+ {
22205
+ "kind": "Content",
22206
+ "text": "export type ICreatedBy = "
22207
+ },
22208
+ {
22209
+ "kind": "Reference",
22210
+ "text": "LastWriteWinElementSetComponentDefinition",
22211
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
22212
+ },
22213
+ {
22214
+ "kind": "Content",
22215
+ "text": "<"
22216
+ },
22217
+ {
22218
+ "kind": "Reference",
22219
+ "text": "ICreatedByType",
22220
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
22221
+ },
22222
+ {
22223
+ "kind": "Content",
22224
+ "text": ">"
22225
+ },
22226
+ {
22227
+ "kind": "Content",
22228
+ "text": ";"
22229
+ }
22230
+ ],
22231
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
22232
+ "releaseTag": "Public",
22233
+ "name": "ICreatedBy",
22234
+ "typeTokenRange": {
22235
+ "startIndex": 1,
22236
+ "endIndex": 5
22237
+ }
22238
+ },
22239
+ {
22240
+ "kind": "Interface",
22241
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
22242
+ "docComment": "",
22243
+ "excerptTokens": [
22244
+ {
22245
+ "kind": "Content",
22246
+ "text": "export interface ICreatedByType "
22247
+ }
22248
+ ],
22249
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
22250
+ "releaseTag": "Public",
22251
+ "name": "ICreatedByType",
22252
+ "preserveMemberOrder": false,
22253
+ "members": [
22254
+ {
22255
+ "kind": "PropertySignature",
22256
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
22257
+ "docComment": "",
22258
+ "excerptTokens": [
22259
+ {
22260
+ "kind": "Content",
22261
+ "text": "address: "
22262
+ },
22263
+ {
22264
+ "kind": "Content",
22265
+ "text": "string"
22266
+ },
22267
+ {
22268
+ "kind": "Content",
22269
+ "text": ";"
22270
+ }
22271
+ ],
22272
+ "isReadonly": false,
22273
+ "isOptional": false,
22274
+ "releaseTag": "Public",
22275
+ "name": "address",
22276
+ "propertyTypeTokenRange": {
22277
+ "startIndex": 1,
22278
+ "endIndex": 2
22279
+ }
22280
+ }
22281
+ ],
22282
+ "extendsTokenRanges": []
22283
+ },
21671
22284
  {
21672
22285
  "kind": "Interface",
21673
22286
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -24714,6 +25327,342 @@
24714
25327
  "endIndex": 16
24715
25328
  }
24716
25329
  },
25330
+ {
25331
+ "kind": "Interface",
25332
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
25333
+ "docComment": "/**\n * Internal component interface that exposes all internal methods for SDK use This is not exposed to users, only for internal SDK operations\n */\n",
25334
+ "excerptTokens": [
25335
+ {
25336
+ "kind": "Content",
25337
+ "text": "export interface InternalBaseComponent<T> extends "
25338
+ },
25339
+ {
25340
+ "kind": "Reference",
25341
+ "text": "BaseComponent",
25342
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
25343
+ },
25344
+ {
25345
+ "kind": "Content",
25346
+ "text": "<T>"
25347
+ },
25348
+ {
25349
+ "kind": "Content",
25350
+ "text": " "
25351
+ }
25352
+ ],
25353
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
25354
+ "releaseTag": "Public",
25355
+ "typeParameters": [
25356
+ {
25357
+ "typeParameterName": "T",
25358
+ "constraintTokenRange": {
25359
+ "startIndex": 0,
25360
+ "endIndex": 0
25361
+ },
25362
+ "defaultTypeTokenRange": {
25363
+ "startIndex": 0,
25364
+ "endIndex": 0
25365
+ }
25366
+ }
25367
+ ],
25368
+ "name": "InternalBaseComponent",
25369
+ "preserveMemberOrder": false,
25370
+ "members": [
25371
+ {
25372
+ "kind": "MethodSignature",
25373
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
25374
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
25375
+ "excerptTokens": [
25376
+ {
25377
+ "kind": "Content",
25378
+ "text": "__dry_run_updateFromCrdt(body: "
25379
+ },
25380
+ {
25381
+ "kind": "Reference",
25382
+ "text": "CrdtMessageBody",
25383
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
25384
+ },
25385
+ {
25386
+ "kind": "Content",
25387
+ "text": "): "
25388
+ },
25389
+ {
25390
+ "kind": "Reference",
25391
+ "text": "ProcessMessageResultType",
25392
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
25393
+ },
25394
+ {
25395
+ "kind": "Content",
25396
+ "text": ";"
25397
+ }
25398
+ ],
25399
+ "isOptional": false,
25400
+ "returnTypeTokenRange": {
25401
+ "startIndex": 3,
25402
+ "endIndex": 4
25403
+ },
25404
+ "releaseTag": "Public",
25405
+ "overloadIndex": 1,
25406
+ "parameters": [
25407
+ {
25408
+ "parameterName": "body",
25409
+ "parameterTypeTokenRange": {
25410
+ "startIndex": 1,
25411
+ "endIndex": 2
25412
+ },
25413
+ "isOptional": false
25414
+ }
25415
+ ],
25416
+ "name": "__dry_run_updateFromCrdt"
25417
+ },
25418
+ {
25419
+ "kind": "MethodSignature",
25420
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
25421
+ "docComment": "/**\n * @public\n */\n",
25422
+ "excerptTokens": [
25423
+ {
25424
+ "kind": "Content",
25425
+ "text": "__onChangeCallbacks(entity: "
25426
+ },
25427
+ {
25428
+ "kind": "Reference",
25429
+ "text": "Entity",
25430
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25431
+ },
25432
+ {
25433
+ "kind": "Content",
25434
+ "text": ", value: "
25435
+ },
25436
+ {
25437
+ "kind": "Content",
25438
+ "text": "T"
25439
+ },
25440
+ {
25441
+ "kind": "Content",
25442
+ "text": "): "
25443
+ },
25444
+ {
25445
+ "kind": "Content",
25446
+ "text": "void"
25447
+ },
25448
+ {
25449
+ "kind": "Content",
25450
+ "text": ";"
25451
+ }
25452
+ ],
25453
+ "isOptional": false,
25454
+ "returnTypeTokenRange": {
25455
+ "startIndex": 5,
25456
+ "endIndex": 6
25457
+ },
25458
+ "releaseTag": "Public",
25459
+ "overloadIndex": 1,
25460
+ "parameters": [
25461
+ {
25462
+ "parameterName": "entity",
25463
+ "parameterTypeTokenRange": {
25464
+ "startIndex": 1,
25465
+ "endIndex": 2
25466
+ },
25467
+ "isOptional": false
25468
+ },
25469
+ {
25470
+ "parameterName": "value",
25471
+ "parameterTypeTokenRange": {
25472
+ "startIndex": 3,
25473
+ "endIndex": 4
25474
+ },
25475
+ "isOptional": false
25476
+ }
25477
+ ],
25478
+ "name": "__onChangeCallbacks"
25479
+ },
25480
+ {
25481
+ "kind": "MethodSignature",
25482
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
25483
+ "docComment": "/**\n * @public\n */\n",
25484
+ "excerptTokens": [
25485
+ {
25486
+ "kind": "Content",
25487
+ "text": "__run_validateBeforeChange(entity: "
25488
+ },
25489
+ {
25490
+ "kind": "Reference",
25491
+ "text": "Entity",
25492
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25493
+ },
25494
+ {
25495
+ "kind": "Content",
25496
+ "text": ", newValue: "
25497
+ },
25498
+ {
25499
+ "kind": "Content",
25500
+ "text": "T | undefined"
25501
+ },
25502
+ {
25503
+ "kind": "Content",
25504
+ "text": ", senderAddress: "
25505
+ },
25506
+ {
25507
+ "kind": "Content",
25508
+ "text": "string"
25509
+ },
25510
+ {
25511
+ "kind": "Content",
25512
+ "text": ", createdBy: "
25513
+ },
25514
+ {
25515
+ "kind": "Content",
25516
+ "text": "string"
25517
+ },
25518
+ {
25519
+ "kind": "Content",
25520
+ "text": "): "
25521
+ },
25522
+ {
25523
+ "kind": "Content",
25524
+ "text": "boolean"
25525
+ },
25526
+ {
25527
+ "kind": "Content",
25528
+ "text": ";"
25529
+ }
25530
+ ],
25531
+ "isOptional": false,
25532
+ "returnTypeTokenRange": {
25533
+ "startIndex": 9,
25534
+ "endIndex": 10
25535
+ },
25536
+ "releaseTag": "Public",
25537
+ "overloadIndex": 1,
25538
+ "parameters": [
25539
+ {
25540
+ "parameterName": "entity",
25541
+ "parameterTypeTokenRange": {
25542
+ "startIndex": 1,
25543
+ "endIndex": 2
25544
+ },
25545
+ "isOptional": false
25546
+ },
25547
+ {
25548
+ "parameterName": "newValue",
25549
+ "parameterTypeTokenRange": {
25550
+ "startIndex": 3,
25551
+ "endIndex": 4
25552
+ },
25553
+ "isOptional": false
25554
+ },
25555
+ {
25556
+ "parameterName": "senderAddress",
25557
+ "parameterTypeTokenRange": {
25558
+ "startIndex": 5,
25559
+ "endIndex": 6
25560
+ },
25561
+ "isOptional": false
25562
+ },
25563
+ {
25564
+ "parameterName": "createdBy",
25565
+ "parameterTypeTokenRange": {
25566
+ "startIndex": 7,
25567
+ "endIndex": 8
25568
+ },
25569
+ "isOptional": false
25570
+ }
25571
+ ],
25572
+ "name": "__run_validateBeforeChange"
25573
+ },
25574
+ {
25575
+ "kind": "MethodSignature",
25576
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
25577
+ "docComment": "/**\n * @public\n */\n",
25578
+ "excerptTokens": [
25579
+ {
25580
+ "kind": "Content",
25581
+ "text": "dirtyIterator(): "
25582
+ },
25583
+ {
25584
+ "kind": "Reference",
25585
+ "text": "Iterable",
25586
+ "canonicalReference": "!Iterable:interface"
25587
+ },
25588
+ {
25589
+ "kind": "Content",
25590
+ "text": "<"
25591
+ },
25592
+ {
25593
+ "kind": "Reference",
25594
+ "text": "Entity",
25595
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25596
+ },
25597
+ {
25598
+ "kind": "Content",
25599
+ "text": ">"
25600
+ },
25601
+ {
25602
+ "kind": "Content",
25603
+ "text": ";"
25604
+ }
25605
+ ],
25606
+ "isOptional": false,
25607
+ "returnTypeTokenRange": {
25608
+ "startIndex": 1,
25609
+ "endIndex": 5
25610
+ },
25611
+ "releaseTag": "Public",
25612
+ "overloadIndex": 1,
25613
+ "parameters": [],
25614
+ "name": "dirtyIterator"
25615
+ },
25616
+ {
25617
+ "kind": "MethodSignature",
25618
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
25619
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
25620
+ "excerptTokens": [
25621
+ {
25622
+ "kind": "Content",
25623
+ "text": "iterator(): "
25624
+ },
25625
+ {
25626
+ "kind": "Reference",
25627
+ "text": "Iterable",
25628
+ "canonicalReference": "!Iterable:interface"
25629
+ },
25630
+ {
25631
+ "kind": "Content",
25632
+ "text": "<["
25633
+ },
25634
+ {
25635
+ "kind": "Reference",
25636
+ "text": "Entity",
25637
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25638
+ },
25639
+ {
25640
+ "kind": "Content",
25641
+ "text": ", any]>"
25642
+ },
25643
+ {
25644
+ "kind": "Content",
25645
+ "text": ";"
25646
+ }
25647
+ ],
25648
+ "isOptional": false,
25649
+ "returnTypeTokenRange": {
25650
+ "startIndex": 1,
25651
+ "endIndex": 5
25652
+ },
25653
+ "releaseTag": "Public",
25654
+ "overloadIndex": 1,
25655
+ "parameters": [],
25656
+ "name": "iterator"
25657
+ }
25658
+ ],
25659
+ "extendsTokenRanges": [
25660
+ {
25661
+ "startIndex": 1,
25662
+ "endIndex": 3
25663
+ }
25664
+ ]
25665
+ },
24717
25666
  {
24718
25667
  "kind": "Interface",
24719
25668
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -83546,6 +84495,54 @@
83546
84495
  "endIndex": 2
83547
84496
  }
83548
84497
  },
84498
+ {
84499
+ "kind": "TypeAlias",
84500
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
84501
+ "docComment": "",
84502
+ "excerptTokens": [
84503
+ {
84504
+ "kind": "Content",
84505
+ "text": "export type ValidateCallback<T> = "
84506
+ },
84507
+ {
84508
+ "kind": "Content",
84509
+ "text": "(value: {\n entity: "
84510
+ },
84511
+ {
84512
+ "kind": "Reference",
84513
+ "text": "Entity",
84514
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
84515
+ },
84516
+ {
84517
+ "kind": "Content",
84518
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
84519
+ },
84520
+ {
84521
+ "kind": "Content",
84522
+ "text": ";"
84523
+ }
84524
+ ],
84525
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
84526
+ "releaseTag": "Public",
84527
+ "name": "ValidateCallback",
84528
+ "typeParameters": [
84529
+ {
84530
+ "typeParameterName": "T",
84531
+ "constraintTokenRange": {
84532
+ "startIndex": 0,
84533
+ "endIndex": 0
84534
+ },
84535
+ "defaultTypeTokenRange": {
84536
+ "startIndex": 0,
84537
+ "endIndex": 0
84538
+ }
84539
+ }
84540
+ ],
84541
+ "typeTokenRange": {
84542
+ "startIndex": 1,
84543
+ "endIndex": 4
84544
+ }
84545
+ },
83549
84546
  {
83550
84547
  "kind": "TypeAlias",
83551
84548
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",