Skip to content

Commit

Permalink
export component props in dist (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
reggie3-braingu authored Oct 16, 2024
1 parent 0a11635 commit dc45d7e
Show file tree
Hide file tree
Showing 66 changed files with 336 additions and 137 deletions.
2 changes: 1 addition & 1 deletion src/Billboard/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Billboard";
export { default, type BillboardProps } from "./Billboard";
2 changes: 1 addition & 1 deletion src/BillboardCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./BillboardCollection";
export { default, type BillboardCollectionProps } from "./BillboardCollection";
2 changes: 1 addition & 1 deletion src/BillboardGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./BillboardGraphics";
export { default, type BillboardGraphicsProps } from "./BillboardGraphics";
2 changes: 1 addition & 1 deletion src/BoxGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./BoxGraphics";
export { default, type BoxGraphicsProps } from "./BoxGraphics";
2 changes: 1 addition & 1 deletion src/Camera/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Camera";
export { default, type CameraProps } from "./Camera";
2 changes: 1 addition & 1 deletion src/CameraFlyHome/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CameraFlyHome";
export { default, type CameraFlyHomeProps } from "./CameraFlyHome";
2 changes: 1 addition & 1 deletion src/CameraFlyTo/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CameraFlyTo";
export { default, type CameraFlyToProps } from "./CameraFlyTo";
5 changes: 4 additions & 1 deletion src/CameraFlyToBoundingSphere/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./CameraFlyToBoundingSphere";
export {
default,
type CameraFlyToBoundingSphereProps,
} from "./CameraFlyToBoundingSphere";
2 changes: 1 addition & 1 deletion src/CameraLookAt/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CameraLookAt";
export { default, type CameraLookAtProps } from "./CameraLookAt";
2 changes: 1 addition & 1 deletion src/Cesium3DTileset/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Cesium3DTileset";
export { default, type Cesium3DTilesetProps } from "./Cesium3DTileset";
5 changes: 4 additions & 1 deletion src/Cesium3DTilesetGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./Cesium3DTilesetGraphics";
export {
default,
type Cesium3DTilesetGraphicsProps,
} from "./Cesium3DTilesetGraphics";
2 changes: 1 addition & 1 deletion src/CesiumWidget/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CesiumWidget";
export { default, type CesiumWidgetProps } from "./CesiumWidget";
5 changes: 4 additions & 1 deletion src/ClassificationPrimitive/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./ClassificationPrimitive";
export {
default,
type ClassificationPrimitiveProps,
} from "./ClassificationPrimitive";
2 changes: 1 addition & 1 deletion src/Clock/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Clock";
export { default, type ClockProps } from "./Clock";
2 changes: 1 addition & 1 deletion src/CloudCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CloudCollection";
export { default, type CloudCollectionProps } from "./CloudCollection";
2 changes: 1 addition & 1 deletion src/CorridorGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CorridorGraphics";
export { default, type CorridorGraphicsProps } from "./CorridorGraphics";
2 changes: 1 addition & 1 deletion src/CumulusCloud/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CumulusCloud";
export { default, type CumulusCloudProps } from "./CumulusCloud";
2 changes: 1 addition & 1 deletion src/CustomDataSource/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CustomDataSource";
export { default, type CustomDataSourceProps } from "./CustomDataSource";
2 changes: 1 addition & 1 deletion src/CylinderGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CylinderGraphics";
export { default, type CylinderGraphicsProps } from "./CylinderGraphics";
2 changes: 1 addition & 1 deletion src/CzmlDataSource/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./CzmlDataSource";
export { default, type CzmlDataSourceProps } from "./CzmlDataSource";
2 changes: 1 addition & 1 deletion src/EllipseGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./EllipseGraphics";
export { default, type EllipseGraphicsProps } from "./EllipseGraphics";
2 changes: 1 addition & 1 deletion src/EllipsoidGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./EllipsoidGraphics";
export { default, type EllipsoidGraphicsProps } from "./EllipsoidGraphics";
2 changes: 1 addition & 1 deletion src/Entity/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Entity";
export { default, type EntityProps } from "./Entity";
2 changes: 1 addition & 1 deletion src/EntityDescription/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./EntityDescription";
export { default, type EntityDescriptionProps } from "./EntityDescription";
2 changes: 1 addition & 1 deletion src/Fog/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Fog";
export { default, type FogProps } from "./Fog";
2 changes: 1 addition & 1 deletion src/GeoJsonDataSource/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./GeoJsonDataSource";
export { default, type GeoJsonDataSourceProps } from "./GeoJsonDataSource";
2 changes: 1 addition & 1 deletion src/Globe/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Globe";
export { default, type GlobeProps } from "./Globe";
5 changes: 4 additions & 1 deletion src/GroundPolylinePrimitive/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./GroundPolylinePrimitive";
export {
default,
type GroundPolylinePrimitiveProps,
} from "./GroundPolylinePrimitive";
2 changes: 1 addition & 1 deletion src/GroundPrimitive/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./GroundPrimitive";
export { default, type GroundPrimitiveProps } from "./GroundPrimitive";
5 changes: 4 additions & 1 deletion src/GroundPrimitiveCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./GroundPrimitiveCollection";
export {
default,
type GroundPrimitiveCollectionProps,
} from "./GroundPrimitiveCollection";
2 changes: 1 addition & 1 deletion src/ImageryLayer/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./ImageryLayer";
export { default, type ImageryLayerProps } from "./ImageryLayer";
5 changes: 4 additions & 1 deletion src/ImageryLayerCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./ImageryLayerCollection";
export {
default,
type ImageryLayerCollectionProps,
} from "./ImageryLayerCollection";
2 changes: 1 addition & 1 deletion src/KmlDataSource/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./KmlDataSource";
export { default, type KmlDataSourceProps } from "./KmlDataSource";
2 changes: 1 addition & 1 deletion src/Label/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Label";
export { default, type LabelProps } from "./Label";
2 changes: 1 addition & 1 deletion src/LabelCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./LabelCollection";
export { default, type LabelCollectionProps } from "./LabelCollection";
2 changes: 1 addition & 1 deletion src/LabelGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./LabelGraphics";
export { default, type LabelGraphicsProps } from "./LabelGraphics";
2 changes: 1 addition & 1 deletion src/Model/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Model";
export { default, type ModelProps } from "./Model";
2 changes: 1 addition & 1 deletion src/ModelGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./ModelGraphics";
export { default, type ModelGraphicsProps } from "./ModelGraphics";
2 changes: 1 addition & 1 deletion src/Moon/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Moon";
export { default, type MoonProps } from "./Moon";
2 changes: 1 addition & 1 deletion src/ParticleSystem/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./ParticleSystem";
export { default, type ParticleSystemProps } from "./ParticleSystem";
2 changes: 1 addition & 1 deletion src/PathGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PathGraphics";
export { default, type PathGraphicsProps } from "./PathGraphics";
2 changes: 1 addition & 1 deletion src/PlaneGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PlaneGraphics";
export { default, type PlaneGraphicsProps } from "./PlaneGraphics";
2 changes: 1 addition & 1 deletion src/PointGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PointGraphics";
export { default, type PointGraphicsProps } from "./PointGraphics";
2 changes: 1 addition & 1 deletion src/PointPrimitive/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PointPrimitive";
export { default, type PointPrimitiveProps } from "./PointPrimitive";
5 changes: 4 additions & 1 deletion src/PointPrimitiveCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./PointPrimitiveCollection";
export {
default,
type PointPrimitiveCollectionProps,
} from "./PointPrimitiveCollection";
2 changes: 1 addition & 1 deletion src/PolygonGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PolygonGraphics";
export { default, type PolygonGraphicsProps } from "./PolygonGraphics";
2 changes: 1 addition & 1 deletion src/Polyline/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Polyline";
export { default, type PolylineProps } from "./Polyline";
2 changes: 1 addition & 1 deletion src/PolylineCollection/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PolylineCollection";
export { default, type PolylineCollectionProps } from "./PolylineCollection";
2 changes: 1 addition & 1 deletion src/PolylineGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./PolylineGraphics";
export { default, type PolylineGraphicsProps } from "./PolylineGraphics";
5 changes: 4 additions & 1 deletion src/PolylineVolumeGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./PolylineVolumeGraphics";
export {
default,
type PolylineVolumeGraphicsProps,
} from "./PolylineVolumeGraphics";
15 changes: 11 additions & 4 deletions src/PostProcessStage/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
export { PostProcessStage, default } from "./PostProcessStage";
export {
PostProcessStage,
default,
type PostProcessStageProps,
} from "./PostProcessStage";

export { BlackAndWhiteStage } from "./BlackAndWhiteStage";
export { BrightnessStage } from "./BrightnessStage";
export { LensFlareStage } from "./LensFlareStage";
export {
BlackAndWhiteStage,
type BlackAndWhiteStageProps,
} from "./BlackAndWhiteStage";
export { BrightnessStage, type BrightnessStageProps } from "./BrightnessStage";
export { LensFlareStage, type LensFlareStageProps } from "./LensFlareStage";
export { Fxaa } from "./Fxaa";
export { NightVisionStage } from "./NightVisionStage";
27 changes: 20 additions & 7 deletions src/PostProcessStageComposite/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
export { PostProcessStageComposite, default } from "./PostProcessStageComposite";
export {
PostProcessStageComposite,
default,
type PostProcessStageCompositeProps,
} from "./PostProcessStageComposite";

export { AmbientOcclusion } from "./AmbientOcclusion";
export { Bloom } from "./Bloom";
export { BlurStage } from "./BlurStage";
export { DepthOfFieldStage } from "./DepthOfFieldStage";
export { EdgeDetectionStage } from "./EdgeDetectionStage";
export { SilhouetteStage } from "./SilhouetteStage";
export {
AmbientOcclusion,
type AmbientOcclusionProps,
} from "./AmbientOcclusion";
export { Bloom, type BloomProps } from "./Bloom";
export { BlurStage, type BlurStageProps } from "./BlurStage";
export {
DepthOfFieldStage,
type DepthOfFieldStageProps,
} from "./DepthOfFieldStage";
export {
EdgeDetectionStage,
type EdgeDetectionStageProps,
} from "./EdgeDetectionStage";
export { SilhouetteStage, type SilhouetteStageProps } from "./SilhouetteStage";
2 changes: 1 addition & 1 deletion src/Primitive/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Primitive";
export { default, type PrimitiveProps } from "./Primitive";
2 changes: 1 addition & 1 deletion src/RectangleGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./RectangleGraphics";
export { default, type RectangleGraphicsProps } from "./RectangleGraphics";
2 changes: 1 addition & 1 deletion src/Scene/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Scene";
export { default, type SceneProps } from "./Scene";
5 changes: 4 additions & 1 deletion src/ScreenSpaceCameraController/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./ScreenSpaceCameraController";
export {
default,
type ScreenSpaceCameraControllerProps,
} from "./ScreenSpaceCameraController";
2 changes: 1 addition & 1 deletion src/ScreenSpaceEvent/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./ScreenSpaceEvent";
export { default, type ScreenSpaceEventProps } from "./ScreenSpaceEvent";
5 changes: 4 additions & 1 deletion src/ScreenSpaceEventHandler/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./ScreenSpaceEventHandler";
export {
default,
type ScreenSpaceEventHandlerProps,
} from "./ScreenSpaceEventHandler";
2 changes: 1 addition & 1 deletion src/ShadowMap/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./ShadowMap";
export { default, type ShadowMapProps } from "./ShadowMap";
2 changes: 1 addition & 1 deletion src/SkyAtmosphere/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./SkyAtmosphere";
export { default, type SkyAtmosphereProps } from "./SkyAtmosphere";
2 changes: 1 addition & 1 deletion src/SkyBox/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./SkyBox";
export { default, type SkyBoxProps } from "./SkyBox";
2 changes: 1 addition & 1 deletion src/Sun/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Sun";
export { default, type SunProps } from "./Sun";
5 changes: 4 additions & 1 deletion src/TimeDynamicPointCloud/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export { default } from "./TimeDynamicPointCloud";
export {
default,
type TimeDynamicPointCloudProps,
} from "./TimeDynamicPointCloud";
2 changes: 1 addition & 1 deletion src/Viewer/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./Viewer";
export { default, type ViewerProps } from "./Viewer";
2 changes: 1 addition & 1 deletion src/WallGraphics/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./WallGraphics";
export { default, type WallGraphicsProps } from "./WallGraphics";
Loading

0 comments on commit dc45d7e

Please sign in to comment.