@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":"audio-api-openapi.js","sourceRoot":"","sources":["../audio-api-openapi.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/build/audio-api.d.ts
CHANGED
|
@@ -1,190 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export type
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
export
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
export interface IDescriptionDTO {
|
|
72
|
-
description: string;
|
|
73
|
-
language: string;
|
|
74
|
-
}
|
|
75
|
-
export interface ILicenseDTO {
|
|
76
|
-
license: string;
|
|
77
|
-
description?: string;
|
|
78
|
-
url?: string;
|
|
79
|
-
}
|
|
80
|
-
export interface IManuscriptDTO {
|
|
81
|
-
manuscript: string;
|
|
82
|
-
language: string;
|
|
83
|
-
}
|
|
84
|
-
export interface INewAudioMetaInformationDTO {
|
|
85
|
-
title: string;
|
|
86
|
-
language: string;
|
|
87
|
-
copyright: ICopyrightDTO;
|
|
88
|
-
tags: string[];
|
|
89
|
-
audioType?: string;
|
|
90
|
-
podcastMeta?: INewPodcastMetaDTO;
|
|
91
|
-
seriesId?: number;
|
|
92
|
-
manuscript?: string;
|
|
93
|
-
}
|
|
94
|
-
export interface INewPodcastMetaDTO {
|
|
95
|
-
introduction: string;
|
|
96
|
-
coverPhotoId: string;
|
|
97
|
-
coverPhotoAltText: string;
|
|
98
|
-
}
|
|
99
|
-
export interface INewSeriesDTO {
|
|
100
|
-
title: string;
|
|
101
|
-
description: string;
|
|
102
|
-
coverPhotoId: string;
|
|
103
|
-
coverPhotoAltText: string;
|
|
104
|
-
episodes: number[];
|
|
105
|
-
language: string;
|
|
106
|
-
revision?: number;
|
|
107
|
-
hasRSS?: boolean;
|
|
108
|
-
}
|
|
109
|
-
export interface IPodcastMetaDTO {
|
|
110
|
-
introduction: string;
|
|
111
|
-
coverPhoto: ICoverPhotoDTO;
|
|
112
|
-
language: string;
|
|
113
|
-
}
|
|
114
|
-
export interface ISearchParamsDTO {
|
|
115
|
-
query?: string;
|
|
116
|
-
license?: string;
|
|
117
|
-
language?: string;
|
|
118
|
-
page?: number;
|
|
119
|
-
pageSize?: number;
|
|
120
|
-
sort?: Sort;
|
|
121
|
-
scrollId?: string;
|
|
122
|
-
audioType?: string;
|
|
123
|
-
filterBySeries?: boolean;
|
|
124
|
-
fallback?: boolean;
|
|
125
|
-
}
|
|
126
|
-
export interface ISeriesDTO {
|
|
127
|
-
id: number;
|
|
128
|
-
revision: number;
|
|
129
|
-
title: ITitleDTO;
|
|
130
|
-
description: IDescriptionDTO;
|
|
131
|
-
coverPhoto: ICoverPhotoDTO;
|
|
132
|
-
episodes?: IAudioMetaInformationDTO[];
|
|
133
|
-
supportedLanguages: string[];
|
|
134
|
-
hasRSS: boolean;
|
|
135
|
-
}
|
|
136
|
-
export interface ISeriesSearchParamsDTO {
|
|
137
|
-
query?: string;
|
|
138
|
-
language?: string;
|
|
139
|
-
page?: number;
|
|
140
|
-
pageSize?: number;
|
|
141
|
-
sort?: Sort;
|
|
142
|
-
scrollId?: string;
|
|
143
|
-
fallback?: boolean;
|
|
144
|
-
}
|
|
145
|
-
export interface ISeriesSummaryDTO {
|
|
146
|
-
id: number;
|
|
147
|
-
title: ITitleDTO;
|
|
148
|
-
description: IDescriptionDTO;
|
|
149
|
-
supportedLanguages: string[];
|
|
150
|
-
episodes?: IAudioSummaryDTO[];
|
|
151
|
-
coverPhoto: ICoverPhotoDTO;
|
|
152
|
-
}
|
|
153
|
-
export interface ISeriesSummarySearchResultDTO {
|
|
154
|
-
totalCount: number;
|
|
155
|
-
page?: number;
|
|
156
|
-
pageSize: number;
|
|
157
|
-
language: string;
|
|
158
|
-
results: ISeriesSummaryDTO[];
|
|
159
|
-
}
|
|
160
|
-
export interface ITagDTO {
|
|
161
|
-
tags: string[];
|
|
162
|
-
language: string;
|
|
163
|
-
}
|
|
164
|
-
export interface ITagsSearchResultDTO {
|
|
165
|
-
totalCount: number;
|
|
166
|
-
page: number;
|
|
167
|
-
pageSize: number;
|
|
168
|
-
language: string;
|
|
169
|
-
results: string[];
|
|
170
|
-
}
|
|
171
|
-
export interface ITitleDTO {
|
|
172
|
-
title: string;
|
|
173
|
-
language: string;
|
|
174
|
-
}
|
|
175
|
-
export interface ITranscriptionResultDTO {
|
|
176
|
-
status: string;
|
|
177
|
-
transcription?: string;
|
|
178
|
-
}
|
|
179
|
-
export interface IUpdatedAudioMetaInformationDTO {
|
|
180
|
-
revision: number;
|
|
181
|
-
title: string;
|
|
182
|
-
language: string;
|
|
183
|
-
copyright: ICopyrightDTO;
|
|
184
|
-
tags: string[];
|
|
185
|
-
audioType?: string;
|
|
186
|
-
podcastMeta?: INewPodcastMetaDTO;
|
|
187
|
-
seriesId?: number;
|
|
188
|
-
manuscript?: string;
|
|
189
|
-
}
|
|
190
|
-
export type Sort = AudioSortEnum;
|
|
1
|
+
import * as openapi from "./audio-api-openapi";
|
|
2
|
+
type schemas = openapi.components["schemas"];
|
|
3
|
+
export { openapi };
|
|
4
|
+
export type AllErrors = schemas["AllErrors"];
|
|
5
|
+
export type IAllErrors = schemas["AllErrors"];
|
|
6
|
+
export type AudioDTO = schemas["AudioDTO"];
|
|
7
|
+
export type IAudioDTO = schemas["AudioDTO"];
|
|
8
|
+
export type AudioMetaInformationDTO = schemas["AudioMetaInformationDTO"];
|
|
9
|
+
export type IAudioMetaInformationDTO = schemas["AudioMetaInformationDTO"];
|
|
10
|
+
export type AudioSummaryDTO = schemas["AudioSummaryDTO"];
|
|
11
|
+
export type IAudioSummaryDTO = schemas["AudioSummaryDTO"];
|
|
12
|
+
export type AudioSummarySearchResultDTO = schemas["AudioSummarySearchResultDTO"];
|
|
13
|
+
export type IAudioSummarySearchResultDTO = schemas["AudioSummarySearchResultDTO"];
|
|
14
|
+
export type AuthorDTO = schemas["AuthorDTO"];
|
|
15
|
+
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
16
|
+
export type ContributorType = schemas["ContributorType"];
|
|
17
|
+
export type IContributorType = schemas["ContributorType"];
|
|
18
|
+
export type CopyrightDTO = schemas["CopyrightDTO"];
|
|
19
|
+
export type ICopyrightDTO = schemas["CopyrightDTO"];
|
|
20
|
+
export type CoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
21
|
+
export type ICoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
22
|
+
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
23
|
+
export type IDescriptionDTO = schemas["DescriptionDTO"];
|
|
24
|
+
export type ErrorBody = schemas["ErrorBody"];
|
|
25
|
+
export type IErrorBody = schemas["ErrorBody"];
|
|
26
|
+
export type LicenseDTO = schemas["LicenseDTO"];
|
|
27
|
+
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
28
|
+
export type ManuscriptDTO = schemas["ManuscriptDTO"];
|
|
29
|
+
export type IManuscriptDTO = schemas["ManuscriptDTO"];
|
|
30
|
+
export type MetaDataAndFileForm = schemas["MetaDataAndFileForm"];
|
|
31
|
+
export type IMetaDataAndFileForm = schemas["MetaDataAndFileForm"];
|
|
32
|
+
export type MetaDataAndOptFileForm = schemas["MetaDataAndOptFileForm"];
|
|
33
|
+
export type IMetaDataAndOptFileForm = schemas["MetaDataAndOptFileForm"];
|
|
34
|
+
export type NewAudioMetaInformationDTO = schemas["NewAudioMetaInformationDTO"];
|
|
35
|
+
export type INewAudioMetaInformationDTO = schemas["NewAudioMetaInformationDTO"];
|
|
36
|
+
export type NewPodcastMetaDTO = schemas["NewPodcastMetaDTO"];
|
|
37
|
+
export type INewPodcastMetaDTO = schemas["NewPodcastMetaDTO"];
|
|
38
|
+
export type NewSeriesDTO = schemas["NewSeriesDTO"];
|
|
39
|
+
export type INewSeriesDTO = schemas["NewSeriesDTO"];
|
|
40
|
+
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
41
|
+
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
42
|
+
export type PodcastMetaDTO = schemas["PodcastMetaDTO"];
|
|
43
|
+
export type IPodcastMetaDTO = schemas["PodcastMetaDTO"];
|
|
44
|
+
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
45
|
+
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
46
|
+
export type SeriesDTO = schemas["SeriesDTO"];
|
|
47
|
+
export type ISeriesDTO = schemas["SeriesDTO"];
|
|
48
|
+
export type SeriesSearchParamsDTO = schemas["SeriesSearchParamsDTO"];
|
|
49
|
+
export type ISeriesSearchParamsDTO = schemas["SeriesSearchParamsDTO"];
|
|
50
|
+
export type SeriesSummaryDTO = schemas["SeriesSummaryDTO"];
|
|
51
|
+
export type ISeriesSummaryDTO = schemas["SeriesSummaryDTO"];
|
|
52
|
+
export type SeriesSummarySearchResultDTO = schemas["SeriesSummarySearchResultDTO"];
|
|
53
|
+
export type ISeriesSummarySearchResultDTO = schemas["SeriesSummarySearchResultDTO"];
|
|
54
|
+
export type Sort = schemas["Sort"];
|
|
55
|
+
export type ISort = schemas["Sort"];
|
|
56
|
+
export type TagDTO = schemas["TagDTO"];
|
|
57
|
+
export type ITagDTO = schemas["TagDTO"];
|
|
58
|
+
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
59
|
+
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
60
|
+
export type TitleDTO = schemas["TitleDTO"];
|
|
61
|
+
export type ITitleDTO = schemas["TitleDTO"];
|
|
62
|
+
export type TranscriptionResultDTO = schemas["TranscriptionResultDTO"];
|
|
63
|
+
export type ITranscriptionResultDTO = schemas["TranscriptionResultDTO"];
|
|
64
|
+
export type UpdatedAudioMetaInformationDTO = schemas["UpdatedAudioMetaInformationDTO"];
|
|
65
|
+
export type IUpdatedAudioMetaInformationDTO = schemas["UpdatedAudioMetaInformationDTO"];
|
|
66
|
+
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
67
|
+
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
68
|
+
export type ValidationMessage = schemas["ValidationMessage"];
|
|
69
|
+
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/audio-api.js
CHANGED
|
@@ -1,16 +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 });
|
|
4
|
-
exports.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
AudioSortEnum["ByRelevanceAsc"] = "relevance";
|
|
9
|
-
AudioSortEnum["ByTitleDesc"] = "-title";
|
|
10
|
-
AudioSortEnum["ByTitleAsc"] = "title";
|
|
11
|
-
AudioSortEnum["ByLastUpdatedDesc"] = "-lastUpdated";
|
|
12
|
-
AudioSortEnum["ByLastUpdatedAsc"] = "lastUpdated";
|
|
13
|
-
AudioSortEnum["ByIdDesc"] = "-id";
|
|
14
|
-
AudioSortEnum["ByIdAsc"] = "id";
|
|
15
|
-
})(AudioSortEnum || (exports.AudioSortEnum = AudioSortEnum = {}));
|
|
26
|
+
exports.openapi = void 0;
|
|
27
|
+
// This file was generated by OpenApiPlugin, do not edit it manually
|
|
28
|
+
var openapi = __importStar(require("./audio-api-openapi"));
|
|
29
|
+
exports.openapi = openapi;
|
|
16
30
|
//# sourceMappingURL=audio-api.js.map
|
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,oEAAoE;AACpE,2DAA+C;AAGtC,0BAAO"}
|