mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
0f45f82a89
commit
7ab3622712
2 files changed
+5
-5
No files matched your search
@@ -41,5 +41,5 @@ export class PageMenuRegistry<T extends PageMenuRegistration> extends BaseRegist
|
||||
}
|
||||
}
|
||||
|
||||
export const globalPageMenuRegistry = new PageMenuRegistry<Omit<PageMenuRegistration, "subMenus">>();
|
||||
export const clusterPageMenuRegistry = new PageMenuRegistry();
|
||||
export const globalPageMenuRegistry = new PageMenuRegistry<PageMenuRegistration>();
|
||||
export const clusterPageMenuRegistry = new PageMenuRegistry<PageMenuRegistration>();
|
||||
@@ -5,7 +5,7 @@ import { action } from "mobx";
|
||||
import { compile } from "path-to-regexp";
|
||||
import { BaseRegistry } from "./base-registry";
|
||||
import { LensExtension } from "../lens-extension"
|
||||
import { PageMenuTarget } from "./page-menu-registry";
|
||||
import type { PageMenuTarget } from "./page-menu-registry";
|
||||
|
||||
export interface PageRegistration {
|
||||
id: string; // will be automatically prefixed with extension name
|
||||
@@ -50,5 +50,5 @@ export class PageRegistry<T extends PageRegistration> extends BaseRegistry<T> {
|
||||
}
|
||||
}
|
||||
|
||||
export const globalPageRegistry = new PageRegistry<Omit<PageRegistration, "subPages">>();
|
||||
export const clusterPageRegistry = new PageRegistry();
|
||||
export const globalPageRegistry = new PageRegistry<PageRegistration>();
|
||||
export const clusterPageRegistry = new PageRegistry<PageRegistration>();
|
||||
Reference in new issue
Block a user