@ndla/types-backend 1.0.79 → 1.0.80
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.d.ts +0 -28
- package/build/article-api.js +1 -1
- package/build/article-api.js.map +1 -1
- package/build/audio-api.d.ts +0 -33
- package/build/audio-api.js +1 -1
- package/build/audio-api.js.map +1 -1
- package/build/concept-api.d.ts +0 -31
- package/build/concept-api.js +1 -1
- package/build/concept-api.js.map +1 -1
- package/build/draft-api.d.ts +0 -54
- package/build/draft-api.js +1 -1
- package/build/draft-api.js.map +1 -1
- package/build/frontpage-api.d.ts +0 -24
- package/build/frontpage-api.js +1 -1
- package/build/frontpage-api.js.map +1 -1
- package/build/image-api.d.ts +0 -31
- package/build/image-api.js +1 -1
- package/build/image-api.js.map +1 -1
- package/build/learningpath-api.d.ts +0 -40
- package/build/learningpath-api.js +1 -1
- package/build/learningpath-api.js.map +1 -1
- package/build/myndla-api.d.ts +0 -39
- package/build/myndla-api.js +1 -1
- package/build/myndla-api.js.map +1 -1
- package/build/oembed-proxy.d.ts +0 -6
- package/build/oembed-proxy.js +1 -1
- package/build/oembed-proxy.js.map +1 -1
- package/build/scripts/generate-openapi.js +13 -2
- package/build/scripts/generate-openapi.js.map +1 -1
- package/build/search-api.d.ts +0 -61
- package/build/search-api.js +1 -1
- package/build/search-api.js.map +1 -1
- package/package.json +1 -1
package/build/article-api.d.ts
CHANGED
|
@@ -2,58 +2,30 @@ import * as openapi from "./article-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type ArticleContentV2DTO = schemas["ArticleContentV2DTO"];
|
|
7
|
-
export type IArticleContentV2DTO = schemas["ArticleContentV2DTO"];
|
|
8
6
|
export type ArticleIdV2DTO = schemas["ArticleIdV2DTO"];
|
|
9
|
-
export type IArticleIdV2DTO = schemas["ArticleIdV2DTO"];
|
|
10
7
|
export type ArticleIdsDTO = schemas["ArticleIdsDTO"];
|
|
11
|
-
export type IArticleIdsDTO = schemas["ArticleIdsDTO"];
|
|
12
8
|
export type ArticleIntroductionDTO = schemas["ArticleIntroductionDTO"];
|
|
13
|
-
export type IArticleIntroductionDTO = schemas["ArticleIntroductionDTO"];
|
|
14
9
|
export type ArticleMetaDescriptionDTO = schemas["ArticleMetaDescriptionDTO"];
|
|
15
|
-
export type IArticleMetaDescriptionDTO = schemas["ArticleMetaDescriptionDTO"];
|
|
16
10
|
export type ArticleMetaImageDTO = schemas["ArticleMetaImageDTO"];
|
|
17
|
-
export type IArticleMetaImageDTO = schemas["ArticleMetaImageDTO"];
|
|
18
11
|
export type ArticleSearchParamsDTO = schemas["ArticleSearchParamsDTO"];
|
|
19
|
-
export type IArticleSearchParamsDTO = schemas["ArticleSearchParamsDTO"];
|
|
20
12
|
export type ArticleSummaryV2DTO = schemas["ArticleSummaryV2DTO"];
|
|
21
|
-
export type IArticleSummaryV2DTO = schemas["ArticleSummaryV2DTO"];
|
|
22
13
|
export type ArticleTagDTO = schemas["ArticleTagDTO"];
|
|
23
|
-
export type IArticleTagDTO = schemas["ArticleTagDTO"];
|
|
24
14
|
export type ArticleTitleDTO = schemas["ArticleTitleDTO"];
|
|
25
|
-
export type IArticleTitleDTO = schemas["ArticleTitleDTO"];
|
|
26
15
|
export type ArticleTrait = schemas["ArticleTrait"];
|
|
27
|
-
export type IArticleTrait = schemas["ArticleTrait"];
|
|
28
16
|
export type ArticleV2DTO = schemas["ArticleV2DTO"];
|
|
29
|
-
export type IArticleV2DTO = schemas["ArticleV2DTO"];
|
|
30
17
|
export type AuthorDTO = schemas["AuthorDTO"];
|
|
31
|
-
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
32
18
|
export type ContributorType = schemas["ContributorType"];
|
|
33
|
-
export type IContributorType = schemas["ContributorType"];
|
|
34
19
|
export type CopyrightDTO = schemas["CopyrightDTO"];
|
|
35
|
-
export type ICopyrightDTO = schemas["CopyrightDTO"];
|
|
36
20
|
export type DisclaimerDTO = schemas["DisclaimerDTO"];
|
|
37
|
-
export type IDisclaimerDTO = schemas["DisclaimerDTO"];
|
|
38
21
|
export type ErrorBody = schemas["ErrorBody"];
|
|
39
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
40
22
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
41
|
-
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
42
23
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
43
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
44
24
|
export type RelatedContentLinkDTO = schemas["RelatedContentLinkDTO"];
|
|
45
|
-
export type IRelatedContentLinkDTO = schemas["RelatedContentLinkDTO"];
|
|
46
25
|
export type RequiredLibraryDTO = schemas["RequiredLibraryDTO"];
|
|
47
|
-
export type IRequiredLibraryDTO = schemas["RequiredLibraryDTO"];
|
|
48
26
|
export type SearchResultV2DTO = schemas["SearchResultV2DTO"];
|
|
49
|
-
export type ISearchResultV2DTO = schemas["SearchResultV2DTO"];
|
|
50
27
|
export type Sort = schemas["Sort"];
|
|
51
|
-
export type ISort = schemas["Sort"];
|
|
52
28
|
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
53
|
-
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
54
29
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
55
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
56
30
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
57
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
|
58
31
|
export type VisualElementDTO = schemas["VisualElementDTO"];
|
|
59
|
-
export type IVisualElementDTO = schemas["VisualElementDTO"];
|
package/build/article-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./article-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=article-api.js.map
|
package/build/article-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"article-api.js","sourceRoot":"","sources":["../article-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"article-api.js","sourceRoot":"","sources":["../article-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,6DAAiD;AAExC,0BAAO"}
|
package/build/audio-api.d.ts
CHANGED
|
@@ -2,68 +2,35 @@ import * as openapi from "./audio-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type AudioDTO = schemas["AudioDTO"];
|
|
7
|
-
export type IAudioDTO = schemas["AudioDTO"];
|
|
8
6
|
export type AudioMetaInformationDTO = schemas["AudioMetaInformationDTO"];
|
|
9
|
-
export type IAudioMetaInformationDTO = schemas["AudioMetaInformationDTO"];
|
|
10
7
|
export type AudioSummaryDTO = schemas["AudioSummaryDTO"];
|
|
11
|
-
export type IAudioSummaryDTO = schemas["AudioSummaryDTO"];
|
|
12
8
|
export type AudioSummarySearchResultDTO = schemas["AudioSummarySearchResultDTO"];
|
|
13
|
-
export type IAudioSummarySearchResultDTO = schemas["AudioSummarySearchResultDTO"];
|
|
14
9
|
export type AuthorDTO = schemas["AuthorDTO"];
|
|
15
|
-
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
16
10
|
export type ContributorType = schemas["ContributorType"];
|
|
17
|
-
export type IContributorType = schemas["ContributorType"];
|
|
18
11
|
export type CopyrightDTO = schemas["CopyrightDTO"];
|
|
19
|
-
export type ICopyrightDTO = schemas["CopyrightDTO"];
|
|
20
12
|
export type CoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
21
|
-
export type ICoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
22
13
|
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
23
|
-
export type IDescriptionDTO = schemas["DescriptionDTO"];
|
|
24
14
|
export type ErrorBody = schemas["ErrorBody"];
|
|
25
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
26
15
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
27
|
-
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
28
16
|
export type ManuscriptDTO = schemas["ManuscriptDTO"];
|
|
29
|
-
export type IManuscriptDTO = schemas["ManuscriptDTO"];
|
|
30
17
|
export type MetaDataAndFileForm = schemas["MetaDataAndFileForm"];
|
|
31
|
-
export type IMetaDataAndFileForm = schemas["MetaDataAndFileForm"];
|
|
32
18
|
export type MetaDataAndOptFileForm = schemas["MetaDataAndOptFileForm"];
|
|
33
|
-
export type IMetaDataAndOptFileForm = schemas["MetaDataAndOptFileForm"];
|
|
34
19
|
export type NewAudioMetaInformationDTO = schemas["NewAudioMetaInformationDTO"];
|
|
35
|
-
export type INewAudioMetaInformationDTO = schemas["NewAudioMetaInformationDTO"];
|
|
36
20
|
export type NewPodcastMetaDTO = schemas["NewPodcastMetaDTO"];
|
|
37
|
-
export type INewPodcastMetaDTO = schemas["NewPodcastMetaDTO"];
|
|
38
21
|
export type NewSeriesDTO = schemas["NewSeriesDTO"];
|
|
39
|
-
export type INewSeriesDTO = schemas["NewSeriesDTO"];
|
|
40
22
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
41
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
42
23
|
export type PodcastMetaDTO = schemas["PodcastMetaDTO"];
|
|
43
|
-
export type IPodcastMetaDTO = schemas["PodcastMetaDTO"];
|
|
44
24
|
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
45
|
-
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
46
25
|
export type SeriesDTO = schemas["SeriesDTO"];
|
|
47
|
-
export type ISeriesDTO = schemas["SeriesDTO"];
|
|
48
26
|
export type SeriesSearchParamsDTO = schemas["SeriesSearchParamsDTO"];
|
|
49
|
-
export type ISeriesSearchParamsDTO = schemas["SeriesSearchParamsDTO"];
|
|
50
27
|
export type SeriesSummaryDTO = schemas["SeriesSummaryDTO"];
|
|
51
|
-
export type ISeriesSummaryDTO = schemas["SeriesSummaryDTO"];
|
|
52
28
|
export type SeriesSummarySearchResultDTO = schemas["SeriesSummarySearchResultDTO"];
|
|
53
|
-
export type ISeriesSummarySearchResultDTO = schemas["SeriesSummarySearchResultDTO"];
|
|
54
29
|
export type Sort = schemas["Sort"];
|
|
55
|
-
export type ISort = schemas["Sort"];
|
|
56
30
|
export type TagDTO = schemas["TagDTO"];
|
|
57
|
-
export type ITagDTO = schemas["TagDTO"];
|
|
58
31
|
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
59
|
-
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
60
32
|
export type TitleDTO = schemas["TitleDTO"];
|
|
61
|
-
export type ITitleDTO = schemas["TitleDTO"];
|
|
62
33
|
export type TranscriptionResultDTO = schemas["TranscriptionResultDTO"];
|
|
63
|
-
export type ITranscriptionResultDTO = schemas["TranscriptionResultDTO"];
|
|
64
34
|
export type UpdatedAudioMetaInformationDTO = schemas["UpdatedAudioMetaInformationDTO"];
|
|
65
|
-
export type IUpdatedAudioMetaInformationDTO = schemas["UpdatedAudioMetaInformationDTO"];
|
|
66
35
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
67
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
68
36
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
69
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/audio-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./audio-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
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":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"audio-api.js","sourceRoot":"","sources":["../audio-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,2DAA+C;AAEtC,0BAAO"}
|
package/build/concept-api.d.ts
CHANGED
|
@@ -2,64 +2,33 @@ import * as openapi from "./concept-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type AuthorDTO = schemas["AuthorDTO"];
|
|
7
|
-
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
8
6
|
export type ConceptContent = schemas["ConceptContent"];
|
|
9
|
-
export type IConceptContent = schemas["ConceptContent"];
|
|
10
7
|
export type ConceptDTO = schemas["ConceptDTO"];
|
|
11
|
-
export type IConceptDTO = schemas["ConceptDTO"];
|
|
12
8
|
export type ConceptSearchParamsDTO = schemas["ConceptSearchParamsDTO"];
|
|
13
|
-
export type IConceptSearchParamsDTO = schemas["ConceptSearchParamsDTO"];
|
|
14
9
|
export type ConceptSearchResultDTO = schemas["ConceptSearchResultDTO"];
|
|
15
|
-
export type IConceptSearchResultDTO = schemas["ConceptSearchResultDTO"];
|
|
16
10
|
export type ConceptSummaryDTO = schemas["ConceptSummaryDTO"];
|
|
17
|
-
export type IConceptSummaryDTO = schemas["ConceptSummaryDTO"];
|
|
18
11
|
export type ConceptTagsDTO = schemas["ConceptTagsDTO"];
|
|
19
|
-
export type IConceptTagsDTO = schemas["ConceptTagsDTO"];
|
|
20
12
|
export type ConceptTitleDTO = schemas["ConceptTitleDTO"];
|
|
21
|
-
export type IConceptTitleDTO = schemas["ConceptTitleDTO"];
|
|
22
13
|
export type ContributorType = schemas["ContributorType"];
|
|
23
|
-
export type IContributorType = schemas["ContributorType"];
|
|
24
14
|
export type DraftConceptSearchParamsDTO = schemas["DraftConceptSearchParamsDTO"];
|
|
25
|
-
export type IDraftConceptSearchParamsDTO = schemas["DraftConceptSearchParamsDTO"];
|
|
26
15
|
export type DraftCopyrightDTO = schemas["DraftCopyrightDTO"];
|
|
27
|
-
export type IDraftCopyrightDTO = schemas["DraftCopyrightDTO"];
|
|
28
16
|
export type EditorNoteDTO = schemas["EditorNoteDTO"];
|
|
29
|
-
export type IEditorNoteDTO = schemas["EditorNoteDTO"];
|
|
30
17
|
export type ErrorBody = schemas["ErrorBody"];
|
|
31
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
32
18
|
export type GlossDataDTO = schemas["GlossDataDTO"];
|
|
33
|
-
export type IGlossDataDTO = schemas["GlossDataDTO"];
|
|
34
19
|
export type GlossExampleDTO = schemas["GlossExampleDTO"];
|
|
35
|
-
export type IGlossExampleDTO = schemas["GlossExampleDTO"];
|
|
36
20
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
37
|
-
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
38
21
|
export type Map_List_String = schemas["Map_List_String"];
|
|
39
|
-
export type IMap_List_String = schemas["Map_List_String"];
|
|
40
22
|
export type Map_String = schemas["Map_String"];
|
|
41
|
-
export type IMap_String = schemas["Map_String"];
|
|
42
23
|
export type MultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
|
|
43
|
-
export type IMultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
|
|
44
24
|
export type NewConceptDTO = schemas["NewConceptDTO"];
|
|
45
|
-
export type INewConceptDTO = schemas["NewConceptDTO"];
|
|
46
25
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
47
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
48
26
|
export type ResponsibleDTO = schemas["ResponsibleDTO"];
|
|
49
|
-
export type IResponsibleDTO = schemas["ResponsibleDTO"];
|
|
50
27
|
export type Sort = schemas["Sort"];
|
|
51
|
-
export type ISort = schemas["Sort"];
|
|
52
28
|
export type StatusDTO = schemas["StatusDTO"];
|
|
53
|
-
export type IStatusDTO = schemas["StatusDTO"];
|
|
54
29
|
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
55
|
-
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
56
30
|
export type TermValueDTO = schemas["TermValueDTO"];
|
|
57
|
-
export type ITermValueDTO = schemas["TermValueDTO"];
|
|
58
31
|
export type UpdatedConceptDTO = schemas["UpdatedConceptDTO"];
|
|
59
|
-
export type IUpdatedConceptDTO = schemas["UpdatedConceptDTO"];
|
|
60
32
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
61
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
62
33
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
63
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
|
64
34
|
export type VisualElementDTO = schemas["VisualElementDTO"];
|
|
65
|
-
export type IVisualElementDTO = schemas["VisualElementDTO"];
|
package/build/concept-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./concept-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=concept-api.js.map
|
package/build/concept-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concept-api.js","sourceRoot":"","sources":["../concept-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"concept-api.js","sourceRoot":"","sources":["../concept-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,6DAAiD;AAExC,0BAAO"}
|
package/build/draft-api.d.ts
CHANGED
|
@@ -2,110 +2,56 @@ import * as openapi from "./draft-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AddMultipleNotesDTO = schemas["AddMultipleNotesDTO"];
|
|
5
|
-
export type IAddMultipleNotesDTO = schemas["AddMultipleNotesDTO"];
|
|
6
5
|
export type AddNoteDTO = schemas["AddNoteDTO"];
|
|
7
|
-
export type IAddNoteDTO = schemas["AddNoteDTO"];
|
|
8
6
|
export type AllErrors = schemas["AllErrors"];
|
|
9
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
10
7
|
export type ArticleContentDTO = schemas["ArticleContentDTO"];
|
|
11
|
-
export type IArticleContentDTO = schemas["ArticleContentDTO"];
|
|
12
8
|
export type ArticleDTO = schemas["ArticleDTO"];
|
|
13
|
-
export type IArticleDTO = schemas["ArticleDTO"];
|
|
14
9
|
export type ArticleIntroductionDTO = schemas["ArticleIntroductionDTO"];
|
|
15
|
-
export type IArticleIntroductionDTO = schemas["ArticleIntroductionDTO"];
|
|
16
10
|
export type ArticleMetaDescriptionDTO = schemas["ArticleMetaDescriptionDTO"];
|
|
17
|
-
export type IArticleMetaDescriptionDTO = schemas["ArticleMetaDescriptionDTO"];
|
|
18
11
|
export type ArticleMetaImageDTO = schemas["ArticleMetaImageDTO"];
|
|
19
|
-
export type IArticleMetaImageDTO = schemas["ArticleMetaImageDTO"];
|
|
20
12
|
export type ArticleRevisionHistoryDTO = schemas["ArticleRevisionHistoryDTO"];
|
|
21
|
-
export type IArticleRevisionHistoryDTO = schemas["ArticleRevisionHistoryDTO"];
|
|
22
13
|
export type ArticleSearchParamsDTO = schemas["ArticleSearchParamsDTO"];
|
|
23
|
-
export type IArticleSearchParamsDTO = schemas["ArticleSearchParamsDTO"];
|
|
24
14
|
export type ArticleSearchResultDTO = schemas["ArticleSearchResultDTO"];
|
|
25
|
-
export type IArticleSearchResultDTO = schemas["ArticleSearchResultDTO"];
|
|
26
15
|
export type ArticleSummaryDTO = schemas["ArticleSummaryDTO"];
|
|
27
|
-
export type IArticleSummaryDTO = schemas["ArticleSummaryDTO"];
|
|
28
16
|
export type ArticleTagDTO = schemas["ArticleTagDTO"];
|
|
29
|
-
export type IArticleTagDTO = schemas["ArticleTagDTO"];
|
|
30
17
|
export type ArticleTitleDTO = schemas["ArticleTitleDTO"];
|
|
31
|
-
export type IArticleTitleDTO = schemas["ArticleTitleDTO"];
|
|
32
18
|
export type ArticleTrait = schemas["ArticleTrait"];
|
|
33
|
-
export type IArticleTrait = schemas["ArticleTrait"];
|
|
34
19
|
export type AuthorDTO = schemas["AuthorDTO"];
|
|
35
|
-
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
36
20
|
export type CommentDTO = schemas["CommentDTO"];
|
|
37
|
-
export type ICommentDTO = schemas["CommentDTO"];
|
|
38
21
|
export type ContentIdDTO = schemas["ContentIdDTO"];
|
|
39
|
-
export type IContentIdDTO = schemas["ContentIdDTO"];
|
|
40
22
|
export type ContributorType = schemas["ContributorType"];
|
|
41
|
-
export type IContributorType = schemas["ContributorType"];
|
|
42
23
|
export type DisclaimerDTO = schemas["DisclaimerDTO"];
|
|
43
|
-
export type IDisclaimerDTO = schemas["DisclaimerDTO"];
|
|
44
24
|
export type DraftCopyrightDTO = schemas["DraftCopyrightDTO"];
|
|
45
|
-
export type IDraftCopyrightDTO = schemas["DraftCopyrightDTO"];
|
|
46
25
|
export type EditorNoteDTO = schemas["EditorNoteDTO"];
|
|
47
|
-
export type IEditorNoteDTO = schemas["EditorNoteDTO"];
|
|
48
26
|
export type ErrorBody = schemas["ErrorBody"];
|
|
49
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
50
27
|
export type FileForm = schemas["FileForm"];
|
|
51
|
-
export type IFileForm = schemas["FileForm"];
|
|
52
28
|
export type Grade = schemas["Grade"];
|
|
53
|
-
export type IGrade = schemas["Grade"];
|
|
54
29
|
export type GrepCodesSearchResultDTO = schemas["GrepCodesSearchResultDTO"];
|
|
55
|
-
export type IGrepCodesSearchResultDTO = schemas["GrepCodesSearchResultDTO"];
|
|
56
30
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
57
|
-
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
58
31
|
export type Map_List_String = schemas["Map_List_String"];
|
|
59
|
-
export type IMap_List_String = schemas["Map_List_String"];
|
|
60
32
|
export type MultiPartialPublishResultDTO = schemas["MultiPartialPublishResultDTO"];
|
|
61
|
-
export type IMultiPartialPublishResultDTO = schemas["MultiPartialPublishResultDTO"];
|
|
62
33
|
export type NewArticleDTO = schemas["NewArticleDTO"];
|
|
63
|
-
export type INewArticleDTO = schemas["NewArticleDTO"];
|
|
64
34
|
export type NewArticleMetaImageDTO = schemas["NewArticleMetaImageDTO"];
|
|
65
|
-
export type INewArticleMetaImageDTO = schemas["NewArticleMetaImageDTO"];
|
|
66
35
|
export type NewCommentDTO = schemas["NewCommentDTO"];
|
|
67
|
-
export type INewCommentDTO = schemas["NewCommentDTO"];
|
|
68
36
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
69
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
70
37
|
export type PartialArticleFieldsDTO = schemas["PartialArticleFieldsDTO"];
|
|
71
|
-
export type IPartialArticleFieldsDTO = schemas["PartialArticleFieldsDTO"];
|
|
72
38
|
export type PartialBulkArticlesDTO = schemas["PartialBulkArticlesDTO"];
|
|
73
|
-
export type IPartialBulkArticlesDTO = schemas["PartialBulkArticlesDTO"];
|
|
74
39
|
export type PartialPublishFailureDTO = schemas["PartialPublishFailureDTO"];
|
|
75
|
-
export type IPartialPublishFailureDTO = schemas["PartialPublishFailureDTO"];
|
|
76
40
|
export type Priority = schemas["Priority"];
|
|
77
|
-
export type IPriority = schemas["Priority"];
|
|
78
41
|
export type QualityEvaluationDTO = schemas["QualityEvaluationDTO"];
|
|
79
|
-
export type IQualityEvaluationDTO = schemas["QualityEvaluationDTO"];
|
|
80
42
|
export type RelatedContentLinkDTO = schemas["RelatedContentLinkDTO"];
|
|
81
|
-
export type IRelatedContentLinkDTO = schemas["RelatedContentLinkDTO"];
|
|
82
43
|
export type RequiredLibraryDTO = schemas["RequiredLibraryDTO"];
|
|
83
|
-
export type IRequiredLibraryDTO = schemas["RequiredLibraryDTO"];
|
|
84
44
|
export type ResponsibleDTO = schemas["ResponsibleDTO"];
|
|
85
|
-
export type IResponsibleDTO = schemas["ResponsibleDTO"];
|
|
86
45
|
export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
87
|
-
export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
88
46
|
export type SavedSearchDTO = schemas["SavedSearchDTO"];
|
|
89
|
-
export type ISavedSearchDTO = schemas["SavedSearchDTO"];
|
|
90
47
|
export type Sort = schemas["Sort"];
|
|
91
|
-
export type ISort = schemas["Sort"];
|
|
92
48
|
export type StatusDTO = schemas["StatusDTO"];
|
|
93
|
-
export type IStatusDTO = schemas["StatusDTO"];
|
|
94
49
|
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
95
|
-
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
96
50
|
export type UpdatedArticleDTO = schemas["UpdatedArticleDTO"];
|
|
97
|
-
export type IUpdatedArticleDTO = schemas["UpdatedArticleDTO"];
|
|
98
51
|
export type UpdatedCommentDTO = schemas["UpdatedCommentDTO"];
|
|
99
|
-
export type IUpdatedCommentDTO = schemas["UpdatedCommentDTO"];
|
|
100
52
|
export type UpdatedUserDataDTO = schemas["UpdatedUserDataDTO"];
|
|
101
|
-
export type IUpdatedUserDataDTO = schemas["UpdatedUserDataDTO"];
|
|
102
53
|
export type UploadedFileDTO = schemas["UploadedFileDTO"];
|
|
103
|
-
export type IUploadedFileDTO = schemas["UploadedFileDTO"];
|
|
104
54
|
export type UserDataDTO = schemas["UserDataDTO"];
|
|
105
|
-
export type IUserDataDTO = schemas["UserDataDTO"];
|
|
106
55
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
107
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
108
56
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
109
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
|
110
57
|
export type VisualElementDTO = schemas["VisualElementDTO"];
|
|
111
|
-
export type IVisualElementDTO = schemas["VisualElementDTO"];
|
package/build/draft-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./draft-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=draft-api.js.map
|
package/build/draft-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-api.js","sourceRoot":"","sources":["../draft-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
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.d.ts
CHANGED
|
@@ -2,50 +2,26 @@ import * as openapi from "./frontpage-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AboutFilmSubjectDTO = schemas["AboutFilmSubjectDTO"];
|
|
5
|
-
export type IAboutFilmSubjectDTO = schemas["AboutFilmSubjectDTO"];
|
|
6
5
|
export type AboutSubjectDTO = schemas["AboutSubjectDTO"];
|
|
7
|
-
export type IAboutSubjectDTO = schemas["AboutSubjectDTO"];
|
|
8
6
|
export type AllErrors = schemas["AllErrors"];
|
|
9
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
10
7
|
export type BannerImageDTO = schemas["BannerImageDTO"];
|
|
11
|
-
export type IBannerImageDTO = schemas["BannerImageDTO"];
|
|
12
8
|
export type ErrorBody = schemas["ErrorBody"];
|
|
13
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
14
9
|
export type FilmFrontPageDTO = schemas["FilmFrontPageDTO"];
|
|
15
|
-
export type IFilmFrontPageDTO = schemas["FilmFrontPageDTO"];
|
|
16
10
|
export type FrontPageDTO = schemas["FrontPageDTO"];
|
|
17
|
-
export type IFrontPageDTO = schemas["FrontPageDTO"];
|
|
18
11
|
export type MenuDTO = schemas["MenuDTO"];
|
|
19
|
-
export type IMenuDTO = schemas["MenuDTO"];
|
|
20
12
|
export type MovieThemeDTO = schemas["MovieThemeDTO"];
|
|
21
|
-
export type IMovieThemeDTO = schemas["MovieThemeDTO"];
|
|
22
13
|
export type MovieThemeNameDTO = schemas["MovieThemeNameDTO"];
|
|
23
|
-
export type IMovieThemeNameDTO = schemas["MovieThemeNameDTO"];
|
|
24
14
|
export type NewOrUpdateBannerImageDTO = schemas["NewOrUpdateBannerImageDTO"];
|
|
25
|
-
export type INewOrUpdateBannerImageDTO = schemas["NewOrUpdateBannerImageDTO"];
|
|
26
15
|
export type NewOrUpdatedAboutSubjectDTO = schemas["NewOrUpdatedAboutSubjectDTO"];
|
|
27
|
-
export type INewOrUpdatedAboutSubjectDTO = schemas["NewOrUpdatedAboutSubjectDTO"];
|
|
28
16
|
export type NewOrUpdatedFilmFrontPageDTO = schemas["NewOrUpdatedFilmFrontPageDTO"];
|
|
29
|
-
export type INewOrUpdatedFilmFrontPageDTO = schemas["NewOrUpdatedFilmFrontPageDTO"];
|
|
30
17
|
export type NewOrUpdatedMetaDescriptionDTO = schemas["NewOrUpdatedMetaDescriptionDTO"];
|
|
31
|
-
export type INewOrUpdatedMetaDescriptionDTO = schemas["NewOrUpdatedMetaDescriptionDTO"];
|
|
32
18
|
export type NewOrUpdatedMovieNameDTO = schemas["NewOrUpdatedMovieNameDTO"];
|
|
33
|
-
export type INewOrUpdatedMovieNameDTO = schemas["NewOrUpdatedMovieNameDTO"];
|
|
34
19
|
export type NewOrUpdatedMovieThemeDTO = schemas["NewOrUpdatedMovieThemeDTO"];
|
|
35
|
-
export type INewOrUpdatedMovieThemeDTO = schemas["NewOrUpdatedMovieThemeDTO"];
|
|
36
20
|
export type NewOrUpdatedVisualElementDTO = schemas["NewOrUpdatedVisualElementDTO"];
|
|
37
|
-
export type INewOrUpdatedVisualElementDTO = schemas["NewOrUpdatedVisualElementDTO"];
|
|
38
21
|
export type NewSubjectPageDTO = schemas["NewSubjectPageDTO"];
|
|
39
|
-
export type INewSubjectPageDTO = schemas["NewSubjectPageDTO"];
|
|
40
22
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
41
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
42
23
|
export type SubjectPageDTO = schemas["SubjectPageDTO"];
|
|
43
|
-
export type ISubjectPageDTO = schemas["SubjectPageDTO"];
|
|
44
24
|
export type UpdatedSubjectPageDTO = schemas["UpdatedSubjectPageDTO"];
|
|
45
|
-
export type IUpdatedSubjectPageDTO = schemas["UpdatedSubjectPageDTO"];
|
|
46
25
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
47
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
48
26
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
49
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
|
50
27
|
export type VisualElementDTO = schemas["VisualElementDTO"];
|
|
51
|
-
export type IVisualElementDTO = schemas["VisualElementDTO"];
|
package/build/frontpage-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./frontpage-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=frontpage-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontpage-api.js","sourceRoot":"","sources":["../frontpage-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"frontpage-api.js","sourceRoot":"","sources":["../frontpage-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,+DAAmD;AAE1C,0BAAO"}
|
package/build/image-api.d.ts
CHANGED
|
@@ -2,64 +2,33 @@ import * as openapi from "./image-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type AuthorDTO = schemas["AuthorDTO"];
|
|
7
|
-
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
8
6
|
export type ContributorType = schemas["ContributorType"];
|
|
9
|
-
export type IContributorType = schemas["ContributorType"];
|
|
10
7
|
export type CopyMetaDataAndFileForm = schemas["CopyMetaDataAndFileForm"];
|
|
11
|
-
export type ICopyMetaDataAndFileForm = schemas["CopyMetaDataAndFileForm"];
|
|
12
8
|
export type CopyrightDTO = schemas["CopyrightDTO"];
|
|
13
|
-
export type ICopyrightDTO = schemas["CopyrightDTO"];
|
|
14
9
|
export type EditorNoteDTO = schemas["EditorNoteDTO"];
|
|
15
|
-
export type IEditorNoteDTO = schemas["EditorNoteDTO"];
|
|
16
10
|
export type ErrorBody = schemas["ErrorBody"];
|
|
17
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
18
11
|
export type ImageAltTextDTO = schemas["ImageAltTextDTO"];
|
|
19
|
-
export type IImageAltTextDTO = schemas["ImageAltTextDTO"];
|
|
20
12
|
export type ImageCaptionDTO = schemas["ImageCaptionDTO"];
|
|
21
|
-
export type IImageCaptionDTO = schemas["ImageCaptionDTO"];
|
|
22
13
|
export type ImageDimensionsDTO = schemas["ImageDimensionsDTO"];
|
|
23
|
-
export type IImageDimensionsDTO = schemas["ImageDimensionsDTO"];
|
|
24
14
|
export type ImageFileDTO = schemas["ImageFileDTO"];
|
|
25
|
-
export type IImageFileDTO = schemas["ImageFileDTO"];
|
|
26
15
|
export type ImageMetaInformationV2DTO = schemas["ImageMetaInformationV2DTO"];
|
|
27
|
-
export type IImageMetaInformationV2DTO = schemas["ImageMetaInformationV2DTO"];
|
|
28
16
|
export type ImageMetaInformationV3DTO = schemas["ImageMetaInformationV3DTO"];
|
|
29
|
-
export type IImageMetaInformationV3DTO = schemas["ImageMetaInformationV3DTO"];
|
|
30
17
|
export type ImageMetaSummaryDTO = schemas["ImageMetaSummaryDTO"];
|
|
31
|
-
export type IImageMetaSummaryDTO = schemas["ImageMetaSummaryDTO"];
|
|
32
18
|
export type ImageTagDTO = schemas["ImageTagDTO"];
|
|
33
|
-
export type IImageTagDTO = schemas["ImageTagDTO"];
|
|
34
19
|
export type ImageTitleDTO = schemas["ImageTitleDTO"];
|
|
35
|
-
export type IImageTitleDTO = schemas["ImageTitleDTO"];
|
|
36
20
|
export type ImageVariantDTO = schemas["ImageVariantDTO"];
|
|
37
|
-
export type IImageVariantDTO = schemas["ImageVariantDTO"];
|
|
38
21
|
export type ImageVariantSize = schemas["ImageVariantSize"];
|
|
39
|
-
export type IImageVariantSize = schemas["ImageVariantSize"];
|
|
40
22
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
41
|
-
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
42
23
|
export type MetaDataAndFileForm = schemas["MetaDataAndFileForm"];
|
|
43
|
-
export type IMetaDataAndFileForm = schemas["MetaDataAndFileForm"];
|
|
44
24
|
export type NewImageMetaInformationV2DTO = schemas["NewImageMetaInformationV2DTO"];
|
|
45
|
-
export type INewImageMetaInformationV2DTO = schemas["NewImageMetaInformationV2DTO"];
|
|
46
25
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
47
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
48
26
|
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
49
|
-
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
50
27
|
export type SearchResultDTO = schemas["SearchResultDTO"];
|
|
51
|
-
export type ISearchResultDTO = schemas["SearchResultDTO"];
|
|
52
28
|
export type SearchResultV3DTO = schemas["SearchResultV3DTO"];
|
|
53
|
-
export type ISearchResultV3DTO = schemas["SearchResultV3DTO"];
|
|
54
29
|
export type Sort = schemas["Sort"];
|
|
55
|
-
export type ISort = schemas["Sort"];
|
|
56
30
|
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
57
|
-
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
58
31
|
export type UpdateImageMetaInformationDTO = schemas["UpdateImageMetaInformationDTO"];
|
|
59
|
-
export type IUpdateImageMetaInformationDTO = schemas["UpdateImageMetaInformationDTO"];
|
|
60
32
|
export type UpdateMetaDataAndFileForm = schemas["UpdateMetaDataAndFileForm"];
|
|
61
|
-
export type IUpdateMetaDataAndFileForm = schemas["UpdateMetaDataAndFileForm"];
|
|
62
33
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
63
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
64
34
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
65
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/image-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./image-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=image-api.js.map
|
package/build/image-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-api.js","sourceRoot":"","sources":["../image-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"image-api.js","sourceRoot":"","sources":["../image-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,2DAA+C;AAEtC,0BAAO"}
|
|
@@ -2,82 +2,42 @@ import * as openapi from "./learningpath-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type AuthorDTO = schemas["AuthorDTO"];
|
|
7
|
-
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
8
6
|
export type CommentDTO = schemas["CommentDTO"];
|
|
9
|
-
export type ICommentDTO = schemas["CommentDTO"];
|
|
10
7
|
export type ContributorType = schemas["ContributorType"];
|
|
11
|
-
export type IContributorType = schemas["ContributorType"];
|
|
12
8
|
export type CopyrightDTO = schemas["CopyrightDTO"];
|
|
13
|
-
export type ICopyrightDTO = schemas["CopyrightDTO"];
|
|
14
9
|
export type CoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
15
|
-
export type ICoverPhotoDTO = schemas["CoverPhotoDTO"];
|
|
16
10
|
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
17
|
-
export type IDescriptionDTO = schemas["DescriptionDTO"];
|
|
18
11
|
export type EmbedUrlV2DTO = schemas["EmbedUrlV2DTO"];
|
|
19
|
-
export type IEmbedUrlV2DTO = schemas["EmbedUrlV2DTO"];
|
|
20
12
|
export type ErrorBody = schemas["ErrorBody"];
|
|
21
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
22
13
|
export type IntroductionDTO = schemas["IntroductionDTO"];
|
|
23
|
-
export type IIntroductionDTO = schemas["IntroductionDTO"];
|
|
24
14
|
export type LearningPathStatusDTO = schemas["LearningPathStatusDTO"];
|
|
25
|
-
export type ILearningPathStatusDTO = schemas["LearningPathStatusDTO"];
|
|
26
15
|
export type LearningPathSummaryV2DTO = schemas["LearningPathSummaryV2DTO"];
|
|
27
|
-
export type ILearningPathSummaryV2DTO = schemas["LearningPathSummaryV2DTO"];
|
|
28
16
|
export type LearningPathTagsDTO = schemas["LearningPathTagsDTO"];
|
|
29
|
-
export type ILearningPathTagsDTO = schemas["LearningPathTagsDTO"];
|
|
30
17
|
export type LearningPathTagsSummaryDTO = schemas["LearningPathTagsSummaryDTO"];
|
|
31
|
-
export type ILearningPathTagsSummaryDTO = schemas["LearningPathTagsSummaryDTO"];
|
|
32
18
|
export type LearningPathV2DTO = schemas["LearningPathV2DTO"];
|
|
33
|
-
export type ILearningPathV2DTO = schemas["LearningPathV2DTO"];
|
|
34
19
|
export type LearningStepContainerSummaryDTO = schemas["LearningStepContainerSummaryDTO"];
|
|
35
|
-
export type ILearningStepContainerSummaryDTO = schemas["LearningStepContainerSummaryDTO"];
|
|
36
20
|
export type LearningStepSeqNoDTO = schemas["LearningStepSeqNoDTO"];
|
|
37
|
-
export type ILearningStepSeqNoDTO = schemas["LearningStepSeqNoDTO"];
|
|
38
21
|
export type LearningStepStatusDTO = schemas["LearningStepStatusDTO"];
|
|
39
|
-
export type ILearningStepStatusDTO = schemas["LearningStepStatusDTO"];
|
|
40
22
|
export type LearningStepSummaryV2DTO = schemas["LearningStepSummaryV2DTO"];
|
|
41
|
-
export type ILearningStepSummaryV2DTO = schemas["LearningStepSummaryV2DTO"];
|
|
42
23
|
export type LearningStepV2DTO = schemas["LearningStepV2DTO"];
|
|
43
|
-
export type ILearningStepV2DTO = schemas["LearningStepV2DTO"];
|
|
44
24
|
export type LicenseDTO = schemas["LicenseDTO"];
|
|
45
|
-
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
46
25
|
export type MessageDTO = schemas["MessageDTO"];
|
|
47
|
-
export type IMessageDTO = schemas["MessageDTO"];
|
|
48
26
|
export type NewCommentDTO = schemas["NewCommentDTO"];
|
|
49
|
-
export type INewCommentDTO = schemas["NewCommentDTO"];
|
|
50
27
|
export type NewCopyLearningPathV2DTO = schemas["NewCopyLearningPathV2DTO"];
|
|
51
|
-
export type INewCopyLearningPathV2DTO = schemas["NewCopyLearningPathV2DTO"];
|
|
52
28
|
export type NewLearningPathV2DTO = schemas["NewLearningPathV2DTO"];
|
|
53
|
-
export type INewLearningPathV2DTO = schemas["NewLearningPathV2DTO"];
|
|
54
29
|
export type NewLearningStepV2DTO = schemas["NewLearningStepV2DTO"];
|
|
55
|
-
export type INewLearningStepV2DTO = schemas["NewLearningStepV2DTO"];
|
|
56
30
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
57
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
58
31
|
export type Priority = schemas["Priority"];
|
|
59
|
-
export type IPriority = schemas["Priority"];
|
|
60
32
|
export type ResponsibleDTO = schemas["ResponsibleDTO"];
|
|
61
|
-
export type IResponsibleDTO = schemas["ResponsibleDTO"];
|
|
62
33
|
export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
63
|
-
export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
64
34
|
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
65
|
-
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
66
35
|
export type SearchResultV2DTO = schemas["SearchResultV2DTO"];
|
|
67
|
-
export type ISearchResultV2DTO = schemas["SearchResultV2DTO"];
|
|
68
36
|
export type Sort = schemas["Sort"];
|
|
69
|
-
export type ISort = schemas["Sort"];
|
|
70
37
|
export type TitleDTO = schemas["TitleDTO"];
|
|
71
|
-
export type ITitleDTO = schemas["TitleDTO"];
|
|
72
38
|
export type UpdateLearningPathStatusDTO = schemas["UpdateLearningPathStatusDTO"];
|
|
73
|
-
export type IUpdateLearningPathStatusDTO = schemas["UpdateLearningPathStatusDTO"];
|
|
74
39
|
export type UpdatedCommentDTO = schemas["UpdatedCommentDTO"];
|
|
75
|
-
export type IUpdatedCommentDTO = schemas["UpdatedCommentDTO"];
|
|
76
40
|
export type UpdatedLearningPathV2DTO = schemas["UpdatedLearningPathV2DTO"];
|
|
77
|
-
export type IUpdatedLearningPathV2DTO = schemas["UpdatedLearningPathV2DTO"];
|
|
78
41
|
export type UpdatedLearningStepV2DTO = schemas["UpdatedLearningStepV2DTO"];
|
|
79
|
-
export type IUpdatedLearningStepV2DTO = schemas["UpdatedLearningStepV2DTO"];
|
|
80
42
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
81
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
82
43
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
83
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./learningpath-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=learningpath-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"learningpath-api.js","sourceRoot":"","sources":["../learningpath-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"learningpath-api.js","sourceRoot":"","sources":["../learningpath-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,kEAAsD;AAE7C,0BAAO"}
|
package/build/myndla-api.d.ts
CHANGED
|
@@ -2,80 +2,41 @@ import * as openapi from "./myndla-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type BreadcrumbDTO = schemas["BreadcrumbDTO"];
|
|
7
|
-
export type IBreadcrumbDTO = schemas["BreadcrumbDTO"];
|
|
8
6
|
export type ConfigKey = schemas["ConfigKey"];
|
|
9
|
-
export type IConfigKey = schemas["ConfigKey"];
|
|
10
7
|
export type ConfigMetaDTO = schemas["ConfigMetaDTO"];
|
|
11
|
-
export type IConfigMetaDTO = schemas["ConfigMetaDTO"];
|
|
12
8
|
export type ConfigMetaRestrictedDTO = schemas["ConfigMetaRestrictedDTO"];
|
|
13
|
-
export type IConfigMetaRestrictedDTO = schemas["ConfigMetaRestrictedDTO"];
|
|
14
9
|
export type ConfigMetaValueDTO = schemas["ConfigMetaValueDTO"];
|
|
15
|
-
export type IConfigMetaValueDTO = schemas["ConfigMetaValueDTO"];
|
|
16
10
|
export type CreateRobotDefinitionDTO = schemas["CreateRobotDefinitionDTO"];
|
|
17
|
-
export type ICreateRobotDefinitionDTO = schemas["CreateRobotDefinitionDTO"];
|
|
18
11
|
export type ErrorBody = schemas["ErrorBody"];
|
|
19
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
20
12
|
export type ExportedUserDataDTO = schemas["ExportedUserDataDTO"];
|
|
21
|
-
export type IExportedUserDataDTO = schemas["ExportedUserDataDTO"];
|
|
22
13
|
export type FolderDTO = schemas["FolderDTO"];
|
|
23
|
-
export type IFolderDTO = schemas["FolderDTO"];
|
|
24
14
|
export type FolderDataDTO = schemas["FolderDataDTO"];
|
|
25
|
-
export type IFolderDataDTO = schemas["FolderDataDTO"];
|
|
26
15
|
export type FolderSortRequestDTO = schemas["FolderSortRequestDTO"];
|
|
27
|
-
export type IFolderSortRequestDTO = schemas["FolderSortRequestDTO"];
|
|
28
16
|
export type FolderStatus = schemas["FolderStatus"];
|
|
29
|
-
export type IFolderStatus = schemas["FolderStatus"];
|
|
30
17
|
export type ListOfRobotDefinitionsDTO = schemas["ListOfRobotDefinitionsDTO"];
|
|
31
|
-
export type IListOfRobotDefinitionsDTO = schemas["ListOfRobotDefinitionsDTO"];
|
|
32
18
|
export type Map_Long = schemas["Map_Long"];
|
|
33
|
-
export type IMap_Long = schemas["Map_Long"];
|
|
34
19
|
export type Map_Map_String_Long = schemas["Map_Map_String_Long"];
|
|
35
|
-
export type IMap_Map_String_Long = schemas["Map_Map_String_Long"];
|
|
36
20
|
export type MyNDLAGroupDTO = schemas["MyNDLAGroupDTO"];
|
|
37
|
-
export type IMyNDLAGroupDTO = schemas["MyNDLAGroupDTO"];
|
|
38
21
|
export type MyNDLAUserDTO = schemas["MyNDLAUserDTO"];
|
|
39
|
-
export type IMyNDLAUserDTO = schemas["MyNDLAUserDTO"];
|
|
40
22
|
export type NewFolderDTO = schemas["NewFolderDTO"];
|
|
41
|
-
export type INewFolderDTO = schemas["NewFolderDTO"];
|
|
42
23
|
export type NewResourceDTO = schemas["NewResourceDTO"];
|
|
43
|
-
export type INewResourceDTO = schemas["NewResourceDTO"];
|
|
44
24
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
45
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
46
25
|
export type OwnerDTO = schemas["OwnerDTO"];
|
|
47
|
-
export type IOwnerDTO = schemas["OwnerDTO"];
|
|
48
26
|
export type ResourceDTO = schemas["ResourceDTO"];
|
|
49
|
-
export type IResourceDTO = schemas["ResourceDTO"];
|
|
50
27
|
export type ResourceStatsDTO = schemas["ResourceStatsDTO"];
|
|
51
|
-
export type IResourceStatsDTO = schemas["ResourceStatsDTO"];
|
|
52
28
|
export type ResourceType = schemas["ResourceType"];
|
|
53
|
-
export type IResourceType = schemas["ResourceType"];
|
|
54
29
|
export type RobotConfigurationDTO = schemas["RobotConfigurationDTO"];
|
|
55
|
-
export type IRobotConfigurationDTO = schemas["RobotConfigurationDTO"];
|
|
56
30
|
export type RobotDefinitionDTO = schemas["RobotDefinitionDTO"];
|
|
57
|
-
export type IRobotDefinitionDTO = schemas["RobotDefinitionDTO"];
|
|
58
31
|
export type RobotSettingsDTO = schemas["RobotSettingsDTO"];
|
|
59
|
-
export type IRobotSettingsDTO = schemas["RobotSettingsDTO"];
|
|
60
32
|
export type RobotStatus = schemas["RobotStatus"];
|
|
61
|
-
export type IRobotStatus = schemas["RobotStatus"];
|
|
62
33
|
export type SingleResourceStatsDTO = schemas["SingleResourceStatsDTO"];
|
|
63
|
-
export type ISingleResourceStatsDTO = schemas["SingleResourceStatsDTO"];
|
|
64
34
|
export type StatsDTO = schemas["StatsDTO"];
|
|
65
|
-
export type IStatsDTO = schemas["StatsDTO"];
|
|
66
35
|
export type UpdatedFolderDTO = schemas["UpdatedFolderDTO"];
|
|
67
|
-
export type IUpdatedFolderDTO = schemas["UpdatedFolderDTO"];
|
|
68
36
|
export type UpdatedMyNDLAUserDTO = schemas["UpdatedMyNDLAUserDTO"];
|
|
69
|
-
export type IUpdatedMyNDLAUserDTO = schemas["UpdatedMyNDLAUserDTO"];
|
|
70
37
|
export type UpdatedResourceDTO = schemas["UpdatedResourceDTO"];
|
|
71
|
-
export type IUpdatedResourceDTO = schemas["UpdatedResourceDTO"];
|
|
72
38
|
export type UserFolderDTO = schemas["UserFolderDTO"];
|
|
73
|
-
export type IUserFolderDTO = schemas["UserFolderDTO"];
|
|
74
39
|
export type UserRole = schemas["UserRole"];
|
|
75
|
-
export type IUserRole = schemas["UserRole"];
|
|
76
40
|
export type UserStatsDTO = schemas["UserStatsDTO"];
|
|
77
|
-
export type IUserStatsDTO = schemas["UserStatsDTO"];
|
|
78
41
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
79
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
80
42
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
81
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/myndla-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./myndla-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=myndla-api.js.map
|
package/build/myndla-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"myndla-api.js","sourceRoot":"","sources":["../myndla-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"myndla-api.js","sourceRoot":"","sources":["../myndla-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAgD;AAEvC,0BAAO"}
|
package/build/oembed-proxy.d.ts
CHANGED
|
@@ -2,14 +2,8 @@ import * as openapi from "./oembed-proxy-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type ErrorBody = schemas["ErrorBody"];
|
|
7
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
8
6
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
9
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
10
7
|
export type OEmbedDTO = schemas["OEmbedDTO"];
|
|
11
|
-
export type IOEmbedDTO = schemas["OEmbedDTO"];
|
|
12
8
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
13
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
14
9
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
15
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/oembed-proxy.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./oembed-proxy-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=oembed-proxy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oembed-proxy.js","sourceRoot":"","sources":["../oembed-proxy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"oembed-proxy.js","sourceRoot":"","sources":["../oembed-proxy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,8DAAkD;AAEzC,0BAAO"}
|
|
@@ -79,7 +79,7 @@ var BLOB = typescript_1.default.factory.createTypeReferenceNode(typescript_1.def
|
|
|
79
79
|
var NULL = typescript_1.default.factory.createLiteralTypeNode(typescript_1.default.factory.createNull()); // `null`
|
|
80
80
|
function generate_types(appName) {
|
|
81
81
|
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
-
var jsonFile, schema, ast, outputPath, output;
|
|
82
|
+
var jsonFile, schema, schemaContent, ast, outputPath, output, fileContent, schemas, schemaNames, _i, schemaNames_1, schemaName, apiTypesFile;
|
|
83
83
|
return __generator(this, function (_a) {
|
|
84
84
|
switch (_a.label) {
|
|
85
85
|
case 0:
|
|
@@ -88,7 +88,8 @@ function generate_types(appName) {
|
|
|
88
88
|
return [4 /*yield*/, node_fs_1.default.promises.readFile(jsonFile, "utf8")];
|
|
89
89
|
case 1:
|
|
90
90
|
schema = _a.sent();
|
|
91
|
-
|
|
91
|
+
schemaContent = JSON.parse(schema);
|
|
92
|
+
return [4 /*yield*/, (0, openapi_typescript_1.default)(schemaContent, {
|
|
92
93
|
exportType: true,
|
|
93
94
|
// https://openapi-ts.dev/migration-guide#defaultnonnullable-true-by-default
|
|
94
95
|
defaultNonNullable: false,
|
|
@@ -109,6 +110,16 @@ function generate_types(appName) {
|
|
|
109
110
|
output = (0, openapi_typescript_1.astToString)(ast);
|
|
110
111
|
console.log("Outputting to ".concat(outputPath));
|
|
111
112
|
node_fs_1.default.writeFileSync(outputPath, output);
|
|
113
|
+
fileContent = "// This file is generated automatically. Do not edit.\nimport * as openapi from \"./".concat(appName, "-openapi\";\ntype schemas = openapi.components[\"schemas\"];\nexport { openapi };\n\n");
|
|
114
|
+
schemas = schemaContent.components.schemas;
|
|
115
|
+
schemaNames = Object.keys(schemas);
|
|
116
|
+
for (_i = 0, schemaNames_1 = schemaNames; _i < schemaNames_1.length; _i++) {
|
|
117
|
+
schemaName = schemaNames_1[_i];
|
|
118
|
+
fileContent += "export type ".concat(schemaName, " = schemas[\"").concat(schemaName, "\"];\n");
|
|
119
|
+
}
|
|
120
|
+
apiTypesFile = "./".concat(appName, ".ts");
|
|
121
|
+
console.log("Outputting to ".concat(apiTypesFile));
|
|
122
|
+
node_fs_1.default.writeFileSync(apiTypesFile, fileContent);
|
|
112
123
|
return [2 /*return*/];
|
|
113
124
|
}
|
|
114
125
|
});
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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"}
|
package/build/search-api.d.ts
CHANGED
|
@@ -2,124 +2,63 @@ import * as openapi from "./search-api-openapi";
|
|
|
2
2
|
type schemas = openapi.components["schemas"];
|
|
3
3
|
export { openapi };
|
|
4
4
|
export type AllErrors = schemas["AllErrors"];
|
|
5
|
-
export type IAllErrors = schemas["AllErrors"];
|
|
6
5
|
export type ApiTaxonomyContextDTO = schemas["ApiTaxonomyContextDTO"];
|
|
7
|
-
export type IApiTaxonomyContextDTO = schemas["ApiTaxonomyContextDTO"];
|
|
8
6
|
export type ArticleTrait = schemas["ArticleTrait"];
|
|
9
|
-
export type IArticleTrait = schemas["ArticleTrait"];
|
|
10
7
|
export type CommentDTO = schemas["CommentDTO"];
|
|
11
|
-
export type ICommentDTO = schemas["CommentDTO"];
|
|
12
8
|
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
13
|
-
export type IDescriptionDTO = schemas["DescriptionDTO"];
|
|
14
9
|
export type DraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
|
|
15
|
-
export type IDraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
|
|
16
10
|
export type ErrorBody = schemas["ErrorBody"];
|
|
17
|
-
export type IErrorBody = schemas["ErrorBody"];
|
|
18
11
|
export type GrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
|
|
19
|
-
export type IGrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
|
|
20
12
|
export type GrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
|
|
21
|
-
export type IGrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
|
|
22
13
|
export type GrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
|
|
23
|
-
export type IGrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
|
|
24
14
|
export type GrepKompetansemaalDTO1 = schemas["GrepKompetansemaalDTO1"];
|
|
25
|
-
export type IGrepKompetansemaalDTO1 = schemas["GrepKompetansemaalDTO1"];
|
|
26
15
|
export type GrepKompetansemaalSettDTO = schemas["GrepKompetansemaalSettDTO"];
|
|
27
|
-
export type IGrepKompetansemaalSettDTO = schemas["GrepKompetansemaalSettDTO"];
|
|
28
16
|
export type GrepKompetansemaalSettDTO1 = schemas["GrepKompetansemaalSettDTO1"];
|
|
29
|
-
export type IGrepKompetansemaalSettDTO1 = schemas["GrepKompetansemaalSettDTO1"];
|
|
30
17
|
export type GrepLaererplanDTO = schemas["GrepLaererplanDTO"];
|
|
31
|
-
export type IGrepLaererplanDTO = schemas["GrepLaererplanDTO"];
|
|
32
18
|
export type GrepLaererplanDTO1 = schemas["GrepLaererplanDTO1"];
|
|
33
|
-
export type IGrepLaererplanDTO1 = schemas["GrepLaererplanDTO1"];
|
|
34
19
|
export type GrepReferencedKjerneelementDTO = schemas["GrepReferencedKjerneelementDTO"];
|
|
35
|
-
export type IGrepReferencedKjerneelementDTO = schemas["GrepReferencedKjerneelementDTO"];
|
|
36
20
|
export type GrepReferencedKompetansemaalDTO = schemas["GrepReferencedKompetansemaalDTO"];
|
|
37
|
-
export type IGrepReferencedKompetansemaalDTO = schemas["GrepReferencedKompetansemaalDTO"];
|
|
38
21
|
export type GrepReferencedKompetansemaalSettDTO = schemas["GrepReferencedKompetansemaalSettDTO"];
|
|
39
|
-
export type IGrepReferencedKompetansemaalSettDTO = schemas["GrepReferencedKompetansemaalSettDTO"];
|
|
40
22
|
export type GrepReferencedLaereplanDTO = schemas["GrepReferencedLaereplanDTO"];
|
|
41
|
-
export type IGrepReferencedLaereplanDTO = schemas["GrepReferencedLaereplanDTO"];
|
|
42
23
|
export type GrepResultDTO = schemas["GrepResultDTO"];
|
|
43
|
-
export type IGrepResultDTO = schemas["GrepResultDTO"];
|
|
44
24
|
export type GrepSearchInputDTO = schemas["GrepSearchInputDTO"];
|
|
45
|
-
export type IGrepSearchInputDTO = schemas["GrepSearchInputDTO"];
|
|
46
25
|
export type GrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
|
|
47
|
-
export type IGrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
|
|
48
26
|
export type GrepSortDTO = schemas["GrepSortDTO"];
|
|
49
|
-
export type IGrepSortDTO = schemas["GrepSortDTO"];
|
|
50
27
|
export type GrepStatusDTO = schemas["GrepStatusDTO"];
|
|
51
|
-
export type IGrepStatusDTO = schemas["GrepStatusDTO"];
|
|
52
28
|
export type GrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
|
|
53
|
-
export type IGrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
|
|
54
29
|
export type GrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
|
|
55
|
-
export type IGrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
|
|
56
30
|
export type GroupSearchResultDTO = schemas["GroupSearchResultDTO"];
|
|
57
|
-
export type IGroupSearchResultDTO = schemas["GroupSearchResultDTO"];
|
|
58
31
|
export type HighlightedFieldDTO = schemas["HighlightedFieldDTO"];
|
|
59
|
-
export type IHighlightedFieldDTO = schemas["HighlightedFieldDTO"];
|
|
60
32
|
export type LearningResourceType = schemas["LearningResourceType"];
|
|
61
|
-
export type ILearningResourceType = schemas["LearningResourceType"];
|
|
62
33
|
export type Map_String = schemas["Map_String"];
|
|
63
|
-
export type IMap_String = schemas["Map_String"];
|
|
64
34
|
export type MetaDescriptionDTO = schemas["MetaDescriptionDTO"];
|
|
65
|
-
export type IMetaDescriptionDTO = schemas["MetaDescriptionDTO"];
|
|
66
35
|
export type MetaImageDTO = schemas["MetaImageDTO"];
|
|
67
|
-
export type IMetaImageDTO = schemas["MetaImageDTO"];
|
|
68
36
|
export type MultiSearchResultDTO = schemas["MultiSearchResultDTO"];
|
|
69
|
-
export type IMultiSearchResultDTO = schemas["MultiSearchResultDTO"];
|
|
70
37
|
export type MultiSearchSuggestionDTO = schemas["MultiSearchSuggestionDTO"];
|
|
71
|
-
export type IMultiSearchSuggestionDTO = schemas["MultiSearchSuggestionDTO"];
|
|
72
38
|
export type MultiSearchSummaryDTO = schemas["MultiSearchSummaryDTO"];
|
|
73
|
-
export type IMultiSearchSummaryDTO = schemas["MultiSearchSummaryDTO"];
|
|
74
39
|
export type MultiSearchSummaryDTO1 = schemas["MultiSearchSummaryDTO1"];
|
|
75
|
-
export type IMultiSearchSummaryDTO1 = schemas["MultiSearchSummaryDTO1"];
|
|
76
40
|
export type MultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
|
|
77
|
-
export type IMultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
|
|
78
41
|
export type MultiSummaryBaseDTO = schemas["MultiSummaryBaseDTO"];
|
|
79
|
-
export type IMultiSummaryBaseDTO = schemas["MultiSummaryBaseDTO"];
|
|
80
42
|
export type NodeHitDTO = schemas["NodeHitDTO"];
|
|
81
|
-
export type INodeHitDTO = schemas["NodeHitDTO"];
|
|
82
43
|
export type NodeHitDTO1 = schemas["NodeHitDTO1"];
|
|
83
|
-
export type INodeHitDTO1 = schemas["NodeHitDTO1"];
|
|
84
44
|
export type NodeType = schemas["NodeType"];
|
|
85
|
-
export type INodeType = schemas["NodeType"];
|
|
86
45
|
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
87
|
-
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
88
46
|
export type Priority = schemas["Priority"];
|
|
89
|
-
export type IPriority = schemas["Priority"];
|
|
90
47
|
export type ResponsibleDTO = schemas["ResponsibleDTO"];
|
|
91
|
-
export type IResponsibleDTO = schemas["ResponsibleDTO"];
|
|
92
48
|
export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
93
|
-
export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
94
49
|
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
95
|
-
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
96
50
|
export type SearchSuggestionDTO = schemas["SearchSuggestionDTO"];
|
|
97
|
-
export type ISearchSuggestionDTO = schemas["SearchSuggestionDTO"];
|
|
98
51
|
export type SearchType = schemas["SearchType"];
|
|
99
|
-
export type ISearchType = schemas["SearchType"];
|
|
100
52
|
export type Sort = schemas["Sort"];
|
|
101
|
-
export type ISort = schemas["Sort"];
|
|
102
53
|
export type StatusDTO = schemas["StatusDTO"];
|
|
103
|
-
export type IStatusDTO = schemas["StatusDTO"];
|
|
104
54
|
export type SubjectAggregationDTO = schemas["SubjectAggregationDTO"];
|
|
105
|
-
export type ISubjectAggregationDTO = schemas["SubjectAggregationDTO"];
|
|
106
55
|
export type SubjectAggregationsDTO = schemas["SubjectAggregationsDTO"];
|
|
107
|
-
export type ISubjectAggregationsDTO = schemas["SubjectAggregationsDTO"];
|
|
108
56
|
export type SubjectAggsInputDTO = schemas["SubjectAggsInputDTO"];
|
|
109
|
-
export type ISubjectAggsInputDTO = schemas["SubjectAggsInputDTO"];
|
|
110
57
|
export type SubjectPageSummaryDTO = schemas["SubjectPageSummaryDTO"];
|
|
111
|
-
export type ISubjectPageSummaryDTO = schemas["SubjectPageSummaryDTO"];
|
|
112
58
|
export type SuggestOptionDTO = schemas["SuggestOptionDTO"];
|
|
113
|
-
export type ISuggestOptionDTO = schemas["SuggestOptionDTO"];
|
|
114
59
|
export type TaxonomyResourceTypeDTO = schemas["TaxonomyResourceTypeDTO"];
|
|
115
|
-
export type ITaxonomyResourceTypeDTO = schemas["TaxonomyResourceTypeDTO"];
|
|
116
60
|
export type TermValueDTO = schemas["TermValueDTO"];
|
|
117
|
-
export type ITermValueDTO = schemas["TermValueDTO"];
|
|
118
61
|
export type TitleDTO = schemas["TitleDTO"];
|
|
119
|
-
export type ITitleDTO = schemas["TitleDTO"];
|
|
120
62
|
export type TitleWithHtmlDTO = schemas["TitleWithHtmlDTO"];
|
|
121
|
-
export type ITitleWithHtmlDTO = schemas["TitleWithHtmlDTO"];
|
|
122
63
|
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
123
|
-
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
124
64
|
export type ValidationMessage = schemas["ValidationMessage"];
|
|
125
|
-
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/search-api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.openapi = void 0;
|
|
27
|
-
// This file
|
|
27
|
+
// This file is generated automatically. Do not edit.
|
|
28
28
|
var openapi = __importStar(require("./search-api-openapi"));
|
|
29
29
|
exports.openapi = openapi;
|
|
30
30
|
//# sourceMappingURL=search-api.js.map
|
package/build/search-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAqD;AACrD,4DAAgD;AAEvC,0BAAO"}
|
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.80",
|
|
36
36
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
37
37
|
}
|