@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":"search-api-openapi.js","sourceRoot":"","sources":["../search-api-openapi.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/build/search-api.d.ts
CHANGED
|
@@ -1,422 +1,121 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
export
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
export
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
export interface IGrepKompetansemaalSettDTO {
|
|
124
|
-
code: string;
|
|
125
|
-
title: ITitleDTO;
|
|
126
|
-
kompetansemaal: IGrepReferencedKompetansemaalDTO[];
|
|
127
|
-
typename: "GrepKompetansemaalSettDTO";
|
|
128
|
-
}
|
|
129
|
-
export interface IGrepLaererplanDTO {
|
|
130
|
-
code: string;
|
|
131
|
-
title: ITitleDTO;
|
|
132
|
-
replacedBy: IGrepReferencedLaereplanDTO[];
|
|
133
|
-
typename: "GrepLaererplanDTO";
|
|
134
|
-
}
|
|
135
|
-
export interface IGrepReferencedKjerneelementDTO {
|
|
136
|
-
code: string;
|
|
137
|
-
title: string;
|
|
138
|
-
}
|
|
139
|
-
export interface IGrepReferencedKompetansemaalDTO {
|
|
140
|
-
code: string;
|
|
141
|
-
title: string;
|
|
142
|
-
}
|
|
143
|
-
export interface IGrepReferencedKompetansemaalSettDTO {
|
|
144
|
-
code: string;
|
|
145
|
-
title: string;
|
|
146
|
-
}
|
|
147
|
-
export interface IGrepReferencedLaereplanDTO {
|
|
148
|
-
code: string;
|
|
149
|
-
title: string;
|
|
150
|
-
}
|
|
151
|
-
export interface IGrepSearchInputDTO {
|
|
152
|
-
prefixFilter?: string[];
|
|
153
|
-
codes?: string[];
|
|
154
|
-
query?: string;
|
|
155
|
-
page?: number;
|
|
156
|
-
pageSize?: number;
|
|
157
|
-
sort?: GrepSort;
|
|
158
|
-
language?: string;
|
|
159
|
-
}
|
|
160
|
-
export interface IGrepSearchResultsDTO {
|
|
161
|
-
totalCount: number;
|
|
162
|
-
page: number;
|
|
163
|
-
pageSize: number;
|
|
164
|
-
language: string;
|
|
165
|
-
results: GrepResultDTO[];
|
|
166
|
-
}
|
|
167
|
-
export interface IGrepTverrfagligTemaDTO {
|
|
168
|
-
code: string;
|
|
169
|
-
title: ITitleDTO;
|
|
170
|
-
typename: "GrepTverrfagligTemaDTO";
|
|
171
|
-
}
|
|
172
|
-
export interface IGroupSearchResultDTO {
|
|
173
|
-
totalCount: number;
|
|
174
|
-
page?: number;
|
|
175
|
-
pageSize: number;
|
|
176
|
-
language: string;
|
|
177
|
-
results: MultiSummaryBaseDTO[];
|
|
178
|
-
suggestions: IMultiSearchSuggestionDTO[];
|
|
179
|
-
aggregations: IMultiSearchTermsAggregationDTO[];
|
|
180
|
-
resourceType: string;
|
|
181
|
-
}
|
|
182
|
-
export interface IHighlightedFieldDTO {
|
|
183
|
-
field: string;
|
|
184
|
-
matches: string[];
|
|
185
|
-
}
|
|
186
|
-
export interface IImageAltTextDTO {
|
|
187
|
-
altText: string;
|
|
188
|
-
language: string;
|
|
189
|
-
}
|
|
190
|
-
export interface IImageResultDTO {
|
|
191
|
-
id: number;
|
|
192
|
-
title: ITitleDTO;
|
|
193
|
-
altText: IImageAltTextDTO;
|
|
194
|
-
previewUrl: string;
|
|
195
|
-
metaUrl: string;
|
|
196
|
-
supportedLanguages: string[];
|
|
197
|
-
}
|
|
198
|
-
export interface IImageResultsDTO {
|
|
199
|
-
type: string;
|
|
200
|
-
language: string;
|
|
201
|
-
totalCount: number;
|
|
202
|
-
page: number;
|
|
203
|
-
pageSize: number;
|
|
204
|
-
results: IImageResultDTO[];
|
|
205
|
-
}
|
|
206
|
-
export interface ILearningPathIntroductionDTO {
|
|
207
|
-
introduction: string;
|
|
208
|
-
language: string;
|
|
209
|
-
}
|
|
210
|
-
export interface ILearningpathResultDTO {
|
|
211
|
-
id: number;
|
|
212
|
-
title: ITitleDTO;
|
|
213
|
-
introduction: ILearningPathIntroductionDTO;
|
|
214
|
-
supportedLanguages: string[];
|
|
215
|
-
}
|
|
216
|
-
export interface ILearningpathResultsDTO {
|
|
217
|
-
type: string;
|
|
218
|
-
language: string;
|
|
219
|
-
totalCount: number;
|
|
220
|
-
page: number;
|
|
221
|
-
pageSize: number;
|
|
222
|
-
results: ILearningpathResultDTO[];
|
|
223
|
-
}
|
|
224
|
-
export interface IMetaDescriptionDTO {
|
|
225
|
-
metaDescription: string;
|
|
226
|
-
language: string;
|
|
227
|
-
}
|
|
228
|
-
export interface IMetaImageDTO {
|
|
229
|
-
url: string;
|
|
230
|
-
alt: string;
|
|
231
|
-
language: string;
|
|
232
|
-
}
|
|
233
|
-
export interface IMultiSearchResultDTO {
|
|
234
|
-
totalCount: number;
|
|
235
|
-
page?: number;
|
|
236
|
-
pageSize: number;
|
|
237
|
-
language: string;
|
|
238
|
-
results: MultiSummaryBaseDTO[];
|
|
239
|
-
suggestions: IMultiSearchSuggestionDTO[];
|
|
240
|
-
aggregations: IMultiSearchTermsAggregationDTO[];
|
|
241
|
-
}
|
|
242
|
-
export interface IMultiSearchSuggestionDTO {
|
|
243
|
-
name: string;
|
|
244
|
-
suggestions: ISearchSuggestionDTO[];
|
|
245
|
-
}
|
|
246
|
-
export interface IMultiSearchSummaryDTO {
|
|
247
|
-
id: number;
|
|
248
|
-
title: ITitleWithHtmlDTO;
|
|
249
|
-
metaDescription: IMetaDescriptionDTO;
|
|
250
|
-
metaImage?: IMetaImageDTO;
|
|
251
|
-
url: string;
|
|
252
|
-
context?: IApiTaxonomyContextDTO;
|
|
253
|
-
contexts: IApiTaxonomyContextDTO[];
|
|
254
|
-
supportedLanguages: string[];
|
|
255
|
-
learningResourceType: LearningResourceType;
|
|
256
|
-
status?: IStatusDTO;
|
|
257
|
-
traits: SearchTrait[];
|
|
258
|
-
score: number;
|
|
259
|
-
highlights: IHighlightedFieldDTO[];
|
|
260
|
-
paths: string[];
|
|
261
|
-
lastUpdated: string;
|
|
262
|
-
license?: string;
|
|
263
|
-
revisions: IRevisionMetaDTO[];
|
|
264
|
-
responsible?: IDraftResponsibleDTO;
|
|
265
|
-
comments?: ICommentDTO[];
|
|
266
|
-
prioritized?: boolean;
|
|
267
|
-
priority?: string;
|
|
268
|
-
resourceTypeName?: string;
|
|
269
|
-
parentTopicName?: string;
|
|
270
|
-
primaryRootName?: string;
|
|
271
|
-
published?: string;
|
|
272
|
-
favorited?: number;
|
|
273
|
-
resultType: SearchType;
|
|
274
|
-
typename: "MultiSearchSummaryDTO";
|
|
275
|
-
}
|
|
276
|
-
export interface IMultiSearchTermsAggregationDTO {
|
|
277
|
-
field: string;
|
|
278
|
-
sumOtherDocCount: number;
|
|
279
|
-
docCountErrorUpperBound: number;
|
|
280
|
-
values: ITermValueDTO[];
|
|
281
|
-
}
|
|
282
|
-
export interface INODE {
|
|
283
|
-
typename: "NODE";
|
|
284
|
-
}
|
|
285
|
-
export interface INodeHitDTO {
|
|
286
|
-
id: string;
|
|
287
|
-
title: string;
|
|
288
|
-
url?: string;
|
|
289
|
-
subjectPage?: ISubjectPageSummaryDTO;
|
|
290
|
-
context?: IApiTaxonomyContextDTO;
|
|
291
|
-
contexts: IApiTaxonomyContextDTO[];
|
|
292
|
-
typename: "NodeHitDTO";
|
|
293
|
-
}
|
|
294
|
-
export interface IPROGRAMME {
|
|
295
|
-
typename: "PROGRAMME";
|
|
296
|
-
}
|
|
297
|
-
export interface IRESOURCE {
|
|
298
|
-
typename: "RESOURCE";
|
|
299
|
-
}
|
|
300
|
-
export interface IRevisionMetaDTO {
|
|
301
|
-
revisionDate: string;
|
|
302
|
-
note: string;
|
|
303
|
-
status: string;
|
|
304
|
-
}
|
|
305
|
-
export interface ISUBJECT {
|
|
306
|
-
typename: "SUBJECT";
|
|
307
|
-
}
|
|
308
|
-
export interface ISearchParamsDTO {
|
|
309
|
-
page?: number;
|
|
310
|
-
pageSize?: number;
|
|
311
|
-
articleTypes?: string[];
|
|
312
|
-
scrollId?: string;
|
|
313
|
-
query?: string;
|
|
314
|
-
fallback?: boolean;
|
|
315
|
-
language?: string;
|
|
316
|
-
license?: string;
|
|
317
|
-
ids?: number[];
|
|
318
|
-
subjects?: string[];
|
|
319
|
-
resourceTypes?: string[];
|
|
320
|
-
contextTypes?: string[];
|
|
321
|
-
relevance?: string[];
|
|
322
|
-
languageFilter?: string[];
|
|
323
|
-
grepCodes?: string[];
|
|
324
|
-
traits?: SearchTrait[];
|
|
325
|
-
aggregatePaths?: string[];
|
|
326
|
-
embedResource?: string[];
|
|
327
|
-
embedId?: string;
|
|
328
|
-
filterInactive?: boolean;
|
|
329
|
-
resultTypes?: SearchType[];
|
|
330
|
-
nodeTypeFilter?: NodeType[];
|
|
331
|
-
sort?: string;
|
|
332
|
-
}
|
|
333
|
-
export interface ISearchSuggestionDTO {
|
|
334
|
-
text: string;
|
|
335
|
-
offset: number;
|
|
336
|
-
length: number;
|
|
337
|
-
options: ISuggestOptionDTO[];
|
|
338
|
-
}
|
|
339
|
-
export interface IStatusDTO {
|
|
340
|
-
current: string;
|
|
341
|
-
other: string[];
|
|
342
|
-
}
|
|
343
|
-
export interface ISubjectAggregationDTO {
|
|
344
|
-
subjectId: string;
|
|
345
|
-
publishedArticleCount: number;
|
|
346
|
-
oldArticleCount: number;
|
|
347
|
-
revisionCount: number;
|
|
348
|
-
flowCount: number;
|
|
349
|
-
favoritedCount: number;
|
|
350
|
-
}
|
|
351
|
-
export interface ISubjectAggregationsDTO {
|
|
352
|
-
subjects: ISubjectAggregationDTO[];
|
|
353
|
-
}
|
|
354
|
-
export interface ISubjectAggsInputDTO {
|
|
355
|
-
subjects?: string[];
|
|
356
|
-
}
|
|
357
|
-
export interface ISubjectPageSummaryDTO {
|
|
358
|
-
id: number;
|
|
359
|
-
name: string;
|
|
360
|
-
metaDescription: IMetaDescriptionDTO;
|
|
361
|
-
}
|
|
362
|
-
export interface ISuggestOptionDTO {
|
|
363
|
-
text: string;
|
|
364
|
-
score: number;
|
|
365
|
-
}
|
|
366
|
-
export interface ITOPIC {
|
|
367
|
-
typename: "TOPIC";
|
|
368
|
-
}
|
|
369
|
-
export interface ITaxonomyResourceTypeDTO {
|
|
370
|
-
id: string;
|
|
371
|
-
name: string;
|
|
372
|
-
language: string;
|
|
373
|
-
}
|
|
374
|
-
export interface ITermValueDTO {
|
|
375
|
-
value: string;
|
|
376
|
-
count: number;
|
|
377
|
-
}
|
|
378
|
-
export interface ITitleDTO {
|
|
379
|
-
title: string;
|
|
380
|
-
language: string;
|
|
381
|
-
}
|
|
382
|
-
export interface ITitleWithHtmlDTO {
|
|
383
|
-
title: string;
|
|
384
|
-
htmlTitle: string;
|
|
385
|
-
language: string;
|
|
386
|
-
}
|
|
387
|
-
export type LearningResourceType = ("standard" | "topic-article" | "frontpage-article" | "learningpath" | "concept" | "gloss");
|
|
388
|
-
export type MultiSummaryBaseDTO = (IMultiSearchSummaryDTO | INodeHitDTO);
|
|
389
|
-
export type NodeType = (IRESOURCE | IPROGRAMME | ISUBJECT | ITOPIC | INODE);
|
|
390
|
-
export type SearchTrait = ("VIDEO" | "H5P" | "AUDIO" | "PODCAST");
|
|
391
|
-
export type SearchType = ("article" | "draft" | "learningpath" | "concept" | "grep" | "node");
|
|
392
|
-
export type Sort = SortEnum;
|
|
393
|
-
export declare enum SortEnum {
|
|
394
|
-
ByRelevanceDesc = "-relevance",
|
|
395
|
-
ByRelevanceAsc = "relevance",
|
|
396
|
-
ByTitleDesc = "-title",
|
|
397
|
-
ByTitleAsc = "title",
|
|
398
|
-
ByLastUpdatedDesc = "-lastUpdated",
|
|
399
|
-
ByLastUpdatedAsc = "lastUpdated",
|
|
400
|
-
ByIdDesc = "-id",
|
|
401
|
-
ByIdAsc = "id",
|
|
402
|
-
ByDurationDesc = "-duration",
|
|
403
|
-
ByDurationAsc = "duration",
|
|
404
|
-
ByRevisionDateAsc = "revisionDate",
|
|
405
|
-
ByRevisionDateDesc = "-revisionDate",
|
|
406
|
-
ByResponsibleLastUpdatedAsc = "responsibleLastUpdated",
|
|
407
|
-
ByResponsibleLastUpdatedDesc = "-responsibleLastUpdated",
|
|
408
|
-
ByStatusAsc = "status",
|
|
409
|
-
ByStatusDesc = "-status",
|
|
410
|
-
ByPrioritizedDesc = "-prioritized",
|
|
411
|
-
ByPrioritizedAsc = "prioritized",
|
|
412
|
-
ByParentTopicNameDesc = "-parentTopicName",
|
|
413
|
-
ByParentTopicNameAsc = "parentTopicName",
|
|
414
|
-
ByPrimaryRootDesc = "-primaryRoot",
|
|
415
|
-
ByPrimaryRootAsc = "primaryRoot",
|
|
416
|
-
ByResourceTypeDesc = "-resourceType",
|
|
417
|
-
ByResourceTypeAsc = "resourceType",
|
|
418
|
-
ByPublishedDesc = "-published",
|
|
419
|
-
ByPublishedAsc = "published",
|
|
420
|
-
ByFavoritedDesc = "-favorited",
|
|
421
|
-
ByFavoritedAsc = "favorited"
|
|
422
|
-
}
|
|
1
|
+
import * as openapi from "./search-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 ApiTaxonomyContextDTO = schemas["ApiTaxonomyContextDTO"];
|
|
7
|
+
export type IApiTaxonomyContextDTO = schemas["ApiTaxonomyContextDTO"];
|
|
8
|
+
export type CommentDTO = schemas["CommentDTO"];
|
|
9
|
+
export type ICommentDTO = schemas["CommentDTO"];
|
|
10
|
+
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
11
|
+
export type IDescriptionDTO = schemas["DescriptionDTO"];
|
|
12
|
+
export type DraftResponsibleDTO = schemas["DraftResponsibleDTO"];
|
|
13
|
+
export type IDraftResponsibleDTO = schemas["DraftResponsibleDTO"];
|
|
14
|
+
export type DraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
|
|
15
|
+
export type IDraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
|
|
16
|
+
export type ErrorBody = schemas["ErrorBody"];
|
|
17
|
+
export type IErrorBody = schemas["ErrorBody"];
|
|
18
|
+
export type GrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
|
|
19
|
+
export type IGrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
|
|
20
|
+
export type GrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
|
|
21
|
+
export type IGrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
|
|
22
|
+
export type GrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
|
|
23
|
+
export type IGrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
|
|
24
|
+
export type GrepKompetansemaalDTO1 = schemas["GrepKompetansemaalDTO1"];
|
|
25
|
+
export type IGrepKompetansemaalDTO1 = schemas["GrepKompetansemaalDTO1"];
|
|
26
|
+
export type GrepKompetansemaalSettDTO = schemas["GrepKompetansemaalSettDTO"];
|
|
27
|
+
export type IGrepKompetansemaalSettDTO = schemas["GrepKompetansemaalSettDTO"];
|
|
28
|
+
export type GrepKompetansemaalSettDTO1 = schemas["GrepKompetansemaalSettDTO1"];
|
|
29
|
+
export type IGrepKompetansemaalSettDTO1 = schemas["GrepKompetansemaalSettDTO1"];
|
|
30
|
+
export type GrepLaererplanDTO = schemas["GrepLaererplanDTO"];
|
|
31
|
+
export type IGrepLaererplanDTO = schemas["GrepLaererplanDTO"];
|
|
32
|
+
export type GrepLaererplanDTO1 = schemas["GrepLaererplanDTO1"];
|
|
33
|
+
export type IGrepLaererplanDTO1 = schemas["GrepLaererplanDTO1"];
|
|
34
|
+
export type GrepReferencedKjerneelementDTO = schemas["GrepReferencedKjerneelementDTO"];
|
|
35
|
+
export type IGrepReferencedKjerneelementDTO = schemas["GrepReferencedKjerneelementDTO"];
|
|
36
|
+
export type GrepReferencedKompetansemaalDTO = schemas["GrepReferencedKompetansemaalDTO"];
|
|
37
|
+
export type IGrepReferencedKompetansemaalDTO = schemas["GrepReferencedKompetansemaalDTO"];
|
|
38
|
+
export type GrepReferencedKompetansemaalSettDTO = schemas["GrepReferencedKompetansemaalSettDTO"];
|
|
39
|
+
export type IGrepReferencedKompetansemaalSettDTO = schemas["GrepReferencedKompetansemaalSettDTO"];
|
|
40
|
+
export type GrepReferencedLaereplanDTO = schemas["GrepReferencedLaereplanDTO"];
|
|
41
|
+
export type IGrepReferencedLaereplanDTO = schemas["GrepReferencedLaereplanDTO"];
|
|
42
|
+
export type GrepResultDTO = schemas["GrepResultDTO"];
|
|
43
|
+
export type IGrepResultDTO = schemas["GrepResultDTO"];
|
|
44
|
+
export type GrepSearchInputDTO = schemas["GrepSearchInputDTO"];
|
|
45
|
+
export type IGrepSearchInputDTO = schemas["GrepSearchInputDTO"];
|
|
46
|
+
export type GrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
|
|
47
|
+
export type IGrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
|
|
48
|
+
export type GrepSortDTO = schemas["GrepSortDTO"];
|
|
49
|
+
export type IGrepSortDTO = schemas["GrepSortDTO"];
|
|
50
|
+
export type GrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
|
|
51
|
+
export type IGrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
|
|
52
|
+
export type GrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
|
|
53
|
+
export type IGrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
|
|
54
|
+
export type GroupSearchResultDTO = schemas["GroupSearchResultDTO"];
|
|
55
|
+
export type IGroupSearchResultDTO = schemas["GroupSearchResultDTO"];
|
|
56
|
+
export type HighlightedFieldDTO = schemas["HighlightedFieldDTO"];
|
|
57
|
+
export type IHighlightedFieldDTO = schemas["HighlightedFieldDTO"];
|
|
58
|
+
export type LearningResourceType = schemas["LearningResourceType"];
|
|
59
|
+
export type ILearningResourceType = schemas["LearningResourceType"];
|
|
60
|
+
export type Map_String = schemas["Map_String"];
|
|
61
|
+
export type IMap_String = schemas["Map_String"];
|
|
62
|
+
export type MetaDescriptionDTO = schemas["MetaDescriptionDTO"];
|
|
63
|
+
export type IMetaDescriptionDTO = schemas["MetaDescriptionDTO"];
|
|
64
|
+
export type MetaImageDTO = schemas["MetaImageDTO"];
|
|
65
|
+
export type IMetaImageDTO = schemas["MetaImageDTO"];
|
|
66
|
+
export type MultiSearchResultDTO = schemas["MultiSearchResultDTO"];
|
|
67
|
+
export type IMultiSearchResultDTO = schemas["MultiSearchResultDTO"];
|
|
68
|
+
export type MultiSearchSuggestionDTO = schemas["MultiSearchSuggestionDTO"];
|
|
69
|
+
export type IMultiSearchSuggestionDTO = schemas["MultiSearchSuggestionDTO"];
|
|
70
|
+
export type MultiSearchSummaryDTO = schemas["MultiSearchSummaryDTO"];
|
|
71
|
+
export type IMultiSearchSummaryDTO = schemas["MultiSearchSummaryDTO"];
|
|
72
|
+
export type MultiSearchSummaryDTO1 = schemas["MultiSearchSummaryDTO1"];
|
|
73
|
+
export type IMultiSearchSummaryDTO1 = schemas["MultiSearchSummaryDTO1"];
|
|
74
|
+
export type MultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
|
|
75
|
+
export type IMultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
|
|
76
|
+
export type MultiSummaryBaseDTO = schemas["MultiSummaryBaseDTO"];
|
|
77
|
+
export type IMultiSummaryBaseDTO = schemas["MultiSummaryBaseDTO"];
|
|
78
|
+
export type NodeHitDTO = schemas["NodeHitDTO"];
|
|
79
|
+
export type INodeHitDTO = schemas["NodeHitDTO"];
|
|
80
|
+
export type NodeHitDTO1 = schemas["NodeHitDTO1"];
|
|
81
|
+
export type INodeHitDTO1 = schemas["NodeHitDTO1"];
|
|
82
|
+
export type NodeType = schemas["NodeType"];
|
|
83
|
+
export type INodeType = schemas["NodeType"];
|
|
84
|
+
export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
85
|
+
export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
|
|
86
|
+
export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
87
|
+
export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
|
|
88
|
+
export type SearchParamsDTO = schemas["SearchParamsDTO"];
|
|
89
|
+
export type ISearchParamsDTO = schemas["SearchParamsDTO"];
|
|
90
|
+
export type SearchSuggestionDTO = schemas["SearchSuggestionDTO"];
|
|
91
|
+
export type ISearchSuggestionDTO = schemas["SearchSuggestionDTO"];
|
|
92
|
+
export type SearchTrait = schemas["SearchTrait"];
|
|
93
|
+
export type ISearchTrait = schemas["SearchTrait"];
|
|
94
|
+
export type SearchType = schemas["SearchType"];
|
|
95
|
+
export type ISearchType = schemas["SearchType"];
|
|
96
|
+
export type Sort = schemas["Sort"];
|
|
97
|
+
export type ISort = schemas["Sort"];
|
|
98
|
+
export type StatusDTO = schemas["StatusDTO"];
|
|
99
|
+
export type IStatusDTO = schemas["StatusDTO"];
|
|
100
|
+
export type SubjectAggregationDTO = schemas["SubjectAggregationDTO"];
|
|
101
|
+
export type ISubjectAggregationDTO = schemas["SubjectAggregationDTO"];
|
|
102
|
+
export type SubjectAggregationsDTO = schemas["SubjectAggregationsDTO"];
|
|
103
|
+
export type ISubjectAggregationsDTO = schemas["SubjectAggregationsDTO"];
|
|
104
|
+
export type SubjectAggsInputDTO = schemas["SubjectAggsInputDTO"];
|
|
105
|
+
export type ISubjectAggsInputDTO = schemas["SubjectAggsInputDTO"];
|
|
106
|
+
export type SubjectPageSummaryDTO = schemas["SubjectPageSummaryDTO"];
|
|
107
|
+
export type ISubjectPageSummaryDTO = schemas["SubjectPageSummaryDTO"];
|
|
108
|
+
export type SuggestOptionDTO = schemas["SuggestOptionDTO"];
|
|
109
|
+
export type ISuggestOptionDTO = schemas["SuggestOptionDTO"];
|
|
110
|
+
export type TaxonomyResourceTypeDTO = schemas["TaxonomyResourceTypeDTO"];
|
|
111
|
+
export type ITaxonomyResourceTypeDTO = schemas["TaxonomyResourceTypeDTO"];
|
|
112
|
+
export type TermValueDTO = schemas["TermValueDTO"];
|
|
113
|
+
export type ITermValueDTO = schemas["TermValueDTO"];
|
|
114
|
+
export type TitleDTO = schemas["TitleDTO"];
|
|
115
|
+
export type ITitleDTO = schemas["TitleDTO"];
|
|
116
|
+
export type TitleWithHtmlDTO = schemas["TitleWithHtmlDTO"];
|
|
117
|
+
export type ITitleWithHtmlDTO = schemas["TitleWithHtmlDTO"];
|
|
118
|
+
export type ValidationErrorBody = schemas["ValidationErrorBody"];
|
|
119
|
+
export type IValidationErrorBody = schemas["ValidationErrorBody"];
|
|
120
|
+
export type ValidationMessage = schemas["ValidationMessage"];
|
|
121
|
+
export type IValidationMessage = schemas["ValidationMessage"];
|
package/build/search-api.js
CHANGED
|
@@ -1,36 +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
|
-
SortEnum["ByRelevanceAsc"] = "relevance";
|
|
9
|
-
SortEnum["ByTitleDesc"] = "-title";
|
|
10
|
-
SortEnum["ByTitleAsc"] = "title";
|
|
11
|
-
SortEnum["ByLastUpdatedDesc"] = "-lastUpdated";
|
|
12
|
-
SortEnum["ByLastUpdatedAsc"] = "lastUpdated";
|
|
13
|
-
SortEnum["ByIdDesc"] = "-id";
|
|
14
|
-
SortEnum["ByIdAsc"] = "id";
|
|
15
|
-
SortEnum["ByDurationDesc"] = "-duration";
|
|
16
|
-
SortEnum["ByDurationAsc"] = "duration";
|
|
17
|
-
SortEnum["ByRevisionDateAsc"] = "revisionDate";
|
|
18
|
-
SortEnum["ByRevisionDateDesc"] = "-revisionDate";
|
|
19
|
-
SortEnum["ByResponsibleLastUpdatedAsc"] = "responsibleLastUpdated";
|
|
20
|
-
SortEnum["ByResponsibleLastUpdatedDesc"] = "-responsibleLastUpdated";
|
|
21
|
-
SortEnum["ByStatusAsc"] = "status";
|
|
22
|
-
SortEnum["ByStatusDesc"] = "-status";
|
|
23
|
-
SortEnum["ByPrioritizedDesc"] = "-prioritized";
|
|
24
|
-
SortEnum["ByPrioritizedAsc"] = "prioritized";
|
|
25
|
-
SortEnum["ByParentTopicNameDesc"] = "-parentTopicName";
|
|
26
|
-
SortEnum["ByParentTopicNameAsc"] = "parentTopicName";
|
|
27
|
-
SortEnum["ByPrimaryRootDesc"] = "-primaryRoot";
|
|
28
|
-
SortEnum["ByPrimaryRootAsc"] = "primaryRoot";
|
|
29
|
-
SortEnum["ByResourceTypeDesc"] = "-resourceType";
|
|
30
|
-
SortEnum["ByResourceTypeAsc"] = "resourceType";
|
|
31
|
-
SortEnum["ByPublishedDesc"] = "-published";
|
|
32
|
-
SortEnum["ByPublishedAsc"] = "published";
|
|
33
|
-
SortEnum["ByFavoritedDesc"] = "-favorited";
|
|
34
|
-
SortEnum["ByFavoritedAsc"] = "favorited";
|
|
35
|
-
})(SortEnum || (exports.SortEnum = SortEnum = {}));
|
|
26
|
+
exports.openapi = void 0;
|
|
27
|
+
// This file was generated by OpenApiPlugin, do not edit it manually
|
|
28
|
+
var openapi = __importStar(require("./search-api-openapi"));
|
|
29
|
+
exports.openapi = openapi;
|
|
36
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":"
|
|
1
|
+
{"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oEAAoE;AACpE,4DAAgD;AAGvC,0BAAO"}
|