Skip to content

Commit

Permalink
πŸ‘Œβœ… remove internal_ exports and replace with direct import
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Jan 13, 2021
1 parent adc8e30 commit f16dd3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
7 changes: 0 additions & 7 deletions packages/rum-recorder/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,3 @@ export {
RumResourceEvent,
RumViewEvent,
} from '@datadog/browser-rum-core'

export {
Segment as internal_Segment,
CreationReason as internal_CreationReason,
IncrementalSource as internal_IncrementalSource,
RecordType as internal_RecordType,
} from './types'
2 changes: 1 addition & 1 deletion test/e2e/lib/types/serverEvents.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RumActionEvent, RumErrorEvent, RumEvent, RumResourceEvent, RumViewEvent } from '@datadog/browser-rum'
import { internal_Segment as Segment } from '@datadog/browser-rum-recorder'
import { Segment } from '../../../../packages/rum-recorder/src/types'

export interface ServerInternalMonitoringMessage {
message: string
Expand Down
6 changes: 1 addition & 5 deletions test/e2e/scenario/recorder.scenario.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
internal_CreationReason as CreationReason,
internal_IncrementalSource as IncrementalSource,
internal_RecordType as RecordType,
} from '@datadog/browser-rum-recorder'
import { CreationReason, IncrementalSource, RecordType } from '../../../packages/rum-recorder/src/types'

import { createTest } from '../lib/framework'
import { browserExecute } from '../lib/helpers/browser'
Expand Down

0 comments on commit f16dd3b

Please sign in to comment.