File tree 3 files changed +9
-7
lines changed
packages/plugins/synthetics/src
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ import type { PluginName } from '@dd/core/types';
7
7
export const CONFIG_KEY = 'synthetics' as const ;
8
8
export const PLUGIN_NAME : PluginName = 'datadog-synthetics-plugin' as const ;
9
9
10
- export const API_PREFIX = '_datadog-ci_' ;
11
- export const DEFAULT_PORT = 1234 ;
10
+ export const API_PREFIX = '_datadog-ci_' as const ;
11
+ export const DEFAULT_PORT = 1234 as const ;
Original file line number Diff line number Diff line change 5
5
import { runServer } from '@dd/core/helpers/server' ;
6
6
import type { GlobalContext , GetPlugins , Options } from '@dd/core/types' ;
7
7
import { CONFIG_KEY as ERROR_TRACKING } from '@dd/error-tracking-plugin' ;
8
- import { API_PREFIX , CONFIG_KEY , PLUGIN_NAME } from '@dd/synthetics-plugin/constants' ;
9
- import type { ServerResponse , SyntheticsOptions } from '@dd/synthetics-plugin/types' ;
10
- import { validateOptions } from '@dd/synthetics-plugin/validate' ;
11
8
import chalk from 'chalk' ;
12
9
10
+ import { API_PREFIX , CONFIG_KEY , PLUGIN_NAME } from './constants' ;
11
+ import type { ServerResponse , SyntheticsOptions } from './types' ;
12
+ import { validateOptions } from './validate' ;
13
+
13
14
export { CONFIG_KEY , PLUGIN_NAME } ;
14
15
15
16
export type types = {
Original file line number Diff line number Diff line change 3
3
// Copyright 2019-Present Datadog, Inc.
4
4
5
5
import type { Options , Logger , GlobalContext } from '@dd/core/types' ;
6
- import { CONFIG_KEY , DEFAULT_PORT } from '@dd/synthetics-plugin/constants' ;
7
- import type { SyntheticsOptionsWithDefaults } from '@dd/synthetics-plugin/types' ;
8
6
import chalk from 'chalk' ;
9
7
8
+ import { CONFIG_KEY , DEFAULT_PORT } from './constants' ;
9
+ import type { SyntheticsOptionsWithDefaults } from './types' ;
10
+
10
11
export const validateOptions = (
11
12
config : Options ,
12
13
context : GlobalContext ,
You can’t perform that action at this time.
0 commit comments