mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
14 lines
350 B
TypeScript
14 lines
350 B
TypeScript
import { observable } from "mobx";
|
|
import { autobind, Singleton } from "../../utils";
|
|
|
|
interface ExtensionState {
|
|
displayName: string;
|
|
// Possible states the extension can be
|
|
state: "installing" | "uninstalling";
|
|
}
|
|
|
|
@autobind()
|
|
export class ExtensionStateStore extends Singleton {
|
|
extensionState = observable.map<string, ExtensionState>();
|
|
}
|