dochub-sdk 0.1.84 → 0.1.86

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.
@@ -18,13 +18,17 @@ export enum EditorEvents {
18
18
  * События режимов
19
19
  */
20
20
  modeChanged = '$mode-changed', // Режим портала изменился
21
+ /**
22
+ * События контекста редактора
23
+ */
24
+ contextUpdated = '$edit-context-updated', // Контекст претерпел изменения
21
25
  /**
22
26
  * События редактора
23
27
  */
24
- close = '$close', // Требует закрыть редактор
25
- save = '$save', // Требует произвести сохранение
26
- create = '$create', // Требует создать новый объект
27
- delete = '$delete' // Требует удалить объект
28
+ close = '$close', // Требует закрыть редактор
29
+ save = '$save', // Требует произвести сохранение
30
+ create = '$create', // Требует создать новый объект
31
+ delete = '$delete' // Требует удалить объект
28
32
  };
29
33
 
30
34
 
@@ -41,6 +45,7 @@ export enum DocHubEditorType {
41
45
  */
42
46
  export type DocHubEditorFileContext = {
43
47
  type: DocHubEditorType.file,
48
+ title?: string;
44
49
  meta: IDocHubFileEditorContext
45
50
  }
46
51
 
@@ -49,6 +54,7 @@ export type DocHubEditorFileContext = {
49
54
  */
50
55
  export type DocHubEditorObjectContext = {
51
56
  type: DocHubEditorType.object,
57
+ title?: string;
52
58
  meta: IDocHubObjectEditorContext
53
59
  }
54
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",