@ndla/types-taxonomy 1.0.19 → 1.0.21
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 -1
- package/package.json +1 -1
- package/taxonomy-api.ts +5 -1
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -125,6 +125,10 @@ export interface NodePostPut {
|
|
|
125
125
|
* The node is the root in a context. Default is false. Only used if present.
|
|
126
126
|
*/
|
|
127
127
|
context?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* The language used at create time. Used to set default translation.
|
|
130
|
+
*/
|
|
131
|
+
language?: string;
|
|
128
132
|
/**
|
|
129
133
|
* The name of the node. Required on create.
|
|
130
134
|
*/
|
|
@@ -486,7 +490,7 @@ export interface TaxonomyContext {
|
|
|
486
490
|
/**
|
|
487
491
|
* Id of the relevance of the parent connection
|
|
488
492
|
*/
|
|
489
|
-
relevanceId
|
|
493
|
+
relevanceId: string;
|
|
490
494
|
/**
|
|
491
495
|
* Resource-types of the node
|
|
492
496
|
*/
|
package/package.json
CHANGED
package/taxonomy-api.ts
CHANGED
|
@@ -135,6 +135,10 @@ export interface NodePostPut {
|
|
|
135
135
|
* The node is the root in a context. Default is false. Only used if present.
|
|
136
136
|
*/
|
|
137
137
|
context?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* The language used at create time. Used to set default translation.
|
|
140
|
+
*/
|
|
141
|
+
language?: string;
|
|
138
142
|
/**
|
|
139
143
|
* The name of the node. Required on create.
|
|
140
144
|
*/
|
|
@@ -517,7 +521,7 @@ export interface TaxonomyContext {
|
|
|
517
521
|
/**
|
|
518
522
|
* Id of the relevance of the parent connection
|
|
519
523
|
*/
|
|
520
|
-
relevanceId
|
|
524
|
+
relevanceId: string;
|
|
521
525
|
/**
|
|
522
526
|
* Resource-types of the node
|
|
523
527
|
*/
|