Review and clean up public API surface types
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- react-native, typescript
Hướng nghiên cứu
Bắt đầu với các export công khai trong index.ts và báo cáo @microsoft/api-extractor được giới thiệu trong #6093. Xem xét từng kiểu export bị bỏ quên được liệt kê và quyết định xem nó có thuộc API công khai hay nên được đánh dấu @internal, bao gồm cả việc xác định liệu export logger có được chủ ý hay không. Hoàn thành khi cả 36 cảnh báo đều có cách giải quyết rõ ràng và bề mặt API phản ánh các quyết định đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
With the addition of @microsoft/api-extractor in #6093, we now have visibility into the public API surface. The tool reports 36 ae-forgotten-export warnings — types that appear in public function signatures but are not exported from index.ts.
None of these types are documented in the Sentry docs, and no users have reported needing them. TypeScript's structural typing means consumers can pass plain object literals without importing the types explicitly.
What needs reviewing
For each type, decide whether to export it (make it part of the public API) or mark it @internal (explicitly keep it private).
Options/config types (used as integration/function parameters)
ReactNativeTracingOptions,ReactNativeTracingState,ReactNativeTracingIntegrationReactNavigationIntegrationOptions,ReactNativeNavigationOptionsReactNativeClientOptions,ReactNativeTransportOptions,BaseReactNativeOptions,ReactNativeWrapperOptionsReactNativeErrorHandlersOptions,LinkedErrorsOptions,BreadcrumbsOptionsMobileReplayOptions,MobileReplayIntegrationHermesProfilingOptionsGraphQLReactNativeIntegrationOptions,SpotlightReactNativeIntegrationOptions,SupabaseReactNativeIntegrationOptionsFeedbackFormProps,FeedbackButtonProps,ScreenshotButtonProps,FeedbackFormThemeTouchEventBoundaryPropsAppStartIntegration,defaultIdleOptions
Internal/external types (likely should stay unexported)
FeedbackFormState,FeedbackIntegration,GlobalErrorBoundaryState— internal component stateReplay,ReplayConfiguration—@sentry/browserinternalsHostComponent,ViewProps— react-native typesExpoAssetInstance,ExpoImageSource,ExpoImageLoadOptions,ExpoImageRef— internal Expo types
Additional items to review
loggerfrom@sentry/browseris exported publicly — is this intentional?
- Ngôn ngữ chính
- TypeScript
- Star
- 1.8k
- Fork
- 369
- Merge trung bình
- 19 giờ 53 phút
- Pull request đã merge (30 ngày)
- 107
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/sentry-react-native
-
sendDefaultPii is reported as deprecated on ReactNativeOptions although dataCollection is hiddenCó thể đã có người làm @alwx đã nhận 6 ngày trước. Đang mởBug React-Native
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
getsentry/sentry-react-native#6830 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
React-Native Replays Task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
getsentry/sentry-react-native#6680 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improvement React-Native
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry-react-native#6143 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
React-Native Task User Feedbacks
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
getsentry/sentry-react-native#5932 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
React-Native Replays Task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
getsentry/sentry-react-native#5882 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/sentry-react-native
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
cline/mcp-marketplace#2932 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
lingdojo/kana-dojo#32188 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Portkey-AI/gateway#1844 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
rjsf-team/react-jsonschema-form#5495 ·
Maintainer thường phản hồi trong vòng 2 ngày