UNPKG

@faakhir/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

32 lines (31 loc) 1.09 kB
export interface DrawerModeState { isDetailDrawerEnabled: boolean; selectedResource?: { kind: string; metadata: { name: string; namespace?: string; }; /** * If the selected resource is a custom resource you should provide * the name of the custom resource definition */ customResourceDefinition?: string; cluster: string; }; } export declare const setDetailDrawerEnabled: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "drawerMode/setDetailDrawerEnabled">, setSelectedResource: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{ kind: string; metadata: { name: string; namespace?: string; }; /** * If the selected resource is a custom resource you should provide * the name of the custom resource definition */ customResourceDefinition?: string; cluster: string; } | undefined, "drawerMode/setSelectedResource">; declare const _default: import("redux").Reducer<DrawerModeState>; export default _default;