@dcl/playground-assets 7.31.1-40604676255.commit-cb3ed84 → 7.31.1-40606969412.commit-24c05c3

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",
@@ -4415,6 +4708,61 @@
4415
4708
  ],
4416
4709
  "name": "get"
4417
4710
  },
4711
+ {
4712
+ "kind": "MethodSignature",
4713
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtState:member(1)",
4714
+ "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",
4715
+ "excerptTokens": [
4716
+ {
4717
+ "kind": "Content",
4718
+ "text": "getCrdtState(entity: "
4719
+ },
4720
+ {
4721
+ "kind": "Reference",
4722
+ "text": "Entity",
4723
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4724
+ },
4725
+ {
4726
+ "kind": "Content",
4727
+ "text": "): "
4728
+ },
4729
+ {
4730
+ "kind": "Content",
4731
+ "text": "{\n data: "
4732
+ },
4733
+ {
4734
+ "kind": "Reference",
4735
+ "text": "Uint8Array",
4736
+ "canonicalReference": "!Uint8Array:interface"
4737
+ },
4738
+ {
4739
+ "kind": "Content",
4740
+ "text": ";\n timestamp: number;\n } | null"
4741
+ },
4742
+ {
4743
+ "kind": "Content",
4744
+ "text": ";"
4745
+ }
4746
+ ],
4747
+ "isOptional": false,
4748
+ "returnTypeTokenRange": {
4749
+ "startIndex": 3,
4750
+ "endIndex": 6
4751
+ },
4752
+ "releaseTag": "Public",
4753
+ "overloadIndex": 1,
4754
+ "parameters": [
4755
+ {
4756
+ "parameterName": "entity",
4757
+ "parameterTypeTokenRange": {
4758
+ "startIndex": 1,
4759
+ "endIndex": 2
4760
+ },
4761
+ "isOptional": false
4762
+ }
4763
+ ],
4764
+ "name": "getCrdtState"
4765
+ },
4418
4766
  {
4419
4767
  "kind": "MethodSignature",
4420
4768
  "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
@@ -4651,6 +4999,123 @@
4651
4999
  }
4652
5000
  ],
4653
5001
  "name": "updateFromCrdt"
5002
+ },
5003
+ {
5004
+ "kind": "MethodSignature",
5005
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(1)",
5006
+ "docComment": "/**\n * @public\n */\n",
5007
+ "excerptTokens": [
5008
+ {
5009
+ "kind": "Content",
5010
+ "text": "validateBeforeChange(entity: "
5011
+ },
5012
+ {
5013
+ "kind": "Reference",
5014
+ "text": "Entity",
5015
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
5016
+ },
5017
+ {
5018
+ "kind": "Content",
5019
+ "text": ", cb: "
5020
+ },
5021
+ {
5022
+ "kind": "Reference",
5023
+ "text": "ValidateCallback",
5024
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
5025
+ },
5026
+ {
5027
+ "kind": "Content",
5028
+ "text": "<T>"
5029
+ },
5030
+ {
5031
+ "kind": "Content",
5032
+ "text": "): "
5033
+ },
5034
+ {
5035
+ "kind": "Content",
5036
+ "text": "void"
5037
+ },
5038
+ {
5039
+ "kind": "Content",
5040
+ "text": ";"
5041
+ }
5042
+ ],
5043
+ "isOptional": false,
5044
+ "returnTypeTokenRange": {
5045
+ "startIndex": 6,
5046
+ "endIndex": 7
5047
+ },
5048
+ "releaseTag": "Public",
5049
+ "overloadIndex": 1,
5050
+ "parameters": [
5051
+ {
5052
+ "parameterName": "entity",
5053
+ "parameterTypeTokenRange": {
5054
+ "startIndex": 1,
5055
+ "endIndex": 2
5056
+ },
5057
+ "isOptional": false
5058
+ },
5059
+ {
5060
+ "parameterName": "cb",
5061
+ "parameterTypeTokenRange": {
5062
+ "startIndex": 3,
5063
+ "endIndex": 5
5064
+ },
5065
+ "isOptional": false
5066
+ }
5067
+ ],
5068
+ "name": "validateBeforeChange"
5069
+ },
5070
+ {
5071
+ "kind": "MethodSignature",
5072
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(2)",
5073
+ "docComment": "",
5074
+ "excerptTokens": [
5075
+ {
5076
+ "kind": "Content",
5077
+ "text": "validateBeforeChange(cb: "
5078
+ },
5079
+ {
5080
+ "kind": "Reference",
5081
+ "text": "ValidateCallback",
5082
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
5083
+ },
5084
+ {
5085
+ "kind": "Content",
5086
+ "text": "<T>"
5087
+ },
5088
+ {
5089
+ "kind": "Content",
5090
+ "text": "): "
5091
+ },
5092
+ {
5093
+ "kind": "Content",
5094
+ "text": "void"
5095
+ },
5096
+ {
5097
+ "kind": "Content",
5098
+ "text": ";"
5099
+ }
5100
+ ],
5101
+ "isOptional": false,
5102
+ "returnTypeTokenRange": {
5103
+ "startIndex": 4,
5104
+ "endIndex": 5
5105
+ },
5106
+ "releaseTag": "Public",
5107
+ "overloadIndex": 2,
5108
+ "parameters": [
5109
+ {
5110
+ "parameterName": "cb",
5111
+ "parameterTypeTokenRange": {
5112
+ "startIndex": 1,
5113
+ "endIndex": 3
5114
+ },
5115
+ "isOptional": false
5116
+ }
5117
+ ],
5118
+ "name": "validateBeforeChange"
4654
5119
  }
4655
5120
  ],
4656
5121
  "extendsTokenRanges": []
@@ -18062,6 +18527,15 @@
18062
18527
  "kind": "Content",
18063
18528
  "text": " | "
18064
18529
  },
18530
+ {
18531
+ "kind": "Reference",
18532
+ "text": "AuthoritativePutComponentMessage",
18533
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
18534
+ },
18535
+ {
18536
+ "kind": "Content",
18537
+ "text": " | "
18538
+ },
18065
18539
  {
18066
18540
  "kind": "Reference",
18067
18541
  "text": "DeleteComponentMessage",
@@ -18122,7 +18596,7 @@
18122
18596
  "name": "CrdtMessage",
18123
18597
  "typeTokenRange": {
18124
18598
  "startIndex": 1,
18125
- "endIndex": 14
18599
+ "endIndex": 16
18126
18600
  }
18127
18601
  },
18128
18602
  {
@@ -18143,6 +18617,15 @@
18143
18617
  "kind": "Content",
18144
18618
  "text": " | "
18145
18619
  },
18620
+ {
18621
+ "kind": "Reference",
18622
+ "text": "AuthoritativePutComponentMessageBody",
18623
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
18624
+ },
18625
+ {
18626
+ "kind": "Content",
18627
+ "text": " | "
18628
+ },
18146
18629
  {
18147
18630
  "kind": "Reference",
18148
18631
  "text": "DeleteComponentMessageBody",
@@ -18185,7 +18668,7 @@
18185
18668
  "name": "CrdtMessageBody",
18186
18669
  "typeTokenRange": {
18187
18670
  "startIndex": 1,
18188
- "endIndex": 10
18671
+ "endIndex": 12
18189
18672
  }
18190
18673
  },
18191
18674
  {
@@ -18475,6 +18958,27 @@
18475
18958
  "releaseTag": "Public",
18476
18959
  "name": "APPEND_VALUE"
18477
18960
  },
18961
+ {
18962
+ "kind": "EnumMember",
18963
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
18964
+ "docComment": "",
18965
+ "excerptTokens": [
18966
+ {
18967
+ "kind": "Content",
18968
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
18969
+ },
18970
+ {
18971
+ "kind": "Content",
18972
+ "text": "8"
18973
+ }
18974
+ ],
18975
+ "initializerTokenRange": {
18976
+ "startIndex": 1,
18977
+ "endIndex": 2
18978
+ },
18979
+ "releaseTag": "Public",
18980
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
18981
+ },
18478
18982
  {
18479
18983
  "kind": "EnumMember",
18480
18984
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -18570,7 +19074,7 @@
18570
19074
  },
18571
19075
  {
18572
19076
  "kind": "Content",
18573
- "text": "8"
19077
+ "text": "9"
18574
19078
  }
18575
19079
  ],
18576
19080
  "initializerTokenRange": {
@@ -18690,6 +19194,30 @@
18690
19194
  "endIndex": 6
18691
19195
  }
18692
19196
  },
19197
+ {
19198
+ "kind": "Variable",
19199
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
19200
+ "docComment": "",
19201
+ "excerptTokens": [
19202
+ {
19203
+ "kind": "Content",
19204
+ "text": "CreatedBy: "
19205
+ },
19206
+ {
19207
+ "kind": "Reference",
19208
+ "text": "ICreatedBy",
19209
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
19210
+ }
19211
+ ],
19212
+ "fileUrlPath": "../ecs/dist/index.d.ts",
19213
+ "isReadonly": true,
19214
+ "releaseTag": "Public",
19215
+ "name": "CreatedBy",
19216
+ "variableTypeTokenRange": {
19217
+ "startIndex": 1,
19218
+ "endIndex": 2
19219
+ }
19220
+ },
18693
19221
  {
18694
19222
  "kind": "Function",
18695
19223
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -24763,6 +25291,91 @@
24763
25291
  "endIndex": 9
24764
25292
  }
24765
25293
  },
25294
+ {
25295
+ "kind": "TypeAlias",
25296
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
25297
+ "docComment": "",
25298
+ "excerptTokens": [
25299
+ {
25300
+ "kind": "Content",
25301
+ "text": "export type ICreatedBy = "
25302
+ },
25303
+ {
25304
+ "kind": "Reference",
25305
+ "text": "LastWriteWinElementSetComponentDefinition",
25306
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
25307
+ },
25308
+ {
25309
+ "kind": "Content",
25310
+ "text": "<"
25311
+ },
25312
+ {
25313
+ "kind": "Reference",
25314
+ "text": "ICreatedByType",
25315
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
25316
+ },
25317
+ {
25318
+ "kind": "Content",
25319
+ "text": ">"
25320
+ },
25321
+ {
25322
+ "kind": "Content",
25323
+ "text": ";"
25324
+ }
25325
+ ],
25326
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
25327
+ "releaseTag": "Public",
25328
+ "name": "ICreatedBy",
25329
+ "typeTokenRange": {
25330
+ "startIndex": 1,
25331
+ "endIndex": 5
25332
+ }
25333
+ },
25334
+ {
25335
+ "kind": "Interface",
25336
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
25337
+ "docComment": "",
25338
+ "excerptTokens": [
25339
+ {
25340
+ "kind": "Content",
25341
+ "text": "export interface ICreatedByType "
25342
+ }
25343
+ ],
25344
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
25345
+ "releaseTag": "Public",
25346
+ "name": "ICreatedByType",
25347
+ "preserveMemberOrder": false,
25348
+ "members": [
25349
+ {
25350
+ "kind": "PropertySignature",
25351
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
25352
+ "docComment": "",
25353
+ "excerptTokens": [
25354
+ {
25355
+ "kind": "Content",
25356
+ "text": "address: "
25357
+ },
25358
+ {
25359
+ "kind": "Content",
25360
+ "text": "string"
25361
+ },
25362
+ {
25363
+ "kind": "Content",
25364
+ "text": ";"
25365
+ }
25366
+ ],
25367
+ "isReadonly": false,
25368
+ "isOptional": false,
25369
+ "releaseTag": "Public",
25370
+ "name": "address",
25371
+ "propertyTypeTokenRange": {
25372
+ "startIndex": 1,
25373
+ "endIndex": 2
25374
+ }
25375
+ }
25376
+ ],
25377
+ "extendsTokenRanges": []
25378
+ },
24766
25379
  {
24767
25380
  "kind": "Interface",
24768
25381
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -27963,6 +28576,342 @@
27963
28576
  }
27964
28577
  ]
27965
28578
  },
28579
+ {
28580
+ "kind": "Interface",
28581
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
28582
+ "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",
28583
+ "excerptTokens": [
28584
+ {
28585
+ "kind": "Content",
28586
+ "text": "export interface InternalBaseComponent<T> extends "
28587
+ },
28588
+ {
28589
+ "kind": "Reference",
28590
+ "text": "BaseComponent",
28591
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
28592
+ },
28593
+ {
28594
+ "kind": "Content",
28595
+ "text": "<T>"
28596
+ },
28597
+ {
28598
+ "kind": "Content",
28599
+ "text": " "
28600
+ }
28601
+ ],
28602
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
28603
+ "releaseTag": "Public",
28604
+ "typeParameters": [
28605
+ {
28606
+ "typeParameterName": "T",
28607
+ "constraintTokenRange": {
28608
+ "startIndex": 0,
28609
+ "endIndex": 0
28610
+ },
28611
+ "defaultTypeTokenRange": {
28612
+ "startIndex": 0,
28613
+ "endIndex": 0
28614
+ }
28615
+ }
28616
+ ],
28617
+ "name": "InternalBaseComponent",
28618
+ "preserveMemberOrder": false,
28619
+ "members": [
28620
+ {
28621
+ "kind": "MethodSignature",
28622
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
28623
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
28624
+ "excerptTokens": [
28625
+ {
28626
+ "kind": "Content",
28627
+ "text": "__dry_run_updateFromCrdt(body: "
28628
+ },
28629
+ {
28630
+ "kind": "Reference",
28631
+ "text": "CrdtMessageBody",
28632
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
28633
+ },
28634
+ {
28635
+ "kind": "Content",
28636
+ "text": "): "
28637
+ },
28638
+ {
28639
+ "kind": "Reference",
28640
+ "text": "ProcessMessageResultType",
28641
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
28642
+ },
28643
+ {
28644
+ "kind": "Content",
28645
+ "text": ";"
28646
+ }
28647
+ ],
28648
+ "isOptional": false,
28649
+ "returnTypeTokenRange": {
28650
+ "startIndex": 3,
28651
+ "endIndex": 4
28652
+ },
28653
+ "releaseTag": "Public",
28654
+ "overloadIndex": 1,
28655
+ "parameters": [
28656
+ {
28657
+ "parameterName": "body",
28658
+ "parameterTypeTokenRange": {
28659
+ "startIndex": 1,
28660
+ "endIndex": 2
28661
+ },
28662
+ "isOptional": false
28663
+ }
28664
+ ],
28665
+ "name": "__dry_run_updateFromCrdt"
28666
+ },
28667
+ {
28668
+ "kind": "MethodSignature",
28669
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
28670
+ "docComment": "/**\n * @public\n */\n",
28671
+ "excerptTokens": [
28672
+ {
28673
+ "kind": "Content",
28674
+ "text": "__onChangeCallbacks(entity: "
28675
+ },
28676
+ {
28677
+ "kind": "Reference",
28678
+ "text": "Entity",
28679
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28680
+ },
28681
+ {
28682
+ "kind": "Content",
28683
+ "text": ", value: "
28684
+ },
28685
+ {
28686
+ "kind": "Content",
28687
+ "text": "T"
28688
+ },
28689
+ {
28690
+ "kind": "Content",
28691
+ "text": "): "
28692
+ },
28693
+ {
28694
+ "kind": "Content",
28695
+ "text": "void"
28696
+ },
28697
+ {
28698
+ "kind": "Content",
28699
+ "text": ";"
28700
+ }
28701
+ ],
28702
+ "isOptional": false,
28703
+ "returnTypeTokenRange": {
28704
+ "startIndex": 5,
28705
+ "endIndex": 6
28706
+ },
28707
+ "releaseTag": "Public",
28708
+ "overloadIndex": 1,
28709
+ "parameters": [
28710
+ {
28711
+ "parameterName": "entity",
28712
+ "parameterTypeTokenRange": {
28713
+ "startIndex": 1,
28714
+ "endIndex": 2
28715
+ },
28716
+ "isOptional": false
28717
+ },
28718
+ {
28719
+ "parameterName": "value",
28720
+ "parameterTypeTokenRange": {
28721
+ "startIndex": 3,
28722
+ "endIndex": 4
28723
+ },
28724
+ "isOptional": false
28725
+ }
28726
+ ],
28727
+ "name": "__onChangeCallbacks"
28728
+ },
28729
+ {
28730
+ "kind": "MethodSignature",
28731
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
28732
+ "docComment": "/**\n * @public\n */\n",
28733
+ "excerptTokens": [
28734
+ {
28735
+ "kind": "Content",
28736
+ "text": "__run_validateBeforeChange(entity: "
28737
+ },
28738
+ {
28739
+ "kind": "Reference",
28740
+ "text": "Entity",
28741
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28742
+ },
28743
+ {
28744
+ "kind": "Content",
28745
+ "text": ", newValue: "
28746
+ },
28747
+ {
28748
+ "kind": "Content",
28749
+ "text": "T | undefined"
28750
+ },
28751
+ {
28752
+ "kind": "Content",
28753
+ "text": ", senderAddress: "
28754
+ },
28755
+ {
28756
+ "kind": "Content",
28757
+ "text": "string"
28758
+ },
28759
+ {
28760
+ "kind": "Content",
28761
+ "text": ", createdBy: "
28762
+ },
28763
+ {
28764
+ "kind": "Content",
28765
+ "text": "string"
28766
+ },
28767
+ {
28768
+ "kind": "Content",
28769
+ "text": "): "
28770
+ },
28771
+ {
28772
+ "kind": "Content",
28773
+ "text": "boolean"
28774
+ },
28775
+ {
28776
+ "kind": "Content",
28777
+ "text": ";"
28778
+ }
28779
+ ],
28780
+ "isOptional": false,
28781
+ "returnTypeTokenRange": {
28782
+ "startIndex": 9,
28783
+ "endIndex": 10
28784
+ },
28785
+ "releaseTag": "Public",
28786
+ "overloadIndex": 1,
28787
+ "parameters": [
28788
+ {
28789
+ "parameterName": "entity",
28790
+ "parameterTypeTokenRange": {
28791
+ "startIndex": 1,
28792
+ "endIndex": 2
28793
+ },
28794
+ "isOptional": false
28795
+ },
28796
+ {
28797
+ "parameterName": "newValue",
28798
+ "parameterTypeTokenRange": {
28799
+ "startIndex": 3,
28800
+ "endIndex": 4
28801
+ },
28802
+ "isOptional": false
28803
+ },
28804
+ {
28805
+ "parameterName": "senderAddress",
28806
+ "parameterTypeTokenRange": {
28807
+ "startIndex": 5,
28808
+ "endIndex": 6
28809
+ },
28810
+ "isOptional": false
28811
+ },
28812
+ {
28813
+ "parameterName": "createdBy",
28814
+ "parameterTypeTokenRange": {
28815
+ "startIndex": 7,
28816
+ "endIndex": 8
28817
+ },
28818
+ "isOptional": false
28819
+ }
28820
+ ],
28821
+ "name": "__run_validateBeforeChange"
28822
+ },
28823
+ {
28824
+ "kind": "MethodSignature",
28825
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
28826
+ "docComment": "/**\n * @public\n */\n",
28827
+ "excerptTokens": [
28828
+ {
28829
+ "kind": "Content",
28830
+ "text": "dirtyIterator(): "
28831
+ },
28832
+ {
28833
+ "kind": "Reference",
28834
+ "text": "Iterable",
28835
+ "canonicalReference": "!Iterable:interface"
28836
+ },
28837
+ {
28838
+ "kind": "Content",
28839
+ "text": "<"
28840
+ },
28841
+ {
28842
+ "kind": "Reference",
28843
+ "text": "Entity",
28844
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28845
+ },
28846
+ {
28847
+ "kind": "Content",
28848
+ "text": ">"
28849
+ },
28850
+ {
28851
+ "kind": "Content",
28852
+ "text": ";"
28853
+ }
28854
+ ],
28855
+ "isOptional": false,
28856
+ "returnTypeTokenRange": {
28857
+ "startIndex": 1,
28858
+ "endIndex": 5
28859
+ },
28860
+ "releaseTag": "Public",
28861
+ "overloadIndex": 1,
28862
+ "parameters": [],
28863
+ "name": "dirtyIterator"
28864
+ },
28865
+ {
28866
+ "kind": "MethodSignature",
28867
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
28868
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
28869
+ "excerptTokens": [
28870
+ {
28871
+ "kind": "Content",
28872
+ "text": "iterator(): "
28873
+ },
28874
+ {
28875
+ "kind": "Reference",
28876
+ "text": "Iterable",
28877
+ "canonicalReference": "!Iterable:interface"
28878
+ },
28879
+ {
28880
+ "kind": "Content",
28881
+ "text": "<["
28882
+ },
28883
+ {
28884
+ "kind": "Reference",
28885
+ "text": "Entity",
28886
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28887
+ },
28888
+ {
28889
+ "kind": "Content",
28890
+ "text": ", any]>"
28891
+ },
28892
+ {
28893
+ "kind": "Content",
28894
+ "text": ";"
28895
+ }
28896
+ ],
28897
+ "isOptional": false,
28898
+ "returnTypeTokenRange": {
28899
+ "startIndex": 1,
28900
+ "endIndex": 5
28901
+ },
28902
+ "releaseTag": "Public",
28903
+ "overloadIndex": 1,
28904
+ "parameters": [],
28905
+ "name": "iterator"
28906
+ }
28907
+ ],
28908
+ "extendsTokenRanges": [
28909
+ {
28910
+ "startIndex": 1,
28911
+ "endIndex": 3
28912
+ }
28913
+ ]
28914
+ },
27966
28915
  {
27967
28916
  "kind": "Interface",
27968
28917
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -96992,7 +97941,7 @@
96992
97941
  },
96993
97942
  {
96994
97943
  "kind": "Content",
96995
- "text": ", 'messageBuffer'>): boolean;\n type?: string;\n}"
97944
+ "text": ", 'messageBuffer'>): boolean;\n type?: string;\n allowReservedEntities?: boolean;\n}"
96996
97945
  },
96997
97946
  {
96998
97947
  "kind": "Content",
@@ -102743,6 +103692,54 @@
102743
103692
  "endIndex": 2
102744
103693
  }
102745
103694
  },
103695
+ {
103696
+ "kind": "TypeAlias",
103697
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
103698
+ "docComment": "",
103699
+ "excerptTokens": [
103700
+ {
103701
+ "kind": "Content",
103702
+ "text": "export type ValidateCallback<T> = "
103703
+ },
103704
+ {
103705
+ "kind": "Content",
103706
+ "text": "(value: {\n entity: "
103707
+ },
103708
+ {
103709
+ "kind": "Reference",
103710
+ "text": "Entity",
103711
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
103712
+ },
103713
+ {
103714
+ "kind": "Content",
103715
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
103716
+ },
103717
+ {
103718
+ "kind": "Content",
103719
+ "text": ";"
103720
+ }
103721
+ ],
103722
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
103723
+ "releaseTag": "Public",
103724
+ "name": "ValidateCallback",
103725
+ "typeParameters": [
103726
+ {
103727
+ "typeParameterName": "T",
103728
+ "constraintTokenRange": {
103729
+ "startIndex": 0,
103730
+ "endIndex": 0
103731
+ },
103732
+ "defaultTypeTokenRange": {
103733
+ "startIndex": 0,
103734
+ "endIndex": 0
103735
+ }
103736
+ }
103737
+ ],
103738
+ "typeTokenRange": {
103739
+ "startIndex": 1,
103740
+ "endIndex": 4
103741
+ }
103742
+ },
102746
103743
  {
102747
103744
  "kind": "TypeAlias",
102748
103745
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",