@dcl/playground-assets 7.26.1-32785242405.commit-c8d1817 → 7.26.1-32860802198.commit-dae48fb

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",
@@ -3812,6 +4105,61 @@
3812
4105
  ],
3813
4106
  "name": "get"
3814
4107
  },
4108
+ {
4109
+ "kind": "MethodSignature",
4110
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtState:member(1)",
4111
+ "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",
4112
+ "excerptTokens": [
4113
+ {
4114
+ "kind": "Content",
4115
+ "text": "getCrdtState(entity: "
4116
+ },
4117
+ {
4118
+ "kind": "Reference",
4119
+ "text": "Entity",
4120
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4121
+ },
4122
+ {
4123
+ "kind": "Content",
4124
+ "text": "): "
4125
+ },
4126
+ {
4127
+ "kind": "Content",
4128
+ "text": "{\n data: "
4129
+ },
4130
+ {
4131
+ "kind": "Reference",
4132
+ "text": "Uint8Array",
4133
+ "canonicalReference": "!Uint8Array:interface"
4134
+ },
4135
+ {
4136
+ "kind": "Content",
4137
+ "text": ";\n timestamp: number;\n } | null"
4138
+ },
4139
+ {
4140
+ "kind": "Content",
4141
+ "text": ";"
4142
+ }
4143
+ ],
4144
+ "isOptional": false,
4145
+ "returnTypeTokenRange": {
4146
+ "startIndex": 3,
4147
+ "endIndex": 6
4148
+ },
4149
+ "releaseTag": "Public",
4150
+ "overloadIndex": 1,
4151
+ "parameters": [
4152
+ {
4153
+ "parameterName": "entity",
4154
+ "parameterTypeTokenRange": {
4155
+ "startIndex": 1,
4156
+ "endIndex": 2
4157
+ },
4158
+ "isOptional": false
4159
+ }
4160
+ ],
4161
+ "name": "getCrdtState"
4162
+ },
3815
4163
  {
3816
4164
  "kind": "MethodSignature",
3817
4165
  "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
@@ -4048,6 +4396,123 @@
4048
4396
  }
4049
4397
  ],
4050
4398
  "name": "updateFromCrdt"
4399
+ },
4400
+ {
4401
+ "kind": "MethodSignature",
4402
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(1)",
4403
+ "docComment": "/**\n * @public\n */\n",
4404
+ "excerptTokens": [
4405
+ {
4406
+ "kind": "Content",
4407
+ "text": "validateBeforeChange(entity: "
4408
+ },
4409
+ {
4410
+ "kind": "Reference",
4411
+ "text": "Entity",
4412
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4413
+ },
4414
+ {
4415
+ "kind": "Content",
4416
+ "text": ", cb: "
4417
+ },
4418
+ {
4419
+ "kind": "Reference",
4420
+ "text": "ValidateCallback",
4421
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4422
+ },
4423
+ {
4424
+ "kind": "Content",
4425
+ "text": "<T>"
4426
+ },
4427
+ {
4428
+ "kind": "Content",
4429
+ "text": "): "
4430
+ },
4431
+ {
4432
+ "kind": "Content",
4433
+ "text": "void"
4434
+ },
4435
+ {
4436
+ "kind": "Content",
4437
+ "text": ";"
4438
+ }
4439
+ ],
4440
+ "isOptional": false,
4441
+ "returnTypeTokenRange": {
4442
+ "startIndex": 6,
4443
+ "endIndex": 7
4444
+ },
4445
+ "releaseTag": "Public",
4446
+ "overloadIndex": 1,
4447
+ "parameters": [
4448
+ {
4449
+ "parameterName": "entity",
4450
+ "parameterTypeTokenRange": {
4451
+ "startIndex": 1,
4452
+ "endIndex": 2
4453
+ },
4454
+ "isOptional": false
4455
+ },
4456
+ {
4457
+ "parameterName": "cb",
4458
+ "parameterTypeTokenRange": {
4459
+ "startIndex": 3,
4460
+ "endIndex": 5
4461
+ },
4462
+ "isOptional": false
4463
+ }
4464
+ ],
4465
+ "name": "validateBeforeChange"
4466
+ },
4467
+ {
4468
+ "kind": "MethodSignature",
4469
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(2)",
4470
+ "docComment": "",
4471
+ "excerptTokens": [
4472
+ {
4473
+ "kind": "Content",
4474
+ "text": "validateBeforeChange(cb: "
4475
+ },
4476
+ {
4477
+ "kind": "Reference",
4478
+ "text": "ValidateCallback",
4479
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4480
+ },
4481
+ {
4482
+ "kind": "Content",
4483
+ "text": "<T>"
4484
+ },
4485
+ {
4486
+ "kind": "Content",
4487
+ "text": "): "
4488
+ },
4489
+ {
4490
+ "kind": "Content",
4491
+ "text": "void"
4492
+ },
4493
+ {
4494
+ "kind": "Content",
4495
+ "text": ";"
4496
+ }
4497
+ ],
4498
+ "isOptional": false,
4499
+ "returnTypeTokenRange": {
4500
+ "startIndex": 4,
4501
+ "endIndex": 5
4502
+ },
4503
+ "releaseTag": "Public",
4504
+ "overloadIndex": 2,
4505
+ "parameters": [
4506
+ {
4507
+ "parameterName": "cb",
4508
+ "parameterTypeTokenRange": {
4509
+ "startIndex": 1,
4510
+ "endIndex": 3
4511
+ },
4512
+ "isOptional": false
4513
+ }
4514
+ ],
4515
+ "name": "validateBeforeChange"
4051
4516
  }
4052
4517
  ],
4053
4518
  "extendsTokenRanges": []
@@ -17052,6 +17517,15 @@
17052
17517
  "kind": "Content",
17053
17518
  "text": " | "
17054
17519
  },
17520
+ {
17521
+ "kind": "Reference",
17522
+ "text": "AuthoritativePutComponentMessage",
17523
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
17524
+ },
17525
+ {
17526
+ "kind": "Content",
17527
+ "text": " | "
17528
+ },
17055
17529
  {
17056
17530
  "kind": "Reference",
17057
17531
  "text": "DeleteComponentMessage",
@@ -17112,7 +17586,7 @@
17112
17586
  "name": "CrdtMessage",
17113
17587
  "typeTokenRange": {
17114
17588
  "startIndex": 1,
17115
- "endIndex": 14
17589
+ "endIndex": 16
17116
17590
  }
17117
17591
  },
17118
17592
  {
@@ -17133,6 +17607,15 @@
17133
17607
  "kind": "Content",
17134
17608
  "text": " | "
17135
17609
  },
17610
+ {
17611
+ "kind": "Reference",
17612
+ "text": "AuthoritativePutComponentMessageBody",
17613
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
17614
+ },
17615
+ {
17616
+ "kind": "Content",
17617
+ "text": " | "
17618
+ },
17136
17619
  {
17137
17620
  "kind": "Reference",
17138
17621
  "text": "DeleteComponentMessageBody",
@@ -17175,7 +17658,7 @@
17175
17658
  "name": "CrdtMessageBody",
17176
17659
  "typeTokenRange": {
17177
17660
  "startIndex": 1,
17178
- "endIndex": 10
17661
+ "endIndex": 12
17179
17662
  }
17180
17663
  },
17181
17664
  {
@@ -17465,6 +17948,27 @@
17465
17948
  "releaseTag": "Public",
17466
17949
  "name": "APPEND_VALUE"
17467
17950
  },
17951
+ {
17952
+ "kind": "EnumMember",
17953
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
17954
+ "docComment": "",
17955
+ "excerptTokens": [
17956
+ {
17957
+ "kind": "Content",
17958
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
17959
+ },
17960
+ {
17961
+ "kind": "Content",
17962
+ "text": "8"
17963
+ }
17964
+ ],
17965
+ "initializerTokenRange": {
17966
+ "startIndex": 1,
17967
+ "endIndex": 2
17968
+ },
17969
+ "releaseTag": "Public",
17970
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
17971
+ },
17468
17972
  {
17469
17973
  "kind": "EnumMember",
17470
17974
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -17560,7 +18064,7 @@
17560
18064
  },
17561
18065
  {
17562
18066
  "kind": "Content",
17563
- "text": "8"
18067
+ "text": "9"
17564
18068
  }
17565
18069
  ],
17566
18070
  "initializerTokenRange": {
@@ -17680,6 +18184,30 @@
17680
18184
  "endIndex": 6
17681
18185
  }
17682
18186
  },
18187
+ {
18188
+ "kind": "Variable",
18189
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
18190
+ "docComment": "",
18191
+ "excerptTokens": [
18192
+ {
18193
+ "kind": "Content",
18194
+ "text": "CreatedBy: "
18195
+ },
18196
+ {
18197
+ "kind": "Reference",
18198
+ "text": "ICreatedBy",
18199
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
18200
+ }
18201
+ ],
18202
+ "fileUrlPath": "../ecs/dist/index.d.ts",
18203
+ "isReadonly": true,
18204
+ "releaseTag": "Public",
18205
+ "name": "CreatedBy",
18206
+ "variableTypeTokenRange": {
18207
+ "startIndex": 1,
18208
+ "endIndex": 2
18209
+ }
18210
+ },
17683
18211
  {
17684
18212
  "kind": "Function",
17685
18213
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -23477,6 +24005,91 @@
23477
24005
  "endIndex": 9
23478
24006
  }
23479
24007
  },
24008
+ {
24009
+ "kind": "TypeAlias",
24010
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
24011
+ "docComment": "",
24012
+ "excerptTokens": [
24013
+ {
24014
+ "kind": "Content",
24015
+ "text": "export type ICreatedBy = "
24016
+ },
24017
+ {
24018
+ "kind": "Reference",
24019
+ "text": "LastWriteWinElementSetComponentDefinition",
24020
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
24021
+ },
24022
+ {
24023
+ "kind": "Content",
24024
+ "text": "<"
24025
+ },
24026
+ {
24027
+ "kind": "Reference",
24028
+ "text": "ICreatedByType",
24029
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
24030
+ },
24031
+ {
24032
+ "kind": "Content",
24033
+ "text": ">"
24034
+ },
24035
+ {
24036
+ "kind": "Content",
24037
+ "text": ";"
24038
+ }
24039
+ ],
24040
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24041
+ "releaseTag": "Public",
24042
+ "name": "ICreatedBy",
24043
+ "typeTokenRange": {
24044
+ "startIndex": 1,
24045
+ "endIndex": 5
24046
+ }
24047
+ },
24048
+ {
24049
+ "kind": "Interface",
24050
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
24051
+ "docComment": "",
24052
+ "excerptTokens": [
24053
+ {
24054
+ "kind": "Content",
24055
+ "text": "export interface ICreatedByType "
24056
+ }
24057
+ ],
24058
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24059
+ "releaseTag": "Public",
24060
+ "name": "ICreatedByType",
24061
+ "preserveMemberOrder": false,
24062
+ "members": [
24063
+ {
24064
+ "kind": "PropertySignature",
24065
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
24066
+ "docComment": "",
24067
+ "excerptTokens": [
24068
+ {
24069
+ "kind": "Content",
24070
+ "text": "address: "
24071
+ },
24072
+ {
24073
+ "kind": "Content",
24074
+ "text": "string"
24075
+ },
24076
+ {
24077
+ "kind": "Content",
24078
+ "text": ";"
24079
+ }
24080
+ ],
24081
+ "isReadonly": false,
24082
+ "isOptional": false,
24083
+ "releaseTag": "Public",
24084
+ "name": "address",
24085
+ "propertyTypeTokenRange": {
24086
+ "startIndex": 1,
24087
+ "endIndex": 2
24088
+ }
24089
+ }
24090
+ ],
24091
+ "extendsTokenRanges": []
24092
+ },
23480
24093
  {
23481
24094
  "kind": "Interface",
23482
24095
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -26650,6 +27263,342 @@
26650
27263
  }
26651
27264
  ]
26652
27265
  },
27266
+ {
27267
+ "kind": "Interface",
27268
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
27269
+ "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",
27270
+ "excerptTokens": [
27271
+ {
27272
+ "kind": "Content",
27273
+ "text": "export interface InternalBaseComponent<T> extends "
27274
+ },
27275
+ {
27276
+ "kind": "Reference",
27277
+ "text": "BaseComponent",
27278
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
27279
+ },
27280
+ {
27281
+ "kind": "Content",
27282
+ "text": "<T>"
27283
+ },
27284
+ {
27285
+ "kind": "Content",
27286
+ "text": " "
27287
+ }
27288
+ ],
27289
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
27290
+ "releaseTag": "Public",
27291
+ "typeParameters": [
27292
+ {
27293
+ "typeParameterName": "T",
27294
+ "constraintTokenRange": {
27295
+ "startIndex": 0,
27296
+ "endIndex": 0
27297
+ },
27298
+ "defaultTypeTokenRange": {
27299
+ "startIndex": 0,
27300
+ "endIndex": 0
27301
+ }
27302
+ }
27303
+ ],
27304
+ "name": "InternalBaseComponent",
27305
+ "preserveMemberOrder": false,
27306
+ "members": [
27307
+ {
27308
+ "kind": "MethodSignature",
27309
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
27310
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
27311
+ "excerptTokens": [
27312
+ {
27313
+ "kind": "Content",
27314
+ "text": "__dry_run_updateFromCrdt(body: "
27315
+ },
27316
+ {
27317
+ "kind": "Reference",
27318
+ "text": "CrdtMessageBody",
27319
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
27320
+ },
27321
+ {
27322
+ "kind": "Content",
27323
+ "text": "): "
27324
+ },
27325
+ {
27326
+ "kind": "Reference",
27327
+ "text": "ProcessMessageResultType",
27328
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
27329
+ },
27330
+ {
27331
+ "kind": "Content",
27332
+ "text": ";"
27333
+ }
27334
+ ],
27335
+ "isOptional": false,
27336
+ "returnTypeTokenRange": {
27337
+ "startIndex": 3,
27338
+ "endIndex": 4
27339
+ },
27340
+ "releaseTag": "Public",
27341
+ "overloadIndex": 1,
27342
+ "parameters": [
27343
+ {
27344
+ "parameterName": "body",
27345
+ "parameterTypeTokenRange": {
27346
+ "startIndex": 1,
27347
+ "endIndex": 2
27348
+ },
27349
+ "isOptional": false
27350
+ }
27351
+ ],
27352
+ "name": "__dry_run_updateFromCrdt"
27353
+ },
27354
+ {
27355
+ "kind": "MethodSignature",
27356
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
27357
+ "docComment": "/**\n * @public\n */\n",
27358
+ "excerptTokens": [
27359
+ {
27360
+ "kind": "Content",
27361
+ "text": "__onChangeCallbacks(entity: "
27362
+ },
27363
+ {
27364
+ "kind": "Reference",
27365
+ "text": "Entity",
27366
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27367
+ },
27368
+ {
27369
+ "kind": "Content",
27370
+ "text": ", value: "
27371
+ },
27372
+ {
27373
+ "kind": "Content",
27374
+ "text": "T"
27375
+ },
27376
+ {
27377
+ "kind": "Content",
27378
+ "text": "): "
27379
+ },
27380
+ {
27381
+ "kind": "Content",
27382
+ "text": "void"
27383
+ },
27384
+ {
27385
+ "kind": "Content",
27386
+ "text": ";"
27387
+ }
27388
+ ],
27389
+ "isOptional": false,
27390
+ "returnTypeTokenRange": {
27391
+ "startIndex": 5,
27392
+ "endIndex": 6
27393
+ },
27394
+ "releaseTag": "Public",
27395
+ "overloadIndex": 1,
27396
+ "parameters": [
27397
+ {
27398
+ "parameterName": "entity",
27399
+ "parameterTypeTokenRange": {
27400
+ "startIndex": 1,
27401
+ "endIndex": 2
27402
+ },
27403
+ "isOptional": false
27404
+ },
27405
+ {
27406
+ "parameterName": "value",
27407
+ "parameterTypeTokenRange": {
27408
+ "startIndex": 3,
27409
+ "endIndex": 4
27410
+ },
27411
+ "isOptional": false
27412
+ }
27413
+ ],
27414
+ "name": "__onChangeCallbacks"
27415
+ },
27416
+ {
27417
+ "kind": "MethodSignature",
27418
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
27419
+ "docComment": "/**\n * @public\n */\n",
27420
+ "excerptTokens": [
27421
+ {
27422
+ "kind": "Content",
27423
+ "text": "__run_validateBeforeChange(entity: "
27424
+ },
27425
+ {
27426
+ "kind": "Reference",
27427
+ "text": "Entity",
27428
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27429
+ },
27430
+ {
27431
+ "kind": "Content",
27432
+ "text": ", newValue: "
27433
+ },
27434
+ {
27435
+ "kind": "Content",
27436
+ "text": "T | undefined"
27437
+ },
27438
+ {
27439
+ "kind": "Content",
27440
+ "text": ", senderAddress: "
27441
+ },
27442
+ {
27443
+ "kind": "Content",
27444
+ "text": "string"
27445
+ },
27446
+ {
27447
+ "kind": "Content",
27448
+ "text": ", createdBy: "
27449
+ },
27450
+ {
27451
+ "kind": "Content",
27452
+ "text": "string"
27453
+ },
27454
+ {
27455
+ "kind": "Content",
27456
+ "text": "): "
27457
+ },
27458
+ {
27459
+ "kind": "Content",
27460
+ "text": "boolean"
27461
+ },
27462
+ {
27463
+ "kind": "Content",
27464
+ "text": ";"
27465
+ }
27466
+ ],
27467
+ "isOptional": false,
27468
+ "returnTypeTokenRange": {
27469
+ "startIndex": 9,
27470
+ "endIndex": 10
27471
+ },
27472
+ "releaseTag": "Public",
27473
+ "overloadIndex": 1,
27474
+ "parameters": [
27475
+ {
27476
+ "parameterName": "entity",
27477
+ "parameterTypeTokenRange": {
27478
+ "startIndex": 1,
27479
+ "endIndex": 2
27480
+ },
27481
+ "isOptional": false
27482
+ },
27483
+ {
27484
+ "parameterName": "newValue",
27485
+ "parameterTypeTokenRange": {
27486
+ "startIndex": 3,
27487
+ "endIndex": 4
27488
+ },
27489
+ "isOptional": false
27490
+ },
27491
+ {
27492
+ "parameterName": "senderAddress",
27493
+ "parameterTypeTokenRange": {
27494
+ "startIndex": 5,
27495
+ "endIndex": 6
27496
+ },
27497
+ "isOptional": false
27498
+ },
27499
+ {
27500
+ "parameterName": "createdBy",
27501
+ "parameterTypeTokenRange": {
27502
+ "startIndex": 7,
27503
+ "endIndex": 8
27504
+ },
27505
+ "isOptional": false
27506
+ }
27507
+ ],
27508
+ "name": "__run_validateBeforeChange"
27509
+ },
27510
+ {
27511
+ "kind": "MethodSignature",
27512
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
27513
+ "docComment": "/**\n * @public\n */\n",
27514
+ "excerptTokens": [
27515
+ {
27516
+ "kind": "Content",
27517
+ "text": "dirtyIterator(): "
27518
+ },
27519
+ {
27520
+ "kind": "Reference",
27521
+ "text": "Iterable",
27522
+ "canonicalReference": "!Iterable:interface"
27523
+ },
27524
+ {
27525
+ "kind": "Content",
27526
+ "text": "<"
27527
+ },
27528
+ {
27529
+ "kind": "Reference",
27530
+ "text": "Entity",
27531
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27532
+ },
27533
+ {
27534
+ "kind": "Content",
27535
+ "text": ">"
27536
+ },
27537
+ {
27538
+ "kind": "Content",
27539
+ "text": ";"
27540
+ }
27541
+ ],
27542
+ "isOptional": false,
27543
+ "returnTypeTokenRange": {
27544
+ "startIndex": 1,
27545
+ "endIndex": 5
27546
+ },
27547
+ "releaseTag": "Public",
27548
+ "overloadIndex": 1,
27549
+ "parameters": [],
27550
+ "name": "dirtyIterator"
27551
+ },
27552
+ {
27553
+ "kind": "MethodSignature",
27554
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
27555
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
27556
+ "excerptTokens": [
27557
+ {
27558
+ "kind": "Content",
27559
+ "text": "iterator(): "
27560
+ },
27561
+ {
27562
+ "kind": "Reference",
27563
+ "text": "Iterable",
27564
+ "canonicalReference": "!Iterable:interface"
27565
+ },
27566
+ {
27567
+ "kind": "Content",
27568
+ "text": "<["
27569
+ },
27570
+ {
27571
+ "kind": "Reference",
27572
+ "text": "Entity",
27573
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
27574
+ },
27575
+ {
27576
+ "kind": "Content",
27577
+ "text": ", any]>"
27578
+ },
27579
+ {
27580
+ "kind": "Content",
27581
+ "text": ";"
27582
+ }
27583
+ ],
27584
+ "isOptional": false,
27585
+ "returnTypeTokenRange": {
27586
+ "startIndex": 1,
27587
+ "endIndex": 5
27588
+ },
27589
+ "releaseTag": "Public",
27590
+ "overloadIndex": 1,
27591
+ "parameters": [],
27592
+ "name": "iterator"
27593
+ }
27594
+ ],
27595
+ "extendsTokenRanges": [
27596
+ {
27597
+ "startIndex": 1,
27598
+ "endIndex": 3
27599
+ }
27600
+ ]
27601
+ },
26653
27602
  {
26654
27603
  "kind": "Interface",
26655
27604
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -93398,6 +94347,54 @@
93398
94347
  "endIndex": 2
93399
94348
  }
93400
94349
  },
94350
+ {
94351
+ "kind": "TypeAlias",
94352
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
94353
+ "docComment": "",
94354
+ "excerptTokens": [
94355
+ {
94356
+ "kind": "Content",
94357
+ "text": "export type ValidateCallback<T> = "
94358
+ },
94359
+ {
94360
+ "kind": "Content",
94361
+ "text": "(value: {\n entity: "
94362
+ },
94363
+ {
94364
+ "kind": "Reference",
94365
+ "text": "Entity",
94366
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
94367
+ },
94368
+ {
94369
+ "kind": "Content",
94370
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
94371
+ },
94372
+ {
94373
+ "kind": "Content",
94374
+ "text": ";"
94375
+ }
94376
+ ],
94377
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
94378
+ "releaseTag": "Public",
94379
+ "name": "ValidateCallback",
94380
+ "typeParameters": [
94381
+ {
94382
+ "typeParameterName": "T",
94383
+ "constraintTokenRange": {
94384
+ "startIndex": 0,
94385
+ "endIndex": 0
94386
+ },
94387
+ "defaultTypeTokenRange": {
94388
+ "startIndex": 0,
94389
+ "endIndex": 0
94390
+ }
94391
+ }
94392
+ ],
94393
+ "typeTokenRange": {
94394
+ "startIndex": 1,
94395
+ "endIndex": 4
94396
+ }
94397
+ },
93401
94398
  {
93402
94399
  "kind": "TypeAlias",
93403
94400
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",