@dcl/playground-assets 7.1.4 → 7.1.5
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 +6 -1
- package/dist/beta.d.ts +6 -1
- package/dist/index.bundled.d.ts +6 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +6 -1
- package/etc/playground-assets.api.json +50 -1
- package/etc/playground-assets.api.md +6 -1
- package/package.json +4 -4
package/dist/alpha.d.ts
CHANGED
|
@@ -2166,7 +2166,7 @@ export declare type JsonPrimitive = string | number | boolean | null;
|
|
|
2166
2166
|
*/
|
|
2167
2167
|
export declare type JsonSchemaExtended = {
|
|
2168
2168
|
type: 'object' | 'number' | 'integer' | 'string' | 'array' | 'boolean';
|
|
2169
|
-
serializationType: 'boolean' | 'enum-int' | 'enum-string' | 'int8' | 'int16' | 'int32' | 'int64' | 'float32' | 'float64' | 'vector3' | 'color3' | 'quaternion' | 'color4' | 'map' | 'optional' | 'entity' | 'array' | 'utf8-string' | 'protocol-buffer' | 'transform' | 'unknown';
|
|
2169
|
+
serializationType: 'boolean' | 'enum-int' | 'enum-string' | 'int8' | 'int16' | 'int32' | 'int64' | 'float32' | 'float64' | 'vector3' | 'color3' | 'quaternion' | 'color4' | 'map' | 'optional' | 'entity' | 'array' | 'utf8-string' | 'protocol-buffer' | 'transform' | 'one-of' | 'unknown';
|
|
2170
2170
|
} & JsonMap;
|
|
2171
2171
|
|
|
2172
2172
|
/**
|
|
@@ -5113,6 +5113,11 @@ export declare namespace Schemas {
|
|
|
5113
5113
|
const Map: <T extends Spec>(spec: T, defaultValue?: Partial<MapResult<T>> | undefined) => ISchema<MapResult<T>>;
|
|
5114
5114
|
/** @public */
|
|
5115
5115
|
const Optional: <T>(spec: ISchema<T>) => ISchema<T | undefined>;
|
|
5116
|
+
/** @public */
|
|
5117
|
+
const OneOf: <T extends Spec>(specs: T) => ISchema<{ [K in keyof T]: {
|
|
5118
|
+
readonly $case: K;
|
|
5119
|
+
readonly value: ReturnType<T[K]["deserialize"]>;
|
|
5120
|
+
}; }[keyof T]>;
|
|
5116
5121
|
/**
|
|
5117
5122
|
* @public Create an ISchema object from the json-schema
|
|
5118
5123
|
* @param jsonSchema
|
package/dist/beta.d.ts
CHANGED
|
@@ -2162,7 +2162,7 @@ export declare type JsonPrimitive = string | number | boolean | null;
|
|
|
2162
2162
|
*/
|
|
2163
2163
|
export declare type JsonSchemaExtended = {
|
|
2164
2164
|
type: 'object' | 'number' | 'integer' | 'string' | 'array' | 'boolean';
|
|
2165
|
-
serializationType: 'boolean' | 'enum-int' | 'enum-string' | 'int8' | 'int16' | 'int32' | 'int64' | 'float32' | 'float64' | 'vector3' | 'color3' | 'quaternion' | 'color4' | 'map' | 'optional' | 'entity' | 'array' | 'utf8-string' | 'protocol-buffer' | 'transform' | 'unknown';
|
|
2165
|
+
serializationType: 'boolean' | 'enum-int' | 'enum-string' | 'int8' | 'int16' | 'int32' | 'int64' | 'float32' | 'float64' | 'vector3' | 'color3' | 'quaternion' | 'color4' | 'map' | 'optional' | 'entity' | 'array' | 'utf8-string' | 'protocol-buffer' | 'transform' | 'one-of' | 'unknown';
|
|
2166
2166
|
} & JsonMap;
|
|
2167
2167
|
|
|
2168
2168
|
/**
|
|
@@ -5109,6 +5109,11 @@ export declare namespace Schemas {
|
|
|
5109
5109
|
const Map: <T extends Spec>(spec: T, defaultValue?: Partial<MapResult<T>> | undefined) => ISchema<MapResult<T>>;
|
|
5110
5110
|
/** @public */
|
|
5111
5111
|
const Optional: <T>(spec: ISchema<T>) => ISchema<T | undefined>;
|
|
5112
|
+
/** @public */
|
|
5113
|
+
const OneOf: <T extends Spec>(specs: T) => ISchema<{ [K in keyof T]: {
|
|
5114
|
+
readonly $case: K;
|
|
5115
|
+
readonly value: ReturnType<T[K]["deserialize"]>;
|
|
5116
|
+
}; }[keyof T]>;
|
|
5112
5117
|
/**
|
|
5113
5118
|
* @public Create an ISchema object from the json-schema
|
|
5114
5119
|
* @param jsonSchema
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -2162,7 +2162,7 @@ export declare type JsonPrimitive = string | number | boolean | null;
|
|
|
2162
2162
|
*/
|
|
2163
2163
|
export declare type JsonSchemaExtended = {
|
|
2164
2164
|
type: 'object' | 'number' | 'integer' | 'string' | 'array' | 'boolean';
|
|
2165
|
-
serializationType: 'boolean' | 'enum-int' | 'enum-string' | 'int8' | 'int16' | 'int32' | 'int64' | 'float32' | 'float64' | 'vector3' | 'color3' | 'quaternion' | 'color4' | 'map' | 'optional' | 'entity' | 'array' | 'utf8-string' | 'protocol-buffer' | 'transform' | 'unknown';
|
|
2165
|
+
serializationType: 'boolean' | 'enum-int' | 'enum-string' | 'int8' | 'int16' | 'int32' | 'int64' | 'float32' | 'float64' | 'vector3' | 'color3' | 'quaternion' | 'color4' | 'map' | 'optional' | 'entity' | 'array' | 'utf8-string' | 'protocol-buffer' | 'transform' | 'one-of' | 'unknown';
|
|
2166
2166
|
} & JsonMap;
|
|
2167
2167
|
|
|
2168
2168
|
/**
|
|
@@ -5109,6 +5109,11 @@ export declare namespace Schemas {
|
|
|
5109
5109
|
const Map: <T extends Spec>(spec: T, defaultValue?: Partial<MapResult<T>> | undefined) => ISchema<MapResult<T>>;
|
|
5110
5110
|
/** @public */
|
|
5111
5111
|
const Optional: <T>(spec: ISchema<T>) => ISchema<T | undefined>;
|
|
5112
|
+
/** @public */
|
|
5113
|
+
const OneOf: <T extends Spec>(specs: T) => ISchema<{ [K in keyof T]: {
|
|
5114
|
+
readonly $case: K;
|
|
5115
|
+
readonly value: ReturnType<T[K]["deserialize"]>;
|
|
5116
|
+
}; }[keyof T]>;
|
|
5112
5117
|
/**
|
|
5113
5118
|
* @public Create an ISchema object from the json-schema
|
|
5114
5119
|
* @param jsonSchema
|