mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
18 lines
829 B
TypeScript
18 lines
829 B
TypeScript
import type {
|
|
AppPreferenceRegistration, ClusterFeatureRegistration,
|
|
KubeObjectMenuRegistration, KubeObjectDetailRegistration,
|
|
PageRegistration, StatusBarRegistration
|
|
} from "./registries"
|
|
import { observable } from "mobx";
|
|
import { LensExtension } from "./lens-extension"
|
|
|
|
export class LensRendererExtension extends LensExtension {
|
|
@observable.shallow globalPages: PageRegistration[] = []
|
|
@observable.shallow clusterPages: PageRegistration[] = []
|
|
@observable.shallow appPreferences: AppPreferenceRegistration[] = []
|
|
@observable.shallow clusterFeatures: ClusterFeatureRegistration[] = []
|
|
@observable.shallow statusBarItems: StatusBarRegistration[] = []
|
|
@observable.shallow kubeObjectDetailItems: KubeObjectDetailRegistration[] = []
|
|
@observable.shallow kubeObjectMenuItems: KubeObjectMenuRegistration[] = []
|
|
}
|