fix: remove state from CliToolInfo (#8603)

* fix: remove state from CliToolInfo
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

* fix: typecheck

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>

---------

Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
This commit is contained in:
axel7083 2024-08-27 13:45:02 +02:00 committed by GitHub
parent 30f961507e
commit b32e887c91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -4361,6 +4361,7 @@ declare module '@podman-desktop/api' {
export type CliToolState = 'registered';
export interface CliTool extends CliToolInfo, Disposable {
state: CliToolState;
updateVersion(version: CliToolUpdateOptions): void;
onDidUpdateVersion: Event<string>;
@ -4376,7 +4377,6 @@ declare module '@podman-desktop/api' {
name: string;
displayName: string;
markdownDescription: string;
state: CliToolState;
images: ProviderImages;
version?: string;
extensionInfo: {

View file

@ -162,7 +162,6 @@ export class CliToolRegistry {
name: cliTool.name,
displayName: cliTool.displayName,
markdownDescription: cliTool.markdownDescription,
state: cliTool.state,
images: cliTool.images,
version: cliTool.version,
extensionInfo: {