dochub-sdk 0.1.140 → 0.1.142

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/interfaces/ui.ts +2 -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 IDocHubComponentMenuNode = IDocHubComponentMenuItem | IDocHubComponentMenuComponent;
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():Promise<IDocHubComponentMenuNode[]>;
89
+ menuContext(): DocHubComponentMenuNode[];
90
90
  }
91
91
 
92
92
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.140",
3
+ "version": "0.1.142",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",