SpringModelService minor refactoring and flattening

This commit is contained in:
aboyko
2023-05-10 11:55:04 -04:00
parent 98a4c9b3e7
commit a3a83eb70a
9 changed files with 38 additions and 39 deletions

View File

@@ -63,9 +63,8 @@ export interface ExtensionAPI {
*
* Returns Spring Model object.
*/
readonly getSpringModel: () => SpringModel;
readonly getSpringIndex: () => SpringIndex;
readonly onSpringModelUpdated: Event<void>;
}
interface LiveProcessDataQuery {
@@ -108,8 +107,9 @@ interface InjectionPoint {
readonly location: Location;
}
interface SpringModel {
interface SpringIndex {
readonly beans: (params: BeansParams) => Promise<Bean[]>;
readonly onSpringIndexUpdated: Event<void>;
}
interface BeansParams {