dochub-sdk 0.1.111 → 0.1.113

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.
@@ -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; // Произвольные ключи и значения
@@ -73,7 +74,7 @@ export interface IDocHubObjects {
73
74
  * @param uid - Идентификатор типа объекта
74
75
  * @returns - IDocHubEditorItem
75
76
  */
76
- getEditor(uid: string): Promise<IDocHubObjectEditorItem>;
77
+ getObjectEditor(uid: string): Promise<IDocHubObjectEditorItem>;
77
78
 
78
79
  /**
79
80
  * Генерирует URL для редактирования объекта по указанному пути
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.111",
3
+ "version": "0.1.113",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",