dochub-sdk 0.1.10 → 0.1.11

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.
@@ -38,6 +38,8 @@ export interface IDocHubRouter {
38
38
  registerRoute(route: object);
39
39
  // Регистрирует middleware в формате VUE2
40
40
  registerMiddleware(middleware: object);
41
+ // Указывает на какой роут перейти в DocHub
42
+ navigate(url: string);
41
43
  }
42
44
 
43
45
  export interface IDocHubContentProviders {
@@ -67,7 +69,7 @@ export interface IDocHubDocuments {
67
69
 
68
70
  export interface IDocHubEditors {
69
71
  // Регистрирует редактор на тип документа
70
- register(type: string, document: IDocHubEditor);
72
+ register(type: string, editor: IDocHubEditor);
71
73
  // Возвращает массив зарегистрированных редакторов
72
74
  fetch(): string[];
73
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",