@ndla/types-backend 0.2.1 → 0.2.3
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/draft-api.d.ts +4 -1
- package/package.json +1 -1
package/build/draft-api.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ export interface IComment {
|
|
|
101
101
|
content: string;
|
|
102
102
|
created: string;
|
|
103
103
|
updated: string;
|
|
104
|
+
isOpen: boolean;
|
|
104
105
|
}
|
|
105
106
|
export interface ICopyright {
|
|
106
107
|
license?: ILicense;
|
|
@@ -178,6 +179,7 @@ export interface INewArticleMetaImage {
|
|
|
178
179
|
}
|
|
179
180
|
export interface INewComment {
|
|
180
181
|
content: string;
|
|
182
|
+
isOpen?: boolean;
|
|
181
183
|
}
|
|
182
184
|
export interface IRelatedContentLink {
|
|
183
185
|
title: string;
|
|
@@ -242,11 +244,12 @@ export interface IUpdatedArticle {
|
|
|
242
244
|
revisionMeta?: IRevisionMeta[];
|
|
243
245
|
responsibleId?: (null | string);
|
|
244
246
|
slug?: string;
|
|
245
|
-
comments
|
|
247
|
+
comments?: IUpdatedComment[];
|
|
246
248
|
}
|
|
247
249
|
export interface IUpdatedComment {
|
|
248
250
|
id?: string;
|
|
249
251
|
content: string;
|
|
252
|
+
isOpen?: boolean;
|
|
250
253
|
}
|
|
251
254
|
export interface IUpdatedUserData {
|
|
252
255
|
savedSearches?: string[];
|
package/package.json
CHANGED