@ndla/types-backend 0.2.3 → 0.2.4
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 +8 -0
- package/package.json +1 -1
package/build/search-api.d.ts
CHANGED
|
@@ -44,6 +44,13 @@ export interface IAudioResults {
|
|
|
44
44
|
pageSize: number;
|
|
45
45
|
results: IAudioResult[];
|
|
46
46
|
}
|
|
47
|
+
export interface IComment {
|
|
48
|
+
id: string;
|
|
49
|
+
content: string;
|
|
50
|
+
created: string;
|
|
51
|
+
updated: string;
|
|
52
|
+
isOpen: boolean;
|
|
53
|
+
}
|
|
47
54
|
export interface IDraftResponsible {
|
|
48
55
|
responsibleId: string;
|
|
49
56
|
lastUpdated: string;
|
|
@@ -140,6 +147,7 @@ export interface IMultiSearchSummary {
|
|
|
140
147
|
license?: string;
|
|
141
148
|
revisions: IRevisionMeta[];
|
|
142
149
|
responsible?: IDraftResponsible;
|
|
150
|
+
comments?: IComment[];
|
|
143
151
|
}
|
|
144
152
|
export interface IMultiSearchTermsAggregation {
|
|
145
153
|
field: string;
|
package/package.json
CHANGED