@dcl/sdk 7.0.0-3524388923.commit-eb91c8a → 7.0.0-3532389879.commit-c89c80c

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.
@@ -1,12 +1,17 @@
1
1
  /// <reference types="@dcl/posix" />
2
2
 
3
3
  /** @public */
4
- export declare const Animator: AnimatorComponentDefinition;
4
+ export declare const Animator: AnimatorComponentDefinitionExtended;
5
5
 
6
6
  /**
7
7
  * @public
8
8
  */
9
- export declare interface AnimatorComponentDefinition extends ComponentDefinition {
9
+ export declare type AnimatorComponentDefinition = ComponentDefinition<ISchema<PBAnimator>, PBAnimator>;
10
+
11
+ /**
12
+ * @public
13
+ */
14
+ export declare interface AnimatorComponentDefinitionExtended extends AnimatorComponentDefinition {
10
15
  /**
11
16
  * @public
12
17
  *
@@ -1049,7 +1054,7 @@ export declare namespace Components {
1049
1054
  /** @public */
1050
1055
  const Transform: ComponentDefinition<ISchema<TransformType>, Partial<TransformType>>;
1051
1056
  /** @public */
1052
- const Animator: AnimatorComponentDefinition;
1057
+ const Animator: AnimatorComponentDefinitionExtended;
1053
1058
  /** @public */
1054
1059
  const AudioSource: ComponentDefinition<ISchema<PBAudioSource>, PBAudioSource>;
1055
1060
  /** @public */
@@ -1069,11 +1074,11 @@ export declare namespace Components {
1069
1074
  /** @public */
1070
1075
  const GltfContainer: ComponentDefinition<ISchema<PBGltfContainer>, PBGltfContainer>;
1071
1076
  /** @public */
1072
- const Material: MaterialComponentDefinition;
1077
+ const Material: MaterialComponentDefinitionExtended;
1073
1078
  /** @public */
1074
- const MeshCollider: MeshColliderComponentDefinition;
1079
+ const MeshCollider: MeshColliderComponentDefinitionExtended;
1075
1080
  /** @public */
1076
- const MeshRenderer: MeshRendererComponentDefinition;
1081
+ const MeshRenderer: MeshRendererComponentDefinitionExtended;
1077
1082
  /** @public */
1078
1083
  const NftShape: ComponentDefinition<ISchema<PBNftShape>, PBNftShape>;
1079
1084
  /** @public */
@@ -1179,10 +1184,10 @@ export declare function defineLibraryComponents({ defineComponentFromSchema }: P
1179
1184
  };
1180
1185
 
1181
1186
  export declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponentFromSchema' | 'getComponent'>): {
1182
- Material: MaterialComponentDefinition;
1183
- Animator: AnimatorComponentDefinition;
1184
- MeshRenderer: MeshRendererComponentDefinition;
1185
- MeshCollider: MeshColliderComponentDefinition;
1187
+ Material: MaterialComponentDefinitionExtended;
1188
+ Animator: AnimatorComponentDefinitionExtended;
1189
+ MeshRenderer: MeshRendererComponentDefinitionExtended;
1190
+ MeshCollider: MeshColliderComponentDefinitionExtended;
1186
1191
  Transform: ComponentDefinition<ISchema<TransformType>, Partial<TransformType>>;
1187
1192
  AudioSource: ComponentDefinition<ISchema<PBAudioSource>, PBAudioSource>;
1188
1193
  AudioStream: ComponentDefinition<ISchema<PBAudioStream>, PBAudioStream>;
@@ -1528,12 +1533,17 @@ export declare type ISchema<T = any> = {
1528
1533
  export declare const log: (...a: any[]) => void;
1529
1534
 
1530
1535
  /** @public */
1531
- export declare const Material: MaterialComponentDefinition;
1536
+ export declare const Material: MaterialComponentDefinitionExtended;
1537
+
1538
+ /**
1539
+ * @public
1540
+ */
1541
+ export declare type MaterialComponentDefinition = ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
1532
1542
 
1533
1543
  /**
1534
1544
  * @public
1535
1545
  */
1536
- export declare interface MaterialComponentDefinition extends ComponentDefinition {
1546
+ export declare interface MaterialComponentDefinitionExtended extends MaterialComponentDefinition {
1537
1547
  /**
1538
1548
  * Texture helpers with constructor
1539
1549
  */
@@ -2292,12 +2302,17 @@ export declare namespace Matrix {
2292
2302
  }
2293
2303
 
2294
2304
  /** @public */
2295
- export declare const MeshCollider: MeshColliderComponentDefinition;
2305
+ export declare const MeshCollider: MeshColliderComponentDefinitionExtended;
2296
2306
 
2297
2307
  /**
2298
2308
  * @public
2299
2309
  */
2300
- export declare interface MeshColliderComponentDefinition extends ComponentDefinition {
2310
+ export declare type MeshColliderComponentDefinition = ComponentDefinition<ISchema<PBMeshCollider>, PBMeshCollider>;
2311
+
2312
+ /**
2313
+ * @public
2314
+ */
2315
+ export declare interface MeshColliderComponentDefinitionExtended extends MeshColliderComponentDefinition {
2301
2316
  /**
2302
2317
  * @public
2303
2318
  * Set a box in the MeshCollider component
@@ -2331,12 +2346,17 @@ export declare interface MeshColliderComponentDefinition extends ComponentDefini
2331
2346
  }
2332
2347
 
2333
2348
  /** @public */
2334
- export declare const MeshRenderer: MeshRendererComponentDefinition;
2349
+ export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
2350
+
2351
+ /**
2352
+ * @public
2353
+ */
2354
+ export declare type MeshRendererComponentDefinition = ComponentDefinition<ISchema<PBMeshRenderer>, PBMeshRenderer>;
2335
2355
 
2336
2356
  /**
2337
2357
  * @public
2338
2358
  */
2339
- export declare interface MeshRendererComponentDefinition extends ComponentDefinition {
2359
+ export declare interface MeshRendererComponentDefinitionExtended extends MeshRendererComponentDefinition {
2340
2360
  /**
2341
2361
  * @public
2342
2362
  * Set a box in the MeshRenderer component