Rename BackstageCommand to CliCommand and CommandContext to CliCommandContext
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { BackstageCommand, CliPlugin } from '@backstage/cli-node';
|
||||
import { CliCommand, CliPlugin } from '@backstage/cli-node';
|
||||
import { OpaqueType } from '@internal/opaque';
|
||||
|
||||
export const OpaqueCliPlugin = OpaqueType.create<{
|
||||
@@ -22,7 +22,7 @@ export const OpaqueCliPlugin = OpaqueType.create<{
|
||||
versions: {
|
||||
readonly version: 'v1';
|
||||
readonly packageName: string;
|
||||
readonly commands: Promise<ReadonlyArray<BackstageCommand>>;
|
||||
readonly commands: Promise<ReadonlyArray<CliCommand>>;
|
||||
};
|
||||
}>({
|
||||
type: '@backstage/CliPlugin',
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { BackstageCommand } from '@backstage/cli-node';
|
||||
import { CliCommand } from '@backstage/cli-node';
|
||||
import { OpaqueType } from '@internal/opaque';
|
||||
|
||||
/** @internal */
|
||||
@@ -46,7 +46,7 @@ export const OpaqueCommandLeafNode = OpaqueType.create<{
|
||||
versions: {
|
||||
readonly version: 'v1';
|
||||
readonly name: string;
|
||||
readonly command: BackstageCommand;
|
||||
readonly command: CliCommand;
|
||||
};
|
||||
}>({
|
||||
type: '@backstage/CommandLeafNode',
|
||||
|
||||
Reference in New Issue
Block a user