@ndla/types-backend 1.0.80 → 1.0.82
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.
|
@@ -528,7 +528,7 @@ export type components = {
|
|
|
528
528
|
/** @description The gloss itself */
|
|
529
529
|
gloss: string;
|
|
530
530
|
/** @description Word class / part of speech, ex. noun, adjective, verb, adverb, ... */
|
|
531
|
-
wordClass: string;
|
|
531
|
+
wordClass: string[];
|
|
532
532
|
/** @description Original language of the gloss */
|
|
533
533
|
originalLanguage: string;
|
|
534
534
|
/** @description Alternative writing of the gloss */
|
|
@@ -123,6 +123,26 @@ export type paths = {
|
|
|
123
123
|
patch?: never;
|
|
124
124
|
trace?: never;
|
|
125
125
|
};
|
|
126
|
+
"/learningpath-api/v2/learningpaths/external-samples": {
|
|
127
|
+
parameters: {
|
|
128
|
+
query?: never;
|
|
129
|
+
header?: never;
|
|
130
|
+
path?: never;
|
|
131
|
+
cookie?: never;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Fetch a random list of My NDLA learningpaths containing external steps
|
|
135
|
+
* @description Fetch a random list of My NDLA learningpaths containing external steps. Returns a maximum of 5 learningpaths, each guaranteed to have at least one external step.
|
|
136
|
+
*/
|
|
137
|
+
get: operations["getLearningpath-apiV2LearningpathsExternal-samples"];
|
|
138
|
+
put?: never;
|
|
139
|
+
post?: never;
|
|
140
|
+
delete?: never;
|
|
141
|
+
options?: never;
|
|
142
|
+
head?: never;
|
|
143
|
+
patch?: never;
|
|
144
|
+
trace?: never;
|
|
145
|
+
};
|
|
126
146
|
"/learningpath-api/v2/learningpaths/ids": {
|
|
127
147
|
parameters: {
|
|
128
148
|
query?: never;
|
|
@@ -1577,6 +1597,49 @@ export interface operations {
|
|
|
1577
1597
|
};
|
|
1578
1598
|
};
|
|
1579
1599
|
};
|
|
1600
|
+
"getLearningpath-apiV2LearningpathsExternal-samples": {
|
|
1601
|
+
parameters: {
|
|
1602
|
+
query?: never;
|
|
1603
|
+
header?: never;
|
|
1604
|
+
path?: never;
|
|
1605
|
+
cookie?: never;
|
|
1606
|
+
};
|
|
1607
|
+
requestBody?: never;
|
|
1608
|
+
responses: {
|
|
1609
|
+
200: {
|
|
1610
|
+
headers: {
|
|
1611
|
+
[name: string]: unknown;
|
|
1612
|
+
};
|
|
1613
|
+
content: {
|
|
1614
|
+
"application/json": components["schemas"]["LearningPathV2DTO"][];
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
400: {
|
|
1618
|
+
headers: {
|
|
1619
|
+
[name: string]: unknown;
|
|
1620
|
+
};
|
|
1621
|
+
content: {
|
|
1622
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1625
|
+
404: {
|
|
1626
|
+
headers: {
|
|
1627
|
+
[name: string]: unknown;
|
|
1628
|
+
};
|
|
1629
|
+
content: {
|
|
1630
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
1631
|
+
};
|
|
1632
|
+
};
|
|
1633
|
+
500: {
|
|
1634
|
+
headers: {
|
|
1635
|
+
[name: string]: unknown;
|
|
1636
|
+
};
|
|
1637
|
+
content: {
|
|
1638
|
+
"application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
|
|
1639
|
+
};
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1580
1643
|
"getLearningpath-apiV2LearningpathsIds": {
|
|
1581
1644
|
parameters: {
|
|
1582
1645
|
query?: {
|
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.82",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|