Skip to content

Commit 460ecc4

Browse files
committed
feat: add additionalKeys property to BulkOperation interface for enhanced functionality
1 parent 1fac588 commit 460ecc4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Pages/ResourceBrowser/ResourceBrowser.Types.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,22 @@ export interface BulkSelectionActionWidgetProps {
7676
showBulkRestartOption: boolean
7777
}
7878

79+
interface BulkOperationAdditionalKeysType {
80+
label: string
81+
value: string
82+
isSortable: boolean
83+
/**
84+
* width to be given in gridTemplateColumns
85+
*/
86+
width: string
87+
}
88+
7989
export interface BulkOperation {
8090
name: string
91+
/**
92+
* Would these keys beside the name
93+
*/
94+
additionalKeys?: BulkOperationAdditionalKeysType[]
8195
operation: (signal: AbortSignal, data?: unknown) => Promise<void>
8296
}
8397

0 commit comments

Comments
 (0)