dochub-sdk 0.1.73 → 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.
- package/interfaces/datalake.ts +3 -1
- package/interfaces/objects.ts +3 -1
- package/package.json +1 -1
package/interfaces/datalake.ts
CHANGED
@@ -49,6 +49,7 @@ export interface IDocHubResourceEditorComponent {
|
|
49
49
|
export interface IDocHubResourceEditorItem {
|
50
50
|
component: IDocHubResourceEditorComponent;
|
51
51
|
pattern: string;
|
52
|
+
title: string;
|
52
53
|
}
|
53
54
|
|
54
55
|
// Интерфейс доступа к DataLake
|
@@ -109,8 +110,9 @@ export interface IDocHubDataLake {
|
|
109
110
|
* Регистрирует редактор ресурсов
|
110
111
|
* @param pattern - RegExp contentType ресурса
|
111
112
|
* @param component - VUE компонент для редактирования ресурса
|
113
|
+
* @param title - Название редактора ресурса
|
112
114
|
*/
|
113
|
-
registerEditor(pattern: string, component: IDocHubResourceEditorItem);
|
115
|
+
registerEditor(pattern: string, component: IDocHubResourceEditorItem, title?: string);
|
114
116
|
/**
|
115
117
|
* Возвращает массив зарегистрированных редакторов ресурсов
|
116
118
|
* @returns - Массив зарегистрированных редакторов объектов
|
package/interfaces/objects.ts
CHANGED
@@ -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 - Массив зарегистрированных редакторов объектов
|