@ndla/types-backend 1.0.34 → 1.0.35
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 +1092 -0
- package/build/article-api-openapi.js +7 -0
- package/build/article-api-openapi.js.map +1 -0
- package/build/article-api.d.ts +57 -156
- package/build/article-api.js +27 -13
- package/build/article-api.js.map +1 -1
- package/build/audio-api-openapi.d.ts +2153 -0
- package/build/audio-api-openapi.js +7 -0
- package/build/audio-api-openapi.js.map +1 -0
- package/build/audio-api.d.ts +69 -190
- package/build/audio-api.js +27 -13
- package/build/audio-api.js.map +1 -1
- package/build/concept-api-openapi.d.ts +1682 -0
- package/build/concept-api-openapi.js +7 -0
- package/build/concept-api-openapi.js.map +1 -0
- package/build/concept-api.d.ts +69 -221
- package/build/concept-api.js +27 -21
- package/build/concept-api.js.map +1 -1
- package/build/draft-api-openapi.d.ts +2893 -0
- package/build/draft-api-openapi.js +7 -0
- package/build/draft-api-openapi.js.map +1 -0
- package/build/draft-api.d.ts +117 -292
- package/build/draft-api.js +27 -13
- package/build/draft-api.js.map +1 -1
- package/build/frontpage-api-openapi.d.ts +800 -0
- package/build/frontpage-api-openapi.js +7 -0
- package/build/frontpage-api-openapi.js.map +1 -0
- package/build/frontpage-api.d.ts +53 -121
- package/build/frontpage-api.js +27 -1
- package/build/frontpage-api.js.map +1 -1
- package/build/image-api-openapi.d.ts +2192 -0
- package/build/image-api-openapi.js +7 -0
- package/build/image-api-openapi.js.map +1 -0
- package/build/image-api.d.ts +61 -174
- package/build/image-api.js +27 -13
- package/build/image-api.js.map +1 -1
- package/build/learningpath-api-openapi.d.ts +2671 -0
- package/build/learningpath-api-openapi.js +7 -0
- package/build/learningpath-api-openapi.js.map +1 -0
- package/build/learningpath-api.d.ts +71 -143
- package/build/learningpath-api.js +27 -1
- package/build/learningpath-api.js.map +1 -1
- package/build/myndla-api-openapi.d.ts +2718 -0
- package/build/myndla-api-openapi.js +7 -0
- package/build/myndla-api-openapi.js.map +1 -0
- package/build/myndla-api.d.ts +69 -125
- package/build/myndla-api.js +27 -1
- package/build/myndla-api.js.map +1 -1
- package/build/oembed-proxy-openapi.d.ts +249 -0
- package/build/oembed-proxy-openapi.js +7 -0
- package/build/oembed-proxy-openapi.js.map +1 -0
- package/build/oembed-proxy.d.ts +15 -0
- package/build/oembed-proxy.js +30 -0
- package/build/oembed-proxy.js.map +1 -0
- package/build/search-api-openapi.d.ts +1525 -0
- package/build/search-api-openapi.js +7 -0
- package/build/search-api-openapi.js.map +1 -0
- package/build/search-api.d.ts +121 -422
- package/build/search-api.js +27 -33
- package/build/search-api.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"frontpage-api-openapi.js","sourceRoot":"","sources":["../frontpage-api-openapi.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/build/frontpage-api.d.ts
CHANGED
|
@@ -1,121 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
export type
|
|
41
|
-
export
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export
|
|
54
|
-
title: string;
|
|
55
|
-
description: string;
|
|
56
|
-
language: string;
|
|
57
|
-
visualElement: INewOrUpdatedVisualElementDTO;
|
|
58
|
-
}
|
|
59
|
-
export interface INewOrUpdatedFilmFrontPageDTO {
|
|
60
|
-
name: string;
|
|
61
|
-
about: INewOrUpdatedAboutSubjectDTO[];
|
|
62
|
-
movieThemes: INewOrUpdatedMovieThemeDTO[];
|
|
63
|
-
slideShow: string[];
|
|
64
|
-
article?: string;
|
|
65
|
-
}
|
|
66
|
-
export interface INewOrUpdatedMetaDescriptionDTO {
|
|
67
|
-
metaDescription: string;
|
|
68
|
-
language: string;
|
|
69
|
-
}
|
|
70
|
-
export interface INewOrUpdatedMovieNameDTO {
|
|
71
|
-
name: string;
|
|
72
|
-
language: string;
|
|
73
|
-
}
|
|
74
|
-
export interface INewOrUpdatedMovieThemeDTO {
|
|
75
|
-
name: INewOrUpdatedMovieNameDTO[];
|
|
76
|
-
movies: string[];
|
|
77
|
-
}
|
|
78
|
-
export interface INewOrUpdatedVisualElementDTO {
|
|
79
|
-
type: string;
|
|
80
|
-
id: string;
|
|
81
|
-
alt?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface INewSubjectPageDTO {
|
|
84
|
-
name: string;
|
|
85
|
-
externalId?: string;
|
|
86
|
-
banner: INewOrUpdateBannerImageDTO;
|
|
87
|
-
about: INewOrUpdatedAboutSubjectDTO[];
|
|
88
|
-
metaDescription: INewOrUpdatedMetaDescriptionDTO[];
|
|
89
|
-
editorsChoices?: string[];
|
|
90
|
-
connectedTo?: string[];
|
|
91
|
-
buildsOn?: string[];
|
|
92
|
-
leadsTo?: string[];
|
|
93
|
-
}
|
|
94
|
-
export interface ISubjectPageDTO {
|
|
95
|
-
id: number;
|
|
96
|
-
name: string;
|
|
97
|
-
banner: IBannerImageDTO;
|
|
98
|
-
about?: IAboutSubjectDTO;
|
|
99
|
-
metaDescription?: string;
|
|
100
|
-
editorsChoices: string[];
|
|
101
|
-
supportedLanguages: string[];
|
|
102
|
-
connectedTo: string[];
|
|
103
|
-
buildsOn: string[];
|
|
104
|
-
leadsTo: string[];
|
|
105
|
-
}
|
|
106
|
-
export interface IUpdatedSubjectPageDTO {
|
|
107
|
-
name?: string;
|
|
108
|
-
externalId?: string;
|
|
109
|
-
banner?: INewOrUpdateBannerImageDTO;
|
|
110
|
-
about?: INewOrUpdatedAboutSubjectDTO[];
|
|
111
|
-
metaDescription?: INewOrUpdatedMetaDescriptionDTO[];
|
|
112
|
-
editorsChoices?: string[];
|
|
113
|
-
connectedTo?: string[];
|
|
114
|
-
buildsOn?: string[];
|
|
115
|
-
leadsTo?: string[];
|
|
116
|
-
}
|
|
117
|
-
export interface IVisualElementDTO {
|
|
118
|
-
type: string;
|
|
119
|
-
url: string;
|
|
120
|
-
alt?: string;
|
|
121
|
-
}
|
|
1
|
+
import * as openapi from "./frontpage-api-openapi";
|
|
2
|
+
type schemas = openapi.components["schemas"];
|
|
3
|
+
export { openapi };
|
|
4
|
+
export type AboutFilmSubjectDTO = schemas["AboutFilmSubjectDTO"];
|
|
5
|
+
export type IAboutFilmSubjectDTO = schemas["AboutFilmSubjectDTO"];
|
|
6
|
+
export type AboutSubjectDTO = schemas["AboutSubjectDTO"];
|
|
7
|
+
export type IAboutSubjectDTO = schemas["AboutSubjectDTO"];
|
|
8
|
+
export type AllErrors = schemas["AllErrors"];
|
|
9
|
+
export type IAllErrors = schemas["AllErrors"];
|
|
10
|
+
export type BannerImageDTO = schemas["BannerImageDTO"];
|
|
11
|
+
export type IBannerImageDTO = schemas["BannerImageDTO"];
|
|
12
|
+
export type ErrorBody = schemas["ErrorBody"];
|
|
13
|
+
export type IErrorBody = schemas["ErrorBody"];
|
|
14
|
+
export type FilmFrontPageDTO = schemas["FilmFrontPageDTO"];
|
|
15
|
+
export type IFilmFrontPageDTO = schemas["FilmFrontPageDTO"];
|
|
16
|
+
export type FrontPageDTO = schemas["FrontPageDTO"];
|
|
17
|
+
export type IFrontPageDTO = schemas["FrontPageDTO"];
|
|
18
|
+
export type MenuDTO = schemas["MenuDTO"];
|
|
19
|
+
export type IMenuDTO = schemas["MenuDTO"];
|
|
20
|
+
export type MenuDataDTO = schemas["MenuDataDTO"];
|
|
21
|
+
export type IMenuDataDTO = schemas["MenuDataDTO"];
|
|
22
|
+
export type MovieThemeDTO = schemas["MovieThemeDTO"];
|
|
23
|
+
export type IMovieThemeDTO = schemas["MovieThemeDTO"];
|
|
24
|
+
export type MovieThemeNameDTO = schemas["MovieThemeNameDTO"];
|
|
25
|
+
export type IMovieThemeNameDTO = schemas["MovieThemeNameDTO"];
|
|
26
|
+
export type NewOrUpdateBannerImageDTO = schemas["NewOrUpdateBannerImageDTO"];
|
|
27
|
+
export type INewOrUpdateBannerImageDTO = schemas["NewOrUpdateBannerImageDTO"];
|
|
28
|
+
export type NewOrUpdatedAboutSubjectDTO = schemas["NewOrUpdatedAboutSubjectDTO"];
|
|
29
|
+
export type INewOrUpdatedAboutSubjectDTO = schemas["NewOrUpdatedAboutSubjectDTO"];
|
|
30
|
+
export type NewOrUpdatedFilmFrontPageDTO = schemas["NewOrUpdatedFilmFrontPageDTO"];
|
|
31
|
+
export type INewOrUpdatedFilmFrontPageDTO = schemas["NewOrUpdatedFilmFrontPageDTO"];
|
|
32
|
+
export type NewOrUpdatedMetaDescriptionDTO = schemas["NewOrUpdatedMetaDescriptionDTO"];
|
|
33
|
+
export type INewOrUpdatedMetaDescriptionDTO = schemas["NewOrUpdatedMetaDescriptionDTO"];
|
|
34
|
+
export type NewOrUpdatedMovieNameDTO = schemas["NewOrUpdatedMovieNameDTO"];
|
|
35
|
+
export type INewOrUpdatedMovieNameDTO = schemas["NewOrUpdatedMovieNameDTO"];
|
|
36
|
+
export type NewOrUpdatedMovieThemeDTO = schemas["NewOrUpdatedMovieThemeDTO"];
|
|
37
|
+
export type INewOrUpdatedMovieThemeDTO = schemas["NewOrUpdatedMovieThemeDTO"];
|
|
38
|
+
export type NewOrUpdatedVisualElementDTO = schemas["NewOrUpdatedVisualElementDTO"];
|
|
39
|
+
export type INewOrUpdatedVisualElementDTO = schemas["NewOrUpdatedVisualElementDTO"];
|
|
40
|
+
export type NewSubjectPageDTO = schemas["NewSubjectPageDTO"];
|
|
41
|
+
export type INewSubjectPageDTO = schemas["NewSubjectPageDTO"];
|
|
42
|
+
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
43
|
+
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
44
|
+
export type SubjectPageDTO = schemas["SubjectPageDTO"];
|
|
45
|
+
export type ISubjectPageDTO = schemas["SubjectPageDTO"];
|
|
46
|
+
export type UpdatedSubjectPageDTO = schemas["UpdatedSubjectPageDTO"];
|
|
47
|
+
export type IUpdatedSubjectPageDTO = schemas["UpdatedSubjectPageDTO"];
|
|
48
|
+
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
49
|
+
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
50
|
+
export type ValidationMessage = schemas["ValidationMessage"];
|
|
51
|
+
export type IValidationMessage = schemas["ValidationMessage"];
|
|
52
|
+
export type VisualElementDTO = schemas["VisualElementDTO"];
|
|
53
|
+
export type IVisualElementDTO = schemas["VisualElementDTO"];
|
package/build/frontpage-api.js
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
3
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.openapi = void 0;
|
|
27
|
+
// This file was generated by OpenApiPlugin, do not edit it manually
|
|
28
|
+
var openapi = __importStar(require("./frontpage-api-openapi"));
|
|
29
|
+
exports.openapi = openapi;
|
|
4
30
|
//# sourceMappingURL=frontpage-api.js.map
|
|
@@ -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,oEAAoE;AACpE,+DAAmD;AAG1C,0BAAO"}
|