mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Expose registration and related component interfaces to extensions (#1322)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
d0102a2d9a
commit
bcbbe140b9
@ -10,6 +10,7 @@ import * as EventBus from "./event-bus"
|
|||||||
import * as Store from "./stores"
|
import * as Store from "./stores"
|
||||||
import * as Util from "./utils"
|
import * as Util from "./utils"
|
||||||
import * as ClusterFeature from "./cluster-feature"
|
import * as ClusterFeature from "./cluster-feature"
|
||||||
|
import * as Interface from "../interfaces"
|
||||||
|
|
||||||
// TODO: allow to expose windowManager.navigate() as Navigation.navigate() in runtime
|
// TODO: allow to expose windowManager.navigate() as Navigation.navigate() in runtime
|
||||||
export let windowManager: WindowManager;
|
export let windowManager: WindowManager;
|
||||||
@ -18,6 +19,7 @@ export {
|
|||||||
App,
|
App,
|
||||||
EventBus,
|
EventBus,
|
||||||
ClusterFeature,
|
ClusterFeature,
|
||||||
|
Interface,
|
||||||
Store,
|
Store,
|
||||||
Util,
|
Util,
|
||||||
}
|
}
|
||||||
|
|||||||
1
src/extensions/interfaces/index.ts
Normal file
1
src/extensions/interfaces/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from "./registrations"
|
||||||
7
src/extensions/interfaces/registrations.ts
Normal file
7
src/extensions/interfaces/registrations.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export type { AppPreferenceRegistration, AppPreferenceComponents } from "../registries/app-preference-registry"
|
||||||
|
export type { ClusterFeatureRegistration, ClusterFeatureComponents } from "../registries/cluster-feature-registry"
|
||||||
|
export type { KubeObjectDetailRegistration, KubeObjectDetailComponents } from "../registries/kube-object-detail-registry"
|
||||||
|
export type { KubeObjectMenuRegistration, KubeObjectMenuComponents } from "../registries/kube-object-menu-registry"
|
||||||
|
export type { KubeObjectStatusRegistration } from "../registries/kube-object-status-registry"
|
||||||
|
export type { PageRegistration, PageComponents } from "../registries/page-registry"
|
||||||
|
export type { StatusBarRegistration } from "../registries/status-bar-registry"
|
||||||
Loading…
Reference in New Issue
Block a user