@dcl/playground-assets 7.0.6-4180146485.commit-9a7dde9 → 7.0.6-4183962432.commit-2fbe270

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 CHANGED
@@ -1860,8 +1860,36 @@ export declare interface ISchema<T = any> {
1860
1860
  deserialize(reader: ByteBuffer): T;
1861
1861
  create(): T;
1862
1862
  extend?: (base: Partial<DeepReadonly<T>> | undefined) => T;
1863
+ jsonSchema: JsonSchemaExtended;
1863
1864
  }
1864
1865
 
1866
+ /**
1867
+ * @public
1868
+ */
1869
+ export declare type JsonArray = Array<JsonPrimitive | JsonMap | JsonArray>;
1870
+
1871
+ /**
1872
+ * @public
1873
+ */
1874
+ export declare type JsonMap = {
1875
+ [key: string]: JsonPrimitive | JsonMap | JsonArray;
1876
+ };
1877
+
1878
+ /**
1879
+ * @public
1880
+ */
1881
+ export declare type JsonPrimitive = string | number | boolean | null;
1882
+
1883
+ /**
1884
+ * JsonSchemaExtended must specify the type, and it can has more primitives params.
1885
+ * Functions are not allowed.
1886
+ * @public
1887
+ */
1888
+ export declare type JsonSchemaExtended = {
1889
+ type: 'object' | 'number' | 'integer' | 'string' | 'array' | 'boolean';
1890
+ 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';
1891
+ } & JsonMap;
1892
+
1865
1893
  /**
1866
1894
  * @hidden
1867
1895
  */
package/dist/beta.d.ts CHANGED
@@ -1856,8 +1856,36 @@ export declare interface ISchema<T = any> {
1856
1856
  deserialize(reader: ByteBuffer): T;
1857
1857
  create(): T;
1858
1858
  extend?: (base: Partial<DeepReadonly<T>> | undefined) => T;
1859
+ jsonSchema: JsonSchemaExtended;
1859
1860
  }
1860
1861
 
1862
+ /**
1863
+ * @public
1864
+ */
1865
+ export declare type JsonArray = Array<JsonPrimitive | JsonMap | JsonArray>;
1866
+
1867
+ /**
1868
+ * @public
1869
+ */
1870
+ export declare type JsonMap = {
1871
+ [key: string]: JsonPrimitive | JsonMap | JsonArray;
1872
+ };
1873
+
1874
+ /**
1875
+ * @public
1876
+ */
1877
+ export declare type JsonPrimitive = string | number | boolean | null;
1878
+
1879
+ /**
1880
+ * JsonSchemaExtended must specify the type, and it can has more primitives params.
1881
+ * Functions are not allowed.
1882
+ * @public
1883
+ */
1884
+ export declare type JsonSchemaExtended = {
1885
+ type: 'object' | 'number' | 'integer' | 'string' | 'array' | 'boolean';
1886
+ 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';
1887
+ } & JsonMap;
1888
+
1861
1889
  /**
1862
1890
  * @hidden
1863
1891
  */
@@ -1856,8 +1856,36 @@ export declare interface ISchema<T = any> {
1856
1856
  deserialize(reader: ByteBuffer): T;
1857
1857
  create(): T;
1858
1858
  extend?: (base: Partial<DeepReadonly<T>> | undefined) => T;
1859
+ jsonSchema: JsonSchemaExtended;
1859
1860
  }
1860
1861
 
1862
+ /**
1863
+ * @public
1864
+ */
1865
+ export declare type JsonArray = Array<JsonPrimitive | JsonMap | JsonArray>;
1866
+
1867
+ /**
1868
+ * @public
1869
+ */
1870
+ export declare type JsonMap = {
1871
+ [key: string]: JsonPrimitive | JsonMap | JsonArray;
1872
+ };
1873
+
1874
+ /**
1875
+ * @public
1876
+ */
1877
+ export declare type JsonPrimitive = string | number | boolean | null;
1878
+
1879
+ /**
1880
+ * JsonSchemaExtended must specify the type, and it can has more primitives params.
1881
+ * Functions are not allowed.
1882
+ * @public
1883
+ */
1884
+ export declare type JsonSchemaExtended = {
1885
+ type: 'object' | 'number' | 'integer' | 'string' | 'array' | 'boolean';
1886
+ 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';
1887
+ } & JsonMap;
1888
+
1861
1889
  /**
1862
1890
  * @hidden
1863
1891
  */