Add ability to search and activate entities via the command dialog (#3692)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-09-23 13:18:31 -04:00
1 parent 3c55cba40d
commit 3c77c06519
5 files changed
+90 -3

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ import { Singleton } from "../../common/utils";
import { LensExtension } from "../lens-extension";
export class BaseRegistry<T, I = T> extends Singleton {
private items = observable.map<T, I>([], {deep: false});
private items = observable.map<T, I>([], { deep: false });
constructor() {
super();
@@ -25,9 +25,9 @@ import { BaseRegistry } from "./base-registry";
import type { LensExtension } from "../lens-extension";
import type { CatalogEntity } from "../../common/catalog";
export type CommandContext = {
export interface CommandContext {
entity?: CatalogEntity;
};
}
export interface CommandRegistration {
id: string;