@ndla/types-taxonomy 1.0.32 → 1.0.34
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/build/taxonomy-api.d.ts +5 -0
- package/package.json +1 -1
- package/taxonomy-api.ts +5 -0
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ export interface Node {
|
|
|
31
31
|
* An id unique for this context.
|
|
32
32
|
*/
|
|
33
33
|
contextId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* A list of all contextids this node has ever had
|
|
36
|
+
*/
|
|
37
|
+
contextids: string[];
|
|
34
38
|
contexts: TaxonomyContext[];
|
|
35
39
|
/**
|
|
36
40
|
* A number representing the average grade of all children nodes recursively.
|
|
@@ -308,6 +312,7 @@ export interface ResolvedUrl {
|
|
|
308
312
|
name: string;
|
|
309
313
|
parents: string[];
|
|
310
314
|
path: string;
|
|
315
|
+
url: string;
|
|
311
316
|
}
|
|
312
317
|
export interface ResourcePostPut {
|
|
313
318
|
/**
|
package/package.json
CHANGED
package/taxonomy-api.ts
CHANGED
|
@@ -37,6 +37,10 @@ export interface Node {
|
|
|
37
37
|
* An id unique for this context.
|
|
38
38
|
*/
|
|
39
39
|
contextId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* A list of all contextids this node has ever had
|
|
42
|
+
*/
|
|
43
|
+
contextids: string[];
|
|
40
44
|
contexts: TaxonomyContext[];
|
|
41
45
|
/**
|
|
42
46
|
* A number representing the average grade of all children nodes recursively.
|
|
@@ -328,6 +332,7 @@ export interface ResolvedUrl {
|
|
|
328
332
|
name: string;
|
|
329
333
|
parents: string[];
|
|
330
334
|
path: string;
|
|
335
|
+
url: string;
|
|
331
336
|
}
|
|
332
337
|
|
|
333
338
|
export interface ResourcePostPut {
|