dochub-sdk 0.1.140 → 0.1.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/interfaces/ui.ts +2 -2
- package/package.json +1 -1
package/interfaces/ui.ts
CHANGED
@@ -76,7 +76,7 @@ export interface IDocHubComponentMenuComponent {
|
|
76
76
|
component: IDocHubUIComponent;
|
77
77
|
}
|
78
78
|
|
79
|
-
export type
|
79
|
+
export type DocHubComponentMenuNode = IDocHubComponentMenuItem | IDocHubComponentMenuComponent;
|
80
80
|
|
81
81
|
/**
|
82
82
|
* Если компонент имеет генерирует контекстное меню, он должен реализовывать этот интерфейс
|
@@ -86,7 +86,7 @@ export interface IDocHubComponentMenuContext {
|
|
86
86
|
* Генерирует контекстное меню
|
87
87
|
* @returns - возвращает структуру меню
|
88
88
|
*/
|
89
|
-
menuContext():
|
89
|
+
menuContext(): DocHubComponentMenuNode[];
|
90
90
|
}
|
91
91
|
|
92
92
|
/**
|