@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":"draft-api-openapi.js","sourceRoot":"","sources":["../draft-api-openapi.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/build/draft-api.d.ts
CHANGED
|
@@ -1,292 +1,117 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export type
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
export
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
export
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
export
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export interface IDisclaimerDTO {
|
|
119
|
-
disclaimer: string;
|
|
120
|
-
language: string;
|
|
121
|
-
}
|
|
122
|
-
export interface IDraftCopyrightDTO {
|
|
123
|
-
license?: ILicenseDTO;
|
|
124
|
-
origin?: string;
|
|
125
|
-
creators: IAuthorDTO[];
|
|
126
|
-
processors: IAuthorDTO[];
|
|
127
|
-
rightsholders: IAuthorDTO[];
|
|
128
|
-
validFrom?: string;
|
|
129
|
-
validTo?: string;
|
|
130
|
-
processed: boolean;
|
|
131
|
-
}
|
|
132
|
-
export interface IDraftResponsibleDTO {
|
|
133
|
-
responsibleId: string;
|
|
134
|
-
lastUpdated: string;
|
|
135
|
-
}
|
|
136
|
-
export interface IEditorNoteDTO {
|
|
137
|
-
note: string;
|
|
138
|
-
user: string;
|
|
139
|
-
status: IStatusDTO;
|
|
140
|
-
timestamp: string;
|
|
141
|
-
}
|
|
142
|
-
export interface IGrepCodesSearchResultDTO {
|
|
143
|
-
totalCount: number;
|
|
144
|
-
page: number;
|
|
145
|
-
pageSize: number;
|
|
146
|
-
results: string[];
|
|
147
|
-
}
|
|
148
|
-
export interface ILicenseDTO {
|
|
149
|
-
license: string;
|
|
150
|
-
description?: string;
|
|
151
|
-
url?: string;
|
|
152
|
-
}
|
|
153
|
-
export interface INewArticleDTO {
|
|
154
|
-
language: string;
|
|
155
|
-
title: string;
|
|
156
|
-
published?: string;
|
|
157
|
-
content?: string;
|
|
158
|
-
tags?: string[];
|
|
159
|
-
introduction?: string;
|
|
160
|
-
metaDescription?: string;
|
|
161
|
-
metaImage?: INewArticleMetaImageDTO;
|
|
162
|
-
visualElement?: string;
|
|
163
|
-
copyright?: IDraftCopyrightDTO;
|
|
164
|
-
requiredLibraries?: IRequiredLibraryDTO[];
|
|
165
|
-
articleType: string;
|
|
166
|
-
notes?: string[];
|
|
167
|
-
editorLabels?: string[];
|
|
168
|
-
grepCodes?: string[];
|
|
169
|
-
conceptIds?: number[];
|
|
170
|
-
availability?: string;
|
|
171
|
-
relatedContent?: (IRelatedContentLinkDTO | number)[];
|
|
172
|
-
revisionMeta?: IRevisionMetaDTO[];
|
|
173
|
-
responsibleId?: string;
|
|
174
|
-
slug?: string;
|
|
175
|
-
comments?: INewCommentDTO[];
|
|
176
|
-
prioritized?: boolean;
|
|
177
|
-
priority?: string;
|
|
178
|
-
qualityEvaluation?: IQualityEvaluationDTO;
|
|
179
|
-
disclaimer?: string;
|
|
180
|
-
}
|
|
181
|
-
export interface INewArticleMetaImageDTO {
|
|
182
|
-
id: string;
|
|
183
|
-
alt: string;
|
|
184
|
-
}
|
|
185
|
-
export interface INewCommentDTO {
|
|
186
|
-
content: string;
|
|
187
|
-
isOpen?: boolean;
|
|
188
|
-
}
|
|
189
|
-
export interface IQualityEvaluationDTO {
|
|
190
|
-
grade: Grade;
|
|
191
|
-
note?: string;
|
|
192
|
-
}
|
|
193
|
-
export interface IRelatedContentLinkDTO {
|
|
194
|
-
title: string;
|
|
195
|
-
url: string;
|
|
196
|
-
}
|
|
197
|
-
export interface IRequiredLibraryDTO {
|
|
198
|
-
mediaType: string;
|
|
199
|
-
name: string;
|
|
200
|
-
url: string;
|
|
201
|
-
}
|
|
202
|
-
export interface IRevisionMetaDTO {
|
|
203
|
-
id?: string;
|
|
204
|
-
revisionDate: string;
|
|
205
|
-
note: string;
|
|
206
|
-
status: string;
|
|
207
|
-
}
|
|
208
|
-
export interface ISavedSearchDTO {
|
|
209
|
-
searchUrl: string;
|
|
210
|
-
searchPhrase: string;
|
|
211
|
-
}
|
|
212
|
-
export interface ISearchResultDTO {
|
|
213
|
-
totalCount: number;
|
|
214
|
-
page: number;
|
|
215
|
-
pageSize: number;
|
|
216
|
-
language: string;
|
|
217
|
-
results: IArticleSummaryDTO[];
|
|
218
|
-
}
|
|
219
|
-
export interface IStatusDTO {
|
|
220
|
-
current: string;
|
|
221
|
-
other: string[];
|
|
222
|
-
}
|
|
223
|
-
export interface ITagsSearchResultDTO {
|
|
224
|
-
totalCount: number;
|
|
225
|
-
page: number;
|
|
226
|
-
pageSize: number;
|
|
227
|
-
language: string;
|
|
228
|
-
results: string[];
|
|
229
|
-
}
|
|
230
|
-
export interface IUpdatedArticleDTO {
|
|
231
|
-
revision: number;
|
|
232
|
-
language?: string;
|
|
233
|
-
title?: string;
|
|
234
|
-
status?: string;
|
|
235
|
-
published?: string;
|
|
236
|
-
content?: string;
|
|
237
|
-
tags?: string[];
|
|
238
|
-
introduction?: string;
|
|
239
|
-
metaDescription?: string;
|
|
240
|
-
metaImage: UpdateOrDeleteNewArticleMetaImageDTO;
|
|
241
|
-
visualElement?: string;
|
|
242
|
-
copyright?: IDraftCopyrightDTO;
|
|
243
|
-
requiredLibraries?: IRequiredLibraryDTO[];
|
|
244
|
-
articleType?: string;
|
|
245
|
-
notes?: string[];
|
|
246
|
-
editorLabels?: string[];
|
|
247
|
-
grepCodes?: string[];
|
|
248
|
-
conceptIds?: number[];
|
|
249
|
-
createNewVersion?: boolean;
|
|
250
|
-
availability?: string;
|
|
251
|
-
relatedContent?: (IRelatedContentLinkDTO | number)[];
|
|
252
|
-
revisionMeta?: IRevisionMetaDTO[];
|
|
253
|
-
responsibleId: UpdateOrDeleteString;
|
|
254
|
-
slug?: string;
|
|
255
|
-
comments?: IUpdatedCommentDTO[];
|
|
256
|
-
prioritized?: boolean;
|
|
257
|
-
priority?: string;
|
|
258
|
-
qualityEvaluation?: IQualityEvaluationDTO;
|
|
259
|
-
disclaimer?: string;
|
|
260
|
-
}
|
|
261
|
-
export interface IUpdatedCommentDTO {
|
|
262
|
-
id?: string;
|
|
263
|
-
content: string;
|
|
264
|
-
isOpen?: boolean;
|
|
265
|
-
solved?: boolean;
|
|
266
|
-
}
|
|
267
|
-
export interface IUpdatedUserDataDTO {
|
|
268
|
-
savedSearches?: ISavedSearchDTO[];
|
|
269
|
-
latestEditedArticles?: string[];
|
|
270
|
-
latestEditedConcepts?: string[];
|
|
271
|
-
favoriteSubjects?: string[];
|
|
272
|
-
}
|
|
273
|
-
export interface IUploadedFileDTO {
|
|
274
|
-
filename: string;
|
|
275
|
-
mime: string;
|
|
276
|
-
extension: string;
|
|
277
|
-
path: string;
|
|
278
|
-
}
|
|
279
|
-
export interface IUserDataDTO {
|
|
280
|
-
userId: string;
|
|
281
|
-
savedSearches?: ISavedSearchDTO[];
|
|
282
|
-
latestEditedArticles?: string[];
|
|
283
|
-
latestEditedConcepts?: string[];
|
|
284
|
-
favoriteSubjects?: string[];
|
|
285
|
-
}
|
|
286
|
-
export interface IVisualElementDTO {
|
|
287
|
-
visualElement: string;
|
|
288
|
-
language: string;
|
|
289
|
-
}
|
|
290
|
-
export type Sort = DraftSortEnum;
|
|
291
|
-
export type UpdateOrDeleteNewArticleMetaImageDTO = (null | undefined | INewArticleMetaImageDTO);
|
|
292
|
-
export type UpdateOrDeleteString = (null | undefined | string);
|
|
1
|
+
import * as openapi from "./draft-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 ArticleContentDTO = schemas["ArticleContentDTO"];
|
|
7
|
+
export type IArticleContentDTO = schemas["ArticleContentDTO"];
|
|
8
|
+
export type ArticleDTO = schemas["ArticleDTO"];
|
|
9
|
+
export type IArticleDTO = schemas["ArticleDTO"];
|
|
10
|
+
export type ArticleIntroductionDTO = schemas["ArticleIntroductionDTO"];
|
|
11
|
+
export type IArticleIntroductionDTO = schemas["ArticleIntroductionDTO"];
|
|
12
|
+
export type ArticleMetaDescriptionDTO = schemas["ArticleMetaDescriptionDTO"];
|
|
13
|
+
export type IArticleMetaDescriptionDTO = schemas["ArticleMetaDescriptionDTO"];
|
|
14
|
+
export type ArticleMetaImageDTO = schemas["ArticleMetaImageDTO"];
|
|
15
|
+
export type IArticleMetaImageDTO = schemas["ArticleMetaImageDTO"];
|
|
16
|
+
export type ArticleSearchParamsDTO = schemas["ArticleSearchParamsDTO"];
|
|
17
|
+
export type IArticleSearchParamsDTO = schemas["ArticleSearchParamsDTO"];
|
|
18
|
+
export type ArticleSearchResultDTO = schemas["ArticleSearchResultDTO"];
|
|
19
|
+
export type IArticleSearchResultDTO = schemas["ArticleSearchResultDTO"];
|
|
20
|
+
export type ArticleSummaryDTO = schemas["ArticleSummaryDTO"];
|
|
21
|
+
export type IArticleSummaryDTO = schemas["ArticleSummaryDTO"];
|
|
22
|
+
export type ArticleTagDTO = schemas["ArticleTagDTO"];
|
|
23
|
+
export type IArticleTagDTO = schemas["ArticleTagDTO"];
|
|
24
|
+
export type ArticleTitleDTO = schemas["ArticleTitleDTO"];
|
|
25
|
+
export type IArticleTitleDTO = schemas["ArticleTitleDTO"];
|
|
26
|
+
export type AuthorDTO = schemas["AuthorDTO"];
|
|
27
|
+
export type IAuthorDTO = schemas["AuthorDTO"];
|
|
28
|
+
export type CommentDTO = schemas["CommentDTO"];
|
|
29
|
+
export type ICommentDTO = schemas["CommentDTO"];
|
|
30
|
+
export type ContentIdDTO = schemas["ContentIdDTO"];
|
|
31
|
+
export type IContentIdDTO = schemas["ContentIdDTO"];
|
|
32
|
+
export type ContributorType = schemas["ContributorType"];
|
|
33
|
+
export type IContributorType = schemas["ContributorType"];
|
|
34
|
+
export type DisclaimerDTO = schemas["DisclaimerDTO"];
|
|
35
|
+
export type IDisclaimerDTO = schemas["DisclaimerDTO"];
|
|
36
|
+
export type DraftCopyrightDTO = schemas["DraftCopyrightDTO"];
|
|
37
|
+
export type IDraftCopyrightDTO = schemas["DraftCopyrightDTO"];
|
|
38
|
+
export type DraftResponsibleDTO = schemas["DraftResponsibleDTO"];
|
|
39
|
+
export type IDraftResponsibleDTO = schemas["DraftResponsibleDTO"];
|
|
40
|
+
export type EditorNoteDTO = schemas["EditorNoteDTO"];
|
|
41
|
+
export type IEditorNoteDTO = schemas["EditorNoteDTO"];
|
|
42
|
+
export type ErrorBody = schemas["ErrorBody"];
|
|
43
|
+
export type IErrorBody = schemas["ErrorBody"];
|
|
44
|
+
export type FileForm = schemas["FileForm"];
|
|
45
|
+
export type IFileForm = schemas["FileForm"];
|
|
46
|
+
export type Grade = schemas["Grade"];
|
|
47
|
+
export type IGrade = schemas["Grade"];
|
|
48
|
+
export type GrepCodesSearchResultDTO = schemas["GrepCodesSearchResultDTO"];
|
|
49
|
+
export type IGrepCodesSearchResultDTO = schemas["GrepCodesSearchResultDTO"];
|
|
50
|
+
export type LicenseDTO = schemas["LicenseDTO"];
|
|
51
|
+
export type ILicenseDTO = schemas["LicenseDTO"];
|
|
52
|
+
export type Map_List_String = schemas["Map_List_String"];
|
|
53
|
+
export type IMap_List_String = schemas["Map_List_String"];
|
|
54
|
+
export type MultiPartialPublishResultDTO = schemas["MultiPartialPublishResultDTO"];
|
|
55
|
+
export type IMultiPartialPublishResultDTO = schemas["MultiPartialPublishResultDTO"];
|
|
56
|
+
export type NewArticleDTO = schemas["NewArticleDTO"];
|
|
57
|
+
export type INewArticleDTO = schemas["NewArticleDTO"];
|
|
58
|
+
export type NewArticleMetaImageDTO = schemas["NewArticleMetaImageDTO"];
|
|
59
|
+
export type INewArticleMetaImageDTO = schemas["NewArticleMetaImageDTO"];
|
|
60
|
+
export type NewCommentDTO = schemas["NewCommentDTO"];
|
|
61
|
+
export type INewCommentDTO = schemas["NewCommentDTO"];
|
|
62
|
+
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
63
|
+
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
64
|
+
export type PartialArticleFieldsDTO = schemas["PartialArticleFieldsDTO"];
|
|
65
|
+
export type IPartialArticleFieldsDTO = schemas["PartialArticleFieldsDTO"];
|
|
66
|
+
export type PartialBulkArticlesDTO = schemas["PartialBulkArticlesDTO"];
|
|
67
|
+
export type IPartialBulkArticlesDTO = schemas["PartialBulkArticlesDTO"];
|
|
68
|
+
export type PartialPublishFailureDTO = schemas["PartialPublishFailureDTO"];
|
|
69
|
+
export type IPartialPublishFailureDTO = schemas["PartialPublishFailureDTO"];
|
|
70
|
+
export type QualityEvaluationDTO = schemas["QualityEvaluationDTO"];
|
|
71
|
+
export type IQualityEvaluationDTO = schemas["QualityEvaluationDTO"];
|
|
72
|
+
export type RelatedContentLinkDTO = schemas["RelatedContentLinkDTO"];
|
|
73
|
+
export type IRelatedContentLinkDTO = schemas["RelatedContentLinkDTO"];
|
|
74
|
+
export type RequiredLibraryDTO = schemas["RequiredLibraryDTO"];
|
|
75
|
+
export type IRequiredLibraryDTO = schemas["RequiredLibraryDTO"];
|
|
76
|
+
export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
77
|
+
export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
78
|
+
export type SavedSearchDTO = schemas["SavedSearchDTO"];
|
|
79
|
+
export type ISavedSearchDTO = schemas["SavedSearchDTO"];
|
|
80
|
+
export type Sort = schemas["Sort"];
|
|
81
|
+
export type ISort = schemas["Sort"];
|
|
82
|
+
export type StatusDTO = schemas["StatusDTO"];
|
|
83
|
+
export type IStatusDTO = schemas["StatusDTO"];
|
|
84
|
+
export type TagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
85
|
+
export type ITagsSearchResultDTO = schemas["TagsSearchResultDTO"];
|
|
86
|
+
export type UpdatedArticleDTO = schemas["UpdatedArticleDTO"];
|
|
87
|
+
export type IUpdatedArticleDTO = schemas["UpdatedArticleDTO"];
|
|
88
|
+
export type UpdatedCommentDTO = schemas["UpdatedCommentDTO"];
|
|
89
|
+
export type IUpdatedCommentDTO = schemas["UpdatedCommentDTO"];
|
|
90
|
+
export type UpdatedUserDataDTO = schemas["UpdatedUserDataDTO"];
|
|
91
|
+
export type IUpdatedUserDataDTO = schemas["UpdatedUserDataDTO"];
|
|
92
|
+
export type UploadedFileDTO = schemas["UploadedFileDTO"];
|
|
93
|
+
export type IUploadedFileDTO = schemas["UploadedFileDTO"];
|
|
94
|
+
export type UserDataDTO = schemas["UserDataDTO"];
|
|
95
|
+
export type IUserDataDTO = schemas["UserDataDTO"];
|
|
96
|
+
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
97
|
+
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
98
|
+
export type ValidationMessage = schemas["ValidationMessage"];
|
|
99
|
+
export type IValidationMessage = schemas["ValidationMessage"];
|
|
100
|
+
export type VisualElementDTO = schemas["VisualElementDTO"];
|
|
101
|
+
export type IVisualElementDTO = schemas["VisualElementDTO"];
|
|
102
|
+
export type availability = schemas["availability"];
|
|
103
|
+
export type Iavailability = schemas["availability"];
|
|
104
|
+
export type grepCodes = schemas["grepCodes"];
|
|
105
|
+
export type IgrepCodes = schemas["grepCodes"];
|
|
106
|
+
export type license = schemas["license"];
|
|
107
|
+
export type Ilicense = schemas["license"];
|
|
108
|
+
export type metaDescription = schemas["metaDescription"];
|
|
109
|
+
export type ImetaDescription = schemas["metaDescription"];
|
|
110
|
+
export type published = schemas["published"];
|
|
111
|
+
export type Ipublished = schemas["published"];
|
|
112
|
+
export type relatedContent = schemas["relatedContent"];
|
|
113
|
+
export type IrelatedContent = schemas["relatedContent"];
|
|
114
|
+
export type revisionDate = schemas["revisionDate"];
|
|
115
|
+
export type IrevisionDate = schemas["revisionDate"];
|
|
116
|
+
export type tags = schemas["tags"];
|
|
117
|
+
export type Itags = schemas["tags"];
|
package/build/draft-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
|
-
DraftSortEnum["ByRelevanceAsc"] = "relevance";
|
|
9
|
-
DraftSortEnum["ByTitleDesc"] = "-title";
|
|
10
|
-
DraftSortEnum["ByTitleAsc"] = "title";
|
|
11
|
-
DraftSortEnum["ByLastUpdatedDesc"] = "-lastUpdated";
|
|
12
|
-
DraftSortEnum["ByLastUpdatedAsc"] = "lastUpdated";
|
|
13
|
-
DraftSortEnum["ByIdDesc"] = "-id";
|
|
14
|
-
DraftSortEnum["ByIdAsc"] = "id";
|
|
15
|
-
})(DraftSortEnum || (exports.DraftSortEnum = DraftSortEnum = {}));
|
|
26
|
+
exports.openapi = void 0;
|
|
27
|
+
// This file was generated by OpenApiPlugin, do not edit it manually
|
|
28
|
+
var openapi = __importStar(require("./draft-api-openapi"));
|
|
29
|
+
exports.openapi = openapi;
|
|
16
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":"
|
|
1
|
+
{"version":3,"file":"draft-api.js","sourceRoot":"","sources":["../draft-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oEAAoE;AACpE,2DAA+C;AAGtC,0BAAO"}
|