@ndla/types-backend 0.2.3 → 0.2.5
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.
|
@@ -49,6 +49,7 @@ export interface IFolder {
|
|
|
49
49
|
created: string;
|
|
50
50
|
updated: string;
|
|
51
51
|
shared?: string;
|
|
52
|
+
description?: string;
|
|
52
53
|
}
|
|
53
54
|
export type IFolderData = IFolder;
|
|
54
55
|
export interface IIntroduction {
|
|
@@ -157,6 +158,7 @@ export interface INewFolder {
|
|
|
157
158
|
name: string;
|
|
158
159
|
parentId?: string;
|
|
159
160
|
status?: string;
|
|
161
|
+
description?: string;
|
|
160
162
|
}
|
|
161
163
|
export interface INewResource {
|
|
162
164
|
resourceType: string;
|
|
@@ -187,6 +189,7 @@ export interface ITitle {
|
|
|
187
189
|
export interface IUpdatedFolder {
|
|
188
190
|
name?: string;
|
|
189
191
|
status?: string;
|
|
192
|
+
description?: string;
|
|
190
193
|
}
|
|
191
194
|
export interface IUpdatedResource {
|
|
192
195
|
tags?: string[];
|
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