@ndla/types-backend 1.0.158 → 1.0.160
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 +21 -6
- package/package.json +1 -1
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -514,7 +514,10 @@ export type paths = {
|
|
|
514
514
|
path?: never;
|
|
515
515
|
cookie?: never;
|
|
516
516
|
};
|
|
517
|
-
/**
|
|
517
|
+
/**
|
|
518
|
+
* Gets all translations for a single node
|
|
519
|
+
* @deprecated
|
|
520
|
+
*/
|
|
518
521
|
get: operations["getAllNodeTranslations"];
|
|
519
522
|
put?: never;
|
|
520
523
|
post?: never;
|
|
@@ -531,7 +534,10 @@ export type paths = {
|
|
|
531
534
|
path?: never;
|
|
532
535
|
cookie?: never;
|
|
533
536
|
};
|
|
534
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* Gets all translations for a single node
|
|
539
|
+
* @deprecated
|
|
540
|
+
*/
|
|
535
541
|
get: operations["getAllNodeTranslations_1"];
|
|
536
542
|
put?: never;
|
|
537
543
|
post?: never;
|
|
@@ -548,12 +554,21 @@ export type paths = {
|
|
|
548
554
|
path?: never;
|
|
549
555
|
cookie?: never;
|
|
550
556
|
};
|
|
551
|
-
/**
|
|
557
|
+
/**
|
|
558
|
+
* Gets a single translation for a single node
|
|
559
|
+
* @deprecated
|
|
560
|
+
*/
|
|
552
561
|
get: operations["getNodeTranslation"];
|
|
553
|
-
/**
|
|
562
|
+
/**
|
|
563
|
+
* Creates or updates a translation of a node
|
|
564
|
+
* @deprecated
|
|
565
|
+
*/
|
|
554
566
|
put: operations["createUpdateNodeTranslation"];
|
|
555
567
|
post?: never;
|
|
556
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Deletes a translation
|
|
570
|
+
* @deprecated
|
|
571
|
+
*/
|
|
557
572
|
delete: operations["deleteNodeTranslation"];
|
|
558
573
|
options?: never;
|
|
559
574
|
head?: never;
|
|
@@ -1728,7 +1743,7 @@ export type components = {
|
|
|
1728
1743
|
/** Format: uri */
|
|
1729
1744
|
id: string;
|
|
1730
1745
|
name: string;
|
|
1731
|
-
path
|
|
1746
|
+
path?: string | null;
|
|
1732
1747
|
};
|
|
1733
1748
|
/** @description object containing public id of the node to be registered as context */
|
|
1734
1749
|
ContextPOST: {
|