import { uuid } from '@cloudbeaver/core-utils' ; import type { IMenuItem , IMenuItemEvents } from './IMenuItem' ; export abstract class MenuItem implements IMenuItem { readonly id : string ; readonly events ? : IMenuItemEvents ; constructor ( id ? , events ? ) { this . id = id ?? uuid ( ) ; this . events = events ; } }