11import React from "react" ;
2- import { render , Box , Text , useInput , useStdout , useApp } from "ink" ;
2+ import { Box , Text , useInput , useStdout } from "ink" ;
33import TextInput from "ink-text-input" ;
44import figures from "figures" ;
55import { getClient } from "../../utils/client.js" ;
@@ -10,11 +10,7 @@ import { SuccessMessage } from "../../components/SuccessMessage.js";
1010import { StatusBadge } from "../../components/StatusBadge.js" ;
1111import { Breadcrumb } from "../../components/Breadcrumb.js" ;
1212import { MetadataDisplay } from "../../components/MetadataDisplay.js" ;
13- import {
14- Table ,
15- createTextColumn ,
16- createComponentColumn ,
17- } from "../../components/Table.js" ;
13+ import { createTextColumn } from "../../components/Table.js" ;
1814import { OperationsMenu , Operation } from "../../components/OperationsMenu.js" ;
1915import {
2016 ResourceListView ,
@@ -35,11 +31,11 @@ const ListBlueprintsUI: React.FC<{
3531 onExit ?: ( ) => void ;
3632} > = ( { onBack, onExit } ) => {
3733 const { stdout } = useStdout ( ) ;
38- const { exit : inkExit } = useApp ( ) ;
3934 const [ showDetails , setShowDetails ] = React . useState ( false ) ;
40- const [ selectedBlueprint , setSelectedBlueprint ] = React . useState < any | null > (
41- null ,
42- ) ;
35+ const [ selectedBlueprint , setSelectedBlueprint ] = React . useState <
36+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
37+ any | null
38+ > ( null ) ;
4339 const [ selectedOperation , setSelectedOperation ] = React . useState ( 0 ) ;
4440 const [ executingOperation , setExecutingOperation ] =
4541 React . useState < OperationType > ( null ) ;
@@ -55,7 +51,6 @@ const ListBlueprintsUI: React.FC<{
5551 // Calculate responsive column widths
5652 const terminalWidth = stdout ?. columns || 120 ;
5753 const showDescription = terminalWidth >= 120 ;
58- const showFullId = terminalWidth >= 80 ;
5954
6055 const statusIconWidth = 2 ;
6156 const statusTextWidth = 10 ;
0 commit comments