@datadog/webpack-plugin 0.0.13-6 → 0.0.13-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/index.d.ts +16 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ interface GetPluginsOptions {
|
|
|
9
9
|
};
|
|
10
10
|
logLevel?: LogLevel;
|
|
11
11
|
}
|
|
12
|
+
interface GetPluginsOptionsWithCWD extends GetPluginsOptions {
|
|
13
|
+
cwd: string;
|
|
14
|
+
}
|
|
12
15
|
|
|
13
16
|
declare const CONFIG_KEY: "telemetry";
|
|
14
17
|
|
|
@@ -34,6 +37,18 @@ type TelemetryOptions = {
|
|
|
34
37
|
timestamp?: number;
|
|
35
38
|
filters?: Filter[];
|
|
36
39
|
};
|
|
40
|
+
interface TelemetryOptionsEnabled extends TelemetryOptions {
|
|
41
|
+
disabled?: false;
|
|
42
|
+
}
|
|
43
|
+
interface OptionsWithTelemetryEnabled extends GetPluginsOptionsWithCWD {
|
|
44
|
+
[CONFIG_KEY]: TelemetryOptionsEnabled;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
type types = {
|
|
48
|
+
Metric: Metric;
|
|
49
|
+
TelemetryOptions: TelemetryOptions;
|
|
50
|
+
OptionsWithTelemetryEnabled: OptionsWithTelemetryEnabled;
|
|
51
|
+
};
|
|
37
52
|
|
|
38
53
|
interface Options extends GetPluginsOptions {
|
|
39
54
|
[CONFIG_KEY]?: TelemetryOptions;
|
|
@@ -46,5 +61,5 @@ declare const helpers: {
|
|
|
46
61
|
|
|
47
62
|
declare const datadogWebpackPlugin: (options: src.WebpackPluginOptions) => webpack.WebpackPluginInstance;
|
|
48
63
|
|
|
49
|
-
export { type Options as WebpackPluginOptions, datadogWebpackPlugin, helpers };
|
|
64
|
+
export { type types as TelemetryTypes, type Options as WebpackPluginOptions, datadogWebpackPlugin, helpers };
|
|
50
65
|
//# sourceMappingURL=index.d.ts.map
|