dochub-sdk 0.1.74 → 0.1.75

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.
@@ -110,7 +110,7 @@ export interface IDocHubDataLake {
110
110
  * Регистрирует редактор ресурсов
111
111
  * @param pattern - RegExp contentType ресурса
112
112
  * @param component - VUE компонент для редактирования ресурса
113
- * @param title - Название редактора объекта
113
+ * @param title - Название редактора ресурса
114
114
  */
115
115
  registerEditor(pattern: string, component: IDocHubResourceEditorItem, title?: string);
116
116
  /**
@@ -24,6 +24,7 @@ export interface IDocHubObjectEditorComponent {
24
24
  export interface IDocHubObjectEditorItem {
25
25
  component: IDocHubObjectEditorComponent;
26
26
  uid: string;
27
+ title: string;
27
28
  }
28
29
 
29
30
  // Интерфейс доступа к задекларированным объектам в DataLake
@@ -47,8 +48,9 @@ export interface IDocHubObjects {
47
48
  * Регистрирует редактор объекта
48
49
  * @param uid - Идентификатор типа объекта
49
50
  * @param component - VUE компонент для редактирования объекта
51
+ * @param title - Название редактора объекта
50
52
  */
51
- registerEditor(uid: string, component: IDocHubObjectEditorComponent);
53
+ registerEditor(uid: string, component: IDocHubObjectEditorComponent, title?: string);
52
54
  /**
53
55
  * Возвращает массив зарегистрированных редакторов объектов
54
56
  * @returns - Массив зарегистрированных редакторов объектов
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",