@ndla/types-backend 1.0.21 → 1.0.23
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/concept-api.d.ts +0 -16
- package/build/search-api.d.ts +1 -1
- package/package.json +1 -1
package/build/concept-api.d.ts
CHANGED
|
@@ -34,12 +34,10 @@ export interface IConceptDTO {
|
|
|
34
34
|
source?: string;
|
|
35
35
|
metaImage?: IConceptMetaImageDTO;
|
|
36
36
|
tags?: IConceptTagsDTO;
|
|
37
|
-
subjectIds?: string[];
|
|
38
37
|
created: string;
|
|
39
38
|
updated: string;
|
|
40
39
|
updatedBy?: string[];
|
|
41
40
|
supportedLanguages: string[];
|
|
42
|
-
articleIds: number[];
|
|
43
41
|
status: IStatusDTO;
|
|
44
42
|
visualElement?: IVisualElementDTO;
|
|
45
43
|
responsible?: IConceptResponsibleDTO;
|
|
@@ -65,7 +63,6 @@ export interface IConceptSearchParamsDTO {
|
|
|
65
63
|
sort?: Sort;
|
|
66
64
|
fallback?: boolean;
|
|
67
65
|
scrollId?: string;
|
|
68
|
-
subjects?: string[];
|
|
69
66
|
tags?: string[];
|
|
70
67
|
exactMatch?: boolean;
|
|
71
68
|
embedResource?: string[];
|
|
@@ -87,7 +84,6 @@ export interface IConceptSummaryDTO {
|
|
|
87
84
|
content: IConceptContent;
|
|
88
85
|
metaImage: IConceptMetaImageDTO;
|
|
89
86
|
tags?: IConceptTagsDTO;
|
|
90
|
-
subjectIds?: string[];
|
|
91
87
|
supportedLanguages: string[];
|
|
92
88
|
lastUpdated: string;
|
|
93
89
|
created: string;
|
|
@@ -96,12 +92,10 @@ export interface IConceptSummaryDTO {
|
|
|
96
92
|
license?: string;
|
|
97
93
|
copyright?: IDraftCopyrightDTO;
|
|
98
94
|
visualElement?: IVisualElementDTO;
|
|
99
|
-
articleIds: number[];
|
|
100
95
|
source?: string;
|
|
101
96
|
responsible?: IConceptResponsibleDTO;
|
|
102
97
|
conceptType: string;
|
|
103
98
|
glossData?: IGlossDataDTO;
|
|
104
|
-
subjectName?: string;
|
|
105
99
|
conceptTypeName: string;
|
|
106
100
|
}
|
|
107
101
|
export interface IConceptTagsDTO {
|
|
@@ -121,7 +115,6 @@ export interface IDraftConceptSearchParamsDTO {
|
|
|
121
115
|
sort?: Sort;
|
|
122
116
|
fallback?: boolean;
|
|
123
117
|
scrollId?: string;
|
|
124
|
-
subjects?: string[];
|
|
125
118
|
tags?: string[];
|
|
126
119
|
status?: string[];
|
|
127
120
|
users?: string[];
|
|
@@ -181,8 +174,6 @@ export interface INewConceptDTO {
|
|
|
181
174
|
copyright?: IDraftCopyrightDTO;
|
|
182
175
|
metaImage?: INewConceptMetaImageDTO;
|
|
183
176
|
tags?: string[];
|
|
184
|
-
subjectIds?: string[];
|
|
185
|
-
articleIds?: number[];
|
|
186
177
|
visualElement?: string;
|
|
187
178
|
responsibleId?: string;
|
|
188
179
|
conceptType: string;
|
|
@@ -196,11 +187,6 @@ export interface IStatusDTO {
|
|
|
196
187
|
current: string;
|
|
197
188
|
other: string[];
|
|
198
189
|
}
|
|
199
|
-
export interface ISubjectTagsDTO {
|
|
200
|
-
subjectId: string;
|
|
201
|
-
tags: string[];
|
|
202
|
-
language: string;
|
|
203
|
-
}
|
|
204
190
|
export interface ITagsSearchResultDTO {
|
|
205
191
|
totalCount: number;
|
|
206
192
|
page: number;
|
|
@@ -219,8 +205,6 @@ export interface IUpdatedConceptDTO {
|
|
|
219
205
|
metaImage: UpdateOrDeleteNewConceptMetaImageDTO;
|
|
220
206
|
copyright?: IDraftCopyrightDTO;
|
|
221
207
|
tags?: string[];
|
|
222
|
-
subjectIds?: string[];
|
|
223
|
-
articleIds?: number[];
|
|
224
208
|
status?: string;
|
|
225
209
|
visualElement?: string;
|
|
226
210
|
responsibleId: UpdateOrDeleteString;
|
package/build/search-api.d.ts
CHANGED
|
@@ -249,6 +249,7 @@ export interface IMultiSearchSummaryDTO {
|
|
|
249
249
|
metaDescription: IMetaDescriptionDTO;
|
|
250
250
|
metaImage?: IMetaImageDTO;
|
|
251
251
|
url: string;
|
|
252
|
+
context?: IApiTaxonomyContextDTO;
|
|
252
253
|
contexts: IApiTaxonomyContextDTO[];
|
|
253
254
|
supportedLanguages: string[];
|
|
254
255
|
learningResourceType: LearningResourceType;
|
|
@@ -270,7 +271,6 @@ export interface IMultiSearchSummaryDTO {
|
|
|
270
271
|
published?: string;
|
|
271
272
|
favorited?: number;
|
|
272
273
|
resultType: SearchType;
|
|
273
|
-
conceptSubjectIds?: string[];
|
|
274
274
|
}
|
|
275
275
|
export interface IMultiSearchTermsAggregationDTO {
|
|
276
276
|
field: string;
|
package/package.json
CHANGED