dochub-sdk 0.1.371 → 0.1.373

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.
@@ -12,7 +12,7 @@ class DocHubEditorExitPermitter {
12
12
  constructor(...params) {
13
13
  DocHub.router.registerMiddleware({
14
14
  beforeEach: async(to, from, next): Promise<void> => {
15
- debugger;
15
+ this.onBeforeEach(to, from, next);
16
16
  }
17
17
  });
18
18
  }
@@ -68,11 +68,11 @@ export interface IDocHubProblem {
68
68
 
69
69
  export enum DocHubProblemsEvents {
70
70
  // Процесс поиска проблем стартовал
71
- startReview = 'dochub-problems-review-start',
71
+ startReview = '#dochub-problems-review-start',
72
72
  // Валидатор завершил работу
73
- validatorReviewed = 'dochub-problems-validator-reviewed',
73
+ validatorReviewed = '#dochub-problems-validator-reviewed',
74
74
  // Процесс поиска проблем завершился
75
- finishReview = 'dochub-problems-review-finish',
75
+ finishReview = '#dochub-problems-review-finish',
76
76
  }
77
77
 
78
78
  /**
@@ -115,7 +115,7 @@ export interface IDocHubProblems {
115
115
  /**
116
116
  * Возвращает зарегистрированные проблемы
117
117
  */
118
- fetchProblems(validator?: IDocHubValidatorUID | IDocHubValidatorUID[]): Promise<IDocHubProblem[]>
118
+ fetchProblems(validator?: IDocHubValidatorUID | IDocHubValidatorUID[] | RegExp): Promise<IDocHubProblem[]>
119
119
  /**
120
120
  * Возвращает валидаторы
121
121
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.371",
3
+ "version": "0.1.373",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",