Skip to content

Commit fb27ffa

Browse files
committed
moving env definitions
1 parent 7522eb8 commit fb27ffa

8 files changed

Lines changed: 6 additions & 14 deletions

File tree

src/platform/packages/shared/kbn-apm-common/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@ export type {
6565
RawSettingDefinition,
6666
SettingDefinition,
6767
} from './src/agent_configuration/setting_definitions/types';
68-
export * from './src/environment/environment_filter_values';

src/platform/packages/shared/kbn-apm-types-shared/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
*/
99

1010
export * from './src/enums';
11-
export * from './src/types';
11+
export type * from './src/types';
1212
export type * from './src/interfaces';

src/platform/packages/shared/kbn-apm-types-shared/src/types/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
*/
99

1010
export type * from './common';
11-
export * from './environment_rt';

x-pack/platform/packages/shared/kbn-apm-types/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88
export * from './es_fields';
99
export type * from './es_schemas_raw';
1010
export type * from './es_schemas_ui';
11-
export type * from './src/span_links';
12-
export type * from './src/errors';
13-
export type * from './src/traces';
14-
export type * from './src/focused_trace_waterfall';
15-
export type * from './src/full_trace_waterfall';
16-
export * from './src/processor_event';
1711
export * from './src/agent_explorer';
1812
export * from './src/aggregation_type';
1913
export * from './src/annotations';

src/platform/packages/shared/kbn-apm-common/src/environment/environment_filter_values.ts renamed to x-pack/platform/packages/shared/kbn-apm-types/src/environment_filter_values.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
import { i18n } from '@kbn/i18n';
1111
import { escapeKuery } from '@kbn/es-query';
12-
import type { Environment } from '@kbn/apm-types-shared';
13-
import { SERVICE_ENVIRONMENT } from '@kbn/apm-types';
12+
import { SERVICE_ENVIRONMENT } from '../es_fields';
13+
import { Environment } from './environment_rt';
1414

1515
export const ENVIRONMENT_ALL_VALUE = 'ENVIRONMENT_ALL' as const;
1616
export const ENVIRONMENT_NOT_DEFINED_VALUE = 'ENVIRONMENT_NOT_DEFINED' as const;

src/platform/packages/shared/kbn-apm-types-shared/src/types/environment_rt.ts renamed to x-pack/platform/packages/shared/kbn-apm-types/src/environment_rt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import * as t from 'io-ts';
1111
import { nonEmptyStringRt } from '@kbn/io-ts-utils';
12-
import { ENVIRONMENT_ALL, ENVIRONMENT_NOT_DEFINED } from '@kbn/apm-common';
12+
import { ENVIRONMENT_ALL, ENVIRONMENT_NOT_DEFINED } from './environment_filter_values';
1313

1414
export const environmentStringRt = t.union([
1515
t.literal(ENVIRONMENT_NOT_DEFINED.value),

x-pack/solutions/observability/plugins/apm/common/environment_filter_values.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ export {
1616
getEnvironmentEsField,
1717
getEnvironmentKuery,
1818
getNextEnvironmentUrlParam,
19-
} from '@kbn/apm-common';
19+
} from '@kbn/apm-types';

x-pack/solutions/observability/plugins/apm/common/environment_rt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
* 2.0.
66
*/
77

8-
export { environmentStringRt, environmentRt, type Environment } from '@kbn/apm-types-shared';
8+
export { environmentStringRt, environmentRt, type Environment } from '@kbn/apm-types';

0 commit comments

Comments
 (0)