dochub-sdk 0.1.205 → 0.1.207
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/problems.ts +3 -3
- package/package.json +1 -1
package/interfaces/problems.ts
CHANGED
@@ -4,7 +4,7 @@ import { IDocHubDataSetProfile } from "./datasets";
|
|
4
4
|
export type IDocHubProblemUID = string;
|
5
5
|
export type IDocHubValidatorUID = string;
|
6
6
|
|
7
|
-
export interface IDocHubValidatorBase
|
7
|
+
export interface IDocHubValidatorBase {
|
8
8
|
/**
|
9
9
|
* Идентификатор валидатора
|
10
10
|
*/
|
@@ -115,11 +115,11 @@ export interface IDocHubProblems {
|
|
115
115
|
/**
|
116
116
|
* Возвращает зарегистрированные проблемы
|
117
117
|
*/
|
118
|
-
fetchProblems(): Promise<IDocHubProblem[]>
|
118
|
+
fetchProblems(validator?: IDocHubValidatorUID | IDocHubValidatorUID[]): Promise<IDocHubProblem[]>
|
119
119
|
/**
|
120
120
|
* Возвращает валидаторы
|
121
121
|
*/
|
122
|
-
fetchValidators(): Promise<IDocHubValidator[]>
|
122
|
+
fetchValidators(validator?: IDocHubValidatorUID | IDocHubValidatorUID[]): Promise<IDocHubValidator[]>
|
123
123
|
/**
|
124
124
|
* Возвращает исключения
|
125
125
|
*/
|