dochub-sdk 0.1.112 → 0.1.114

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.
@@ -301,7 +301,7 @@ export interface IDocHubDataLake {
301
301
  * @param component - VUE компонент для редактирования файла
302
302
  * @param title - Название редактора файла
303
303
  */
304
- registerFileEditor(pattern: string, component: IDocHubFileEditorComponent, title?: string);
304
+ registerFileEditor(pattern: RegExp, component: IDocHubFileEditorComponent, title?: string);
305
305
 
306
306
  /**
307
307
  * Возвращает массив зарегистрированных редакторов файлов
@@ -11,7 +11,8 @@ export interface IDocHubObjectMeta {
11
11
  symbol?: string; // Символ объекта для визуализации на диаграммах
12
12
  title?: string; // Название объекта
13
13
  description?: string; // Описание объекта
14
- constructor?: string; // RegEx паттерн конструктора объектов
14
+ constructor?: string; // Идентификатор конструктора объектов
15
+ editor?: string; // Идентификатор редактора объектов
15
16
  }
16
17
 
17
18
  /**
@@ -32,7 +33,7 @@ export interface IDocHubObjectEditorItem {
32
33
  /**
33
34
  * Описывает контекст редактируемого объекта
34
35
  */
35
- export interface IDocHubObjectEditorContext {
36
+ export interface IDocHubObjectEditorContext extends IDocHubObjectMeta {
36
37
  path?: DataLakePath; // Путь к объекту в Data Lake
37
38
  // Если не определено берется из параметра openObjectEditor
38
39
  [key: string]: any; // Произвольные ключи и значения
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.112",
3
+ "version": "0.1.114",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",