@ndla/types-backend 1.0.55 → 1.0.57
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.
|
@@ -594,8 +594,6 @@ export type components = {
|
|
|
594
594
|
slug?: string;
|
|
595
595
|
/** @description Information about comments attached to the article */
|
|
596
596
|
comments: components["schemas"]["CommentDTO"][];
|
|
597
|
-
/** @description If the article should be prioritized */
|
|
598
|
-
prioritized: boolean;
|
|
599
597
|
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
600
598
|
priority: string;
|
|
601
599
|
/** @description If the article has been edited after last status or responsible change */
|
|
@@ -969,8 +967,6 @@ export type components = {
|
|
|
969
967
|
slug?: string;
|
|
970
968
|
/** @description Information about a comment attached to an article */
|
|
971
969
|
comments?: components["schemas"]["NewCommentDTO"][];
|
|
972
|
-
/** @description If the article should be prioritized */
|
|
973
|
-
prioritized?: boolean;
|
|
974
970
|
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
975
971
|
priority?: string;
|
|
976
972
|
qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
|
|
@@ -1198,8 +1194,6 @@ export type components = {
|
|
|
1198
1194
|
slug?: string;
|
|
1199
1195
|
/** @description Information about a comment attached to an article */
|
|
1200
1196
|
comments?: components["schemas"]["UpdatedCommentDTO"][];
|
|
1201
|
-
/** @description If the article should be prioritized */
|
|
1202
|
-
prioritized?: boolean;
|
|
1203
1197
|
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
1204
1198
|
priority?: string;
|
|
1205
1199
|
qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
|
|
@@ -351,6 +351,26 @@ export type paths = {
|
|
|
351
351
|
patch?: never;
|
|
352
352
|
trace?: never;
|
|
353
353
|
};
|
|
354
|
+
"/learningpath-api/v2/learningpaths/{learningpath_id}/learningsteps/{learningstep_id}/language/{p1}": {
|
|
355
|
+
parameters: {
|
|
356
|
+
query?: never;
|
|
357
|
+
header?: never;
|
|
358
|
+
path?: never;
|
|
359
|
+
cookie?: never;
|
|
360
|
+
};
|
|
361
|
+
get?: never;
|
|
362
|
+
put?: never;
|
|
363
|
+
post?: never;
|
|
364
|
+
/**
|
|
365
|
+
* Delete given learningstep language
|
|
366
|
+
* @description Deletes the given learningStep language
|
|
367
|
+
*/
|
|
368
|
+
delete: operations["deleteLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idLanguageP1"];
|
|
369
|
+
options?: never;
|
|
370
|
+
head?: never;
|
|
371
|
+
patch?: never;
|
|
372
|
+
trace?: never;
|
|
373
|
+
};
|
|
354
374
|
"/learningpath-api/v2/learningpaths/status/{STATUS}": {
|
|
355
375
|
parameters: {
|
|
356
376
|
query?: never;
|
|
@@ -2577,6 +2597,88 @@ export interface operations {
|
|
|
2577
2597
|
};
|
|
2578
2598
|
};
|
|
2579
2599
|
};
|
|
2600
|
+
"deleteLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idLanguageP1": {
|
|
2601
|
+
parameters: {
|
|
2602
|
+
query?: never;
|
|
2603
|
+
header?: never;
|
|
2604
|
+
path: {
|
|
2605
|
+
/** @description Id of the learningpath. */
|
|
2606
|
+
learningpath_id: number;
|
|
2607
|
+
/** @description Id of the learningstep. */
|
|
2608
|
+
learningstep_id: number;
|
|
2609
|
+
/** @description The ISO 639-1 language describing language. */
|
|
2610
|
+
p1: string;
|
|
2611
|
+
};
|
|
2612
|
+
cookie?: never;
|
|
2613
|
+
};
|
|
2614
|
+
requestBody?: never;
|
|
2615
|
+
responses: {
|
|
2616
|
+
200: {
|
|
2617
|
+
headers: {
|
|
2618
|
+
[name: string]: unknown;
|
|
2619
|
+
};
|
|
2620
|
+
content: {
|
|
2621
|
+
"application/json": components["schemas"]["LearningStepV2DTO"];
|
|
2622
|
+
};
|
|
2623
|
+
};
|
|
2624
|
+
400: {
|
|
2625
|
+
headers: {
|
|
2626
|
+
[name: string]: unknown;
|
|
2627
|
+
};
|
|
2628
|
+
content: {
|
|
2629
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2630
|
+
};
|
|
2631
|
+
};
|
|
2632
|
+
401: {
|
|
2633
|
+
headers: {
|
|
2634
|
+
[name: string]: unknown;
|
|
2635
|
+
};
|
|
2636
|
+
content: {
|
|
2637
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2640
|
+
403: {
|
|
2641
|
+
headers: {
|
|
2642
|
+
[name: string]: unknown;
|
|
2643
|
+
};
|
|
2644
|
+
content: {
|
|
2645
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
404: {
|
|
2649
|
+
headers: {
|
|
2650
|
+
[name: string]: unknown;
|
|
2651
|
+
};
|
|
2652
|
+
content: {
|
|
2653
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2654
|
+
};
|
|
2655
|
+
};
|
|
2656
|
+
422: {
|
|
2657
|
+
headers: {
|
|
2658
|
+
[name: string]: unknown;
|
|
2659
|
+
};
|
|
2660
|
+
content: {
|
|
2661
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2662
|
+
};
|
|
2663
|
+
};
|
|
2664
|
+
500: {
|
|
2665
|
+
headers: {
|
|
2666
|
+
[name: string]: unknown;
|
|
2667
|
+
};
|
|
2668
|
+
content: {
|
|
2669
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
2670
|
+
};
|
|
2671
|
+
};
|
|
2672
|
+
502: {
|
|
2673
|
+
headers: {
|
|
2674
|
+
[name: string]: unknown;
|
|
2675
|
+
};
|
|
2676
|
+
content: {
|
|
2677
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2678
|
+
};
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
2580
2682
|
"getLearningpath-apiV2LearningpathsStatusStatus": {
|
|
2581
2683
|
parameters: {
|
|
2582
2684
|
query?: never;
|
|
@@ -263,8 +263,6 @@ export type components = {
|
|
|
263
263
|
responsibleIds?: string[];
|
|
264
264
|
/** @description Filter out inactive taxonomy contexts. */
|
|
265
265
|
filterInactive?: boolean;
|
|
266
|
-
/** @description Set to true to only return prioritized articles */
|
|
267
|
-
prioritized?: boolean;
|
|
268
266
|
/** @description List of priority-levels to filter by. */
|
|
269
267
|
priority?: string[];
|
|
270
268
|
/** @description A list of parent topics the learning resources should be filtered by. */
|
|
@@ -627,8 +625,6 @@ export type components = {
|
|
|
627
625
|
responsible?: components["schemas"]["ResponsibleDTO"];
|
|
628
626
|
/** @description Information about comments attached to the article */
|
|
629
627
|
comments?: components["schemas"]["CommentDTO"][];
|
|
630
|
-
/** @description If the article should be prioritized */
|
|
631
|
-
prioritized?: boolean;
|
|
632
628
|
/** @description If the article should be prioritized. Possible values are prioritized, on-hold, unspecified */
|
|
633
629
|
priority?: string;
|
|
634
630
|
/** @description A combined resource type name if a standard article, otherwise the article type name */
|
package/package.json
CHANGED
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
"tsx": "^4.19.3",
|
|
33
33
|
"typescript": "^5.3.3"
|
|
34
34
|
},
|
|
35
|
-
"version": "1.0.
|
|
35
|
+
"version": "1.0.57",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|