Skip to content

Commit 8b30fba

Browse files
refactor: remove unused interfaces
1 parent 878f8ec commit 8b30fba

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

src/web/src/views/cli/CLIModGeneratorProfileCommandTree.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import {
2727
} from "./interfaces";
2828
import {
2929
CLISpecsCommand,
30-
CLISpecsCommandGroup,
3130
CLISpecsSimpleCommand,
3231
CLISpecsSimpleCommandGroup,
3332
CLISpecsSimpleCommandTree,

src/web/src/views/cli/CLIModuleGenerator.tsx

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,6 @@ interface CLISpecsCommand {
7676
versions: CLISpecsCommandVersion[];
7777
}
7878

79-
interface CLISpecsCommandGroup {
80-
names: string[];
81-
help?: CLISpecsHelp;
82-
commands?: CLISpecsCommands;
83-
commandGroups?: CLISpecsCommandGroups;
84-
}
85-
86-
interface CLISpecsCommandGroups {
87-
[name: string]: CLISpecsCommandGroup;
88-
}
89-
90-
interface CLISpecsCommands {
91-
[name: string]: CLISpecsCommand;
92-
}
93-
9479
async function retrieveCommand(names: string[]): Promise<CLISpecsCommand> {
9580
return await cliApi.getSpecsCommand(names);
9681
}
@@ -390,11 +375,5 @@ const CLIModuleGeneratorWrapper = (props: any) => {
390375
return <CLIModuleGenerator params={params} {...props} />;
391376
};
392377

393-
export type {
394-
CLISpecsCommandGroup,
395-
CLISpecsCommand,
396-
CLISpecsSimpleCommandTree,
397-
CLISpecsSimpleCommandGroup,
398-
CLISpecsSimpleCommand,
399-
};
378+
export type { CLISpecsCommand, CLISpecsSimpleCommandTree, CLISpecsSimpleCommandGroup, CLISpecsSimpleCommand };
400379
export { CLIModuleGeneratorWrapper as CLIModuleGenerator };

0 commit comments

Comments
 (0)