Closed reggie3-braingu closed 1 month ago
The changes involve modifying multiple TypeScript modules to export additional type definitions alongside their default exports. This enhancement allows consumers of these modules to access the types, thereby improving type safety and extensibility within applications that utilize these components.
File Path | Change Summary |
---|---|
src/Billboard/index.ts | Exported type BillboardProps . |
src/BillboardCollection/index.ts | Exported type BillboardCollectionProps . |
src/BillboardGraphics/index.ts | Exported type BillboardGraphicsProps . |
src/BoxGraphics/index.ts | Exported type BoxGraphicsProps . |
src/Camera/index.ts | Exported type CameraProps . |
src/CameraFlyHome/index.ts | Exported type CameraFlyHomeProps . |
src/CameraFlyTo/index.ts | Exported type CameraFlyToProps . |
src/CameraFlyToBoundingSphere/index.ts | Exported type CameraFlyToBoundingSphereProps . |
src/CameraLookAt/index.ts | Exported type CameraLookAtProps . |
src/Cesium3DTileset/index.ts | Exported type Cesium3DTilesetProps . |
src/Cesium3DTilesetGraphics/index.ts | Exported type Cesium3DTilesetGraphicsProps . |
src/CesiumWidget/index.ts | Exported type CesiumWidgetProps . |
src/ClassificationPrimitive/index.ts | Exported type ClassificationPrimitiveProps . |
src/Clock/index.ts | Exported type ClockProps . |
src/CloudCollection/index.ts | Exported type CloudCollectionProps . |
src/CorridorGraphics/index.ts | Exported type CorridorGraphicsProps . |
src/CumulusCloud/index.ts | Exported type CumulusCloudProps . |
src/CustomDataSource/index.ts | Exported type CustomDataSourceProps . |
src/CylinderGraphics/index.ts | Exported type CylinderGraphicsProps . |
src/CzmlDataSource/index.ts | Exported type CzmlDataSourceProps . |
src/EllipseGraphics/index.ts | Exported type EllipseGraphicsProps . |
src/EllipsoidGraphics/index.ts | Exported type EllipsoidGraphicsProps . |
src/Entity/index.ts | Exported type EntityProps . |
src/EntityDescription/index.ts | Exported type EntityDescriptionProps . |
src/Fog/index.ts | Exported type FogProps . |
src/GeoJsonDataSource/index.ts | Exported type GeoJsonDataSourceProps . |
src/Globe/index.ts | Exported type GlobeProps . |
src/GroundPolylinePrimitive/index.ts | Exported type GroundPolylinePrimitiveProps . |
src/GroundPrimitive/index.ts | Exported type GroundPrimitiveProps . |
src/GroundPrimitiveCollection/index.ts | Exported type GroundPrimitiveCollectionProps . |
src/ImageryLayer/index.ts | Exported type ImageryLayerProps . |
src/ImageryLayerCollection/index.ts | Exported type ImageryLayerCollectionProps . |
src/KmlDataSource/index.ts | Exported type KmlDataSourceProps . |
src/Label/index.ts | Exported type LabelProps . |
src/LabelCollection/index.ts | Exported type LabelCollectionProps . |
src/LabelGraphics/index.ts | Exported type LabelGraphicsProps . |
src/Model/index.ts | Exported type ModelProps . |
src/ModelGraphics/index.ts | Exported type ModelGraphicsProps . |
src/Moon/index.ts | Exported type MoonProps . |
src/ParticleSystem/index.ts | Exported type ParticleSystemProps . |
src/PathGraphics/index.ts | Exported type PathGraphicsProps . |
src/PlaneGraphics/index.ts | Exported type PlaneGraphicsProps . |
src/PointGraphics/index.ts | Exported type PointGraphicsProps . |
src/PointPrimitive/index.ts | Exported type PointPrimitiveProps . |
src/PointPrimitiveCollection/index.ts | Exported type PointPrimitiveCollectionProps . |
src/PolygonGraphics/index.ts | Exported type PolygonGraphicsProps . |
src/Polyline/index.ts | Exported type PolylineProps . |
src/PolylineCollection/index.ts | Exported type PolylineCollectionProps . |
src/PolylineGraphics/index.ts | Exported type PolylineGraphicsProps . |
src/PolylineVolumeGraphics/index.ts | Exported type PolylineVolumeGraphicsProps . |
src/PostProcessStage/index.ts | Exported types for PostProcessStageProps , BlackAndWhiteStageProps , BrightnessStageProps , LensFlareStageProps . |
src/PostProcessStageComposite/index.ts | Exported types for PostProcessStageCompositeProps , AmbientOcclusionProps , BloomProps , BlurStageProps , DepthOfFieldStageProps , EdgeDetectionStageProps , SilhouetteStageProps . |
src/Primitive/index.ts | Exported type PrimitiveProps . |
src/RectangleGraphics/index.ts | Exported type RectangleGraphicsProps . |
src/Scene/index.ts | Exported type SceneProps . |
src/ScreenSpaceCameraController/index.ts | Exported type ScreenSpaceCameraControllerProps . |
src/ScreenSpaceEvent/index.ts | Exported type ScreenSpaceEventProps . |
src/ScreenSpaceEventHandler/index.ts | Exported type ScreenSpaceEventHandlerProps . |
src/ShadowMap/index.ts | Exported type ShadowMapProps . |
src/SkyAtmosphere/index.ts | Exported type SkyAtmosphereProps . |
src/SkyBox/index.ts | Exported type SkyBoxProps . |
src/Sun/index.ts | Exported type SunProps . |
src/TimeDynamicPointCloud/index.ts | Exported type TimeDynamicPointCloudProps . |
src/Viewer/index.ts | Exported type ViewerProps . |
src/WallGraphics/index.ts | Exported type WallGraphicsProps . |
src/index.ts | Updated exports to include associated type definitions. |
Objective | Addressed | Explanation |
---|---|---|
Export type definitions for all components (676) | ✅ |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@reggie3-braingu Thanks for your PR. I reviewed your PR. It looks good to me. There are some comments from coderabbitai. Have these comments been resolved?
Hi @keiya01 , thank you for taking a look at this PR. I'm confused by what the coderabbitai bot is saying here. It's saying that almost all of the files do not export the component prop, but the props are being exported (as far as I can tell). Are you able to explain what the bot is trying to get me to do?
Please confirm, does this commit also resolve this issue? https://github.com/reearth/resium/issues/675
@arngc , it doesn't. My PR just exports the component props.
index .ts
files to export component prop typesindex.ts
file to export components prop typesfixes #676
Summary by CodeRabbit
New Features
Documentation