@dcl/playground-assets 7.1.4-4601317654.commit-d2ae6e4 → 7.1.4-4619170473.commit-d3a4f9f
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.
- package/dist/alpha.d.ts +30 -10
- package/dist/beta.d.ts +30 -10
- package/dist/index.bundled.d.ts +30 -10
- package/dist/index.js +8 -8
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +30 -10
- package/etc/playground-assets.api.json +167 -46
- package/etc/playground-assets.api.md +19 -10
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.1.4-
|
|
4
|
+
"version": "7.1.4-4619170473.commit-d3a4f9f",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"typings": "./index.d.ts",
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "d3a4f9fa3cc56da6c69ae2b8f52250cc11f4b96a"
|
|
34
34
|
}
|
|
@@ -1178,17 +1178,19 @@ export declare type Composite = CompositeDefinition;
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
export declare namespace Composite {
|
|
1180
1180
|
/** @public */
|
|
1181
|
-
export type
|
|
1181
|
+
export type Definition = CompositeDefinition;
|
|
1182
|
+
/** @public */
|
|
1183
|
+
export type Resource = CompositeResource;
|
|
1182
1184
|
/** @public */
|
|
1183
1185
|
export type Provider = CompositeProvider;
|
|
1184
1186
|
/** @public */
|
|
1185
|
-
export function fromJson(object: any): Composite.
|
|
1187
|
+
export function fromJson(object: any): Composite.Definition;
|
|
1186
1188
|
/** @public */
|
|
1187
|
-
export function fromBinary(buffer: Uint8Array): Composite.
|
|
1189
|
+
export function fromBinary(buffer: Uint8Array): Composite.Definition;
|
|
1188
1190
|
/** @public */
|
|
1189
|
-
export function toJson(composite: Composite.
|
|
1191
|
+
export function toJson(composite: Composite.Definition): any;
|
|
1190
1192
|
/** @public */
|
|
1191
|
-
export function toBinary(composite: Composite.
|
|
1193
|
+
export function toBinary(composite: Composite.Definition): Uint8Array;
|
|
1192
1194
|
/**
|
|
1193
1195
|
* Instance a composite and returns its root entity
|
|
1194
1196
|
* @param compositeData - state serialized by the CRDT protocol
|
|
@@ -1197,7 +1199,16 @@ export declare namespace Composite {
|
|
|
1197
1199
|
*
|
|
1198
1200
|
* @public
|
|
1199
1201
|
*/
|
|
1200
|
-
export function instance(engine: IEngine, compositeData: Composite.
|
|
1202
|
+
export function instance(engine: IEngine, compositeData: Composite.Resource, compositeProvider: CompositeProvider, options?: InstanceCompositeOptions): void;
|
|
1203
|
+
/**
|
|
1204
|
+
* Resolve and normalize a composite path
|
|
1205
|
+
* @param src - the source path
|
|
1206
|
+
* @param cwd - the directory from the resolve should start to resolve
|
|
1207
|
+
*
|
|
1208
|
+
* @returns the absolute resolved path without slash at the beginning
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
export function resolveAndNormalizePath(src: string, cwd?: string): string;
|
|
1201
1212
|
}
|
|
1202
1213
|
|
|
1203
1214
|
/**
|
|
@@ -1221,15 +1232,24 @@ export declare interface CompositeComponent_DataEntry {
|
|
|
1221
1232
|
* @public
|
|
1222
1233
|
*/
|
|
1223
1234
|
export declare interface CompositeDefinition {
|
|
1224
|
-
|
|
1235
|
+
version: number;
|
|
1225
1236
|
components: CompositeComponent[];
|
|
1226
1237
|
}
|
|
1227
1238
|
|
|
1228
1239
|
/**
|
|
1240
|
+
* @param src - the source path of the composite
|
|
1229
1241
|
* @public
|
|
1230
1242
|
*/
|
|
1231
1243
|
export declare type CompositeProvider = {
|
|
1232
|
-
getCompositeOrNull(
|
|
1244
|
+
getCompositeOrNull(src: string): CompositeResource | null;
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
export declare type CompositeResource = {
|
|
1251
|
+
src: string;
|
|
1252
|
+
composite: CompositeDefinition;
|
|
1233
1253
|
};
|
|
1234
1254
|
|
|
1235
1255
|
/**
|
|
@@ -1237,7 +1257,7 @@ export declare type CompositeProvider = {
|
|
|
1237
1257
|
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1238
1258
|
*/
|
|
1239
1259
|
export declare type CompositeRootType = {
|
|
1240
|
-
|
|
1260
|
+
src: string;
|
|
1241
1261
|
entities: {
|
|
1242
1262
|
src: Entity;
|
|
1243
1263
|
dest: Entity;
|
|
@@ -2108,7 +2128,7 @@ export declare type InstanceCompositeOptions = {
|
|
|
2108
2128
|
getCompositeEntity: (compositeEntity: Entity | number) => Entity;
|
|
2109
2129
|
};
|
|
2110
2130
|
rootEntity?: Entity;
|
|
2111
|
-
|
|
2131
|
+
alreadyRequestedSrc?: Set<string>;
|
|
2112
2132
|
};
|
|
2113
2133
|
|
|
2114
2134
|
/**
|
|
@@ -11194,6 +11194,32 @@
|
|
|
11194
11194
|
"name": "Composite",
|
|
11195
11195
|
"preserveMemberOrder": false,
|
|
11196
11196
|
"members": [
|
|
11197
|
+
{
|
|
11198
|
+
"kind": "TypeAlias",
|
|
11199
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Definition:type",
|
|
11200
|
+
"docComment": "/**\n * @public\n */\n",
|
|
11201
|
+
"excerptTokens": [
|
|
11202
|
+
{
|
|
11203
|
+
"kind": "Content",
|
|
11204
|
+
"text": "type Definition = "
|
|
11205
|
+
},
|
|
11206
|
+
{
|
|
11207
|
+
"kind": "Reference",
|
|
11208
|
+
"text": "CompositeDefinition",
|
|
11209
|
+
"canonicalReference": "@dcl/playground-assets!CompositeDefinition:interface"
|
|
11210
|
+
},
|
|
11211
|
+
{
|
|
11212
|
+
"kind": "Content",
|
|
11213
|
+
"text": ";"
|
|
11214
|
+
}
|
|
11215
|
+
],
|
|
11216
|
+
"releaseTag": "Public",
|
|
11217
|
+
"name": "Definition",
|
|
11218
|
+
"typeTokenRange": {
|
|
11219
|
+
"startIndex": 1,
|
|
11220
|
+
"endIndex": 2
|
|
11221
|
+
}
|
|
11222
|
+
},
|
|
11197
11223
|
{
|
|
11198
11224
|
"kind": "Function",
|
|
11199
11225
|
"canonicalReference": "@dcl/playground-assets!Composite.fromBinary:function(1)",
|
|
@@ -11214,8 +11240,8 @@
|
|
|
11214
11240
|
},
|
|
11215
11241
|
{
|
|
11216
11242
|
"kind": "Reference",
|
|
11217
|
-
"text": "Composite.
|
|
11218
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11243
|
+
"text": "Composite.Definition",
|
|
11244
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Definition:type"
|
|
11219
11245
|
},
|
|
11220
11246
|
{
|
|
11221
11247
|
"kind": "Content",
|
|
@@ -11259,8 +11285,8 @@
|
|
|
11259
11285
|
},
|
|
11260
11286
|
{
|
|
11261
11287
|
"kind": "Reference",
|
|
11262
|
-
"text": "Composite.
|
|
11263
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11288
|
+
"text": "Composite.Definition",
|
|
11289
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Definition:type"
|
|
11264
11290
|
},
|
|
11265
11291
|
{
|
|
11266
11292
|
"kind": "Content",
|
|
@@ -11305,8 +11331,8 @@
|
|
|
11305
11331
|
},
|
|
11306
11332
|
{
|
|
11307
11333
|
"kind": "Reference",
|
|
11308
|
-
"text": "Composite.
|
|
11309
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11334
|
+
"text": "Composite.Resource",
|
|
11335
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Resource:type"
|
|
11310
11336
|
},
|
|
11311
11337
|
{
|
|
11312
11338
|
"kind": "Content",
|
|
@@ -11409,26 +11435,32 @@
|
|
|
11409
11435
|
},
|
|
11410
11436
|
{
|
|
11411
11437
|
"kind": "Function",
|
|
11412
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11413
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11438
|
+
"canonicalReference": "@dcl/playground-assets!Composite.resolveAndNormalizePath:function(1)",
|
|
11439
|
+
"docComment": "/**\n * Resolve and normalize a composite path\n *\n * @param src - the source path\n *\n * @param cwd - the directory from the resolve should start to resolve\n *\n * @returns the absolute resolved path without slash at the beginning\n *\n * @public\n */\n",
|
|
11414
11440
|
"excerptTokens": [
|
|
11415
11441
|
{
|
|
11416
11442
|
"kind": "Content",
|
|
11417
|
-
"text": "function
|
|
11443
|
+
"text": "function resolveAndNormalizePath(src: "
|
|
11418
11444
|
},
|
|
11419
11445
|
{
|
|
11420
|
-
"kind": "
|
|
11421
|
-
"text": "
|
|
11422
|
-
|
|
11446
|
+
"kind": "Content",
|
|
11447
|
+
"text": "string"
|
|
11448
|
+
},
|
|
11449
|
+
{
|
|
11450
|
+
"kind": "Content",
|
|
11451
|
+
"text": ", cwd?: "
|
|
11452
|
+
},
|
|
11453
|
+
{
|
|
11454
|
+
"kind": "Content",
|
|
11455
|
+
"text": "string"
|
|
11423
11456
|
},
|
|
11424
11457
|
{
|
|
11425
11458
|
"kind": "Content",
|
|
11426
11459
|
"text": "): "
|
|
11427
11460
|
},
|
|
11428
11461
|
{
|
|
11429
|
-
"kind": "
|
|
11430
|
-
"text": "
|
|
11431
|
-
"canonicalReference": "!Uint8Array:interface"
|
|
11462
|
+
"kind": "Content",
|
|
11463
|
+
"text": "string"
|
|
11432
11464
|
},
|
|
11433
11465
|
{
|
|
11434
11466
|
"kind": "Content",
|
|
@@ -11436,44 +11468,79 @@
|
|
|
11436
11468
|
}
|
|
11437
11469
|
],
|
|
11438
11470
|
"returnTypeTokenRange": {
|
|
11439
|
-
"startIndex":
|
|
11440
|
-
"endIndex":
|
|
11471
|
+
"startIndex": 5,
|
|
11472
|
+
"endIndex": 6
|
|
11441
11473
|
},
|
|
11442
11474
|
"releaseTag": "Public",
|
|
11443
11475
|
"overloadIndex": 1,
|
|
11444
11476
|
"parameters": [
|
|
11445
11477
|
{
|
|
11446
|
-
"parameterName": "
|
|
11478
|
+
"parameterName": "src",
|
|
11447
11479
|
"parameterTypeTokenRange": {
|
|
11448
11480
|
"startIndex": 1,
|
|
11449
11481
|
"endIndex": 2
|
|
11450
11482
|
},
|
|
11451
11483
|
"isOptional": false
|
|
11484
|
+
},
|
|
11485
|
+
{
|
|
11486
|
+
"parameterName": "cwd",
|
|
11487
|
+
"parameterTypeTokenRange": {
|
|
11488
|
+
"startIndex": 3,
|
|
11489
|
+
"endIndex": 4
|
|
11490
|
+
},
|
|
11491
|
+
"isOptional": true
|
|
11452
11492
|
}
|
|
11453
11493
|
],
|
|
11454
|
-
"name": "
|
|
11494
|
+
"name": "resolveAndNormalizePath"
|
|
11495
|
+
},
|
|
11496
|
+
{
|
|
11497
|
+
"kind": "TypeAlias",
|
|
11498
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Resource:type",
|
|
11499
|
+
"docComment": "/**\n * @public\n */\n",
|
|
11500
|
+
"excerptTokens": [
|
|
11501
|
+
{
|
|
11502
|
+
"kind": "Content",
|
|
11503
|
+
"text": "type Resource = "
|
|
11504
|
+
},
|
|
11505
|
+
{
|
|
11506
|
+
"kind": "Reference",
|
|
11507
|
+
"text": "CompositeResource",
|
|
11508
|
+
"canonicalReference": "@dcl/playground-assets!CompositeResource:type"
|
|
11509
|
+
},
|
|
11510
|
+
{
|
|
11511
|
+
"kind": "Content",
|
|
11512
|
+
"text": ";"
|
|
11513
|
+
}
|
|
11514
|
+
],
|
|
11515
|
+
"releaseTag": "Public",
|
|
11516
|
+
"name": "Resource",
|
|
11517
|
+
"typeTokenRange": {
|
|
11518
|
+
"startIndex": 1,
|
|
11519
|
+
"endIndex": 2
|
|
11520
|
+
}
|
|
11455
11521
|
},
|
|
11456
11522
|
{
|
|
11457
11523
|
"kind": "Function",
|
|
11458
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11524
|
+
"canonicalReference": "@dcl/playground-assets!Composite.toBinary:function(1)",
|
|
11459
11525
|
"docComment": "/**\n * @public\n */\n",
|
|
11460
11526
|
"excerptTokens": [
|
|
11461
11527
|
{
|
|
11462
11528
|
"kind": "Content",
|
|
11463
|
-
"text": "function
|
|
11529
|
+
"text": "function toBinary(composite: "
|
|
11464
11530
|
},
|
|
11465
11531
|
{
|
|
11466
11532
|
"kind": "Reference",
|
|
11467
|
-
"text": "Composite.
|
|
11468
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11533
|
+
"text": "Composite.Definition",
|
|
11534
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Definition:type"
|
|
11469
11535
|
},
|
|
11470
11536
|
{
|
|
11471
11537
|
"kind": "Content",
|
|
11472
11538
|
"text": "): "
|
|
11473
11539
|
},
|
|
11474
11540
|
{
|
|
11475
|
-
"kind": "
|
|
11476
|
-
"text": "
|
|
11541
|
+
"kind": "Reference",
|
|
11542
|
+
"text": "Uint8Array",
|
|
11543
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
11477
11544
|
},
|
|
11478
11545
|
{
|
|
11479
11546
|
"kind": "Content",
|
|
@@ -11496,33 +11563,52 @@
|
|
|
11496
11563
|
"isOptional": false
|
|
11497
11564
|
}
|
|
11498
11565
|
],
|
|
11499
|
-
"name": "
|
|
11566
|
+
"name": "toBinary"
|
|
11500
11567
|
},
|
|
11501
11568
|
{
|
|
11502
|
-
"kind": "
|
|
11503
|
-
"canonicalReference": "@dcl/playground-assets!Composite.
|
|
11569
|
+
"kind": "Function",
|
|
11570
|
+
"canonicalReference": "@dcl/playground-assets!Composite.toJson:function(1)",
|
|
11504
11571
|
"docComment": "/**\n * @public\n */\n",
|
|
11505
11572
|
"excerptTokens": [
|
|
11506
11573
|
{
|
|
11507
11574
|
"kind": "Content",
|
|
11508
|
-
"text": "
|
|
11575
|
+
"text": "function toJson(composite: "
|
|
11509
11576
|
},
|
|
11510
11577
|
{
|
|
11511
11578
|
"kind": "Reference",
|
|
11512
|
-
"text": "
|
|
11513
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
11579
|
+
"text": "Composite.Definition",
|
|
11580
|
+
"canonicalReference": "@dcl/playground-assets!Composite.Definition:type"
|
|
11581
|
+
},
|
|
11582
|
+
{
|
|
11583
|
+
"kind": "Content",
|
|
11584
|
+
"text": "): "
|
|
11585
|
+
},
|
|
11586
|
+
{
|
|
11587
|
+
"kind": "Content",
|
|
11588
|
+
"text": "any"
|
|
11514
11589
|
},
|
|
11515
11590
|
{
|
|
11516
11591
|
"kind": "Content",
|
|
11517
11592
|
"text": ";"
|
|
11518
11593
|
}
|
|
11519
11594
|
],
|
|
11595
|
+
"returnTypeTokenRange": {
|
|
11596
|
+
"startIndex": 3,
|
|
11597
|
+
"endIndex": 4
|
|
11598
|
+
},
|
|
11520
11599
|
"releaseTag": "Public",
|
|
11521
|
-
"
|
|
11522
|
-
"
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11600
|
+
"overloadIndex": 1,
|
|
11601
|
+
"parameters": [
|
|
11602
|
+
{
|
|
11603
|
+
"parameterName": "composite",
|
|
11604
|
+
"parameterTypeTokenRange": {
|
|
11605
|
+
"startIndex": 1,
|
|
11606
|
+
"endIndex": 2
|
|
11607
|
+
},
|
|
11608
|
+
"isOptional": false
|
|
11609
|
+
}
|
|
11610
|
+
],
|
|
11611
|
+
"name": "toJson"
|
|
11526
11612
|
}
|
|
11527
11613
|
]
|
|
11528
11614
|
},
|
|
@@ -11792,16 +11878,16 @@
|
|
|
11792
11878
|
},
|
|
11793
11879
|
{
|
|
11794
11880
|
"kind": "PropertySignature",
|
|
11795
|
-
"canonicalReference": "@dcl/playground-assets!CompositeDefinition#
|
|
11881
|
+
"canonicalReference": "@dcl/playground-assets!CompositeDefinition#version:member",
|
|
11796
11882
|
"docComment": "",
|
|
11797
11883
|
"excerptTokens": [
|
|
11798
11884
|
{
|
|
11799
11885
|
"kind": "Content",
|
|
11800
|
-
"text": "
|
|
11886
|
+
"text": "version: "
|
|
11801
11887
|
},
|
|
11802
11888
|
{
|
|
11803
11889
|
"kind": "Content",
|
|
11804
|
-
"text": "
|
|
11890
|
+
"text": "number"
|
|
11805
11891
|
},
|
|
11806
11892
|
{
|
|
11807
11893
|
"kind": "Content",
|
|
@@ -11811,7 +11897,7 @@
|
|
|
11811
11897
|
"isReadonly": false,
|
|
11812
11898
|
"isOptional": false,
|
|
11813
11899
|
"releaseTag": "Public",
|
|
11814
|
-
"name": "
|
|
11900
|
+
"name": "version",
|
|
11815
11901
|
"propertyTypeTokenRange": {
|
|
11816
11902
|
"startIndex": 1,
|
|
11817
11903
|
"endIndex": 2
|
|
@@ -11823,7 +11909,7 @@
|
|
|
11823
11909
|
{
|
|
11824
11910
|
"kind": "TypeAlias",
|
|
11825
11911
|
"canonicalReference": "@dcl/playground-assets!CompositeProvider:type",
|
|
11826
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11912
|
+
"docComment": "/**\n * @param src - the source path of the composite\n *\n * @public\n */\n",
|
|
11827
11913
|
"excerptTokens": [
|
|
11828
11914
|
{
|
|
11829
11915
|
"kind": "Content",
|
|
@@ -11831,12 +11917,12 @@
|
|
|
11831
11917
|
},
|
|
11832
11918
|
{
|
|
11833
11919
|
"kind": "Content",
|
|
11834
|
-
"text": "{\n getCompositeOrNull(
|
|
11920
|
+
"text": "{\n getCompositeOrNull(src: string): "
|
|
11835
11921
|
},
|
|
11836
11922
|
{
|
|
11837
11923
|
"kind": "Reference",
|
|
11838
|
-
"text": "
|
|
11839
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
11924
|
+
"text": "CompositeResource",
|
|
11925
|
+
"canonicalReference": "@dcl/playground-assets!CompositeResource:type"
|
|
11840
11926
|
},
|
|
11841
11927
|
{
|
|
11842
11928
|
"kind": "Content",
|
|
@@ -11855,6 +11941,41 @@
|
|
|
11855
11941
|
"endIndex": 4
|
|
11856
11942
|
}
|
|
11857
11943
|
},
|
|
11944
|
+
{
|
|
11945
|
+
"kind": "TypeAlias",
|
|
11946
|
+
"canonicalReference": "@dcl/playground-assets!CompositeResource:type",
|
|
11947
|
+
"docComment": "/**\n * @public\n */\n",
|
|
11948
|
+
"excerptTokens": [
|
|
11949
|
+
{
|
|
11950
|
+
"kind": "Content",
|
|
11951
|
+
"text": "export type CompositeResource = "
|
|
11952
|
+
},
|
|
11953
|
+
{
|
|
11954
|
+
"kind": "Content",
|
|
11955
|
+
"text": "{\n src: string;\n composite: "
|
|
11956
|
+
},
|
|
11957
|
+
{
|
|
11958
|
+
"kind": "Reference",
|
|
11959
|
+
"text": "CompositeDefinition",
|
|
11960
|
+
"canonicalReference": "@dcl/playground-assets!CompositeDefinition:interface"
|
|
11961
|
+
},
|
|
11962
|
+
{
|
|
11963
|
+
"kind": "Content",
|
|
11964
|
+
"text": ";\n}"
|
|
11965
|
+
},
|
|
11966
|
+
{
|
|
11967
|
+
"kind": "Content",
|
|
11968
|
+
"text": ";"
|
|
11969
|
+
}
|
|
11970
|
+
],
|
|
11971
|
+
"fileUrlPath": "../ecs/dist/composite/instance.d.ts",
|
|
11972
|
+
"releaseTag": "Public",
|
|
11973
|
+
"name": "CompositeResource",
|
|
11974
|
+
"typeTokenRange": {
|
|
11975
|
+
"startIndex": 1,
|
|
11976
|
+
"endIndex": 4
|
|
11977
|
+
}
|
|
11978
|
+
},
|
|
11858
11979
|
{
|
|
11859
11980
|
"kind": "TypeAlias",
|
|
11860
11981
|
"canonicalReference": "@dcl/playground-assets!CompositeRootType:type",
|
|
@@ -11866,7 +11987,7 @@
|
|
|
11866
11987
|
},
|
|
11867
11988
|
{
|
|
11868
11989
|
"kind": "Content",
|
|
11869
|
-
"text": "{\n
|
|
11990
|
+
"text": "{\n src: string;\n entities: {\n src: "
|
|
11870
11991
|
},
|
|
11871
11992
|
{
|
|
11872
11993
|
"kind": "Reference",
|
|
@@ -18209,7 +18330,7 @@
|
|
|
18209
18330
|
},
|
|
18210
18331
|
{
|
|
18211
18332
|
"kind": "Content",
|
|
18212
|
-
"text": ";\n
|
|
18333
|
+
"text": ";\n alreadyRequestedSrc?: "
|
|
18213
18334
|
},
|
|
18214
18335
|
{
|
|
18215
18336
|
"kind": "Reference",
|
|
@@ -520,18 +520,21 @@ export type Composite = CompositeDefinition;
|
|
|
520
520
|
// @public @deprecated (undocumented)
|
|
521
521
|
export namespace Composite {
|
|
522
522
|
// (undocumented)
|
|
523
|
-
export
|
|
523
|
+
export type Definition = CompositeDefinition;
|
|
524
524
|
// (undocumented)
|
|
525
|
-
export function
|
|
526
|
-
|
|
525
|
+
export function fromBinary(buffer: Uint8Array): Composite.Definition;
|
|
526
|
+
// (undocumented)
|
|
527
|
+
export function fromJson(object: any): Composite.Definition;
|
|
528
|
+
export function instance(engine: IEngine, compositeData: Composite.Resource, compositeProvider: CompositeProvider, options?: InstanceCompositeOptions): void;
|
|
527
529
|
// (undocumented)
|
|
528
530
|
export type Provider = CompositeProvider;
|
|
531
|
+
export function resolveAndNormalizePath(src: string, cwd?: string): string;
|
|
529
532
|
// (undocumented)
|
|
530
|
-
export
|
|
533
|
+
export type Resource = CompositeResource;
|
|
531
534
|
// (undocumented)
|
|
532
|
-
export function
|
|
535
|
+
export function toBinary(composite: Composite.Definition): Uint8Array;
|
|
533
536
|
// (undocumented)
|
|
534
|
-
export
|
|
537
|
+
export function toJson(composite: Composite.Definition): any;
|
|
535
538
|
}
|
|
536
539
|
|
|
537
540
|
// @public (undocumented)
|
|
@@ -557,17 +560,23 @@ export interface CompositeDefinition {
|
|
|
557
560
|
// (undocumented)
|
|
558
561
|
components: CompositeComponent[];
|
|
559
562
|
// (undocumented)
|
|
560
|
-
|
|
563
|
+
version: number;
|
|
561
564
|
}
|
|
562
565
|
|
|
563
566
|
// @public (undocumented)
|
|
564
567
|
export type CompositeProvider = {
|
|
565
|
-
getCompositeOrNull(
|
|
568
|
+
getCompositeOrNull(src: string): CompositeResource | null;
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
// @public (undocumented)
|
|
572
|
+
export type CompositeResource = {
|
|
573
|
+
src: string;
|
|
574
|
+
composite: CompositeDefinition;
|
|
566
575
|
};
|
|
567
576
|
|
|
568
577
|
// @public @deprecated (undocumented)
|
|
569
578
|
export type CompositeRootType = {
|
|
570
|
-
|
|
579
|
+
src: string;
|
|
571
580
|
entities: {
|
|
572
581
|
src: Entity;
|
|
573
582
|
dest: Entity;
|
|
@@ -1198,7 +1207,7 @@ export type InstanceCompositeOptions = {
|
|
|
1198
1207
|
getCompositeEntity: (compositeEntity: Entity | number) => Entity;
|
|
1199
1208
|
};
|
|
1200
1209
|
rootEntity?: Entity;
|
|
1201
|
-
|
|
1210
|
+
alreadyRequestedSrc?: Set<string>;
|
|
1202
1211
|
};
|
|
1203
1212
|
|
|
1204
1213
|
// @public (undocumented)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.1.4-
|
|
4
|
+
"version": "7.1.4-4619170473.commit-d3a4f9f",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.1.4-
|
|
8
|
-
"@dcl/sdk": "7.1.4-
|
|
7
|
+
"@dcl/js-runtime": "7.1.4-4619170473.commit-d3a4f9f",
|
|
8
|
+
"@dcl/sdk": "7.1.4-4619170473.commit-d3a4f9f"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
30
|
"typings": "./dist/index.d.ts",
|
|
31
|
-
"commit": "
|
|
31
|
+
"commit": "d3a4f9fa3cc56da6c69ae2b8f52250cc11f4b96a"
|
|
32
32
|
}
|