babylonjs-loaders 8.42.0 → 8.43.0

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.
@@ -5527,7 +5527,7 @@ import { FlowGraphBlockNames } from "babylonjs/FlowGraph/Blocks/flowGraphBlockNa
5527
5527
  import { ISerializedFlowGraphBlock, ISerializedFlowGraphContext } from "babylonjs/FlowGraph/typeDefinitions";
5528
5528
  import { InteractivityGraphToFlowGraphParser } from "babylonjs-loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser";
5529
5529
  import { IGLTF } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
5530
- interface IGLTFToFlowGraphMappingObject<I = any, O = any> {
5530
+ interface IGLTFToFlowGraphMappingObject {
5531
5531
  /**
5532
5532
  * The name of the property in the FlowGraph block.
5533
5533
  */
@@ -5545,16 +5545,15 @@ interface IGLTFToFlowGraphMappingObject<I = any, O = any> {
5545
5545
  /**
5546
5546
  * A function that transforms the data from the glTF to the FlowGraph block.
5547
5547
  */
5548
- dataTransformer?: (data: I[], parser: InteractivityGraphToFlowGraphParser) => O[];
5548
+ dataTransformer?: (data: any, parser: InteractivityGraphToFlowGraphParser) => any;
5549
5549
  /**
5550
- * If the property is in the options passed to the constructor of the block.
5550
+ * If the property can contain multiple values.
5551
5551
  */
5552
- inOptions?: boolean;
5552
+ isArray?: boolean;
5553
5553
  /**
5554
- * If the property is a pointer to a value.
5555
- * This will add an extra JsonPointerParser block to the graph.
5554
+ * If the property is in the options passed to the constructor of the block.
5556
5555
  */
5557
- isPointer?: boolean;
5556
+ inOptions?: boolean;
5558
5557
  /**
5559
5558
  * If the property is an index to a value.
5560
5559
  * if defined this will be the name of the array to find the object in.
@@ -5569,7 +5568,7 @@ interface IGLTFToFlowGraphMappingObject<I = any, O = any> {
5569
5568
  /**
5570
5569
  * Used in configuration values. If defined, this will be the default value, if no value is provided.
5571
5570
  */
5572
- defaultValue?: O;
5571
+ defaultValue?: any;
5573
5572
  }
5574
5573
  export interface IGLTFToFlowGraphMapping {
5575
5574
  /**
@@ -12848,7 +12847,7 @@ declare module BABYLON {
12848
12847
 
12849
12848
  }
12850
12849
  declare module BABYLON.GLTF2.Loader.Extensions {
12851
- interface IGLTFToFlowGraphMappingObject<I = any, O = any> {
12850
+ interface IGLTFToFlowGraphMappingObject {
12852
12851
  /**
12853
12852
  * The name of the property in the FlowGraph block.
12854
12853
  */
@@ -12866,16 +12865,15 @@ declare module BABYLON.GLTF2.Loader.Extensions {
12866
12865
  /**
12867
12866
  * A function that transforms the data from the glTF to the FlowGraph block.
12868
12867
  */
12869
- dataTransformer?: (data: I[], parser: BABYLON.GLTF2.Loader.Extensions.InteractivityGraphToFlowGraphParser) => O[];
12868
+ dataTransformer?: (data: any, parser: BABYLON.GLTF2.Loader.Extensions.InteractivityGraphToFlowGraphParser) => any;
12870
12869
  /**
12871
- * If the property is in the options passed to the constructor of the block.
12870
+ * If the property can contain multiple values.
12872
12871
  */
12873
- inOptions?: boolean;
12872
+ isArray?: boolean;
12874
12873
  /**
12875
- * If the property is a pointer to a value.
12876
- * This will add an extra JsonPointerParser block to the graph.
12874
+ * If the property is in the options passed to the constructor of the block.
12877
12875
  */
12878
- isPointer?: boolean;
12876
+ inOptions?: boolean;
12879
12877
  /**
12880
12878
  * If the property is an index to a value.
12881
12879
  * if defined this will be the name of the array to find the object in.
@@ -12890,7 +12888,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
12890
12888
  /**
12891
12889
  * Used in configuration values. If defined, this will be the default value, if no value is provided.
12892
12890
  */
12893
- defaultValue?: O;
12891
+ defaultValue?: any;
12894
12892
  }
12895
12893
  export interface IGLTFToFlowGraphMapping {
12896
12894
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-loaders",
3
- "version": "8.42.0",
3
+ "version": "8.43.0",
4
4
  "main": "babylonjs.loaders.min.js",
5
5
  "types": "babylonjs.loaders.module.d.ts",
6
6
  "files": [
@@ -15,8 +15,8 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.loaders.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^8.42.0",
19
- "babylonjs-gltf2interface": "^8.42.0"
18
+ "babylonjs": "^8.43.0",
19
+ "babylonjs-gltf2interface": "^8.43.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",