mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
14 lines
370 B
TypeScript
14 lines
370 B
TypeScript
// Extensions API -> Global menu customizations
|
|
|
|
import type { MenuItemConstructorOptions } from "electron";
|
|
import { BaseRegistry } from "./base-registry";
|
|
|
|
export interface MenuRegistration extends MenuItemConstructorOptions {
|
|
parentId: string;
|
|
}
|
|
|
|
export class MenuRegistry extends BaseRegistry<MenuRegistration> {
|
|
}
|
|
|
|
export const menuRegistry = new MenuRegistry();
|