@dcl/playground-assets 7.30.1 → 7.30.2-37807847179.commit-24c42ea

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\n * 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\n * 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": []
@@ -17143,6 +17608,15 @@
17143
17608
  "kind": "Content",
17144
17609
  "text": " | "
17145
17610
  },
17611
+ {
17612
+ "kind": "Reference",
17613
+ "text": "AuthoritativePutComponentMessage",
17614
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
17615
+ },
17616
+ {
17617
+ "kind": "Content",
17618
+ "text": " | "
17619
+ },
17146
17620
  {
17147
17621
  "kind": "Reference",
17148
17622
  "text": "DeleteComponentMessage",
@@ -17203,7 +17677,7 @@
17203
17677
  "name": "CrdtMessage",
17204
17678
  "typeTokenRange": {
17205
17679
  "startIndex": 1,
17206
- "endIndex": 14
17680
+ "endIndex": 16
17207
17681
  }
17208
17682
  },
17209
17683
  {
@@ -17224,6 +17698,15 @@
17224
17698
  "kind": "Content",
17225
17699
  "text": " | "
17226
17700
  },
17701
+ {
17702
+ "kind": "Reference",
17703
+ "text": "AuthoritativePutComponentMessageBody",
17704
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
17705
+ },
17706
+ {
17707
+ "kind": "Content",
17708
+ "text": " | "
17709
+ },
17227
17710
  {
17228
17711
  "kind": "Reference",
17229
17712
  "text": "DeleteComponentMessageBody",
@@ -17266,7 +17749,7 @@
17266
17749
  "name": "CrdtMessageBody",
17267
17750
  "typeTokenRange": {
17268
17751
  "startIndex": 1,
17269
- "endIndex": 10
17752
+ "endIndex": 12
17270
17753
  }
17271
17754
  },
17272
17755
  {
@@ -17556,6 +18039,27 @@
17556
18039
  "releaseTag": "Public",
17557
18040
  "name": "APPEND_VALUE"
17558
18041
  },
18042
+ {
18043
+ "kind": "EnumMember",
18044
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
18045
+ "docComment": "",
18046
+ "excerptTokens": [
18047
+ {
18048
+ "kind": "Content",
18049
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
18050
+ },
18051
+ {
18052
+ "kind": "Content",
18053
+ "text": "8"
18054
+ }
18055
+ ],
18056
+ "initializerTokenRange": {
18057
+ "startIndex": 1,
18058
+ "endIndex": 2
18059
+ },
18060
+ "releaseTag": "Public",
18061
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
18062
+ },
17559
18063
  {
17560
18064
  "kind": "EnumMember",
17561
18065
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -17651,7 +18155,7 @@
17651
18155
  },
17652
18156
  {
17653
18157
  "kind": "Content",
17654
- "text": "8"
18158
+ "text": "9"
17655
18159
  }
17656
18160
  ],
17657
18161
  "initializerTokenRange": {
@@ -17771,6 +18275,30 @@
17771
18275
  "endIndex": 6
17772
18276
  }
17773
18277
  },
18278
+ {
18279
+ "kind": "Variable",
18280
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
18281
+ "docComment": "",
18282
+ "excerptTokens": [
18283
+ {
18284
+ "kind": "Content",
18285
+ "text": "CreatedBy: "
18286
+ },
18287
+ {
18288
+ "kind": "Reference",
18289
+ "text": "ICreatedBy",
18290
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
18291
+ }
18292
+ ],
18293
+ "fileUrlPath": "../ecs/dist/index.d.ts",
18294
+ "isReadonly": true,
18295
+ "releaseTag": "Public",
18296
+ "name": "CreatedBy",
18297
+ "variableTypeTokenRange": {
18298
+ "startIndex": 1,
18299
+ "endIndex": 2
18300
+ }
18301
+ },
17774
18302
  {
17775
18303
  "kind": "Function",
17776
18304
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -23626,6 +24154,91 @@
23626
24154
  "endIndex": 9
23627
24155
  }
23628
24156
  },
24157
+ {
24158
+ "kind": "TypeAlias",
24159
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
24160
+ "docComment": "",
24161
+ "excerptTokens": [
24162
+ {
24163
+ "kind": "Content",
24164
+ "text": "export type ICreatedBy = "
24165
+ },
24166
+ {
24167
+ "kind": "Reference",
24168
+ "text": "LastWriteWinElementSetComponentDefinition",
24169
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
24170
+ },
24171
+ {
24172
+ "kind": "Content",
24173
+ "text": "<"
24174
+ },
24175
+ {
24176
+ "kind": "Reference",
24177
+ "text": "ICreatedByType",
24178
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
24179
+ },
24180
+ {
24181
+ "kind": "Content",
24182
+ "text": ">"
24183
+ },
24184
+ {
24185
+ "kind": "Content",
24186
+ "text": ";"
24187
+ }
24188
+ ],
24189
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24190
+ "releaseTag": "Public",
24191
+ "name": "ICreatedBy",
24192
+ "typeTokenRange": {
24193
+ "startIndex": 1,
24194
+ "endIndex": 5
24195
+ }
24196
+ },
24197
+ {
24198
+ "kind": "Interface",
24199
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
24200
+ "docComment": "",
24201
+ "excerptTokens": [
24202
+ {
24203
+ "kind": "Content",
24204
+ "text": "export interface ICreatedByType "
24205
+ }
24206
+ ],
24207
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24208
+ "releaseTag": "Public",
24209
+ "name": "ICreatedByType",
24210
+ "preserveMemberOrder": false,
24211
+ "members": [
24212
+ {
24213
+ "kind": "PropertySignature",
24214
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
24215
+ "docComment": "",
24216
+ "excerptTokens": [
24217
+ {
24218
+ "kind": "Content",
24219
+ "text": "address: "
24220
+ },
24221
+ {
24222
+ "kind": "Content",
24223
+ "text": "string"
24224
+ },
24225
+ {
24226
+ "kind": "Content",
24227
+ "text": ";"
24228
+ }
24229
+ ],
24230
+ "isReadonly": false,
24231
+ "isOptional": false,
24232
+ "releaseTag": "Public",
24233
+ "name": "address",
24234
+ "propertyTypeTokenRange": {
24235
+ "startIndex": 1,
24236
+ "endIndex": 2
24237
+ }
24238
+ }
24239
+ ],
24240
+ "extendsTokenRanges": []
24241
+ },
23629
24242
  {
23630
24243
  "kind": "Interface",
23631
24244
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -26826,6 +27439,342 @@
26826
27439
  }
26827
27440
  ]
26828
27441
  },
27442
+ {
27443
+ "kind": "Interface",
27444
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
27445
+ "docComment": "/**\n * Internal component interface that exposes all internal methods for SDK use\n * This is not exposed to users, only for internal SDK operations\n */\n",
27446
+ "excerptTokens": [
27447
+ {
27448
+ "kind": "Content",
27449
+ "text": "export interface InternalBaseComponent<T> extends "
27450
+ },
27451
+ {
27452
+ "kind": "Reference",
27453
+ "text": "BaseComponent",
27454
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
27455
+ },
27456
+ {
27457
+ "kind": "Content",
27458
+ "text": "<T>"
27459
+ },
27460
+ {
27461
+ "kind": "Content",
27462
+ "text": " "
27463
+ }
27464
+ ],
27465
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
27466
+ "releaseTag": "Public",
27467
+ "typeParameters": [
27468
+ {
27469
+ "typeParameterName": "T",
27470
+ "constraintTokenRange": {
27471
+ "startIndex": 0,
27472
+ "endIndex": 0
27473
+ },
27474
+ "defaultTypeTokenRange": {
27475
+ "startIndex": 0,
27476
+ "endIndex": 0
27477
+ }
27478
+ }
27479
+ ],
27480
+ "name": "InternalBaseComponent",
27481
+ "preserveMemberOrder": false,
27482
+ "members": [
27483
+ {
27484
+ "kind": "MethodSignature",
27485
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
27486
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
27487
+ "excerptTokens": [
27488
+ {
27489
+ "kind": "Content",
27490
+ "text": "__dry_run_updateFromCrdt(body: "
27491
+ },
27492
+ {
27493
+ "kind": "Reference",
27494
+ "text": "CrdtMessageBody",
27495
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
27496
+ },
27497
+ {
27498
+ "kind": "Content",
27499
+ "text": "): "
27500
+ },
27501
+ {
27502
+ "kind": "Reference",
27503
+ "text": "ProcessMessageResultType",
27504
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
27505
+ },
27506
+ {
27507
+ "kind": "Content",
27508
+ "text": ";"
27509
+ }
27510
+ ],
27511
+ "isOptional": false,
27512
+ "returnTypeTokenRange": {
27513
+ "startIndex": 3,
27514
+ "endIndex": 4
27515
+ },
27516
+ "releaseTag": "Public",
27517
+ "overloadIndex": 1,
27518
+ "parameters": [
27519
+ {
27520
+ "parameterName": "body",
27521
+ "parameterTypeTokenRange": {
27522
+ "startIndex": 1,
27523
+ "endIndex": 2
27524
+ },
27525
+ "isOptional": false
27526
+ }
27527
+ ],
27528
+ "name": "__dry_run_updateFromCrdt"
27529
+ },
27530
+ {
27531
+ "kind": "MethodSignature",
27532
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
27533
+ "docComment": "/**\n * @public\n */\n",
27534
+ "excerptTokens": [
27535
+ {
27536
+ "kind": "Content",
27537
+ "text": "__onChangeCallbacks(entity: "
27538
+ },
27539
+ {
27540
+ "kind": "Reference",
27541
+ "text": "Entity",
27542
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27543
+ },
27544
+ {
27545
+ "kind": "Content",
27546
+ "text": ", value: "
27547
+ },
27548
+ {
27549
+ "kind": "Content",
27550
+ "text": "T"
27551
+ },
27552
+ {
27553
+ "kind": "Content",
27554
+ "text": "): "
27555
+ },
27556
+ {
27557
+ "kind": "Content",
27558
+ "text": "void"
27559
+ },
27560
+ {
27561
+ "kind": "Content",
27562
+ "text": ";"
27563
+ }
27564
+ ],
27565
+ "isOptional": false,
27566
+ "returnTypeTokenRange": {
27567
+ "startIndex": 5,
27568
+ "endIndex": 6
27569
+ },
27570
+ "releaseTag": "Public",
27571
+ "overloadIndex": 1,
27572
+ "parameters": [
27573
+ {
27574
+ "parameterName": "entity",
27575
+ "parameterTypeTokenRange": {
27576
+ "startIndex": 1,
27577
+ "endIndex": 2
27578
+ },
27579
+ "isOptional": false
27580
+ },
27581
+ {
27582
+ "parameterName": "value",
27583
+ "parameterTypeTokenRange": {
27584
+ "startIndex": 3,
27585
+ "endIndex": 4
27586
+ },
27587
+ "isOptional": false
27588
+ }
27589
+ ],
27590
+ "name": "__onChangeCallbacks"
27591
+ },
27592
+ {
27593
+ "kind": "MethodSignature",
27594
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
27595
+ "docComment": "/**\n * @public\n */\n",
27596
+ "excerptTokens": [
27597
+ {
27598
+ "kind": "Content",
27599
+ "text": "__run_validateBeforeChange(entity: "
27600
+ },
27601
+ {
27602
+ "kind": "Reference",
27603
+ "text": "Entity",
27604
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27605
+ },
27606
+ {
27607
+ "kind": "Content",
27608
+ "text": ", newValue: "
27609
+ },
27610
+ {
27611
+ "kind": "Content",
27612
+ "text": "T | undefined"
27613
+ },
27614
+ {
27615
+ "kind": "Content",
27616
+ "text": ", senderAddress: "
27617
+ },
27618
+ {
27619
+ "kind": "Content",
27620
+ "text": "string"
27621
+ },
27622
+ {
27623
+ "kind": "Content",
27624
+ "text": ", createdBy: "
27625
+ },
27626
+ {
27627
+ "kind": "Content",
27628
+ "text": "string"
27629
+ },
27630
+ {
27631
+ "kind": "Content",
27632
+ "text": "): "
27633
+ },
27634
+ {
27635
+ "kind": "Content",
27636
+ "text": "boolean"
27637
+ },
27638
+ {
27639
+ "kind": "Content",
27640
+ "text": ";"
27641
+ }
27642
+ ],
27643
+ "isOptional": false,
27644
+ "returnTypeTokenRange": {
27645
+ "startIndex": 9,
27646
+ "endIndex": 10
27647
+ },
27648
+ "releaseTag": "Public",
27649
+ "overloadIndex": 1,
27650
+ "parameters": [
27651
+ {
27652
+ "parameterName": "entity",
27653
+ "parameterTypeTokenRange": {
27654
+ "startIndex": 1,
27655
+ "endIndex": 2
27656
+ },
27657
+ "isOptional": false
27658
+ },
27659
+ {
27660
+ "parameterName": "newValue",
27661
+ "parameterTypeTokenRange": {
27662
+ "startIndex": 3,
27663
+ "endIndex": 4
27664
+ },
27665
+ "isOptional": false
27666
+ },
27667
+ {
27668
+ "parameterName": "senderAddress",
27669
+ "parameterTypeTokenRange": {
27670
+ "startIndex": 5,
27671
+ "endIndex": 6
27672
+ },
27673
+ "isOptional": false
27674
+ },
27675
+ {
27676
+ "parameterName": "createdBy",
27677
+ "parameterTypeTokenRange": {
27678
+ "startIndex": 7,
27679
+ "endIndex": 8
27680
+ },
27681
+ "isOptional": false
27682
+ }
27683
+ ],
27684
+ "name": "__run_validateBeforeChange"
27685
+ },
27686
+ {
27687
+ "kind": "MethodSignature",
27688
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
27689
+ "docComment": "/**\n * @public\n */\n",
27690
+ "excerptTokens": [
27691
+ {
27692
+ "kind": "Content",
27693
+ "text": "dirtyIterator(): "
27694
+ },
27695
+ {
27696
+ "kind": "Reference",
27697
+ "text": "Iterable",
27698
+ "canonicalReference": "!Iterable:interface"
27699
+ },
27700
+ {
27701
+ "kind": "Content",
27702
+ "text": "<"
27703
+ },
27704
+ {
27705
+ "kind": "Reference",
27706
+ "text": "Entity",
27707
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27708
+ },
27709
+ {
27710
+ "kind": "Content",
27711
+ "text": ">"
27712
+ },
27713
+ {
27714
+ "kind": "Content",
27715
+ "text": ";"
27716
+ }
27717
+ ],
27718
+ "isOptional": false,
27719
+ "returnTypeTokenRange": {
27720
+ "startIndex": 1,
27721
+ "endIndex": 5
27722
+ },
27723
+ "releaseTag": "Public",
27724
+ "overloadIndex": 1,
27725
+ "parameters": [],
27726
+ "name": "dirtyIterator"
27727
+ },
27728
+ {
27729
+ "kind": "MethodSignature",
27730
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
27731
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
27732
+ "excerptTokens": [
27733
+ {
27734
+ "kind": "Content",
27735
+ "text": "iterator(): "
27736
+ },
27737
+ {
27738
+ "kind": "Reference",
27739
+ "text": "Iterable",
27740
+ "canonicalReference": "!Iterable:interface"
27741
+ },
27742
+ {
27743
+ "kind": "Content",
27744
+ "text": "<["
27745
+ },
27746
+ {
27747
+ "kind": "Reference",
27748
+ "text": "Entity",
27749
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27750
+ },
27751
+ {
27752
+ "kind": "Content",
27753
+ "text": ", any]>"
27754
+ },
27755
+ {
27756
+ "kind": "Content",
27757
+ "text": ";"
27758
+ }
27759
+ ],
27760
+ "isOptional": false,
27761
+ "returnTypeTokenRange": {
27762
+ "startIndex": 1,
27763
+ "endIndex": 5
27764
+ },
27765
+ "releaseTag": "Public",
27766
+ "overloadIndex": 1,
27767
+ "parameters": [],
27768
+ "name": "iterator"
27769
+ }
27770
+ ],
27771
+ "extendsTokenRanges": [
27772
+ {
27773
+ "startIndex": 1,
27774
+ "endIndex": 3
27775
+ }
27776
+ ]
27777
+ },
26829
27778
  {
26830
27779
  "kind": "Interface",
26831
27780
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -89582,7 +90531,7 @@
89582
90531
  },
89583
90532
  {
89584
90533
  "kind": "Content",
89585
- "text": ", 'messageBuffer'>): boolean;\n type?: string;\n}"
90534
+ "text": ", 'messageBuffer'>): boolean;\n type?: string;\n allowReservedEntities?: boolean;\n}"
89586
90535
  },
89587
90536
  {
89588
90537
  "kind": "Content",
@@ -94755,6 +95704,54 @@
94755
95704
  "endIndex": 2
94756
95705
  }
94757
95706
  },
95707
+ {
95708
+ "kind": "TypeAlias",
95709
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
95710
+ "docComment": "",
95711
+ "excerptTokens": [
95712
+ {
95713
+ "kind": "Content",
95714
+ "text": "export type ValidateCallback<T> = "
95715
+ },
95716
+ {
95717
+ "kind": "Content",
95718
+ "text": "(value: {\n entity: "
95719
+ },
95720
+ {
95721
+ "kind": "Reference",
95722
+ "text": "Entity",
95723
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
95724
+ },
95725
+ {
95726
+ "kind": "Content",
95727
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
95728
+ },
95729
+ {
95730
+ "kind": "Content",
95731
+ "text": ";"
95732
+ }
95733
+ ],
95734
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
95735
+ "releaseTag": "Public",
95736
+ "name": "ValidateCallback",
95737
+ "typeParameters": [
95738
+ {
95739
+ "typeParameterName": "T",
95740
+ "constraintTokenRange": {
95741
+ "startIndex": 0,
95742
+ "endIndex": 0
95743
+ },
95744
+ "defaultTypeTokenRange": {
95745
+ "startIndex": 0,
95746
+ "endIndex": 0
95747
+ }
95748
+ }
95749
+ ],
95750
+ "typeTokenRange": {
95751
+ "startIndex": 1,
95752
+ "endIndex": 4
95753
+ }
95754
+ },
94758
95755
  {
94759
95756
  "kind": "TypeAlias",
94760
95757
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",