@ndla/types-backend 1.0.2 → 1.0.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 +7 -0
- package/package.json +1 -1
package/build/draft-api.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export interface IArticleDTO {
|
|
|
48
48
|
priority: string;
|
|
49
49
|
started: boolean;
|
|
50
50
|
qualityEvaluation?: IQualityEvaluationDTO;
|
|
51
|
+
disclaimer?: IDisclaimerDTO;
|
|
51
52
|
}
|
|
52
53
|
export interface IArticleIntroductionDTO {
|
|
53
54
|
introduction: string;
|
|
@@ -113,6 +114,10 @@ export interface ICommentDTO {
|
|
|
113
114
|
isOpen: boolean;
|
|
114
115
|
solved: boolean;
|
|
115
116
|
}
|
|
117
|
+
export interface IDisclaimerDTO {
|
|
118
|
+
disclaimer: string;
|
|
119
|
+
language: string;
|
|
120
|
+
}
|
|
116
121
|
export interface IDraftCopyrightDTO {
|
|
117
122
|
license?: ILicenseDTO;
|
|
118
123
|
origin?: string;
|
|
@@ -170,6 +175,7 @@ export interface INewArticleDTO {
|
|
|
170
175
|
prioritized?: boolean;
|
|
171
176
|
priority?: string;
|
|
172
177
|
qualityEvaluation?: IQualityEvaluationDTO;
|
|
178
|
+
disclaimer?: string;
|
|
173
179
|
}
|
|
174
180
|
export interface INewArticleMetaImageDTO {
|
|
175
181
|
id: string;
|
|
@@ -249,6 +255,7 @@ export interface IUpdatedArticleDTO {
|
|
|
249
255
|
prioritized?: boolean;
|
|
250
256
|
priority?: string;
|
|
251
257
|
qualityEvaluation?: IQualityEvaluationDTO;
|
|
258
|
+
disclaimer?: string;
|
|
252
259
|
}
|
|
253
260
|
export interface IUpdatedCommentDTO {
|
|
254
261
|
id?: string;
|
package/package.json
CHANGED