@dcl/ecs 1.0.0-20220601113849.commit-ab0b9fd → 1.0.0-2462113196.commit-0b88de0
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/index.d.ts +10 -12
- package/dist/index.js +24 -47
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare function ArrayType<T>(type: EcsType<T>): EcsType<Array<T>>;
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
declare const Boolean_2: EcsType<boolean>;
|
|
10
|
-
export { Boolean_2 as Boolean }
|
|
11
|
-
|
|
12
6
|
/**
|
|
13
7
|
* @public
|
|
14
8
|
*/
|
|
@@ -203,11 +197,21 @@ export declare const DEG2RAD: number;
|
|
|
203
197
|
/** @public */
|
|
204
198
|
export declare type double = number;
|
|
205
199
|
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export declare const EcsBoolean: EcsType<boolean>;
|
|
204
|
+
|
|
206
205
|
/**
|
|
207
206
|
* @public
|
|
208
207
|
*/
|
|
209
208
|
declare type EcsResult<T extends EcsType> = T extends EcsType ? ReturnType<T['deserialize']> : never;
|
|
210
209
|
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export declare const EcsString: EcsType<string>;
|
|
214
|
+
|
|
211
215
|
/**
|
|
212
216
|
* @public
|
|
213
217
|
*/
|
|
@@ -1430,12 +1434,6 @@ export declare interface Spec {
|
|
|
1430
1434
|
[key: string]: EcsType;
|
|
1431
1435
|
}
|
|
1432
1436
|
|
|
1433
|
-
/**
|
|
1434
|
-
* @public
|
|
1435
|
-
*/
|
|
1436
|
-
declare const String_2: EcsType<string>;
|
|
1437
|
-
export { String_2 as String }
|
|
1438
|
-
|
|
1439
1437
|
/**
|
|
1440
1438
|
* Constant used to convert a value to gamma space
|
|
1441
1439
|
* @public
|