dochub-sdk 0.1.301 → 0.1.303

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.
@@ -195,7 +195,7 @@ export interface IDocHubFileEditorContext {
195
195
  // Если не определено берется из параметра openFileEditor
196
196
  contentType?: string; // Тип контента файла.
197
197
  // Если не определено берется из данных полученных о файле в процессе открытия.
198
- targetWindow?: DocHubUITargetWindow; // Где открывать указанный URI для редактирования
198
+ targetWindow?: DocHubUITargetWindow; // Где открывать указанный URI для редактирования
199
199
  [key: string]: any; // Произвольные ключи и значения
200
200
  }
201
201
 
@@ -87,6 +87,8 @@ export type DocHubEditorFileContext = {
87
87
  uid: DocHubContextUID;
88
88
  type: DocHubEditorType.file,
89
89
  title?: string;
90
+ location?: string; // Указатель точного расположения цели редактирования. Например: entities/components/schema
91
+ // Формат зависит от редактора
90
92
  meta: IDocHubFileEditorContext
91
93
  }
92
94
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.301",
3
+ "version": "0.1.303",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",