@dcl/playground-assets 7.29.0 → 7.29.1-35039347300.commit-dffaede

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.
@@ -2243,6 +2243,299 @@
2243
2243
  }
2244
2244
  ]
2245
2245
  },
2246
+ {
2247
+ "kind": "TypeAlias",
2248
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type",
2249
+ "docComment": "/**\n * @public\n */\n",
2250
+ "excerptTokens": [
2251
+ {
2252
+ "kind": "Content",
2253
+ "text": "export type AuthoritativePutComponentMessage = "
2254
+ },
2255
+ {
2256
+ "kind": "Reference",
2257
+ "text": "CrdtMessageHeader",
2258
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
2259
+ },
2260
+ {
2261
+ "kind": "Content",
2262
+ "text": " & "
2263
+ },
2264
+ {
2265
+ "kind": "Reference",
2266
+ "text": "AuthoritativePutComponentMessageBody",
2267
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
2268
+ },
2269
+ {
2270
+ "kind": "Content",
2271
+ "text": ";"
2272
+ }
2273
+ ],
2274
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
2275
+ "releaseTag": "Public",
2276
+ "name": "AuthoritativePutComponentMessage",
2277
+ "typeTokenRange": {
2278
+ "startIndex": 1,
2279
+ "endIndex": 4
2280
+ }
2281
+ },
2282
+ {
2283
+ "kind": "TypeAlias",
2284
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type",
2285
+ "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",
2286
+ "excerptTokens": [
2287
+ {
2288
+ "kind": "Content",
2289
+ "text": "export type AuthoritativePutComponentMessageBody = "
2290
+ },
2291
+ {
2292
+ "kind": "Content",
2293
+ "text": "{\n type: "
2294
+ },
2295
+ {
2296
+ "kind": "Reference",
2297
+ "text": "CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT",
2298
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member"
2299
+ },
2300
+ {
2301
+ "kind": "Content",
2302
+ "text": ";\n entityId: "
2303
+ },
2304
+ {
2305
+ "kind": "Reference",
2306
+ "text": "Entity",
2307
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
2308
+ },
2309
+ {
2310
+ "kind": "Content",
2311
+ "text": ";\n componentId: number;\n timestamp: number;\n data: "
2312
+ },
2313
+ {
2314
+ "kind": "Reference",
2315
+ "text": "Uint8Array",
2316
+ "canonicalReference": "!Uint8Array:interface"
2317
+ },
2318
+ {
2319
+ "kind": "Content",
2320
+ "text": ";\n}"
2321
+ },
2322
+ {
2323
+ "kind": "Content",
2324
+ "text": ";"
2325
+ }
2326
+ ],
2327
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
2328
+ "releaseTag": "Public",
2329
+ "name": "AuthoritativePutComponentMessageBody",
2330
+ "typeTokenRange": {
2331
+ "startIndex": 1,
2332
+ "endIndex": 8
2333
+ }
2334
+ },
2335
+ {
2336
+ "kind": "Namespace",
2337
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation:namespace",
2338
+ "docComment": "/**\n * @public\n */\n",
2339
+ "excerptTokens": [
2340
+ {
2341
+ "kind": "Content",
2342
+ "text": "export declare namespace AuthoritativePutComponentOperation "
2343
+ }
2344
+ ],
2345
+ "fileUrlPath": "../ecs/dist/serialization/crdt/authoritativePutComponent.d.ts",
2346
+ "releaseTag": "Public",
2347
+ "name": "AuthoritativePutComponentOperation",
2348
+ "preserveMemberOrder": false,
2349
+ "members": [
2350
+ {
2351
+ "kind": "Variable",
2352
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.MESSAGE_HEADER_LENGTH:var",
2353
+ "docComment": "",
2354
+ "excerptTokens": [
2355
+ {
2356
+ "kind": "Content",
2357
+ "text": "MESSAGE_HEADER_LENGTH = "
2358
+ },
2359
+ {
2360
+ "kind": "Content",
2361
+ "text": "16"
2362
+ }
2363
+ ],
2364
+ "initializerTokenRange": {
2365
+ "startIndex": 1,
2366
+ "endIndex": 2
2367
+ },
2368
+ "isReadonly": true,
2369
+ "releaseTag": "Public",
2370
+ "name": "MESSAGE_HEADER_LENGTH",
2371
+ "variableTypeTokenRange": {
2372
+ "startIndex": 0,
2373
+ "endIndex": 0
2374
+ }
2375
+ },
2376
+ {
2377
+ "kind": "Function",
2378
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.read:function(1)",
2379
+ "docComment": "",
2380
+ "excerptTokens": [
2381
+ {
2382
+ "kind": "Content",
2383
+ "text": "function read(buf: "
2384
+ },
2385
+ {
2386
+ "kind": "Reference",
2387
+ "text": "ByteBuffer",
2388
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
2389
+ },
2390
+ {
2391
+ "kind": "Content",
2392
+ "text": "): "
2393
+ },
2394
+ {
2395
+ "kind": "Reference",
2396
+ "text": "AuthoritativePutComponentMessage",
2397
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
2398
+ },
2399
+ {
2400
+ "kind": "Content",
2401
+ "text": " | null"
2402
+ },
2403
+ {
2404
+ "kind": "Content",
2405
+ "text": ";"
2406
+ }
2407
+ ],
2408
+ "returnTypeTokenRange": {
2409
+ "startIndex": 3,
2410
+ "endIndex": 5
2411
+ },
2412
+ "releaseTag": "Public",
2413
+ "overloadIndex": 1,
2414
+ "parameters": [
2415
+ {
2416
+ "parameterName": "buf",
2417
+ "parameterTypeTokenRange": {
2418
+ "startIndex": 1,
2419
+ "endIndex": 2
2420
+ },
2421
+ "isOptional": false
2422
+ }
2423
+ ],
2424
+ "name": "read"
2425
+ },
2426
+ {
2427
+ "kind": "Function",
2428
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.write:function(1)",
2429
+ "docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer already allocated\n */\n",
2430
+ "excerptTokens": [
2431
+ {
2432
+ "kind": "Content",
2433
+ "text": "function write(entity: "
2434
+ },
2435
+ {
2436
+ "kind": "Reference",
2437
+ "text": "Entity",
2438
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
2439
+ },
2440
+ {
2441
+ "kind": "Content",
2442
+ "text": ", timestamp: "
2443
+ },
2444
+ {
2445
+ "kind": "Content",
2446
+ "text": "number"
2447
+ },
2448
+ {
2449
+ "kind": "Content",
2450
+ "text": ", componentId: "
2451
+ },
2452
+ {
2453
+ "kind": "Content",
2454
+ "text": "number"
2455
+ },
2456
+ {
2457
+ "kind": "Content",
2458
+ "text": ", data: "
2459
+ },
2460
+ {
2461
+ "kind": "Reference",
2462
+ "text": "Uint8Array",
2463
+ "canonicalReference": "!Uint8Array:interface"
2464
+ },
2465
+ {
2466
+ "kind": "Content",
2467
+ "text": ", buf: "
2468
+ },
2469
+ {
2470
+ "kind": "Reference",
2471
+ "text": "ByteBuffer",
2472
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
2473
+ },
2474
+ {
2475
+ "kind": "Content",
2476
+ "text": "): "
2477
+ },
2478
+ {
2479
+ "kind": "Content",
2480
+ "text": "void"
2481
+ },
2482
+ {
2483
+ "kind": "Content",
2484
+ "text": ";"
2485
+ }
2486
+ ],
2487
+ "returnTypeTokenRange": {
2488
+ "startIndex": 11,
2489
+ "endIndex": 12
2490
+ },
2491
+ "releaseTag": "Public",
2492
+ "overloadIndex": 1,
2493
+ "parameters": [
2494
+ {
2495
+ "parameterName": "entity",
2496
+ "parameterTypeTokenRange": {
2497
+ "startIndex": 1,
2498
+ "endIndex": 2
2499
+ },
2500
+ "isOptional": false
2501
+ },
2502
+ {
2503
+ "parameterName": "timestamp",
2504
+ "parameterTypeTokenRange": {
2505
+ "startIndex": 3,
2506
+ "endIndex": 4
2507
+ },
2508
+ "isOptional": false
2509
+ },
2510
+ {
2511
+ "parameterName": "componentId",
2512
+ "parameterTypeTokenRange": {
2513
+ "startIndex": 5,
2514
+ "endIndex": 6
2515
+ },
2516
+ "isOptional": false
2517
+ },
2518
+ {
2519
+ "parameterName": "data",
2520
+ "parameterTypeTokenRange": {
2521
+ "startIndex": 7,
2522
+ "endIndex": 8
2523
+ },
2524
+ "isOptional": false
2525
+ },
2526
+ {
2527
+ "parameterName": "buf",
2528
+ "parameterTypeTokenRange": {
2529
+ "startIndex": 9,
2530
+ "endIndex": 10
2531
+ },
2532
+ "isOptional": false
2533
+ }
2534
+ ],
2535
+ "name": "write"
2536
+ }
2537
+ ]
2538
+ },
2246
2539
  {
2247
2540
  "kind": "Enum",
2248
2541
  "canonicalReference": "@dcl/playground-assets!AvatarAnchorPointType:enum",
@@ -3849,6 +4142,61 @@
3849
4142
  ],
3850
4143
  "name": "get"
3851
4144
  },
4145
+ {
4146
+ "kind": "MethodSignature",
4147
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtState:member(1)",
4148
+ "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",
4149
+ "excerptTokens": [
4150
+ {
4151
+ "kind": "Content",
4152
+ "text": "getCrdtState(entity: "
4153
+ },
4154
+ {
4155
+ "kind": "Reference",
4156
+ "text": "Entity",
4157
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4158
+ },
4159
+ {
4160
+ "kind": "Content",
4161
+ "text": "): "
4162
+ },
4163
+ {
4164
+ "kind": "Content",
4165
+ "text": "{\n data: "
4166
+ },
4167
+ {
4168
+ "kind": "Reference",
4169
+ "text": "Uint8Array",
4170
+ "canonicalReference": "!Uint8Array:interface"
4171
+ },
4172
+ {
4173
+ "kind": "Content",
4174
+ "text": ";\n timestamp: number;\n } | null"
4175
+ },
4176
+ {
4177
+ "kind": "Content",
4178
+ "text": ";"
4179
+ }
4180
+ ],
4181
+ "isOptional": false,
4182
+ "returnTypeTokenRange": {
4183
+ "startIndex": 3,
4184
+ "endIndex": 6
4185
+ },
4186
+ "releaseTag": "Public",
4187
+ "overloadIndex": 1,
4188
+ "parameters": [
4189
+ {
4190
+ "parameterName": "entity",
4191
+ "parameterTypeTokenRange": {
4192
+ "startIndex": 1,
4193
+ "endIndex": 2
4194
+ },
4195
+ "isOptional": false
4196
+ }
4197
+ ],
4198
+ "name": "getCrdtState"
4199
+ },
3852
4200
  {
3853
4201
  "kind": "MethodSignature",
3854
4202
  "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
@@ -4085,6 +4433,123 @@
4085
4433
  }
4086
4434
  ],
4087
4435
  "name": "updateFromCrdt"
4436
+ },
4437
+ {
4438
+ "kind": "MethodSignature",
4439
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(1)",
4440
+ "docComment": "/**\n * @public\n */\n",
4441
+ "excerptTokens": [
4442
+ {
4443
+ "kind": "Content",
4444
+ "text": "validateBeforeChange(entity: "
4445
+ },
4446
+ {
4447
+ "kind": "Reference",
4448
+ "text": "Entity",
4449
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4450
+ },
4451
+ {
4452
+ "kind": "Content",
4453
+ "text": ", cb: "
4454
+ },
4455
+ {
4456
+ "kind": "Reference",
4457
+ "text": "ValidateCallback",
4458
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4459
+ },
4460
+ {
4461
+ "kind": "Content",
4462
+ "text": "<T>"
4463
+ },
4464
+ {
4465
+ "kind": "Content",
4466
+ "text": "): "
4467
+ },
4468
+ {
4469
+ "kind": "Content",
4470
+ "text": "void"
4471
+ },
4472
+ {
4473
+ "kind": "Content",
4474
+ "text": ";"
4475
+ }
4476
+ ],
4477
+ "isOptional": false,
4478
+ "returnTypeTokenRange": {
4479
+ "startIndex": 6,
4480
+ "endIndex": 7
4481
+ },
4482
+ "releaseTag": "Public",
4483
+ "overloadIndex": 1,
4484
+ "parameters": [
4485
+ {
4486
+ "parameterName": "entity",
4487
+ "parameterTypeTokenRange": {
4488
+ "startIndex": 1,
4489
+ "endIndex": 2
4490
+ },
4491
+ "isOptional": false
4492
+ },
4493
+ {
4494
+ "parameterName": "cb",
4495
+ "parameterTypeTokenRange": {
4496
+ "startIndex": 3,
4497
+ "endIndex": 5
4498
+ },
4499
+ "isOptional": false
4500
+ }
4501
+ ],
4502
+ "name": "validateBeforeChange"
4503
+ },
4504
+ {
4505
+ "kind": "MethodSignature",
4506
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(2)",
4507
+ "docComment": "",
4508
+ "excerptTokens": [
4509
+ {
4510
+ "kind": "Content",
4511
+ "text": "validateBeforeChange(cb: "
4512
+ },
4513
+ {
4514
+ "kind": "Reference",
4515
+ "text": "ValidateCallback",
4516
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4517
+ },
4518
+ {
4519
+ "kind": "Content",
4520
+ "text": "<T>"
4521
+ },
4522
+ {
4523
+ "kind": "Content",
4524
+ "text": "): "
4525
+ },
4526
+ {
4527
+ "kind": "Content",
4528
+ "text": "void"
4529
+ },
4530
+ {
4531
+ "kind": "Content",
4532
+ "text": ";"
4533
+ }
4534
+ ],
4535
+ "isOptional": false,
4536
+ "returnTypeTokenRange": {
4537
+ "startIndex": 4,
4538
+ "endIndex": 5
4539
+ },
4540
+ "releaseTag": "Public",
4541
+ "overloadIndex": 2,
4542
+ "parameters": [
4543
+ {
4544
+ "parameterName": "cb",
4545
+ "parameterTypeTokenRange": {
4546
+ "startIndex": 1,
4547
+ "endIndex": 3
4548
+ },
4549
+ "isOptional": false
4550
+ }
4551
+ ],
4552
+ "name": "validateBeforeChange"
4088
4553
  }
4089
4554
  ],
4090
4555
  "extendsTokenRanges": []
@@ -17116,6 +17581,15 @@
17116
17581
  "kind": "Content",
17117
17582
  "text": " | "
17118
17583
  },
17584
+ {
17585
+ "kind": "Reference",
17586
+ "text": "AuthoritativePutComponentMessage",
17587
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
17588
+ },
17589
+ {
17590
+ "kind": "Content",
17591
+ "text": " | "
17592
+ },
17119
17593
  {
17120
17594
  "kind": "Reference",
17121
17595
  "text": "DeleteComponentMessage",
@@ -17176,7 +17650,7 @@
17176
17650
  "name": "CrdtMessage",
17177
17651
  "typeTokenRange": {
17178
17652
  "startIndex": 1,
17179
- "endIndex": 14
17653
+ "endIndex": 16
17180
17654
  }
17181
17655
  },
17182
17656
  {
@@ -17197,6 +17671,15 @@
17197
17671
  "kind": "Content",
17198
17672
  "text": " | "
17199
17673
  },
17674
+ {
17675
+ "kind": "Reference",
17676
+ "text": "AuthoritativePutComponentMessageBody",
17677
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
17678
+ },
17679
+ {
17680
+ "kind": "Content",
17681
+ "text": " | "
17682
+ },
17200
17683
  {
17201
17684
  "kind": "Reference",
17202
17685
  "text": "DeleteComponentMessageBody",
@@ -17239,7 +17722,7 @@
17239
17722
  "name": "CrdtMessageBody",
17240
17723
  "typeTokenRange": {
17241
17724
  "startIndex": 1,
17242
- "endIndex": 10
17725
+ "endIndex": 12
17243
17726
  }
17244
17727
  },
17245
17728
  {
@@ -17529,6 +18012,27 @@
17529
18012
  "releaseTag": "Public",
17530
18013
  "name": "APPEND_VALUE"
17531
18014
  },
18015
+ {
18016
+ "kind": "EnumMember",
18017
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
18018
+ "docComment": "",
18019
+ "excerptTokens": [
18020
+ {
18021
+ "kind": "Content",
18022
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
18023
+ },
18024
+ {
18025
+ "kind": "Content",
18026
+ "text": "8"
18027
+ }
18028
+ ],
18029
+ "initializerTokenRange": {
18030
+ "startIndex": 1,
18031
+ "endIndex": 2
18032
+ },
18033
+ "releaseTag": "Public",
18034
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
18035
+ },
17532
18036
  {
17533
18037
  "kind": "EnumMember",
17534
18038
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -17624,7 +18128,7 @@
17624
18128
  },
17625
18129
  {
17626
18130
  "kind": "Content",
17627
- "text": "8"
18131
+ "text": "9"
17628
18132
  }
17629
18133
  ],
17630
18134
  "initializerTokenRange": {
@@ -17744,6 +18248,30 @@
17744
18248
  "endIndex": 6
17745
18249
  }
17746
18250
  },
18251
+ {
18252
+ "kind": "Variable",
18253
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
18254
+ "docComment": "",
18255
+ "excerptTokens": [
18256
+ {
18257
+ "kind": "Content",
18258
+ "text": "CreatedBy: "
18259
+ },
18260
+ {
18261
+ "kind": "Reference",
18262
+ "text": "ICreatedBy",
18263
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
18264
+ }
18265
+ ],
18266
+ "fileUrlPath": "../ecs/dist/index.d.ts",
18267
+ "isReadonly": true,
18268
+ "releaseTag": "Public",
18269
+ "name": "CreatedBy",
18270
+ "variableTypeTokenRange": {
18271
+ "startIndex": 1,
18272
+ "endIndex": 2
18273
+ }
18274
+ },
17747
18275
  {
17748
18276
  "kind": "Function",
17749
18277
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -23541,6 +24069,91 @@
23541
24069
  "endIndex": 9
23542
24070
  }
23543
24071
  },
24072
+ {
24073
+ "kind": "TypeAlias",
24074
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
24075
+ "docComment": "",
24076
+ "excerptTokens": [
24077
+ {
24078
+ "kind": "Content",
24079
+ "text": "export type ICreatedBy = "
24080
+ },
24081
+ {
24082
+ "kind": "Reference",
24083
+ "text": "LastWriteWinElementSetComponentDefinition",
24084
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
24085
+ },
24086
+ {
24087
+ "kind": "Content",
24088
+ "text": "<"
24089
+ },
24090
+ {
24091
+ "kind": "Reference",
24092
+ "text": "ICreatedByType",
24093
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
24094
+ },
24095
+ {
24096
+ "kind": "Content",
24097
+ "text": ">"
24098
+ },
24099
+ {
24100
+ "kind": "Content",
24101
+ "text": ";"
24102
+ }
24103
+ ],
24104
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24105
+ "releaseTag": "Public",
24106
+ "name": "ICreatedBy",
24107
+ "typeTokenRange": {
24108
+ "startIndex": 1,
24109
+ "endIndex": 5
24110
+ }
24111
+ },
24112
+ {
24113
+ "kind": "Interface",
24114
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
24115
+ "docComment": "",
24116
+ "excerptTokens": [
24117
+ {
24118
+ "kind": "Content",
24119
+ "text": "export interface ICreatedByType "
24120
+ }
24121
+ ],
24122
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24123
+ "releaseTag": "Public",
24124
+ "name": "ICreatedByType",
24125
+ "preserveMemberOrder": false,
24126
+ "members": [
24127
+ {
24128
+ "kind": "PropertySignature",
24129
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
24130
+ "docComment": "",
24131
+ "excerptTokens": [
24132
+ {
24133
+ "kind": "Content",
24134
+ "text": "address: "
24135
+ },
24136
+ {
24137
+ "kind": "Content",
24138
+ "text": "string"
24139
+ },
24140
+ {
24141
+ "kind": "Content",
24142
+ "text": ";"
24143
+ }
24144
+ ],
24145
+ "isReadonly": false,
24146
+ "isOptional": false,
24147
+ "releaseTag": "Public",
24148
+ "name": "address",
24149
+ "propertyTypeTokenRange": {
24150
+ "startIndex": 1,
24151
+ "endIndex": 2
24152
+ }
24153
+ }
24154
+ ],
24155
+ "extendsTokenRanges": []
24156
+ },
23544
24157
  {
23545
24158
  "kind": "Interface",
23546
24159
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -26714,6 +27327,342 @@
26714
27327
  }
26715
27328
  ]
26716
27329
  },
27330
+ {
27331
+ "kind": "Interface",
27332
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
27333
+ "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",
27334
+ "excerptTokens": [
27335
+ {
27336
+ "kind": "Content",
27337
+ "text": "export interface InternalBaseComponent<T> extends "
27338
+ },
27339
+ {
27340
+ "kind": "Reference",
27341
+ "text": "BaseComponent",
27342
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
27343
+ },
27344
+ {
27345
+ "kind": "Content",
27346
+ "text": "<T>"
27347
+ },
27348
+ {
27349
+ "kind": "Content",
27350
+ "text": " "
27351
+ }
27352
+ ],
27353
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
27354
+ "releaseTag": "Public",
27355
+ "typeParameters": [
27356
+ {
27357
+ "typeParameterName": "T",
27358
+ "constraintTokenRange": {
27359
+ "startIndex": 0,
27360
+ "endIndex": 0
27361
+ },
27362
+ "defaultTypeTokenRange": {
27363
+ "startIndex": 0,
27364
+ "endIndex": 0
27365
+ }
27366
+ }
27367
+ ],
27368
+ "name": "InternalBaseComponent",
27369
+ "preserveMemberOrder": false,
27370
+ "members": [
27371
+ {
27372
+ "kind": "MethodSignature",
27373
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
27374
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
27375
+ "excerptTokens": [
27376
+ {
27377
+ "kind": "Content",
27378
+ "text": "__dry_run_updateFromCrdt(body: "
27379
+ },
27380
+ {
27381
+ "kind": "Reference",
27382
+ "text": "CrdtMessageBody",
27383
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
27384
+ },
27385
+ {
27386
+ "kind": "Content",
27387
+ "text": "): "
27388
+ },
27389
+ {
27390
+ "kind": "Reference",
27391
+ "text": "ProcessMessageResultType",
27392
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
27393
+ },
27394
+ {
27395
+ "kind": "Content",
27396
+ "text": ";"
27397
+ }
27398
+ ],
27399
+ "isOptional": false,
27400
+ "returnTypeTokenRange": {
27401
+ "startIndex": 3,
27402
+ "endIndex": 4
27403
+ },
27404
+ "releaseTag": "Public",
27405
+ "overloadIndex": 1,
27406
+ "parameters": [
27407
+ {
27408
+ "parameterName": "body",
27409
+ "parameterTypeTokenRange": {
27410
+ "startIndex": 1,
27411
+ "endIndex": 2
27412
+ },
27413
+ "isOptional": false
27414
+ }
27415
+ ],
27416
+ "name": "__dry_run_updateFromCrdt"
27417
+ },
27418
+ {
27419
+ "kind": "MethodSignature",
27420
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
27421
+ "docComment": "/**\n * @public\n */\n",
27422
+ "excerptTokens": [
27423
+ {
27424
+ "kind": "Content",
27425
+ "text": "__onChangeCallbacks(entity: "
27426
+ },
27427
+ {
27428
+ "kind": "Reference",
27429
+ "text": "Entity",
27430
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27431
+ },
27432
+ {
27433
+ "kind": "Content",
27434
+ "text": ", value: "
27435
+ },
27436
+ {
27437
+ "kind": "Content",
27438
+ "text": "T"
27439
+ },
27440
+ {
27441
+ "kind": "Content",
27442
+ "text": "): "
27443
+ },
27444
+ {
27445
+ "kind": "Content",
27446
+ "text": "void"
27447
+ },
27448
+ {
27449
+ "kind": "Content",
27450
+ "text": ";"
27451
+ }
27452
+ ],
27453
+ "isOptional": false,
27454
+ "returnTypeTokenRange": {
27455
+ "startIndex": 5,
27456
+ "endIndex": 6
27457
+ },
27458
+ "releaseTag": "Public",
27459
+ "overloadIndex": 1,
27460
+ "parameters": [
27461
+ {
27462
+ "parameterName": "entity",
27463
+ "parameterTypeTokenRange": {
27464
+ "startIndex": 1,
27465
+ "endIndex": 2
27466
+ },
27467
+ "isOptional": false
27468
+ },
27469
+ {
27470
+ "parameterName": "value",
27471
+ "parameterTypeTokenRange": {
27472
+ "startIndex": 3,
27473
+ "endIndex": 4
27474
+ },
27475
+ "isOptional": false
27476
+ }
27477
+ ],
27478
+ "name": "__onChangeCallbacks"
27479
+ },
27480
+ {
27481
+ "kind": "MethodSignature",
27482
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
27483
+ "docComment": "/**\n * @public\n */\n",
27484
+ "excerptTokens": [
27485
+ {
27486
+ "kind": "Content",
27487
+ "text": "__run_validateBeforeChange(entity: "
27488
+ },
27489
+ {
27490
+ "kind": "Reference",
27491
+ "text": "Entity",
27492
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27493
+ },
27494
+ {
27495
+ "kind": "Content",
27496
+ "text": ", newValue: "
27497
+ },
27498
+ {
27499
+ "kind": "Content",
27500
+ "text": "T | undefined"
27501
+ },
27502
+ {
27503
+ "kind": "Content",
27504
+ "text": ", senderAddress: "
27505
+ },
27506
+ {
27507
+ "kind": "Content",
27508
+ "text": "string"
27509
+ },
27510
+ {
27511
+ "kind": "Content",
27512
+ "text": ", createdBy: "
27513
+ },
27514
+ {
27515
+ "kind": "Content",
27516
+ "text": "string"
27517
+ },
27518
+ {
27519
+ "kind": "Content",
27520
+ "text": "): "
27521
+ },
27522
+ {
27523
+ "kind": "Content",
27524
+ "text": "boolean"
27525
+ },
27526
+ {
27527
+ "kind": "Content",
27528
+ "text": ";"
27529
+ }
27530
+ ],
27531
+ "isOptional": false,
27532
+ "returnTypeTokenRange": {
27533
+ "startIndex": 9,
27534
+ "endIndex": 10
27535
+ },
27536
+ "releaseTag": "Public",
27537
+ "overloadIndex": 1,
27538
+ "parameters": [
27539
+ {
27540
+ "parameterName": "entity",
27541
+ "parameterTypeTokenRange": {
27542
+ "startIndex": 1,
27543
+ "endIndex": 2
27544
+ },
27545
+ "isOptional": false
27546
+ },
27547
+ {
27548
+ "parameterName": "newValue",
27549
+ "parameterTypeTokenRange": {
27550
+ "startIndex": 3,
27551
+ "endIndex": 4
27552
+ },
27553
+ "isOptional": false
27554
+ },
27555
+ {
27556
+ "parameterName": "senderAddress",
27557
+ "parameterTypeTokenRange": {
27558
+ "startIndex": 5,
27559
+ "endIndex": 6
27560
+ },
27561
+ "isOptional": false
27562
+ },
27563
+ {
27564
+ "parameterName": "createdBy",
27565
+ "parameterTypeTokenRange": {
27566
+ "startIndex": 7,
27567
+ "endIndex": 8
27568
+ },
27569
+ "isOptional": false
27570
+ }
27571
+ ],
27572
+ "name": "__run_validateBeforeChange"
27573
+ },
27574
+ {
27575
+ "kind": "MethodSignature",
27576
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
27577
+ "docComment": "/**\n * @public\n */\n",
27578
+ "excerptTokens": [
27579
+ {
27580
+ "kind": "Content",
27581
+ "text": "dirtyIterator(): "
27582
+ },
27583
+ {
27584
+ "kind": "Reference",
27585
+ "text": "Iterable",
27586
+ "canonicalReference": "!Iterable:interface"
27587
+ },
27588
+ {
27589
+ "kind": "Content",
27590
+ "text": "<"
27591
+ },
27592
+ {
27593
+ "kind": "Reference",
27594
+ "text": "Entity",
27595
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27596
+ },
27597
+ {
27598
+ "kind": "Content",
27599
+ "text": ">"
27600
+ },
27601
+ {
27602
+ "kind": "Content",
27603
+ "text": ";"
27604
+ }
27605
+ ],
27606
+ "isOptional": false,
27607
+ "returnTypeTokenRange": {
27608
+ "startIndex": 1,
27609
+ "endIndex": 5
27610
+ },
27611
+ "releaseTag": "Public",
27612
+ "overloadIndex": 1,
27613
+ "parameters": [],
27614
+ "name": "dirtyIterator"
27615
+ },
27616
+ {
27617
+ "kind": "MethodSignature",
27618
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
27619
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
27620
+ "excerptTokens": [
27621
+ {
27622
+ "kind": "Content",
27623
+ "text": "iterator(): "
27624
+ },
27625
+ {
27626
+ "kind": "Reference",
27627
+ "text": "Iterable",
27628
+ "canonicalReference": "!Iterable:interface"
27629
+ },
27630
+ {
27631
+ "kind": "Content",
27632
+ "text": "<["
27633
+ },
27634
+ {
27635
+ "kind": "Reference",
27636
+ "text": "Entity",
27637
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27638
+ },
27639
+ {
27640
+ "kind": "Content",
27641
+ "text": ", any]>"
27642
+ },
27643
+ {
27644
+ "kind": "Content",
27645
+ "text": ";"
27646
+ }
27647
+ ],
27648
+ "isOptional": false,
27649
+ "returnTypeTokenRange": {
27650
+ "startIndex": 1,
27651
+ "endIndex": 5
27652
+ },
27653
+ "releaseTag": "Public",
27654
+ "overloadIndex": 1,
27655
+ "parameters": [],
27656
+ "name": "iterator"
27657
+ }
27658
+ ],
27659
+ "extendsTokenRanges": [
27660
+ {
27661
+ "startIndex": 1,
27662
+ "endIndex": 3
27663
+ }
27664
+ ]
27665
+ },
26717
27666
  {
26718
27667
  "kind": "Interface",
26719
27668
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -88635,7 +89584,7 @@
88635
89584
  },
88636
89585
  {
88637
89586
  "kind": "Content",
88638
- "text": ", 'messageBuffer'>): boolean;\n type?: string;\n}"
89587
+ "text": ", 'messageBuffer'>): boolean;\n type?: string;\n allowReservedEntities?: boolean;\n}"
88639
89588
  },
88640
89589
  {
88641
89590
  "kind": "Content",
@@ -93808,6 +94757,54 @@
93808
94757
  "endIndex": 2
93809
94758
  }
93810
94759
  },
94760
+ {
94761
+ "kind": "TypeAlias",
94762
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
94763
+ "docComment": "",
94764
+ "excerptTokens": [
94765
+ {
94766
+ "kind": "Content",
94767
+ "text": "export type ValidateCallback<T> = "
94768
+ },
94769
+ {
94770
+ "kind": "Content",
94771
+ "text": "(value: {\n entity: "
94772
+ },
94773
+ {
94774
+ "kind": "Reference",
94775
+ "text": "Entity",
94776
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
94777
+ },
94778
+ {
94779
+ "kind": "Content",
94780
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
94781
+ },
94782
+ {
94783
+ "kind": "Content",
94784
+ "text": ";"
94785
+ }
94786
+ ],
94787
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
94788
+ "releaseTag": "Public",
94789
+ "name": "ValidateCallback",
94790
+ "typeParameters": [
94791
+ {
94792
+ "typeParameterName": "T",
94793
+ "constraintTokenRange": {
94794
+ "startIndex": 0,
94795
+ "endIndex": 0
94796
+ },
94797
+ "defaultTypeTokenRange": {
94798
+ "startIndex": 0,
94799
+ "endIndex": 0
94800
+ }
94801
+ }
94802
+ ],
94803
+ "typeTokenRange": {
94804
+ "startIndex": 1,
94805
+ "endIndex": 4
94806
+ }
94807
+ },
93811
94808
  {
93812
94809
  "kind": "TypeAlias",
93813
94810
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",