@dcl/playground-assets 7.23.3 → 7.23.4-26106700711.commit-2afa13b

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.
@@ -1942,6 +1942,299 @@
1942
1942
  }
1943
1943
  ]
1944
1944
  },
1945
+ {
1946
+ "kind": "TypeAlias",
1947
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type",
1948
+ "docComment": "/**\n * @public\n */\n",
1949
+ "excerptTokens": [
1950
+ {
1951
+ "kind": "Content",
1952
+ "text": "export type AuthoritativePutComponentMessage = "
1953
+ },
1954
+ {
1955
+ "kind": "Reference",
1956
+ "text": "CrdtMessageHeader",
1957
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
1958
+ },
1959
+ {
1960
+ "kind": "Content",
1961
+ "text": " & "
1962
+ },
1963
+ {
1964
+ "kind": "Reference",
1965
+ "text": "AuthoritativePutComponentMessageBody",
1966
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
1967
+ },
1968
+ {
1969
+ "kind": "Content",
1970
+ "text": ";"
1971
+ }
1972
+ ],
1973
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
1974
+ "releaseTag": "Public",
1975
+ "name": "AuthoritativePutComponentMessage",
1976
+ "typeTokenRange": {
1977
+ "startIndex": 1,
1978
+ "endIndex": 4
1979
+ }
1980
+ },
1981
+ {
1982
+ "kind": "TypeAlias",
1983
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type",
1984
+ "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",
1985
+ "excerptTokens": [
1986
+ {
1987
+ "kind": "Content",
1988
+ "text": "export type AuthoritativePutComponentMessageBody = "
1989
+ },
1990
+ {
1991
+ "kind": "Content",
1992
+ "text": "{\n type: "
1993
+ },
1994
+ {
1995
+ "kind": "Reference",
1996
+ "text": "CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT",
1997
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member"
1998
+ },
1999
+ {
2000
+ "kind": "Content",
2001
+ "text": ";\n entityId: "
2002
+ },
2003
+ {
2004
+ "kind": "Reference",
2005
+ "text": "Entity",
2006
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
2007
+ },
2008
+ {
2009
+ "kind": "Content",
2010
+ "text": ";\n componentId: number;\n timestamp: number;\n data: "
2011
+ },
2012
+ {
2013
+ "kind": "Reference",
2014
+ "text": "Uint8Array",
2015
+ "canonicalReference": "!Uint8Array:interface"
2016
+ },
2017
+ {
2018
+ "kind": "Content",
2019
+ "text": ";\n}"
2020
+ },
2021
+ {
2022
+ "kind": "Content",
2023
+ "text": ";"
2024
+ }
2025
+ ],
2026
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
2027
+ "releaseTag": "Public",
2028
+ "name": "AuthoritativePutComponentMessageBody",
2029
+ "typeTokenRange": {
2030
+ "startIndex": 1,
2031
+ "endIndex": 8
2032
+ }
2033
+ },
2034
+ {
2035
+ "kind": "Namespace",
2036
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation:namespace",
2037
+ "docComment": "/**\n * @public\n */\n",
2038
+ "excerptTokens": [
2039
+ {
2040
+ "kind": "Content",
2041
+ "text": "export declare namespace AuthoritativePutComponentOperation "
2042
+ }
2043
+ ],
2044
+ "fileUrlPath": "../ecs/dist/serialization/crdt/authoritativePutComponent.d.ts",
2045
+ "releaseTag": "Public",
2046
+ "name": "AuthoritativePutComponentOperation",
2047
+ "preserveMemberOrder": false,
2048
+ "members": [
2049
+ {
2050
+ "kind": "Variable",
2051
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.MESSAGE_HEADER_LENGTH:var",
2052
+ "docComment": "",
2053
+ "excerptTokens": [
2054
+ {
2055
+ "kind": "Content",
2056
+ "text": "MESSAGE_HEADER_LENGTH = "
2057
+ },
2058
+ {
2059
+ "kind": "Content",
2060
+ "text": "16"
2061
+ }
2062
+ ],
2063
+ "initializerTokenRange": {
2064
+ "startIndex": 1,
2065
+ "endIndex": 2
2066
+ },
2067
+ "isReadonly": true,
2068
+ "releaseTag": "Public",
2069
+ "name": "MESSAGE_HEADER_LENGTH",
2070
+ "variableTypeTokenRange": {
2071
+ "startIndex": 0,
2072
+ "endIndex": 0
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "Function",
2077
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.read:function(1)",
2078
+ "docComment": "",
2079
+ "excerptTokens": [
2080
+ {
2081
+ "kind": "Content",
2082
+ "text": "function read(buf: "
2083
+ },
2084
+ {
2085
+ "kind": "Reference",
2086
+ "text": "ByteBuffer",
2087
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
2088
+ },
2089
+ {
2090
+ "kind": "Content",
2091
+ "text": "): "
2092
+ },
2093
+ {
2094
+ "kind": "Reference",
2095
+ "text": "AuthoritativePutComponentMessage",
2096
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
2097
+ },
2098
+ {
2099
+ "kind": "Content",
2100
+ "text": " | null"
2101
+ },
2102
+ {
2103
+ "kind": "Content",
2104
+ "text": ";"
2105
+ }
2106
+ ],
2107
+ "returnTypeTokenRange": {
2108
+ "startIndex": 3,
2109
+ "endIndex": 5
2110
+ },
2111
+ "releaseTag": "Public",
2112
+ "overloadIndex": 1,
2113
+ "parameters": [
2114
+ {
2115
+ "parameterName": "buf",
2116
+ "parameterTypeTokenRange": {
2117
+ "startIndex": 1,
2118
+ "endIndex": 2
2119
+ },
2120
+ "isOptional": false
2121
+ }
2122
+ ],
2123
+ "name": "read"
2124
+ },
2125
+ {
2126
+ "kind": "Function",
2127
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.write:function(1)",
2128
+ "docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer already allocated\n */\n",
2129
+ "excerptTokens": [
2130
+ {
2131
+ "kind": "Content",
2132
+ "text": "function write(entity: "
2133
+ },
2134
+ {
2135
+ "kind": "Reference",
2136
+ "text": "Entity",
2137
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
2138
+ },
2139
+ {
2140
+ "kind": "Content",
2141
+ "text": ", timestamp: "
2142
+ },
2143
+ {
2144
+ "kind": "Content",
2145
+ "text": "number"
2146
+ },
2147
+ {
2148
+ "kind": "Content",
2149
+ "text": ", componentId: "
2150
+ },
2151
+ {
2152
+ "kind": "Content",
2153
+ "text": "number"
2154
+ },
2155
+ {
2156
+ "kind": "Content",
2157
+ "text": ", data: "
2158
+ },
2159
+ {
2160
+ "kind": "Reference",
2161
+ "text": "Uint8Array",
2162
+ "canonicalReference": "!Uint8Array:interface"
2163
+ },
2164
+ {
2165
+ "kind": "Content",
2166
+ "text": ", buf: "
2167
+ },
2168
+ {
2169
+ "kind": "Reference",
2170
+ "text": "ByteBuffer",
2171
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
2172
+ },
2173
+ {
2174
+ "kind": "Content",
2175
+ "text": "): "
2176
+ },
2177
+ {
2178
+ "kind": "Content",
2179
+ "text": "void"
2180
+ },
2181
+ {
2182
+ "kind": "Content",
2183
+ "text": ";"
2184
+ }
2185
+ ],
2186
+ "returnTypeTokenRange": {
2187
+ "startIndex": 11,
2188
+ "endIndex": 12
2189
+ },
2190
+ "releaseTag": "Public",
2191
+ "overloadIndex": 1,
2192
+ "parameters": [
2193
+ {
2194
+ "parameterName": "entity",
2195
+ "parameterTypeTokenRange": {
2196
+ "startIndex": 1,
2197
+ "endIndex": 2
2198
+ },
2199
+ "isOptional": false
2200
+ },
2201
+ {
2202
+ "parameterName": "timestamp",
2203
+ "parameterTypeTokenRange": {
2204
+ "startIndex": 3,
2205
+ "endIndex": 4
2206
+ },
2207
+ "isOptional": false
2208
+ },
2209
+ {
2210
+ "parameterName": "componentId",
2211
+ "parameterTypeTokenRange": {
2212
+ "startIndex": 5,
2213
+ "endIndex": 6
2214
+ },
2215
+ "isOptional": false
2216
+ },
2217
+ {
2218
+ "parameterName": "data",
2219
+ "parameterTypeTokenRange": {
2220
+ "startIndex": 7,
2221
+ "endIndex": 8
2222
+ },
2223
+ "isOptional": false
2224
+ },
2225
+ {
2226
+ "parameterName": "buf",
2227
+ "parameterTypeTokenRange": {
2228
+ "startIndex": 9,
2229
+ "endIndex": 10
2230
+ },
2231
+ "isOptional": false
2232
+ }
2233
+ ],
2234
+ "name": "write"
2235
+ }
2236
+ ]
2237
+ },
1945
2238
  {
1946
2239
  "kind": "Enum",
1947
2240
  "canonicalReference": "@dcl/playground-assets!AvatarAnchorPointType:enum",
@@ -3452,6 +3745,61 @@
3452
3745
  ],
3453
3746
  "name": "get"
3454
3747
  },
3748
+ {
3749
+ "kind": "MethodSignature",
3750
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtState:member(1)",
3751
+ "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",
3752
+ "excerptTokens": [
3753
+ {
3754
+ "kind": "Content",
3755
+ "text": "getCrdtState(entity: "
3756
+ },
3757
+ {
3758
+ "kind": "Reference",
3759
+ "text": "Entity",
3760
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
3761
+ },
3762
+ {
3763
+ "kind": "Content",
3764
+ "text": "): "
3765
+ },
3766
+ {
3767
+ "kind": "Content",
3768
+ "text": "{\n data: "
3769
+ },
3770
+ {
3771
+ "kind": "Reference",
3772
+ "text": "Uint8Array",
3773
+ "canonicalReference": "!Uint8Array:interface"
3774
+ },
3775
+ {
3776
+ "kind": "Content",
3777
+ "text": ";\n timestamp: number;\n } | null"
3778
+ },
3779
+ {
3780
+ "kind": "Content",
3781
+ "text": ";"
3782
+ }
3783
+ ],
3784
+ "isOptional": false,
3785
+ "returnTypeTokenRange": {
3786
+ "startIndex": 3,
3787
+ "endIndex": 6
3788
+ },
3789
+ "releaseTag": "Public",
3790
+ "overloadIndex": 1,
3791
+ "parameters": [
3792
+ {
3793
+ "parameterName": "entity",
3794
+ "parameterTypeTokenRange": {
3795
+ "startIndex": 1,
3796
+ "endIndex": 2
3797
+ },
3798
+ "isOptional": false
3799
+ }
3800
+ ],
3801
+ "name": "getCrdtState"
3802
+ },
3455
3803
  {
3456
3804
  "kind": "MethodSignature",
3457
3805
  "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
@@ -3688,6 +4036,123 @@
3688
4036
  }
3689
4037
  ],
3690
4038
  "name": "updateFromCrdt"
4039
+ },
4040
+ {
4041
+ "kind": "MethodSignature",
4042
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(1)",
4043
+ "docComment": "/**\n * @public\n */\n",
4044
+ "excerptTokens": [
4045
+ {
4046
+ "kind": "Content",
4047
+ "text": "validateBeforeChange(entity: "
4048
+ },
4049
+ {
4050
+ "kind": "Reference",
4051
+ "text": "Entity",
4052
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4053
+ },
4054
+ {
4055
+ "kind": "Content",
4056
+ "text": ", cb: "
4057
+ },
4058
+ {
4059
+ "kind": "Reference",
4060
+ "text": "ValidateCallback",
4061
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4062
+ },
4063
+ {
4064
+ "kind": "Content",
4065
+ "text": "<T>"
4066
+ },
4067
+ {
4068
+ "kind": "Content",
4069
+ "text": "): "
4070
+ },
4071
+ {
4072
+ "kind": "Content",
4073
+ "text": "void"
4074
+ },
4075
+ {
4076
+ "kind": "Content",
4077
+ "text": ";"
4078
+ }
4079
+ ],
4080
+ "isOptional": false,
4081
+ "returnTypeTokenRange": {
4082
+ "startIndex": 6,
4083
+ "endIndex": 7
4084
+ },
4085
+ "releaseTag": "Public",
4086
+ "overloadIndex": 1,
4087
+ "parameters": [
4088
+ {
4089
+ "parameterName": "entity",
4090
+ "parameterTypeTokenRange": {
4091
+ "startIndex": 1,
4092
+ "endIndex": 2
4093
+ },
4094
+ "isOptional": false
4095
+ },
4096
+ {
4097
+ "parameterName": "cb",
4098
+ "parameterTypeTokenRange": {
4099
+ "startIndex": 3,
4100
+ "endIndex": 5
4101
+ },
4102
+ "isOptional": false
4103
+ }
4104
+ ],
4105
+ "name": "validateBeforeChange"
4106
+ },
4107
+ {
4108
+ "kind": "MethodSignature",
4109
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(2)",
4110
+ "docComment": "",
4111
+ "excerptTokens": [
4112
+ {
4113
+ "kind": "Content",
4114
+ "text": "validateBeforeChange(cb: "
4115
+ },
4116
+ {
4117
+ "kind": "Reference",
4118
+ "text": "ValidateCallback",
4119
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4120
+ },
4121
+ {
4122
+ "kind": "Content",
4123
+ "text": "<T>"
4124
+ },
4125
+ {
4126
+ "kind": "Content",
4127
+ "text": "): "
4128
+ },
4129
+ {
4130
+ "kind": "Content",
4131
+ "text": "void"
4132
+ },
4133
+ {
4134
+ "kind": "Content",
4135
+ "text": ";"
4136
+ }
4137
+ ],
4138
+ "isOptional": false,
4139
+ "returnTypeTokenRange": {
4140
+ "startIndex": 4,
4141
+ "endIndex": 5
4142
+ },
4143
+ "releaseTag": "Public",
4144
+ "overloadIndex": 2,
4145
+ "parameters": [
4146
+ {
4147
+ "parameterName": "cb",
4148
+ "parameterTypeTokenRange": {
4149
+ "startIndex": 1,
4150
+ "endIndex": 3
4151
+ },
4152
+ "isOptional": false
4153
+ }
4154
+ ],
4155
+ "name": "validateBeforeChange"
3691
4156
  }
3692
4157
  ],
3693
4158
  "extendsTokenRanges": []
@@ -16579,6 +17044,15 @@
16579
17044
  "kind": "Content",
16580
17045
  "text": " | "
16581
17046
  },
17047
+ {
17048
+ "kind": "Reference",
17049
+ "text": "AuthoritativePutComponentMessage",
17050
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
17051
+ },
17052
+ {
17053
+ "kind": "Content",
17054
+ "text": " | "
17055
+ },
16582
17056
  {
16583
17057
  "kind": "Reference",
16584
17058
  "text": "DeleteComponentMessage",
@@ -16639,7 +17113,7 @@
16639
17113
  "name": "CrdtMessage",
16640
17114
  "typeTokenRange": {
16641
17115
  "startIndex": 1,
16642
- "endIndex": 14
17116
+ "endIndex": 16
16643
17117
  }
16644
17118
  },
16645
17119
  {
@@ -16660,6 +17134,15 @@
16660
17134
  "kind": "Content",
16661
17135
  "text": " | "
16662
17136
  },
17137
+ {
17138
+ "kind": "Reference",
17139
+ "text": "AuthoritativePutComponentMessageBody",
17140
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
17141
+ },
17142
+ {
17143
+ "kind": "Content",
17144
+ "text": " | "
17145
+ },
16663
17146
  {
16664
17147
  "kind": "Reference",
16665
17148
  "text": "DeleteComponentMessageBody",
@@ -16702,7 +17185,7 @@
16702
17185
  "name": "CrdtMessageBody",
16703
17186
  "typeTokenRange": {
16704
17187
  "startIndex": 1,
16705
- "endIndex": 10
17188
+ "endIndex": 12
16706
17189
  }
16707
17190
  },
16708
17191
  {
@@ -16992,6 +17475,27 @@
16992
17475
  "releaseTag": "Public",
16993
17476
  "name": "APPEND_VALUE"
16994
17477
  },
17478
+ {
17479
+ "kind": "EnumMember",
17480
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
17481
+ "docComment": "",
17482
+ "excerptTokens": [
17483
+ {
17484
+ "kind": "Content",
17485
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
17486
+ },
17487
+ {
17488
+ "kind": "Content",
17489
+ "text": "8"
17490
+ }
17491
+ ],
17492
+ "initializerTokenRange": {
17493
+ "startIndex": 1,
17494
+ "endIndex": 2
17495
+ },
17496
+ "releaseTag": "Public",
17497
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
17498
+ },
16995
17499
  {
16996
17500
  "kind": "EnumMember",
16997
17501
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -17087,7 +17591,7 @@
17087
17591
  },
17088
17592
  {
17089
17593
  "kind": "Content",
17090
- "text": "8"
17594
+ "text": "9"
17091
17595
  }
17092
17596
  ],
17093
17597
  "initializerTokenRange": {
@@ -17207,6 +17711,30 @@
17207
17711
  "endIndex": 6
17208
17712
  }
17209
17713
  },
17714
+ {
17715
+ "kind": "Variable",
17716
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
17717
+ "docComment": "",
17718
+ "excerptTokens": [
17719
+ {
17720
+ "kind": "Content",
17721
+ "text": "CreatedBy: "
17722
+ },
17723
+ {
17724
+ "kind": "Reference",
17725
+ "text": "ICreatedBy",
17726
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
17727
+ }
17728
+ ],
17729
+ "fileUrlPath": "../ecs/dist/index.d.ts",
17730
+ "isReadonly": true,
17731
+ "releaseTag": "Public",
17732
+ "name": "CreatedBy",
17733
+ "variableTypeTokenRange": {
17734
+ "startIndex": 1,
17735
+ "endIndex": 2
17736
+ }
17737
+ },
17210
17738
  {
17211
17739
  "kind": "Function",
17212
17740
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -22653,6 +23181,91 @@
22653
23181
  "endIndex": 9
22654
23182
  }
22655
23183
  },
23184
+ {
23185
+ "kind": "TypeAlias",
23186
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
23187
+ "docComment": "",
23188
+ "excerptTokens": [
23189
+ {
23190
+ "kind": "Content",
23191
+ "text": "export type ICreatedBy = "
23192
+ },
23193
+ {
23194
+ "kind": "Reference",
23195
+ "text": "LastWriteWinElementSetComponentDefinition",
23196
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
23197
+ },
23198
+ {
23199
+ "kind": "Content",
23200
+ "text": "<"
23201
+ },
23202
+ {
23203
+ "kind": "Reference",
23204
+ "text": "ICreatedByType",
23205
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
23206
+ },
23207
+ {
23208
+ "kind": "Content",
23209
+ "text": ">"
23210
+ },
23211
+ {
23212
+ "kind": "Content",
23213
+ "text": ";"
23214
+ }
23215
+ ],
23216
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
23217
+ "releaseTag": "Public",
23218
+ "name": "ICreatedBy",
23219
+ "typeTokenRange": {
23220
+ "startIndex": 1,
23221
+ "endIndex": 5
23222
+ }
23223
+ },
23224
+ {
23225
+ "kind": "Interface",
23226
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
23227
+ "docComment": "",
23228
+ "excerptTokens": [
23229
+ {
23230
+ "kind": "Content",
23231
+ "text": "export interface ICreatedByType "
23232
+ }
23233
+ ],
23234
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
23235
+ "releaseTag": "Public",
23236
+ "name": "ICreatedByType",
23237
+ "preserveMemberOrder": false,
23238
+ "members": [
23239
+ {
23240
+ "kind": "PropertySignature",
23241
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
23242
+ "docComment": "",
23243
+ "excerptTokens": [
23244
+ {
23245
+ "kind": "Content",
23246
+ "text": "address: "
23247
+ },
23248
+ {
23249
+ "kind": "Content",
23250
+ "text": "string"
23251
+ },
23252
+ {
23253
+ "kind": "Content",
23254
+ "text": ";"
23255
+ }
23256
+ ],
23257
+ "isReadonly": false,
23258
+ "isOptional": false,
23259
+ "releaseTag": "Public",
23260
+ "name": "address",
23261
+ "propertyTypeTokenRange": {
23262
+ "startIndex": 1,
23263
+ "endIndex": 2
23264
+ }
23265
+ }
23266
+ ],
23267
+ "extendsTokenRanges": []
23268
+ },
22656
23269
  {
22657
23270
  "kind": "Interface",
22658
23271
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -25779,6 +26392,342 @@
25779
26392
  }
25780
26393
  ]
25781
26394
  },
26395
+ {
26396
+ "kind": "Interface",
26397
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
26398
+ "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",
26399
+ "excerptTokens": [
26400
+ {
26401
+ "kind": "Content",
26402
+ "text": "export interface InternalBaseComponent<T> extends "
26403
+ },
26404
+ {
26405
+ "kind": "Reference",
26406
+ "text": "BaseComponent",
26407
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
26408
+ },
26409
+ {
26410
+ "kind": "Content",
26411
+ "text": "<T>"
26412
+ },
26413
+ {
26414
+ "kind": "Content",
26415
+ "text": " "
26416
+ }
26417
+ ],
26418
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
26419
+ "releaseTag": "Public",
26420
+ "typeParameters": [
26421
+ {
26422
+ "typeParameterName": "T",
26423
+ "constraintTokenRange": {
26424
+ "startIndex": 0,
26425
+ "endIndex": 0
26426
+ },
26427
+ "defaultTypeTokenRange": {
26428
+ "startIndex": 0,
26429
+ "endIndex": 0
26430
+ }
26431
+ }
26432
+ ],
26433
+ "name": "InternalBaseComponent",
26434
+ "preserveMemberOrder": false,
26435
+ "members": [
26436
+ {
26437
+ "kind": "MethodSignature",
26438
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
26439
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
26440
+ "excerptTokens": [
26441
+ {
26442
+ "kind": "Content",
26443
+ "text": "__dry_run_updateFromCrdt(body: "
26444
+ },
26445
+ {
26446
+ "kind": "Reference",
26447
+ "text": "CrdtMessageBody",
26448
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
26449
+ },
26450
+ {
26451
+ "kind": "Content",
26452
+ "text": "): "
26453
+ },
26454
+ {
26455
+ "kind": "Reference",
26456
+ "text": "ProcessMessageResultType",
26457
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
26458
+ },
26459
+ {
26460
+ "kind": "Content",
26461
+ "text": ";"
26462
+ }
26463
+ ],
26464
+ "isOptional": false,
26465
+ "returnTypeTokenRange": {
26466
+ "startIndex": 3,
26467
+ "endIndex": 4
26468
+ },
26469
+ "releaseTag": "Public",
26470
+ "overloadIndex": 1,
26471
+ "parameters": [
26472
+ {
26473
+ "parameterName": "body",
26474
+ "parameterTypeTokenRange": {
26475
+ "startIndex": 1,
26476
+ "endIndex": 2
26477
+ },
26478
+ "isOptional": false
26479
+ }
26480
+ ],
26481
+ "name": "__dry_run_updateFromCrdt"
26482
+ },
26483
+ {
26484
+ "kind": "MethodSignature",
26485
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
26486
+ "docComment": "/**\n * @public\n */\n",
26487
+ "excerptTokens": [
26488
+ {
26489
+ "kind": "Content",
26490
+ "text": "__onChangeCallbacks(entity: "
26491
+ },
26492
+ {
26493
+ "kind": "Reference",
26494
+ "text": "Entity",
26495
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26496
+ },
26497
+ {
26498
+ "kind": "Content",
26499
+ "text": ", value: "
26500
+ },
26501
+ {
26502
+ "kind": "Content",
26503
+ "text": "T"
26504
+ },
26505
+ {
26506
+ "kind": "Content",
26507
+ "text": "): "
26508
+ },
26509
+ {
26510
+ "kind": "Content",
26511
+ "text": "void"
26512
+ },
26513
+ {
26514
+ "kind": "Content",
26515
+ "text": ";"
26516
+ }
26517
+ ],
26518
+ "isOptional": false,
26519
+ "returnTypeTokenRange": {
26520
+ "startIndex": 5,
26521
+ "endIndex": 6
26522
+ },
26523
+ "releaseTag": "Public",
26524
+ "overloadIndex": 1,
26525
+ "parameters": [
26526
+ {
26527
+ "parameterName": "entity",
26528
+ "parameterTypeTokenRange": {
26529
+ "startIndex": 1,
26530
+ "endIndex": 2
26531
+ },
26532
+ "isOptional": false
26533
+ },
26534
+ {
26535
+ "parameterName": "value",
26536
+ "parameterTypeTokenRange": {
26537
+ "startIndex": 3,
26538
+ "endIndex": 4
26539
+ },
26540
+ "isOptional": false
26541
+ }
26542
+ ],
26543
+ "name": "__onChangeCallbacks"
26544
+ },
26545
+ {
26546
+ "kind": "MethodSignature",
26547
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
26548
+ "docComment": "/**\n * @public\n */\n",
26549
+ "excerptTokens": [
26550
+ {
26551
+ "kind": "Content",
26552
+ "text": "__run_validateBeforeChange(entity: "
26553
+ },
26554
+ {
26555
+ "kind": "Reference",
26556
+ "text": "Entity",
26557
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26558
+ },
26559
+ {
26560
+ "kind": "Content",
26561
+ "text": ", newValue: "
26562
+ },
26563
+ {
26564
+ "kind": "Content",
26565
+ "text": "T | undefined"
26566
+ },
26567
+ {
26568
+ "kind": "Content",
26569
+ "text": ", senderAddress: "
26570
+ },
26571
+ {
26572
+ "kind": "Content",
26573
+ "text": "string"
26574
+ },
26575
+ {
26576
+ "kind": "Content",
26577
+ "text": ", createdBy: "
26578
+ },
26579
+ {
26580
+ "kind": "Content",
26581
+ "text": "string"
26582
+ },
26583
+ {
26584
+ "kind": "Content",
26585
+ "text": "): "
26586
+ },
26587
+ {
26588
+ "kind": "Content",
26589
+ "text": "boolean"
26590
+ },
26591
+ {
26592
+ "kind": "Content",
26593
+ "text": ";"
26594
+ }
26595
+ ],
26596
+ "isOptional": false,
26597
+ "returnTypeTokenRange": {
26598
+ "startIndex": 9,
26599
+ "endIndex": 10
26600
+ },
26601
+ "releaseTag": "Public",
26602
+ "overloadIndex": 1,
26603
+ "parameters": [
26604
+ {
26605
+ "parameterName": "entity",
26606
+ "parameterTypeTokenRange": {
26607
+ "startIndex": 1,
26608
+ "endIndex": 2
26609
+ },
26610
+ "isOptional": false
26611
+ },
26612
+ {
26613
+ "parameterName": "newValue",
26614
+ "parameterTypeTokenRange": {
26615
+ "startIndex": 3,
26616
+ "endIndex": 4
26617
+ },
26618
+ "isOptional": false
26619
+ },
26620
+ {
26621
+ "parameterName": "senderAddress",
26622
+ "parameterTypeTokenRange": {
26623
+ "startIndex": 5,
26624
+ "endIndex": 6
26625
+ },
26626
+ "isOptional": false
26627
+ },
26628
+ {
26629
+ "parameterName": "createdBy",
26630
+ "parameterTypeTokenRange": {
26631
+ "startIndex": 7,
26632
+ "endIndex": 8
26633
+ },
26634
+ "isOptional": false
26635
+ }
26636
+ ],
26637
+ "name": "__run_validateBeforeChange"
26638
+ },
26639
+ {
26640
+ "kind": "MethodSignature",
26641
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
26642
+ "docComment": "/**\n * @public\n */\n",
26643
+ "excerptTokens": [
26644
+ {
26645
+ "kind": "Content",
26646
+ "text": "dirtyIterator(): "
26647
+ },
26648
+ {
26649
+ "kind": "Reference",
26650
+ "text": "Iterable",
26651
+ "canonicalReference": "!Iterable:interface"
26652
+ },
26653
+ {
26654
+ "kind": "Content",
26655
+ "text": "<"
26656
+ },
26657
+ {
26658
+ "kind": "Reference",
26659
+ "text": "Entity",
26660
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26661
+ },
26662
+ {
26663
+ "kind": "Content",
26664
+ "text": ">"
26665
+ },
26666
+ {
26667
+ "kind": "Content",
26668
+ "text": ";"
26669
+ }
26670
+ ],
26671
+ "isOptional": false,
26672
+ "returnTypeTokenRange": {
26673
+ "startIndex": 1,
26674
+ "endIndex": 5
26675
+ },
26676
+ "releaseTag": "Public",
26677
+ "overloadIndex": 1,
26678
+ "parameters": [],
26679
+ "name": "dirtyIterator"
26680
+ },
26681
+ {
26682
+ "kind": "MethodSignature",
26683
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
26684
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
26685
+ "excerptTokens": [
26686
+ {
26687
+ "kind": "Content",
26688
+ "text": "iterator(): "
26689
+ },
26690
+ {
26691
+ "kind": "Reference",
26692
+ "text": "Iterable",
26693
+ "canonicalReference": "!Iterable:interface"
26694
+ },
26695
+ {
26696
+ "kind": "Content",
26697
+ "text": "<["
26698
+ },
26699
+ {
26700
+ "kind": "Reference",
26701
+ "text": "Entity",
26702
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
26703
+ },
26704
+ {
26705
+ "kind": "Content",
26706
+ "text": ", any]>"
26707
+ },
26708
+ {
26709
+ "kind": "Content",
26710
+ "text": ";"
26711
+ }
26712
+ ],
26713
+ "isOptional": false,
26714
+ "returnTypeTokenRange": {
26715
+ "startIndex": 1,
26716
+ "endIndex": 5
26717
+ },
26718
+ "releaseTag": "Public",
26719
+ "overloadIndex": 1,
26720
+ "parameters": [],
26721
+ "name": "iterator"
26722
+ }
26723
+ ],
26724
+ "extendsTokenRanges": [
26725
+ {
26726
+ "startIndex": 1,
26727
+ "endIndex": 3
26728
+ }
26729
+ ]
26730
+ },
25782
26731
  {
25783
26732
  "kind": "Interface",
25784
26733
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -90298,6 +91247,54 @@
90298
91247
  "endIndex": 2
90299
91248
  }
90300
91249
  },
91250
+ {
91251
+ "kind": "TypeAlias",
91252
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
91253
+ "docComment": "",
91254
+ "excerptTokens": [
91255
+ {
91256
+ "kind": "Content",
91257
+ "text": "export type ValidateCallback<T> = "
91258
+ },
91259
+ {
91260
+ "kind": "Content",
91261
+ "text": "(value: {\n entity: "
91262
+ },
91263
+ {
91264
+ "kind": "Reference",
91265
+ "text": "Entity",
91266
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
91267
+ },
91268
+ {
91269
+ "kind": "Content",
91270
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
91271
+ },
91272
+ {
91273
+ "kind": "Content",
91274
+ "text": ";"
91275
+ }
91276
+ ],
91277
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
91278
+ "releaseTag": "Public",
91279
+ "name": "ValidateCallback",
91280
+ "typeParameters": [
91281
+ {
91282
+ "typeParameterName": "T",
91283
+ "constraintTokenRange": {
91284
+ "startIndex": 0,
91285
+ "endIndex": 0
91286
+ },
91287
+ "defaultTypeTokenRange": {
91288
+ "startIndex": 0,
91289
+ "endIndex": 0
91290
+ }
91291
+ }
91292
+ ],
91293
+ "typeTokenRange": {
91294
+ "startIndex": 1,
91295
+ "endIndex": 4
91296
+ }
91297
+ },
90301
91298
  {
90302
91299
  "kind": "TypeAlias",
90303
91300
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",