Skip to content

Commit

Permalink
add index to imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Raanan Weber committed Sep 28, 2021
1 parent 027f350 commit 272d0d4
Show file tree
Hide file tree
Showing 33 changed files with 88 additions and 88 deletions.
2 changes: 1 addition & 1 deletion gui/src/2D/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./controls";
export * from "./controls/index";

export * from "./advancedDynamicTexture";
export * from "./adtInstrumentation";
Expand Down
6 changes: 3 additions & 3 deletions gui/src/3D/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from "./controls";
export * from "./materials";
export * from "./gizmos";
export * from "./controls/index";
export * from "./materials/index";
export * from "./gizmos/index";

export * from "./gui3DManager";
export * from "./vector3WithInfo";
8 changes: 4 additions & 4 deletions gui/src/3D/materials/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./fluent";
export * from "./fluentButton";
export * from "./fluentBackplate";
export * from "./handle";
export * from "./fluent/index";
export * from "./fluentButton/index";
export * from "./fluentBackplate/index";
export * from "./handle/index";
4 changes: 2 additions & 2 deletions gui/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "./2D";
export * from "./3D";
export * from "./2D/index";
export * from "./3D/index";
2 changes: 1 addition & 1 deletion loaders/src/glTF/2.0/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./glTFLoader";
export * from "./glTFLoaderExtension";
export * from "./glTFLoaderInterfaces";
export * from "./Extensions";
export * from "./Extensions/index";
4 changes: 2 additions & 2 deletions loaders/src/glTF/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export * from "./glTFFileLoader";
export * from "./glTFValidation";
import * as GLTF1 from "./1.0";
import * as GLTF2 from "./2.0";
import * as GLTF1 from "./1.0/index";
import * as GLTF2 from "./2.0/index";
export {
GLTF1,
GLTF2
Expand Down
6 changes: 3 additions & 3 deletions loaders/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "./glTF";
export * from "./OBJ";
export * from "./STL";
export * from "./glTF/index";
export * from "./OBJ/index";
export * from "./STL/index";
2 changes: 1 addition & 1 deletion loaders/src/legacy/legacy-glTF1.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as GLTF1 from "../glTF/1.0";
import * as GLTF1 from "../glTF/1.0/index";

/**
* This is the entry point for the UMD module.
Expand Down
4 changes: 2 additions & 2 deletions loaders/src/legacy/legacy-glTF2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as Extensions from "../glTF/2.0/Extensions";
import * as Extensions from "../glTF/2.0/Extensions/index";
import * as Interfaces from "../glTF/2.0/glTFLoaderInterfaces";
import * as GLTF2 from "../glTF/2.0";
import * as GLTF2 from "../glTF/2.0/index";

/**
* This is the entry point for the UMD module.
Expand Down
4 changes: 2 additions & 2 deletions loaders/src/legacy/legacy-objFileLoader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Loaders from "../OBJ";
import * as Loaders from "../OBJ/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../OBJ";
export * from "../OBJ/index";
4 changes: 2 additions & 2 deletions loaders/src/legacy/legacy-stlFileLoader.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Loaders from "../STL";
import * as Loaders from "../STL/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../STL";
export * from "../STL/index";
30 changes: 15 additions & 15 deletions materialsLibrary/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export * from "./cell";
export * from "./custom";
export * from "./fire";
export * from "./fur";
export * from "./gradient";
export * from "./grid";
export * from "./lava";
export * from "./mix";
export * from "./normal";
export * from "./shadowOnly";
export * from "./simple";
export * from "./sky";
export * from "./terrain";
export * from "./triPlanar";
export * from "./water";
export * from "./cell/index";
export * from "./custom/index";
export * from "./fire/index";
export * from "./fur/index";
export * from "./gradient/index";
export * from "./grid/index";
export * from "./lava/index";
export * from "./mix/index";
export * from "./normal/index";
export * from "./shadowOnly/index";
export * from "./simple/index";
export * from "./sky/index";
export * from "./terrain/index";
export * from "./triPlanar/index";
export * from "./water/index";
4 changes: 2 additions & 2 deletions materialsLibrary/src/legacy/legacy-simple.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as MatLib from "../simple";
import * as MatLib from "../simple/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../simple";
export * from "../simple/index";
4 changes: 2 additions & 2 deletions materialsLibrary/src/legacy/legacy-sky.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as MatLib from "../sky";
import * as MatLib from "../sky/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../sky";
export * from "../sky/index";
4 changes: 2 additions & 2 deletions materialsLibrary/src/legacy/legacy-terrain.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as MatLib from "../terrain";
import * as MatLib from "../terrain/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../terrain";
export * from "../terrain/index";
4 changes: 2 additions & 2 deletions materialsLibrary/src/legacy/legacy-triPlanar.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as MatLib from "../triPlanar";
import * as MatLib from "../triPlanar/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../triPlanar";
export * from "../triPlanar/index";
4 changes: 2 additions & 2 deletions materialsLibrary/src/legacy/legacy-water.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as MatLib from "../water";
import * as MatLib from "../water/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../water";
export * from "../water/index";
4 changes: 2 additions & 2 deletions postProcessLibrary/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "./asciiArt";
export * from "./digitalRain";
export * from "./asciiArt/index";
export * from "./digitalRain/index";
20 changes: 10 additions & 10 deletions proceduralTexturesLibrary/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export * from "./brick";
export * from "./cloud";
export * from "./fire";
export * from "./grass";
export * from "./marble";
export * from "./normalMap";
export * from "./perlinNoise";
export * from "./road";
export * from "./starfield";
export * from "./wood";
export * from "./brick/index";
export * from "./cloud/index";
export * from "./fire/index";
export * from "./grass/index";
export * from "./marble/index";
export * from "./normalMap/index";
export * from "./perlinNoise/index";
export * from "./road/index";
export * from "./starfield/index";
export * from "./wood/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-fire.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../fire";
import * as proceduralTexture from "../fire/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../fire";
export * from "../fire/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-grass.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../grass";
import * as proceduralTexture from "../grass/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../grass";
export * from "../grass/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-marble.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../marble";
import * as proceduralTexture from "../marble/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../marble";
export * from "../marble/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-normalMap.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../normalMap";
import * as proceduralTexture from "../normalMap/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../normalMap";
export * from "../normalMap/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-perlinNoise.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../perlinNoise";
import * as proceduralTexture from "../perlinNoise/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../perlinNoise";
export * from "../perlinNoise/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-road.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../road";
import * as proceduralTexture from "../road/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../road";
export * from "../road/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-starfield.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../starfield";
import * as proceduralTexture from "../starfield/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../starfield";
export * from "../starfield/index";
4 changes: 2 additions & 2 deletions proceduralTexturesLibrary/src/legacy/legacy-wood.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as proceduralTexture from "../wood";
import * as proceduralTexture from "../wood/index";

/**
* This is the entry point for the UMD module.
Expand All @@ -11,4 +11,4 @@ if (typeof globalObject !== "undefined") {
}
}

export * from "../wood";
export * from "../wood/index";
2 changes: 1 addition & 1 deletion serializers/src/glTF/2.0/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export * from "./glTFExporterExtension";
export * from "./glTFMaterialExporter";
export * from "./glTFSerializer";
export * from "./glTFUtilities";
export * from "./Extensions";
export * from "./Extensions/index";
2 changes: 1 addition & 1 deletion serializers/src/glTF/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "./glTFFileExporter";
export * from "./2.0";
export * from "./2.0/index";
6 changes: 3 additions & 3 deletions serializers/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "./OBJ";
export * from "./glTF";
export * from "./stl";
export * from "./OBJ/index";
export * from "./glTF/index";
export * from "./stl/index";
6 changes: 3 additions & 3 deletions serializers/src/legacy/legacy-glTF2Serializer.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as Exporters from "../glTF/glTFFileExporter";
import * as Datas from "../glTF/2.0/glTFData";
import * as Serializers from "../glTF/2.0/glTFSerializer";
import * as Extensions from "../glTF/2.0/Extensions";
import * as GLTF2 from "../glTF/2.0";
import * as Extensions from "../glTF/2.0/Extensions/index";
import * as GLTF2 from "../glTF/2.0/index";

/**
* This is the entry point for the UMD module.
Expand Down Expand Up @@ -46,4 +46,4 @@ if (typeof globalObject !== "undefined") {
}

export * from "../glTF/glTFFileExporter";
export * from "../glTF/2.0";
export * from "../glTF/2.0/index";
Loading

0 comments on commit 272d0d4

Please sign in to comment.