@dcl/playground-assets 7.1.3-4440802627.commit-29bc3e6 → 7.1.3-4450496932.commit-c36d51e
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 +33 -10
- package/dist/beta.d.ts +33 -10
- package/dist/index.bundled.d.ts +33 -10
- package/dist/index.js +718 -57
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +33 -10
- package/etc/playground-assets.api.json +344 -29
- package/etc/playground-assets.api.md +45 -10
- package/package.json +3 -3
package/dist/alpha.d.ts
CHANGED
|
@@ -1080,6 +1080,19 @@ export declare type Color4Type = {
|
|
|
1080
1080
|
a: number;
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export declare interface ComponentData {
|
|
1087
|
+
data?: {
|
|
1088
|
+
$case: "json";
|
|
1089
|
+
json: any | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
$case: "binary";
|
|
1092
|
+
binary: Uint8Array;
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1083
1096
|
/**
|
|
1084
1097
|
* @public
|
|
1085
1098
|
*/
|
|
@@ -1129,22 +1142,32 @@ export declare const enum ComponentType {
|
|
|
1129
1142
|
|
|
1130
1143
|
/**
|
|
1131
1144
|
* @public
|
|
1132
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1133
1145
|
*/
|
|
1134
|
-
export declare
|
|
1146
|
+
export declare interface Composite {
|
|
1135
1147
|
id: string;
|
|
1136
|
-
components:
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1148
|
+
components: CompositeComponent[];
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
export declare interface CompositeComponent {
|
|
1155
|
+
name: string;
|
|
1156
|
+
jsonSchema: any | undefined;
|
|
1157
|
+
data: Map<number, ComponentData>;
|
|
1158
|
+
}
|
|
1142
1159
|
|
|
1143
1160
|
/**
|
|
1144
1161
|
* @public
|
|
1145
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1146
1162
|
*/
|
|
1147
|
-
export declare
|
|
1163
|
+
export declare interface CompositeComponent_DataEntry {
|
|
1164
|
+
key: number;
|
|
1165
|
+
value: ComponentData | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare function compositeFromBinary(buffer: Uint8Array): Composite;
|
|
1169
|
+
|
|
1170
|
+
export declare function compositeFromJson(object: any): Composite;
|
|
1148
1171
|
|
|
1149
1172
|
/**
|
|
1150
1173
|
* @public
|
package/dist/beta.d.ts
CHANGED
|
@@ -1080,6 +1080,19 @@ export declare type Color4Type = {
|
|
|
1080
1080
|
a: number;
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export declare interface ComponentData {
|
|
1087
|
+
data?: {
|
|
1088
|
+
$case: "json";
|
|
1089
|
+
json: any | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
$case: "binary";
|
|
1092
|
+
binary: Uint8Array;
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1083
1096
|
/**
|
|
1084
1097
|
* @public
|
|
1085
1098
|
*/
|
|
@@ -1129,22 +1142,32 @@ export declare const enum ComponentType {
|
|
|
1129
1142
|
|
|
1130
1143
|
/**
|
|
1131
1144
|
* @public
|
|
1132
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1133
1145
|
*/
|
|
1134
|
-
export declare
|
|
1146
|
+
export declare interface Composite {
|
|
1135
1147
|
id: string;
|
|
1136
|
-
components:
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1148
|
+
components: CompositeComponent[];
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
export declare interface CompositeComponent {
|
|
1155
|
+
name: string;
|
|
1156
|
+
jsonSchema: any | undefined;
|
|
1157
|
+
data: Map<number, ComponentData>;
|
|
1158
|
+
}
|
|
1142
1159
|
|
|
1143
1160
|
/**
|
|
1144
1161
|
* @public
|
|
1145
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1146
1162
|
*/
|
|
1147
|
-
export declare
|
|
1163
|
+
export declare interface CompositeComponent_DataEntry {
|
|
1164
|
+
key: number;
|
|
1165
|
+
value: ComponentData | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare function compositeFromBinary(buffer: Uint8Array): Composite;
|
|
1169
|
+
|
|
1170
|
+
export declare function compositeFromJson(object: any): Composite;
|
|
1148
1171
|
|
|
1149
1172
|
/**
|
|
1150
1173
|
* @public
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -1080,6 +1080,19 @@ export declare type Color4Type = {
|
|
|
1080
1080
|
a: number;
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export declare interface ComponentData {
|
|
1087
|
+
data?: {
|
|
1088
|
+
$case: "json";
|
|
1089
|
+
json: any | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
$case: "binary";
|
|
1092
|
+
binary: Uint8Array;
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1083
1096
|
/**
|
|
1084
1097
|
* @public
|
|
1085
1098
|
*/
|
|
@@ -1129,22 +1142,32 @@ export declare const enum ComponentType {
|
|
|
1129
1142
|
|
|
1130
1143
|
/**
|
|
1131
1144
|
* @public
|
|
1132
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1133
1145
|
*/
|
|
1134
|
-
export declare
|
|
1146
|
+
export declare interface Composite {
|
|
1135
1147
|
id: string;
|
|
1136
|
-
components:
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1148
|
+
components: CompositeComponent[];
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
export declare interface CompositeComponent {
|
|
1155
|
+
name: string;
|
|
1156
|
+
jsonSchema: any | undefined;
|
|
1157
|
+
data: Map<number, ComponentData>;
|
|
1158
|
+
}
|
|
1142
1159
|
|
|
1143
1160
|
/**
|
|
1144
1161
|
* @public
|
|
1145
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1146
1162
|
*/
|
|
1147
|
-
export declare
|
|
1163
|
+
export declare interface CompositeComponent_DataEntry {
|
|
1164
|
+
key: number;
|
|
1165
|
+
value: ComponentData | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare function compositeFromBinary(buffer: Uint8Array): Composite;
|
|
1169
|
+
|
|
1170
|
+
export declare function compositeFromJson(object: any): Composite;
|
|
1148
1171
|
|
|
1149
1172
|
/**
|
|
1150
1173
|
* @public
|