@dcl/playground-assets 7.20.1 → 7.20.2-22102228700.commit-61000fc

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": []
@@ -15763,6 +16228,15 @@
15763
16228
  "kind": "Content",
15764
16229
  "text": " | "
15765
16230
  },
16231
+ {
16232
+ "kind": "Reference",
16233
+ "text": "AuthoritativePutComponentMessage",
16234
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
16235
+ },
16236
+ {
16237
+ "kind": "Content",
16238
+ "text": " | "
16239
+ },
15766
16240
  {
15767
16241
  "kind": "Reference",
15768
16242
  "text": "DeleteComponentMessage",
@@ -15823,7 +16297,7 @@
15823
16297
  "name": "CrdtMessage",
15824
16298
  "typeTokenRange": {
15825
16299
  "startIndex": 1,
15826
- "endIndex": 14
16300
+ "endIndex": 16
15827
16301
  }
15828
16302
  },
15829
16303
  {
@@ -15844,6 +16318,15 @@
15844
16318
  "kind": "Content",
15845
16319
  "text": " | "
15846
16320
  },
16321
+ {
16322
+ "kind": "Reference",
16323
+ "text": "AuthoritativePutComponentMessageBody",
16324
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
16325
+ },
16326
+ {
16327
+ "kind": "Content",
16328
+ "text": " | "
16329
+ },
15847
16330
  {
15848
16331
  "kind": "Reference",
15849
16332
  "text": "DeleteComponentMessageBody",
@@ -15886,7 +16369,7 @@
15886
16369
  "name": "CrdtMessageBody",
15887
16370
  "typeTokenRange": {
15888
16371
  "startIndex": 1,
15889
- "endIndex": 10
16372
+ "endIndex": 12
15890
16373
  }
15891
16374
  },
15892
16375
  {
@@ -16176,6 +16659,27 @@
16176
16659
  "releaseTag": "Public",
16177
16660
  "name": "APPEND_VALUE"
16178
16661
  },
16662
+ {
16663
+ "kind": "EnumMember",
16664
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
16665
+ "docComment": "",
16666
+ "excerptTokens": [
16667
+ {
16668
+ "kind": "Content",
16669
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
16670
+ },
16671
+ {
16672
+ "kind": "Content",
16673
+ "text": "8"
16674
+ }
16675
+ ],
16676
+ "initializerTokenRange": {
16677
+ "startIndex": 1,
16678
+ "endIndex": 2
16679
+ },
16680
+ "releaseTag": "Public",
16681
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
16682
+ },
16179
16683
  {
16180
16684
  "kind": "EnumMember",
16181
16685
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -16271,7 +16775,7 @@
16271
16775
  },
16272
16776
  {
16273
16777
  "kind": "Content",
16274
- "text": "8"
16778
+ "text": "9"
16275
16779
  }
16276
16780
  ],
16277
16781
  "initializerTokenRange": {
@@ -16391,6 +16895,30 @@
16391
16895
  "endIndex": 6
16392
16896
  }
16393
16897
  },
16898
+ {
16899
+ "kind": "Variable",
16900
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
16901
+ "docComment": "",
16902
+ "excerptTokens": [
16903
+ {
16904
+ "kind": "Content",
16905
+ "text": "CreatedBy: "
16906
+ },
16907
+ {
16908
+ "kind": "Reference",
16909
+ "text": "ICreatedBy",
16910
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
16911
+ }
16912
+ ],
16913
+ "fileUrlPath": "../ecs/dist/index.d.ts",
16914
+ "isReadonly": true,
16915
+ "releaseTag": "Public",
16916
+ "name": "CreatedBy",
16917
+ "variableTypeTokenRange": {
16918
+ "startIndex": 1,
16919
+ "endIndex": 2
16920
+ }
16921
+ },
16394
16922
  {
16395
16923
  "kind": "Function",
16396
16924
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -21556,6 +22084,91 @@
21556
22084
  "endIndex": 9
21557
22085
  }
21558
22086
  },
22087
+ {
22088
+ "kind": "TypeAlias",
22089
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
22090
+ "docComment": "",
22091
+ "excerptTokens": [
22092
+ {
22093
+ "kind": "Content",
22094
+ "text": "export type ICreatedBy = "
22095
+ },
22096
+ {
22097
+ "kind": "Reference",
22098
+ "text": "LastWriteWinElementSetComponentDefinition",
22099
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
22100
+ },
22101
+ {
22102
+ "kind": "Content",
22103
+ "text": "<"
22104
+ },
22105
+ {
22106
+ "kind": "Reference",
22107
+ "text": "ICreatedByType",
22108
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
22109
+ },
22110
+ {
22111
+ "kind": "Content",
22112
+ "text": ">"
22113
+ },
22114
+ {
22115
+ "kind": "Content",
22116
+ "text": ";"
22117
+ }
22118
+ ],
22119
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
22120
+ "releaseTag": "Public",
22121
+ "name": "ICreatedBy",
22122
+ "typeTokenRange": {
22123
+ "startIndex": 1,
22124
+ "endIndex": 5
22125
+ }
22126
+ },
22127
+ {
22128
+ "kind": "Interface",
22129
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
22130
+ "docComment": "",
22131
+ "excerptTokens": [
22132
+ {
22133
+ "kind": "Content",
22134
+ "text": "export interface ICreatedByType "
22135
+ }
22136
+ ],
22137
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
22138
+ "releaseTag": "Public",
22139
+ "name": "ICreatedByType",
22140
+ "preserveMemberOrder": false,
22141
+ "members": [
22142
+ {
22143
+ "kind": "PropertySignature",
22144
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
22145
+ "docComment": "",
22146
+ "excerptTokens": [
22147
+ {
22148
+ "kind": "Content",
22149
+ "text": "address: "
22150
+ },
22151
+ {
22152
+ "kind": "Content",
22153
+ "text": "string"
22154
+ },
22155
+ {
22156
+ "kind": "Content",
22157
+ "text": ";"
22158
+ }
22159
+ ],
22160
+ "isReadonly": false,
22161
+ "isOptional": false,
22162
+ "releaseTag": "Public",
22163
+ "name": "address",
22164
+ "propertyTypeTokenRange": {
22165
+ "startIndex": 1,
22166
+ "endIndex": 2
22167
+ }
22168
+ }
22169
+ ],
22170
+ "extendsTokenRanges": []
22171
+ },
21559
22172
  {
21560
22173
  "kind": "Interface",
21561
22174
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -24602,6 +25215,342 @@
24602
25215
  "endIndex": 16
24603
25216
  }
24604
25217
  },
25218
+ {
25219
+ "kind": "Interface",
25220
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
25221
+ "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",
25222
+ "excerptTokens": [
25223
+ {
25224
+ "kind": "Content",
25225
+ "text": "export interface InternalBaseComponent<T> extends "
25226
+ },
25227
+ {
25228
+ "kind": "Reference",
25229
+ "text": "BaseComponent",
25230
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
25231
+ },
25232
+ {
25233
+ "kind": "Content",
25234
+ "text": "<T>"
25235
+ },
25236
+ {
25237
+ "kind": "Content",
25238
+ "text": " "
25239
+ }
25240
+ ],
25241
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
25242
+ "releaseTag": "Public",
25243
+ "typeParameters": [
25244
+ {
25245
+ "typeParameterName": "T",
25246
+ "constraintTokenRange": {
25247
+ "startIndex": 0,
25248
+ "endIndex": 0
25249
+ },
25250
+ "defaultTypeTokenRange": {
25251
+ "startIndex": 0,
25252
+ "endIndex": 0
25253
+ }
25254
+ }
25255
+ ],
25256
+ "name": "InternalBaseComponent",
25257
+ "preserveMemberOrder": false,
25258
+ "members": [
25259
+ {
25260
+ "kind": "MethodSignature",
25261
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
25262
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
25263
+ "excerptTokens": [
25264
+ {
25265
+ "kind": "Content",
25266
+ "text": "__dry_run_updateFromCrdt(body: "
25267
+ },
25268
+ {
25269
+ "kind": "Reference",
25270
+ "text": "CrdtMessageBody",
25271
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
25272
+ },
25273
+ {
25274
+ "kind": "Content",
25275
+ "text": "): "
25276
+ },
25277
+ {
25278
+ "kind": "Reference",
25279
+ "text": "ProcessMessageResultType",
25280
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
25281
+ },
25282
+ {
25283
+ "kind": "Content",
25284
+ "text": ";"
25285
+ }
25286
+ ],
25287
+ "isOptional": false,
25288
+ "returnTypeTokenRange": {
25289
+ "startIndex": 3,
25290
+ "endIndex": 4
25291
+ },
25292
+ "releaseTag": "Public",
25293
+ "overloadIndex": 1,
25294
+ "parameters": [
25295
+ {
25296
+ "parameterName": "body",
25297
+ "parameterTypeTokenRange": {
25298
+ "startIndex": 1,
25299
+ "endIndex": 2
25300
+ },
25301
+ "isOptional": false
25302
+ }
25303
+ ],
25304
+ "name": "__dry_run_updateFromCrdt"
25305
+ },
25306
+ {
25307
+ "kind": "MethodSignature",
25308
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
25309
+ "docComment": "/**\n * @public\n */\n",
25310
+ "excerptTokens": [
25311
+ {
25312
+ "kind": "Content",
25313
+ "text": "__onChangeCallbacks(entity: "
25314
+ },
25315
+ {
25316
+ "kind": "Reference",
25317
+ "text": "Entity",
25318
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25319
+ },
25320
+ {
25321
+ "kind": "Content",
25322
+ "text": ", value: "
25323
+ },
25324
+ {
25325
+ "kind": "Content",
25326
+ "text": "T"
25327
+ },
25328
+ {
25329
+ "kind": "Content",
25330
+ "text": "): "
25331
+ },
25332
+ {
25333
+ "kind": "Content",
25334
+ "text": "void"
25335
+ },
25336
+ {
25337
+ "kind": "Content",
25338
+ "text": ";"
25339
+ }
25340
+ ],
25341
+ "isOptional": false,
25342
+ "returnTypeTokenRange": {
25343
+ "startIndex": 5,
25344
+ "endIndex": 6
25345
+ },
25346
+ "releaseTag": "Public",
25347
+ "overloadIndex": 1,
25348
+ "parameters": [
25349
+ {
25350
+ "parameterName": "entity",
25351
+ "parameterTypeTokenRange": {
25352
+ "startIndex": 1,
25353
+ "endIndex": 2
25354
+ },
25355
+ "isOptional": false
25356
+ },
25357
+ {
25358
+ "parameterName": "value",
25359
+ "parameterTypeTokenRange": {
25360
+ "startIndex": 3,
25361
+ "endIndex": 4
25362
+ },
25363
+ "isOptional": false
25364
+ }
25365
+ ],
25366
+ "name": "__onChangeCallbacks"
25367
+ },
25368
+ {
25369
+ "kind": "MethodSignature",
25370
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
25371
+ "docComment": "/**\n * @public\n */\n",
25372
+ "excerptTokens": [
25373
+ {
25374
+ "kind": "Content",
25375
+ "text": "__run_validateBeforeChange(entity: "
25376
+ },
25377
+ {
25378
+ "kind": "Reference",
25379
+ "text": "Entity",
25380
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25381
+ },
25382
+ {
25383
+ "kind": "Content",
25384
+ "text": ", newValue: "
25385
+ },
25386
+ {
25387
+ "kind": "Content",
25388
+ "text": "T | undefined"
25389
+ },
25390
+ {
25391
+ "kind": "Content",
25392
+ "text": ", senderAddress: "
25393
+ },
25394
+ {
25395
+ "kind": "Content",
25396
+ "text": "string"
25397
+ },
25398
+ {
25399
+ "kind": "Content",
25400
+ "text": ", createdBy: "
25401
+ },
25402
+ {
25403
+ "kind": "Content",
25404
+ "text": "string"
25405
+ },
25406
+ {
25407
+ "kind": "Content",
25408
+ "text": "): "
25409
+ },
25410
+ {
25411
+ "kind": "Content",
25412
+ "text": "boolean"
25413
+ },
25414
+ {
25415
+ "kind": "Content",
25416
+ "text": ";"
25417
+ }
25418
+ ],
25419
+ "isOptional": false,
25420
+ "returnTypeTokenRange": {
25421
+ "startIndex": 9,
25422
+ "endIndex": 10
25423
+ },
25424
+ "releaseTag": "Public",
25425
+ "overloadIndex": 1,
25426
+ "parameters": [
25427
+ {
25428
+ "parameterName": "entity",
25429
+ "parameterTypeTokenRange": {
25430
+ "startIndex": 1,
25431
+ "endIndex": 2
25432
+ },
25433
+ "isOptional": false
25434
+ },
25435
+ {
25436
+ "parameterName": "newValue",
25437
+ "parameterTypeTokenRange": {
25438
+ "startIndex": 3,
25439
+ "endIndex": 4
25440
+ },
25441
+ "isOptional": false
25442
+ },
25443
+ {
25444
+ "parameterName": "senderAddress",
25445
+ "parameterTypeTokenRange": {
25446
+ "startIndex": 5,
25447
+ "endIndex": 6
25448
+ },
25449
+ "isOptional": false
25450
+ },
25451
+ {
25452
+ "parameterName": "createdBy",
25453
+ "parameterTypeTokenRange": {
25454
+ "startIndex": 7,
25455
+ "endIndex": 8
25456
+ },
25457
+ "isOptional": false
25458
+ }
25459
+ ],
25460
+ "name": "__run_validateBeforeChange"
25461
+ },
25462
+ {
25463
+ "kind": "MethodSignature",
25464
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
25465
+ "docComment": "/**\n * @public\n */\n",
25466
+ "excerptTokens": [
25467
+ {
25468
+ "kind": "Content",
25469
+ "text": "dirtyIterator(): "
25470
+ },
25471
+ {
25472
+ "kind": "Reference",
25473
+ "text": "Iterable",
25474
+ "canonicalReference": "!Iterable:interface"
25475
+ },
25476
+ {
25477
+ "kind": "Content",
25478
+ "text": "<"
25479
+ },
25480
+ {
25481
+ "kind": "Reference",
25482
+ "text": "Entity",
25483
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25484
+ },
25485
+ {
25486
+ "kind": "Content",
25487
+ "text": ">"
25488
+ },
25489
+ {
25490
+ "kind": "Content",
25491
+ "text": ";"
25492
+ }
25493
+ ],
25494
+ "isOptional": false,
25495
+ "returnTypeTokenRange": {
25496
+ "startIndex": 1,
25497
+ "endIndex": 5
25498
+ },
25499
+ "releaseTag": "Public",
25500
+ "overloadIndex": 1,
25501
+ "parameters": [],
25502
+ "name": "dirtyIterator"
25503
+ },
25504
+ {
25505
+ "kind": "MethodSignature",
25506
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
25507
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
25508
+ "excerptTokens": [
25509
+ {
25510
+ "kind": "Content",
25511
+ "text": "iterator(): "
25512
+ },
25513
+ {
25514
+ "kind": "Reference",
25515
+ "text": "Iterable",
25516
+ "canonicalReference": "!Iterable:interface"
25517
+ },
25518
+ {
25519
+ "kind": "Content",
25520
+ "text": "<["
25521
+ },
25522
+ {
25523
+ "kind": "Reference",
25524
+ "text": "Entity",
25525
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
25526
+ },
25527
+ {
25528
+ "kind": "Content",
25529
+ "text": ", any]>"
25530
+ },
25531
+ {
25532
+ "kind": "Content",
25533
+ "text": ";"
25534
+ }
25535
+ ],
25536
+ "isOptional": false,
25537
+ "returnTypeTokenRange": {
25538
+ "startIndex": 1,
25539
+ "endIndex": 5
25540
+ },
25541
+ "releaseTag": "Public",
25542
+ "overloadIndex": 1,
25543
+ "parameters": [],
25544
+ "name": "iterator"
25545
+ }
25546
+ ],
25547
+ "extendsTokenRanges": [
25548
+ {
25549
+ "startIndex": 1,
25550
+ "endIndex": 3
25551
+ }
25552
+ ]
25553
+ },
24605
25554
  {
24606
25555
  "kind": "Interface",
24607
25556
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -82085,6 +83034,54 @@
82085
83034
  "endIndex": 2
82086
83035
  }
82087
83036
  },
83037
+ {
83038
+ "kind": "TypeAlias",
83039
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
83040
+ "docComment": "",
83041
+ "excerptTokens": [
83042
+ {
83043
+ "kind": "Content",
83044
+ "text": "export type ValidateCallback<T> = "
83045
+ },
83046
+ {
83047
+ "kind": "Content",
83048
+ "text": "(value: {\n entity: "
83049
+ },
83050
+ {
83051
+ "kind": "Reference",
83052
+ "text": "Entity",
83053
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
83054
+ },
83055
+ {
83056
+ "kind": "Content",
83057
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
83058
+ },
83059
+ {
83060
+ "kind": "Content",
83061
+ "text": ";"
83062
+ }
83063
+ ],
83064
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
83065
+ "releaseTag": "Public",
83066
+ "name": "ValidateCallback",
83067
+ "typeParameters": [
83068
+ {
83069
+ "typeParameterName": "T",
83070
+ "constraintTokenRange": {
83071
+ "startIndex": 0,
83072
+ "endIndex": 0
83073
+ },
83074
+ "defaultTypeTokenRange": {
83075
+ "startIndex": 0,
83076
+ "endIndex": 0
83077
+ }
83078
+ }
83079
+ ],
83080
+ "typeTokenRange": {
83081
+ "startIndex": 1,
83082
+ "endIndex": 4
83083
+ }
83084
+ },
82088
83085
  {
82089
83086
  "kind": "TypeAlias",
82090
83087
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",