|
| 1 | +/* eslint-disable max-lines */ |
| 2 | + |
1 | 3 | export type { ClientClass as SentryCoreCurrentScopes } from './sdk';
|
2 | 4 | export type { AsyncContextStrategy } from './asyncContext/types';
|
3 | 5 | export type { Carrier } from './carrier';
|
@@ -120,9 +122,6 @@ export type { ReportDialogOptions } from './report-dialog';
|
120 | 122 | export { _INTERNAL_captureLog, _INTERNAL_flushLogsBuffer } from './logs/exports';
|
121 | 123 | export { consoleLoggingIntegration } from './logs/console-integration';
|
122 | 124 |
|
123 |
| -// TODO: Make this structure pretty again and don't do "export *" |
124 |
| -export * from './types-hoist/index'; |
125 |
| - |
126 | 125 | export type { FeatureFlag } from './featureFlags';
|
127 | 126 |
|
128 | 127 | export { applyAggregateErrorsToEvent } from './utils-hoist/aggregate-errors';
|
@@ -272,3 +271,175 @@ export { vercelWaitUntil } from './utils-hoist/vercelWaitUntil';
|
272 | 271 | export { SDK_VERSION } from './utils-hoist/version';
|
273 | 272 | export { getDebugImagesForResources, getFilenameToDebugIdMap } from './utils-hoist/debug-ids';
|
274 | 273 | export { escapeStringForRegex } from './utils-hoist/vendor/escapeStringForRegex';
|
| 274 | + |
| 275 | +export type { Attachment } from './types-hoist/attachment'; |
| 276 | +export type { |
| 277 | + Breadcrumb, |
| 278 | + BreadcrumbHint, |
| 279 | + FetchBreadcrumbData, |
| 280 | + XhrBreadcrumbData, |
| 281 | + FetchBreadcrumbHint, |
| 282 | + XhrBreadcrumbHint, |
| 283 | +} from './types-hoist/breadcrumb'; |
| 284 | +export type { ClientReport, Outcome, EventDropReason } from './types-hoist/clientreport'; |
| 285 | +export type { |
| 286 | + Context, |
| 287 | + Contexts, |
| 288 | + DeviceContext, |
| 289 | + OsContext, |
| 290 | + AppContext, |
| 291 | + CultureContext, |
| 292 | + TraceContext, |
| 293 | + CloudResourceContext, |
| 294 | + MissingInstrumentationContext, |
| 295 | +} from './types-hoist/context'; |
| 296 | +export type { DataCategory } from './types-hoist/datacategory'; |
| 297 | +export type { DsnComponents, DsnLike, DsnProtocol } from './types-hoist/dsn'; |
| 298 | +export type { DebugImage, DebugMeta } from './types-hoist/debugMeta'; |
| 299 | +export type { |
| 300 | + AttachmentItem, |
| 301 | + BaseEnvelopeHeaders, |
| 302 | + BaseEnvelopeItemHeaders, |
| 303 | + ClientReportEnvelope, |
| 304 | + ClientReportItem, |
| 305 | + DynamicSamplingContext, |
| 306 | + Envelope, |
| 307 | + EnvelopeItemType, |
| 308 | + EnvelopeItem, |
| 309 | + EventEnvelope, |
| 310 | + EventEnvelopeHeaders, |
| 311 | + EventItem, |
| 312 | + ReplayEnvelope, |
| 313 | + FeedbackItem, |
| 314 | + SessionEnvelope, |
| 315 | + SessionItem, |
| 316 | + UserFeedbackItem, |
| 317 | + CheckInItem, |
| 318 | + CheckInEnvelope, |
| 319 | + RawSecurityEnvelope, |
| 320 | + RawSecurityItem, |
| 321 | + ProfileItem, |
| 322 | + ProfileChunkEnvelope, |
| 323 | + ProfileChunkItem, |
| 324 | + SpanEnvelope, |
| 325 | + SpanItem, |
| 326 | + OtelLogEnvelope, |
| 327 | + OtelLogItem, |
| 328 | +} from './types-hoist/envelope'; |
| 329 | +export type { ExtendedError } from './types-hoist/error'; |
| 330 | +export type { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './types-hoist/event'; |
| 331 | +export type { EventProcessor } from './types-hoist/eventprocessor'; |
| 332 | +export type { Exception } from './types-hoist/exception'; |
| 333 | +export type { Extra, Extras } from './types-hoist/extra'; |
| 334 | +export type { Integration, IntegrationFn } from './types-hoist/integration'; |
| 335 | +export type { Mechanism } from './types-hoist/mechanism'; |
| 336 | +export type { ExtractedNodeRequestData, HttpHeaderValue, Primitive, WorkerLocation } from './types-hoist/misc'; |
| 337 | +export type { ClientOptions, Options } from './types-hoist/options'; |
| 338 | +export type { Package } from './types-hoist/package'; |
| 339 | +export type { PolymorphicEvent, PolymorphicRequest } from './types-hoist/polymorphics'; |
| 340 | +export type { |
| 341 | + ThreadId, |
| 342 | + FrameId, |
| 343 | + StackId, |
| 344 | + ThreadCpuSample, |
| 345 | + ThreadCpuStack, |
| 346 | + ThreadCpuFrame, |
| 347 | + ThreadCpuProfile, |
| 348 | + ContinuousThreadCpuProfile, |
| 349 | + Profile, |
| 350 | + ProfileChunk, |
| 351 | +} from './types-hoist/profiling'; |
| 352 | +export type { ReplayEvent, ReplayRecordingData, ReplayRecordingMode } from './types-hoist/replay'; |
| 353 | +export type { |
| 354 | + FeedbackEvent, |
| 355 | + FeedbackFormData, |
| 356 | + FeedbackInternalOptions, |
| 357 | + FeedbackModalIntegration, |
| 358 | + FeedbackScreenshotIntegration, |
| 359 | + SendFeedback, |
| 360 | + SendFeedbackParams, |
| 361 | + UserFeedback, |
| 362 | +} from './types-hoist/feedback'; |
| 363 | +export type { QueryParams, RequestEventData, SanitizedRequestData } from './types-hoist/request'; |
| 364 | +export type { Runtime } from './types-hoist/runtime'; |
| 365 | +export type { SdkInfo } from './types-hoist/sdkinfo'; |
| 366 | +export type { SdkMetadata } from './types-hoist/sdkmetadata'; |
| 367 | +export type { |
| 368 | + SessionAggregates, |
| 369 | + AggregationCounts, |
| 370 | + Session, |
| 371 | + SessionContext, |
| 372 | + SessionStatus, |
| 373 | + SerializedSession, |
| 374 | +} from './types-hoist/session'; |
| 375 | +export type { SeverityLevel } from './types-hoist/severity'; |
| 376 | +export type { |
| 377 | + Span, |
| 378 | + SentrySpanArguments, |
| 379 | + SpanOrigin, |
| 380 | + SpanAttributeValue, |
| 381 | + SpanAttributes, |
| 382 | + SpanTimeInput, |
| 383 | + SpanJSON, |
| 384 | + SpanContextData, |
| 385 | + TraceFlag, |
| 386 | +} from './types-hoist/span'; |
| 387 | +export type { SpanStatus } from './types-hoist/spanStatus'; |
| 388 | +export type { |
| 389 | + Log, |
| 390 | + LogSeverityLevel, |
| 391 | + SerializedOtelLog, |
| 392 | + SerializedLogAttribute, |
| 393 | + SerializedLogAttributeValueType, |
| 394 | +} from './types-hoist/log'; |
| 395 | +export type { TimedEvent } from './types-hoist/timedEvent'; |
| 396 | +export type { StackFrame } from './types-hoist/stackframe'; |
| 397 | +export type { Stacktrace, StackParser, StackLineParser, StackLineParserFn } from './types-hoist/stacktrace'; |
| 398 | +export type { PropagationContext, TracePropagationTargets, SerializedTraceData } from './types-hoist/tracing'; |
| 399 | +export type { StartSpanOptions } from './types-hoist/startSpanOptions'; |
| 400 | +export type { TraceparentData, TransactionSource } from './types-hoist/transaction'; |
| 401 | +export type { CustomSamplingContext, SamplingContext } from './types-hoist/samplingcontext'; |
| 402 | +export type { |
| 403 | + DurationUnit, |
| 404 | + InformationUnit, |
| 405 | + FractionUnit, |
| 406 | + MeasurementUnit, |
| 407 | + NoneUnit, |
| 408 | + Measurements, |
| 409 | +} from './types-hoist/measurement'; |
| 410 | +export type { Thread } from './types-hoist/thread'; |
| 411 | +export type { |
| 412 | + Transport, |
| 413 | + TransportRequest, |
| 414 | + TransportMakeRequestResponse, |
| 415 | + InternalBaseTransportOptions, |
| 416 | + BaseTransportOptions, |
| 417 | + TransportRequestExecutor, |
| 418 | +} from './types-hoist/transport'; |
| 419 | +export type { User } from './types-hoist/user'; |
| 420 | +export type { WebFetchHeaders, WebFetchRequest } from './types-hoist/webfetchapi'; |
| 421 | +export type { WrappedFunction } from './types-hoist/wrappedfunction'; |
| 422 | +export type { |
| 423 | + HandlerDataFetch, |
| 424 | + HandlerDataXhr, |
| 425 | + HandlerDataDom, |
| 426 | + HandlerDataConsole, |
| 427 | + HandlerDataHistory, |
| 428 | + HandlerDataError, |
| 429 | + HandlerDataUnhandledRejection, |
| 430 | + ConsoleLevel, |
| 431 | + SentryXhrData, |
| 432 | + SentryWrappedXMLHttpRequest, |
| 433 | +} from './types-hoist/instrument'; |
| 434 | +export type { BrowserClientReplayOptions, BrowserClientProfilingOptions } from './types-hoist/browseroptions'; |
| 435 | +export type { |
| 436 | + CheckIn, |
| 437 | + MonitorConfig, |
| 438 | + FinishedCheckIn, |
| 439 | + InProgressCheckIn, |
| 440 | + SerializedCheckIn, |
| 441 | +} from './types-hoist/checkin'; |
| 442 | +export type { ParameterizedString } from './types-hoist/parameterize'; |
| 443 | +export type { ContinuousProfiler, ProfilingIntegration, Profiler } from './types-hoist/profiling'; |
| 444 | +export type { ViewHierarchyData, ViewHierarchyWindow } from './types-hoist/view-hierarchy'; |
| 445 | +export type { LegacyCSPReport } from './types-hoist/csp'; |
0 commit comments