@ndla/types-backend 1.0.84 → 1.0.86
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/article-api-openapi.d.ts +8 -5
- package/build/article-api.js +17 -7
- package/build/article-api.js.map +1 -1
- package/build/audio-api-openapi.d.ts +26 -14
- package/build/audio-api.js +17 -7
- package/build/audio-api.js.map +1 -1
- package/build/concept-api-openapi.d.ts +21 -12
- package/build/concept-api.js +17 -7
- package/build/concept-api.js.map +1 -1
- package/build/draft-api-openapi.d.ts +8 -5
- package/build/draft-api.js +17 -7
- package/build/draft-api.js.map +1 -1
- package/build/frontpage-api.js +17 -7
- package/build/frontpage-api.js.map +1 -1
- package/build/image-api-openapi.d.ts +26 -14
- package/build/image-api.js +17 -7
- package/build/image-api.js.map +1 -1
- package/build/learningpath-api-openapi.d.ts +7 -4
- package/build/learningpath-api.js +17 -7
- package/build/learningpath-api.js.map +1 -1
- package/build/myndla-api.js +17 -7
- package/build/myndla-api.js.map +1 -1
- package/build/oembed-proxy.js +17 -7
- package/build/oembed-proxy.js.map +1 -1
- package/build/scripts/generate-openapi.js +19 -9
- package/build/scripts/generate-openapi.js.map +1 -1
- package/build/search-api-openapi.d.ts +19 -12
- package/build/search-api.js +17 -7
- package/build/search-api.js.map +1 -1
- package/package.json +4 -4
|
@@ -326,7 +326,7 @@ export type components = {
|
|
|
326
326
|
* ArticleTrait
|
|
327
327
|
* @enum {string}
|
|
328
328
|
*/
|
|
329
|
-
ArticleTrait: "VIDEO" | "
|
|
329
|
+
ArticleTrait: "VIDEO" | "AUDIO" | "PODCAST" | "INTERACTIVE";
|
|
330
330
|
/**
|
|
331
331
|
* ArticleV2DTO
|
|
332
332
|
* @description Information about the article
|
|
@@ -848,17 +848,20 @@ export interface operations {
|
|
|
848
848
|
page?: number;
|
|
849
849
|
/** @description The number of search hits to display for each page. */
|
|
850
850
|
"page-size"?: number;
|
|
851
|
-
/**
|
|
851
|
+
/**
|
|
852
|
+
* @description The sorting used on results.
|
|
852
853
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
853
|
-
* Default is by -relevance (desc) when query is set, and id (asc) when query is empty.
|
|
854
|
+
* Default is by -relevance (desc) when query is set, and id (asc) when query is empty.
|
|
855
|
+
*/
|
|
854
856
|
sort?: string;
|
|
855
857
|
/** @description Fallback to existing language if language is specified. */
|
|
856
858
|
fallback?: boolean;
|
|
857
|
-
/**
|
|
859
|
+
/**
|
|
860
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
858
861
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
859
862
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
860
863
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
861
|
-
|
|
864
|
+
*/
|
|
862
865
|
"search-context"?: string;
|
|
863
866
|
/** @description A comma separated list of codes from GREP API the resources should be filtered by. */
|
|
864
867
|
"grep-codes"?: string[];
|
package/build/article-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/article-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"article-api.js","sourceRoot":"","sources":["../article-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"article-api.js","sourceRoot":"","sources":["../article-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,6DAAiD;AAExC,0BAAO"}
|
|
@@ -641,10 +641,12 @@ export type components = {
|
|
|
641
641
|
scrollId?: string;
|
|
642
642
|
/** @description Type of audio to filter by. */
|
|
643
643
|
audioType?: string;
|
|
644
|
-
/**
|
|
644
|
+
/**
|
|
645
|
+
* @description Filter result by whether they are a part of a series or not.
|
|
645
646
|
* 'true' will return only audios that are a part of a series.
|
|
646
647
|
* 'false' will return only audios that are NOT a part of a series.
|
|
647
|
-
* Not specifying will return both audios that are a part of a series and not.
|
|
648
|
+
* Not specifying will return both audios that are a part of a series and not.
|
|
649
|
+
*/
|
|
648
650
|
filterBySeries?: boolean;
|
|
649
651
|
/** @description Return all matched audios whether they exist on selected language or not. */
|
|
650
652
|
fallback?: boolean;
|
|
@@ -873,27 +875,34 @@ export interface operations {
|
|
|
873
875
|
language?: string;
|
|
874
876
|
/** @description Return only audio with provided license. */
|
|
875
877
|
license?: string;
|
|
876
|
-
/**
|
|
878
|
+
/**
|
|
879
|
+
* @description The sorting used on results.
|
|
877
880
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
878
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
881
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
882
|
+
*/
|
|
879
883
|
sort?: string;
|
|
880
884
|
/** @description The page number of the search hits to display. */
|
|
881
885
|
page?: number;
|
|
882
886
|
/** @description The number of search hits to display for each page. Defaults to 10 and max is 10000. */
|
|
883
887
|
"page-size"?: number;
|
|
884
|
-
/**
|
|
888
|
+
/**
|
|
889
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
885
890
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language'.
|
|
886
891
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
887
892
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
888
|
-
|
|
893
|
+
*/
|
|
889
894
|
"search-context"?: string;
|
|
890
|
-
/**
|
|
891
|
-
*
|
|
895
|
+
/**
|
|
896
|
+
* @description Only return types of the specified value.
|
|
897
|
+
* Possible values are 'podcast, standard'
|
|
898
|
+
*/
|
|
892
899
|
"audio-type"?: string;
|
|
893
|
-
/**
|
|
900
|
+
/**
|
|
901
|
+
* @description Filter result by whether they are a part of a series or not.
|
|
894
902
|
* 'true' will return only audios that are a part of a series.
|
|
895
903
|
* 'false' will return only audios that are NOT a part of a series.
|
|
896
|
-
* Not specifying will return both audios that are a part of a series and not.
|
|
904
|
+
* Not specifying will return both audios that are a part of a series and not.
|
|
905
|
+
*/
|
|
897
906
|
"filter-by-series"?: boolean;
|
|
898
907
|
/** @description Fallback to existing language if language is specified. */
|
|
899
908
|
fallback?: boolean;
|
|
@@ -1418,19 +1427,22 @@ export interface operations {
|
|
|
1418
1427
|
query?: string;
|
|
1419
1428
|
/** @description The ISO 639-1 language code describing language. */
|
|
1420
1429
|
language?: string;
|
|
1421
|
-
/**
|
|
1430
|
+
/**
|
|
1431
|
+
* @description The sorting used on results.
|
|
1422
1432
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
1423
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1433
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1434
|
+
*/
|
|
1424
1435
|
sort?: string;
|
|
1425
1436
|
/** @description The page number of the search hits to display. */
|
|
1426
1437
|
page?: number;
|
|
1427
1438
|
/** @description The number of search hits to display for each page. Defaults to 10 and max is 10000. */
|
|
1428
1439
|
"page-size"?: number;
|
|
1429
|
-
/**
|
|
1440
|
+
/**
|
|
1441
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
1430
1442
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language'.
|
|
1431
1443
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
1432
1444
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
1433
|
-
|
|
1445
|
+
*/
|
|
1434
1446
|
"search-context"?: string;
|
|
1435
1447
|
/** @description Fallback to existing language if language is specified. */
|
|
1436
1448
|
fallback?: boolean;
|
package/build/audio-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/audio-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio-api.js","sourceRoot":"","sources":["../audio-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audio-api.js","sourceRoot":"","sources":["../audio-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,2DAA+C;AAEtC,0BAAO"}
|
|
@@ -1245,26 +1245,32 @@ export interface operations {
|
|
|
1245
1245
|
page?: number;
|
|
1246
1246
|
/** @description The number of search hits to display for each page. */
|
|
1247
1247
|
"page-size"?: number;
|
|
1248
|
-
/**
|
|
1248
|
+
/**
|
|
1249
|
+
* @description The sorting used on results.
|
|
1249
1250
|
* The following are supported: ByRelevanceDesc,ByRelevanceAsc,ByTitleDesc,ByTitleAsc,ByLastUpdatedDesc,ByLastUpdatedAsc,ByIdDesc,ByIdAsc,ByResponsibleLastUpdatedDesc,ByResponsibleLastUpdatedAsc,ByStatusAsc,ByStatusDesc,BySubjectAsc,BySubjectDesc,ByConceptTypeAsc,ByConceptTypeDesc
|
|
1250
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1251
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1252
|
+
*/
|
|
1251
1253
|
sort?: string;
|
|
1252
1254
|
/** @description Fallback to existing language if language is specified. */
|
|
1253
1255
|
fallback?: boolean;
|
|
1254
|
-
/**
|
|
1256
|
+
/**
|
|
1257
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
1255
1258
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
1256
1259
|
* This value may change between scrolls. Always use the one in the latest scroll result.
|
|
1257
1260
|
* If you are not paginating very far, you can ignore this and use 'page' and 'page-size' instead.
|
|
1258
|
-
|
|
1261
|
+
*/
|
|
1259
1262
|
"search-context"?: string;
|
|
1260
1263
|
/** @description A comma-separated list of tags to filter the search by. */
|
|
1261
1264
|
tags?: string[];
|
|
1262
|
-
/**
|
|
1265
|
+
/**
|
|
1266
|
+
* @description List of statuses to filter by.
|
|
1263
1267
|
* A draft only needs to have one of the available statuses to appear in result (OR).
|
|
1264
|
-
|
|
1268
|
+
*/
|
|
1265
1269
|
status?: string[];
|
|
1266
|
-
/**
|
|
1267
|
-
*
|
|
1270
|
+
/**
|
|
1271
|
+
* @description List of users to filter by.
|
|
1272
|
+
* The value to search for is the user-id from Auth0.
|
|
1273
|
+
*/
|
|
1268
1274
|
users?: string[];
|
|
1269
1275
|
/** @description Return concepts with matching embed type. */
|
|
1270
1276
|
"embed-resource"?: string[];
|
|
@@ -1494,17 +1500,20 @@ export interface operations {
|
|
|
1494
1500
|
page?: number;
|
|
1495
1501
|
/** @description The number of search hits to display for each page. */
|
|
1496
1502
|
"page-size"?: number;
|
|
1497
|
-
/**
|
|
1503
|
+
/**
|
|
1504
|
+
* @description The sorting used on results.
|
|
1498
1505
|
* The following are supported: ByRelevanceDesc,ByRelevanceAsc,ByTitleDesc,ByTitleAsc,ByLastUpdatedDesc,ByLastUpdatedAsc,ByIdDesc,ByIdAsc,ByResponsibleLastUpdatedDesc,ByResponsibleLastUpdatedAsc,ByStatusAsc,ByStatusDesc,BySubjectAsc,BySubjectDesc,ByConceptTypeAsc,ByConceptTypeDesc
|
|
1499
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1506
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1507
|
+
*/
|
|
1500
1508
|
sort?: string;
|
|
1501
1509
|
/** @description Fallback to existing language if language is specified. */
|
|
1502
1510
|
fallback?: boolean;
|
|
1503
|
-
/**
|
|
1511
|
+
/**
|
|
1512
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
1504
1513
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
1505
1514
|
* This value may change between scrolls. Always use the one in the latest scroll result.
|
|
1506
1515
|
* If you are not paginating very far, you can ignore this and use 'page' and 'page-size' instead.
|
|
1507
|
-
|
|
1516
|
+
*/
|
|
1508
1517
|
"search-context"?: string;
|
|
1509
1518
|
/** @description A comma-separated list of tags to filter the search by. */
|
|
1510
1519
|
tags?: string[];
|
package/build/concept-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/concept-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concept-api.js","sourceRoot":"","sources":["../concept-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"concept-api.js","sourceRoot":"","sources":["../concept-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,6DAAiD;AAExC,0BAAO"}
|
|
@@ -761,7 +761,7 @@ export type components = {
|
|
|
761
761
|
* ArticleTrait
|
|
762
762
|
* @enum {string}
|
|
763
763
|
*/
|
|
764
|
-
ArticleTrait: "VIDEO" | "
|
|
764
|
+
ArticleTrait: "VIDEO" | "AUDIO" | "PODCAST" | "INTERACTIVE";
|
|
765
765
|
/**
|
|
766
766
|
* AuthorDTO
|
|
767
767
|
* @description Information about an author
|
|
@@ -1540,15 +1540,18 @@ export interface operations {
|
|
|
1540
1540
|
page?: number;
|
|
1541
1541
|
/** @description The number of search hits to display for each page. */
|
|
1542
1542
|
"page-size"?: number;
|
|
1543
|
-
/**
|
|
1543
|
+
/**
|
|
1544
|
+
* @description The sorting used on results.
|
|
1544
1545
|
* The following are supported: relevance, -relevance, title, -title, lastUpdated, -lastUpdated, id, -id.
|
|
1545
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1546
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1547
|
+
*/
|
|
1546
1548
|
sort?: string;
|
|
1547
|
-
/**
|
|
1549
|
+
/**
|
|
1550
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
1548
1551
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
1549
1552
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
1550
1553
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
1551
|
-
|
|
1554
|
+
*/
|
|
1552
1555
|
"search-context"?: string;
|
|
1553
1556
|
/** @description A comma separated list of codes from GREP API the resources should be filtered by. */
|
|
1554
1557
|
"grep-codes"?: string[];
|
package/build/draft-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/draft-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-api.js","sourceRoot":"","sources":["../draft-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"draft-api.js","sourceRoot":"","sources":["../draft-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,2DAA+C;AAEtC,0BAAO"}
|
package/build/frontpage-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontpage-api.js","sourceRoot":"","sources":["../frontpage-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"frontpage-api.js","sourceRoot":"","sources":["../frontpage-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,+DAAmD;AAE1C,0BAAO"}
|
|
@@ -878,9 +878,11 @@ export interface operations {
|
|
|
878
878
|
fallback?: boolean;
|
|
879
879
|
/** @description Return only images with provided license. */
|
|
880
880
|
license?: string;
|
|
881
|
-
/**
|
|
881
|
+
/**
|
|
882
|
+
* @description The sorting used on results.
|
|
882
883
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
883
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
884
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
885
|
+
*/
|
|
884
886
|
sort?: string;
|
|
885
887
|
/** @description The page number of the search hits to display. */
|
|
886
888
|
page?: number;
|
|
@@ -888,11 +890,12 @@ export interface operations {
|
|
|
888
890
|
"page-size"?: number;
|
|
889
891
|
/** @description Filter images that are podcast friendly. Width==heigth and between 1400 and 3000. */
|
|
890
892
|
"podcast-friendly"?: boolean;
|
|
891
|
-
/**
|
|
893
|
+
/**
|
|
894
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
892
895
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language'.
|
|
893
896
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
894
897
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
895
|
-
|
|
898
|
+
*/
|
|
896
899
|
"search-context"?: string;
|
|
897
900
|
/** @description Filter whether the image(s) should be model-released or not. Multiple values can be specified in a comma separated list. Possible values include: yes,no,not-applicable,not-set */
|
|
898
901
|
"model-released"?: string[];
|
|
@@ -1021,9 +1024,11 @@ export interface operations {
|
|
|
1021
1024
|
page?: number;
|
|
1022
1025
|
/** @description The ISO 639-1 language code describing language. */
|
|
1023
1026
|
language?: string;
|
|
1024
|
-
/**
|
|
1027
|
+
/**
|
|
1028
|
+
* @description The sorting used on results.
|
|
1025
1029
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
1026
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1030
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1031
|
+
*/
|
|
1027
1032
|
sort?: string;
|
|
1028
1033
|
};
|
|
1029
1034
|
header?: never;
|
|
@@ -1441,9 +1446,11 @@ export interface operations {
|
|
|
1441
1446
|
* @description Return copyrighted images. May be omitted.
|
|
1442
1447
|
*/
|
|
1443
1448
|
includeCopyrighted?: boolean;
|
|
1444
|
-
/**
|
|
1449
|
+
/**
|
|
1450
|
+
* @description The sorting used on results.
|
|
1445
1451
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
1446
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1452
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1453
|
+
*/
|
|
1447
1454
|
sort?: string;
|
|
1448
1455
|
/** @description The page number of the search hits to display. */
|
|
1449
1456
|
page?: number;
|
|
@@ -1451,17 +1458,20 @@ export interface operations {
|
|
|
1451
1458
|
"page-size"?: number;
|
|
1452
1459
|
/** @description Filter images that are podcast friendly. Width==heigth and between 1400 and 3000. */
|
|
1453
1460
|
"podcast-friendly"?: boolean;
|
|
1454
|
-
/**
|
|
1461
|
+
/**
|
|
1462
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
1455
1463
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language'.
|
|
1456
1464
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
1457
1465
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
1458
|
-
|
|
1466
|
+
*/
|
|
1459
1467
|
"search-context"?: string;
|
|
1460
1468
|
/** @description Filter whether the image(s) should be model-released or not. Multiple values can be specified in a comma separated list. Possible values include: yes,no,not-applicable,not-set */
|
|
1461
1469
|
"model-released"?: string[];
|
|
1462
|
-
/**
|
|
1470
|
+
/**
|
|
1471
|
+
* @description List of users to filter by.
|
|
1463
1472
|
* The value to search for is the user-id from Auth0.
|
|
1464
|
-
* UpdatedBy on article and user in editorial-notes are searched.
|
|
1473
|
+
* UpdatedBy on article and user in editorial-notes are searched.
|
|
1474
|
+
*/
|
|
1465
1475
|
users?: string[];
|
|
1466
1476
|
/** @description Include inactive images */
|
|
1467
1477
|
inactive?: boolean;
|
|
@@ -1612,9 +1622,11 @@ export interface operations {
|
|
|
1612
1622
|
page?: number;
|
|
1613
1623
|
/** @description The ISO 639-1 language code describing language. */
|
|
1614
1624
|
language?: string;
|
|
1615
|
-
/**
|
|
1625
|
+
/**
|
|
1626
|
+
* @description The sorting used on results.
|
|
1616
1627
|
* The following are supported: -relevance, relevance, -title, title, -lastUpdated, lastUpdated, -id, id.
|
|
1617
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1628
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1629
|
+
*/
|
|
1618
1630
|
sort?: string;
|
|
1619
1631
|
};
|
|
1620
1632
|
header?: never;
|
package/build/image-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/image-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-api.js","sourceRoot":"","sources":["../image-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image-api.js","sourceRoot":"","sources":["../image-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,2DAA+C;AAEtC,0BAAO"}
|
|
@@ -1220,17 +1220,20 @@ export interface operations {
|
|
|
1220
1220
|
page?: number;
|
|
1221
1221
|
/** @description The number of search hits to display for each page. */
|
|
1222
1222
|
"page-size"?: number;
|
|
1223
|
-
/**
|
|
1223
|
+
/**
|
|
1224
|
+
* @description The sorting used on results.
|
|
1224
1225
|
* The following are supported: -id, id, -relevance, relevance, -lastUpdated, lastUpdated, -duration, duration, -title, title.
|
|
1225
|
-
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1226
|
+
* Default is by -relevance (desc) when query is set, and title (asc) when query is empty.
|
|
1227
|
+
*/
|
|
1226
1228
|
sort?: string;
|
|
1227
1229
|
/** @description Fallback to existing language if language is specified. */
|
|
1228
1230
|
fallback?: boolean;
|
|
1229
|
-
/**
|
|
1231
|
+
/**
|
|
1232
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
|
|
1230
1233
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
1231
1234
|
* This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
|
|
1232
1235
|
* If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
|
|
1233
|
-
|
|
1236
|
+
*/
|
|
1234
1237
|
"search-context"?: string;
|
|
1235
1238
|
/** @description Return only learning paths that have this verification status. */
|
|
1236
1239
|
verificationStatus?: string;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"learningpath-api.js","sourceRoot":"","sources":["../learningpath-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"learningpath-api.js","sourceRoot":"","sources":["../learningpath-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,kEAAsD;AAE7C,0BAAO"}
|
package/build/myndla-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/myndla-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"myndla-api.js","sourceRoot":"","sources":["../myndla-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"myndla-api.js","sourceRoot":"","sources":["../myndla-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAgD;AAEvC,0BAAO"}
|
package/build/oembed-proxy.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oembed-proxy.js","sourceRoot":"","sources":["../oembed-proxy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"oembed-proxy.js","sourceRoot":"","sources":["../oembed-proxy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAkD;AAEzC,0BAAO"}
|
|
@@ -22,13 +22,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
22
22
|
}) : function(o, v) {
|
|
23
23
|
o["default"] = v;
|
|
24
24
|
});
|
|
25
|
-
var __importStar = (this && this.__importStar) || function (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
25
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
26
|
+
var ownKeys = function(o) {
|
|
27
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
28
|
+
var ar = [];
|
|
29
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
30
|
+
return ar;
|
|
31
|
+
};
|
|
32
|
+
return ownKeys(o);
|
|
33
|
+
};
|
|
34
|
+
return function (mod) {
|
|
35
|
+
if (mod && mod.__esModule) return mod;
|
|
36
|
+
var result = {};
|
|
37
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
38
|
+
__setModuleDefault(result, mod);
|
|
39
|
+
return result;
|
|
40
|
+
};
|
|
41
|
+
})();
|
|
32
42
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
33
43
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
34
44
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -39,8 +49,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
39
49
|
});
|
|
40
50
|
};
|
|
41
51
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
42
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
43
|
-
return g =
|
|
52
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
53
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
44
54
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
45
55
|
function step(op) {
|
|
46
56
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-openapi.js","sourceRoot":"","sources":["../../scripts/generate-openapi.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"generate-openapi.js","sourceRoot":"","sources":["../../scripts/generate-openapi.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAyB;AACzB,uEAA6E;AAC7E,0DAA0C;AAE1C,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;IAC9B,MAAM,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC;AACjC,CAAC;AAED,IAAM,IAAI,GAAG,oBAAE,CAAC,OAAO,CAAC,uBAAuB,CAC7C,oBAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,CACpC,CAAC;AACF,IAAM,IAAI,GAAG,oBAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,oBAAE,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS;AAEjF,SAAe,cAAc,CAAC,OAAe;;;;;;oBACrC,QAAQ,GAAG,oBAAa,OAAO,UAAO,CAAC;oBAC7C,OAAO,CAAC,GAAG,CAAC,kBAAW,QAAQ,qCAAkC,CAAC,CAAC;oBACpD,qBAAM,iBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAA;;oBAArD,MAAM,GAAG,SAA4C;oBACrD,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;oBAE7B,qBAAM,IAAA,4BAAS,EAAC,aAAa,EAAE;4BACzC,UAAU,EAAE,IAAI;4BAChB,4EAA4E;4BAC5E,kBAAkB,EAAE,KAAK;4BACzB,SAAS,YAAC,YAAY,EAAE,QAAQ;gCAC9B,IAAI,YAAY,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;oCACrC,IAAI,YAAY,CAAC,QAAQ,EAAE,CAAC;wCAC1B,OAAO,oBAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;oCACtD,CAAC;yCAAM,CAAC;wCACN,OAAO,IAAI,CAAC;oCACd,CAAC;gCACH,CAAC;4BACH,CAAC;yBACF,CAAC,EAAA;;oBAbI,GAAG,GAAG,SAaV;oBAEI,UAAU,GAAG,YAAK,OAAO,gBAAa,CAAC;oBACvC,MAAM,GAAG,IAAA,gCAAW,EAAC,GAAG,CAAC,CAAC;oBAEhC,OAAO,CAAC,GAAG,CAAC,wBAAiB,UAAU,CAAE,CAAC,CAAC;oBAC3C,iBAAE,CAAC,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;oBAEjC,WAAW,GAAG,8FACU,OAAO,0FAIpC,CAAC;oBAEM,OAAO,GAAG,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC;oBAC3C,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;oBACzC,WAAoC,EAAX,2BAAW,EAAX,yBAAW,EAAX,IAAW,EAAE,CAAC;wBAA5B,UAAU;wBACnB,WAAW,IAAI,sBAAe,UAAU,0BAAe,UAAU,WAAO,CAAC;oBAC3E,CAAC;oBAEK,YAAY,GAAG,YAAK,OAAO,QAAK,CAAC;oBACvC,OAAO,CAAC,GAAG,CAAC,wBAAiB,YAAY,CAAE,CAAC,CAAC;oBAC7C,iBAAE,CAAC,aAAa,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;;;;;CAC7C;AAED,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -54,7 +54,6 @@ export type paths = {
|
|
|
54
54
|
* Find draft learning resources
|
|
55
55
|
* @description Shows all draft learning resources. You can search too.
|
|
56
56
|
* Query parameters are undocumented, but are the same as the body for the POST endpoint, except `kebab-case`.
|
|
57
|
-
*
|
|
58
57
|
*/
|
|
59
58
|
get: operations["getSearch-apiV1SearchEditorial"];
|
|
60
59
|
put?: never;
|
|
@@ -167,7 +166,7 @@ export type components = {
|
|
|
167
166
|
* ArticleTrait
|
|
168
167
|
* @enum {string}
|
|
169
168
|
*/
|
|
170
|
-
ArticleTrait: "VIDEO" | "
|
|
169
|
+
ArticleTrait: "VIDEO" | "AUDIO" | "PODCAST" | "INTERACTIVE";
|
|
171
170
|
/**
|
|
172
171
|
* CommentDTO
|
|
173
172
|
* @description Information about a comment attached to an article
|
|
@@ -231,20 +230,25 @@ export type components = {
|
|
|
231
230
|
subjects?: string[];
|
|
232
231
|
/** @description A list of ISO 639-1 language codes that the learning resource can be available in. */
|
|
233
232
|
languageFilter?: string[];
|
|
234
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* @description A list of relevances the learning resources should be filtered by.
|
|
235
235
|
* If subjects are specified the learning resource must have specified relevances in relation to a specified subject.
|
|
236
|
-
* If levels are specified the learning resource must have specified relevances in relation to a specified level.
|
|
236
|
+
* If levels are specified the learning resource must have specified relevances in relation to a specified level.
|
|
237
|
+
*/
|
|
237
238
|
relevance?: string[];
|
|
238
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: ["0", "initial", "start", "first"].
|
|
239
241
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
240
242
|
* This value may change between scrolls. Always use the one in the latest scroll result.
|
|
241
|
-
|
|
243
|
+
*/
|
|
242
244
|
scrollId?: string;
|
|
243
245
|
/** @description List of statuses to filter by. A draft only needs to have one of the available statuses to be included in result (OR). */
|
|
244
246
|
draftStatus?: string[];
|
|
245
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* @description List of users to filter by.
|
|
246
249
|
* The value to search for is the user-id from Auth0.
|
|
247
|
-
* UpdatedBy on article and user in editorial-notes are searched.
|
|
250
|
+
* UpdatedBy on article and user in editorial-notes are searched.
|
|
251
|
+
*/
|
|
248
252
|
users?: string[];
|
|
249
253
|
/** @description A list of codes from GREP API the resources should be filtered by. */
|
|
250
254
|
grepCodes?: string[];
|
|
@@ -763,10 +767,11 @@ export type components = {
|
|
|
763
767
|
pageSize?: number;
|
|
764
768
|
/** @description A list of article-types the search should be filtered by. */
|
|
765
769
|
articleTypes?: string[];
|
|
766
|
-
/**
|
|
770
|
+
/**
|
|
771
|
+
* @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: ["0", "initial", "start", "first"].
|
|
767
772
|
* When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
|
|
768
773
|
* This value may change between scrolls. Always use the one in the latest scroll result.
|
|
769
|
-
|
|
774
|
+
*/
|
|
770
775
|
scrollId?: string;
|
|
771
776
|
/** @description Return only results with content matching the specified query. */
|
|
772
777
|
query?: string;
|
|
@@ -785,9 +790,11 @@ export type components = {
|
|
|
785
790
|
resourceTypes?: string[];
|
|
786
791
|
/** @description A list of context-types the learning resources should be filtered by. */
|
|
787
792
|
contextTypes?: string[];
|
|
788
|
-
/**
|
|
793
|
+
/**
|
|
794
|
+
* @description A list of relevances the learning resources should be filtered by.
|
|
789
795
|
* If subjects are specified the learning resource must have specified relevances in relation to a specified subject.
|
|
790
|
-
* If levels are specified the learning resource must have specified relevances in relation to a specified level.
|
|
796
|
+
* If levels are specified the learning resource must have specified relevances in relation to a specified level.
|
|
797
|
+
*/
|
|
791
798
|
relevance?: string[];
|
|
792
799
|
/** @description A list of ISO 639-1 language codes that the learning resource can be available in. */
|
|
793
800
|
languageFilter?: string[];
|
package/build/search-api.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.openapi = void 0;
|
|
27
37
|
// This file is generated automatically. Do not edit.
|
package/build/search-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAgD;AAEvC,0BAAO"}
|
package/package.json
CHANGED
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
],
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^22.13.16",
|
|
31
|
-
"openapi-typescript": "^7.
|
|
32
|
-
"tsx": "^4.
|
|
33
|
-
"typescript": "^5.
|
|
31
|
+
"openapi-typescript": "^7.10.1",
|
|
32
|
+
"tsx": "^4.21.0",
|
|
33
|
+
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
|
-
"version": "1.0.
|
|
35
|
+
"version": "1.0.86",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|