Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: hardikpnsp <hardikpnsp@gmail.com>
This commit is contained in:
parent
ed3d8b574d
commit
e88148235d
|
@ -7,6 +7,7 @@
|
|||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true,
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../../packages/kbn-analytics/src",
|
||||
"types": [
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
*/
|
||||
|
||||
export { ErrorReporter } from './error_reporter';
|
||||
export { TaskContext, createTaskContext } from './task_context';
|
||||
|
||||
export type { TaskContext } from './task_context';
|
||||
export { createTaskContext } from './task_context';
|
||||
|
||||
export { parseConfigsTask } from './parse_configs_task';
|
||||
export { extractCollectorsTask } from './extract_collectors_task';
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"sourceMap": true,
|
||||
"sourceRoot": "../../../../packages/kbn-telemetry-tools/src"
|
||||
"sourceRoot": "../../../../packages/kbn-telemetry-tools/src",
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"common/*",
|
||||
|
|
|
@ -9,7 +9,5 @@
|
|||
export { getTelemetryOptIn } from './get_telemetry_opt_in';
|
||||
export { getTelemetrySendUsageFrom } from './get_telemetry_send_usage_from';
|
||||
export { getTelemetryAllowChangingOptInStatus } from './get_telemetry_allow_changing_opt_in_status';
|
||||
export {
|
||||
getTelemetryFailureDetails,
|
||||
TelemetryFailureDetails,
|
||||
} from './get_telemetry_failure_details';
|
||||
export { getTelemetryFailureDetails } from './get_telemetry_failure_details';
|
||||
export type { TelemetryFailureDetails } from './get_telemetry_failure_details';
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import { PluginInitializerContext } from 'kibana/public';
|
||||
import { TelemetryPlugin, TelemetryPluginConfig } from './plugin';
|
||||
export { TelemetryPluginStart, TelemetryPluginSetup } from './plugin';
|
||||
export type { TelemetryPluginStart, TelemetryPluginSetup } from './plugin';
|
||||
|
||||
export function plugin(initializerContext: PluginInitializerContext<TelemetryPluginConfig>) {
|
||||
return new TelemetryPlugin(initializerContext);
|
||||
|
|
|
@ -13,7 +13,7 @@ import { configSchema, TelemetryConfigType } from './config';
|
|||
|
||||
export { FetcherTask } from './fetcher';
|
||||
export { handleOldSettings } from './handle_old_settings';
|
||||
export { TelemetryPluginSetup, TelemetryPluginStart } from './plugin';
|
||||
export type { TelemetryPluginSetup, TelemetryPluginStart } from './plugin';
|
||||
|
||||
export const config: PluginConfigDescriptor<TelemetryConfigType> = {
|
||||
schema: configSchema,
|
||||
|
@ -34,9 +34,12 @@ export { constants };
|
|||
export {
|
||||
getClusterUuids,
|
||||
getLocalStats,
|
||||
TelemetryLocalStats,
|
||||
DATA_TELEMETRY_ID,
|
||||
DataTelemetryIndex,
|
||||
DataTelemetryPayload,
|
||||
buildDataTelemetryPayload,
|
||||
} from './telemetry_collection';
|
||||
|
||||
export type {
|
||||
TelemetryLocalStats,
|
||||
DataTelemetryIndex,
|
||||
DataTelemetryPayload,
|
||||
} from './telemetry_collection';
|
||||
|
|
|
@ -7,10 +7,5 @@
|
|||
*/
|
||||
|
||||
export { DATA_TELEMETRY_ID } from './constants';
|
||||
|
||||
export {
|
||||
getDataTelemetry,
|
||||
buildDataTelemetryPayload,
|
||||
DataTelemetryPayload,
|
||||
DataTelemetryIndex,
|
||||
} from './get_data_telemetry';
|
||||
export { getDataTelemetry, buildDataTelemetryPayload } from './get_data_telemetry';
|
||||
export type { DataTelemetryPayload, DataTelemetryIndex } from './get_data_telemetry';
|
||||
|
|
|
@ -6,12 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
DATA_TELEMETRY_ID,
|
||||
DataTelemetryIndex,
|
||||
DataTelemetryPayload,
|
||||
buildDataTelemetryPayload,
|
||||
} from './get_data_telemetry';
|
||||
export { getLocalStats, TelemetryLocalStats } from './get_local_stats';
|
||||
export { DATA_TELEMETRY_ID, buildDataTelemetryPayload } from './get_data_telemetry';
|
||||
export type { DataTelemetryIndex, DataTelemetryPayload } from './get_data_telemetry';
|
||||
export { getLocalStats } from './get_local_stats';
|
||||
export type { TelemetryLocalStats } from './get_local_stats';
|
||||
export { getClusterUuids } from './get_cluster_stats';
|
||||
export { registerCollection } from './register_collection';
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
export { getTelemetrySavedObject } from './get_telemetry_saved_object';
|
||||
export { updateTelemetrySavedObject } from './update_telemetry_saved_object';
|
||||
export {
|
||||
export type {
|
||||
TelemetrySavedObject,
|
||||
TelemetrySavedObjectAttributes,
|
||||
} from '../../common/telemetry_config/types';
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"public/**/**/*",
|
||||
|
|
|
@ -16,7 +16,7 @@ export function plugin(initializerContext: PluginInitializerContext) {
|
|||
return new TelemetryCollectionManagerPlugin(initializerContext);
|
||||
}
|
||||
|
||||
export {
|
||||
export type {
|
||||
TelemetryCollectionManagerPluginSetup,
|
||||
TelemetryCollectionManagerPluginStart,
|
||||
StatsCollectionConfig,
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"server/**/*",
|
||||
|
|
|
@ -10,7 +10,7 @@ import { TelemetryManagementSectionPlugin } from './plugin';
|
|||
|
||||
export { OptInExampleFlyout } from './components';
|
||||
|
||||
export { TelemetryManagementSectionPluginSetup } from './plugin';
|
||||
export type { TelemetryManagementSectionPluginSetup } from './plugin';
|
||||
export function plugin() {
|
||||
return new TelemetryManagementSectionPlugin();
|
||||
}
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"public/**/*",
|
||||
|
|
|
@ -10,7 +10,7 @@ import { PluginInitializerContext } from '../../../core/public';
|
|||
import { UsageCollectionPlugin } from './plugin';
|
||||
|
||||
export { METRIC_TYPE } from '@kbn/analytics';
|
||||
export { UsageCollectionSetup, UsageCollectionStart } from './plugin';
|
||||
export type { UsageCollectionSetup, UsageCollectionStart } from './plugin';
|
||||
export { TrackApplicationView } from './components';
|
||||
|
||||
export function plugin(initializerContext: PluginInitializerContext) {
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { CollectorSet, CollectorSetPublic } from './collector_set';
|
||||
export {
|
||||
Collector,
|
||||
export { CollectorSet } from './collector_set';
|
||||
export type { CollectorSetPublic } from './collector_set';
|
||||
export { Collector } from './collector';
|
||||
export type {
|
||||
AllowedSchemaTypes,
|
||||
AllowedSchemaNumberTypes,
|
||||
SchemaField,
|
||||
|
@ -16,4 +17,5 @@ export {
|
|||
CollectorOptions,
|
||||
CollectorFetchContext,
|
||||
} from './collector';
|
||||
export { UsageCollector, UsageCollectorOptions } from './usage_collector';
|
||||
export { UsageCollector } from './usage_collector';
|
||||
export type { UsageCollectorOptions } from './usage_collector';
|
||||
|
|
|
@ -9,17 +9,16 @@
|
|||
import { PluginInitializerContext } from 'src/core/server';
|
||||
import { UsageCollectionPlugin } from './plugin';
|
||||
|
||||
export {
|
||||
export { Collector } from './collector';
|
||||
export type {
|
||||
AllowedSchemaTypes,
|
||||
MakeSchemaFrom,
|
||||
SchemaField,
|
||||
CollectorOptions,
|
||||
UsageCollectorOptions,
|
||||
Collector,
|
||||
CollectorFetchContext,
|
||||
} from './collector';
|
||||
|
||||
export { UsageCollectionSetup } from './plugin';
|
||||
export type { UsageCollectionSetup } from './plugin';
|
||||
export { config } from './config';
|
||||
export const plugin = (initializerContext: PluginInitializerContext) =>
|
||||
new UsageCollectionPlugin(initializerContext);
|
||||
|
|
|
@ -16,7 +16,8 @@ import {
|
|||
import { CollectorOptions, Collector, UsageCollector } from './collector';
|
||||
import { UsageCollectionSetup, CollectorFetchContext } from './index';
|
||||
|
||||
export { CollectorOptions, Collector };
|
||||
export type { CollectorOptions };
|
||||
export { Collector };
|
||||
|
||||
const logger = loggingSystemMock.createLogger();
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"public/**/*",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
import { TelemetryCollectionXpackPlugin } from './plugin';
|
||||
|
||||
export { ESLicense } from './telemetry_collection';
|
||||
export type { ESLicense } from './telemetry_collection';
|
||||
|
||||
// This exports static code and TypeScript types,
|
||||
// as well as, Kibana Platform `plugin()` initializer.
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
export { ESLicense } from './get_license';
|
||||
export type { ESLicense } from './get_license';
|
||||
export { getStatsWithXpack } from './get_stats_with_xpack';
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true
|
||||
},
|
||||
"include": [
|
||||
"common/**/*",
|
||||
|
|
Loading…
Reference in a new issue