@ndla/types-backend 0.2.69 → 0.2.71
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/search-api.d.ts +14 -0
- package/package.json +1 -1
package/build/search-api.d.ts
CHANGED
|
@@ -218,6 +218,20 @@ export interface IStatus {
|
|
|
218
218
|
current: string;
|
|
219
219
|
other: string[];
|
|
220
220
|
}
|
|
221
|
+
export interface ISubjectAggregation {
|
|
222
|
+
subjectId: string;
|
|
223
|
+
publishedArticleCount: number;
|
|
224
|
+
oldArticleCount: number;
|
|
225
|
+
revisionCount: number;
|
|
226
|
+
flowCount: number;
|
|
227
|
+
favoritedCount: number;
|
|
228
|
+
}
|
|
229
|
+
export interface ISubjectAggregations {
|
|
230
|
+
subjects: ISubjectAggregation[];
|
|
231
|
+
}
|
|
232
|
+
export interface ISubjectAggsInput {
|
|
233
|
+
subjects?: string[];
|
|
234
|
+
}
|
|
221
235
|
export interface ISuggestOption {
|
|
222
236
|
text: string;
|
|
223
237
|
score: number;
|
package/package.json
CHANGED