@ndla/types-taxonomy 1.0.51 → 1.0.53
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 +15 -0
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/taxonomy-api.ts +15 -0
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -2292,6 +2292,8 @@ export type components = {
|
|
|
2292
2292
|
resourceTypes: components["schemas"]["ResourceTypeWithConnection"][];
|
|
2293
2293
|
/** @description List of language codes supported by translations */
|
|
2294
2294
|
supportedLanguages: string[];
|
|
2295
|
+
/** @description The technical evaluation of the node. */
|
|
2296
|
+
technicalEvaluation?: components["schemas"]["TechnicalEvaluationDTO"];
|
|
2295
2297
|
/** @description All translations of this node */
|
|
2296
2298
|
translations: components["schemas"]["Translation"][];
|
|
2297
2299
|
/** @description A pretty url based on name and context. Empty if no context. */
|
|
@@ -2389,6 +2391,8 @@ export type components = {
|
|
|
2389
2391
|
resourceTypes: components["schemas"]["ResourceTypeWithConnection"][];
|
|
2390
2392
|
/** @description List of language codes supported by translations */
|
|
2391
2393
|
supportedLanguages: string[];
|
|
2394
|
+
/** @description The technical evaluation of the node. */
|
|
2395
|
+
technicalEvaluation?: components["schemas"]["TechnicalEvaluationDTO"];
|
|
2392
2396
|
/** @description All translations of this node */
|
|
2393
2397
|
translations: components["schemas"]["Translation"][];
|
|
2394
2398
|
/** @description A pretty url based on name and context. Empty if no context. */
|
|
@@ -2529,6 +2533,8 @@ export type components = {
|
|
|
2529
2533
|
* @description The node is a root node. Default is false. Only used if present.
|
|
2530
2534
|
*/
|
|
2531
2535
|
root?: boolean;
|
|
2536
|
+
/** @description The technical evaluation of the node. Contains a flag and an optional comment. Can be null to remove existing evaluation. */
|
|
2537
|
+
technicalEvaluation?: components["schemas"]["TechnicalEvaluationDTO"];
|
|
2532
2538
|
/** @description The node is visible. Default is true. */
|
|
2533
2539
|
visible?: boolean;
|
|
2534
2540
|
};
|
|
@@ -2755,6 +2761,8 @@ export type components = {
|
|
|
2755
2761
|
resourceTypes?: components["schemas"]["ResourceTypeWithConnection"][];
|
|
2756
2762
|
/** @description List of language codes supported by translations */
|
|
2757
2763
|
supportedLanguages?: string[];
|
|
2764
|
+
/** @description The technical evaluation of the node. */
|
|
2765
|
+
technicalEvaluation?: components["schemas"]["TechnicalEvaluationDTO"];
|
|
2758
2766
|
/** @description All translations of this node */
|
|
2759
2767
|
translations?: components["schemas"]["Translation"][];
|
|
2760
2768
|
/** @description A pretty url based on name and context. Empty if no context. */
|
|
@@ -3214,6 +3222,12 @@ export type components = {
|
|
|
3214
3222
|
/** @description The context url */
|
|
3215
3223
|
url: string;
|
|
3216
3224
|
};
|
|
3225
|
+
TechnicalEvaluationDTO: {
|
|
3226
|
+
/** @description Notes for the technical evaluation of this node. */
|
|
3227
|
+
comment?: string;
|
|
3228
|
+
/** @description Whether this node requires a technical evaluation. */
|
|
3229
|
+
requiresEvaluation: boolean;
|
|
3230
|
+
};
|
|
3217
3231
|
/** @description The new topic */
|
|
3218
3232
|
TopicPOST: {
|
|
3219
3233
|
/**
|
|
@@ -3570,6 +3584,7 @@ export type SubjectTopicPOST = components['schemas']['SubjectTopicPOST'];
|
|
|
3570
3584
|
export type SubjectTopicPUT = components['schemas']['SubjectTopicPUT'];
|
|
3571
3585
|
export type TaxonomyContext = components['schemas']['TaxonomyContext'];
|
|
3572
3586
|
export type TaxonomyCrumb = components['schemas']['TaxonomyCrumb'];
|
|
3587
|
+
export type TechnicalEvaluationDTO = components['schemas']['TechnicalEvaluationDTO'];
|
|
3573
3588
|
export type TopicPOST = components['schemas']['TopicPOST'];
|
|
3574
3589
|
export type TopicPostPut = components['schemas']['TopicPostPut'];
|
|
3575
3590
|
export type TopicResource = components['schemas']['TopicResource'];
|