dochub-sdk 0.1.320 → 0.1.322

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.
@@ -97,7 +97,7 @@ export class DocHubDocumentProto extends DocHubComponentProto implements IDocHub
97
97
  */
98
98
  openEditor(uri?: string): void {
99
99
  this.baseURI && DocHub.dataLake.openFileEditor(uri || this.baseURI, {
100
- targetPath: this.profile.$base,
100
+ location: this.profile.$base.toString(),
101
101
  targetWindow: (window.event as any)?.ctrlKey ? DocHubUITargetWindow._blank : DocHubUITargetWindow._self
102
102
  });
103
103
  }
@@ -29,10 +29,11 @@ export interface IDocHubContentProvider {
29
29
  toContent(data: any): any;
30
30
  /**
31
31
  * Объяснение контента
32
- * @param content - Контент в формате обрабатываемом драйвером
32
+ * @param content - Контент в формате обрабатываемом драйвером
33
+ * Если не передан, то необходимо предоставить общую информацию о себе
33
34
  * @returns - Объяснение контента
34
35
  */
35
- explain(content: any): Promise<string>;
36
+ explain(content?: any): Promise<string>;
36
37
  /**
37
38
  * Вносит изменения из ченж-лога в контент
38
39
  * @param content - Контент в формате обрабатываемом драйвером
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.320",
3
+ "version": "0.1.322",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",