@instructure/athena-api-client 2.24.1 → 2.25.0
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.
|
@@ -57,6 +57,12 @@ export interface TaxonomyProgressNode {
|
|
|
57
57
|
* @memberof TaxonomyProgressNode
|
|
58
58
|
*/
|
|
59
59
|
assessedConcepts: number;
|
|
60
|
+
/**
|
|
61
|
+
* Concept IDs mapped to this node via the bridge table. Empty for branch nodes by convention; leaves return all bridge-table entries sorted asc.
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof TaxonomyProgressNode
|
|
64
|
+
*/
|
|
65
|
+
conceptIds: Array<string>;
|
|
60
66
|
/**
|
|
61
67
|
* Child nodes
|
|
62
68
|
* @type {Array<TaxonomyProgressNode>}
|
|
@@ -29,6 +29,8 @@ export function instanceOfTaxonomyProgressNode(value) {
|
|
|
29
29
|
return false;
|
|
30
30
|
if (!('assessedConcepts' in value) || value['assessedConcepts'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
+
if (!('conceptIds' in value) || value['conceptIds'] === undefined)
|
|
33
|
+
return false;
|
|
32
34
|
if (!('children' in value) || value['children'] === undefined)
|
|
33
35
|
return false;
|
|
34
36
|
return true;
|
|
@@ -48,6 +50,7 @@ export function TaxonomyProgressNodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
50
|
'confidence': json['confidence'],
|
|
49
51
|
'totalConcepts': json['totalConcepts'],
|
|
50
52
|
'assessedConcepts': json['assessedConcepts'],
|
|
53
|
+
'conceptIds': json['conceptIds'],
|
|
51
54
|
'children': (json['children'].map(TaxonomyProgressNodeFromJSON)),
|
|
52
55
|
};
|
|
53
56
|
}
|
|
@@ -66,6 +69,7 @@ export function TaxonomyProgressNodeToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
66
69
|
'confidence': value['confidence'],
|
|
67
70
|
'totalConcepts': value['totalConcepts'],
|
|
68
71
|
'assessedConcepts': value['assessedConcepts'],
|
|
72
|
+
'conceptIds': value['conceptIds'],
|
|
69
73
|
'children': (value['children'].map(TaxonomyProgressNodeToJSON)),
|
|
70
74
|
};
|
|
71
75
|
}
|
|
@@ -57,6 +57,12 @@ export interface TaxonomyProgressNode {
|
|
|
57
57
|
* @memberof TaxonomyProgressNode
|
|
58
58
|
*/
|
|
59
59
|
assessedConcepts: number;
|
|
60
|
+
/**
|
|
61
|
+
* Concept IDs mapped to this node via the bridge table. Empty for branch nodes by convention; leaves return all bridge-table entries sorted asc.
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof TaxonomyProgressNode
|
|
64
|
+
*/
|
|
65
|
+
conceptIds: Array<string>;
|
|
60
66
|
/**
|
|
61
67
|
* Child nodes
|
|
62
68
|
* @type {Array<TaxonomyProgressNode>}
|
|
@@ -36,6 +36,8 @@ function instanceOfTaxonomyProgressNode(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('assessedConcepts' in value) || value['assessedConcepts'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
+
if (!('conceptIds' in value) || value['conceptIds'] === undefined)
|
|
40
|
+
return false;
|
|
39
41
|
if (!('children' in value) || value['children'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
return true;
|
|
@@ -55,6 +57,7 @@ function TaxonomyProgressNodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
57
|
'confidence': json['confidence'],
|
|
56
58
|
'totalConcepts': json['totalConcepts'],
|
|
57
59
|
'assessedConcepts': json['assessedConcepts'],
|
|
60
|
+
'conceptIds': json['conceptIds'],
|
|
58
61
|
'children': (json['children'].map(TaxonomyProgressNodeFromJSON)),
|
|
59
62
|
};
|
|
60
63
|
}
|
|
@@ -73,6 +76,7 @@ function TaxonomyProgressNodeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
73
76
|
'confidence': value['confidence'],
|
|
74
77
|
'totalConcepts': value['totalConcepts'],
|
|
75
78
|
'assessedConcepts': value['assessedConcepts'],
|
|
79
|
+
'conceptIds': value['conceptIds'],
|
|
76
80
|
'children': (value['children'].map(TaxonomyProgressNodeToJSON)),
|
|
77
81
|
};
|
|
78
82
|
}
|