dochub-sdk 0.1.73 → 0.1.74
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/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 - Массив зарегистрированных редакторов объектов
|