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