dochub-sdk 0.1.213 → 0.1.215

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.
@@ -56,7 +56,8 @@ export enum EditorEvents {
56
56
  */
57
57
  export enum DocHubEditorType {
58
58
  file = 'file',
59
- object = 'object'
59
+ object = 'object',
60
+ desk = 'desk'
60
61
  }
61
62
 
62
63
  export type DocHubContextUID = DocHubUID;
@@ -88,6 +89,10 @@ export type DocHubEditorURI = string;
88
89
  */
89
90
  export type DocHubEditorContext = DocHubEditorFileContext | DocHubEditorObjectContext;
90
91
 
92
+ /**
93
+ * Предопределенный идентификатор контекста рабочего стола
94
+ */
95
+ export const DESK_CONTEXT_UID = '00000000-0000-0000-0000-000000000000';
91
96
 
92
97
  /**
93
98
  * Интерфейс взаимодействия с редакторами
@@ -110,4 +115,5 @@ export interface IDocHubEditors {
110
115
  * @param data - Данные, которые будут смонтированы
111
116
  */
112
117
  mountContextArea(prop: string, data: any);
118
+
113
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.213",
3
+ "version": "0.1.215",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",