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