mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
2 files changed
+2
-2
No files matched your search
@@ -32,7 +32,7 @@ export interface WebLinkStatus extends CatalogEntityStatus {
|
|||||||
|
|
||||||
export type WebLinkSpec = {
|
export type WebLinkSpec = {
|
||||||
url: string;
|
url: string;
|
||||||
triggerOnRunAfterOnClickDetailIcon?: true,
|
triggerOnRunAfterOnClickDetailIcon?: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
|
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export interface CatalogCategoryEvents {
|
|||||||
load: () => void;
|
load: () => void;
|
||||||
catalogAddMenu: (context: CatalogEntityAddMenuContext) => void;
|
catalogAddMenu: (context: CatalogEntityAddMenuContext) => void;
|
||||||
contextMenuOpen: (entity: CatalogEntity, context: CatalogEntityContextMenuContext) => void;
|
contextMenuOpen: (entity: CatalogEntity, context: CatalogEntityContextMenuContext) => void;
|
||||||
onClickDetailIcon: (entity: CatalogEntity, context: CatalogEntityActionContext) => void;
|
onClickDetailIcon: (entity: CatalogEntity, context: CatalogEntityActionContext) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export abstract class CatalogCategory extends (EventEmitter as new () => TypedEmitter<CatalogCategoryEvents>) {
|
export abstract class CatalogCategory extends (EventEmitter as new () => TypedEmitter<CatalogCategoryEvents>) {
|
||||||
|
|||||||
Reference in new issue
Block a user