@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":"learningpath-api-openapi.js","sourceRoot":"","sources":["../learningpath-api-openapi.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -1,143 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
metaUrl: string;
|
|
73
|
-
learningsteps: ILearningStepV2DTO[];
|
|
74
|
-
learningstepUrl: string;
|
|
75
|
-
coverPhoto?: ICoverPhotoDTO;
|
|
76
|
-
duration?: number;
|
|
77
|
-
status: string;
|
|
78
|
-
verificationStatus: string;
|
|
79
|
-
created: string;
|
|
80
|
-
lastUpdated: string;
|
|
81
|
-
tags: ILearningPathTagsDTO;
|
|
82
|
-
copyright: ICopyrightDTO;
|
|
83
|
-
canEdit: boolean;
|
|
84
|
-
supportedLanguages: string[];
|
|
85
|
-
ownerId?: string;
|
|
86
|
-
message?: IMessageDTO;
|
|
87
|
-
madeAvailable?: string;
|
|
88
|
-
isMyNDLAOwner: boolean;
|
|
89
|
-
}
|
|
90
|
-
export interface ILearningStepContainerSummaryDTO {
|
|
91
|
-
language: string;
|
|
92
|
-
learningsteps: ILearningStepSummaryV2DTO[];
|
|
93
|
-
supportedLanguages: string[];
|
|
94
|
-
}
|
|
95
|
-
export interface ILearningStepSeqNoDTO {
|
|
96
|
-
seqNo: number;
|
|
97
|
-
}
|
|
98
|
-
export interface ILearningStepStatusDTO {
|
|
99
|
-
status: string;
|
|
100
|
-
}
|
|
101
|
-
export interface ILearningStepSummaryV2DTO {
|
|
102
|
-
id: number;
|
|
103
|
-
seqNo: number;
|
|
104
|
-
title: ITitleDTO;
|
|
105
|
-
type: string;
|
|
106
|
-
metaUrl: string;
|
|
107
|
-
}
|
|
108
|
-
export interface ILearningStepV2DTO {
|
|
109
|
-
id: number;
|
|
110
|
-
revision: number;
|
|
111
|
-
seqNo: number;
|
|
112
|
-
title: ITitleDTO;
|
|
113
|
-
introduction?: IIntroductionDTO;
|
|
114
|
-
description?: IDescriptionDTO;
|
|
115
|
-
embedUrl?: IEmbedUrlV2DTO;
|
|
116
|
-
showTitle: boolean;
|
|
117
|
-
type: string;
|
|
118
|
-
license?: ILicenseDTO;
|
|
119
|
-
metaUrl: string;
|
|
120
|
-
canEdit: boolean;
|
|
121
|
-
status: string;
|
|
122
|
-
supportedLanguages: string[];
|
|
123
|
-
}
|
|
124
|
-
export interface ILicenseDTO {
|
|
125
|
-
license: string;
|
|
126
|
-
description?: string;
|
|
127
|
-
url?: string;
|
|
128
|
-
}
|
|
129
|
-
export interface IMessageDTO {
|
|
130
|
-
message: string;
|
|
131
|
-
date: string;
|
|
132
|
-
}
|
|
133
|
-
export interface ISearchResultV2DTO {
|
|
134
|
-
totalCount: number;
|
|
135
|
-
page?: number;
|
|
136
|
-
pageSize: number;
|
|
137
|
-
language: string;
|
|
138
|
-
results: ILearningPathSummaryV2DTO[];
|
|
139
|
-
}
|
|
140
|
-
export interface ITitleDTO {
|
|
141
|
-
title: string;
|
|
142
|
-
language: string;
|
|
143
|
-
}
|
|
1
|
+
import * as openapi from "./learningpath-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 AuthorDTO = schemas["AuthorDTO"];
|
|
7
|
+
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
8
|
+
export type ContributorType = schemas["ContributorType"];
|
|
9
|
+
export type IContributorType = schemas["ContributorType"];
|
|
10
|
+
export type CopyrightDTO = schemas["CopyrightDTO"];
|
|
11
|
+
export type ICopyrightDTO = schemas["CopyrightDTO"];
|
|
12
|
+
export type CoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
13
|
+
export type ICoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
14
|
+
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
15
|
+
export type IDescriptionDTO = schemas["DescriptionDTO"];
|
|
16
|
+
export type EmbedUrlV2DTO = schemas["EmbedUrlV2DTO"];
|
|
17
|
+
export type IEmbedUrlV2DTO = schemas["EmbedUrlV2DTO"];
|
|
18
|
+
export type ErrorBody = schemas["ErrorBody"];
|
|
19
|
+
export type IErrorBody = schemas["ErrorBody"];
|
|
20
|
+
export type IntroductionDTO = schemas["IntroductionDTO"];
|
|
21
|
+
export type IIntroductionDTO = schemas["IntroductionDTO"];
|
|
22
|
+
export type LearningPathStatusDTO = schemas["LearningPathStatusDTO"];
|
|
23
|
+
export type ILearningPathStatusDTO = schemas["LearningPathStatusDTO"];
|
|
24
|
+
export type LearningPathSummaryV2DTO = schemas["LearningPathSummaryV2DTO"];
|
|
25
|
+
export type ILearningPathSummaryV2DTO = schemas["LearningPathSummaryV2DTO"];
|
|
26
|
+
export type LearningPathTagsDTO = schemas["LearningPathTagsDTO"];
|
|
27
|
+
export type ILearningPathTagsDTO = schemas["LearningPathTagsDTO"];
|
|
28
|
+
export type LearningPathTagsSummaryDTO = schemas["LearningPathTagsSummaryDTO"];
|
|
29
|
+
export type ILearningPathTagsSummaryDTO = schemas["LearningPathTagsSummaryDTO"];
|
|
30
|
+
export type LearningPathV2DTO = schemas["LearningPathV2DTO"];
|
|
31
|
+
export type ILearningPathV2DTO = schemas["LearningPathV2DTO"];
|
|
32
|
+
export type LearningStepContainerSummaryDTO = schemas["LearningStepContainerSummaryDTO"];
|
|
33
|
+
export type ILearningStepContainerSummaryDTO = schemas["LearningStepContainerSummaryDTO"];
|
|
34
|
+
export type LearningStepSeqNoDTO = schemas["LearningStepSeqNoDTO"];
|
|
35
|
+
export type ILearningStepSeqNoDTO = schemas["LearningStepSeqNoDTO"];
|
|
36
|
+
export type LearningStepStatusDTO = schemas["LearningStepStatusDTO"];
|
|
37
|
+
export type ILearningStepStatusDTO = schemas["LearningStepStatusDTO"];
|
|
38
|
+
export type LearningStepSummaryV2DTO = schemas["LearningStepSummaryV2DTO"];
|
|
39
|
+
export type ILearningStepSummaryV2DTO = schemas["LearningStepSummaryV2DTO"];
|
|
40
|
+
export type LearningStepV2DTO = schemas["LearningStepV2DTO"];
|
|
41
|
+
export type ILearningStepV2DTO = schemas["LearningStepV2DTO"];
|
|
42
|
+
export type LicenseDTO = schemas["LicenseDTO"];
|
|
43
|
+
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
44
|
+
export type MessageDTO = schemas["MessageDTO"];
|
|
45
|
+
export type IMessageDTO = schemas["MessageDTO"];
|
|
46
|
+
export type NewCopyLearningPathV2DTO = schemas["NewCopyLearningPathV2DTO"];
|
|
47
|
+
export type INewCopyLearningPathV2DTO = schemas["NewCopyLearningPathV2DTO"];
|
|
48
|
+
export type NewLearningPathV2DTO = schemas["NewLearningPathV2DTO"];
|
|
49
|
+
export type INewLearningPathV2DTO = schemas["NewLearningPathV2DTO"];
|
|
50
|
+
export type NewLearningStepV2DTO = schemas["NewLearningStepV2DTO"];
|
|
51
|
+
export type INewLearningStepV2DTO = schemas["NewLearningStepV2DTO"];
|
|
52
|
+
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
53
|
+
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
54
|
+
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
55
|
+
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
56
|
+
export type SearchResultV2DTO = schemas["SearchResultV2DTO"];
|
|
57
|
+
export type ISearchResultV2DTO = schemas["SearchResultV2DTO"];
|
|
58
|
+
export type Sort = schemas["Sort"];
|
|
59
|
+
export type ISort = schemas["Sort"];
|
|
60
|
+
export type TitleDTO = schemas["TitleDTO"];
|
|
61
|
+
export type ITitleDTO = schemas["TitleDTO"];
|
|
62
|
+
export type UpdateLearningPathStatusDTO = schemas["UpdateLearningPathStatusDTO"];
|
|
63
|
+
export type IUpdateLearningPathStatusDTO = schemas["UpdateLearningPathStatusDTO"];
|
|
64
|
+
export type UpdatedLearningPathV2DTO = schemas["UpdatedLearningPathV2DTO"];
|
|
65
|
+
export type IUpdatedLearningPathV2DTO = schemas["UpdatedLearningPathV2DTO"];
|
|
66
|
+
export type UpdatedLearningStepV2DTO = schemas["UpdatedLearningStepV2DTO"];
|
|
67
|
+
export type IUpdatedLearningStepV2DTO = schemas["UpdatedLearningStepV2DTO"];
|
|
68
|
+
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
69
|
+
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
70
|
+
export type ValidationMessage = schemas["ValidationMessage"];
|
|
71
|
+
export type IValidationMessage = schemas["ValidationMessage"];
|
|
@@ -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("./learningpath-api-openapi"));
|
|
29
|
+
exports.openapi = openapi;
|
|
4
30
|
//# sourceMappingURL=learningpath-api.js.map
|
|
@@ -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,oEAAoE;AACpE,kEAAsD;AAG7C,0BAAO"}
|