@acrolinx/sdk
Advanced tools
Comparing version 0.1.2-build.1132 to 0.1.2-build.1143
@@ -164,4 +164,12 @@ import { Addon, AddonId } from './addons'; | ||
} | ||
export declare enum IssueType { | ||
analytical = "analytical", | ||
actionable = "actionable" | ||
} | ||
export interface Issue extends CommonIssue { | ||
goalId: GoalId; | ||
/** | ||
* Since Acrolinx platform 2021.2 | ||
*/ | ||
issueType: IssueType; | ||
} | ||
@@ -168,0 +176,0 @@ declare type SubIssue = CommonIssue; |
@@ -18,3 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DocumentQualityStatus = exports.SuggestionIconId = exports.KeywordWarningType = exports.hasTermHarvestingReport = void 0; | ||
exports.DocumentQualityStatus = exports.IssueType = exports.SuggestionIconId = exports.KeywordWarningType = exports.hasTermHarvestingReport = void 0; | ||
var capabilities_1 = require("./capabilities"); | ||
@@ -35,2 +35,7 @@ function hasTermHarvestingReport(reports) { | ||
})(SuggestionIconId = exports.SuggestionIconId || (exports.SuggestionIconId = {})); | ||
var IssueType; | ||
(function (IssueType) { | ||
IssueType["analytical"] = "analytical"; | ||
IssueType["actionable"] = "actionable"; | ||
})(IssueType = exports.IssueType || (exports.IssueType = {})); | ||
var DocumentQualityStatus; | ||
@@ -37,0 +42,0 @@ (function (DocumentQualityStatus) { |
@@ -386,2 +386,6 @@ { | ||
}, | ||
"issueType": { | ||
"$ref": "#/definitions/IssueType", | ||
"description": "Since Acrolinx platform 2021.2" | ||
}, | ||
"links": { | ||
@@ -417,2 +421,3 @@ "$ref": "#/definitions/IssueLinks" | ||
"issueLocations", | ||
"issueType", | ||
"positionalInformation", | ||
@@ -485,2 +490,9 @@ "readOnly", | ||
}, | ||
"IssueType": { | ||
"enum": [ | ||
"actionable", | ||
"analytical" | ||
], | ||
"type": "string" | ||
}, | ||
"KeyValuePair": { | ||
@@ -487,0 +499,0 @@ "properties": { |
@@ -171,2 +171,3 @@ "use strict"; | ||
goalId: 'spelling', | ||
issueType: src_1.IssueType.actionable, | ||
internalName: 'title_case_chicago', | ||
@@ -237,2 +238,3 @@ displayNameHtml: 'Use Chicago style for the title case?', | ||
goalId: GOAL_TERM_ID, | ||
issueType: src_1.IssueType.actionable, | ||
internalName: 'term_flag', | ||
@@ -286,2 +288,3 @@ displayNameHtml: '<b>Illegal sublanguage variant</b> of preferred term', | ||
goalId: GOAL_VOICE_ID, | ||
issueType: src_1.IssueType.actionable, | ||
internalName: 'en-clarity-medium', | ||
@@ -288,0 +291,0 @@ displayNameHtml: 'Too complex? Your readers need a medium level of clarity. ', |
{ | ||
"name": "@acrolinx/sdk", | ||
"version": "0.1.2-build.1132", | ||
"version": "0.1.2-build.1143", | ||
"description": "Acrolinx JavaScript SDK for the Acrolinx API", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -232,4 +232,14 @@ /* | ||
export enum IssueType { | ||
analytical = 'analytical', | ||
actionable = 'actionable' | ||
} | ||
export interface Issue extends CommonIssue { | ||
goalId: GoalId; | ||
/** | ||
* Since Acrolinx platform 2021.2 | ||
*/ | ||
issueType: IssueType; | ||
} | ||
@@ -236,0 +246,0 @@ |
@@ -17,3 +17,3 @@ /* | ||
import {DictionaryScope, SuggestionIconId} from '../../src'; | ||
import {DictionaryScope, IssueType, SuggestionIconId} from '../../src'; | ||
import { | ||
@@ -181,2 +181,3 @@ CheckingCapabilities, | ||
goalId: 'spelling', | ||
issueType: IssueType.actionable, | ||
internalName: 'title_case_chicago', | ||
@@ -252,2 +253,3 @@ displayNameHtml: 'Use Chicago style for the title case?', | ||
goalId: GOAL_TERM_ID, | ||
issueType: IssueType.actionable, | ||
internalName: 'term_flag', | ||
@@ -303,2 +305,3 @@ displayNameHtml: '<b>Illegal sublanguage variant</b> of preferred term', | ||
goalId: GOAL_VOICE_ID, | ||
issueType: IssueType.actionable, | ||
internalName: 'en-clarity-medium', | ||
@@ -305,0 +308,0 @@ displayNameHtml: 'Too complex? Your readers need a medium level of clarity. ', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
536087
10457