|
1 | | -import type { CaptureContext, Scope } from '../scope'; |
| 1 | +import type { CaptureContext, SdkProcessingMetadata } from '../scope'; |
2 | 2 | import type { Attachment } from './attachment'; |
3 | 3 | import type { Breadcrumb } from './breadcrumb'; |
4 | 4 | import type { Contexts } from './context'; |
5 | 5 | import type { DebugMeta } from './debugMeta'; |
6 | | -import type { DynamicSamplingContext } from './envelope'; |
7 | 6 | import type { Exception } from './exception'; |
8 | 7 | import type { Extras } from './extra'; |
9 | 8 | import type { Measurements } from './measurement'; |
10 | 9 | import type { Mechanism } from './mechanism'; |
11 | 10 | import type { Primitive } from './misc'; |
12 | | -import type { PolymorphicRequest } from './polymorphics'; |
13 | 11 | import type { RequestEventData } from './request'; |
14 | 12 | import type { SdkInfo } from './sdkinfo'; |
15 | 13 | import type { SeverityLevel } from './severity'; |
@@ -54,14 +52,7 @@ export interface Event { |
54 | 52 | debug_meta?: DebugMeta; |
55 | 53 | // A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get sent to Sentry |
56 | 54 | // Note: This is considered internal and is subject to change in minors |
57 | | - sdkProcessingMetadata?: { [key: string]: unknown } & { |
58 | | - request?: PolymorphicRequest; |
59 | | - normalizedRequest?: RequestEventData; |
60 | | - dynamicSamplingContext?: Partial<DynamicSamplingContext>; |
61 | | - capturedSpanScope?: Scope; |
62 | | - capturedSpanIsolationScope?: Scope; |
63 | | - spanCountBeforeProcessing?: number; |
64 | | - }; |
| 55 | + sdkProcessingMetadata?: SdkProcessingMetadata; |
65 | 56 | transaction_info?: { |
66 | 57 | source: TransactionSource; |
67 | 58 | }; |
|
0 commit comments