@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
21 lines (20 loc) • 572 B
TypeScript
/**
* Store the table column visibility settings in local storage.
*
* @param tableId - The ID of the table.
* @param columns - The columns to store.
*/
export declare function storeTableSettings(tableId: string, columns: {
id?: string;
show: boolean;
}[]): void;
/**
* Load the table column visibility settings from local storage for a given table ID.
*
* @param tableId - The ID of the table.
* @returns The table settings for the given table ID.
*/
export declare function loadTableSettings(tableId: string): {
id: string;
show: boolean;
}[];