@ndla/types-backend 1.0.4 → 1.0.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.
- package/build/article-api.d.ts +5 -0
- package/package.json +1 -1
package/build/article-api.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export interface IArticleV2DTO {
|
|
|
100
100
|
relatedContent: (IRelatedContentLinkDTO | number)[];
|
|
101
101
|
revisionDate?: string;
|
|
102
102
|
slug?: string;
|
|
103
|
+
disclaimer?: IDisclaimerDTO;
|
|
103
104
|
}
|
|
104
105
|
export interface IAuthorDTO {
|
|
105
106
|
type: string;
|
|
@@ -115,6 +116,10 @@ export interface ICopyrightDTO {
|
|
|
115
116
|
validTo?: string;
|
|
116
117
|
processed: boolean;
|
|
117
118
|
}
|
|
119
|
+
export interface IDisclaimerDTO {
|
|
120
|
+
disclaimer: string;
|
|
121
|
+
language: string;
|
|
122
|
+
}
|
|
118
123
|
export interface ILicenseDTO {
|
|
119
124
|
license: string;
|
|
120
125
|
description?: string;
|
package/package.json
CHANGED