@devtron-labs/devtron-fe-common-lib 0.6.0-patch-1-beta-14 → 0.6.0-patch-1-beta-16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,8 +49,21 @@ export interface BulkSelectionActionWidgetProps {
|
|
|
49
49
|
parentRef: RefObject<HTMLDivElement>;
|
|
50
50
|
showBulkRestartOption: boolean;
|
|
51
51
|
}
|
|
52
|
+
interface BulkOperationAdditionalKeysType {
|
|
53
|
+
label: string;
|
|
54
|
+
value: string;
|
|
55
|
+
isSortable: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* width to be given in gridTemplateColumns
|
|
58
|
+
*/
|
|
59
|
+
width: string;
|
|
60
|
+
}
|
|
52
61
|
export interface BulkOperation {
|
|
53
62
|
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* Would these keys beside the name
|
|
65
|
+
*/
|
|
66
|
+
additionalKeys?: BulkOperationAdditionalKeysType[];
|
|
54
67
|
operation: (signal: AbortSignal, data?: unknown) => Promise<void>;
|
|
55
68
|
}
|
|
56
69
|
export type BulkOperationModalProps = {
|