@acrolinx/sdk
Advanced tools
Comparing version 0.1.2-build.929 to 0.1.2-build.968
@@ -46,2 +46,6 @@ import { Addon, AddonId } from './addons'; | ||
export declare type CheckResultResponse = AsyncApiResponse<CheckResult>; | ||
export interface ScoreByGoal { | ||
id: string; | ||
score: number; | ||
} | ||
export interface CheckResult { | ||
@@ -55,2 +59,3 @@ id: CheckId; | ||
status: DocumentQualityStatus; | ||
scoresByGoal?: ScoreByGoal[]; | ||
}; | ||
@@ -57,0 +62,0 @@ counts: { |
@@ -630,2 +630,17 @@ { | ||
}, | ||
"ScoreByGoal": { | ||
"properties": { | ||
"id": { | ||
"type": "string" | ||
}, | ||
"score": { | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"score" | ||
], | ||
"type": "object" | ||
}, | ||
"Suggestion": { | ||
@@ -743,2 +758,8 @@ "properties": { | ||
}, | ||
"scoresByGoal": { | ||
"items": { | ||
"$ref": "#/definitions/ScoreByGoal" | ||
}, | ||
"type": "array" | ||
}, | ||
"status": { | ||
@@ -745,0 +766,0 @@ "$ref": "#/definitions/DocumentQualityStatus" |
{ | ||
"name": "@acrolinx/sdk", | ||
"version": "0.1.2-build.929", | ||
"version": "0.1.2-build.968", | ||
"description": "Acrolinx JavaScript SDK for the Acrolinx API", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -88,2 +88,7 @@ /* | ||
export interface ScoreByGoal { | ||
id: string, | ||
score: number | ||
} | ||
export interface CheckResult { | ||
@@ -97,3 +102,4 @@ id: CheckId; | ||
status: DocumentQualityStatus; | ||
}; | ||
scoresByGoal?: ScoreByGoal[]; | ||
} | ||
counts: { | ||
@@ -100,0 +106,0 @@ sentences: number; |
Sorry, the diff of this file is not supported yet
523142
10282