Skip to content

Commit 5dd90e0

Browse files
author
Luca Forstner
committed
Reexp
1 parent 18ef7f2 commit 5dd90e0

File tree

2 files changed

+193
-3
lines changed

2 files changed

+193
-3
lines changed

packages/core/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// TODO(v9): Don't have this file be in the "utils-hoist" folder but "utils" folder - it's cleaner
2-
31
export type { ClientClass as SentryCoreCurrentScopes } from './sdk';
42
export type { AsyncContextStrategy } from './asyncContext/types';
53
export type { Carrier } from './carrier';
@@ -107,7 +105,6 @@ export { thirdPartyErrorFilterIntegration } from './integrations/third-party-err
107105
// eslint-disable-next-line deprecation/deprecation
108106
export { metrics } from './metrics/exports';
109107
export { profiler } from './profiling';
110-
export type { MetricData } from '@sentry/types';
111108
// eslint-disable-next-line deprecation/deprecation
112109
export { metricsDefault } from './metrics/exports-default';
113110
export { BrowserMetricsAggregator } from './metrics/browser-aggregator';
@@ -123,4 +120,7 @@ export { captureFeedback } from './feedback';
123120
// eslint-disable-next-line deprecation/deprecation
124121
export { getCurrentHubShim, getCurrentHub } from './getCurrentHubShim';
125122

123+
// TODO(v9): Make this structure pretty again and don't do "export *"
126124
export * from './utils-hoist/index';
125+
// TODO(v9): Make this structure pretty again and don't do "export *"
126+
export * from './types-hoist/index';

packages/types/src/index.ts

Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
export type {
2+
Attachment,
3+
Breadcrumb,
4+
BreadcrumbHint,
5+
FetchBreadcrumbData,
6+
XhrBreadcrumbData,
7+
FetchBreadcrumbHint,
8+
XhrBreadcrumbHint,
9+
Client,
10+
ClientReport,
11+
Outcome,
12+
EventDropReason,
13+
Context,
14+
Contexts,
15+
DeviceContext,
16+
OsContext,
17+
AppContext,
18+
CultureContext,
19+
TraceContext,
20+
CloudResourceContext,
21+
MissingInstrumentationContext,
22+
DataCategory,
23+
DsnComponents,
24+
DsnLike,
25+
DsnProtocol,
26+
DebugImage,
27+
DebugMeta,
28+
AttachmentItem,
29+
BaseEnvelopeHeaders,
30+
BaseEnvelopeItemHeaders,
31+
ClientReportEnvelope,
32+
ClientReportItem,
33+
DynamicSamplingContext,
34+
Envelope,
35+
EnvelopeItemType,
36+
EnvelopeItem,
37+
EventEnvelope,
38+
EventEnvelopeHeaders,
39+
EventItem,
40+
ReplayEnvelope,
41+
FeedbackItem,
42+
SessionEnvelope,
43+
SessionItem,
44+
UserFeedbackItem,
45+
CheckInItem,
46+
CheckInEnvelope,
47+
StatsdItem,
48+
StatsdEnvelope,
49+
ProfileItem,
50+
ProfileChunkEnvelope,
51+
ProfileChunkItem,
52+
SpanEnvelope,
53+
SpanItem,
54+
ExtendedError,
55+
Event,
56+
EventHint,
57+
EventType,
58+
ErrorEvent,
59+
TransactionEvent,
60+
EventProcessor,
61+
Exception,
62+
Extra,
63+
Extras,
64+
Hub,
65+
Integration,
66+
IntegrationClass,
67+
IntegrationFn,
68+
Mechanism,
69+
ExtractedNodeRequestData,
70+
HttpHeaderValue,
71+
Primitive,
72+
WorkerLocation,
73+
ClientOptions,
74+
Options,
75+
Package,
76+
PolymorphicEvent,
77+
PolymorphicRequest,
78+
ThreadId,
79+
FrameId,
80+
StackId,
81+
ThreadCpuSample,
82+
ThreadCpuStack,
83+
ThreadCpuFrame,
84+
ThreadCpuProfile,
85+
ContinuousThreadCpuProfile,
86+
Profile,
87+
ProfileChunk,
88+
ReplayEvent,
89+
ReplayRecordingData,
90+
ReplayRecordingMode,
91+
FeedbackEvent,
92+
FeedbackFormData,
93+
FeedbackInternalOptions,
94+
FeedbackModalIntegration,
95+
FeedbackScreenshotIntegration,
96+
SendFeedback,
97+
SendFeedbackParams,
98+
UserFeedback,
99+
QueryParams,
100+
RequestEventData,
101+
Request,
102+
SanitizedRequestData,
103+
Runtime,
104+
CaptureContext,
105+
Scope,
106+
ScopeContext,
107+
ScopeData,
108+
SdkInfo,
109+
SdkMetadata,
110+
SessionAggregates,
111+
AggregationCounts,
112+
Session,
113+
SessionContext,
114+
SessionStatus,
115+
RequestSession,
116+
RequestSessionStatus,
117+
SessionFlusherLike,
118+
SerializedSession,
119+
SeverityLevel,
120+
Span,
121+
SentrySpanArguments,
122+
SpanOrigin,
123+
SpanAttributeValue,
124+
SpanAttributes,
125+
SpanTimeInput,
126+
SpanJSON,
127+
SpanContextData,
128+
TraceFlag,
129+
MetricSummary,
130+
SpanStatus,
131+
TimedEvent,
132+
StackFrame,
133+
Stacktrace,
134+
StackParser,
135+
StackLineParser,
136+
StackLineParserFn,
137+
PropagationContext,
138+
TracePropagationTargets,
139+
SerializedTraceData,
140+
StartSpanOptions,
141+
TraceparentData,
142+
TransactionSource,
143+
CustomSamplingContext,
144+
SamplingContext,
145+
DurationUnit,
146+
InformationUnit,
147+
FractionUnit,
148+
MeasurementUnit,
149+
NoneUnit,
150+
Measurements,
151+
Thread,
152+
Transport,
153+
TransportRequest,
154+
TransportMakeRequestResponse,
155+
InternalBaseTransportOptions,
156+
BaseTransportOptions,
157+
TransportRequestExecutor,
158+
User,
159+
WebFetchHeaders,
160+
WebFetchRequest,
161+
WrappedFunction,
162+
HandlerDataFetch,
163+
HandlerDataXhr,
164+
HandlerDataDom,
165+
HandlerDataConsole,
166+
HandlerDataHistory,
167+
HandlerDataError,
168+
HandlerDataUnhandledRejection,
169+
ConsoleLevel,
170+
SentryXhrData,
171+
SentryWrappedXMLHttpRequest,
172+
BrowserClientReplayOptions,
173+
BrowserClientProfilingOptions,
174+
CheckIn,
175+
MonitorConfig,
176+
FinishedCheckIn,
177+
InProgressCheckIn,
178+
SerializedCheckIn,
179+
MetricsAggregator,
180+
MetricBucketItem,
181+
MetricInstance,
182+
MetricData,
183+
Metrics,
184+
ParameterizedString,
185+
ContinuousProfiler,
186+
ProfilingIntegration,
187+
Profiler,
188+
ViewHierarchyData,
189+
ViewHierarchyWindow,
190+
} from '@sentry/core';

0 commit comments

Comments
 (0)