@dcl/playground-assets 7.22.5 → 7.22.6-25321038582.commit-63ddb3f

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": []
@@ -16077,6 +16542,15 @@
16077
16542
  "kind": "Content",
16078
16543
  "text": " | "
16079
16544
  },
16545
+ {
16546
+ "kind": "Reference",
16547
+ "text": "AuthoritativePutComponentMessage",
16548
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
16549
+ },
16550
+ {
16551
+ "kind": "Content",
16552
+ "text": " | "
16553
+ },
16080
16554
  {
16081
16555
  "kind": "Reference",
16082
16556
  "text": "DeleteComponentMessage",
@@ -16137,7 +16611,7 @@
16137
16611
  "name": "CrdtMessage",
16138
16612
  "typeTokenRange": {
16139
16613
  "startIndex": 1,
16140
- "endIndex": 14
16614
+ "endIndex": 16
16141
16615
  }
16142
16616
  },
16143
16617
  {
@@ -16158,6 +16632,15 @@
16158
16632
  "kind": "Content",
16159
16633
  "text": " | "
16160
16634
  },
16635
+ {
16636
+ "kind": "Reference",
16637
+ "text": "AuthoritativePutComponentMessageBody",
16638
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
16639
+ },
16640
+ {
16641
+ "kind": "Content",
16642
+ "text": " | "
16643
+ },
16161
16644
  {
16162
16645
  "kind": "Reference",
16163
16646
  "text": "DeleteComponentMessageBody",
@@ -16200,7 +16683,7 @@
16200
16683
  "name": "CrdtMessageBody",
16201
16684
  "typeTokenRange": {
16202
16685
  "startIndex": 1,
16203
- "endIndex": 10
16686
+ "endIndex": 12
16204
16687
  }
16205
16688
  },
16206
16689
  {
@@ -16490,6 +16973,27 @@
16490
16973
  "releaseTag": "Public",
16491
16974
  "name": "APPEND_VALUE"
16492
16975
  },
16976
+ {
16977
+ "kind": "EnumMember",
16978
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
16979
+ "docComment": "",
16980
+ "excerptTokens": [
16981
+ {
16982
+ "kind": "Content",
16983
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
16984
+ },
16985
+ {
16986
+ "kind": "Content",
16987
+ "text": "8"
16988
+ }
16989
+ ],
16990
+ "initializerTokenRange": {
16991
+ "startIndex": 1,
16992
+ "endIndex": 2
16993
+ },
16994
+ "releaseTag": "Public",
16995
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
16996
+ },
16493
16997
  {
16494
16998
  "kind": "EnumMember",
16495
16999
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -16585,7 +17089,7 @@
16585
17089
  },
16586
17090
  {
16587
17091
  "kind": "Content",
16588
- "text": "8"
17092
+ "text": "9"
16589
17093
  }
16590
17094
  ],
16591
17095
  "initializerTokenRange": {
@@ -16705,6 +17209,30 @@
16705
17209
  "endIndex": 6
16706
17210
  }
16707
17211
  },
17212
+ {
17213
+ "kind": "Variable",
17214
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
17215
+ "docComment": "",
17216
+ "excerptTokens": [
17217
+ {
17218
+ "kind": "Content",
17219
+ "text": "CreatedBy: "
17220
+ },
17221
+ {
17222
+ "kind": "Reference",
17223
+ "text": "ICreatedBy",
17224
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
17225
+ }
17226
+ ],
17227
+ "fileUrlPath": "../ecs/dist/index.d.ts",
17228
+ "isReadonly": true,
17229
+ "releaseTag": "Public",
17230
+ "name": "CreatedBy",
17231
+ "variableTypeTokenRange": {
17232
+ "startIndex": 1,
17233
+ "endIndex": 2
17234
+ }
17235
+ },
16708
17236
  {
16709
17237
  "kind": "Function",
16710
17238
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -22151,6 +22679,91 @@
22151
22679
  "endIndex": 9
22152
22680
  }
22153
22681
  },
22682
+ {
22683
+ "kind": "TypeAlias",
22684
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
22685
+ "docComment": "",
22686
+ "excerptTokens": [
22687
+ {
22688
+ "kind": "Content",
22689
+ "text": "export type ICreatedBy = "
22690
+ },
22691
+ {
22692
+ "kind": "Reference",
22693
+ "text": "LastWriteWinElementSetComponentDefinition",
22694
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
22695
+ },
22696
+ {
22697
+ "kind": "Content",
22698
+ "text": "<"
22699
+ },
22700
+ {
22701
+ "kind": "Reference",
22702
+ "text": "ICreatedByType",
22703
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
22704
+ },
22705
+ {
22706
+ "kind": "Content",
22707
+ "text": ">"
22708
+ },
22709
+ {
22710
+ "kind": "Content",
22711
+ "text": ";"
22712
+ }
22713
+ ],
22714
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
22715
+ "releaseTag": "Public",
22716
+ "name": "ICreatedBy",
22717
+ "typeTokenRange": {
22718
+ "startIndex": 1,
22719
+ "endIndex": 5
22720
+ }
22721
+ },
22722
+ {
22723
+ "kind": "Interface",
22724
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
22725
+ "docComment": "",
22726
+ "excerptTokens": [
22727
+ {
22728
+ "kind": "Content",
22729
+ "text": "export interface ICreatedByType "
22730
+ }
22731
+ ],
22732
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
22733
+ "releaseTag": "Public",
22734
+ "name": "ICreatedByType",
22735
+ "preserveMemberOrder": false,
22736
+ "members": [
22737
+ {
22738
+ "kind": "PropertySignature",
22739
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
22740
+ "docComment": "",
22741
+ "excerptTokens": [
22742
+ {
22743
+ "kind": "Content",
22744
+ "text": "address: "
22745
+ },
22746
+ {
22747
+ "kind": "Content",
22748
+ "text": "string"
22749
+ },
22750
+ {
22751
+ "kind": "Content",
22752
+ "text": ";"
22753
+ }
22754
+ ],
22755
+ "isReadonly": false,
22756
+ "isOptional": false,
22757
+ "releaseTag": "Public",
22758
+ "name": "address",
22759
+ "propertyTypeTokenRange": {
22760
+ "startIndex": 1,
22761
+ "endIndex": 2
22762
+ }
22763
+ }
22764
+ ],
22765
+ "extendsTokenRanges": []
22766
+ },
22154
22767
  {
22155
22768
  "kind": "Interface",
22156
22769
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -25256,6 +25869,342 @@
25256
25869
  }
25257
25870
  ]
25258
25871
  },
25872
+ {
25873
+ "kind": "Interface",
25874
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
25875
+ "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",
25876
+ "excerptTokens": [
25877
+ {
25878
+ "kind": "Content",
25879
+ "text": "export interface InternalBaseComponent<T> extends "
25880
+ },
25881
+ {
25882
+ "kind": "Reference",
25883
+ "text": "BaseComponent",
25884
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
25885
+ },
25886
+ {
25887
+ "kind": "Content",
25888
+ "text": "<T>"
25889
+ },
25890
+ {
25891
+ "kind": "Content",
25892
+ "text": " "
25893
+ }
25894
+ ],
25895
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
25896
+ "releaseTag": "Public",
25897
+ "typeParameters": [
25898
+ {
25899
+ "typeParameterName": "T",
25900
+ "constraintTokenRange": {
25901
+ "startIndex": 0,
25902
+ "endIndex": 0
25903
+ },
25904
+ "defaultTypeTokenRange": {
25905
+ "startIndex": 0,
25906
+ "endIndex": 0
25907
+ }
25908
+ }
25909
+ ],
25910
+ "name": "InternalBaseComponent",
25911
+ "preserveMemberOrder": false,
25912
+ "members": [
25913
+ {
25914
+ "kind": "MethodSignature",
25915
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
25916
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
25917
+ "excerptTokens": [
25918
+ {
25919
+ "kind": "Content",
25920
+ "text": "__dry_run_updateFromCrdt(body: "
25921
+ },
25922
+ {
25923
+ "kind": "Reference",
25924
+ "text": "CrdtMessageBody",
25925
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
25926
+ },
25927
+ {
25928
+ "kind": "Content",
25929
+ "text": "): "
25930
+ },
25931
+ {
25932
+ "kind": "Reference",
25933
+ "text": "ProcessMessageResultType",
25934
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
25935
+ },
25936
+ {
25937
+ "kind": "Content",
25938
+ "text": ";"
25939
+ }
25940
+ ],
25941
+ "isOptional": false,
25942
+ "returnTypeTokenRange": {
25943
+ "startIndex": 3,
25944
+ "endIndex": 4
25945
+ },
25946
+ "releaseTag": "Public",
25947
+ "overloadIndex": 1,
25948
+ "parameters": [
25949
+ {
25950
+ "parameterName": "body",
25951
+ "parameterTypeTokenRange": {
25952
+ "startIndex": 1,
25953
+ "endIndex": 2
25954
+ },
25955
+ "isOptional": false
25956
+ }
25957
+ ],
25958
+ "name": "__dry_run_updateFromCrdt"
25959
+ },
25960
+ {
25961
+ "kind": "MethodSignature",
25962
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
25963
+ "docComment": "/**\n * @public\n */\n",
25964
+ "excerptTokens": [
25965
+ {
25966
+ "kind": "Content",
25967
+ "text": "__onChangeCallbacks(entity: "
25968
+ },
25969
+ {
25970
+ "kind": "Reference",
25971
+ "text": "Entity",
25972
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25973
+ },
25974
+ {
25975
+ "kind": "Content",
25976
+ "text": ", value: "
25977
+ },
25978
+ {
25979
+ "kind": "Content",
25980
+ "text": "T"
25981
+ },
25982
+ {
25983
+ "kind": "Content",
25984
+ "text": "): "
25985
+ },
25986
+ {
25987
+ "kind": "Content",
25988
+ "text": "void"
25989
+ },
25990
+ {
25991
+ "kind": "Content",
25992
+ "text": ";"
25993
+ }
25994
+ ],
25995
+ "isOptional": false,
25996
+ "returnTypeTokenRange": {
25997
+ "startIndex": 5,
25998
+ "endIndex": 6
25999
+ },
26000
+ "releaseTag": "Public",
26001
+ "overloadIndex": 1,
26002
+ "parameters": [
26003
+ {
26004
+ "parameterName": "entity",
26005
+ "parameterTypeTokenRange": {
26006
+ "startIndex": 1,
26007
+ "endIndex": 2
26008
+ },
26009
+ "isOptional": false
26010
+ },
26011
+ {
26012
+ "parameterName": "value",
26013
+ "parameterTypeTokenRange": {
26014
+ "startIndex": 3,
26015
+ "endIndex": 4
26016
+ },
26017
+ "isOptional": false
26018
+ }
26019
+ ],
26020
+ "name": "__onChangeCallbacks"
26021
+ },
26022
+ {
26023
+ "kind": "MethodSignature",
26024
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
26025
+ "docComment": "/**\n * @public\n */\n",
26026
+ "excerptTokens": [
26027
+ {
26028
+ "kind": "Content",
26029
+ "text": "__run_validateBeforeChange(entity: "
26030
+ },
26031
+ {
26032
+ "kind": "Reference",
26033
+ "text": "Entity",
26034
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26035
+ },
26036
+ {
26037
+ "kind": "Content",
26038
+ "text": ", newValue: "
26039
+ },
26040
+ {
26041
+ "kind": "Content",
26042
+ "text": "T | undefined"
26043
+ },
26044
+ {
26045
+ "kind": "Content",
26046
+ "text": ", senderAddress: "
26047
+ },
26048
+ {
26049
+ "kind": "Content",
26050
+ "text": "string"
26051
+ },
26052
+ {
26053
+ "kind": "Content",
26054
+ "text": ", createdBy: "
26055
+ },
26056
+ {
26057
+ "kind": "Content",
26058
+ "text": "string"
26059
+ },
26060
+ {
26061
+ "kind": "Content",
26062
+ "text": "): "
26063
+ },
26064
+ {
26065
+ "kind": "Content",
26066
+ "text": "boolean"
26067
+ },
26068
+ {
26069
+ "kind": "Content",
26070
+ "text": ";"
26071
+ }
26072
+ ],
26073
+ "isOptional": false,
26074
+ "returnTypeTokenRange": {
26075
+ "startIndex": 9,
26076
+ "endIndex": 10
26077
+ },
26078
+ "releaseTag": "Public",
26079
+ "overloadIndex": 1,
26080
+ "parameters": [
26081
+ {
26082
+ "parameterName": "entity",
26083
+ "parameterTypeTokenRange": {
26084
+ "startIndex": 1,
26085
+ "endIndex": 2
26086
+ },
26087
+ "isOptional": false
26088
+ },
26089
+ {
26090
+ "parameterName": "newValue",
26091
+ "parameterTypeTokenRange": {
26092
+ "startIndex": 3,
26093
+ "endIndex": 4
26094
+ },
26095
+ "isOptional": false
26096
+ },
26097
+ {
26098
+ "parameterName": "senderAddress",
26099
+ "parameterTypeTokenRange": {
26100
+ "startIndex": 5,
26101
+ "endIndex": 6
26102
+ },
26103
+ "isOptional": false
26104
+ },
26105
+ {
26106
+ "parameterName": "createdBy",
26107
+ "parameterTypeTokenRange": {
26108
+ "startIndex": 7,
26109
+ "endIndex": 8
26110
+ },
26111
+ "isOptional": false
26112
+ }
26113
+ ],
26114
+ "name": "__run_validateBeforeChange"
26115
+ },
26116
+ {
26117
+ "kind": "MethodSignature",
26118
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
26119
+ "docComment": "/**\n * @public\n */\n",
26120
+ "excerptTokens": [
26121
+ {
26122
+ "kind": "Content",
26123
+ "text": "dirtyIterator(): "
26124
+ },
26125
+ {
26126
+ "kind": "Reference",
26127
+ "text": "Iterable",
26128
+ "canonicalReference": "!Iterable:interface"
26129
+ },
26130
+ {
26131
+ "kind": "Content",
26132
+ "text": "<"
26133
+ },
26134
+ {
26135
+ "kind": "Reference",
26136
+ "text": "Entity",
26137
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26138
+ },
26139
+ {
26140
+ "kind": "Content",
26141
+ "text": ">"
26142
+ },
26143
+ {
26144
+ "kind": "Content",
26145
+ "text": ";"
26146
+ }
26147
+ ],
26148
+ "isOptional": false,
26149
+ "returnTypeTokenRange": {
26150
+ "startIndex": 1,
26151
+ "endIndex": 5
26152
+ },
26153
+ "releaseTag": "Public",
26154
+ "overloadIndex": 1,
26155
+ "parameters": [],
26156
+ "name": "dirtyIterator"
26157
+ },
26158
+ {
26159
+ "kind": "MethodSignature",
26160
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
26161
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
26162
+ "excerptTokens": [
26163
+ {
26164
+ "kind": "Content",
26165
+ "text": "iterator(): "
26166
+ },
26167
+ {
26168
+ "kind": "Reference",
26169
+ "text": "Iterable",
26170
+ "canonicalReference": "!Iterable:interface"
26171
+ },
26172
+ {
26173
+ "kind": "Content",
26174
+ "text": "<["
26175
+ },
26176
+ {
26177
+ "kind": "Reference",
26178
+ "text": "Entity",
26179
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26180
+ },
26181
+ {
26182
+ "kind": "Content",
26183
+ "text": ", any]>"
26184
+ },
26185
+ {
26186
+ "kind": "Content",
26187
+ "text": ";"
26188
+ }
26189
+ ],
26190
+ "isOptional": false,
26191
+ "returnTypeTokenRange": {
26192
+ "startIndex": 1,
26193
+ "endIndex": 5
26194
+ },
26195
+ "releaseTag": "Public",
26196
+ "overloadIndex": 1,
26197
+ "parameters": [],
26198
+ "name": "iterator"
26199
+ }
26200
+ ],
26201
+ "extendsTokenRanges": [
26202
+ {
26203
+ "startIndex": 1,
26204
+ "endIndex": 3
26205
+ }
26206
+ ]
26207
+ },
25259
26208
  {
25260
26209
  "kind": "Interface",
25261
26210
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -88891,6 +89840,54 @@
88891
89840
  "endIndex": 2
88892
89841
  }
88893
89842
  },
89843
+ {
89844
+ "kind": "TypeAlias",
89845
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
89846
+ "docComment": "",
89847
+ "excerptTokens": [
89848
+ {
89849
+ "kind": "Content",
89850
+ "text": "export type ValidateCallback<T> = "
89851
+ },
89852
+ {
89853
+ "kind": "Content",
89854
+ "text": "(value: {\n entity: "
89855
+ },
89856
+ {
89857
+ "kind": "Reference",
89858
+ "text": "Entity",
89859
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
89860
+ },
89861
+ {
89862
+ "kind": "Content",
89863
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
89864
+ },
89865
+ {
89866
+ "kind": "Content",
89867
+ "text": ";"
89868
+ }
89869
+ ],
89870
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
89871
+ "releaseTag": "Public",
89872
+ "name": "ValidateCallback",
89873
+ "typeParameters": [
89874
+ {
89875
+ "typeParameterName": "T",
89876
+ "constraintTokenRange": {
89877
+ "startIndex": 0,
89878
+ "endIndex": 0
89879
+ },
89880
+ "defaultTypeTokenRange": {
89881
+ "startIndex": 0,
89882
+ "endIndex": 0
89883
+ }
89884
+ }
89885
+ ],
89886
+ "typeTokenRange": {
89887
+ "startIndex": 1,
89888
+ "endIndex": 4
89889
+ }
89890
+ },
88894
89891
  {
88895
89892
  "kind": "TypeAlias",
88896
89893
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",