From d668766fec3f38f9e9a0cdacab898b01b40599f7 Mon Sep 17 00:00:00 2001 From: Gene Johnston Date: Mon, 23 Oct 2023 16:19:39 -0400 Subject: [PATCH] Fix import compile errors in newly included tests Signed-off-by: Gene Johnston --- .../lib/sample-plugin/cmd/bar/bar.handler.d.ts | 2 +- .../lib/sample-plugin/cmd/foo/foo.handler.d.ts | 2 +- .../lib/sample-plugin/healthCheck.handler.d.ts | 2 +- .../lib/sample-plugin/cmd/bar/bar.handler.d.ts | 2 +- .../lib/sample-plugin/cmd/foo/foo.handler.d.ts | 2 +- .../cmd/globgroup/globcmd1/globcmd1.definition.d.ts | 2 +- .../cmd/globgroup/globcmd1/globcmd1.handler.d.ts | 2 +- .../cmd/globgroup/globcmd2/globcmd2.definition.d.ts | 2 +- .../cmd/globgroup/globcmd2/globcmd2.handler.d.ts | 2 +- .../sample-plugin/cmd/globgroup/globgroup.definition.d.ts | 2 +- .../normal_plugin_3/lib/sample-plugin/configuration.d.ts | 2 +- .../lib/sample-plugin/healthCheck.handler.d.ts | 2 +- .../lib/sample-plugin/profiles/BarProfileConfig.d.ts | 2 +- .../lib/sample-plugin/profiles/FooProfileConfig.d.ts | 2 +- .../sample-plugin/profiles/FooProfileValidationPlan.d.ts | 2 +- .../normal_plugin_misc/lib/sample-plugin/index.d.ts | 6 ++++-- 16 files changed, 19 insertions(+), 17 deletions(-) diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/bar/bar.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/bar/bar.handler.d.ts index ccd9d04822..ecc751945c 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/bar/bar.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/bar/bar.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; /** * Defining handler to be use for the 'bar' command. */ diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/foo/foo.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/foo/foo.handler.d.ts index aea23e5bd4..622d44f45a 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/foo/foo.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/cmd/foo/foo.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; export default class FooHandler implements ICommandHandler { public process(params: IHandlerParameters): Promise; } diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/healthCheck.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/healthCheck.handler.d.ts index f5393ea2fe..d87293706b 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/healthCheck.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_2/lib/sample-plugin/healthCheck.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; export default class HealthCheckHandler implements ICommandHandler { public process(params: IHandlerParameters): Promise; } diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/bar/bar.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/bar/bar.handler.d.ts index ccd9d04822..ecc751945c 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/bar/bar.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/bar/bar.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; /** * Defining handler to be use for the 'bar' command. */ diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/foo/foo.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/foo/foo.handler.d.ts index aea23e5bd4..622d44f45a 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/foo/foo.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/foo/foo.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; export default class FooHandler implements ICommandHandler { public process(params: IHandlerParameters): Promise; } diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.definition.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.definition.d.ts index 34da07e129..d49223a05e 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.definition.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.definition.d.ts @@ -9,5 +9,5 @@ * */ -import { ICommandDefinition } from "imperative"; +import { ICommandDefinition } from "@zowe/imperative"; export declare const GlobCmd1Definition: ICommandDefinition; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.handler.d.ts index 54fe381e12..56108fd594 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd1/globcmd1.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; /** * Defining handler to be use for the 'bar' command. */ diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.definition.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.definition.d.ts index d092b90d70..47cdae63e9 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.definition.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.definition.d.ts @@ -9,5 +9,5 @@ * */ -import { ICommandDefinition } from "imperative"; +import { ICommandDefinition } from "@zowe/imperative"; export declare const GlobCmd2Definition: ICommandDefinition; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.handler.d.ts index 3fe2c5201d..86f5886c25 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globcmd2/globcmd2.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; /** * Defining handler to be use for the 'bar' command. */ diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globgroup.definition.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globgroup.definition.d.ts index f8c87da6bf..0ebf63ff74 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globgroup.definition.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/cmd/globgroup/globgroup.definition.d.ts @@ -9,6 +9,6 @@ * */ -import { ICommandDefinition } from "imperative"; +import { ICommandDefinition } from "@zowe/imperative"; declare const GlobGroupDefinition: ICommandDefinition; export = GlobGroupDefinition; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/configuration.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/configuration.d.ts index df2cb6bbd9..18bda355ce 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/configuration.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/configuration.d.ts @@ -9,6 +9,6 @@ * */ -import { IImperativeConfig } from "imperative"; +import { IImperativeConfig } from "@zowe/imperative"; declare const config: IImperativeConfig; export = config; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/healthCheck.handler.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/healthCheck.handler.d.ts index f5393ea2fe..d87293706b 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/healthCheck.handler.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/healthCheck.handler.d.ts @@ -9,7 +9,7 @@ * */ -import { ICommandHandler, IHandlerParameters } from "imperative"; +import { ICommandHandler, IHandlerParameters } from "@zowe/imperative"; export default class HealthCheckHandler implements ICommandHandler { public process(params: IHandlerParameters): Promise; } diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/BarProfileConfig.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/BarProfileConfig.d.ts index 2d346ab7f2..e44d668747 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/BarProfileConfig.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/BarProfileConfig.d.ts @@ -9,5 +9,5 @@ * */ -import { ICommandProfileTypeConfiguration } from "imperative"; +import { ICommandProfileTypeConfiguration } from "@zowe/imperative"; export declare const BarProfileConfig: ICommandProfileTypeConfiguration; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileConfig.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileConfig.d.ts index 23cfd40f87..04ecd37df6 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileConfig.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileConfig.d.ts @@ -9,5 +9,5 @@ * */ -import { ICommandProfileTypeConfiguration } from "imperative"; +import { ICommandProfileTypeConfiguration } from "@zowe/imperative"; export declare const FooProfileConfig: ICommandProfileTypeConfiguration; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileValidationPlan.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileValidationPlan.d.ts index c650b55554..3497620481 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileValidationPlan.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_3/lib/sample-plugin/profiles/FooProfileValidationPlan.d.ts @@ -9,7 +9,7 @@ * */ -import { IProfileValidationPlan, IProfileValidationTask } from "imperative"; +import { IProfileValidationPlan, IProfileValidationTask } from "@zowe/imperative"; declare class FooProfileValidationPlan implements IProfileValidationPlan { public readonly tasks: IProfileValidationTask[]; public readonly failureSuggestions: string; diff --git a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_misc/lib/sample-plugin/index.d.ts b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_misc/lib/sample-plugin/index.d.ts index 6e3215bd99..881b4b5c35 100644 --- a/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_misc/lib/sample-plugin/index.d.ts +++ b/packages/imperative/__tests__/src/packages/imperative/plugins/test_plugins/normal_plugin_misc/lib/sample-plugin/index.d.ts @@ -10,5 +10,7 @@ */ export * from "./healthCheck.handler"; -export * from "./cmd/foo/foo.handler"; -export * from "./cmd/bar/bar.handler"; +export * from "./cmd/imperative-apis/imperativeApis.handler"; +export * from "./cmd/imperative-config/imperativeConfig.handler"; +export * from "./cmd/imperative-error/imperativeError.handler"; +export * from "./cmd/imperative-logging/imperativeLogging.handler";