babylonjs-loaders 8.41.2 → 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
  /**
@@ -7489,63 +7488,10 @@ export class BVHFileLoader implements ISceneLoaderPluginAsync, ISceneLoaderPlugi
7489
7488
  loadAssetContainerAsync(scene: Scene, data: unknown): Promise<AssetContainer>;
7490
7489
  }
7491
7490
 
7492
- }
7493
- declare module "babylonjs-loaders/legacy/legacy" {
7494
- export * from "babylonjs-loaders/index";
7495
- export * from "babylonjs-loaders/legacy/legacy-bvhFileLoader";
7496
- export * from "babylonjs-loaders/legacy/legacy-glTF";
7497
- export * from "babylonjs-loaders/legacy/legacy-glTF1";
7498
- export * from "babylonjs-loaders/legacy/legacy-glTF2";
7499
- export * from "babylonjs-loaders/legacy/legacy-objFileLoader";
7500
- export * from "babylonjs-loaders/legacy/legacy-stlFileLoader";
7501
-
7502
- }
7503
- declare module "babylonjs-loaders/legacy/legacy-stlFileLoader" {
7504
- export * from "babylonjs-loaders/STL/index";
7505
-
7506
- }
7507
- declare module "babylonjs-loaders/legacy/legacy-objFileLoader" {
7508
- export * from "babylonjs-loaders/OBJ/index";
7509
-
7510
- }
7511
- declare module "babylonjs-loaders/legacy/legacy-glTFFileLoader" {
7512
- export * from "babylonjs-loaders/legacy/legacy-glTF";
7513
- export * from "babylonjs-loaders/legacy/legacy-glTF1";
7514
- export * from "babylonjs-loaders/legacy/legacy-glTF2";
7515
-
7516
- }
7517
- declare module "babylonjs-loaders/legacy/legacy-glTF2FileLoader" {
7518
- export * from "babylonjs-loaders/legacy/legacy-glTF";
7519
- export * from "babylonjs-loaders/legacy/legacy-glTF2";
7520
-
7521
- }
7522
- declare module "babylonjs-loaders/legacy/legacy-glTF2" {
7523
- import * as GLTF2 from "babylonjs-loaders/glTF/2.0/index";
7524
- export { GLTF2 };
7525
-
7526
- }
7527
- declare module "babylonjs-loaders/legacy/legacy-glTF1FileLoader" {
7528
- export * from "babylonjs-loaders/legacy/legacy-glTF";
7529
- export * from "babylonjs-loaders/legacy/legacy-glTF1";
7530
-
7531
- }
7532
- declare module "babylonjs-loaders/legacy/legacy-glTF1" {
7533
- import * as GLTF1 from "babylonjs-loaders/glTF/1.0/index";
7534
- export { GLTF1 };
7535
-
7536
- }
7537
- declare module "babylonjs-loaders/legacy/legacy-glTF" {
7538
- export * from "babylonjs-loaders/glTF/glTFFileLoader";
7539
- export * from "babylonjs-loaders/glTF/glTFValidation";
7540
-
7541
- }
7542
- declare module "babylonjs-loaders/legacy/legacy-bvhFileLoader" {
7543
- export * from "babylonjs-loaders/BVH/index";
7544
-
7545
7491
  }
7546
7492
 
7547
7493
  declare module "babylonjs-loaders" {
7548
- export * from "babylonjs-loaders/legacy/legacy";
7494
+ export * from "babylonjs-loaders/index";
7549
7495
  }
7550
7496
 
7551
7497
 
@@ -12901,7 +12847,7 @@ declare module BABYLON {
12901
12847
 
12902
12848
  }
12903
12849
  declare module BABYLON.GLTF2.Loader.Extensions {
12904
- interface IGLTFToFlowGraphMappingObject<I = any, O = any> {
12850
+ interface IGLTFToFlowGraphMappingObject {
12905
12851
  /**
12906
12852
  * The name of the property in the FlowGraph block.
12907
12853
  */
@@ -12919,16 +12865,15 @@ declare module BABYLON.GLTF2.Loader.Extensions {
12919
12865
  /**
12920
12866
  * A function that transforms the data from the glTF to the FlowGraph block.
12921
12867
  */
12922
- dataTransformer?: (data: I[], parser: BABYLON.GLTF2.Loader.Extensions.InteractivityGraphToFlowGraphParser) => O[];
12868
+ dataTransformer?: (data: any, parser: BABYLON.GLTF2.Loader.Extensions.InteractivityGraphToFlowGraphParser) => any;
12923
12869
  /**
12924
- * If the property is in the options passed to the constructor of the block.
12870
+ * If the property can contain multiple values.
12925
12871
  */
12926
- inOptions?: boolean;
12872
+ isArray?: boolean;
12927
12873
  /**
12928
- * If the property is a pointer to a value.
12929
- * 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.
12930
12875
  */
12931
- isPointer?: boolean;
12876
+ inOptions?: boolean;
12932
12877
  /**
12933
12878
  * If the property is an index to a value.
12934
12879
  * if defined this will be the name of the array to find the object in.
@@ -12943,7 +12888,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
12943
12888
  /**
12944
12889
  * Used in configuration values. If defined, this will be the default value, if no value is provided.
12945
12890
  */
12946
- defaultValue?: O;
12891
+ defaultValue?: any;
12947
12892
  }
12948
12893
  export interface IGLTFToFlowGraphMapping {
12949
12894
  /**
@@ -14781,24 +14726,6 @@ declare module BABYLON {
14781
14726
  }
14782
14727
 
14783
14728
 
14784
-
14785
-
14786
-
14787
-
14788
-
14789
-
14790
-
14791
-
14792
-
14793
-
14794
-
14795
-
14796
-
14797
-
14798
-
14799
-
14800
-
14801
-
14802
14729
 
14803
14730
  }
14804
14731
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-loaders",
3
- "version": "8.41.2",
3
+ "version": "8.43.0",
4
4
  "main": "babylonjs.loaders.min.js",
5
5
  "types": "babylonjs.loaders.module.d.ts",
6
6
  "files": [
@@ -15,16 +15,16 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.loaders.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "^8.41.2",
19
- "babylonjs-gltf2interface": "^8.41.2"
18
+ "babylonjs": "^8.43.0",
19
+ "babylonjs-gltf2interface": "^8.43.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/build-tools": "1.0.0",
23
23
  "@dev/core": "1.0.0",
24
24
  "source-map-loader": "^4.0.0",
25
25
  "ts-loader": "^9.2.6",
26
- "webpack": "^5.98.0",
27
- "webpack-cli": "^5.1.0",
26
+ "webpack": "^5.103.0",
27
+ "webpack-cli": "6.0.1",
28
28
  "webpack-merge": "^5.8.0"
29
29
  },
30
30
  "keywords": [