Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v9] chore(tests): add exports snapshots for targets #2606

Merged
merged 3 commits into from
Nov 1, 2022

Conversation

CodyJasonBennett
Copy link
Member

@CodyJasonBennett CodyJasonBennett commented Oct 31, 2022

Creates a snapshot of exports for each target and ensures they're in sync. Also catches regressions when APIs or types are not exposed. We'll want to use this to clear #2583.

v8 vs v9 exports diff:
- AmbientLightProbeProps
- AmbientLightProps
- ArrayCameraProps
- ArrowHelperProps
- AttachCallback
- AudioListenerProps
- AxesHelperProps
- BaseInstance
- BoneProps
- Box3HelperProps
- BoxBufferGeometryProps
- BoxGeometryProps
- BoxHelperProps
+ Act
+ Args
+ AttachFnType
+ AttachType
BranchingReturn
- BufferAttributeProps
- BufferGeometryNode
- BufferGeometryProps
Camera
- CameraHelperProps
- CameraProps
Canvas
- CanvasTextureProps
- CapsuleGeometryProps
- CircleBufferGeometryProps
- CircleGeometryProps
- Color
- ColorArray
- ColorProps
- CompressedTextureProps
+ CanvasProps
+ Catalogue
ComputeFunction
ConditionalType
- ConeBufferGeometryProps
- ConeGeometryProps
- CubeCameraProps
- CubeTextureProps
- CylinderBufferGeometryProps
- CylinderGeometryProps
- DataTexture3DProps
- DataTextureProps
- DepthTextureProps
- DirectionalLightHelperProps
- DirectionalLightProps
- DirectionalLightShadowProps
- DodecahedronBufferGeometryProps
- DodecahedronGeometryProps
+ ConstructorRepresentation
+ DomEvent
Dpr
- EdgesGeometryProps
- Euler
- EulerProps
+ EventHandlers
EventManager
Events
- ExtendedColors
Extensions
- ExtrudeBufferGeometryProps
- ExtrudeGeometryProps
- Float16BufferAttributeProps
- Float32BufferAttributeProps
- Float64BufferAttributeProps
- FogExp2Props
- FogProps
+ FilterFunction
+ FixedStage
+ Frameloop
+ FrameloopLegacy
+ FrameloopMode
+ FrameloopRender
GlobalEffectType
GlobalRenderCallback
- GridHelperProps
- GroupProps
- HemisphereLightHelperProps
- HemisphereLightProbeProps
- HemisphereLightProps
- IcosahedronBufferGeometryProps
- IcosahedronGeometryProps
InjectState
- InstancedBufferAttributeProps
- InstancedBufferGeometryProps
- InstancedMeshProps
- Int16BufferAttributeProps
- Int32BufferAttributeProps
- Int8BufferAttributeProps
+ Instance
+ InstanceProps
Intersection
- LODProps
- LatheBufferGeometryProps
- LatheGeometryProps
- Layers
- LightNode
- LightProbeProps
- LightProps
- LightShadowProps
- LineBasicMaterialProps
- LineDashedMaterialProps
- LineLoopProps
- LineSegmentsProps
+ LegacyAlways
Loader
LoaderProto
LoaderResult
LoaderReturnType
- LocalState
- MaterialNode
- MaterialProps
- Matrix3Props
- Matrix4
- Matrix4Props
- MeshBasicMaterialProps
- MeshDepthMaterialProps
- MeshDistanceMaterialProps
- MeshLambertMaterialProps
- MeshMatcapMaterialProps
- MeshNormalMaterialProps
- MeshPhongMaterialProps
- MeshPhysicalMaterialProps
- MeshProps
- MeshStandardMaterialProps
- MeshToonMaterialProps
- Node
- NodeProps
- NonFunctionKeys
- Object3DNode
- Object3DProps
ObjectMap
- OctahedronBufferGeometryProps
- OctahedronGeometryProps
- OrthographicCameraProps
- Overwrite
Performance
- PerspectiveCameraProps
- PlaneBufferGeometryProps
- PlaneGeometryProps
- PlaneHelperProps
- PointLightHelperProps
- PointLightProps
- PointsMaterialProps
- PointsProps
- PolarGridHelperProps
- PolyhedronBufferGeometryProps
- PolyhedronGeometryProps
- PositionalAudioProps
- PrimitiveProps
- Props
- Quaternion
- QuaternionProps
- RawShaderMaterialProps
- RaycasterProps
- ReactThreeFiber
ReconcilerRoot
- RectAreaLightProps
RenderCallback
RenderProps
- RingBufferGeometryProps
- RingGeometryProps
+ Renderer
RootState
- SceneProps
- ShaderMaterialProps
- ShadowMaterialProps
- ShapeBufferGeometryProps
- ShapeGeometryProps
- ShapeProps
+ RootStore
Size
- SkeletonHelperProps
- SkeletonProps
- SkinnedMeshProps
- SphereBufferGeometryProps
- SphereGeometryProps
- SpotLightHelperProps
- SpotLightProps
- SpotLightShadowProps
- SpriteMaterialProps
- SpriteProps
+ Stage
+ Stages
Subscription
- TetrahedronBufferGeometryProps
- TetrahedronGeometryProps
- TextureProps
+ ThreeElement
ThreeElements
ThreeEvent
- TorusBufferGeometryProps
- TorusGeometryProps
- TorusKnotBufferGeometryProps
- TorusKnotGeometryProps
- TubeBufferGeometryProps
- TubeGeometryProps
- Uint16BufferAttributeProps
- Uint32BufferAttributeProps
- Uint8BufferAttributeProps
- Vector2
- Vector2Props
- Vector3
- Vector3Props
- Vector4
- Vector4Props
- VideoTextureProps
+ UpdateCallback
Viewport
- WireframeGeometryProps
+ XRManager
_roots
act
addAfterEffect
addEffect
addTail
@@ -2116 +767 @@
useGraph
useInstanceHandle
useLoader
useStore
useThree
+ useUpdate

@CodyJasonBennett CodyJasonBennett marked this pull request as draft October 31, 2022 08:27
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 31, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5d04728:

Sandbox Source
example Configuration

@CodyJasonBennett CodyJasonBennett marked this pull request as ready for review October 31, 2022 11:50
@CodyJasonBennett CodyJasonBennett changed the title chore(tests): add exports snapshots for targets [v9] chore(tests): add exports snapshots for targets Nov 1, 2022
@CodyJasonBennett CodyJasonBennett merged commit ce90b8f into v9 Nov 1, 2022
@CodyJasonBennett CodyJasonBennett deleted the chore/snapshot-exports branch November 1, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant